/* ===== Rehastud ===== */
:root {
  --teal: #0F6B6E;
  --teal-600: #0c585a;
  --teal-50: #eef6f5;
  --teal-100: #d9ecea;
  --amber: #E0A43A;
  --amber-light: #F2C063;
  --amber-ink: #8F5E0E;      /* 明るい背景の上で使うアンバーの文字色（コントラスト確保） */
  --amber-on-teal: #FFDFA0;  /* ティール地の上のアンバー文字（4.5:1以上） */
  --amber-wash: rgba(242, 192, 99, .14);
  --deep: #0E2F33;
  --ink: #1d2b2d;
  --muted: #5b6b6d;
  --line: #d9e3e2;
  --line-strong: #b9cac9;
  --bg: #fbfaf7;
  --white: #fff;
  --on-dark: #dbe7e6;
  --on-dark-muted: #a9c4c3;

  --font-ja: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --font-en: "Nunito", var(--font-ja);

  /* 文字サイズは5段階 */
  --fs-h2: clamp(1.6rem, 3.8vw, 2.3rem);
  --fs-h3: clamp(1.2rem, 2.2vw, 1.4rem);
  --fs-h4: 1.08rem;
  --fs-body: 1rem;
  --fs-small: .85rem;

  --radius: 16px;
  --max: 1120px;
  --read: 38em;             /* 読み物の最大幅 */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: 1.9;
  letter-spacing: .02em;
  line-break: strict;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.45; margin: 0; }
p { margin: 0 0 1em; }
ul, ol, dl { margin: 0; padding: 0; }
strong { color: var(--teal); font-weight: 700; }
em { font-style: normal; background: linear-gradient(transparent 62%, rgba(224,164,58,.35) 62%); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.labo-band :focus-visible, .program-labo :focus-visible, .program-mentoring :focus-visible,
.message-band :focus-visible, .site-footer :focus-visible { outline-color: var(--amber-light); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); color: var(--teal); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 16px; }

/* 見出しだけ文節で改行し、本文は通常の折り返しにする */
h1, h2, h3, h4, blockquote, .issue-title, .benefits strong, .benefit-tag, .tool-features dt, .rm-when,
.footer-inner p, .section-head--center .section-lead, .program-target, .steps span, .hero-lead {
  word-break: auto-phrase;
  text-wrap: balance;
}
p, dd, li, .steps span { text-wrap: pretty; }
.labo-text strong, .philo-item em, .nw, .section-lead a, .tool-help a { white-space: nowrap; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.pc { display: none; }
@media (min-width: 768px) { .pc { display: inline; } }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(251,250,247,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; min-height: 44px; }
.brand img:first-child { width: 30px; height: auto; }
.brand-word { width: 118px; height: auto; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 700; white-space: nowrap; }
.nav a[aria-current="page"]:not(.nav-page) { color: var(--teal); box-shadow: 0 2px 0 var(--amber); }
.nav a:hover { color: var(--teal); }
.nav .nav-cta { background: var(--teal); color: var(--white); padding: 8px 18px; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--teal-600); color: var(--white); }
.nav-toggle { display: none; }
/* 公開ツールは枠付きで区別する */
.nav .nav-page { color: var(--teal); border: 1.5px solid var(--teal); border-radius: 999px; padding: 5px 14px; }
.nav .nav-page:hover, .nav .nav-page[aria-current="page"] { background: var(--teal); color: var(--white); }

@media (max-width: 820px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 44px; height: 44px; padding: 10px; margin-right: -10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--deep); border-radius: 2px; transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 4px 24px 16px;
    max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a[aria-current="page"]:not(.nav-page) { box-shadow: none; }
  .nav a:last-of-type:not(.nav-page) { border-bottom: 0; }
  .nav a.nav-page { margin-top: 14px; text-align: center; padding: 12px 0; border: 1.5px solid var(--teal); }
  .nav .nav-cta { margin-top: 16px; text-align: center; border: 0; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 1rem;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 8px 20px -10px rgba(15,107,110,.7); }
.btn-primary:hover { background: var(--teal-600); }
.btn-ghost { color: var(--teal); border: 2px solid var(--teal); }
.btn-amber { background: var(--amber-light); color: var(--deep); }
.btn-amber:hover { background: var(--amber); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 110px;
  background:
    radial-gradient(circle at 88% 20%, rgba(224,164,58,.14), transparent 40%),
    radial-gradient(circle at 10% 100%, rgba(15,107,110,.10), transparent 45%);
}
.hero-inner { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; margin-bottom: 22px;
  font-size: .9rem; font-weight: 700; color: var(--teal);
  padding: 6px 14px; border-radius: 999px; background: var(--teal-50);
}
.hero-title {
  font-size: clamp(2.4rem, 7.5vw, 4.6rem);
  line-height: 1.3; letter-spacing: .04em; color: var(--deep);
  margin-bottom: 28px;
}
.hero-lead { font-size: clamp(1rem, 2.2vw, 1.15rem); color: var(--ink); max-width: 40em; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-mark { position: absolute; right: -40px; bottom: -60px; width: 440px; opacity: .08; pointer-events: none; }
@media (max-width: 360px) { .eyebrow { font-size: .86rem; padding: 6px 12px; } .tags li { padding: 4px 12px; } }
@media (max-width: 767px) {
  .hero { padding: 64px 0 80px; }
  .hero-mark { width: 260px; right: -60px; bottom: -40px; }
}

/* ===== Sections（余白に強弱をつける） ===== */
.section { padding: 96px 0; }
.section-lg { padding: 120px 0; }
@media (max-width: 767px) { .section { padding: 64px 0; } .section-lg { padding: 80px 0; } }
.section-tint { background: var(--teal-50); }
.section-deep { background: var(--deep); color: var(--on-dark); }

.section-head { margin-bottom: 48px; }
.section-label {
  font-family: var(--font-en); font-weight: 800; font-size: .82rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--amber-ink);
  margin: 0 0 10px;
}
.section-title { font-size: var(--fs-h2); color: var(--deep); margin-bottom: 20px; }
.section-lead { font-size: 1.05rem; color: var(--ink); max-width: var(--read); margin: 0; }
.section-deep .section-label { color: var(--amber-light); }
.section-deep .section-title { color: var(--white); }
.section-deep .section-lead { color: var(--on-dark); }

/* 分割型：左に見出し、右にリード */
@media (min-width: 900px) {
  .section-head--split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: end; }
  .section-head--split .section-title { margin-bottom: 0; }
}
@media (min-width: 900px) and (max-width: 1023px) { .section-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
/* 中央型 */
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin: 0 auto; }

/* ===== WHY：課題｜現状｜影響 の表 ===== */
.issues { border-top: 2px solid var(--deep); }
.issues-head, .issue { display: grid; grid-template-columns: minmax(10rem, 13rem) minmax(0, 1fr); column-gap: 32px; }
.issues-head {
  font-size: var(--fs-small); font-weight: 700; color: var(--teal); letter-spacing: .08em;
  padding: 12px 0; border-bottom: 1px solid var(--line-strong);
}
.issues-head span:nth-child(2), .issues-head span:nth-child(3) { display: none; }
.issue { padding: 28px 0; border-bottom: 1px solid var(--line); }
.issue-title { font-size: 1.12rem; color: var(--deep); line-height: 1.6; }
.issue-body { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.issue-body dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.issue-body dd { margin: 0; line-height: 1.85; }
.issue-body > div:last-child { background: var(--amber-wash); border-radius: 10px; padding: 12px 16px; margin: -12px 0; }
@media (min-width: 821px) {
  .issues-head { grid-template-columns: minmax(10rem, 13rem) minmax(0, 1fr) minmax(0, 1fr); }
  .issues-head span:nth-child(2), .issues-head span:nth-child(3) { display: block; }
  .issues-head span:nth-child(3) { padding-left: 16px; }
}
@media (max-width: 820px) {
  .issues-head { display: none; }
  .issue { grid-template-columns: 1fr; row-gap: 8px; padding: 20px 0; }
  .issue-body { grid-template-columns: 1fr; row-gap: 10px; }
  .issue-body dt {
    position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal;
    font-size: .78rem; font-weight: 700; color: var(--teal); letter-spacing: .08em; margin-bottom: 2px;
  }
  .issue-body > div:last-child { margin: 0; background: none; border-radius: 0; padding: 0 0 0 14px; border-left: 3px solid var(--amber); }
  .issue-body > div:last-child dt { color: var(--amber-ink); }
  .issue-body > div:first-child dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ===== MODEL：ティールの宣言帯 ＋ 課題→得られること ===== */
.labo-band { background: var(--teal); color: var(--white); padding: 112px 0; }
.labo-band .section-label { color: var(--amber-on-teal); }
.labo-title { font-size: clamp(2.1rem, 5.6vw, 3.6rem); line-height: 1.3; letter-spacing: .03em; color: var(--white); }
.labo-title .times { color: var(--amber-on-teal); font-family: var(--font-en); }
.labo-title-sub { display: block; margin-top: 14px; font-size: .5em; line-height: 1.6; letter-spacing: .04em; color: #e6f2f1; }
@media (max-width: 767px) { .labo-band { padding: 72px 0; } .labo-title-sub { font-size: .58em; } }
.labo-body { background: var(--teal-50); }
.labo-text { font-size: 1.05rem; line-height: 2; max-width: var(--read); margin-bottom: 64px; }

.benefits-title { font-size: var(--fs-h3); color: var(--deep); margin-bottom: 16px; }
.benefits {
  list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 36px;
  margin-top: 8px;
}
.benefits li { display: flex; flex-direction: column; border-top: 3px solid var(--teal); padding-top: 18px; }
.benefit-tag { order: -1; font-size: var(--fs-small); color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.benefits strong { color: var(--deep); font-size: 1.12rem; line-height: 1.5; }
.benefits p { margin: 6px 0 0; }
@media (max-width: 900px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .benefits { grid-template-columns: 1fr; gap: 28px; } }

/* ===== PHILOSOPHY：読み物 ＋ アンバーの帯 ===== */
.philo { border-top: 2px solid var(--deep); }
.philo-item {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px;
  padding: 48px 0; border-bottom: 1px solid var(--line);
}
.philo-item :is(h2, h3) { font-size: var(--fs-h3); color: var(--deep); line-height: 1.55; }
.philo-item :is(h2, h3) span { display: block; font-size: .9rem; color: var(--teal); margin-bottom: 4px; }
.philo-item p { margin: 0; line-height: 2; max-width: 34em; }
@media (min-width: 901px) { .philo-item :is(h2, h3) { position: sticky; top: 96px; align-self: start; } }
@media (max-width: 900px) {
  .philo { border-top: 0; }
  .philo-item { grid-template-columns: 1fr; row-gap: 14px; padding: 28px 0; border-bottom: 0; }
  .philo-item :is(h2, h3) { font-size: 1.32rem; }
}

.philo-band { background: var(--amber-light); color: var(--deep); padding: 120px 0; }
.philo-band .wrap { display: flex; flex-direction: column; align-items: center; }
.philo-band-title { font-size: clamp(2.6rem, 8vw, 4.6rem); letter-spacing: .06em; line-height: 1.25; margin-bottom: 28px; text-align: center; margin-right: -.5em; }
.philo-band p { max-width: 30em; margin: 0; font-size: 1.05rem; line-height: 2; }
@media (max-width: 767px) { .philo-band { padding: 80px 0; } }

/* ===== ACTIVITIES：指導力Labo（ステップを線でつなぐ） ===== */
.program { border-radius: var(--radius); padding: 40px 40px; }
.program :is(h2, h3) { font-size: clamp(1.4rem, 2.6vw, 1.7rem); margin-bottom: 14px; }
.program-labo {
  background: var(--teal); color: #eaf5f4;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 56px;
}
.program-labo :is(h2, h3) { color: var(--white); }
.program-target { font-weight: 700; color: var(--amber-light); margin: 16px 0 0; }
.program-labo .program-target { color: var(--amber-on-teal); }
.section-lead a { font-weight: 700; }
@media (max-width: 900px) { .program-labo { grid-template-columns: 1fr; row-gap: 28px; } }
@media (max-width: 600px) { .program { padding: 28px 22px; } }

.steps { list-style: none; display: grid; gap: 18px; }
.steps li {
  position: relative; padding-left: 32px;
  display: grid; grid-template-columns: 4.6em minmax(0, 1fr); column-gap: 12px; align-items: baseline;
  color: var(--white); line-height: 1.75;
}
.steps li::before {
  content: ""; position: absolute; left: 0; top: .55em; z-index: 1;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--amber-on-teal); box-shadow: 0 0 0 4px var(--teal);
}
/* 点と点の間だけを線でつなぐ（最後の点で止まる） */
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 5px; top: calc(.55em + 6px);
  width: 2px; height: calc(100% + 18px); background: rgba(255,223,160,.5);
}
.steps b { color: var(--amber-on-teal); font-weight: 700; }
@media (max-width: 480px) { .steps li { grid-template-columns: 1fr; } }

/* ===== APPROACH：2段組 ===== */
.principles {
  list-style: none; column-count: 2; column-gap: 64px; column-rule: 1px solid var(--line);
  max-width: 980px; margin: 0 auto;
}
.principles li { break-inside: avoid; padding: 0 0 36px; }
.principles h3 { font-size: var(--fs-h4); color: var(--deep); margin-bottom: 8px; line-height: 1.55; }
.principles p { margin: 0; line-height: 1.9; }
@media (max-width: 767px) {
  .principles { column-count: 1; }
  .principles li { padding: 20px 0 22px; border-top: 1px solid var(--line); }
  .principles h3 { color: var(--teal); }
}

/* ===== RESEARCH：研究メンタリング ＋ リハ研究ナビ ===== */
.research { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start; }
@media (max-width: 1100px) { .research { grid-template-columns: 1fr; } }
@media (min-width: 1101px) and (min-height: 820px) { .program-mentoring { position: sticky; top: 96px; } }
.program-mentoring { background: var(--teal); color: #eaf5f4; }
.program-mentoring .program-target { color: var(--amber-on-teal); }
.program-mentoring :is(h2, h3) { color: var(--white); }
.ruled-list { list-style: none; margin: 22px 0; border-top: 1px solid rgba(255,255,255,.28); }
.ruled-list li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.28); color: var(--white); line-height: 1.7; }
.program-mentoring .note { margin: 0; font-size: .92rem; color: #e6f2f1; }
.program-mentoring .note a { color: var(--amber-on-teal); }
@media (min-width: 601px) and (max-width: 1100px) {
  .program-mentoring { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; }
  .program-mentoring > :is(h2, h3), .program-mentoring > p:not(.note) { grid-column: 1; }
  .program-mentoring .ruled-list { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
  .program-mentoring .note { grid-column: 2; margin-top: 16px; }
  .tool > p, .tool-notice, .tool-help { max-width: var(--read); }
}

.tool { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 40px; }
@media (max-width: 600px) { .tool { padding: 28px 20px; } }
.tool-kicker { font-size: var(--fs-small); font-weight: 700; color: var(--amber-ink); letter-spacing: .06em; margin-bottom: 4px; }
.tool-name { font-size: clamp(1.4rem, 2.6vw, 1.7rem); color: var(--deep); margin-bottom: 12px; }
.tool-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 24px 0 28px; }
.tool-features > div { padding: 14px 0; border-top: 1px solid var(--line); }
.tool-features dt { font-weight: 700; color: var(--deep); font-size: var(--fs-h4); }
.tool-features dd { margin: 4px 0 0; line-height: 1.8; }
@media (max-width: 600px) {
  .tool-features { grid-template-columns: 1fr; }
  .tool-features > div { border-top: 0; padding: 10px 0; }
  .tool-features dt { color: var(--teal); }
}
.tool-entry { padding: 24px 0 0; border-top: 2px solid var(--amber); }
.tool-notice-title { font-size: 1rem; color: var(--amber-ink); margin-bottom: 8px; }
.tool-notice { list-style: none; margin-bottom: 20px; }
.tool-notice li { padding: 8px 0; border-bottom: 1px solid rgba(143,94,14,.18); font-size: .9rem; line-height: 1.75; }
.tool-btn { margin-bottom: 12px; }
.tool-help { margin: 0; font-size: .88rem; color: var(--muted); }

/* ===== MESSAGE：濃色の引用帯 ＋ 本文と略歴 ===== */
.message-band { background: var(--deep); color: var(--white); padding: 104px 0 96px; }
.message-band .section-label { color: var(--amber-light); }
.message-band .section-title { color: var(--white); font-size: var(--fs-h3); margin-bottom: 28px; }
.message-band blockquote {
  margin: 0; font-size: clamp(1.45rem, 3.6vw, 2.3rem); font-weight: 700; line-height: 1.6;
  color: var(--white); max-width: 22em; text-indent: -.5em;
}
@media (max-width: 767px) { .message-band { padding: 72px 0 64px; } }
.message-main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.message-body p { font-size: 1.05rem; line-height: 2; max-width: 34em; margin-bottom: 1.5em; }
.signature { margin-top: 32px; display: flex; flex-direction: column; }
.sig-role { font-size: var(--fs-small); color: var(--muted); }
.sig-name { font-size: 1.5rem; font-weight: 700; color: var(--deep); letter-spacing: .12em; }
.profile { border-left: 1px solid var(--line-strong); padding-left: 32px; position: sticky; top: 96px; }
.profile dl { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); column-gap: 12px; grid-auto-flow: row; }
@media (max-width: 600px) { .profile dl { grid-template-columns: 4em minmax(0, 1fr); } }
.profile dt { grid-column: 1; font-weight: 700; color: var(--teal); font-size: .88rem; padding-top: 14px; }
.profile dd { grid-column: 2; margin: 0; font-size: .92rem; line-height: 1.75; padding-top: 4px; word-break: keep-all; overflow-wrap: anywhere; }
.profile dt + dd { padding-top: 14px; }
.profile dt:first-child, .profile dt:first-child + dd { padding-top: 0; }
@media (max-width: 900px) {
  .message-main { grid-template-columns: 1fr; gap: 40px; }
  .profile { position: static; border-left: 0; border-top: 1px solid var(--line-strong); padding: 24px 0 0; }
}

/* ===== TEAM：左に見出し、右に罫線リスト ===== */
.team { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.team-head .section-lead { font-size: 1rem; line-height: 1.95; }
.team-list { border-top: 2px solid var(--deep); }
.team-item { padding: 24px 0; border-bottom: 1px solid var(--line-strong); }
.team-item h3 { font-size: var(--fs-h4); color: var(--deep); margin-bottom: 6px; }
.team-item p { margin: 0; line-height: 1.85; }
@media (min-width: 901px) { .team-head { position: sticky; top: 96px; } }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; gap: 32px; } }

/* ===== ROADMAP：時間軸 ===== */
.roadmap { list-style: none; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
.roadmap::before {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal) 70%, rgba(15,107,110,0) 100%);
}
.roadmap > li { position: relative; padding-top: 40px; }
.roadmap > li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--teal);
}
.roadmap > li:first-child::before { background: var(--teal); }
.rm-when { display: block; font-family: var(--font-en); font-weight: 800; font-size: 1.35rem; color: var(--amber-ink); line-height: 1.3; }
.roadmap h3 { font-size: var(--fs-h3); color: var(--deep); margin: 6px 0 10px; }
.roadmap p { margin: 0; line-height: 1.85; }
.rm-future { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
@media (min-width: 901px) {
  /* 「その先へ」の列の下に置く */
  .rm-future { margin-left: calc((100% - 80px) / 3 * 2 + 80px); }
}
@media (max-width: 900px) { .rm-future { margin-left: 32px; } }
.rm-future-label { font-size: var(--fs-small); font-weight: 700; color: var(--amber-ink); margin: 0 0 2px; }
.rm-future-title { font-size: var(--fs-h4); color: var(--deep); margin-bottom: 12px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tags li { font-size: .86rem; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--teal); color: var(--teal); background: var(--white); }
.rm-future .note { font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) {
  .roadmap { grid-template-columns: 1fr; row-gap: 40px; padding-left: 32px; }
  .roadmap::before { left: 7px; right: auto; top: 8px; bottom: 0; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--teal) 0%, var(--teal) 75%, rgba(15,107,110,0) 100%); }
  .roadmap > li { padding-top: 0; }
  .roadmap > li::before { left: -32px; top: 6px; }
}

/* ===== Contact（問い合わせ先が決まったら使う） ===== */
.contact { text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact-logo { width: min(420px, 90%); margin-bottom: 44px; }
.contact p { color: var(--on-dark); max-width: 38em; margin-bottom: 32px; }
.todo { font-size: .8rem; color: #9a6a12; background: #fff5df; border-radius: 8px; padding: 6px 10px; margin: 16px 0 0; }
.todo-dark { color: var(--deep); margin-top: 20px; }

/* ===== Footer ===== */
.site-footer { background: #0a2427; color: var(--on-dark-muted); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; font-size: .88rem; }
.footer-inner p { margin: 0; }
.footer-inner .copy { margin-left: auto; font-family: var(--font-en); }
@media (max-width: 600px) { .footer-inner .copy { margin-left: 0; width: 100%; } }

/* ===== トップから一覧ページへの案内 ===== */
.more { margin: 36px 0 0; }
.more-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; color: var(--teal); text-decoration: none;
  border-bottom: 2px solid var(--amber-light);
}
.more-link::after { content: "→"; font-family: var(--font-en); transition: transform .15s; }
.more-link:hover::after { transform: translateX(4px); }

/* ===== 公開ツール（tools/） ===== */
.page-hero {
  padding: 88px 0 56px;
  background:
    radial-gradient(circle at 90% 0%, rgba(224,164,58,.14), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(15,107,110,.08), transparent 45%);
  border-bottom: 1px solid var(--line);
}
.page-title { font-size: clamp(2rem, 5.4vw, 3.2rem); color: var(--deep); letter-spacing: .04em; margin-bottom: 18px; }
.page-lead { font-size: 1.05rem; max-width: var(--read); margin-bottom: 32px; }
.catalog-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.catalog-nav a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white);
  color: var(--deep); font-weight: 700; font-size: .92rem; text-decoration: none;
}
.catalog-nav a:hover { border-color: var(--teal); color: var(--teal); }
.catalog-nav .count {
  font-family: var(--font-en); font-size: .78rem; min-width: 1.6em; text-align: center;
  background: var(--teal-50); color: var(--teal); border-radius: 999px; padding: 0 6px; line-height: 1.6;
}
@media (max-width: 767px) { .page-hero { padding: 56px 0 40px; } }

.catalog-section { padding: 72px 0; }
@media (max-width: 767px) { .catalog-section { padding: 56px 0; } }
.catalog-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-bottom: 20px; }
.catalog-title { font-size: var(--fs-h2); color: var(--deep); }
.catalog-desc { margin: 0; color: var(--muted); }
.catalog-list { border-top: 2px solid var(--deep); }
.catalog-empty { margin: 0; padding: 28px 0; color: var(--muted); border-bottom: 1px solid var(--line); }

.item {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 48px;
  padding: 32px 0; border-bottom: 1px solid var(--line-strong);
}
.item-file { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
@media (max-width: 900px) { .item, .item-file { grid-template-columns: 1fr; row-gap: 20px; } }
.item-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 0 0 6px; font-size: var(--fs-small); color: var(--muted); }
.item-kind { font-weight: 700; color: var(--teal); background: var(--teal-50); border-radius: 6px; padding: 1px 10px; }
.item-title { font-size: clamp(1.3rem, 2.4vw, 1.6rem); color: var(--deep); margin-bottom: 10px; }
.item-main > p:not(.item-meta) { max-width: var(--read); }
.item-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.item-points li { font-size: .86rem; padding: 3px 12px; border-radius: 6px; color: var(--deep); background: var(--teal-50); }
.item-side { border-top: 2px solid var(--amber); padding-top: 18px; align-self: start; }
.item-file .item-side { border-top: 0; padding-top: 0; align-self: center; }
.item-notice-title { font-size: 1rem; color: var(--amber-ink); margin-bottom: 6px; }
.item-notice { list-style: none; margin-bottom: 20px; }
.item-notice li { padding: 8px 0; border-bottom: 1px solid rgba(143,94,14,.18); font-size: .9rem; line-height: 1.75; }
.item-help { margin: 4px 0 0; font-size: .88rem; color: var(--muted); }
.item-help a { display: inline-block; padding: 12px 0; }
/* AIで作った資料の「作成に使った指示文」。開くと全文を表示 */
.item-prompt { margin-top: 20px; max-width: var(--read); border: 1px solid var(--line-strong); border-radius: 12px; background: var(--white); }
.item-prompt summary {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px;
  font-weight: 700; color: var(--teal); cursor: pointer; list-style: none;
}
.item-prompt summary::-webkit-details-marker { display: none; }
.item-prompt summary::before { content: "＋"; font-family: var(--font-en); font-weight: 800; }
.item-prompt[open] summary::before { content: "－"; }
.item-prompt-text {
  margin: 0; padding: 14px 18px 18px; border-top: 1px solid var(--line);
  font-family: var(--font-ja); font-size: .86rem; line-height: 1.8; color: var(--ink);
  white-space: pre-wrap; overflow-wrap: anywhere; max-height: 28em; overflow-y: auto;
}

.terms { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .terms { grid-template-columns: 1fr; gap: 28px; } }
.terms-list { border-top: 2px solid var(--deep); }
.terms-list > div { padding: 18px 0; border-bottom: 1px solid var(--line-strong); }
.terms-list dt { font-weight: 700; color: var(--deep); margin-bottom: 4px; }
.terms-list dd { margin: 0; line-height: 1.85; }

/* ===== トップ：入口としての調整 ===== */
.labo-text:has(+ .more) { margin-bottom: 0; }
.entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
@media (max-width: 767px) { .entries { grid-template-columns: 1fr; } }
.entry { border-top: 3px solid var(--teal); padding-top: 22px; display: flex; flex-direction: column; }
.entry h3 { font-size: clamp(1.4rem, 2.6vw, 1.7rem); color: var(--deep); margin-bottom: 12px; }
.entry p { margin: 0; }
.entry .program-target { color: var(--amber-ink); margin-top: 12px; }
.entry .more { margin-top: auto; padding-top: 20px; }
.philo-band .more { margin-top: 28px; max-width: none; }
.philo-band .more-link { color: var(--deep); border-bottom-color: var(--deep); }
.message-body .more { margin: 28px 0 0; }

/* ===== 下層ページ：ほかのページへの案内 ===== */
.page-hero .page-lead:last-child { margin-bottom: 0; }
.page-next { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.page-next-inner { display: flex; flex-wrap: wrap; gap: 12px 36px; }
.more-link--back { color: var(--muted); border-bottom-color: var(--line-strong); }
.more-link--back::after { content: none; }
.more-link--back::before { content: "←"; font-family: var(--font-en); }
.labo-text:last-child { margin-bottom: 0; }
