/* 料金案内 — ざつね屋 事業HPデザイン準拠（zatuneya-hp / services.html と同一デザインシステム） */
:root {
  --teal:       #5BBDC8;
  --teal-dk:    #267882;  /* #46A6B1→#267882 (コントラスト比 5.1:1 確保) */
  --teal-soft:  #EAF6F8;
  --teal-soft2: #DCF0F2;
  --card-tint:  #F6FBFC;
  --card-line:  #E1EEF0;
  --orange:     #F8981D;
  --orange-dk:  #E28511;
  --orange-soft:#FDF0DE;
  --warm-bg:    #FFF9F0;
  --warm-line:  #F6E4C8;
  --bg:         #EFF4F5;
  --heading:    #3C3C3C;
  --text:       #575757;
  --muted:      #5F707A;  /* #839CAA→#5F707A (コントラスト比 5.2:1 確保) */

  /* スペーシングスケール（zatuneya-hpと共通トークン） */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s6:24px; --s8:32px; --s10:40px; --s12:48px; --s16:64px; --s20:80px; --s24:96px;

  /* シャドウ階調（zatuneya-hpと共通トークン） */
  --sh-1: 0 1px 3px rgba(40,60,70,.05), 0 4px 12px rgba(40,60,70,.05);
  --sh-2: 0 2px 6px rgba(40,60,70,.06), 0 14px 30px rgba(40,60,70,.10);
  --sh-3: 0 6px 14px rgba(40,60,70,.10), 0 30px 60px rgba(40,60,70,.18);

  --ease: cubic-bezier(.22,.61,.36,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Roboto', 'Hiragino Sans', 'Yu Gothic UI', sans-serif;
  background: #fff; color: var(--text); line-height: 1.75; font-size: 16px;
  overflow-x: hidden;
}

/* ── ナビ（prices.htmlは site-header を使用、旧 .site-nav/.nav-brand/.nav-links ルールは削除済み） ── */

/* ── ページヘッダー ── */
.hero {
  position: relative; background: var(--bg);
  padding: var(--s16) var(--s6) 0; overflow: hidden; text-align: center;
}
.blob { position: absolute; pointer-events: none; }
.blob-teal {
  top: -120px; right: -60px; width: 420px; height: 380px;
  background: rgba(91,189,200,0.16);
  border-radius: 60% 40% 55% 45% / 55% 50% 50% 45%;
}
.blob-gray {
  bottom: 80px; left: -80px; width: 300px; height: 300px;
  background: rgba(131,156,170,0.12); border-radius: 50%;
}
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--teal-dk);
  background: #fff; padding: var(--s3) var(--s4); border-radius: 999px;
  box-shadow: var(--sh-1);
}
.hero-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.hero h1 { font-weight: 900; color: var(--heading); font-size: 36px; line-height: 1.45; margin: var(--s6) 0 0; }
@media (max-width: 640px) { .hero h1 { font-size: 26px; } }
.hero-lead { font-size: 15px; color: var(--text); max-width: 620px; margin: var(--s4) auto 0; line-height: 1.8; }

.hero-wave { display: block; width: 100%; height: 64px; }
.hero-wave svg { display: block; width: 100%; height: 100%; }

/* ── 本文 ── */
.main-wrap { max-width: 880px; margin: 0 auto; padding: var(--s2) var(--s6) var(--s16); }

/* 低額入口導線 */
.entry-note {
  background: var(--teal-soft); border: 1px solid var(--card-line); border-radius: 18px;
  padding: var(--s4) var(--s6); font-size: 14.5px; color: var(--text); margin-bottom: var(--s3);
  text-align: center; line-height: 1.8;
}
.entry-note-link {
  display: inline-block; margin-top: 4px; font-weight: 700;
  color: var(--teal-dk); text-decoration: none; white-space: nowrap;
}
.entry-note-link:hover { text-decoration: underline; }

/* フック */
.hook-box {
  background: var(--teal-soft); border-radius: 18px;
  padding: var(--s4) var(--s6); font-size: 14px; font-weight: 600; color: var(--heading);
  margin-bottom: var(--s3); text-align: center;
}
.hook-box strong { font-size: 19px; font-weight: 900; color: var(--teal-dk); }

.card-body { font-size: 15px; color: var(--text); margin-bottom: var(--s4); }

/* コースアコーディオン */
.course-ac {
  background: #fff; border: 1px solid var(--card-line); border-radius: 18px; margin-bottom: var(--s3); overflow: hidden;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.course-ac:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.course-ac:last-child { margin-bottom: 0; }
.course-ac-head {
  display: flex; align-items: center; gap: var(--s4);
  padding: var(--s4); cursor: pointer; list-style: none;
}
.course-ac-head::-webkit-details-marker { display: none; }
.course-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 14px;
  background: var(--teal-soft); color: var(--teal-dk);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900;
}
.course-ac-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.course-ac-name { font-size: 17px; font-weight: 900; color: var(--heading); }
.course-ac-meta { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.course-badge-sm {
  font-size: 12.5px; font-weight: 700; color: var(--muted);
  background: var(--card-tint); border: 1px solid var(--card-line);
  border-radius: 999px; padding: 4px var(--s3);
}
.course-range { font-family: 'Roboto', 'Noto Sans JP', sans-serif; font-size: 15px; font-weight: 900; color: var(--orange-dk); }
.ac-chevron {
  flex-shrink: 0; width: 10px; height: 10px;
  border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted);
  transform: rotate(45deg); transition: transform 0.2s; margin-right: 4px;
}
details[open] .ac-chevron { transform: rotate(-135deg); }
.course-ac-body { padding: 4px var(--s4) var(--s4); }
.course-desc { font-size: 15px; color: var(--text); line-height: 1.85; margin-bottom: var(--s4); }
.course-cond {
  margin-top: var(--s3); font-size: 14px; color: var(--muted);
  background: var(--card-tint); border-radius: 12px; padding: 10px var(--s3);
}

/* 料金一覧の注記 */
.course-table-note {
  font-size: 13px; color: var(--muted); margin-top: var(--s2);
  padding-left: var(--s4); position: relative; line-height: 1.7;
}
.course-table-note::before { content: '※'; position: absolute; left: 0; }
.course-table-note + .course-table-note { margin-top: 4px; }
.course-blurbs { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: var(--s4); }
.course-blurbs li {
  font-size: 14px; color: var(--text); line-height: 1.7;
  padding-left: var(--s6); position: relative;
}
.course-blurbs li strong { position: absolute; left: 0; color: var(--teal-dk); font-weight: 900; }
.course-table-link {
  display: inline-block; margin-top: var(--s3);
  font-size: 14px; font-weight: 700; color: var(--teal-dk); text-decoration: none;
}
.course-table-link:hover { text-decoration: underline; }

/* テーブル */
.detail-table {
  width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff;
  border-radius: 16px; overflow: hidden; box-shadow: var(--sh-1);
}
.detail-table thead th {
  background: linear-gradient(135deg, var(--teal), var(--teal-dk)); color: #fff; font-weight: 700;
  padding: var(--s3) var(--s3); text-align: left; font-size: 13.5px; letter-spacing: 0.04em;
}
.detail-table td,
.detail-table tbody th { padding: var(--s4) var(--s4); border-bottom: 1px solid #EDF3F4; color: var(--text); transition: background .15s; }
.detail-table tbody th { text-align: left; }
.detail-table tbody tr:last-child td,
.detail-table tbody tr:last-child th { border-bottom: none; }
.detail-table tbody tr:nth-child(even) { background: var(--card-tint); }
.detail-table td:first-child,
.detail-table tbody th:first-child { font-weight: 700; color: var(--heading); }
.detail-table { font-size: 14.5px; }
/* nowrap は列数の多い表（標準スケジュール等）だけに限定。2列表・折返し前提の表は解除 */
.detail-table--nowrap td,
.detail-table--nowrap tbody th { white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* オプション行（直前の行に付随するオプションであることを示すインデント） */
.detail-table tbody th.is-option {
  position: relative;
  padding-left: calc(var(--s4) + var(--s6));
  font-weight: 500;
  color: var(--text);
}
.detail-table tbody th.is-option::before {
  content: '└';
  position: absolute;
  left: var(--s4);
  color: var(--muted);
  font-weight: 400;
}

/* テーブル内グループ見出し行（サービスの区切り。thead より弱く、通常行より強い中間の強さ） */
.detail-table tbody tr.table-group-head th {
  background: var(--teal-soft); color: var(--teal-dk); font-weight: 900;
  font-size: 15.5px; padding: var(--s4) var(--s4); text-align: left;
  scroll-margin-top: 76px;
}

/* 料金一覧テーブル直後の条件注記（研修・個別業務設計・AI活用伴走の注記をまとめて配置） */
.table-notes { margin: var(--s6) 0; display: flex; flex-direction: column; gap: var(--s2); }
.table-notes .course-table-link { margin: var(--s1) 0; }

/* プラン注記 */
.plan-note {
  font-size: 14px; color: var(--text); line-height: 1.8;
  background: #fff; border: 1px solid var(--card-line); border-radius: 12px;
  padding: var(--s3) var(--s4); margin: var(--s3) 0;
}

/* 規約・対象外の折りたたみ（DOM には残す＝契約注記のサイト掲載方針を満たす） */
.fine-print {
  margin-top: var(--s6); border-top: 1px solid var(--card-line); padding-top: var(--s4);
}
.fine-print > summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: var(--s2);
  font-size: 14px; font-weight: 700; color: var(--text);
}
.fine-print > summary::-webkit-details-marker { display: none; }
.fine-print > summary::before {
  content: ''; width: 8px; height: 8px; flex-shrink: 0;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg); transition: transform .2s;
}
.fine-print[open] > summary::before { transform: rotate(45deg); }
.fine-print-body { margin-top: var(--s3); }
.fine-print-body .detail-heading:first-child,
.fine-print-body .plan-note:first-child { margin-top: 0; }
.fine-print-body .service-detail-list li { font-size: 14px; }

/* 詳細見出し・リスト */
.detail-heading { font-size: 16px; font-weight: 900; color: var(--heading); margin: var(--s6) 0 var(--s3); padding-left: var(--s3); border-left: 4px solid var(--teal); }
.service-detail-list { list-style: none; display: flex; flex-direction: column; gap: var(--s2); }
.service-detail-list li { font-size: 15px; color: var(--text); padding-left: var(--s4); position: relative; }
.service-detail-list li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.service-desc { font-size: 15px; }

/* CTA */
.cta-section {
  position: relative; background: #fff; border-radius: 32px;
  box-shadow: var(--sh-3);
  padding: var(--s12) var(--s6); margin-top: var(--s12); text-align: center; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -100px; right: -70px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(248,152,29,0.14), rgba(248,152,29,0) 70%);
  pointer-events: none;
}
.cta-section::after {
  content: ''; position: absolute; bottom: -90px; left: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,189,200,0.12), rgba(91,189,200,0) 70%);
  pointer-events: none;
}
.cta-headline { position: relative; font-size: 23px; font-weight: 900; color: var(--heading); }
.cta-sub { position: relative; font-size: 14px; color: var(--text); margin: var(--s3) 0 var(--s6); }
.cta-actions { position: relative; display: flex; gap: var(--s4); justify-content: center; flex-wrap: wrap; }
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-size: 15px; font-weight: 700; text-decoration: none;
  padding: var(--s4) var(--s8); border-radius: 999px; transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.btn-cta:hover { transform: translateY(-2px); }
.btn-primary.btn-cta { background: var(--orange); color: #fff; box-shadow: 0 12px 28px rgba(248,152,29,0.36); }
.btn-primary.btn-cta:hover { background: var(--orange-dk); box-shadow: 0 16px 32px rgba(248,152,29,.44); }
.btn-cta-outline { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(91,189,200,0.36); }
.btn-cta-outline:hover { background: var(--teal-dk); }

/* 注記 */
.price-notes { margin: var(--s6) 0 0; display: flex; flex-direction: column; gap: 4px; }
.price-notes p { font-size: 13px; color: var(--muted); }
