/* --- 共通スタイル --- */
* {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

body {
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
}

.container {
  overflow: hidden;
}

.Background-parabola{
    top: 100px;
    max-width: 100%;
    z-index: -1;
}

.Background-parabola-top{
  top: 2500px;
  max-width: 100%;
  z-index: 0;
}

/* --- 共通ヘッダースタイル --- */
header {
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

header .logo {
  margin: 30px;
  font-weight: bold;
  font-size: 2rem;
}

header a.logo-link {
  text-decoration: none;
}

header .header-right {
  display: flex;
  align-items: center;
  margin-right: 2rem;
}

header .menu-button {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  border: 1px solid black;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 4rem;
  position: relative;
}

header .contact-link {
  font-weight: bold;
  border: 1px solid black;
  border-radius: 9999px;
  padding: 1.4rem 3rem;
  font-size: 0.875rem;
  text-decoration: none;
}

.header-shadow {
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* --- 共通フッタースタイル --- */
footer {
  padding: 3rem 0;
  border-top: 1px solid #eee;
  background-color: #fff;
  position: relative;
  z-index: 1;
}

.footer-container {
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-logo {
  font-size: 4rem;
  font-weight: bold;
  line-height: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo img {
  width: 350px;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-nav-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-link {
  font-size: 2rem;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #b71c1c;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 2rem;
  border-top: 1px solid black;
}

.footer-bottom div {
    margin: auto 50px;
    font-weight: bold;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

.footer-bottom-link {
  color: #000;
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-bottom-link:hover {
  text-decoration: underline;
}

.footer-copyright {
  font-size: 0.875rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .footer-copyright {
    margin-top: 0;
  }
}

/* ハンバーガーアイコン - 2本線バージョン */
.hamburger-icon {
  width: 20px;
  height: 2px;
  background-color: transparent;
  position: relative;
  display: inline-block;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: transform 0.3s ease;
}

.hamburger-icon::before {
  top: -4px;
}

.hamburger-icon::after {
  bottom: -4px;
}

/* 共通のフォームスタイル */

input, textarea, select {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input[type="submit"] {
  background-color: #9B2226;
  color: white;
  border: none;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #801c20;
}

/* 共通テキストスタイル */
.title-text {
  font-size: 4rem;
  line-height: 1.2;
  font-weight: bold;
  letter-spacing: -0.02em;
}

/* ナビゲーション */
nav {
  width: 100%;
  background-color: #f8f8f8;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  padding: 1rem 0;
}

nav li {
  display: inline-block;
}

nav a {
  text-decoration: none;
  color: #333;
}

/* グリッドレイアウト */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .grid {
    gap: 1rem;
  }
}

/* カード */
.card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* フレックスコンテナ */
.flex-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-item {
  flex: 1;
  padding: 1rem;
}

/* ボタン */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn-primary {
  background-color: #b71c1c;
  color: white;
  padding: 12px 50px;
  border-radius: 30px;
  display: inline-block;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #801c20;
}

.btn-secondary {
  background-color: #333;
  color: white;
}

.btn-secondary:hover {
  background-color: #222;
}

.btn-danger {
  background-color: #e53e3e;
  color: white;
}

.btn-danger:hover {
  background-color: #c53030;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-check {
  display: flex;
  align-items: center;
}

.form-check input {
  width: auto;
  margin-right: 0.5rem;
} 

.white-menu{
  border: 1px solid white!important;
  color: white;
}

.white-text{
  color: white!important;
}

/* viewbutton */
.circle-button {
  display: inline-flex;
  align-items: center;
  background-color: #111;
  color: #fff;
  text-decoration: none;
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.circle-button:hover {
  background-color: #333;
}

.check-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
}

.check-icon:after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #111;
  font-size: 12px;
}

.button-text {
  font-size: 14px;
  letter-spacing: 1px;
}

.wavy-lines-section{
  overflow: hidden;
}

.english-text{
  font-family: classico-urw, sans-serif !important;
}

.sp-only{
  display: none;
}