/* ============================================
   「未来プロジェクト」企業向けLP スタイル
   スマホファースト（〜767px基準）/ 768px〜 タブレット / 1024px〜 PC
   配色: e-epsilon.comのアクアを差し色に、企画書の濃紺×淡いブルーを土台にした
   B2B向けトーン。CTAは「理科実験で英語」LPと同じ系統のコーラル
   文字サイズ: 日本語は欧文より大きくないと読みにくいため、本文はPC17px・スマホ16pxを基準に、
   注記などの最小サイズもPC14px・スマホ13pxを下回らないようにしている（:root の --fs-* で一元管理）
   ============================================ */

:root {
  --ink: #12263a;
  --navy: #163b5c;
  --navy-deep: #0f2a43;
  --body-color: #3a4653;
  --muted: #5d6976;
  --teal: #0e9cb0;
  --teal-dark: #087585;
  --teal-soft: #e5f5f7;
  --sky: #eef4fb;
  --paper: #f7f9fc;
  --line: #dde5ee;
  --cta: #d2412a;
  --cta-dark: #b3301b;
  --cta-sh: rgba(210, 65, 42, .32);
  --marker: #ffe58a;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 6px 28px rgba(18, 38, 58, .08);
  --shadow-lg: 0 18px 48px rgba(18, 38, 58, .14);
  --font-head: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  /* 文字サイズ（スマホ） */
  --fs-xs: 13px;      /* 写真キャプション・注記 */
  --fs-s: 14px;       /* ラベル・補足・メタ情報 */
  --fs-label: 15px;   /* フォームの項目名・選択肢 */
  --fs-body: 16px;    /* 本文・カード本文・表 */
  --fs-lead: 17px;    /* リード文 */
  --fs-h4: 17px;      /* 小見出し（FAQの質問・スケジュール等） */
  --fs-h3: 19px;      /* カード見出し */
  --fs-h3l: 22px;     /* 大きめの小見出し（組織名・囲み見出し等） */
  --fs-h2: clamp(26px, 7vw, 30px);
}
@media (min-width: 768px) {
  :root {
    --fs-xs: 14px;
    --fs-s: 15px;
    --fs-label: 16px;
    --fs-body: 17px;
    --fs-lead: 18px;
    --fs-h4: 18px;
    --fs-h3: 21px;
    --fs-h3l: 25px;
    --fs-h2: clamp(32px, 4.4vw, 40px);
  }
}
@media (min-width: 1024px) {
  :root {
    --fs-lead: 19px;
    --fs-h4: 20px;
    --fs-h3: 24px;
    --fs-h3l: 28px;
    --fs-h2: clamp(36px, 3.3vw, 44px);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: var(--font-body);
  color: var(--body-color);
  background: var(--white);
  line-height: 1.9;
  font-size: var(--fs-body);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
  line-break: strict;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
em { font-style: normal; }
strong { color: var(--ink); }

.nb { display: inline-block; }
.sp-only { display: inline; }
.pc-only { display: none; }
@media (min-width: 768px) {
  .sp-only { display: none; }
  .pc-only { display: inline; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--white);
  padding: 8px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn--primary {
  background: var(--cta);
  color: var(--white);
  padding: 16px 30px;
  font-size: 17px;
  box-shadow: 0 8px 20px var(--cta-sh);
}
.btn--primary:hover { background: var(--cta-dark); transform: translateY(-2px); }
.btn--primary::after {
  content: "";
  width: 8px; height: 8px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 4px;
}
.btn--large { padding: 17px 18px; font-size: 16px; }
.btn--ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
  padding: 14px 28px;
  font-size: 17px;
}
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--small { padding: 9px 16px; font-size: 14px; background: var(--cta); color: var(--white); box-shadow: 0 4px 12px var(--cta-sh); }
.btn--small:hover { background: var(--cta-dark); }
.btn--block { display: flex; width: 100%; }
@media (min-width: 560px) {
  .btn--large { padding: 19px 44px; font-size: 19px; }
}
@media (min-width: 1024px) {
  .btn--primary { font-size: 18px; }
  .btn--large { font-size: 20px; }
  .btn--ghost { font-size: 18px; padding: 15px 32px; }
  .btn--small { padding: 10px 20px; font-size: 15px; }
}

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: flex; flex-direction: column; line-height: 1.25; text-decoration: none; }
.brand__sub { font-size: 13px; font-weight: 700; color: var(--teal-dark); letter-spacing: .04em; }
.brand__main { font-family: var(--font-head); font-weight: 900; font-size: 19px; color: var(--ink); letter-spacing: .04em; }
.header__cta { display: flex; align-items: center; gap: 16px; flex: none; }
.header__link { display: none; font-size: 15px; font-weight: 700; color: var(--navy); text-decoration: none; }
.header__link:hover { color: var(--teal-dark); text-decoration: underline; }
.gnav { display: none; }
@media (min-width: 768px) {
  .brand__sub { font-size: 14px; }
  .brand__main { font-size: 21px; }
  .header__link { display: inline; }
}
@media (min-width: 1100px) {
  .gnav { display: flex; gap: 22px; margin-left: auto; margin-right: 8px; }
  .gnav a { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; position: relative; }
  .gnav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
    background: var(--teal); transform: scaleX(0); transition: transform .2s ease; transform-origin: left;
  }
  .gnav a:hover::after { transform: scaleX(1); }
}
@media (max-width: 374px) {
  .brand__main { font-size: 17px; }
  .btn--small { padding: 8px 12px; font-size: 13px; }
}

/* ---------- 共通セクション ---------- */
.section { padding: 72px 16px; }
.section--paper { background: var(--paper); }
.section--sky { background: var(--sky); }
.section--navy { background: var(--navy-deep); color: #d8e3ee; }
.section__inner { max-width: 1100px; margin: 0 auto; }
.section__inner--narrow { max-width: 860px; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--teal); }
.eyebrow--light { color: #7fd6e2; }
.eyebrow--light::before { background: #7fd6e2; }

.section__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: var(--fs-h2);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: .02em;
  margin-bottom: 20px;
}
.section__title em { color: var(--teal-dark); }
.section__title--light { color: var(--white); }
.section__title--light em { color: #7fd6e2; }
.section__lead { font-size: var(--fs-lead); max-width: 820px; margin-bottom: 40px; }
.center .section__lead { margin-left: auto; margin-right: auto; }
.section__lead--light { color: #c9d6e3; }
.section__note { font-size: var(--fs-xs); color: var(--muted); margin-top: 20px; line-height: 1.8; }
.section__cta { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.section__cta-note { font-size: var(--fs-s); color: var(--muted); }

@media (min-width: 768px) {
  .section { padding: 108px 24px; }
  .eyebrow { font-size: 14px; }
}

.subhead {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: var(--fs-h3);
  color: var(--ink);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.subhead::before { content: ""; width: 6px; height: 1.2em; border-radius: 3px; background: var(--teal); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  padding: 96px 16px 0;
  background:
    linear-gradient(180deg, rgba(238, 244, 251, 0) 60%, var(--white) 100%),
    linear-gradient(rgba(22, 59, 92, .05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(22, 59, 92, .05) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--sky);
  overflow: hidden;
}

/* 1段・中央揃えのキャッチと募集告知 */
.hero__head { max-width: 1080px; margin: 0 auto; text-align: center; }
.hero__badge {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 18px 6px 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  line-height: 1.5;
}
.hero__badge-tag {
  background: var(--teal-dark);
  color: var(--white);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 13px;
  letter-spacing: .04em;
}
.hero__sub {
  display: table;
  margin: 0 auto 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  padding: 4px 4px;
  letter-spacing: .06em;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 8.2vw, 64px);
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: .02em;
}
.hero__title em { color: var(--teal-dark); }
/* 配信版のZen Kaku Gothic Newは palt が効かず約物が全角幅のままなので、ここだけ palt を切って手動で半角詰めする
   （palt の効くフォールバックフォントで二重に詰まって重なるのを防ぐ） */
.hero__title, .hero__purpose { font-feature-settings: normal; }
.hero__title .kakko, .hero__purpose .kakko-l { margin-left: -.5em; }
/* margin-right で詰めると .nb の中で折り返すため letter-spacing で詰める */
.hero__title .kakko-r, .hero__purpose .kakko-r { letter-spacing: -.5em; }

.hero__purpose {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 26px;
  padding: 16px 20px 18px;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  line-height: 1.5;
}
.hero__purpose-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}
.hero__purpose-main {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 28px;
  color: var(--ink);
}
/* 2行に折り返しても各行にマーカーが付くよう、マーカーは .nb ごとに引く */
.hero__purpose-main .nb { background: linear-gradient(transparent 64%, var(--marker) 64%); padding: 0 2px; }

/* キャッチの下：説明文＋ボタン（左）と写真（右） */
.hero__inner {
  max-width: 1160px;
  margin: 40px auto 0;
  display: grid;
  gap: 32px;
}
.hero__lead { font-size: var(--fs-lead); margin-bottom: 26px; }
.hero__cta { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
/* 説明会でお答えすること（CTA直下） */
.answers {
  margin-top: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 12px;
  padding: 18px 20px 16px;
}
.answers__title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-lead); color: var(--ink); line-height: 1.5; margin-bottom: 10px; }
.answers__list { list-style: none; display: grid; gap: 6px; }
.answers__list li { position: relative; padding-left: 28px; font-size: var(--fs-body); line-height: 1.7; color: var(--ink); }
.answers__list li::before {
  content: "";
  position: absolute; left: 0; top: .4em;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 19px no-repeat;
}
.answers__note { font-size: var(--fs-s); color: var(--muted); margin-top: 12px; line-height: 1.7; }

/* 授業写真とポスターを同じ幅で縦に並べ、左段（説明文・ボタン・説明会の枠）と高さをそろえる */
.hero__visual { display: grid; gap: 20px; }
.hero__visual img { width: 100%; object-fit: cover; }
.hero__photo img { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__poster img { aspect-ratio: 12 / 5; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero__visual figcaption { font-size: var(--fs-xs); color: var(--muted); margin-top: 8px; line-height: 1.6; }

@media (min-width: 560px) {
  .hero__cta { flex-direction: row; flex-wrap: wrap; align-items: center; }
}
@media (min-width: 768px) {
  .hero__badge { font-size: 15px; }
  .hero__badge-tag { font-size: 14px; }
  .hero__sub { font-size: 19px; }
  .hero__purpose { padding: 20px 40px 22px; margin-top: 32px; }
  .hero__title { font-size: clamp(44px, 5.8vw, 64px); }
  .hero__purpose-name { font-size: 22px; }
  .hero__purpose-main { font-size: 40px; }
}
@media (min-width: 1024px) {
  .hero { padding: 104px 24px 0; }
  .hero__sub { font-size: 21px; margin-bottom: 16px; }
  .hero__purpose { padding: 20px 56px 22px; margin-top: 28px; }
  .hero__purpose-name { font-size: 26px; }
  .hero__purpose-main { font-size: 48px; }
  .hero__inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; margin-top: 44px; }
}
@media (max-width: 374px) {
  .hero__badge { font-size: 13px; gap: 6px 8px; }
  .hero__purpose { padding: 14px 14px 16px; }
  .hero__purpose-main { font-size: 26px; }
}

.facts {
  max-width: 1160px;
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.facts__item { display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 12px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts__item:nth-child(2n) { border-right: none; }
.facts__item:nth-last-child(-n+2) { border-bottom: none; }
.facts__label { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); line-height: 1.5; }
.facts__value { font-family: var(--font-head); font-weight: 900; color: var(--ink); font-size: 18px; line-height: 1.4; margin-top: 4px; }
.facts__value b { font-family: var(--font-en); font-size: 28px; color: var(--teal-dark); font-weight: 700; margin-right: 2px; }

.trust {
  max-width: 1160px;
  margin: 18px auto 0;
  list-style: none;
  display: grid;
  gap: 8px;
  padding-bottom: 56px;
}
.trust li { font-size: var(--fs-s); color: var(--ink); line-height: 1.7; display: flex; gap: 10px; align-items: baseline; }
.trust li > span:first-child {
  flex: none;
  min-width: 7.4em;
  text-align: center;
  font-size: var(--fs-xs); font-weight: 700;
  color: var(--white); background: var(--navy);
  border-radius: 4px; padding: 1px 8px;
}
@media (min-width: 768px) {
  .facts__label { font-size: var(--fs-s); }
  .facts__value { font-size: 20px; }
  .facts__value b { font-size: 34px; }
}
@media (min-width: 1024px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts__item { border-bottom: none; padding: 22px 12px; }
  .facts__item:nth-child(2n) { border-right: 1px solid var(--line); }
  .facts__item:last-child { border-right: none; }
  .trust { grid-template-columns: 1fr auto auto; gap: 24px; padding-bottom: 76px; }
  .trust li > span:first-child { min-width: 0; }
}

/* ---------- 表（全体像・活用先・体制・社内検討用） ---------- */
.summary-table table, .usage table, .structure table, .brief table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: var(--fs-body);
  line-height: 1.75;
}
.summary-table th, .summary-table td,
.usage th, .usage td,
.structure th, .structure td,
.brief th, .brief td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.summary-table tr:last-child > *, .usage tr:last-child > *, .structure tr:last-child > *, .brief tr:last-child > * { border-bottom: none; }
.summary-table th, .usage th, .structure th, .brief th {
  font-weight: 700;
  color: var(--navy);
  background: var(--sky);
  white-space: nowrap;
}
.summary-table tr:last-child th { background: var(--teal-dark); color: var(--white); }
.summary-table tr:last-child td { font-weight: 700; color: var(--ink); background: var(--teal-soft); }
@media (min-width: 600px) {
  .summary-table th, .structure th { width: 9.5em; }
  .usage th { width: 13em; }
  .brief th { width: 8.5em; }
}
@media (max-width: 599px) {
  .summary-table th, .summary-table td,
  .usage th, .usage td,
  .structure th, .structure td,
  .brief th, .brief td { display: block; width: 100%; white-space: normal; }
  .summary-table th, .usage th, .structure th, .brief th { padding: 12px 16px 2px; border-bottom: none; }
  .summary-table td, .usage td, .structure td, .brief td { padding: 0 16px 14px; background: var(--sky); }
  .summary-table tr:last-child th { padding-bottom: 6px; }
  .summary-table tr:last-child td { background: var(--teal-soft); padding-top: 10px; }
}

/* ---------- 2カラム（テキスト＋写真） ---------- */
.split { display: grid; gap: 24px; margin-bottom: 36px; }
.split .section__lead { margin-bottom: 0; }
.split__photo { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.split__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; margin-bottom: 48px; }
  .split--top { grid-template-columns: 1fr 400px; align-items: end; }
  .split--wide { grid-template-columns: 1.6fr 1fr; }
  /* 2カラム内の見出しは列幅に合わせて少し抑える（1366pxで「若手社員には英語で伝える機会を。」16字が1行に収まる上限） */
  .split .section__title { font-size: clamp(32px, 2.8vw, 38px); }
  .split__photo--small { max-width: 440px; justify-self: end; }
}

/* ---------- 課題 ---------- */
.issues { display: grid; gap: 16px; margin-bottom: 32px; }
.issue {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.issue--answer { background: var(--teal-soft); border-color: #bfe6ec; }
.issue .issue__label {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--teal-dark);
}
.issue__title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h3); color: var(--ink); line-height: 1.55; margin: 6px 0 10px; }
.issue p { font-size: var(--fs-body); }
.bridge {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
}
.bridge__text { font-family: var(--font-head); font-weight: 700; font-size: clamp(19px, 5vw, 28px); line-height: 1.6; }
.bridge__text em { color: var(--marker); }
.bridge__sub { font-size: var(--fs-body); color: #c9d6e3; margin-top: 12px; }
@media (min-width: 768px) {
  .bridge { padding: 40px 48px; }
}
@media (min-width: 1024px) {
  .issues { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- メリット ---------- */
.merits { display: grid; gap: 18px; }
.merit {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.merit__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.merit__icon {
  flex: none;
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: grid; place-items: center;
}
.merit__icon svg { width: 30px; height: 30px; }
.merit .merit__for { font-size: var(--fs-s); font-weight: 700; color: var(--teal-dark); letter-spacing: .04em; line-height: 1.5; }
.merit__title { font-family: var(--font-head); font-weight: 900; font-size: var(--fs-h3); color: var(--ink); line-height: 1.45; }
.merit p { font-size: var(--fs-body); }
.merit__num {
  position: absolute; right: 18px; top: 10px;
  font-family: var(--font-en); font-weight: 700; font-size: 48px; color: var(--sky); line-height: 1;
  pointer-events: none;
}
@media (min-width: 768px) {
  .merits { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .merit { padding: 32px 30px; }
}

/* 技術系企業の帯 */
.tech {
  margin-top: 28px;
  display: grid;
  background: var(--navy);
  color: #d8e3ee;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tech__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tech__body { padding: 26px 22px 30px; }
.tech .tech__label { font-size: var(--fs-s); font-weight: 700; color: #7fd6e2; letter-spacing: .06em; }
.tech__title { font-family: var(--font-head); font-weight: 900; font-size: var(--fs-h3l); color: var(--white); line-height: 1.5; margin: 4px 0 12px; }
.tech p { font-size: var(--fs-body); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  font-weight: 700; font-size: var(--fs-body);
  color: var(--marker);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  line-height: 1.6;
}
.text-link::after { content: "→"; }
.text-link:hover { color: var(--white); }
@media (min-width: 768px) {
  .tech { grid-template-columns: 340px 1fr; align-items: center; }
  .tech__photo { align-self: stretch; }
  .tech__photo img { height: 100%; min-height: 260px; aspect-ratio: auto; }
  .tech__body { padding: 36px 40px; }
}

/* ---------- プログラム ---------- */
.flow {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 40px;
}
.flow li {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 18px;
}
.flow__num { font-family: var(--font-en); font-weight: 700; font-size: 22px; color: var(--teal); flex: none; width: 32px; }
.flow__label { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h4); color: var(--ink); line-height: 1.45; }
.flow__label br { display: none; }
.flow li.flow__goal { background: var(--cta); border-color: var(--cta); }
.flow li.flow__goal .flow__num, .flow li.flow__goal .flow__label { color: var(--white); }
@media (max-width: 1023px) {
  .flow li:not(:last-child)::after {
    content: ""; position: absolute; left: 33px; bottom: -9px; width: 2px; height: 10px; background: var(--teal); z-index: 1;
  }
}
@media (min-width: 1024px) {
  .flow { grid-template-columns: repeat(5, 1fr); gap: 0; }
  .flow li {
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    border: none;
    border-radius: 0;
    padding: 18px 22px 18px 34px;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
    margin-left: -8px;
    min-height: 124px;
  }
  .flow li:first-child { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); margin-left: 0; padding-left: 22px; border-radius: 12px 0 0 12px; }
  .flow li.flow__goal { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 18px 50%); border-radius: 0 12px 12px 0; }
  .flow__label { font-size: 17px; }
  .flow__label br { display: inline; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .flow li { padding: 18px 12px 18px 30px; }
  .flow li:first-child { padding-left: 18px; }
}
@media (min-width: 1200px) {
  .flow__label { font-size: 18px; }
}

.program { display: grid; gap: 28px; }
.program__table { display: grid; gap: 10px; margin-bottom: 20px; }
.program__table div {
  display: grid; grid-template-columns: 4.5em 1fr; gap: 12px;
  background: var(--white);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: var(--fs-body); line-height: 1.75;
}
.program__table dt { font-weight: 700; color: var(--teal-dark); }
.quote {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  border-left: 5px solid var(--cta);
}
.quote__q { font-family: var(--font-head); font-weight: 900; font-size: var(--fs-h3); color: var(--ink); line-height: 1.7; margin-bottom: 10px; }
.quote__text { font-size: var(--fs-body); }
.program__photo { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.program__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.program__photo figcaption { font-size: var(--fs-xs); color: var(--muted); padding: 10px 14px 12px; line-height: 1.6; }
@media (min-width: 1024px) {
  .program { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
}

/* ---------- 関わり方 ---------- */
.roles { display: grid; gap: 16px; }
.role {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.role--featured { border: 2px solid var(--teal); box-shadow: 0 10px 30px rgba(14, 156, 176, .14); }
.role__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.role__num { font-family: var(--font-en); font-weight: 700; font-size: 30px; color: var(--teal); line-height: 1; }
.role__badge { font-size: var(--fs-xs); font-weight: 700; border-radius: 999px; padding: 3px 12px; }
.role__badge--rec { background: var(--teal-dark); color: var(--white); }
.role__badge--opt { background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.role__title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h3); color: var(--ink); line-height: 1.5; }
.role .role__meta { font-size: var(--fs-s); font-weight: 700; color: var(--teal-dark); line-height: 1.8; }
.role p { font-size: var(--fs-body); line-height: 1.8; }
@media (min-width: 640px) { .roles { grid-template-columns: repeat(2, 1fr); } }

.notes {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  list-style: none;
}
.notes li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: var(--fs-s);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}
.notes li svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
@media (max-width: 767px) {
  .notes { flex-direction: column; align-items: stretch; }
  .notes li { border-radius: 12px; align-items: flex-start; padding: 10px 16px; }
  .notes li svg { margin-top: 3px; }
}

/* ---------- 成果物 ---------- */
.deliverables { display: grid; gap: 14px; list-style: none; }
.deliverable {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  align-items: start;
  align-content: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px;
}
.deliverable--hr { border: 2px solid var(--teal); }
.deliverable__icon {
  grid-row: span 2;
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--navy); color: var(--white);
  display: grid; place-items: center;
}
.deliverable__icon svg { width: 28px; height: 28px; }
.deliverable__title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h4); color: var(--ink); line-height: 1.5; }
.deliverable__use { font-size: var(--fs-body); color: var(--body-color); line-height: 1.75; }
.deliverable__use > span:first-child {
  display: inline-block;
  font-size: var(--fs-xs); font-weight: 700;
  color: var(--teal-dark); background: var(--teal-soft);
  border-radius: 6px; padding: 0 8px; margin-right: 6px;
}
.deliverable__flag {
  display: table;
  margin: 4px 0 0;
  font-family: var(--font-body);
  font-size: var(--fs-xs); font-weight: 700;
  color: var(--white); background: var(--teal-dark);
  border-radius: 999px; padding: 1px 12px;
}
.usage { margin-top: 28px; }
.usage caption { caption-side: top; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h4); color: var(--ink); padding-bottom: 10px; }
@media (min-width: 768px) {
  .deliverables { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .deliverable { padding: 26px 26px; }
}

/* ---------- スケジュール ---------- */
.timeline { list-style: none; display: grid; gap: 14px; }
.tl {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 14px;
  align-items: start;
}
/* 縦線は各項目の間だけに引く（最後の丸を突き抜けないように） */
.tl:not(:last-child)::before {
  content: ""; position: absolute; left: 33px; top: 68px; bottom: -14px; width: 2px;
  background: linear-gradient(var(--teal), var(--navy));
}
.tl__month {
  position: relative; z-index: 1;
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--teal);
  display: grid; place-items: center; align-content: center;
  font-family: var(--font-head); font-weight: 900; color: var(--ink); font-size: 20px; line-height: 1.1; text-align: center;
}
.tl__month small { display: block; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.tl--goal .tl__month { background: var(--cta); border-color: var(--cta); color: var(--white); }
.tl--goal .tl__month small { color: var(--white); }
.tl__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.tl--goal .tl__card { border: 2px solid var(--cta); }
.tl__title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h4); color: var(--ink); line-height: 1.5; }
.tl__text { font-size: var(--fs-body); line-height: 1.8; margin-top: 4px; }
.tl__corp {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--teal-soft);
  border-radius: 8px;
  font-size: var(--fs-s);
  line-height: 1.75;
  color: var(--ink);
}
.tl__corp b { color: var(--teal-dark); margin-right: 8px; font-size: var(--fs-xs); letter-spacing: .04em; }
.tl--goal .tl__corp { background: #fdece8; }
.tl--goal .tl__corp b { color: var(--cta-dark); }
@media (max-width: 479px) {
  .tl { grid-template-columns: 56px 1fr; gap: 10px; }
  .tl:not(:last-child)::before { left: 27px; top: 56px; }
  .tl__month { width: 56px; height: 56px; font-size: 18px; }
  .tl__card { padding: 16px; }
  .tl__corp { padding: 10px 12px; }
  .tl__corp b { display: block; margin-right: 0; }
}
@media (min-width: 768px) {
  .tl { grid-template-columns: 76px 1fr; gap: 18px; }
  .tl:not(:last-child)::before { left: 37px; top: 76px; }
  .tl__month { width: 76px; height: 76px; font-size: 24px; }
  .tl__card { padding: 20px 24px; }
}

/* ---------- 英語で行う理由 ---------- */
.why { display: grid; gap: 28px; }
.why__heading { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h3); color: var(--white); margin-bottom: 14px; }
.why__list { list-style: none; display: grid; gap: 10px; counter-reset: why; }
.why__list li {
  counter-increment: why;
  display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: var(--fs-body);
  color: var(--white);
  line-height: 1.65;
}
.why__list li::before {
  content: counter(why, decimal-leading-zero);
  font-family: var(--font-en); font-weight: 700; font-size: 20px; color: #7fd6e2;
}
.why__callout {
  background: var(--white);
  color: var(--body-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  align-self: center;
}
.why__callout .why__callout-title { font-family: var(--font-head); font-weight: 900; font-size: var(--fs-h3l); color: var(--ink); line-height: 1.5; margin-bottom: 12px; }
.why__callout-title em { background: linear-gradient(transparent 62%, var(--marker) 62%); }
.why__callout p:not(.why__callout-title) { font-size: var(--fs-body); }
.why__photo { margin-top: 18px; border-radius: 12px; overflow: hidden; }
.why__photo img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.why__photo figcaption { font-size: var(--fs-xs); color: var(--muted); margin-top: 6px; line-height: 1.6; }
.keyphrase {
  margin-top: 48px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(20px, 5.4vw, 32px);
  color: var(--white);
  line-height: 1.6;
}
.keyphrase > span:first-child { display: block; font-family: var(--font-body); font-size: var(--fs-s); font-weight: 700; color: #7fd6e2; letter-spacing: .08em; margin-bottom: 6px; }
@media (min-width: 768px) { .why__callout { padding: 34px 32px; } }
@media (min-width: 1024px) { .why { grid-template-columns: 1.1fr 1fr; gap: 48px; } }

/* ---------- 実施体制 ---------- */
.structure { display: grid; gap: 18px; margin-bottom: 32px; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats dl { padding: 18px 8px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; }
.stats dl:last-child { border-right: none; }
.stats dt { font-size: var(--fs-xs); color: #c9d6e3; line-height: 1.5; }
.stats dd { font-family: var(--font-head); font-weight: 900; color: var(--white); font-size: 16px; line-height: 1.2; }
.stats dd b { font-family: var(--font-en); font-weight: 700; font-size: clamp(28px, 7vw, 40px); color: #7fd6e2; margin-right: 2px; }
/* スマホでは1列の横並び（3列だとラベルが1文字ずつ崩れる） */
@media (max-width: 599px) {
  .stats { grid-template-columns: 1fr; }
  .stats dl { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 14px; text-align: left; padding: 12px 20px; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .stats dl:last-child { border-bottom: none; }
  .stats dd { flex: none; min-width: 5.4em; }
  .stats dt { font-size: var(--fs-s); }
}
@media (min-width: 900px) {
  .structure { grid-template-columns: 1.5fr 1fr; align-items: stretch; gap: 22px; }
  .stats { grid-template-columns: 1fr; }
  .stats dl { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, .12); justify-content: center; }
  .stats dl:last-child { border-bottom: none; }
}

.orgs { display: grid; gap: 18px; margin-bottom: 40px; }
.org {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.org .org__role {
  display: inline-block;
  font-size: var(--fs-xs); font-weight: 700;
  color: var(--white); background: var(--navy);
  border-radius: 6px; padding: 2px 10px; margin-bottom: 10px;
}
.org__name { font-family: var(--font-head); font-weight: 900; font-size: var(--fs-h3l); color: var(--ink); line-height: 1.45; }
.org .org__catch { font-size: var(--fs-s); font-weight: 700; color: var(--teal-dark); margin: 4px 0 12px; }
.org p { font-size: var(--fs-body); }
.org ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.org li { font-size: var(--fs-body); padding-left: 18px; position: relative; line-height: 1.75; }
.org li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
@media (min-width: 768px) { .org { padding: 32px 30px; } }
@media (min-width: 900px) { .orgs { grid-template-columns: 1fr 1fr; gap: 22px; } }

.profile {
  display: grid;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
}
.profile__photo { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; border: 4px solid var(--sky); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.profile__role { font-size: var(--fs-s); font-weight: 700; color: var(--teal-dark); }
.profile__name { font-family: var(--font-head); font-weight: 900; font-size: var(--fs-h3l); color: var(--ink); line-height: 1.4; }
.profile__msg { font-size: var(--fs-body); margin: 12px 0; padding-left: 16px; border-left: 3px solid var(--teal); }
.profile__bio { font-size: var(--fs-s); color: var(--muted); line-height: 1.8; }
.profile__book { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.profile__book img { width: 108px; border-radius: 6px; aspect-ratio: 3 / 2; object-fit: cover; flex: none; }
.profile__book p { font-size: var(--fs-s); color: var(--ink); line-height: 1.7; }
@media (min-width: 768px) {
  .profile { grid-template-columns: 170px 1fr; gap: 34px; padding: 34px; align-items: start; }
  .profile__photo { width: 170px; height: 170px; }
}

/* ---------- 実践例 ---------- */
.cases { display: grid; gap: 18px; margin-bottom: 44px; }
.case {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.case__photo { aspect-ratio: 4 / 3; overflow: hidden; }
.case__photo img { width: 100%; height: 100%; object-fit: cover; }
.case__body { padding: 20px 20px 22px; }
.case .case__school { font-size: var(--fs-s); font-weight: 700; color: var(--teal-dark); line-height: 1.7; }
.case__title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h4); color: var(--ink); line-height: 1.5; margin: 4px 0 8px; }
.case p { font-size: var(--fs-body); line-height: 1.8; }
.case__points { list-style: none; margin-top: 12px; display: grid; gap: 6px; }
.case__points li { position: relative; padding-left: 18px; font-size: var(--fs-body); line-height: 1.75; }
.case__points li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.case--text {
  justify-content: center;
  border: none;
  background:
    linear-gradient(rgba(14, 156, 176, .07) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(14, 156, 176, .07) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--teal-soft);
}
.case--text .case__body { padding: 28px 26px; }
.case--text .case__body::before {
  content: "SSH";
  display: block;
  font-family: var(--font-en); font-weight: 700; font-size: 36px; line-height: 1;
  color: var(--teal); opacity: .35; margin-bottom: 10px;
}
@media (min-width: 768px) {
  .case--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.1fr; }
  .case--wide .case__photo { aspect-ratio: auto; min-height: 100%; }
  .case--wide .case__body { padding: 32px 34px; align-self: center; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cases { grid-template-columns: repeat(2, 1fr); }
  .case--text { grid-column: 1 / -1; }
}
@media (min-width: 1024px) { .cases { grid-template-columns: repeat(3, 1fr); } }

.media { margin-top: 32px; }
/* 5点なので、2列・3列のときは最後の行を中央に寄せる */
.media__grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 16px;
  margin-bottom: 24px;
}
.media__item { flex: 0 0 calc((100% - 16px) / 2); text-align: center; }
.media__item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(18, 38, 58, .12);
  margin-bottom: 12px;
}
.media__name { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-s); color: var(--ink); line-height: 1.5; }
.media__year { font-size: var(--fs-xs); color: var(--muted); line-height: 1.6; }
.media__line { font-size: var(--fs-s); line-height: 1.9; color: var(--body-color); text-align: center; }
@media (min-width: 640px) {
  .media__grid { gap: 32px 20px; }
  .media__item { flex-basis: calc((100% - 40px) / 3); }
}
@media (min-width: 1024px) {
  .media__grid { flex-wrap: nowrap; gap: 24px; }
  .media__item { flex-basis: 0; flex-grow: 1; }
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 52px 20px 56px;
  position: relative;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-h4);
  color: var(--ink);
  line-height: 1.6;
  text-wrap: balance;
  word-break: auto-phrase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q";
  position: absolute; left: 20px; top: 18px;
  font-family: var(--font-en); font-weight: 700; font-size: 22px; color: var(--teal);
}
.faq summary::after {
  content: "";
  position: absolute; right: 22px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__a { padding: 0 24px 22px 56px; font-size: var(--fs-body); position: relative; }
.faq__a::before {
  content: "A";
  position: absolute; left: 20px; top: -2px;
  font-family: var(--font-en); font-weight: 700; font-size: 22px; color: var(--cta);
}

/* ---------- メッセージ（締め） ---------- */
.message {
  position: relative;
  padding: 88px 16px;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(14, 156, 176, .35), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(210, 65, 42, .18), transparent 50%),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--navy-deep);
  color: var(--white);
  text-align: center;
}
.message__inner { max-width: 880px; margin: 0 auto; }
.message .eyebrow { justify-content: center; }
.message__title { font-family: var(--font-head); font-weight: 900; font-size: clamp(26px, 6.6vw, 46px); line-height: 1.5; margin-bottom: 24px; }
.message__title em { color: var(--marker); }
.message p { font-size: var(--fs-body); color: #d8e3ee; text-align: left; }
.message p + p { margin-top: 14px; }
.message .message__lead { font-family: var(--font-head); font-weight: 700; font-size: clamp(18px, 4.6vw, 23px); color: var(--white); line-height: 1.7; text-align: center; margin-bottom: 28px; }
.message .message__sign { text-align: right; font-size: var(--fs-s); color: #a9bacb; margin-top: 24px; }
.message__cta { margin-top: 34px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.message__cta .btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.message__cta .btn--ghost:hover { background: var(--white); color: var(--navy); }
@media (min-width: 560px) { .message__cta { flex-direction: row; justify-content: center; } }
@media (min-width: 768px) {
  .message { padding: 120px 24px; }
  .message p { text-align: center; }
  .message .message__sign { text-align: center; }
}

/* ---------- 申し込み ---------- */
.apply { display: grid; gap: 32px; }
.apply__steps { list-style: none; display: grid; gap: 12px; counter-reset: ap; }
.apply__steps li {
  counter-increment: ap;
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start;
  font-size: var(--fs-body); line-height: 1.75;
}
.apply__steps li::before {
  content: counter(ap);
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-en); font-weight: 700; font-size: 15px;
}
.apply__steps b { display: block; color: var(--ink); font-size: var(--fs-h4); }

/* 社内ご検討用の概要 */
.brief {
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.brief summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 50px 18px 20px;
  position: relative;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-h4);
  color: var(--ink);
  line-height: 1.5;
}
.brief summary::-webkit-details-marker { display: none; }
.brief summary small { display: block; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 500; color: var(--muted); margin-top: 4px; }
.brief summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-en); font-size: 26px; font-weight: 600; color: var(--teal);
}
.brief[open] summary::after { content: "−"; }
.brief__body { padding: 0 14px 18px; }
.brief table { font-size: var(--fs-s); border-radius: 10px; }
.brief__print {
  margin-top: 14px;
  font: inherit; font-size: var(--fs-s); font-weight: 700;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  padding: 8px 20px;
  cursor: pointer;
}
.brief__print:hover { background: var(--navy); color: var(--white); }

/* フォーム */
.form {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px 20px;
  border-top: 6px solid var(--teal);
}
.form__title { font-family: var(--font-head); font-weight: 900; font-size: var(--fs-h3); color: var(--ink); line-height: 1.5; margin-bottom: 6px; }
.form__desc { font-size: var(--fs-s); color: var(--muted); margin-bottom: 20px; }
.field { margin-bottom: 20px; border: none; }
.field__label, .field legend {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--fs-label); font-weight: 700; color: var(--ink); margin-bottom: 8px;
}
.req, .opt { font-size: var(--fs-xs); font-weight: 700; border-radius: 4px; padding: 1px 7px; line-height: 1.6; }
.req { background: var(--cta); color: var(--white); }
.opt { background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  line-height: 1.6;
  transition: border-color .15s ease, background .15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
/* テキスト系の入力だけ独自の枠にし、ラジオ・チェックは :focus-visible の輪郭線を残す */
.field input[type="text"]:focus,
.field input[type="email"]:focus,
.field input[type="tel"]:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 3px rgba(14, 156, 176, .15); }
.field.is-hidden { display: none; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field__hint { font-size: var(--fs-xs); color: var(--muted); margin-top: 6px; line-height: 1.6; }
.field-row { display: grid; gap: 0 14px; }
.checks { display: grid; gap: 8px; }
.checks--inline { grid-template-columns: 1fr 1fr; }
.check {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-size: var(--fs-label); line-height: 1.6;
  transition: border-color .15s ease, background .15s ease;
}
.check:hover { border-color: #b9c7d6; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.check:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.check small { display: block; font-size: var(--fs-xs); color: var(--muted); }
.check--agree { border: none; padding: 4px 0; background: none !important; }
.check--agree .req { margin-left: 8px; }
.check--agree a { color: var(--teal-dark); }
.form__privacy { font-size: var(--fs-xs); color: var(--muted); margin: 8px 0 16px; line-height: 1.75; }
.form__privacy a { color: var(--teal-dark); }
.form__error { display: none; font-size: var(--fs-s); color: var(--cta-dark); font-weight: 700; margin-bottom: 10px; }
.form__error.is-visible { display: block; }
.form__done, .form__fallback {
  display: none;
  margin-top: 14px;
  padding: 16px 18px;
  background: var(--teal-soft);
  border-radius: 10px;
  font-size: var(--fs-s);
  line-height: 1.8;
  color: var(--ink);
}
.form__fallback { background: #fdf3e6; }
.form__done.is-visible, .form__fallback.is-visible { display: block; }
.form__done p + p, .form__fallback p + p { margin-top: 6px; }
.form__contact-link { display: flex; width: 100%; margin-top: 4px; font-size: var(--fs-s); padding: 11px 18px; }
.form__copy {
  width: 100%;
  margin: 8px 0;
  font: inherit;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  resize: vertical;
}
@media (max-width: 420px), (min-width: 1024px) and (max-width: 1179px) { .checks--inline { grid-template-columns: 1fr; } }
@media (max-width: 374px) { .form__title { font-size: 18px; } }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .apply { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .form { padding: 38px 36px; }
}

/* ---------- フッター ---------- */
/* スマホは下部の固定CTAに隠れないよう、下の余白を広めにとる */
.footer { background: #0b1f33; color: #a9bacb; padding: 56px 16px 120px; }
.footer__inner { max-width: 1100px; margin: 0 auto; }
.footer__top {
  display: grid;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer__brand { display: flex; flex-direction: column; line-height: 1.4; }
.footer__brand-sub { font-size: 13px; font-weight: 700; color: #7fd6e2; letter-spacing: .04em; }
.footer__brand-main { font-family: var(--font-head); font-weight: 900; font-size: 24px; color: var(--white); letter-spacing: .04em; margin-top: 2px; }
.footer__brand-tag { font-size: var(--fs-xs); color: #93a6b9; letter-spacing: .04em; margin-top: 10px; }
.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a { font-size: var(--fs-s); color: #c9d6e3; text-decoration: none; }
.footer__nav a:hover { color: var(--white); text-decoration: underline; }
.footer__nav a[target="_blank"]::after { content: "↗"; margin-left: .35em; font-size: .85em; color: #7fd6e2; }
.footer__bottom {
  display: grid;
  gap: 8px;
  padding-top: 24px;
  font-size: var(--fs-xs);
  color: #93a6b9;
  line-height: 1.8;
}
.footer__org span { display: block; }
@media (min-width: 768px) {
  .footer { padding: 64px 24px 48px; }
  .footer__top { grid-template-columns: 1fr auto; align-items: end; }
  .footer__nav { flex-direction: row; gap: 32px; }
  .footer__bottom { grid-template-columns: 1fr auto; align-items: center; }
  .footer__org span { display: inline; }
  .footer__org span + span::before {
    content: "";
    display: inline-block;
    width: 1px; height: .9em;
    margin: 0 1em;
    background: rgba(255, 255, 255, .25);
    vertical-align: -.1em;
  }
}

/* ---------- スマホ固定CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  gap: 8px;
  align-items: stretch;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(18, 38, 58, .08);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .sticky-cta__main { flex: 1; flex-direction: column; gap: 0; padding: 8px 14px; font-size: 17px; line-height: 1.35; }
.sticky-cta .sticky-cta__main::after { display: none; }
.sticky-cta__main small { font-family: var(--font-body); font-size: 13px; font-weight: 500; }
.sticky-cta .sticky-cta__sub { flex: none; padding: 6px 14px; font-size: 13px; line-height: 1.35; border-width: 1.5px; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ---------- 文節単位の折り返し ---------- */
/* 短い文・表のセル・カード本文だけに限定（長い本文に当てると行末がガタつくため） */
.section__lead,
.summary-table td, .usage td, .structure td, .brief td,
.program__table dd,
.issue p, .merit p, .role p,
.deliverable__use, .tl__text, .tl__corp,
.why__list li, .why__callout p,
.org li, .profile__msg,
.apply__steps li { word-break: auto-phrase; }
.tl__text, .tl__corp { text-wrap: pretty; }

/* ---------- フェードイン ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .sticky-cta { transition: none; }
}

/* ---------- 印刷 ---------- */
/* 「この概要を印刷する」ボタン押下時は社内ご検討用の概要だけを出力する */
@media print {
  .header, .sticky-cta { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  body.print-brief .footer,
  body.print-brief main > *:not(#apply),
  body.print-brief .apply__info > *:not(.brief),
  body.print-brief .form,
  body.print-brief .brief__print { display: none !important; }
  body.print-brief #apply { padding: 0; background: none; }
  body.print-brief .apply { display: block; }
  body.print-brief .brief { border: none; margin: 0; }
  body.print-brief .brief summary::after { display: none; }
  body.print-brief .brief table { font-size: 10.5pt; }
}
