/* リセット & ベース設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --main-color: #f59c0f;
  --accent-color: #78d7dd;
  --bg-color: #f5f5f5;
  --text-color: #222222;
  --text-secondary: #4a5565;
  --text-light: #6a7282;
  --border-color: #d1d5dc;
  --white: #ffffff;
  --primary-blue: #001f3f;
  --secondary-blue: #3f5fff;
  /* Common design tokens */
  --inner-padding: 24px;
  --inner-max-width: 1600px;
  --inner-wide-max-width: 1480px;
  --section-padding: 120px 0 60px;
  --hero-padding: 128px 0;
  --hero-min-height: 856px;
  --btn-padding: 16px 32px;
  --btn-radius: 10px;
  --btn-font-size: 16px;
  --pill-radius: 50px;
  --card-padding: 32px;
  --card-radius-lg: 16px;
  --box-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --box-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --box-shadow-sm: 0 4px 4px rgba(0, 0, 0, 0.1);
  --box-shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.1);
  --form-padding: 48px;
  --footer-padding: 3rem 0 var(--space-lg);
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-12: 12px;
  --space-64: 64px;
  --space-96: 96px;
  --space-xxs: 4px;
  --icon-size: 36px;
  --section-header-gap: 64px;
  --section-h2-size: 30px;
  --hero-gap: 80px;
  --hero-right-height: 600px;
  --container-padding: 1.6rem;
}
@media screen and (max-width: 1280px) {
  :root {
    --container-padding: 4%;
  }
}
@media screen and (max-width: 1024px) {
  :root {
    --container-padding: 2%;
  }
}
@media screen and (max-width: 768px) {
  :root {
    --container-padding: 5.13vw;
  }
}

@media (max-width: 568px) {
  :root {
    --section-padding: 80px 0 40px;
    --card-padding: 16px;
    --section-header-gap: 32px;
  }
}
html {
  font-size: 16px;
  width: 100%;
  font-feature-settings: 'palt' on;
  font-kerning: normal;
  font-feature-settings:
    'palt' on,
    'kern' on;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-color);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.inner {
  max-width: var(--inner-max-width);
  margin: 0 auto;
  padding: 0 var(--inner-padding);
}

.inner-wide {
  max-width: var(--inner-wide-max-width);
  margin: 0 auto;
  padding: 0 var(--inner-padding);
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--btn-padding);
  border: none;
  border-radius: var(--btn-radius);
  font-size: var(--btn-font-size);
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
  box-shadow:
    0 10px 15px -3px rgba(0, 31, 63, 0.2),
    0 4px 6px -4px rgba(0, 31, 63, 0.2);
}

.btn-primary:hover {
  background: #002e5c;
  transform: translateY(-2px);
  box-shadow:
    0 15px 25px -3px rgba(0, 31, 63, 0.3),
    0 8px 12px -4px rgba(0, 31, 63, 0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: rgba(0, 31, 63, 0.05);
}

.btn-submit {
  width: 100%;
  padding: 18px 32px;
}

.btn-line {
  background: var(--white);
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
}

.btn-line:hover {
  background: rgba(0, 31, 63, 0.05);
}

/* セクションヘッダー */
.section-header {
  text-align: center;
  margin-bottom: var(--section-header-gap);
}

.section-label {
  color: var(--secondary-blue);
  font-size: var(--btn-font-size);
  font-weight: 400;
  display: block;
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  font-size: var(--section-h2-size);
  color: var(--primary-blue);
  margin-bottom: var(--space-sm);
  font-weight: 400;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* フッター */
.footer {
  background: #1a1a1a;
  padding: var(--footer-padding);
  color: var(--white);
  z-index: 100;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-column h3 {
  font-size: 20px;
  margin-bottom: var(--space-sm);
  font-weight: 400;
}

.footer-column h4 {
  font-size: 14px;
  margin-bottom: var(--space-sm);
  font-weight: 400;
}

.footer-column p {
  font-size: 14px;
  color: #99a1af;
  line-height: 1.75;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: var(--space-12);
}

.footer-column ul li a {
  color: #99a1af;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-md);
}

.social-links a {
  width: var(--icon-size);
  height: var(--icon-size);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 16px;
  color: #99a1af;
}

/* Responsive: footer layout adjustments for various breakpoints */
/* スマホ: ～568px (1列、タップ領域確保、フォーカス可視化、縦積み) */
@media (max-width: 568px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    padding: 0 var(--inner-padding);
  }

  /* カラムは中央寄せ。ただしリンクは可視性のためにブロック表示でタップ領域を確保 */
  .footer-column {
    text-align: center;
    padding: var(--space-sm) 0;
  }

  .footer-column ul {
    list-style: none;
    padding: 0;
    margin: var(--space-sm) 0 0 0;
    display: block;
  }

  .footer-column ul li {
    margin-bottom: var(--space-12);
  }

  /* リンクのタップ領域を広げる（縦方向のパディング） */
  .footer-column ul li a {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    width: auto;
  }

  /* ソーシャルアイコンを大きくしてタップしやすくする（44px は推奨サイズ） */
  .social-links {
    justify-content: center;
    margin-top: var(--space-sm);
    gap: var(--space-sm);
  }

  .social-links a {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.08);
  }

  /* フッター下部は縦積みで要素ごとに間隔を確保 */
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding-top: var(--space-md);
  }

  .footer-bottom p {
    width: 100%;
    margin: 4px 0;
    word-break: break-word;
  }
  .footer-copy {
    text-align: center;
  }
  .footer-address {
    text-align: left;
  }
  /* キーボード操作やフォーカス時の可視化 */
  .footer-column ul li a:focus-visible,
  .social-links a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.18);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 31, 63, 0.12);
    border-radius: 8px;
  }

  /* ホバーの見た目は維持（タッチ端末では無効の場合あり） */
  .footer-column ul li a:hover {
    background: rgba(255, 255, 255, 0.02);
  }
}

/* モバイル: 569px〜767px (2列) */
@media (min-width: 569px) and (max-width: 767px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .footer-column {
    text-align: left;
  }

  .social-links {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
  }
}

/* タブレット: 768px〜1024px (3列) */
@media (min-width: 768px) and (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }

  .footer-bottom {
    justify-content: space-between;
    align-items: center;
  }
}

/* PC: 1025px〜1440px (4列固定、広めのギャップを維持) */
@media (min-width: 1025px) and (max-width: 1440px) {
  .footer-content {
    /* grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl); */
  }
}

/* ================================
   レスポンシブナビゲーションヘッダー
   ================================ */

a {
  text-decoration: none;
}

.opening-overlay {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.opening-overlay.is-fade {
  opacity: 0;
  pointer-events: none;
}

.opening-overlay__logo {
  width: min(220px, 60vw);
  height: auto;
  opacity: 0;
  transform: translateY(18px) scale(0.92);
}

.opening-overlay.is-animate .opening-overlay__logo {
  animation: opening-logo-pop 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes opening-logo-pop {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
  }
  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.header-container {
  --header-accent-orange: #ff9635;
  --header-accent-red: #ea5e53;
  --header-ink: #101828;
  --header-ink-muted: rgba(16, 24, 40, 0.7);
  --header-surface: rgba(255, 255, 255, 0.92);
  --header-border: rgba(234, 94, 83, 0.18);
  --header-shadow: 0 1.5rem 2.5rem -2rem rgba(16, 24, 40, 0.45);
}

/* ヘッダーコンテナ */
/* 追従ヘッダー */
.header-container {
  width: 100%;
  background: var(--header-surface);
  border-bottom: 1px solid var(--header-border);
  box-shadow: var(--header-shadow);
  backdrop-filter: blur(12px);
  position: fixed;
  top: 0;
  z-index: 9999;
}

/* ヘッダー */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1440px;
  margin: 0 auto;
  gap: 20px;
}

/* ロゴ */
.logo {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}

.logo img {
  width: auto;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ナビゲーション */
.navigation {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--header-ink);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 22px;
  letter-spacing: -0.2px;
  white-space: nowrap;
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s, opacity 0.2s;
}

.nav-link:hover {
  color: var(--header-accent-red);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--header-accent-orange), var(--header-accent-red));
  opacity: 0;
  transform: scaleX(0.6);
  transform-origin: left;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* ボタンコンテナ */
.button-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* 登録ボタン */
.register-button {
  background: linear-gradient(135deg, var(--header-accent-orange), var(--header-accent-red));
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 22px;
  letter-spacing: -0.2px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 0.75rem 1.5rem -0.75rem rgba(234, 94, 83, 0.65);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.register-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 1rem 1.75rem -0.75rem rgba(234, 94, 83, 0.7);
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: linear-gradient(135deg, #2770a8 0%, #1e5c89 100%);
  border-radius: 999px;
  transition:
    transform 0.35s ease,
    opacity 0.25s ease,
    background 0.3s ease;
  box-shadow: 0 2px 6px rgba(39, 112, 168, 0.35);
}

.hamburger:hover span {
  background: linear-gradient(135deg, #2770a8 0%, #3287c7 100%);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.6);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* モバイルメニュー */
.mobile-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 18px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 244, 235, 0.98) 100%);
  border: 1px solid rgba(234, 94, 83, 0.16);
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(234, 94, 83, 0.18);
  backdrop-filter: blur(18px);
  z-index: 120;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu__cta {
  display: flex;
  justify-content: center;
}

.mobile-nav-link {
  color: var(--header-ink);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.2px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(234, 94, 83, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--header-accent-red);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(234, 94, 83, 0.16);
}

.mobile-nav-link:focus-visible {
  outline: 2px solid rgba(234, 94, 83, 0.35);
  outline-offset: 2px;
}

.mobile-register-button {
  background: linear-gradient(135deg, var(--header-accent-orange) 0%, var(--header-accent-red) 100%);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.2px;
  cursor: pointer;
  margin-top: 4px;
  box-shadow: 0 12px 24px rgba(234, 94, 83, 0.24);
}

.mobile-register-button:hover {
  background: linear-gradient(135deg, #ff7a2f 0%, #ff695f 100%);
}

/* ================================
   レスポンシブメディアクエリ
   ================================ */

/* PC (1200px ~ 1440px) - デフォルトスタイルを使用 */

/* タブレット (768px ~ 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .header {
    padding: 16px 32px;
    gap: 16px;
  }

  .logo {
    height: 36px;
    /* width: 120px; */
  }

  .navigation {
    gap: 24px;
  }

  .nav-link {
    font-size: 14px;
  }

  .register-button {
    font-size: 14px;
    padding: 7px 16px;
  }
}

/* モバイル (568px ~ 767px) */
@media (max-width: 768px) and (min-width: 568px) {
  .header {
    padding: 12px 20px;
    gap: 12px;
  }

  .logo {
    height: 32px;
    /* width: 106px; */
  }

  .navigation {
    display: none;
  }

  .button-container {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* スマホ (~ 568px) */
@media (max-width: 567px) {
  .header {
    padding: 12px 16px;
    gap: 8px;
  }

  .logo {
    height: 28px;
    /* width: 95px; */
  }

  .navigation {
    display: none;
  }

  .button-container {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    padding: 16px;
  }

  .mobile-nav-link {
    font-size: 15px;
  }

  .mobile-register-button {
    font-size: 15px;
    padding: 10px 16px;
  }
}

/* PC Large (1200px ~ 1440px以上) */
@media (min-width: 1200px) {
  .header {
    padding: 20px 176px;
  }
}
