/* =========================================
   Base Settings & Variables
========================================= */
:root {
  --primary-color: #28a0f0; /* メインカラー：水色 */
  --accent-color: #0a325a;  /* アクセント・ボタン：濃紺 */
  --bg-light: #f0f9ff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --font-mincho: "Hiragino Mincho ProN", "MS Mincho", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-family);
  color: var(--text-main);
  line-height: 1.8;
  background-color: #ffffff;
  letter-spacing: 0.05em;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.bg-light-blue { background-color: var(--bg-light); }

/* PC・タブレットビューで改行を非表示 */
.br-sp {
  display: none;
}

/* スマホビューでスラッシュを非表示 */
.sp-slash {
  display: inline;
}

@media (max-width: 768px) {
  /* スマホビューで改行を表示 */
  .br-sp {
    display: block;
  }

  /* スマホビューでスラッシュを非表示 */
  .sp-slash {
    display: none;
  }
}

/* =========================================
   Animation
========================================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* =========================================
   Text Content Layout (読みやすさの統一設定)
========================================= */
/* 長文が含まれる全てのブロックの幅を800pxに統一。
   視線の移動距離を抑え、プロのDTPに近い可読性を確保します。
*/
.reality-text-wrap,
.intro-text-wrap,
.feature-content,
.message-text-wrap,
.verbatim-text-wrap,
.terms-box,
.operator-table {
  max-width: 800px;
  margin: 0 auto;
}

/* 日本語の美しさを整える共通設定 */
.reality-text-wrap p,
.intro-text-wrap p,
.feature-content p,
.message-text-wrap p,
.verbatim-text-wrap p {
  margin-bottom: 25px;
  text-align: justify;
  text-justify: inter-character;
  font-feature-settings: "palt"; /* 文字詰め */
}

.reality-text-wrap p:last-child,
.intro-text-wrap p:last-child,
.feature-content p:last-child,
.message-text-wrap p:last-child,
.verbatim-text-wrap p:last-child {
  margin-bottom: 0;
}

/* 特定の単語を少し強調する（太字 + 1px/1pt程度大きく） */
.text-accent {
  font-weight: bold;
  font-size: 1.1rem; /* 1.1倍（元の10%増し）くらいがちょうど良いです */
  color: var(--text-main); /* 色を変える場合はここを調整 */
}

/* 文章内の強調装飾（太字＋拡大＋下線）*/
.text-emphasis-all {
  font-weight: bold;
  font-size: 1.1rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid #94a3b8; /* 2pxのグレー線 */
  padding-bottom: 1px;
}

/* =========================================
   Buttons
========================================= */
.btn {
  display: inline-block;
  padding: 18px 40px;
  background-color: var(--accent-color);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(10, 50, 90, 0.3);
  transition: transform 0.2s, background-color 0.2s;
  text-align: center;
  border: none;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-3px);
  background-color: var(--primary-color);
}
.btn-sm { padding: 12px 28px; font-size: 0.9rem; }

/* =========================================
   Header
========================================= */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 20px 0;
  transition: background-color 0.3s, box-shadow 0.3s, padding 0.3s;
}
.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.header-logo { display: flex; align-items: center; text-decoration: none; gap: 12px; }
.header-logo img { height: 44px; width: auto; }
.header-logo .logo-text { color: var(--accent-color); font-weight: bold; font-size: 1.6rem; font-family: var(--font-mincho); }

.header-right { display: flex; align-items: center; gap: 30px; }
.header-nav { display: flex; align-items: center; gap: 20px; }
.header-nav a.nav-link { color: var(--accent-color); text-decoration: none; font-size: 0.9rem; font-weight: bold; }
.header-nav a.nav-link:hover { color: var(--primary-color); }

.nav-link-home { color: var(--accent-color); display: flex; align-items: center; justify-content: center; }
.nav-link-home svg { width: 22px; height: 22px; }
.nav-link-home:hover { color: var(--primary-color); }

.header-sns { display: flex; align-items: center; gap: 10px; border-left: 1px solid rgba(10, 50, 90, 0.1); padding-left: 20px; }
.header-sns a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background-color: var(--bg-light); color: var(--accent-color);
  text-decoration: none; transition: 0.2s;
}
.header-sns a:hover { background-color: var(--primary-color); color: #fff; transform: translateY(-2px); }
.header-sns a svg { width: 18px; height: 18px; fill: currentColor; }

/* =========================================
   Hero Section (FV)
========================================= */
.hero {
  background-image: url('./images/FV_BLUE.jpg');
  background-size: cover; background-position: center;
  padding: 0 !important;
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 80px;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(255, 255, 255, 0.75); z-index: -1;
}

.hero-text {
  flex: 0 0 520px; min-width: unset; padding-right: 60px; z-index: 2; display: flex; flex-direction: column; padding-bottom: 80px;
}
.hero-label {
  display: inline-block;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 8px 24px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 2.2rem;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(40, 160, 240, 0.2);
}
.hero-label-wrapper {
  width: 100%;
  background-color: transparent;
  padding: 50px 20px 10px;
  text-align: center;
  margin-top: 0;
}
.fs-130 { font-size: 130% !important; }

.hero-mincho {
  font-family: var(--font-mincho);
  font-weight: bold;
  font-size: 3rem;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--accent-color);
  font-feature-settings: "palt";
  letter-spacing: -0.02em;
}

.hero-text h1 span {
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
  white-space: nowrap;
}
.hero-text p { font-size: 1.15rem; margin-bottom: 40px; color: var(--text-main); }

.hero-img-cutout { flex: 0 0 auto; width: 500px; height: 600px; overflow: hidden; position: relative; z-index: 1; margin-bottom: -140px; margin-right: -20px; margin-top: 0px; }
.hero-img-cutout img { width: 135%; height: auto; display: block; margin-left: -52px; position: absolute; bottom: 0; }

/* =========================================
   Results Section
========================================= */
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 60px; color: var(--accent-color); position: relative; padding-bottom: 15px; }
.section-title::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 4px; background-color: var(--primary-color); border-radius: 2px;
}
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.results-section {
  position: relative; z-index: 10; padding-top: 120px;
  background-image: url('./images/drape.jpg'); background-size: cover; background-position: center;
}
.results-section::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(255, 255, 255, 0.8); z-index: -1;
}
.result-card {
  background: #ffffff; padding: 50px 35px; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #e2e8f0;
}
.result-card h3 { font-size: 1.4rem; margin-bottom: 20px; color: var(--accent-color); text-align: center; line-height: 1.4; }
.result-card p {
  color: var(--text-main); font-size: 1rem;
  text-align: justify;
  text-justify: inter-character;
  font-feature-settings: "palt";
  line-height: 1.7;
}

.benefit-box {
  margin-top: 60px;
  background: #fff;
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  position: relative;
}
.benefit-content p { font-size: 1.1rem; font-weight: bold; color: var(--accent-color); line-height: 1.6; }
.benefit-content span { color: #e60012; }
.benefit-content .highlight { font-size: 1.5rem; color: #e60012; border-bottom: 2px solid #e60012; margin: 0 5px; }

.voice-lead-box { margin-top: 80px; text-align: center; padding: 60px 20px; background: rgba(255, 255, 255, 0.5); border-radius: 16px; }
.voice-lead-title { font-size: 1.8rem; color: var(--accent-color); margin-bottom: 20px; font-family: var(--font-mincho); }
.voice-lead-box p { margin-bottom: 30px; color: var(--text-main); }
.voice-btn { min-width: 280px; }

/* =========================================
   Profile
========================================= */
.profile-wrap { display: flex; flex-wrap: wrap; gap: 60px; padding: 60px; background: #ffffff; border-radius: 16px; box-shadow: 0 15px 50px rgba(0,0,0,0.05); }
.profile-img { flex: 0 0 280px; border-radius: 12px; overflow: hidden; height: auto; }
.profile-img img { width: 100%; height: auto; display: block; object-fit: cover; }
.profile-info { flex: 2; min-width: 300px; }
.profile-info h3 { font-size: 1.8rem; margin-bottom: 5px; color: var(--accent-color); }
.profile-info .title { display: inline-block; margin-bottom: 25px; color: var(--primary-color); font-weight: bold; font-size: 1.1rem; border-bottom: 1px solid #e2e8f0; padding-bottom: 12px; width: 100%; }

/* =========================================
   Pricing
========================================= */
.price-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  height: 100%;
}

.price-card.featured {
  border-color: var(--accent-color);
  border-width: 2px;
  box-shadow: 0 20px 50px rgba(10, 50, 90, 0.15);
  transform: scale(1.03);
}

.price-card .badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: #ffffff;
  padding: 6px 24px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.9rem;
}

.price-card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.price-card .desc {
  margin-bottom: 30px;
  color: var(--text-muted);
}

.price-card .price, .price-display-flex {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 15px;
  line-height: 1;
}

.price-card .notes {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: left;
  background: var(--bg-light);
  padding: 20px;
  border-radius: 8px;
}

.special-price-tag {
  display: inline-block;
  color: #e60012;
  font-weight: bold;
  border: 1px solid #e60012;
  padding: 2px 12px;
  font-size: 0.85rem;
  border-radius: 2px;
  margin-bottom: 10px;
  font-feature-settings: "palt";
}

.p-red-big { color: #e60012 !important; font-size: 3.5rem; font-weight: bold; }
.p-red-small { color: #e60012 !important; font-size: 1.2rem; font-weight: bold; margin-left: 2px; }
.p-accent-big { color: var(--accent-color) !important; font-size: 3.5rem; font-weight: bold; }
.p-accent-small { color: var(--accent-color) !important; font-size: 1.2rem; font-weight: bold; margin-left: 2px; }
.p-gray-small { color: var(--text-muted) !important; font-size: 1rem; font-weight: normal; margin-left: 5px; }

/* 本講座側のラベル（ミラーリング用） */
.recommended-label {
  display: inline-block;
  color: var(--primary-color); /* 水色 */
  font-weight: bold;
  border: 1px solid var(--primary-color);
  padding: 2px 12px;
  font-size: 0.85rem;
  border-radius: 2px;
  margin-bottom: 10px;
  font-feature-settings: "palt";
}

/* =========================================
   Reality Section
========================================= */
.bg-reality-blue {
  position: relative;
  background-color: #e0f2fe;
  background-image: url('./images/reality_pattern.jpg');
  background-size: cover;
  z-index: 1;
}

.bg-reality-blue::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: -1;
}

.reality-top-img { max-width: 600px; margin: 0 auto 40px; text-align: center; }
.reality-top-img img { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }

/* =========================================
   Additional Sections Content
========================================= */
.bg-light-green { background-color: #f3faf4; }
.bg-light-gray { background-color: #f5f5f5; }

/* --- 講義風景背景セクションの修正（透過オーバーレイ追加） --- */
.lecture-scene-bg {
  /* 重ね書きの指定：1つ目に半透明の白、2つ目に画像 */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), /* 透過率60%（白を40%乗せる） */
    url('./images/lecture_scene.jpg');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* --- 画像を画面に固定する：パララックス（視差効果） --- */
  background-attachment: fixed;

  height: 500px;
  padding: 0;
}

.consultation-info-box {
  background: #fff;
  border: 1px solid var(--primary-color);
  max-width: 600px;
  margin: 40px auto 0;
  padding: 30px;
  text-align: left;
}
.consultation-info-box .info-label { font-weight: bold; color: var(--accent-color); margin-bottom: 10px; }
.consultation-info-box .info-price { font-size: 1.1rem; color: var(--accent-color); margin-bottom: 15px; }
.consultation-info-box .info-price span { font-size: 2.2rem; font-weight: bold; color: #0a325a; margin: 0 5px; }
.consultation-info-box .info-note { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* 最後の想い サイン＆写真の2コラムレイアウト */
.signature-photo-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 60px;
  margin-top: 40px;
}

.signature {
  flex: 1;
  min-width: 250px;
  text-align: left;
  font-family: var(--font-mincho);
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1.8;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.message-photo {
  flex: 0 0 auto;
  text-align: center;
}

.message-photo img {
  width: 360px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: block;
}

/* モバイル対応：スタック配置に変更 */
@media (max-width: 768px) {
  .signature-photo-flex {
    flex-direction: column-reverse;
    gap: 30px;
    align-items: center;
  }

  .signature {
    text-align: center;
    justify-content: center;
  }

  .message-photo {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}
.terms-section {
  background-color: #e5e5e5;
  padding: 100px 0;
}

.terms-inner {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 60px 50px;
  border-radius: 8px;
}

.terms-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--accent-color);
  font-family: var(--font-mincho);
  font-weight: bold;
}

.terms-content {
  font-size: 0.9rem;
  line-height: 1.8;
}

.terms-lead {
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.terms-text {
  color: var(--text-main);
  text-align: justify;
  text-justify: inter-character;
  font-feature-settings: "palt";
}

.terms-text a {
  color: var(--primary-color);
  text-decoration: none;
}

.terms-text a:hover {
  text-decoration: underline;
}

.operator-table { width: 100%; border-collapse: collapse; }
.operator-table th, .operator-table td { padding: 15px 20px; border-bottom: 1px solid #e2e8f0; text-align: left; }
.operator-table th { width: 25%; background-color: #f1f5f9; color: var(--accent-color); font-weight: bold; }

.mb-40 { margin-bottom: 40px; }
.mb-30 { margin-bottom: 30px; }
.text-center { text-align: center; }

/* =========================================
   相談窓口ボックス（塊として中央配置）
========================================= */
.consultation-box {
  /* 塊自体の設定 */
  width: fit-content;         /* 塊の幅を「中の最も長い行」に合わせる */
  max-width: 70%;            /* スマホで溢れないように制限 */
  margin: 60px auto 0;        /* 左右autoで、この塊自体をbodyのセンターへ */

  /* 内部テキストの設定 */
  text-align: left;           /* ���の文章はすべて左寄せ */
}

.consultation-header {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

/* 料金行：ここも左揃えを維持 */
.consultation-price-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-start; /* 左寄せ */
  gap: 15px;
  margin-bottom: 25px;
  line-height: 1.2;
}

/* 注釈エリア */
.consultation-notes p {
  margin-bottom: 10px;
  position: relative;     /* 記号の位置を決める基準 */
  padding-left: 1.5em;    /* 記号の分の余白を確保 */
  text-indent: 0;         /* インデント設定をリセット */
}

/* 記号「※」をCSSで完璧に制御する */
.consultation-notes p::before {
  content: "※";           /* ここで全角の米印を挿入 */
  position: absolute;
  left: 0;
  top: 0;

  /* 記号だけを明朝体にする */
  font-family: var(--font-mincho);
  font-weight: bold;      /* 太くして視認性を上げる */
  font-size: 1.1em;       /* ほんの少し大きくして全角感を強調 */
  line-height: 1.6;       /* 本文の高さと合わせる */
}

/* 各パーツの色指定はそのまま */
.c-blue { color: #0000ff !important; font-size: 2.2rem; font-weight: bold; }
.c-dark-blue { color: #0000cd !important; font-size: 3.5rem; font-weight: bold; margin-left: 10px; }
.c-dark-blue-small { color: #0000cd !important; font-size: 1.5rem; font-weight: bold; }
.c-tax { color: #333 !important; font-size: 1.2rem; }

@media (max-width: 768px) {
  .consultation-box { width: 100%; padding: 0 10px; }
  .consultation-price-row { flex-wrap: wrap; gap: 5px 15px; }
  .c-blue { font-size: 1.8rem; }
  .c-dark-blue { font-size: 2.8rem; }
}

/* =========================================
   Footer
========================================= */
.footer { background-color: var(--accent-color); color: #ffffff; padding: 20px 0 60px; text-align: center; }
.footer-cta { background-color: var(--bg-light); padding: 80px 20px; text-align: center; color: var(--text-main); margin-bottom: 80px; }
.footer-cta h2 { font-size: 2.2rem; color: var(--accent-color); margin-bottom: 20px; }
.footer-one-column { display: flex; flex-direction: column; align-items: center; max-width: 800px; margin: 0 auto; }
.footer-nav { margin-bottom: 30px; }
.footer-nav-list { list-style: none; display: flex; gap: 24px; justify-content: center; }
.footer-nav-list a { color: #cbd5e1; text-decoration: none; font-weight: bold; }
.footer-legal { font-size: 0.85rem; color: #94a3b8; margin-bottom: 50px; white-space: nowrap; }
.footer-legal a {
  color: #cbd5e1;
  text-decoration: none;
  transition: 0.2s;
}
.footer-legal a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}
.footer-contact { margin-bottom: 50px; }
.footer-contact-title { display: inline-block; font-size: 1.2rem; margin-bottom: 15px; border-bottom: 2px solid var(--primary-color); padding-bottom: 8px; }
.footer-address { color: #cbd5e1; line-height: 1.8; font-size: 0.95rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 40px; width: 100%; color: #94a3b8; font-size: 0.8rem; }
.footer-address a {
  color: #cbd5e1;
  text-decoration: none;
  transition: 0.2s;
}

.footer-address a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* =========================================
   Responsive
========================================= */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; }
.menu-toggle span { display: block; width: 30px; height: 2px; background: var(--accent-color); margin: 6px 0; transition: 0.3s; }


.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 1050;
  transition: 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

/* 閉じるボタン */
.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  z-index: 1051;
}

.menu-close svg {
  width: 30px;
  height: 30px;
  color: var(--accent-color);
  stroke-width: 3;
}

.menu-close:hover svg {
  color: var(--primary-color);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.mobile-nav-link {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--accent-color);
  text-decoration: none;
}


@media (max-width: 1024px) {
  .header-right { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 768px) {
  .hero { flex-direction: column; padding: 0; }
  .hero .container { flex-direction: column !important; flex-wrap: wrap !important; padding: 40px 20px 0 !important; }
  .hero-text { flex: 0 0 auto !important; min-width: 100% !important; padding-right: 0 !important; padding-bottom: 60px !important; }
  .hero-mincho { font-size: 2.2rem; }
  .hero-img-cutout { width: 100%; height: auto; overflow: visible; margin: 0px auto 0; flex: 0 0 auto; }
  .hero-img-cutout img { position: static; bottom: unset; width: 100%; height: auto; margin-left: 0; }
  .profile-wrap { flex-direction: column; align-items: center; padding: 40px 20px; }
  .profile-img { width: 80% !important; aspect-ratio: 1 / 1 !important; margin: 0 auto 30px !important; }
  .profile-img img { width: 100%; height: 100%; object-fit: cover !important; object-position: top !important; }
  .footer-nav-list { flex-direction: column; gap: 15px; }
  .footer-legal { white-space: normal; }
  .operator-table th, .operator-table td { display: block; width: 100%; }
  .operator-table th { border-bottom: none; padding-bottom: 5px; }
  .br-sp { display: block; }
  .lecture-scene-bg {
    background-position: left center;  /* ← 左揃えに変更 */
    background-attachment: scroll;     /* モバイルではfixedが効かないのでscrollに */
  }
}

/* =========================================
   サブページ共通スタイル
========================================= */
.kitei-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.kitei-wrap h1 {
  font-size: 1.8rem;
  color: var(--accent-color);
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--accent-color);
}

.kitei-wrap ol {
  padding-left: 0;
  list-style: none;
  counter-reset: kitei-counter;
}

.kitei-wrap ol > li {
  counter-increment: kitei-counter;
  margin-bottom: 25px;
  padding-left: 2em;
  position: relative;
  line-height: 1.8;
  color: var(--text-main);
}

.kitei-wrap ol > li::before {
  content: counter(kitei-counter) ".";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: var(--accent-color);
}

.kitei-wrap .supplement {
  background-color: #f0fdf4;
  border: 1px solid #b6e2c8;
  border-radius: 8px;
  padding: 30px 35px;
  margin: 40px 0;
}

.kitei-wrap .supplement h2 {
  font-size: 1.1rem;
  color: var(--accent-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.kitei-wrap .flow {
  list-style: none;
  padding: 0;
  text-align: center;
}

.kitei-wrap .flow li {
  margin-bottom: 6px;
  line-height: 1.8;
  color: var(--text-main);
}

.kitei-wrap .flow li.arrow {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.kitei-wrap .case-block {
  margin-top: 25px;
}

.kitei-wrap .case-block h3 {
  font-size: 1rem;
  font-weight: bold;
  color: var(--accent-color);
  text-align: center;
  margin-bottom: 10px;
}

.back-btn-wrap {
  text-align: center;
  margin-top: 60px;
}

.back-btn-wrap a.btn {
  display: inline-block;
  padding: 14px 50px;
}

/* ===== 確認画面 ===== */

.form-confirm {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  margin-top: 30px;
}

.confirm-item {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  padding: 15px 0;
}

.confirm-label {
  width: 180px;
  font-weight: bold;
  color: #1e293b;
}

.confirm-value {
  flex: 1;
  color: #334155;
  line-height: 1.6;
}

/* ボタンエリア */
.form-buttons {
  text-align: center;
  margin-top: 30px;
}

/* 戻るボタン */
.btn-secondary {
  background: #64748b;
  color: #fff;
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {

  .confirm-item {
    flex-direction: column;
  }

  .confirm-label {
    width: 100%;
    margin-bottom: 5px;
  }

}
