/* ==========================================================================
   探究と奏 ― デザインシステム
   コンセプト：好奇心を、アンサンブルで育てる
   温かみ・親しみやすさ・信頼感を軸に、スマホで片手操作するお母さんを想定
   ========================================================================== */

:root {
  --bg: #fff9f2;
  --bg-raised: #ffffff;
  --bg-sunken: #fbf1e6;
  --line: #ecdfcd;
  --ink: #2b2420;
  --ink-soft: #6b5f55;
  --ink-faint: #a89c8e;

  --teal: #4bb2b9;
  --teal-dark: #287a80;
  --teal-soft: #eaf5f6;
  --teal-deep: #113d40;
  --teal-deep-soft: #e3edee;
  --danger: #b6472f;
  --sage: #5c8a63;
  --sage-soft: #e7efe3;

  --font-display: "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --font-body: "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow-card: 0 2px 14px rgba(43, 36, 32, 0.06), 0 1px 2px rgba(43, 36, 32, 0.05);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #221a15;
    --bg-raised: #2b221c;
    --bg-sunken: #1b1512;
    --line: #3c2f26;
    --ink: #f4ece3;
    --ink-soft: #cab9a9;
    --ink-faint: #8c7c6d;

    --teal: #66c6cc;
    --teal-dark: #94dbe0;
    --teal-soft: #173436;
    --teal-deep: #113d40;
    --teal-deep-soft: #203a3c;
    --danger: #e08268;
    --sage: #8fbb92;
    --sage-soft: #263229;
    --shadow-card: 0 2px 14px rgba(0, 0, 0, 0.35);
  }
}
:root[data-theme="dark"] {
  --bg: #221a15;
  --bg-raised: #2b221c;
  --bg-sunken: #1b1512;
  --line: #3c2f26;
  --ink: #f4ece3;
  --ink-soft: #cab9a9;
  --ink-faint: #8c7c6d;
  --teal: #66c6cc;
  --teal-dark: #94dbe0;
  --teal-soft: #173436;
  --teal-deep: #113d40;
  --teal-deep-soft: #203a3c;
  --danger: #e08268;
  --sage: #8fbb92;
  --sage-soft: #263229;
  --shadow-card: 0 2px 14px rgba(0, 0, 0, 0.35);
}
:root[data-theme="light"] {
  --bg: #fff9f2;
  --bg-raised: #ffffff;
  --bg-sunken: #fbf1e6;
  --line: #ecdfcd;
  --ink: #2b2420;
  --ink-soft: #6b5f55;
  --ink-faint: #a89c8e;
  --teal: #4bb2b9;
  --teal-dark: #287a80;
  --teal-soft: #eaf5f6;
  --teal-deep: #113d40;
  --teal-deep-soft: #e3edee;
  --danger: #b6472f;
  --sage: #5c8a63;
  --sage-soft: #e7efe3;
  --shadow-card: 0 2px 14px rgba(43, 36, 32, 0.06), 0 1px 2px rgba(43, 36, 32, 0.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 84px; /* room for mobile sticky CTA */
}
body.no-sticky-cta { padding-bottom: 0; }

h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; margin: 0; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
p { margin: 0 0 1em; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a.btn:hover, a.card:hover, a.article-card:hover, a.related-card:hover { text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark-img { width: auto; flex-shrink: 0; }
.brand-mark-header { height: 60px; }
.brand-mark-footer { height: 84px; }
.brand small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 13.5px; color: var(--ink); letter-spacing: 0.04em; }

.nav-desktop { display: none; }
.nav-desktop ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav-desktop a { color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav-desktop a:hover { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 999px; padding: 13px 26px; font-weight: 700; font-size: 15px;
  text-decoration: none; border: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--teal); color: #fff9f2; box-shadow: 0 4px 14px rgba(75, 178, 185, 0.35); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-secondary { background: var(--bg-raised); color: var(--ink); border: 1.5px solid var(--line); }
.btn-secondary:hover { border-color: var(--teal); }
.btn-ghost { background: transparent; color: var(--teal); padding: 13px 14px; }
.btn-small { padding: 9px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-danger-ghost { background: transparent; color: var(--ink-faint); border: 1.5px solid var(--line); }

.menu-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; background: none; border: none; cursor: pointer;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

.nav-mobile {
  display: none; flex-direction: column; gap: 2px; background: var(--bg-raised);
  border-bottom: 1px solid var(--line); padding: 8px 20px 18px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 13px 4px; color: var(--ink); text-decoration: none; font-size: 15.5px; border-bottom: 1px solid var(--line); }
.nav-mobile a:last-child { border-bottom: none; }

@media (max-width: 879px) {
  /* モバイルでは下部の固定CTAバーと重複するため、ヘッダー内のCTAボタンは非表示にする */
  .header-actions > a.btn { display: none; }
}

@media (min-width: 880px) {
  .nav-desktop { display: block; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--bg-raised); border-top: 1px solid var(--line);
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  display: flex; gap: 10px; box-shadow: 0 -4px 16px rgba(43,36,32,0.08);
}
.sticky-cta .btn { flex: 1; }
@media (min-width: 880px) { .sticky-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 52px 0 44px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  color: var(--teal-dark); background: var(--teal-soft); padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.45; margin-bottom: 18px; }
.hero-subcopy { font-size: clamp(17px, 2.8vw, 20px); font-weight: 700; color: var(--ink); margin: -4px 0 16px; }
.hero-subcopy .note-icon { width: 1.1em; height: 1.1em; fill: var(--teal); vertical-align: -0.18em; margin-left: 2px; }
.hero .lead { font-size: 17px; color: var(--ink-soft); max-width: 46ch; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-trust { font-size: 13.5px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 8px; }
.hero-trust span { display: flex; align-items: flex-start; gap: 6px; }
.hero-trust span::before { content: "✓"; color: var(--sage); font-weight: 700; flex-shrink: 0; }
@media (min-width: 620px) {
  .hero-trust { flex-direction: row; flex-wrap: wrap; gap: 10px 20px; }
}
.hero-art {
  margin-top: 36px; border-radius: var(--radius-l); height: 220px;
  background: linear-gradient(135deg, var(--teal-soft) 0%, var(--teal-deep-soft) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: var(--ink-soft); font-size: 14px;
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-sunken { background: var(--bg-sunken); }
.section-head { max-width: 56ch; margin-bottom: 34px; }
.eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--teal-dark); margin-bottom: 10px; }
.section h2 { font-size: clamp(22px, 4vw, 30px); margin-bottom: 10px; }
.section-head p { color: var(--ink-soft); font-size: 15.5px; }

.grid-3 { display: grid; gap: 20px; grid-template-columns: 1fr; }
.grid-2 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 26px 24px; box-shadow: var(--shadow-card);
}
.feature-card .icon {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  background: var(--teal-soft);
}
.feature-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-card { position: relative; padding-left: 54px; }
.step-card::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal-deep); color: #fff; font-family: var(--font-display); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.step-card h3 { font-size: 16px; margin-bottom: 6px; }
.step-card p { color: var(--ink-soft); font-size: 14px; margin: 0; }

.voice-card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px; box-shadow: var(--shadow-card); }
.voice-card .stars { color: var(--teal-dark); font-size: 14px; margin-bottom: 10px; letter-spacing: 2px; }
.voice-card p.quote { font-size: 15px; margin-bottom: 14px; }
.voice-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.voice-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--teal-soft); flex-shrink: 0; }
.voice-note { font-size: 12px; color: var(--ink-faint); margin-top: 14px; }

/* ---------- Course cards (選べる探究コース) ---------- */
.course-card { display: flex; flex-direction: column; }
.course-card .icon {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  background: var(--teal-soft);
}
.course-card .course-tag { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--sage); background: var(--sage-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.course-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.course-card p.desc { color: var(--ink-soft); font-size: 14px; flex: 1; }
.course-card dl { margin: 0 0 18px; font-size: 13px; border-top: 1px solid var(--line); }
.course-card dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.course-card dt { color: var(--ink-faint); flex-shrink: 0; }
.course-card dd { margin: 0; font-weight: 600; text-align: right; }
.course-card .btn { margin-top: auto; }

/* 改行させない見出し：文字数（--nowrap-chars）に応じて自動縮小して1行に収める */
.h2-nowrap { white-space: nowrap; font-size: min(30px, calc((100vw - 48px) / var(--nowrap-chars, 21))) !important; }

.price-card { background: var(--bg-raised); border: 2px solid var(--teal); border-radius: var(--radius-l); padding: 32px 28px; box-shadow: var(--shadow-card); max-width: 420px; margin: 0 auto; text-align: center; }
.price-card .badge { display: inline-block; background: var(--teal-soft); color: var(--teal-dark); font-size: 12.5px; font-weight: 700; padding: 5px 14px; border-radius: 999px; margin-bottom: 16px; }
.price-figure { font-family: var(--font-display); font-weight: 800; font-size: 44px; font-variant-numeric: tabular-nums; margin: 6px 0; }
.price-figure span { font-size: 16px; font-weight: 500; color: var(--ink-soft); }
.price-card ul { list-style: none; margin: 20px 0; padding: 0; text-align: left; }
.price-card li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.price-card li::before { content: "✓ "; color: var(--sage); font-weight: 700; }
.price-card li:last-child { border-bottom: none; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 4px; font-family: var(--font-body); font-weight: 700; font-size: 15.5px; color: var(--ink);
}
.faq-q .q-mark { color: var(--teal-dark); font-family: var(--font-display); flex-shrink: 0; }
.faq-q .chev { transition: transform 0.2s ease; color: var(--ink-faint); flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 4px 20px; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-deep); color: #eef1f8; padding: 48px 0 28px; margin-top: 40px; }
.site-footer a { color: #eef1f8; opacity: 0.85; text-decoration: none; font-size: 14px; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; margin-bottom: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: 13px; letter-spacing: 0.05em; margin-bottom: 14px; opacity: 0.7; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-brand p { opacity: 0.75; font-size: 13.5px; max-width: 34ch; margin-top: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; font-size: 12.5px; opacity: 0.65; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13px; color: var(--ink-faint); padding: 18px 0; }
.breadcrumb a { color: var(--ink-faint); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }

/* ---------- Article ---------- */
.article-head { padding: 10px 0 30px; max-width: 68ch; }
.article-tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--teal-dark); background: var(--teal-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.article-head h1 { font-size: clamp(24px, 4.5vw, 32px); margin-bottom: 14px; }
.article-meta { font-size: 13.5px; color: var(--ink-faint); }
.article-body { max-width: 68ch; font-size: 16px; }
.article-body h2 { font-size: 21px; margin: 40px 0 14px; }
.article-body h3 { font-size: 17.5px; margin: 26px 0 10px; }
.article-body p { color: var(--ink); }
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.article-body li { margin-bottom: 6px; }

/* 記事冒頭の要点まとめ（AEO：AIが引用しやすい直接回答） */
.tldr-box { background: var(--bg-raised); border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: var(--radius-s); padding: 18px 20px; margin: 0 0 30px; max-width: 68ch; }
.tldr-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--teal-dark); margin-bottom: 8px; }
.tldr-box p { font-weight: 700; margin: 0 0 8px; }
.tldr-box ul { margin: 0; padding-left: 1.2em; color: var(--ink-soft); font-size: 14px; }
.tldr-box li { margin-bottom: 4px; }
.tldr-box li:last-child { margin-bottom: 0; }

.author-box { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-sunken); border-radius: var(--radius-m); padding: 20px; margin: 30px 0; max-width: 68ch; }
.author-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--teal-soft); flex-shrink: 0; }
.author-box .role { font-size: 12.5px; color: var(--teal-dark); font-weight: 700; }
.author-box .name { font-weight: 700; margin: 2px 0 6px; }
.author-box p.bio { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

.related-list { display: grid; gap: 16px; grid-template-columns: 1fr; max-width: 68ch; }
@media (min-width: 640px) { .related-list { grid-template-columns: repeat(2, 1fr); } }
.related-card { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 18px; text-decoration: none; color: var(--ink); background: var(--bg-raised); }
.related-card .thumb { height: 84px; border-radius: 10px; margin-bottom: 12px; background: linear-gradient(135deg, var(--teal-deep-soft), var(--teal-soft)); }
.related-card h4 { font-size: 14.5px; line-height: 1.6; }

/* ---------- Column list ---------- */
.article-cards { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .article-cards { grid-template-columns: repeat(3, 1fr); } }
.article-card { text-decoration: none; color: var(--ink); background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.article-card .thumb { height: 128px; background: linear-gradient(135deg, var(--teal-deep-soft), var(--teal-soft)); }
.article-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.article-card h3 { font-size: 16.5px; line-height: 1.6; margin-bottom: 8px; }
.article-card p { font-size: 13.5px; color: var(--ink-soft); flex: 1; }
.article-card .meta { font-size: 12px; color: var(--ink-faint); margin-top: 10px; }

/* ---------- Forms ---------- */
.form-card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 32px 28px; box-shadow: var(--shadow-card); max-width: 520px; margin: 0 auto; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.field .hint { font-size: 12.5px; color: var(--ink-faint); font-weight: 400; margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-s); border: 1.5px solid var(--line);
  background: var(--bg); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); }
.field-error { color: var(--danger); font-size: 12.5px; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field.invalid .field-error { display: block; }
.radio-row { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-s); margin-bottom: 10px; cursor: pointer; }
.radio-row:hover { border-color: var(--teal); }
.radio-row input { width: auto; margin-top: 3px; }
.form-note { font-size: 12.5px; color: var(--ink-faint); margin-top: 18px; text-align: center; }

/* ---------- Mypage ---------- */
.mypage-header { background: var(--bg-sunken); padding: 30px 0; }
.mypage-user { display: flex; align-items: center; gap: 14px; }
.mypage-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--teal-soft); }
.summary-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.summary-card .label { font-size: 13px; color: var(--ink-faint); margin-bottom: 4px; }
.summary-card .value { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--sage-soft); color: var(--sage); }
.status-pill::before { content: "●"; font-size: 8px; }
.list-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); gap: 16px; }
.list-row:last-child { border-bottom: none; }
.list-row .label { font-size: 13px; color: var(--ink-faint); flex-shrink: 0; white-space: nowrap; padding-top: 2px; }
.list-row .value { font-weight: 600; text-align: right; }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.cancel-step { display: none; }
.cancel-step.active { display: block; }
.progress-dots { display: flex; gap: 8px; margin-bottom: 28px; }
.progress-dots span { height: 4px; flex: 1; border-radius: 2px; background: var(--line); }
.progress-dots span.done { background: var(--teal); }

.offer-box { background: var(--sage-soft); border: 1px solid color-mix(in srgb, var(--sage) 40%, transparent); border-radius: var(--radius-m); padding: 22px; margin: 18px 0; }
.offer-box h3 { font-size: 16px; margin-bottom: 8px; }
.offer-box p { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 70ch; }
.legal-body h2 { font-size: 18px; margin: 32px 0 10px; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.legal-body th, .legal-body td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-body th { width: 32%; color: var(--ink-soft); font-weight: 700; }
.fill-in { color: var(--danger); background: var(--teal-soft); padding: 1px 6px; border-radius: 4px; font-size: 0.92em; }

/* ---------- Checkout mock ---------- */
.checkout-summary { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px 24px; margin-bottom: 24px; }
.checkout-summary .row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 14.5px; }
.checkout-summary .row > span:first-child { flex-shrink: 0; white-space: nowrap; color: var(--ink-soft); }
.checkout-summary .row > span:last-child { text-align: right; }
.checkout-summary .row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-weight: 700; font-size: 16px; }
.stripe-badge { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 13px; color: var(--ink-faint); margin-top: 16px; }

.demo-banner { background: var(--teal-deep); color: #fff; text-align: center; font-size: 13px; padding: 9px 16px; }
.demo-banner a { color: #fff; text-decoration: underline; }

/* ---------- 記事一覧のタブフィルタ（お役立ち記事⇔会社ブログ） ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-tab {
  border: 1.5px solid var(--line); background: var(--bg-raised); border-radius: 999px;
  padding: 9px 20px; font-size: 13.5px; font-weight: 700; cursor: pointer; color: var(--ink-soft);
}
.filter-tab:hover { border-color: var(--teal); }
.filter-tab.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.article-card.hidden-by-filter { display: none; }
.article-card .meta .cat-company { color: var(--teal-dark); font-weight: 700; }

/* ---------- 採用：ポジション一覧・詳細 ---------- */
.position-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
.position-card:hover { border-color: var(--teal); }
.position-card h3 { font-size: 18px; }
.position-card .lead-line { color: var(--ink-soft); font-size: 14px; margin: 0; flex: 1; }
.position-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.position-meta span { background: var(--bg-sunken); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; color: var(--ink-soft); }
.position-meta span.urgent { background: var(--teal-soft); border-color: transparent; color: var(--teal-dark); font-weight: 700; }
.position-card .goto { color: var(--teal); font-weight: 700; font-size: 14px; }
.recruit-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 8px 0 24px; }
.recruit-table th { width: 30%; text-align: left; padding: 12px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-weight: 700; vertical-align: top; }
.recruit-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* ---------- ミッション・ビジョン・バリュー ---------- */
.mvv-hero { text-align: center; padding: 64px 20px 56px; }
.mvv-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.22em; color: var(--teal-dark); margin-bottom: 16px; }
.mvv-hero h2 { font-size: clamp(26px, 5vw, 40px); line-height: 1.5; }
.mvv-hero p.sub { color: var(--ink-soft); max-width: 46ch; margin: 18px auto 0; }
.value-card { border-top: 3px solid var(--teal); }
.value-card .value-no { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--teal-dark); margin-bottom: 10px; }
.value-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.value-card p { color: var(--ink-soft); font-size: 14px; margin: 0; }
