@charset "UTF-8";
/* ==========================================================================
   Java Basic / Advance — java.piece-ful.com  (2026-10 リニューアル)
   piece-ful.com/personal/ のトーンに合わせた「やわらかい・とっつきやすい」版。
     生成り #fff8ef × オレンジ #f28c38 × ミント / ブルー / イエローの差し色
     丸ゴシック見出し（Zen Maru Gothic）× 本文 Noto Sans JP
     角丸カード・やわらかい影・図解（NotebookLM生成PNG）をセクションごとに配置
   価格は掲載しない（問い合わせ誘導）。日程は「11〜12月・約2カ月」の表記に統一。
   旧デザイン（インク地×アンバー）は _old-20260919/ に退避。
   ========================================================================== */

/* --------------------------------------------------- tokens */
:root {
  color-scheme: light;

  --ink: #3d3a36;
  --ink-2: #2d2a26;
  --muted: #6f6a64;
  --muted-2: #8a847c;
  --cream: #fff8ef;
  --cream-2: #fff1df;
  --white: #ffffff;

  --orange: #f28c38;
  --orange-d: #d9701c;
  --orange-l: #ffe9d4;
  --mint: #e3f4ec;
  --mint-d: #2f9c76;
  --blue: #e7f0fb;
  --blue-d: #3f7cc6;
  --yellow: #fff4cc;
  --yellow-d: #b98a00;
  --navy: #1f3a5f;
  --red: #c9573b;

  --line: rgba(61, 58, 54, .12);
  --line-2: rgba(61, 58, 54, .2);
  --shadow: 0 10px 30px rgba(61, 58, 54, .08);
  --shadow-s: 0 4px 14px rgba(61, 58, 54, .07);

  --f-head: "Zen Maru Gothic", "Noto Sans JP", "Hiragino Maru Gothic ProN", sans-serif;
  --f-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --f-en: "Lato", "Noto Sans JP", sans-serif;

  --pad: clamp(20px, 5vw, 64px);
  --max: 1080px;
  --r: 24px;
  --r-s: 16px;
}

/* --------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.5; font-weight: 700; font-family: var(--f-head); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--orange-d); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.sp { display: none; }
@media (max-width: 767px) { .sp { display: inline; } .pc { display: none; } }

/* 共通ラベル */
.eyebrow {
  font-family: var(--f-en);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--orange);
  text-transform: uppercase;
}
.sec-head { text-align: center; max-width: 46em; margin-inline: auto; }
.h2 {
  margin-top: 8px;
  font-size: clamp(25px, 3.6vw, 36px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .03em;
}
.lead {
  margin-top: 20px;
  font-size: clamp(15.5px, 1.4vw, 17.5px);
  color: var(--muted);
  text-align: left;
}
.lead b, .lead strong { color: var(--ink); font-weight: 700; }
mark {
  color: inherit;
  background: linear-gradient(transparent 62%, #ffd9b3 62%);
  padding: 0 .08em;
}
.tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 2px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.sec { padding-block: clamp(64px, 8vw, 104px); }
.sec--white { background: var(--white); }
.sec--mint { background: var(--mint); }
.sec--blue { background: var(--blue); }
.sec--cream2 { background: var(--cream-2); }

/* 図解（NotebookLM生成PNG） */
.fig {
  margin-top: 36px;
  background: var(--white);
  border-radius: var(--r);
  padding: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.fig img { display: block; width: 100%; height: auto; border-radius: 14px; }
.fig figcaption { margin-top: 10px; text-align: center; font-size: 12.5px; color: var(--muted-2); }
.fig--plain { background: transparent; border: 0; box-shadow: none; padding: 0; }

/* --------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 12px 30px;
  border-radius: 999px;
  font-family: var(--f-head);
  font-size: 16px; font-weight: 700; line-height: 1.4;
  border: 0; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background-color .2s, color .2s;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 5px 0 var(--orange-d); }
.btn-primary:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--orange-d); }
.btn-ghost { background: var(--white); color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-line { min-height: 0; padding: 0 0 3px; border-radius: 0; border-bottom: 2px solid var(--orange); font-size: 15px; }
.btn-line:hover { color: var(--orange-d); }
.btn-arrow::after { content: "→"; font-family: var(--f-sans); }

/* --------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-inline: var(--pad);
  background: rgba(255, 248, 239, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; line-height: 1.1; }
.brand-mark {
  flex: none; width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--orange); color: #fff;
  font: 900 18px/1 var(--f-en);
}
.brand strong { display: block; font: 700 16px/1.1 var(--f-head); letter-spacing: .04em; }
.brand small { display: block; margin-top: 4px; font: 700 10px/1 var(--f-en); letter-spacing: .16em; color: var(--muted-2); text-transform: uppercase; }
.site-nav { display: flex; gap: 24px; font-size: 14px; font-weight: 700; color: var(--muted); }
.site-nav a { padding-block: 4px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.site-nav a:hover { color: var(--ink); border-color: var(--orange); }
.header-cta { min-height: 42px; padding: 8px 18px; font-size: 14px; }
@media (max-width: 960px) { .site-nav { display: none; } }
@media (max-width: 480px) { .header-cta { padding: 8px 14px; font-size: 13px; } }

/* --------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 15%, #ffe3c6 0 140px, transparent 141px),
    radial-gradient(circle at 92% 80%, var(--mint) 0 180px, transparent 181px),
    var(--cream);
}
.hero-inner {
  position: relative; z-index: 1;
  padding-block: clamp(44px, 6vw, 72px) clamp(48px, 7vw, 80px);
  display: grid;
  grid-template-columns: 1fr;          /* スマホと同じ1カラム。図は文章の下に全幅で置く */
  gap: clamp(32px, 5vw, 56px);
  justify-items: start;
}
.hero-copy { max-width: 46em; }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(31px, 4.8vw, 50px);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: .03em;
}
.hero h1 em { font-style: normal; color: var(--orange-d); white-space: nowrap; }
.hero-lead { margin-top: 22px; max-width: 36em; font-size: clamp(15.5px, 1.35vw, 17.5px); color: var(--muted); }
.hero-lead strong { color: var(--ink); font-weight: 700; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted-2); }

/* 図は全幅（最大 960px）で大きく見せる */
.hero-art { position: relative; width: 100%; max-width: 960px; justify-self: center; }
.hero-art .fig { margin-top: 0; transform: rotate(-.6deg); }
.hero-art::before, .hero-art::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
}
.hero-art::before { width: 34%; aspect-ratio: 1; right: -6%; top: -14%; background: var(--yellow); }
.hero-art::after { width: 26%; aspect-ratio: 1; left: -5%; bottom: -12%; background: var(--blue); }
.hero-spark { position: absolute; font-size: 22px; color: var(--orange); }
.hero-spark.is-1 { top: -14px; left: 8%; }
.hero-spark.is-2 { bottom: -6px; right: 12%; font-size: 16px; color: var(--mint-d); }

/* 実績ボックス（Basic） */
.proof {
  margin-top: 26px;
  max-width: 40em;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--r-s);
  border-left: 5px solid var(--orange);
  box-shadow: var(--shadow-s);
}
.proof strong { display: block; font-family: var(--f-head); font-size: clamp(16.5px, 1.7vw, 20px); line-height: 1.6; }
.proof-sub { display: block; margin-top: 6px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.proof small { display: block; margin-top: 8px; font-size: 11.5px; line-height: 1.7; color: var(--muted-2); }


/* --------------------------------------------------- quick facts */
.facts {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0 var(--pad) clamp(40px, 6vw, 64px);
  max-width: var(--max);
}
.facts > div {
  padding: 18px 18px 16px;
  background: var(--white);
  border-radius: var(--r-s);
  box-shadow: var(--shadow-s);
  border-top: 4px solid var(--orange);
}
.facts > div:nth-child(2) { border-top-color: var(--mint-d); }
.facts > div:nth-child(3) { border-top-color: var(--blue-d); }
.facts > div:nth-child(4) { border-top-color: var(--yellow-d); }
.facts dt { font: 900 11px/1 var(--f-en); letter-spacing: .18em; color: var(--muted-2); }
.facts dd { margin: 8px 0 0; font-family: var(--f-head); font-size: clamp(15px, 1.4vw, 17px); font-weight: 700; line-height: 1.55; }
.facts dd em { font-style: normal; color: var(--orange-d); }
.facts dd small { display: block; font-family: var(--f-sans); font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
@media (max-width: 820px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------- 01 こんな方に */
.worries {
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.worries li {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--r-s);
  box-shadow: var(--shadow-s);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
}
.worries .ic {
  flex: none; width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--orange-l); color: var(--orange-d);
}
.worries li:nth-child(2) .ic { background: var(--mint); color: var(--mint-d); }
.worries li:nth-child(3) .ic { background: var(--blue); color: var(--blue-d); }
.worries li:nth-child(4) .ic { background: var(--yellow); color: var(--yellow-d); }
.worries .ic svg { width: 24px; height: 24px; }
.turn {
  margin: 30px auto 0;
  max-width: 40em;
  padding: 20px 26px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  text-align: center;
  font-family: var(--f-head);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 700;
  position: relative;
}
.turn::after {
  content: ""; position: absolute; left: 50%; top: -12px; transform: translateX(-50%);
  width: 0; height: 0; border: 12px solid transparent; border-bottom-color: var(--ink); border-top: 0;
}
@media (max-width: 720px) { .worries { grid-template-columns: 1fr; } }

/* --------------------------------------------------- 02 共通土台 */
.base {
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.base > div {
  padding: 22px 20px;
  background: var(--white);
  border-radius: var(--r-s);
  box-shadow: var(--shadow-s);
  text-align: center;
}
.base h3 { font-size: 18px; }
.base h3 span { display: block; margin-top: 2px; font: 900 10px/1 var(--f-en); letter-spacing: .16em; color: var(--muted-2); }
.base p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.base p b { color: var(--orange-d); font-weight: 700; }
@media (max-width: 720px) { .base { grid-template-columns: 1fr; } }

.why { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why article {
  padding: 24px 22px;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-s);
}
.why .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font: 900 14px/1 var(--f-en); }
.why h4 { margin-top: 12px; font-size: 17px; line-height: 1.6; }
.why p { margin-top: 10px; font-size: 14.5px; line-height: 1.9; color: var(--muted); }
@media (max-width: 800px) { .why { grid-template-columns: 1fr; } }

/* --------------------------------------------------- 03 3つの道 */
.roles { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.role {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px 22px 24px;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-s);
  border: 2px solid transparent;
}
.role--escort { border-color: var(--orange); background: #fffaf3; }
.role .badge {
  position: absolute; top: -14px; left: 20px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--orange); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
}
.role-h b { display: block; font-family: var(--f-head); font-size: 21px; line-height: 1.5; }
.role-h span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.7; color: var(--muted-2); }
.role dl { display: grid; gap: 12px; }
.role dt { font: 900 10.5px/1 var(--f-en); letter-spacing: .14em; color: var(--muted-2); }
.role dd { margin: 5px 0 0; font-size: 14.5px; line-height: 1.9; color: var(--muted); }
.role--escort dt { color: var(--orange-d); }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr; gap: 24px; } }

.roles-note {
  margin: 30px auto 0; max-width: 46em;
  padding: 18px 22px;
  background: var(--white);
  border-left: 5px solid var(--orange);
  border-radius: var(--r-s);
  font-size: 15.5px; color: var(--muted);
}
.roles-note b { color: var(--ink); font-weight: 700; }

.honesty {
  margin: 24px auto 0; max-width: 46em;
  padding: 22px 26px;
  border: 2px dashed var(--line-2);
  border-radius: var(--r);
  background: var(--cream);
}
.honesty h3 { font-size: 16px; }
.honesty ul { margin-top: 12px; display: grid; gap: 6px; }
.honesty li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--muted); }
.honesty li::before { content: "×"; position: absolute; left: 0; font-weight: 700; color: var(--red); }

/* --------------------------------------------------- 04 学び方 */
.method { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.method > div {
  padding: 22px 20px;
  background: var(--white);
  border-radius: var(--r-s);
  box-shadow: var(--shadow-s);
}
.method .step { font: 900 11px/1 var(--f-en); letter-spacing: .18em; color: var(--orange); }
.method h4 { margin-top: 8px; font-size: 17px; }
.method p { margin-top: 8px; font-size: 14px; line-height: 1.9; color: var(--muted); }
@media (max-width: 900px) { .method { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .method { grid-template-columns: 1fr; } }

/* --------------------------------------------------- 05 カリキュラム（日程） */
.cur { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cur li {
  display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: start;
  padding: 14px 16px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-s);
  font-size: 14.5px; line-height: 1.7;
}
.cur .no { font: 900 13px/1.6 var(--f-en); color: var(--orange-d); letter-spacing: .06em; }
.cur .no small { display: block; font-size: 9.5px; color: var(--muted-2); letter-spacing: .14em; }
.cur b { font-family: var(--f-head); }
.cur li.is-oop { background: #fffaf3; border-left: 4px solid var(--orange); }
.cur li.is-web { background: #f3f8fe; border-left: 4px solid var(--blue-d); }
.cur li.is-review { background: var(--mint); }
.cur li.is-last { background: var(--yellow); }
.cur .sub { display: block; font-size: 12.5px; color: var(--muted); }
.cur-legend { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.cur-legend .lg { display: inline-block; padding: 1px 9px; border-radius: 999px; font-weight: 700; color: var(--ink); }
.cur-legend .lg--oop { background: #fffaf3; border: 1px solid var(--orange); }
.cur-legend .lg--web { background: #f3f8fe; border: 1px solid var(--blue-d); }
@media (max-width: 720px) { .cur { grid-template-columns: 1fr; } }

.period {
  margin-top: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.period > div {
  padding: 22px 24px;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-s);
}
.period h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.period h3 .ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-l); color: var(--orange-d); }
.period h3 .ic svg { width: 18px; height: 18px; }
.period dl { margin-top: 14px; display: grid; gap: 8px; }
.period dl > div { display: grid; grid-template-columns: 92px 1fr; gap: 4px 14px; }
.period dt { font: 900 10.5px/1 var(--f-en); letter-spacing: .14em; color: var(--muted-2); padding-top: 7px; }
.period dd { margin: 0; font-size: 14.5px; color: var(--muted); }
.period dd b { color: var(--ink); }
.period p { margin-top: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .period { grid-template-columns: 1fr; } .period dl > div { grid-template-columns: 1fr; } }

.notes { margin: 28px auto 0; display: grid; gap: 10px; max-width: 48em; }
.notes li { position: relative; padding-left: 22px; font-size: 13.5px; line-height: 1.9; color: var(--muted); }
.notes li::before { content: "※"; position: absolute; left: 0; color: var(--muted-2); }
.notes li b { color: var(--ink); font-weight: 700; }

/* --------------------------------------------------- 06 修了後・収入 */
.after { margin-top: 36px; display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.after .fig { margin-top: 0; }
.after-body { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.after-body .disc { grid-column: 1 / -1; }
@media (max-width: 860px) { .after-body { grid-template-columns: 1fr; } }
.after-body > div { padding: 20px 22px; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-s); }
.after-body h3 { font-size: 16.5px; }
.after-body p { margin-top: 8px; font-size: 14.5px; line-height: 1.9; color: var(--muted); }
.after-body p b { color: var(--ink); }
.case { margin-top: 12px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.case > div { display: grid; grid-template-columns: 64px 1fr; gap: 4px 14px; padding: 10px 14px; background: var(--white); }
.case dt { font: 900 10.5px/1 var(--f-en); letter-spacing: .12em; color: var(--muted-2); padding-top: 6px; }
.case dd { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.case-note { margin-top: 10px; font-size: 12px; line-height: 1.8; color: var(--muted-2); }
.disc { padding: 16px 18px; border: 2px dashed var(--line-2); border-radius: var(--r-s); font-size: 13.5px; line-height: 1.9; color: var(--muted); }
.disc b { color: var(--ink); }

/* --------------------------------------------------- 07 受講料（問い合わせ） */
.price { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 24px; align-items: stretch; }
.price-card {
  padding: 30px 28px;
  background: var(--white);
  border-radius: var(--r);
  border: 2px solid var(--orange);
  box-shadow: var(--shadow);
  text-align: center;
}
.price-card .tagline { font: 900 11px/1 var(--f-en); letter-spacing: .18em; color: var(--muted-2); }
.price-card .ask { margin-top: 14px; font-family: var(--f-head); font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; line-height: 1.5; }
.price-card .ask small { display: block; font-family: var(--f-sans); font-size: 13.5px; font-weight: 400; color: var(--muted); margin-top: 6px; }
.price-card .btn { margin-top: 20px; width: 100%; }
.price-card ul { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; text-align: left; }
.price-card li { position: relative; padding-left: 22px; font-size: 14px; color: var(--muted); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--mint-d); font-weight: 700; }
.price-side { display: grid; gap: 16px; align-content: start; }
.price-side > div { padding: 20px 22px; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-s); }
.price-side h3 { font-size: 16.5px; }
.price-side p { margin-top: 8px; font-size: 14.5px; line-height: 1.9; color: var(--muted); }
.price-side p b { color: var(--ink); }
@media (max-width: 860px) { .price { grid-template-columns: 1fr; } }

/* --------------------------------------------------- 08 講師 */
.prof {
  margin-top: 36px;
  display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center;
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  border-radius: 32px;
  box-shadow: var(--shadow);
}
.prof-photo { position: relative; width: 100%; }
.prof-photo::before {
  content: ""; position: absolute; inset: 0; transform: translate(10px, 10px);
  background: var(--orange-l); border-radius: 50%;
}
.prof-photo img {
  position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: 50% 22%;
  border-radius: 50%; border: 3px solid var(--white); background: var(--white);
}
.prof-photo figcaption { margin-top: 14px; text-align: center; font: 900 10px/1 var(--f-en); letter-spacing: .18em; color: var(--muted-2); }
.prof-body h3 { font-size: 24px; }
.prof-body h3 span { margin-left: 12px; font-family: var(--f-sans); font-size: 13px; font-weight: 400; color: var(--muted); }
.prof-body p { margin-top: 14px; font-size: 15px; color: var(--muted); }
.stats { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stats > div { padding: 14px 16px; border-radius: 14px; background: var(--cream); text-align: center; }
.stats b { display: block; font: 900 clamp(20px, 2.6vw, 26px)/1.3 var(--f-head); color: var(--orange-d); }
.stats span { font-size: 12px; color: var(--muted-2); }
.prof-note { margin-top: 12px; font-size: 12.5px; line-height: 1.8; color: var(--muted-2); }
@media (max-width: 680px) {
  .prof { grid-template-columns: 1fr; gap: 24px; }
  .prof-photo { max-width: 180px; margin-inline: auto; }
  .stats { grid-template-columns: 1fr; }
}

/* --------------------------------------------------- 09 適性 */
.fit { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fit > div { padding: 26px 24px; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-s); }
.fit .yes { border-top: 5px solid var(--mint-d); }
.fit .no { border-top: 5px solid var(--red); }
.fit h3 { font-size: 17px; }
.fit ul { margin-top: 14px; display: grid; gap: 9px; }
.fit li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.85; color: var(--muted); }
.fit .yes li::before { content: "○"; position: absolute; left: 0; top: 1px; font-size: 13px; font-weight: 700; color: var(--mint-d); }
.fit .no li::before { content: "×"; position: absolute; left: 0; font-weight: 700; color: var(--red); }
@media (max-width: 800px) { .fit { grid-template-columns: 1fr; } }

/* --------------------------------------------------- 10 FAQ */
.faq { margin-top: 32px; display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details { background: var(--white); border-radius: var(--r-s); box-shadow: var(--shadow-s); overflow: hidden; }
.faq summary {
  position: relative;
  list-style: none; cursor: pointer;
  padding: 18px 48px 18px 56px;
  font-family: var(--f-head);
  font-size: 15.5px; font-weight: 700; line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; position: absolute; left: 16px; top: 16px;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: #fff; font: 900 13px/1 var(--f-en);
}
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 14px;
  font: 400 24px/1 var(--f-en); color: var(--orange-d);
}
.faq details[open] summary::after { content: "−"; }
.faq details > p { padding: 0 22px 20px 56px; font-size: 14.5px; line-height: 2; color: var(--muted); }

/* --------------------------------------------------- 11 流れ・最終CTA */
.flow { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.flow > div { position: relative; padding: 22px 18px 20px; background: var(--white); border-radius: var(--r-s); box-shadow: var(--shadow-s); text-align: center; }
.flow .step { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font: 900 15px/1 var(--f-en); }
.flow h4 { margin-top: 10px; font-size: 16px; }
.flow p { margin-top: 6px; font-size: 13.5px; line-height: 1.8; color: var(--muted); }
@media (max-width: 760px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .flow { grid-template-columns: 1fr; } }

.final {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, #ffe3c6 0 140px, transparent 141px),
    radial-gradient(circle at 94% 85%, var(--mint) 0 160px, transparent 161px),
    var(--cream-2);
}
.final-inner { position: relative; z-index: 1; padding-block: clamp(64px, 8vw, 104px); text-align: center; }
.final h2 { margin-top: 8px; font-size: clamp(25px, 3.6vw, 36px); font-weight: 900; line-height: 1.5; letter-spacing: .03em; }
.final p.final-lead { margin: 20px auto 0; max-width: 40em; font-size: 15.5px; line-height: 2; color: var(--muted); text-align: left; }
.final .hero-actions { margin-top: 30px; justify-content: center; }
.final .hero-note { text-align: center; }

/* --------------------------------------------------- footer */
.site-footer { padding-block: 40px; border-top: 1px solid var(--line); background: var(--white); }
.site-footer .org { font: 900 11px/1 var(--f-en); letter-spacing: .18em; color: var(--muted); }
.site-footer p.notes-footer { margin-top: 14px; font-size: 12.5px; line-height: 2; color: var(--muted-2); }
.site-footer .links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; }
.site-footer .links a { color: var(--muted); border-bottom: 1px solid var(--line-2); }
.site-footer .copy { margin-top: 20px; font: 400 11px/1 var(--f-en); color: var(--muted-2); }

/* --------------------------------------------------- PC幅で本文を少し大きく */
@media (min-width: 860px) {
  .hero-lead { font-size: 18.5px; }
  .lead { font-size: 18.5px; }
  .base p { font-size: 16.5px; }
  .why p { font-size: 15.5px; }
  .role dd { font-size: 15.5px; }
  .roles-note { font-size: 17px; }
  .honesty li { font-size: 15.5px; }
  .method p { font-size: 15px; }
  .cur li { font-size: 15.5px; }
  .notes li { font-size: 14.5px; }
  .period dd, .period p { font-size: 15.5px; }
  .after-body p { font-size: 15.5px; }
  .price-side p, .price-card li { font-size: 15.5px; }
  .prof-body p { font-size: 16.5px; }
  .fit li { font-size: 15.5px; }
  .faq details > p { font-size: 15.5px; }
  .final p.final-lead { font-size: 17px; }
  .flow p { font-size: 14.5px; }
}

/* --------------------------------------------------- 2カラム比較（Advance 対象者） */
.programs { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 820px) { .programs { grid-template-columns: 1fr; gap: 24px; } }

/* --------------------------------------------------- テキストリンク */
.text-link {
  display: inline-block; margin-top: 14px;
  font-size: 14.5px; font-weight: 700;
  color: var(--orange-d);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 1px;
}
.text-link:hover { color: var(--ink); border-color: var(--ink); }

/* --------------------------------------------------- 日本語の折り返し（孤立行の防止）
   ビルド時に文節の境目へゼロ幅スペースを入れている（scripts/phrase_wrap.mjs）。
   文節の途中では折り返さず、長すぎる語だけ強制的に折る。 */
body { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
h1, h2, h3, h4, summary, .tag, .turn { text-wrap: balance; }
p, li, dd, .lead { text-wrap: pretty; }

/* --------------------------------------------------- 受講生の声 */
.voices { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.voice {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px 22px 24px;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-s);
  border-top: 5px solid var(--orange);
}
.voice:nth-child(2) { border-top-color: var(--blue-d); }
.voice:nth-child(3) { border-top-color: var(--mint-d); }
.voice::before {
  content: "“"; position: absolute; right: 18px; top: 4px;
  font: 900 64px/1 var(--f-en); color: var(--orange-l);
}
.voice:nth-child(2)::before { color: var(--blue); }
.voice:nth-child(3)::before { color: var(--mint); }
.voice-who { display: flex; align-items: center; gap: 16px; }
.voice-ic { flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--orange); }
.voice:nth-child(2) .voice-ic { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--blue-d); }
.voice:nth-child(3) .voice-ic { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--mint-d); }
.voice-ic svg { display: block; width: 100%; height: 100%; }
.voice-who b { display: block; font-family: var(--f-head); font-size: 17px; line-height: 1.4; }
.voice-who div span { display: block; font-size: 12.5px; color: var(--muted-2); }
.voice p { font-size: 14.5px; line-height: 1.95; color: var(--muted); }
.voice-note { margin-top: 24px; font-size: 12.5px; line-height: 1.8; color: var(--muted-2); text-align: center; }
@media (min-width: 860px) { .voice p { font-size: 15px; } }
@media (max-width: 900px) { .voices { grid-template-columns: 1fr; gap: 20px; } }

/* --------------------------------------------------- 06 修了後（講師の案件実績） */
.works { margin-top: 28px; }
.works h3 { font-size: 16.5px; }
.works-lead { margin-top: 8px; font-size: 14.5px; line-height: 1.9; color: var(--muted); }
.works-grid { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.work { padding: 18px 22px; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-s); border-top: 4px solid var(--orange); }
.work--sub { border-top-color: var(--blue-d); }
.work-role { display: inline-block; padding: 1px 12px; border-radius: 999px; font: 700 12.5px/1.8 var(--f-head); background: var(--orange-l); color: var(--orange-d); }
.work--sub .work-role { background: var(--blue); color: var(--blue-d); }
.work h4 { margin-top: 8px; font-size: 16px; }
.work dl { margin-top: 10px; }
.work dl > div { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 6px 0; border-top: 1px dashed var(--line-2); font-size: 14px; line-height: 1.7; }
.work dt { font: 700 12px/1.9 var(--f-en); color: var(--muted-2); letter-spacing: .08em; }
.work dd b { font-size: 15.5px; color: var(--ink-2); }
.works-rate { margin-top: 14px; padding: 10px 16px; background: var(--yellow); border-radius: 14px; font-size: 14px; line-height: 1.8; }
.works-rate b { font-family: var(--f-head); }
.works-note { margin-top: 12px; font-size: 12.5px; line-height: 1.8; color: var(--muted-2); }
@media (max-width: 720px) { .works-grid { grid-template-columns: 1fr; } }
