/* ============================================================
   CycleGen — サイト共通デザインシステム
   出典: Claude Design 制作物 (cyclegen / download.dc.html) を実装に移植
   ブランド規定: CYCLE26.1 ブリーフ（緑基調 / Zen Kaku Gothic New・Inter / Noto Sans）
   ============================================================ */

:root {
  --green: #30B490;
  --green-hover: #2aa284;
  --dark: #125E62;
  --ink: #181413;
  --yellow: #F5D243;
  --base: #F4F4F4;
  --mint: #ECF5F1;
  --white: #FFFFFF;

  --ink-72: rgba(24, 20, 19, 0.72);
  --ink-70: rgba(24, 20, 19, 0.70);
  --ink-66: rgba(24, 20, 19, 0.66);
  --ink-60: rgba(24, 20, 19, 0.60);
  --ink-50: rgba(24, 20, 19, 0.50);
  --ink-40: rgba(24, 20, 19, 0.40);

  --line-08: rgba(18, 94, 98, 0.08);
  --line-10: rgba(18, 94, 98, 0.10);
  --line-18: rgba(18, 94, 98, 0.18);
  --line-28: rgba(18, 94, 98, 0.28);

  --shadow-green: 0 4px 14px rgba(48, 180, 144, 0.30);
  --shadow-card: 0 20px 50px rgba(18, 94, 98, 0.08);

  --max: 1180px;
  --pad: 32px;

  --font-head: 'Inter', 'Zen Kaku Gothic New', sans-serif;
  --font-body: 'Noto Sans', 'Noto Sans JP', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
::selection { background: var(--yellow); color: var(--ink); }

body {
  background: var(--base);
  color: var(--ink);
  font-family: var(--font-body);
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* PDF共有・印刷時にも緑が乗るようにする（CYCLE28ドキュメントの小改善案） */
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.accent { color: var(--green); }

h1.display, h2.h-lg, h3.h-md {
  font-family: var(--font-head);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
h1.display { font-weight: 800; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.16; letter-spacing: -0.015em; }
h2.h-lg    { font-weight: 800; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.2; }
h3.h-md    { font-weight: 700; font-size: 20px; }

.lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
  color: var(--ink-70);
  margin: 0;
}
.body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-70);
  margin: 0;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 244, 244, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-10);
}
.site-header .wrap {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand .name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--dark);
}
.brand .tag {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--green);
  background: rgba(48, 180, 144, 0.12);
  padding: 3px 7px;
  border-radius: 6px;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-72);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--dark); }
.nav a.is-active { font-weight: 700; color: var(--dark); }

.header-right { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(18, 94, 98, 0.07);
  border-radius: 9px;
  padding: 3px;
}
.lang-toggle button {
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-50);
}
.lang-toggle button.is-on {
  background: var(--white);
  color: var(--dark);
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(18, 94, 98, 0.18);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-head);
  text-decoration: none;
  border: none;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  background: var(--green);
  padding: 10px 18px;
  border-radius: 10px;
  box-shadow: var(--shadow-green);
}
.btn-primary:hover { background: var(--green-hover); }
.btn-dark {
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  background: var(--dark);
  padding: 13px 26px;
  border-radius: 11px;
}
.btn-ghost {
  font-weight: 600;
  font-size: 15px;
  color: var(--dark);
  background: transparent;
  border: 1.5px solid var(--line-28);
  padding: 11px 22px;
  border-radius: 11px;
}
.btn-ghost:hover { border-color: var(--dark); }
.btn-text {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-60);
  background: transparent;
  padding: 8px 4px;
}

/* ===== Sections ===== */
section { width: 100%; }
.sec-white { background: var(--white); }
.sec-mint  { background: var(--mint); }
.pad-lg { padding: 88px 0; }
.pad-hero { padding: 80px 0 48px; }

/* ===== Document cards ===== */
.card-grid { display: flex; flex-wrap: wrap; gap: 18px; }
.doc-card {
  flex: 1 1 250px;
  text-decoration: none;
  background: var(--base);
  border: 1px solid var(--line-08);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.doc-card:hover { border-color: var(--line-28); transform: translateY(-2px); }
.doc-card.is-soon { opacity: 0.7; pointer-events: none; }
.doc-card .top { display: flex; align-items: center; justify-content: space-between; }
.doc-card .meta {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-40);
}
.doc-card .title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 4px;
}
.doc-card .desc { font-size: 13.5px; line-height: 1.6; color: var(--ink-60); }

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 64px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.site-footer .cols {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer .blurb { max-width: 360px; }
.site-footer .blurb p { margin: 0; font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.66); }
.site-footer .brand .name { color: var(--white); }
.foot-groups { display: flex; flex-wrap: wrap; gap: 40px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col .label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.foot-col a, .foot-col span { font-size: 14px; color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.foot-col a:hover { color: var(--white); }
.foot-col span.dim { color: rgba(255, 255, 255, 0.5); }
.foot-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.foot-bottom span { font-family: 'Inter', sans-serif; font-size: 13px; color: rgba(255, 255, 255, 0.5); }

/* ===== index marketing page — hover states (素のHTMLでは style-hover が効かないため) ===== */
.j-solid:hover { background: #2aa284; }
.j-ghost:hover { border-color: #125E62; }
.j-link:hover { opacity: 0.78; }
.j-cta-ghost:hover { border-color: rgba(18, 94, 98, 0.30); }
.j-cta-solid:hover { background: #2aa284; }

/* ===== Q&A支援（Copy for LLM / Open in Claude / Open in ChatGPT） =====
   来訪者自身のClaude/ChatGPTに、このページの .md 文脈を渡すためのブロック。
   「モデルは借りる。文脈は自分で持つ」を訪問体験で体現する。 */
.llm-ask {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--line-10);
  border-radius: 20px;
  padding: 34px 36px;
  box-shadow: var(--shadow-card);
}
.llm-ask-text { flex: 1 1 380px; }
.llm-ask-text h2 { margin: 0 0 10px; }
.llm-ask-text p { max-width: 520px; }
.llm-ask-actions {
  flex: 0 1 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.llm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid var(--line-28);
  padding: 11px 18px;
  border-radius: 11px;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.llm-btn:hover { border-color: var(--dark); }
.llm-btn-primary {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
  box-shadow: var(--shadow-green);
}
.llm-btn-primary:hover { background: var(--green-hover); border-color: var(--green-hover); }
.llm-btn svg { flex-shrink: 0; }
.llm-status {
  flex-basis: 100%;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  min-height: 18px;
}
.llm-status:empty { min-height: 0; }
@media (max-width: 760px) {
  .llm-ask { padding: 26px; }
  .llm-ask-actions { width: 100%; }
  .llm-btn { flex: 1 1 auto; justify-content: center; }
}

/* ===== FAQ（よくある質問・ネイティブ details アコーディオン） ===== */
.faq-cat { margin-bottom: 44px; }
.faq-cat:last-child { margin-bottom: 0; }
.faq-cat-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--dark);
  margin: 0 0 16px;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line-10);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: var(--line-28); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--green);
  line-height: 1.55;
}
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin: 5px 0 0 auto;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(225deg); }
.faq-a {
  padding: 0 24px 22px 50px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-70);
}
.faq-a p { margin: 0; }
@media (max-width: 760px) {
  .faq-a { padding-left: 24px; }
}

/* ===== Reveal animation (控えめなフェードイン) ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Download page — 生成フォーム / Finish / ソースコード
   ============================================================ */

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}
.split .col-text { flex: 1 1 340px; position: sticky; top: 96px; }
.split .col-form { flex: 1 1 460px; }
.split.center { align-items: center; }
.split .col-text p, .split .col-form p { max-width: 400px; }

/* Generator form card */
.gen-card {
  background: var(--white);
  border: 1px solid var(--line-10);
  border-radius: 22px;
  padding: 34px;
  box-shadow: var(--shadow-card);
}
.gen-progress-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.gen-track {
  height: 6px;
  border-radius: 999px;
  background: var(--line-10);
  overflow: hidden;
  margin: 8px 0 28px;
}
.gen-fill {
  height: 100%;
  width: 20%;
  background: var(--green);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.gen-q h3 { margin: 0 0 18px; }
.gen-q .desc { margin: -8px 0 18px; font-size: 14px; line-height: 1.7; color: var(--ink-60); }

.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  flex: 1 1 44%;
  min-width: 150px;
  text-align: left;
  cursor: pointer;
  border: 1.5px solid var(--line-18);
  background: var(--white);
  color: var(--ink);
  padding: 15px 18px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.chip .sub { display: block; font-size: 12px; color: var(--ink-50); margin-top: 3px; }
.chip:hover { border-color: var(--line-28); }
.chip.is-sel {
  border-color: var(--green);
  background: rgba(48, 180, 144, 0.10);
  color: var(--dark);
  font-weight: 700;
}
.chip.compact { flex: 1 1 30%; min-width: 120px; text-align: center; }

.field {
  width: 100%;
  border: 1.5px solid var(--line-18);
  background: var(--white);
  color: var(--ink);
  padding: 15px 18px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
}
.field:focus { outline: none; border-color: var(--green); }
.field + .field { margin-top: 10px; }
.suggest-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.suggest {
  cursor: pointer;
  font-size: 13px;
  color: var(--dark);
  background: rgba(18, 94, 98, 0.07);
  border: none;
  padding: 7px 13px;
  border-radius: 999px;
}
.suggest:hover { background: rgba(18, 94, 98, 0.13); }
.custom-area { display: none; margin-top: 12px; }
.custom-area.is-open { display: block; }

.gen-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}

/* Done screen */
.gen-done { display: none; text-align: center; padding: 8px 0; }
.gen-done .check {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(48, 180, 144, 0.14);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.gen-done h3 { margin: 0 0 8px; font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--dark); }
.gen-done p { margin: 0 0 22px; font-size: 15px; line-height: 1.7; color: var(--ink-66); }
.zip-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--base);
  border: 1px solid var(--line-10);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
  text-align: left;
}
.zip-row .fn { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px; color: var(--ink); }
.zip-row .sz { font-size: 12px; color: var(--ink-50); }
.done-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Finish drop zone */
.finish-drop {
  background: var(--white);
  border: 2px dashed rgba(48, 180, 144, 0.5);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.finish-drop.is-drag { border-color: var(--green); background: rgba(48, 180, 144, 0.06); }
.finish-flow { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 20px; }
.finish-flow .ft { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.finish-flow .ft span { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; color: var(--ink-50); }
.finish-drop .cta {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}
.finish-controls { display: none; margin-top: 18px; }
.finish-controls.is-open { display: block; }
.finish-controls .fname { font-size: 13px; color: var(--dark); font-weight: 700; margin: 0 0 12px; }
.select {
  width: 100%;
  border: 1.5px solid var(--line-18);
  background: var(--white);
  color: var(--ink);
  padding: 13px 16px;
  border-radius: 11px;
  font-family: var(--font-body);
  font-size: 15px;
  margin-bottom: 14px;
}

/* Source code panel */
.source-panel {
  background: var(--dark);
  border-radius: 22px;
  padding: 48px 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.source-panel .left { max-width: 560px; }
.source-panel .row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.source-panel h2 { font-family: var(--font-head); font-weight: 800; font-size: 24px; color: var(--white); margin: 0; }
.source-panel p { margin: 0; font-size: 15.5px; line-height: 1.75; color: rgba(255, 255, 255, 0.76); }
.source-panel .right { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.soon-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.10);
  padding: 13px 24px; border-radius: 11px; white-space: nowrap;
}
.source-panel .lic { font-family: 'Inter', sans-serif; font-size: 12px; color: rgba(255, 255, 255, 0.45); }

/* ============================================================
   1ページ版トップ（CYCLE27.2）— 新規セクション用
   既存トークン（--green / --dark / --mint / --base / --yellow）と
   既存コンポーネント（.wrap / .eyebrow / .lead / .btn-* / .card-grid /
   .site-header / .site-footer）は流用し、ここでは再定義しない。
   ============================================================ */

/* --- 共通: セクション見出しブロック --- */
.sec-head { max-width: 780px; margin: 0 0 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { margin: 0 0 18px; }
.sec-head .lead { max-width: 720px; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }

/* --- ❶ ヒーロー（濃緑ベタ・宣言型） --- */
.hero-declare {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
  padding: 108px 0 104px;
}
.hero-declare::after {
  content: "";
  position: absolute;
  top: -140px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48, 180, 144, 0.30) 0%, rgba(48, 180, 144, 0) 68%);
  pointer-events: none;
}
.hero-declare .wrap { position: relative; z-index: 1; }
.hero-declare .eyebrow { color: rgba(255, 255, 255, 0.60); margin-bottom: 26px; }
.hero-declare h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero-declare .sub {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.5;
  color: var(--yellow);
  margin: 0 0 26px;
}
.hero-declare .hero-lead {
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 40px;
  max-width: 640px;
}
.hero-declare .cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-on-dark {
  font-weight: 700;
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
  padding: 16px 30px;
  border-radius: 12px;
}
.btn-on-dark:hover { background: rgba(255, 255, 255, 0.88); }
.btn-on-dark-ghost {
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.34);
  padding: 15px 28px;
  border-radius: 12px;
}
.btn-on-dark-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

/* --- 共通: 説明カード（❷❸❻） --- */
.info-card {
  flex: 1 1 280px;
  background: var(--white);
  border: 1px solid var(--line-10);
  border-radius: 18px;
  padding: 30px 28px;
}
.info-card .num {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 12px;
}
.info-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 12px;
}
.info-card p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--ink-70); }
.sec-white .info-card { background: var(--base); }

/* --- 共通: 締めの一行（セクション末尾の小さな言い切り） --- */
.sec-note {
  margin: 32px 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  color: var(--dark);
}
.sec-note.center { text-align: center; }

/* --- ❸ 創業者の問い（濃緑バー） --- */
.quote-bar {
  background: var(--dark);
  color: var(--white);
  border-radius: 20px;
  padding: 48px 44px;
  margin-top: 40px;
  text-align: center;
}
.quote-bar blockquote {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(21px, 3vw, 32px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--white);
  text-wrap: balance;
}
.quote-bar cite {
  font-style: normal;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
}

/* --- ❹❺ 締めバー（言い切る場所） --- */
.declare-bar {
  background: var(--dark);
  color: var(--white);
  border-radius: 20px;
  padding: 44px 40px;
  margin-top: 48px;
  text-align: center;
}
.declare-bar p {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(19px, 2.8vw, 28px);
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--white);
  text-wrap: balance;
}
.declare-bar.is-hero { padding: 72px 40px; }
.declare-bar.is-hero p { font-size: clamp(26px, 4.6vw, 50px); line-height: 1.28; }

/* --- ❹ PDCA循環図 --- */
.cycle-diagram {
  background: var(--white);
  border: 1px solid var(--line-10);
  border-radius: 22px;
  padding: 40px 36px;
}
.cycle-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}
.cycle-step {
  position: relative;
  background: var(--base);
  border: 1px solid var(--line-10);
  border-radius: 16px;
  padding: 24px 20px;
}
.cycle-step.is-ai { background: rgba(48, 180, 144, 0.10); border-color: rgba(48, 180, 144, 0.28); }
.cycle-step.is-human { background: rgba(245, 210, 67, 0.16); border-color: rgba(245, 210, 67, 0.50); }
.cycle-step .role {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 8px;
}
.cycle-step.is-ai .role { color: var(--green); }
.cycle-step h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  color: var(--dark);
  margin: 0 0 8px;
}
.cycle-step p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--ink-70); }
.cycle-step .time {
  display: inline-block;
  margin-top: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-50);
}
.cycle-store {
  margin-top: 18px;
  background: var(--dark);
  border-radius: 16px;
  padding: 26px 28px;
  color: var(--white);
  text-align: center;
}
.cycle-store .t {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 8px;
}
.cycle-store p { margin: 0; font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, 0.74); }

/* --- ❸❺ 2カード対比 --- */
.compare-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.compare-card {
  border-radius: 20px;
  padding: 32px 30px;
  border: 1px solid var(--line-10);
  background: var(--white);
}
.compare-card.is-borrowed {
  background: rgba(24, 20, 19, 0.04);
  border-color: rgba(24, 20, 19, 0.10);
}
.compare-card.is-own {
  background: var(--white);
  border: 2px solid var(--green);
  box-shadow: var(--shadow-card);
}
.compare-card .label {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 12px;
}
.compare-card.is-own .label { color: var(--green); }
.compare-card h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 14px;
}
.compare-card.is-own h3 { color: var(--dark); }
.compare-card p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--ink-70); }
.compare-card p strong { color: var(--ink); font-weight: 700; }
.compare-card.is-own p strong { color: var(--dark); }

/* --- ❺ 2層図（このページの核・最も面積を割く） --- */
.stack-diagram { margin-top: 44px; }
.stack-layer {
  border-radius: 20px;
  padding: 40px 38px;
  text-align: center;
}
.stack-layer.is-top {
  background: var(--dark);
  color: var(--white);
  border: 2px solid var(--dark);
  position: relative;
  z-index: 1;
}
.stack-layer.is-base {
  background: var(--white);
  border: 2px solid var(--line-18);
  margin-top: 14px;
}
.stack-layer .cap {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.stack-layer.is-top .cap { color: rgba(255, 255, 255, 0.55); }
.stack-layer.is-base .cap { color: var(--ink-40); }
.stack-layer .name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.stack-layer.is-top .name { color: var(--white); }
.stack-layer.is-base .name { color: var(--ink); }
.stack-layer .what {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(16px, 2.1vw, 21px);
  line-height: 1.6;
  margin: 0;
}
.stack-layer.is-top .what { color: var(--yellow); }
.stack-layer.is-base .what { color: var(--ink-60); }
.stack-aside {
  margin: 26px 0 0;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--dark);
}

/* --- ❻ 数字3点 --- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  background: var(--dark);
  border-radius: 20px;
  padding: 44px 36px;
}
.stat-cell { text-align: center; }
.stat-cell .n {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--yellow);
  margin-bottom: 10px;
}
.stat-cell .t {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 4px;
}
.stat-cell .sub { font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.55); }

.case-note {
  margin-top: 22px;
  background: var(--white);
  border: 1px solid var(--line-10);
  border-left: 4px solid var(--green);
  border-radius: 14px;
  padding: 28px 30px;
}
.case-note p { margin: 0; font-size: 15px; line-height: 1.9; color: var(--ink-70); }
.disclaimer {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-50);
}

/* --- ❼ ホワイトペーパー枠 --- */
.wp-card {
  background: var(--white);
  border: 1px solid var(--line-10);
  border-radius: 20px;
  padding: 38px 36px;
  box-shadow: var(--shadow-card);
}
.wp-card .kicker {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.wp-card h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 18px;
}
.wp-card .summary { margin: 0 0 26px; font-size: 15px; line-height: 1.95; color: var(--ink-70); }
.read-more { margin-top: 40px; }
.read-more .label {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 16px;
}
.read-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.read-list li { border-bottom: 1px solid var(--line-10); }
.read-list li:first-child { border-top: 1px solid var(--line-10); }
.read-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.read-list a:hover { color: var(--green); padding-left: 8px; }
.read-list .vol {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-40);
  flex-shrink: 0;
}

/* --- ❽❾ 日程表 --- */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line-10);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 32px;
}
.schedule-table th, .schedule-table td {
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-10);
  font-size: 15px;
  line-height: 1.6;
  vertical-align: middle;
}
.schedule-table thead th {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-50);
  background: var(--base);
}
.schedule-table tbody tr:last-child th,
.schedule-table tbody tr:last-child td { border-bottom: none; }
.schedule-table tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.schedule-table td { color: var(--ink-70); }
.schedule-table td.act { text-align: right; white-space: nowrap; }
.schedule-note { margin: 18px 0 0; font-size: 14px; line-height: 1.8; color: var(--ink-60); }

/* --- ❿ 3つの扉 --- */
.door-3 { display: flex; flex-direction: column; gap: 18px; }
.door {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--line-10);
  border-radius: 20px;
  padding: 34px 36px;
}
.door.is-primary { border: 2px solid var(--green); box-shadow: var(--shadow-card); }
.door .door-text { flex: 1 1 420px; }
.door .door-act { flex: 0 1 auto; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.door h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  color: var(--dark);
  margin: 0 0 12px;
}
.door p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--ink-70); max-width: 560px; }
.cmd-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dark);
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 18px;
  max-width: 560px;
}
.cmd-box code {
  flex: 1 1 auto;
  font-family: 'Inter', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  color: var(--white);
  overflow-x: auto;
  white-space: nowrap;
}
.cmd-box .prompt { color: var(--green); font-weight: 700; margin-right: 8px; }
.cmd-copy {
  flex-shrink: 0;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.cmd-copy:hover { background: rgba(255, 255, 255, 0.20); }

/* --- ⓫ 会社概要 --- */
.company-dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  margin: 32px 0 0;
  background: var(--white);
  border: 1px solid var(--line-10);
  border-radius: 16px;
  overflow: hidden;
}
.company-dl dt {
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-60);
  background: var(--base);
  border-bottom: 1px solid var(--line-10);
}
.company-dl dd {
  margin: 0;
  padding: 18px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  border-bottom: 1px solid var(--line-10);
}
.company-dl dt:last-of-type, .company-dl dd:last-of-type { border-bottom: none; }
.company-outlook {
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--line-10);
  border-radius: 16px;
  padding: 30px 32px;
}
.company-outlook h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  color: var(--dark);
  margin: 0 0 12px;
}
.company-outlook p { margin: 0; font-size: 15px; line-height: 1.9; color: var(--ink-70); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .cycle-steps { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: 1fr; gap: 32px; padding: 36px 28px; }
}
@media (max-width: 760px) {
  :root { --pad: 20px; }
  .nav { display: none; }
  .pad-lg { padding: 60px 0; }
  .pad-hero { padding: 56px 0 36px; }
  .split .col-text { position: static; }
  .gen-card { padding: 24px; }
  .source-panel { padding: 32px 26px; }

  /* 1ページ版トップ */
  .hero-declare { padding: 72px 0 68px; }
  .hero-declare .cta-row .btn { width: 100%; justify-content: center; }
  .sec-head { margin-bottom: 32px; }
  .cycle-steps { grid-template-columns: 1fr; }
  .cycle-diagram { padding: 26px 22px; }
  .compare-2 { grid-template-columns: 1fr; }
  .compare-card { padding: 26px 24px; }
  .stack-layer { padding: 30px 24px; }
  .quote-bar, .declare-bar { padding: 34px 24px; }
  .declare-bar.is-hero { padding: 48px 24px; }
  .wp-card, .door, .company-outlook { padding: 26px 24px; }
  .door .door-act { width: 100%; }
  .door .door-act .btn { width: 100%; justify-content: center; }
  .case-note { padding: 22px 20px; }
  .company-dl { grid-template-columns: 1fr; }
  .company-dl dt { padding-bottom: 6px; border-bottom: none; }
  .company-dl dd { padding-top: 0; }
  /* 日程表はカード積みに切り替える */
  .schedule-table thead { display: none; }
  .schedule-table, .schedule-table tbody, .schedule-table tr, .schedule-table th, .schedule-table td { display: block; width: 100%; }
  .schedule-table tr { border-bottom: 1px solid var(--line-10); padding: 8px 0; }
  .schedule-table tr:last-child { border-bottom: none; }
  .schedule-table th, .schedule-table td { border-bottom: none; padding: 6px 20px; }
  .schedule-table td.act { text-align: left; padding-top: 12px; padding-bottom: 16px; }
  .schedule-table td::before {
    content: attr(data-label) "：";
    font-weight: 700;
    color: var(--ink-50);
    font-size: 13px;
  }
  .schedule-table td.act::before { content: none; }
}
