/* ==========================================================================
   航空客室乗務員検定 - 公式スタイルシート (style.css)
   メインカラー: 濃紺 (#0c1b33), アクセント: シャンパンゴールド (#c5a059)
   フォント: 見出し（明朝体） / 本文（細身のゴシック体）
   ========================================================================== */

:root {
  --navy-950: #081326;
  --navy-900: #0c1b33;
  --navy-800: #132a4e;
  --navy-700: #1b3a6b;
  --gold-500: #c5a059;
  --gold-400: #d8ba66;
  --gold-300: #e8d08d;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --font-serif: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", serif;
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--slate-800);
  background-color: var(--slate-50);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

/* 画像がスマホ幅をはみ出さないための基本設定 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   飛行機窓枠デザイン (Cabin Window Motif)
   ========================================================================== */
.cabin-window {
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.92) 100%);
  box-shadow: 
    0 10px 30px -5px rgba(12, 27, 51, 0.06),
    0 0 0 8px rgba(255, 255, 255, 0.8),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -2px 4px 0 rgba(197, 160, 89, 0.12);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cabin-window:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 16px 36px -5px rgba(12, 27, 51, 0.12),
    0 0 0 8px rgba(255, 255, 255, 0.95);
}

.cabin-window-dark {
  border: 1px solid rgba(216, 186, 102, 0.35);
  border-radius: 36px;
  background: linear-gradient(145deg, #0c1b33 0%, #132a4e 100%);
  box-shadow: 
    0 15px 35px -5px rgba(0, 0, 0, 0.4),
    0 0 0 6px rgba(27, 58, 107, 0.3),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* ==========================================================================
   ボタン & タイポグラフィ
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 9999px;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-align: center;
}

.btn-gold {
  background: linear-gradient(135deg, #d8ba66 0%, #c5a059 50%, #a9833b 100%);
  color: var(--navy-950);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.4);
}

.btn-gold:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.6);
}

.btn-dark {
  background-color: var(--navy-950);
  color: #ffffff;
}

.btn-dark:hover {
  background-color: var(--navy-800);
}

.btn-outline {
  background-color: rgba(12, 27, 51, 0.6);
  color: #ffffff;
  border: 1px solid var(--slate-600);
}

.btn-outline:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.gold-gradient-text {
  background: linear-gradient(90deg, #d8ba66 0%, #c5a059 50%, #fef08a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-text {
  color: var(--gold-400);
}

.underlined {
  border-bottom: 2px solid rgba(197, 160, 89, 0.7);
  padding-bottom: 2px;
}

/* ==========================================================================
   ヘッダー (固定)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(8, 19, 38, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  padding: 12px 0;
  color: #ffffff;
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-950);
  font-size: 18px;
  font-weight: bold;
}

.logo-text .sub-text {
  display: block;
  font-size: 10px;
  color: var(--gold-300);
  letter-spacing: 1px;
  font-family: var(--font-serif);
}

.logo-text .main-text {
  display: block;
  font-size: 16px;
  font-weight: bold;
  font-family: var(--font-serif);
  letter-spacing: 1px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav ul {
  display: flex;
  gap: 20px;
}

.desktop-nav a {
  font-size: 14px;
  color: #e2e8f0;
  transition: color 0.2s;
  letter-spacing: 0.5px;
}

.desktop-nav a:hover {
  color: var(--gold-300);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.sp-menu {
  display: none;
  background-color: rgba(8, 19, 38, 0.98);
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
  padding: 24px 20px;
}

.sp-menu.active {
  display: block;
}

.sp-menu ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sp-menu a {
  font-family: var(--font-serif);
  font-size: 16px;
  color: #f1f5f9;
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   FV セクション
   ========================================================================== */
.fv-section {
  padding-top: 130px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 50% 30%, #132a4e 0%, #0c1b33 60%, #081326 100%);
  color: #ffffff;
  position: relative;
}

.fv-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.badge-pill {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(12, 27, 51, 0.8);
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 9999px;
  font-size: 12px;
  color: var(--gold-300);
  font-family: var(--font-serif);
  margin-bottom: 16px;
}

.fv-lead {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--gold-300);
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 10px;
}

.fv-title {
  font-family: var(--font-serif);
  font-size: 38px;
  line-height: 1.3;
  margin-bottom: 20px;
}

.fv-desc {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 24px;
}

.fv-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 30px;
}

.fv-features li {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: #e2e8f0;
}

.fv-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* 窓枠内ダミー画像枠 */
.dummy-img-frame {
  background: linear-gradient(135deg, rgba(241, 245, 249, 0.8), rgba(226, 232, 240, 0.6));
  border: 1px dashed rgba(197, 160, 89, 0.4);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  margin-bottom: 16px;
}

.cabin-window-dark .dummy-img-frame {
  background: linear-gradient(135deg, rgba(8, 19, 38, 0.8), rgba(19, 42, 78, 0.8));
  color: var(--gold-300);
  border-color: rgba(197, 160, 89, 0.3);
}

.dummy-icon {
  font-size: 28px;
  margin-bottom: 6px;
}

.dummy-title {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 4px;
}

.dummy-size {
  font-size: 11px;
  background-color: rgba(0, 0, 0, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: monospace;
}

.dummy-note {
  font-size: 10px;
  opacity: 0.75;
  margin-top: 6px;
}

.window-header {
  text-align: center;
  margin-bottom: 16px;
  padding: 20px 20px 0;
}

.gold-tag {
  display: inline-block;
  background-color: var(--gold-400);
  color: var(--navy-950);
  font-size: 10px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 9999px;
  margin-bottom: 6px;
}

.window-header h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  margin-bottom: 2px;
}

.window-header p {
  font-size: 11px;
  color: var(--gold-300);
}

.window-footer-info {
  background-color: rgba(8, 19, 38, 0.7);
  border-radius: 12px;
  padding: 12px;
  margin: 0 20px 20px;
  font-size: 12px;
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.row-info {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.row-info:last-child {
  border-bottom: none;
}

/* ==========================================================================
   セクション共通
   ========================================================================== */
.section {
  padding: 90px 0;
}

.bg-slate { background-color: #f1f5f9; }
.bg-white { background-color: #ffffff; }

.section-title-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  background-color: rgba(197, 160, 89, 0.15);
  color: #8c6928;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--navy-950);
  line-height: 1.4;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 14px;
  color: var(--slate-600);
}

.note-italic {
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
  margin-top: 6px;
}

/* グリッドレイアウト */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* カードスタイル */
.card-worry, .card-solution {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.card-badge {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: bold;
  background-color: rgba(197, 160, 89, 0.2);
  color: #8c6928;
  padding: 3px 10px;
  border-radius: 6px;
}

.card-badge-dark {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: bold;
  background-color: var(--navy-950);
  color: var(--gold-300);
  padding: 3px 10px;
  border-radius: 6px;
}

.card-icon-circle {
  width: 44px;
  height: 44px;
  background: #f8fafc;
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--navy-950);
  margin-bottom: 12px;
  line-height: 1.4;
}

.point-sub {
  font-family: var(--font-serif);
  font-size: 12px;
  color: #8c6928;
  font-weight: bold;
  display: block;
  margin-bottom: 4px;
}

.card-text {
  font-size: 13.5px;
  color: var(--slate-600);
  line-height: 1.7;
}

.card-footer-alert {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--slate-200);
  font-size: 11px;
  color: #b45309;
  font-weight: 600;
}

.card-footer-check {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--slate-200);
  font-size: 12px;
  color: #047857;
  font-weight: 600;
  font-family: var(--font-serif);
}

.middle-cta-box {
  margin-top: 60px;
  padding: 40px;
  text-align: center;
}

.middle-cta-box h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 10px;
}

.middle-cta-box p {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 24px;
}

/* ==========================================================================
   About セクション
   ========================================================================== */
.about-main-card {
  padding: 40px;
  margin-bottom: 30px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.org-badge {
  display: inline-block;
  background-color: var(--navy-950);
  color: var(--gold-300);
  font-family: var(--font-serif);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.about-lead-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--navy-950);
  line-height: 1.5;
  margin-bottom: 16px;
}

.about-paragraphs p {
  font-size: 14px;
  color: var(--slate-700);
  margin-bottom: 12px;
  line-height: 1.8;
}

.link-external {
  color: #8c6928;
  font-size: 13px;
  font-weight: bold;
  font-family: var(--font-serif);
}
.link-external:hover {
  text-decoration: underline;
}

.card-half {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-half-title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--navy-950);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 8px;
}

.check-list li {
  font-size: 13.5px;
  color: var(--slate-700);
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}
.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--gold-500);
  font-weight: bold;
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}

.cat-box {
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
}
.cat-box strong {
  color: #8c6928;
  display: block;
}

.zoom-box {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid rgba(197, 160, 89, 0.4);
  padding: 16px;
  border-radius: 12px;
  margin-top: 16px;
}
.zoom-box h4 {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--navy-950);
  margin-bottom: 6px;
}
.zoom-box p {
  font-size: 12px;
  color: var(--slate-700);
}

/* ==========================================================================
   例題 (Quiz)
   ========================================================================== */
.quiz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.quiz-card {
  padding: 30px;
  background-color: var(--slate-50);
  display: flex;
  flex-direction: column;
}

.quiz-badge {
  display: inline-block;
  background-color: var(--navy-950);
  color: var(--gold-300);
  font-family: var(--font-serif);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.quiz-q {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--navy-950);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* 折りたたみ式解答ボタン */
.toggle-ans-btn {
  width: 100%;
  background-color: var(--slate-100);
  border: 1px solid var(--slate-300);
  padding: 12px;
  border-radius: 8px;
  font-family: var(--font-serif);
  font-weight: bold;
  color: var(--navy-950);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  margin-top: auto;
}

.toggle-ans-btn:hover {
  background-color: var(--slate-200);
  border-color: var(--gold-400);
}

.quiz-exp {
  margin-top: 10px;
  padding: 16px;
  background-color: #fefce8;
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 10px;
  font-size: 13px;
  color: #451a03;
  line-height: 1.6;
}

.quiz-exp strong {
  display: block;
  margin-bottom: 8px;
  color: #8c6928;
}

.hidden { display: none; }

/* ==========================================================================
   受験要項 (Guidelines)
   ========================================================================== */
.guidelines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
}

.guide-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.guide-1st {
  border-color: rgba(197, 160, 89, 0.6);
  background: linear-gradient(180deg, #ffffff 0%, #fffdfa 100%);
}

.guide-header {
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.guide-tag {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: bold;
  color: var(--gold-300);
  background-color: var(--navy-950);
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.guide-header h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--navy-950);
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 20px;
}

.guide-table tr {
  border-bottom: 1px solid var(--slate-100);
}

.guide-table th {
  width: 100px;
  text-align: left;
  padding: 10px 0;
  font-family: var(--font-serif);
  color: var(--navy-950);
  vertical-align: top;
}

.guide-table td {
  padding: 10px 0;
  color: var(--slate-700);
}

.price-box {
  background-color: #f1f5f9;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 4px 0;
}

.price-row strong {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--navy-950);
}

.price-note {
  display: block;
  font-size: 11px;
  color: var(--slate-600);
  margin-top: 4px;
}

.guide-notes {
  font-size: 11.5px;
  color: var(--slate-600);
  line-height: 1.6;
}

.contact-info-card {
  text-align: center;
  padding: 36px 20px;
  max-width: 650px;
  margin: 0 auto;
}

.contact-info-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy-950);
  margin-bottom: 8px;
}

.contact-info-card p {
  font-size: 13px;
  color: var(--slate-600);
  margin-bottom: 16px;
}

.contact-email-btn {
  display: inline-block;
  font-family: monospace;
  font-size: 16px;
  font-weight: bold;
  color: var(--navy-950);
  background-color: var(--slate-100);
  padding: 10px 24px;
  border-radius: 9999px;
  border: 1px solid var(--slate-300);
  transition: all 0.2s;
}
.contact-email-btn:hover {
  background-color: var(--slate-200);
  border-color: var(--gold-400);
}

/* ==========================================================================
   お申込みフォーム (Form)
   ========================================================================== */
.form-card {
  padding: 40px;
  background-color: #ffffff;
}

.form-notice {
  background-color: #fffbeb;
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 12px;
  padding: 16px;
  font-size: 12px;
  color: #78350f;
  margin-bottom: 24px;
}
.form-notice strong { display: block; margin-bottom: 4px; font-size: 13px; }

.form-group {
  margin-bottom: 20px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: bold;
  color: var(--navy-950);
  margin-bottom: 8px;
}

.badge-req {
  background-color: #ffe4e6;
  color: #e11d48;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: normal;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-opt {
  background-color: #f1f5f9;
  color: #64748b;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: normal;
  padding: 2px 6px;
  border-radius: 4px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--font-sans);
  background-color: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

.form-control.is-invalid {
  border-color: #f43f5e;
  background-color: #fff1f2;
}

.err-msg {
  display: block;
  font-size: 11.5px;
  color: #e11d48;
  margin-top: 4px;
  min-height: 16px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--slate-600);
  cursor: pointer;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkbox-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  background-color: #ffffff;
}

.checkbox-card:hover {
  border-color: var(--gold-400);
  background-color: #fffdfa;
}

.privacy-note {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 16px;
}

.btn-submit {
  width: 300px;
}

/* ==========================================================================
   フッター & トップへ戻るボタン
   ========================================================================== */
.footer {
  background-color: var(--navy-950);
  color: #ffffff;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  padding-top: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.footer-org {
  font-family: var(--font-serif);
  font-size: 12px;
  color: var(--gold-300);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-nav {
  display: flex;
  gap: 20px;
  font-size: 12px;
  font-family: var(--font-serif);
  color: #cbd5e1;
}
.footer-nav a:hover { color: var(--gold-300); }

.footer-contact {
  font-size: 13px;
  color: #cbd5e1;
}
.footer-contact a {
  color: var(--gold-300);
  font-family: monospace;
  font-weight: bold;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 11px;
  color: #64748b;
}

.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--navy-950);
  color: var(--gold-300);
  border: 1px solid rgba(197, 160, 89, 0.4);
  font-size: 16px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all 0.25s;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  background-color: var(--navy-900);
  color: #ffffff;
}

.scroll-to-top.show {
  display: flex;
}

/* ==========================================================================
   レスポンシブ (SP対応 - 最小320px完全最適化)
   ========================================================================== */
@media (max-width: 992px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .fv-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .cards-grid-3 { grid-template-columns: 1fr; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .quiz-grid { grid-template-columns: repeat(2, 1fr); }
  .guidelines-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { align-items: center; gap: 20px; }
}

@media (max-width: 640px) {
  .fv-title { font-size: 26px; }
  .fv-features { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .quiz-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 16px; }
  .about-main-card { padding: 24px 16px; }
  .guide-card { padding: 24px 16px; }
  .btn-submit { width: 100%; }
  .section-title { font-size: 24px; }
}

