/* THRINKA HP — 提案用サイト */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --teal: #1a535c;
  --teal-dark: #123940;
  --navy: #0f2027;
  --amber: #f4a261;
  --text: #2b2d42;
  --muted: #5c6270;
  --bg: #f7f7f3;
  --surface: #fff;
  --border: #e3e3dc;
  --max: 1080px;
  --radius: 12px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--teal); }

/* Header */
.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-logo { display: flex; align-items: center; }
.site-logo img { height: 32px; display: block; }

.site-nav {
  display: flex;
  gap: 30px;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active { border-bottom-color: var(--amber); }

.site-nav-cta {
  flex-shrink: 0;
  background: var(--teal);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 999px;
  border: none !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav-cta:hover { background: var(--teal-dark); }

.site-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 14px;
}

/* Layout */
.site-main { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.section:first-child { border-top: none; }

.section-muted { background: var(--surface); margin: 0 -1000px; padding-left: 1000px; padding-right: 1000px; }

.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.section-title { margin: 0 0 16px; font-size: 32px; font-weight: 600; line-height: 1.45; }
.section-desc { margin: 0 0 40px; color: var(--muted); font-size: 18px; max-width: 680px; }
.section-center { text-align: center; }
.section-center .section-desc { margin-left: auto; margin-right: auto; }

/* Hero — dark band, full-bleed */
.hero-band {
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(244,162,97,0.18), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--teal) 65%, var(--teal-dark) 100%);
  color: #fff;
  margin: 0 -1000px;
  padding: 64px 1000px 88px;
}

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

.hero-top-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 44px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.hero-band h1 {
  margin: 0 0 24px;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.4;
  font-weight: 600;
  max-width: 780px;
}

.hero-band .hero-sub {
  margin: 0 0 44px;
  color: rgba(255,255,255,0.88);
  font-size: 19px;
  max-width: 620px;
}

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

.cta-row.centered { justify-content: center; }

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }

.btn-secondary { background: #fff; color: var(--teal); border-color: var(--teal); }
.btn-secondary:hover { background: var(--teal); color: #fff; }

.hero-band .btn-secondary { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.6); }
.hero-band .btn-secondary:hover { background: #fff; color: var(--teal-dark); }

.btn-lg { padding: 17px 36px; font-size: 17px; min-width: 170px; }
.btn-block { width: 100%; }

/* Feature cards (icon + number) */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}

.feature-card .icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #e3edee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card .num {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 28px;
  font-weight: 600;
  color: var(--border);
}

.feature-card h3 { margin: 0 0 10px; font-size: 20px; }
.feature-card p { margin: 0; font-size: 16px; color: var(--muted); }

/* Trial intro (prominent, above the fold) */
.trial-intro {
  background: var(--surface);
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  padding: 40px;
}

.trial-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 32px;
}

.trial-fact {
  background: var(--bg);
  border-radius: 8px;
  padding: 18px 20px;
}

.trial-fact .k { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.trial-fact .v { display: block; font-size: 19px; font-weight: 600; color: var(--teal-dark); }

/* Icon row banner (dark strip) */
.icon-banner {
  background: var(--navy);
  color: #fff;
  margin: 0 -1000px;
  padding: 40px 1000px;
}

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

.icon-banner-title {
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
  margin: 0 0 28px;
}

.icon-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 20px;
}

.icon-item {
  text-align: center;
  min-width: 96px;
}

.icon-item .emoji { font-size: 30px; display: block; margin-bottom: 10px; }
.icon-item .label { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.9); }

/* Pillars (legacy — kept for other pages) */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar {
  text-align: center;
  padding: 8px;
}

.pillar-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  border-radius: 50%;
}

.pillar h3 { margin: 0 0 10px; font-size: 19px; }
.pillar p { margin: 0; font-size: 16px; color: var(--muted); }

/* Compare */
.compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.compare-card .num { font-size: 13px; font-weight: 600; color: var(--amber); letter-spacing: 0.06em; }
.compare-card h3 { margin: 10px 0 12px; font-size: 18px; }
.compare-card p { margin: 0; font-size: 15px; color: var(--muted); }

/* Step timeline */
.step-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step-timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 220px;
  position: relative;
  padding: 0 12px;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
  background: var(--surface);
  margin-bottom: 18px;
  z-index: 1;
}

.step-timeline-item::before {
  content: "";
  position: absolute;
  top: 24px;
  left: -50%;
  width: 100%;
  height: 0;
  border-top: 2px dashed var(--border);
  z-index: 0;
}

.step-timeline-item:first-child::before { display: none; }

.step-timeline-item h4 { margin: 0 0 8px; font-size: 17px; }
.step-timeline-item p { margin: 0; font-size: 14px; color: var(--muted); }

/* Two-col info cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.info-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 22px;
}

.info-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.info-row:last-child { border-bottom: none; }

.info-row-tag {
  flex-shrink: 0;
  background: var(--bg);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}

.info-row-body { flex: 1; }
.info-row-body strong { display: block; font-size: 15.5px; margin-bottom: 2px; }
.info-row-body span { font-size: 14px; color: var(--muted); }

.info-row-price {
  flex-shrink: 0;
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-dark);
}

.info-row-price small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }

/* Plan cards */
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.plan-card.highlight { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }

.plan-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.plan-badge.personal { background: #fdeee1; color: #b3591b; }
.plan-badge.trial { background: #e3edee; color: var(--teal); }

.plan-card h3 { margin: 0 0 8px; font-size: 22px; }
.plan-card .plan-target { margin: 0 0 20px; font-size: 15px; color: var(--muted); }

.plan-price {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border);
}

.plan-price small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 4px; }

.plan-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
}

.plan-features li {
  font-size: 15.5px;
  color: var(--text);
  padding: 9px 0 9px 28px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.plan-features li:last-child { border-bottom: none; }

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 600;
}

.section-note { font-size: 14px; color: var(--muted); }
.section-note a { color: var(--teal); font-weight: 600; text-decoration: none; }
.section-note a:hover { text-decoration: underline; }

/* Flow */
.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.flow-step {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 18px 24px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  min-width: 140px;
}

.flow-step.core { background: var(--teal); color: #fff; border-color: var(--teal); }
.flow-arrow { color: var(--muted); font-size: 22px; }

.flow-branch { display: flex; flex-direction: column; gap: 8px; }

/* Tabs */
.tabs {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 44px;
}

.tab {
  flex: 1;
  padding: 18px;
  text-align: center;
  background: var(--surface);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}

.tab.active { background: var(--teal); color: #fff; }

/* FAQ-ish note box */
.note-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  font-size: 15px;
  color: var(--muted);
}

/* Comparison table */
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

.compare-table th, .compare-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.compare-table thead th {
  background: var(--bg);
  font-weight: 600;
  color: var(--teal-dark);
  font-size: 14px;
}

.compare-table tbody td:first-child {
  color: var(--muted);
  font-weight: 600;
}

.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td strong { color: var(--teal-dark); }

/* FAQ list */
.faq-list { display: flex; flex-direction: column; gap: 16px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.faq-q .q-mark {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-a { margin: 0; padding-left: 38px; font-size: 15px; color: var(--muted); }

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

.form-group label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.required { color: #c0392b; font-size: 12px; font-weight: 400; margin-left: 4px; }

.input, .select, .textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  background: var(--surface);
  font-family: inherit;
  color: var(--text);
}

.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.textarea { min-height: 140px; resize: vertical; }

.form-note { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* Closing CTA (dark) */
.closing-band {
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: #fff;
  margin: 0 -1000px;
  padding: 72px 1000px;
}

.closing-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.closing-band .section-label { color: var(--amber); }
.closing-band h2 { margin: 0 0 20px; font-size: 30px; font-weight: 600; }
.closing-band p { margin: 0 auto 36px; color: rgba(255,255,255,0.82); font-size: 17px; max-width: 620px; }

/* Footer */
.site-footer {
  margin-top: 0;
  background: var(--teal-dark);
  color: #fff;
  padding: 56px 24px 32px;
}

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

.footer-primary {
  text-align: center;
  padding-bottom: 36px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.footer-lead { margin: 0 0 24px; font-size: 17px; opacity: 0.9; }

.footer-cta-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.site-footer .btn-primary { background: #fff; color: var(--teal-dark); }
.site-footer .btn-secondary { background: var(--amber); color: var(--teal-dark); border-color: var(--amber); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 15px;
}

.footer-nav a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-nav a:hover { color: #fff; }

.footer-logo { display: flex; justify-content: center; margin-bottom: 18px; }
.footer-logo img {
  height: 30px;
  width: auto;
}

/* Page header (sub pages) */

/* About */
.about-panel {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
}
.about-dl { margin: 0; }
.about-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.about-row:last-child { border-bottom: none; }
.about-row dt {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal);
}
.about-row dd { margin: 0; font-size: 16px; line-height: 1.6; }
.about-note {
  margin: 24px 0 0;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 860px) {
  .about-panel { padding: 28px 22px; }
  .about-row { grid-template-columns: 1fr; gap: 6px; }
}

.page-header {
  padding: 60px 0 36px;
  text-align: center;
  border-top: none;
}

.page-header h1 { margin: 0 0 12px; font-size: 38px; }
.page-header p { margin: 0; color: var(--muted); font-size: 17px; }

/* Mobile */
@media (max-width: 860px) {
  .site-menu-toggle { display: block; margin-left: auto; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 12px 24px;
    border-bottom: 1px solid var(--border);
  }

  .site-nav.open { display: flex; }
  .site-header-inner { flex-wrap: wrap; position: relative; }
  .site-nav-cta { width: 100%; text-align: center; margin-top: 8px; }

  .pillars, .compare, .plans, .feature-cards, .info-cards { grid-template-columns: 1fr; }
  .cta-row, .footer-cta-row { flex-direction: column; }
  .btn { width: 100%; }
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .tabs { flex-direction: column; }
  .hero-top-row { justify-content: center; }
  .step-timeline { flex-direction: column; align-items: center; }
  .step-timeline-item::before { display: none; }
  .step-timeline-item { width: 100%; max-width: 320px; margin-bottom: 30px; }
  .step-timeline-item:last-child { margin-bottom: 0; }
  .info-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .info-row-price { text-align: left; }
  .trial-facts { grid-template-columns: 1fr; }
  .trial-intro { padding: 28px; }
  .compare-table th, .compare-table td { font-size: 14px; padding: 12px 14px; }
  .faq-item { padding: 20px; }
}

/* ============================================================
   Phase4 モック用の追加スタイル
   （既存 site.css のトークン --teal / --amber / --border を継承）
   ============================================================ */

/* ------------------------------------------------------------
   【監査指摘の修正 1】追従ヘッダーが機能していない
   site.css は html / body に overflow-x: hidden を指定しているが、
   これはスクロールコンテナを作るため position: sticky を無効化する。
   実機確認：scrollY=3000 のとき header の top = -3000（＝完全に流れ去る）。
   overflow-x: clip はスクロールコンテナを作らないため、
   フルブリード（margin:0 -1000px）の横溢れを隠したまま sticky が生きる。
   ------------------------------------------------------------ */
html, body { overflow-x: clip; }

/* ------------------------------------------------------------
   【監査指摘の修正 2】ヒーローの主CTAが背景と同色で見えない
   site.css には .hero-band .btn-secondary の上書きが2件あるのに
   .hero-band .btn-primary の上書きが無い。
   その結果 主CTA の背景 = var(--teal) #1a535c で、
   ヒーローのグラデーションの65%停止点（＝同じ var(--teal)）と同一色。
   実機確認：btn背景 rgb(26,83,92)／枠線 rgba(0,0,0,0)／影 none。
   フッターと同じ「白地＋濃teal文字」に揃えて最大コントラストにする。
   ------------------------------------------------------------ */
.hero-band .btn-primary {
  background: #fff;
  color: var(--teal-dark);
  border-color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.hero-band .btn-primary:hover { background: var(--amber); color: var(--navy); border-color: var(--amber); }

/* 追従ヘッダー内のCTA（現状 index.html にだけ無い） */
.site-nav-cta { white-space: nowrap; }

/* モック識別バー */
.mock-ribbon {
  background: #7a2e2e;
  color: #fff;
  font-size: 13px;
  line-height: 1.6;
  padding: 10px 24px;
  text-align: center;
  letter-spacing: 0.02em;
}
.mock-ribbon strong { font-weight: 600; }
.mock-ribbon span { opacity: 0.85; }

/* 変更点の吹き出し（モック上でだけ表示する注釈） */
.annot {
  display: block;
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 16px;
  background: #fff8ee;
  border: 1px dashed var(--amber);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #8a5a20;
}
.annot b { color: #6d4416; }

/* 業種別の「今どう残っていますか」カード */
.meeting-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.meeting-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.meeting-card > .who {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.meeting-card ul { margin: 0; padding: 0; list-style: none; }
.meeting-card li {
  font-size: 16.5px;
  padding: 11px 0 11px 26px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.meeting-card li:last-child { border-bottom: none; }
.meeting-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 600;
}

.answer-line {
  margin: 32px 0 0;
  text-align: center;
  font-size: 19px;
  font-weight: 600;
  color: var(--teal-dark);
}
.answer-line small {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
}

/* 「外に出ない」バンド */
.noexit {
  margin-top: 34px;
  background: var(--surface);
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}
.noexit-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--teal);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 22px;
}
/* 4ステップが1行に収まらない幅では、矢印を消して2×2に畳む
   （①②③④の数字が順序を担保するため、矢印が無くても流れは読める） */
@media (max-width: 1120px) {
  .noexit .flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 520px;
    margin: 0 auto;
  }
  .noexit .flow-arrow { display: none; }
}
@media (max-width: 560px) {
  .noexit .flow { grid-template-columns: 1fr; max-width: 300px; }
}

.noexit-cut {
  margin: 26px auto 0;
  max-width: 640px;
  background: #fdecec;
  border: 1px solid #f0c4c4;
  color: #8f2c2c;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 15.5px;
  font-weight: 600;
}

/* 議事録サンプル */
.doc-sample {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(15,32,39,0.07);
}
.doc-sample-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.doc-body { padding: 30px 34px 34px; }
.doc-body h4 {
  margin: 0 0 6px;
  font-size: 21px;
  line-height: 1.5;
}
.doc-meta {
  margin: 0 0 26px;
  font-size: 14px;
  color: var(--muted);
}
.doc-sec {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--teal);
}
.doc-block { margin-bottom: 26px; }
.doc-block:last-child { margin-bottom: 0; }
.doc-list { margin: 0; padding: 0; list-style: none; }
.doc-list li {
  font-size: 16px;
  padding: 9px 0 9px 26px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.doc-list li:last-child { border-bottom: none; }
.doc-list li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--teal); font-weight: 600;
}
.todo-table { width: 100%; border-collapse: collapse; }
.todo-table th, .todo-table td {
  text-align: left;
  font-size: 15px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.todo-table th {
  font-size: 12.5px; color: var(--muted);
  background: var(--bg); font-weight: 600;
}
.todo-table tr:last-child td { border-bottom: none; }
.utt { margin: 0 0 10px; font-size: 15.5px; line-height: 1.8; }
.utt .spk {
  display: inline-block;
  min-width: 84px;
  font-weight: 600;
  color: var(--teal-dark);
}

/* AI 問い合わせのデモ（落ち着いた2段構成・絵文字なし） */
.qa-demo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.qa-part { padding: 30px 34px; }
.qa-part + .qa-part { border-top: 1px solid var(--border); background: var(--bg); }
.qa-label {
  margin: 0 0 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  color: var(--teal);
}
.qa-text {
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid var(--teal);
  font-size: 19px; font-weight: 600; line-height: 1.75;
}
.qa-lead { margin: 0 0 20px; font-size: 15px; color: var(--muted); }
.qa-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.qa-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.qa-fact { margin: 0 0 6px; font-size: 16.5px; font-weight: 600; line-height: 1.6; }
.qa-note { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.qa-src {
  margin: 0; font-size: 12.5px; font-weight: 600;
  color: var(--teal); border-top: 1px dashed var(--border); padding-top: 10px;
}
.gate {
  margin: 0;
  padding: 22px 34px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-size: 15px; color: var(--muted);
}
.gate b { color: var(--teal-dark); }

/* 「できないこと」 */
.honest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.honest-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.honest-card h3 {
  margin: 0 0 12px; font-size: 17.5px; line-height: 1.55; color: #8f2c2c;
}
.honest-card p { margin: 0; font-size: 15px; color: var(--muted); }
.honest-card .but {
  display: block; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 15px; color: var(--text); font-weight: 600;
}

/* 代表 */
.founder {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 30px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 36px;
}
.founder-photo {
  width: 132px; height: 132px; border-radius: 50%;
  background: #e3edee; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--muted); text-align: center; line-height: 1.5;
}
.founder h3 { margin: 0 0 4px; font-size: 20px; }
.founder .role { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.founder p { margin: 0 0 14px; font-size: 15.5px; }
.founder p:last-child { margin-bottom: 0; }

/* 費用 */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.price-card.main { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.price-card h3 { margin: 0 0 6px; font-size: 19px; }
.price-card .sub { margin: 0 0 22px; font-size: 14px; color: var(--muted); }
.price-line {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border);
}
.price-line:last-of-type { border-bottom: none; }
.price-line .k { font-size: 14px; color: var(--muted); }
.price-line .v { font-size: 19px; font-weight: 600; color: var(--teal-dark); }

/* クロージングの連絡先 */
.closing-contact {
  margin: 30px auto 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px;
  font-size: 15px; color: rgba(255,255,255,0.85);
}
.closing-contact b { color: #fff; font-size: 18px; }

/* フッターの法務リンク */
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center;
  font-size: 13.5px; margin-bottom: 18px;
}
.footer-legal a { color: rgba(255,255,255,0.72); text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }
.footer-copy {
  text-align: center; font-size: 12.5px; color: rgba(255,255,255,0.5); margin: 0;
}

@media (max-width: 860px) {
  .meeting-grid, .qa-items, .honest-grid, .price-grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .doc-body { padding: 22px 20px 26px; }
  .qa-part { padding: 22px 20px; }
  .gate { padding: 18px 20px; }
  .qa-text { font-size: 17px; }
  .utt .spk { display: block; min-width: 0; }
}

/* ============================================================
   5ページモック用の追加分
   ============================================================ */

/* モバイルで比較表を縦積みにする（横スクロールで結論が画面外に出るのを防ぐ） */
@media (max-width: 700px) {
  .compare-table-wrap { border: none; overflow: visible; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table td { display: block; width: 100%; }
  .compare-table thead { display: none; }
  .compare-table th, .compare-table td { white-space: normal; }
  .compare-table tbody tr {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); margin-bottom: 14px; padding: 6px 4px;
  }
  .compare-table tbody td { border-bottom: 1px solid var(--border); padding: 12px 16px; }
  .compare-table tbody tr td:last-child { border-bottom: none; }
  .compare-table tbody td:first-child {
    background: var(--bg); border-radius: 8px; margin: 4px 8px 8px;
    font-weight: 600; color: var(--teal-dark); font-size: 14px;
  }
  .compare-table tbody td[data-col]::before {
    content: attr(data-col);
    display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em;
    color: var(--muted); margin-bottom: 4px;
  }
}

/* 準備いただくもの */
.prep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prep-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 22px;
}
.prep-card h4 { margin: 0 0 8px; font-size: 17px; }
.prep-card p { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 860px) { .prep-grid { grid-template-columns: 1fr; } }

/* 打ち合わせ例（業種を限定しない見せ方） */
.example-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 34px;
}
.example-list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0 40px; margin: 0; padding: 0; list-style: none;
}
.example-list li {
  font-size: 16.5px; padding: 12px 0 12px 26px;
  border-bottom: 1px solid var(--border); position: relative;
}
.example-list li::before {
  content: "—"; position: absolute; left: 0; color: var(--amber); font-weight: 600;
}
@media (max-width: 860px) {
  .example-list { grid-template-columns: 1fr; }
  .example-wrap { padding: 24px 20px; }
}

/* ============================================================
   法務ページ（規約・PP・特商法）用
   ============================================================ */
.legal {
  max-width: 780px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 44px 48px 52px;
}
.legal h2 {
  margin: 44px 0 16px; font-size: 21px; line-height: 1.5;
  padding-bottom: 10px; border-bottom: 2px solid var(--border);
}
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 30px 0 12px; font-size: 17.5px; color: var(--teal-dark); }
.legal p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.9; }
.legal ol, .legal ul { margin: 0 0 16px; padding-left: 1.5em; }
.legal li { font-size: 15.5px; line-height: 1.9; margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 18px; }
.legal th, .legal td {
  border: 1px solid var(--border); padding: 10px 12px;
  font-size: 14px; text-align: left; vertical-align: top;
}
.legal th { background: var(--bg); font-weight: 600; color: var(--teal-dark); }
.legal .legal-lead {
  margin: 0 0 32px; padding: 18px 22px; background: var(--bg);
  border-radius: 8px; font-size: 15px; color: var(--muted);
}
.legal .legal-updated { font-size: 13.5px; color: var(--muted); text-align: right; margin: 32px 0 0; }

/* 未記入欄（公開前に必ず埋める箇所） */
mark.todo {
  background: #ffe9e9; color: #8f2c2c; border: 1px dashed #d99;
  border-radius: 4px; padding: 1px 7px; font-weight: 600; font-size: 0.94em;
}

.legal-warn {
  max-width: 780px; margin: 0 auto 26px;
  background: #fff4f4; border: 2px solid #d99; border-radius: var(--radius);
  padding: 22px 26px;
}
.legal-warn h3 { margin: 0 0 10px; font-size: 16.5px; color: #8f2c2c; }
.legal-warn p, .legal-warn li { margin: 0 0 8px; font-size: 14.5px; line-height: 1.85; }
.legal-warn ul { margin: 0; padding-left: 1.3em; }

@media (max-width: 860px) {
  .legal { padding: 28px 20px 34px; }
  .legal table { display: block; overflow-x: auto; }
}

/* ------------------------------------------------------------
   【修正】モバイルで追従ヘッダーが画面の25%を占有していた
   ヘッダーにCTAを足したことで site.css の
   .site-nav-cta{width:100%} が効き、ヘッダーが3段（204px）になっていた。
   1段に収め、CTAは小さめのピルにする。
   ------------------------------------------------------------ */
@media (max-width: 860px) {
  .site-header-inner { flex-wrap: nowrap; gap: 10px; padding: 12px 16px; }
  .site-nav-cta {
    width: auto;
    margin: 0 0 0 auto;
    padding: 9px 14px !important;
    font-size: 13px;
    text-align: center;
  }
  /* 「☰ メニュー」の文字が右端で切れるため、モバイルではアイコンのみにする */
  .site-menu-toggle {
    margin-left: 0; flex-shrink: 0;
    font-size: 0; line-height: 1; padding: 8px 11px;
  }
  .site-menu-toggle::before { content: "\2630"; font-size: 18px; }
  .site-logo img { height: 26px; }

  /* H1 が「を、」だけ改行されるため、モバイルでは1行に収まる大きさにする */
  .hero-band h1 { font-size: 30px; }
}

/* ------------------------------------------------------------
   【修正】ToDo表がモバイルで1文字ずつ改行される
   担当110px・期限120pxの固定幅で、375px画面では内容列が数十pxしか
   残らなかった。行ごとのカード表示に切り替える。
   ------------------------------------------------------------ */
@media (max-width: 700px) {
  .todo-table, .todo-table tbody, .todo-table tr, .todo-table td { display: block; width: 100%; }
  .todo-table thead { display: none; }
  .todo-table tbody tr {
    border: 1px solid var(--border); border-radius: 8px;
    padding: 14px 16px; margin-bottom: 10px;
  }
  .todo-table tbody tr:last-child { margin-bottom: 0; }
  .todo-table td { border: none; padding: 0; }
  .todo-table td:first-child { font-weight: 600; margin-bottom: 10px; line-height: 1.6; }
  .todo-table td[data-l] {
    display: inline-block; width: auto;
    font-size: 13.5px; color: var(--muted); margin-right: 18px;
  }
  .todo-table td[data-l]::before { content: attr(data-l) "："; }
}

/* ------------------------------------------------------------
   【修正】クロージング帯のCTAが背景に埋もれる
   実測コントラスト 1.45:1（WCAGのUI部品基準は3:1）。
   ヒーローと同じく白地に変更して視認性を確保する。
   ------------------------------------------------------------ */
.closing-band .btn-primary {
  background: #fff;
  color: var(--teal-dark);
  border-color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}
.closing-band .btn-primary:hover { background: var(--amber); color: var(--navy); border-color: var(--amber); }


/* ============================================================
   タイポグラフィ監査（2026-08-06）の反映
   ============================================================ */

/* --- ① 日本語の折返しを文節単位にする（孤立行・語分断の根絶） --- */
body {
  word-break: auto-phrase;
  overflow-wrap: anywhere;
  line-break: strict;
  font-family:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic Medium", "Yu Gothic", "Meiryo",
    "Noto Sans JP", "Noto Sans CJK JP",
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* --- ② 見出しの行間を 1.3 / 1.4 の2値に統一 --- */
.hero-band h1,
.page-header h1        { line-height: 1.3; }
.section-title,
.closing-band h2,
.legal h2,
.doc-body h4,
.honest-card h3,
.qa-fact,
.plan-card h3,
.price-card h3,
.feature-card h3       { line-height: 1.4; }

/* --- ③ 見出しの約物を詰めて締める（本文には掛けない） --- */
.hero-band h1,
.page-header h1,
.section-title,
.closing-band h2 {
  font-feature-settings: "palt" 1;
  letter-spacing: -0.01em;
}

/* --- ④ 行長の上限（小さい文字ほど長く伸びる逆転を解消） --- */
.section-desc  { max-width: 40em; }
.faq-a         { font-size: 16px; line-height: 1.85; max-width: 54em; }
/* ↑ 40em だとカードの右側が大きく余って左寄せに見えるため、
   余りが目立たない 54em（≒54字）まで広げる。 */
.section-note  { max-width: none; }
.note-box      { max-width: none; }
.gate          { max-width: none; }
.doc-body      { max-width: none; }

/* --- ⑤ セクション内の余白比を 8 : 20 : 48 に --- */
.section-label { margin-bottom: 8px; }
.section-title { margin: 0 0 20px; }
.section-desc  { margin: 0 0 48px; }

/* --- ⑥ 小さすぎる文字の引き上げ（読者層の年齢を考慮） --- */
.required        { font-size: 14px; font-weight: 600; }
.form-note       { font-size: 15px; line-height: 1.8; }
.footer-copy     { font-size: 14px; color: rgba(255,255,255,0.75); }
.footer-legal a  { font-size: 15px; }
.qa-src          { font-size: 14px; }
.todo-table th   { font-size: 14px; }
.qa-label        { font-size: 14px; letter-spacing: 0.04em; }
.doc-sec         { font-size: 15px; letter-spacing: 0.04em; }
.about-row dt    { font-size: 14px; letter-spacing: 0.04em; }
.section-label   { letter-spacing: 0.08em; text-transform: none; }
.icon-banner-title, .noexit-label { letter-spacing: 0.08em; }
.doc-sample-bar  { letter-spacing: 0.04em; }

/* --- ⑦ 会社概要の経歴（長い連続テキスト）の行間 --- */
.about-row dd { line-height: 1.85; }
.about-row    { padding: 20px 0; }

/* --- ⑧ 法務ページの本文サイズ --- */
.legal { max-width: 820px; }
.legal p, .legal li { font-size: 14px; line-height: 1.8; }
.legal table { table-layout: fixed; }
.legal td { line-height: 1.75; padding: 12px 14px; }
.legal th:nth-child(1), .legal td:nth-child(1) { width: 22%; }
.legal th:nth-child(2), .legal td:nth-child(2) { width: 34%; }
.legal th:nth-child(3), .legal td:nth-child(3) { width: 24%; }
.legal th:nth-child(4), .legal td:nth-child(4) { width: 20%; }

/* --- ⑨ 面（カード）の統一：影をやめ、入れ子の角丸を小さく --- */
.doc-sample { box-shadow: none; }
.qa-item, .trial-fact, .prep-card { border-radius: 8px; }

/* --- ⑩ 6つの出力：絵文字をやめ、上罫線＋テキストに --- */
.icon-row { gap: 26px 18px; }
.icon-item {
  min-width: 128px;
  padding-top: 16px;
  border-top: 2px solid var(--amber);
}
.icon-item .label { font-size: 15px; line-height: 1.6; }
.pill { gap: 10px; }
.pill::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber); flex-shrink: 0;
}

/* --- ⑪ モバイル：見出しサイズと余白のリズム --- */
@media (max-width: 860px) {
  .section-title    { font-size: 26px; }
  .page-header h1   { font-size: 28px; }
  .closing-band h2  { font-size: 26px; }
  /* ⚠ padding のショートハンドは使わないこと。
     .section-muted は padding-left/right:1000px でフルブリードを作っており、
     ショートハンドで左右を0にすると中身が画面外へ飛ぶ（実測 left=-976px）。 */
  .section          { padding-top: 56px; padding-bottom: 56px; }
  .hero-band        { padding-top: 44px; padding-bottom: 60px; }
  .closing-band     { padding-top: 52px; padding-bottom: 52px; }
  .site-footer      { padding: 40px 20px 28px; }
  .page-header      { padding: 40px 0 28px; }
  .section-desc     { margin-bottom: 36px; }
  .legal            { padding: 28px 18px 34px; }
  .legal p, .legal li { font-size: 13.5px; line-height: 1.8; }
  .icon-item        { min-width: 44%; }
}

/* --- ⑫ 法務ページの表：モバイルでは行ごとのカードに --- */
@media (max-width: 700px) {
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: auto !important; }
  .legal tr:first-child { display: none; }          /* 見出し行（ラベルは各セルが持つ） */
  .legal tr {
    border: 1px solid var(--border); border-radius: 8px;
    padding: 14px 16px; margin-bottom: 12px;
  }
  .legal td { border: none; padding: 8px 0; }
  .legal td:first-child {
    font-weight: 600; color: var(--teal-dark);
    border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 4px;
  }
  .legal td[data-col]::before {
    content: attr(data-col);
    display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em;
    color: var(--muted); margin-bottom: 3px;
  }
}

/* ============================================================
   文字揃えの統一（2026-08-06）
   ルール：見出し・本文・説明はすべて左揃え。
          中央揃えは「暗い帯」（6つの出力バンド・クロージング帯）の中だけ。
   ============================================================ */

/* ステップ図：中央揃えの図から、左揃えのカードへ */
.step-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.step-timeline-item {
  width: auto;
  align-items: flex-start;
  text-align: left;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-timeline-item::before { display: none; }   /* 点線コネクタを廃止 */
.step-circle { margin-bottom: 16px; }
.step-timeline-item h4 { margin-bottom: 10px; font-size: 17px; }
.step-timeline-item p  { font-size: 14.5px; line-height: 1.75; }

/* 結論の1行も左揃えに揃える */
.answer-line { text-align: left; }
.answer-line small { margin-top: 8px; }

@media (max-width: 860px) {
  .step-timeline { grid-template-columns: 1fr; gap: 16px; }
  .step-timeline-item { max-width: none; margin-bottom: 0; padding: 22px 20px; }
}

/* --- 法務ページ（規約・PP）は「掲示」が目的。文字は小さめに揃える --- */
.legal h2 { font-size: 17px; margin: 34px 0 12px; padding-bottom: 8px; }
.legal h3 { font-size: 15px; margin: 22px 0 10px; }
.legal th, .legal td { font-size: 13px; }
.legal .legal-lead { font-size: 13.5px; }
.legal ol, .legal ul { padding-left: 1.4em; }
.legal li { margin-bottom: 4px; }
@media (max-width: 860px) {
  .legal h2 { font-size: 16px; }
  .legal h3 { font-size: 14.5px; }
}

/* ------------------------------------------------------------
   【修正】ブロックの幅が揃わず、左に寄って見えた
   行長を抑えるために max-width を付けたところ、枠付きの注意書きが
   すぐ上の表より狭くなり、左寄せに見えていた。
   ルール：枠・背景を持つブロックはセクション幅いっぱいに広げる。
          行が長くなる文章は max-width ではなく、文の切れ目で <br> を入れて折る。
   ------------------------------------------------------------ */
.note-box, .gate, .section-note, .doc-body { max-width: none; }

/* ============================================================
   デザインシステム v1.0「Paper & Ink」の反映（2026-08-06）
   正本: docs/handoff/THRINKA_HPデザインシステム仕様書_v1.0_ドラフト.md

   方針：既存のトークン変数名（--teal / --navy / --amber 等）は維持し、
   値だけを新しいデザインシステムのパレット・スケールへ差し替える。
   CSSカスタムプロパティは「使用時点」の最終値で解決されるため、
   :root をここで再宣言するだけで、この1ファイル・全8ページの
   配色・角丸・最大幅が一括で更新される（本文・構成・文言は無変更）。
   ============================================================ */

:root {
  /* ベース（紙）：白ではなく温かみのある紙色に */
  --bg: #F5F1E7;
  --surface: #FDFBF6;
  --border: #E2DDCF;
  /* インク（文字）：純黒ではなく墨に近いチャコールに */
  --text: #262420;
  --muted: #6B6656;
  /* アクセント（単色のみ）：teal/teal-dark を深い藍色系1色に統一 */
  --teal: #2B3A5C;
  --teal-dark: #1F2A45;
  /* 暗い帯（ヒーロー・クロージング・フッター）の背景：冷たい紺ではなく温かい墨色に */
  --navy: #201E1A;
  /* 旧・第2の差し色（オレンジ）は廃止し、控えめな中立トーンのマーク色に置換
     （単色運用の徹底＝差し色を増やさないというルールに合わせるため） */
  --amber: #A79E88;
  /* 形状：角丸12px→6pxへ。カード類は全て var(--radius) 参照のため一括反映 */
  --radius: 6px;
  --max: 1120px;
}

/* --- 見出し明朝：Hero / ページ見出しのみ、かつデスクトップ限定 ---
   モバイルは「を、」だけが孤立行になる既知の折返し問題を避けるため、
   既存の固定フォントサイズ指定（30px/28px）をそのまま活かし、
   明朝化・字間拡張はしない（文字幅が変わり折返しに影響するため）。 */
@media (min-width: 861px) {
  .hero-band h1,
  .page-header h1 {
    font-family: "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    font-weight: 300;
    letter-spacing: 0.03em;
    font-feature-settings: normal;
  }
}

/* --- ボタン・タグ：ピル形状(999px)をやめ、角丸6px（--radius）に統一 ---
   バッジ的な装飾タグ（.pill）だけは丸みを残す。 */
.site-nav-cta,
.btn,
.plan-badge,
.meeting-card > .who,
.noexit-label {
  border-radius: var(--radius);
}
.pill { border-radius: 999px; }

.btn {
  font-weight: 600;
  line-height: 1;
  transition: background-color 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out;
}
.btn-secondary { background: var(--surface); }
.site-nav-cta { transition: background-color 180ms ease-out; }
.site-nav a { transition: border-color 180ms ease-out, color 180ms ease-out; }
.tab { transition: background-color 180ms ease-out, color 180ms ease-out; }

/* --- 強調カードの太枠(2px)を1pxへ（装飾目的の太線を廃止し、色だけで強調する） --- */
.trial-intro,
.noexit {
  border-width: 1px;
}
.plan-card.highlight,
.price-card.main {
  box-shadow: none;
}

/* --- 入れ子カードの角丸：外側6pxより必ず小さくする --- */
.qa-item, .trial-fact, .prep-card {
  border-radius: 4px;
}

/* --- ヒーロー帯／クロージング帯：グラデーションと発光シャドウを廃止し、単色の「墨」に --- */
.hero-band {
  background: var(--navy);
  color: var(--surface);
}
.closing-band {
  background: var(--navy);
}
.hero-band .hero-sub { color: rgba(253,251,246,0.78); }
.closing-band p { color: rgba(253,251,246,0.78); }
.closing-band .section-label { color: rgba(253,251,246,0.6); }
.closing-contact { color: rgba(253,251,246,0.78); }
.closing-contact b { color: var(--surface); }

.hero-band .btn-primary,
.closing-band .btn-primary {
  background: var(--surface);
  color: var(--teal);
  border-color: var(--surface);
  box-shadow: none;
}
.hero-band .btn-primary:hover,
.closing-band .btn-primary:hover {
  background: var(--teal-dark);
  color: var(--surface);
  border-color: var(--teal-dark);
}
.hero-band .btn-secondary {
  background: rgba(253,251,246,0.06);
  color: var(--surface);
  border-color: rgba(253,251,246,0.5);
}
.hero-band .btn-secondary:hover {
  background: var(--surface);
  color: var(--teal-dark);
}
.pill {
  background: rgba(253,251,246,0.1);
  border-color: rgba(253,251,246,0.28);
  color: var(--surface);
}

/* --- 「6つの出力」帯：暗い帯を1つ減らし、紙色の帯へ
   （暗転セクションはヒーローとクロージングの2箇所に絞る＝仕様書の
   「背景色切替は最大1〜2セクションに限定」ルールに合わせる） --- */
.icon-banner {
  background: var(--surface);
  color: var(--text);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.icon-banner-title { color: var(--muted); }
.icon-item { border-top: 1px solid var(--teal); }
.icon-item .label { color: var(--text); }

/* --- フッター：白文字ではなく紙色トーンで統一 --- */
.site-footer { background: var(--navy); color: var(--surface); }
.footer-lead,
.footer-nav a,
.footer-legal a {
  color: rgba(253,251,246,0.78);
}
.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--surface);
}
.footer-primary { border-bottom-color: rgba(253,251,246,0.16); }
.footer-copy { color: rgba(253,251,246,0.55); }
.site-footer .btn-primary { background: var(--surface); color: var(--teal); }
.site-footer .btn-secondary { background: transparent; color: var(--surface); border-color: rgba(253,251,246,0.5); }

/* --- 議事録サンプルカードのみ、極薄いシャドウを許可（実物提示としての特別扱い） --- */
.doc-sample { box-shadow: 0 1px 2px rgba(38,36,32,0.05); }

/* --- 証跡データへの等幅フォント適用は撤回（2026-08-06 追記）
   数字・日付だけ等幅、漢字・かなはゴシックへフォールバックする設計だったが、
   1行の中で書体が切り替わり「フォントが統一されておらず見づらい」との
   指摘を受けた。本文と同じゴシックに統一する。 --- */

/* --- 追従ヘッダーの背景も紙色トーンへ --- */
.site-header { background: rgba(253,251,246,0.92); }

/* ============================================================
   デザインシステム v1.0 ブラッシュアップ
   （別セッションでのクリエイティブディレクター監査を反映・2026-08-06）
   監査対象：一貫性・高級感・ブランドイメージ・視覚的信頼性・
             余白・タイポグラフィ・色使い・コンポーネント統一性のみ
             （文章・情報量・構成・機能は対象外＝無変更）
   ============================================================ */

:root {
  /* 承認済み仕様書のHEX値に厳密に合わせる（実装時の近似値を補正） */
  --bg: #FAF8F4;
  --border: #E4E0D6;
  --text: #232220;
  --muted: #5B5850;
  --teal-dark: #20293F;
  --navy: #1C1B19;
  /* --surface は「標準カード」用の値としてページ地に統一し、
     白浮きした量産型SaaSタイル感を解消する（下で議事録サンプルにのみ
     専用の --surface-raised を充てる＝仕様書「特別扱いは1箇所のみ」） */
  --surface: #FAF8F4;
  --surface-raised: #F4F1EA;
  /* --amber は「強調カードの縁取り」用の中立トーン（border-strong）として運用 */
  --amber: #C9C4B6;
  /* 新規トークン */
  --ink-tertiary: #8C8879;
  --signal-caution: #8C4A3B;
}

/* --- 議事録サンプルのみ、紙よりわずかに沈んだ色調で「特別な1枚」として扱う ---
   （doc-sample-bar は元々 var(--bg) 参照のまま＝紙色の帯が沈んだ本体の上に
   軽く乗る「見出しバー」の階調差として機能するため、あえて上書きしない） */
.doc-sample { background: var(--surface-raised); }

/* --- kickerラベル（各セクション冒頭）：本文級の太字アクセント色 → 控えめなラベルへ
   （露出頻度が全ページ最多の要素にアクセント色を常時使うと「単色を強調箇所だけに
   限定する」という運用ルールが崩れるため。ただし小さすぎる文字はユーザー指摘により
   14pxを死守し、フォントも本文と同じゴシックに統一する＝等幅フォントは指定しない） --- */
.section-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-tertiary);
}
.closing-band .section-label { color: rgba(253,251,246,0.55); }

/* --- セカンダリボタン：アクセント色の縁取りをやめ、ニュートラルなゴーストに
   （アクセント色はPrimary CTAのみで使う、という単色運用の原則に合わせる） --- */
.btn-secondary {
  color: var(--text);
  border-color: var(--amber);
}
.btn-secondary:hover {
  background: var(--surface-raised);
  color: var(--text);
  border-color: var(--amber);
}

/* --- 必須マーク：彩度の高い警告レッド → cautionトークンへ --- */
.required { color: var(--signal-caution); }

/* --- 強調カードの縁取り：アクセント色 → ニュートラルなborder-strongへ --- */
.trial-intro,
.noexit { border-color: var(--amber); }

/* --- フォーム要素の角丸をボタン・カードと統一 --- */
.input, .select, .textarea { border-radius: var(--radius); }

/* --- ヒーロー見出しの上限を仕様どおり60pxへ --- */
.hero-band h1 { font-size: clamp(34px, 5.2vw, 60px); }

/* ============================================================
   文字サイズ・フォント統一の是正（2026-08-06）
   「小さすぎる文字が散見される」「フォントが統一されておらず見づらい」
   というご指摘を受けての修正。
   対象外：プライバシーポリシー・利用規約・特定商取引法の3ページ
   （「法務3ページは見づらくていいです」とのご指示により、.legal 配下は
   このブロックでは一切変更しない＝既存の「掲示目的で小さめ」の方針を維持）。
   ============================================================ */
.doc-sample-bar { font-size: 14px; }
.trial-fact .k { font-size: 14px; }
@media (max-width: 700px) {
  .compare-table tbody td[data-col]::before { font-size: 13px; }
}
