/*
 * CreatorBiz Studio サイト共通スタイル（site/ → tools/build.py → publish/）
 * 公開用レスポンシブ版
 * - 配色・余白感・セクション順は承認済み reference（598×898）に合わせる。
 * - 本文 16px。スマホは1カラム、タブレットは2カラム、PC（1024px〜）は reference と同じ横並び。
 * - 見出しは明朝（Noto Serif JP → 游明朝 等）、本文はゴシック（OS標準）。原本フォントは不明のため代替。
 */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

:root {
  --bg: #f8f4f1;
  --bg-mission: #f4eeea;
  --dark: #161b1e;
  --ink: #1c1a18;
  --body: #3b3734;
  --muted: #6d6762;
  --rule: #d6d2cf;
  --card: #201d1b;
  --white: #fff;
  --focus: #e2622b;
  --mincho: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --gothic: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "YuGothic", "Meiryo", sans-serif;
  --container: 1160px;
  --gutter: 20px;
  --header-h: 64px;
  --radius-img: 8px;
  --shadow-card: 0 1px 2px rgba(28,26,24,.06), 0 10px 28px rgba(28,26,24,.08);

  /* 写真枠の縦横比（枠を先に決めて CLS を防ぐ）。写真は object-fit: cover で枠いっぱいに収め、伸ばして歪ませない。
     原本：hero / process-01 / cta は 1672×941（16:9）、その他は 1448×1086（4:3） */
  --ratio-card: 3 / 2;
  --ratio-step: 16 / 9;
  --ratio-partner: 4 / 3;
  --ratio-about: 16 / 9;
  /* ヒーローと CTA の写真の原本幅。これより広い画面では写真を拡大せず、中央に置いて左右を背景色になじませる */
  --photo-max: 1672px;
}
picture { display: block; }
.hero-photo picture, .cta-photo picture { height: 100%; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  word-break: auto-phrase; /* 日本語を文節で折り返す（対応ブラウザーのみ） */
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.pc { display: none; }
.sp { display: inline; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--white); color: var(--ink); padding: 8px 16px; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 10px 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: .06em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: #efe9e4; }
.btn--ghost { border-color: rgba(255,255,255,.75); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--sm { min-height: 40px; padding: 6px 18px; font-size: 14px; }
.arr { font-weight: 400; }

/* 確認用（?preview）：未設定リンク・要確認文言に印を付ける */
.is-unset { outline: 2px dashed #d33 !important; outline-offset: 2px; opacity: .85; position: relative; }
.is-unset::after { content: "リンク未設定"; position: absolute; left: 0; top: 100%; margin-top: 4px; font-size: 11px; line-height: 1.3; font-weight: 700; color: #fff; background: #d33; padding: 2px 6px; border-radius: 3px; white-space: nowrap; z-index: 5; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--dark); color: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { flex: none; width: 32px; height: 32px; color: var(--white); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: 17px; font-weight: 500; letter-spacing: .03em; }
.brand-sub { font-size: 11px; opacity: .72; letter-spacing: .08em; }

.menu-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 4px 0 12px; background: none; border: 0; color: var(--white);
  font: inherit; font-size: 13px; cursor: pointer;
}
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 1px; transition: transform .2s, opacity .2s; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }

.gnav { display: none; }
.gnav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--dark); border-top: 1px solid rgba(255,255,255,.12);
  padding: 8px var(--gutter) 24px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.gnav.is-open ul li a { display: block; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.1); text-decoration: none; font-size: 16px; }
.gnav.is-open .header-cta { margin-top: 20px; width: 100%; min-height: 48px; font-size: 15px; }

/* ---------- HERO ---------- */
/* 写真を全面に敷く（スマホは人物が見えるよう右寄せで切り抜き、文字は下側）。薄い暗幕で文字を読みやすくする */
.hero {
  position: relative; background: var(--dark); color: var(--white); overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end; min-height: min(640px, calc(100svh - var(--header-h)));
}
.hero-photo, .cta-photo { position: absolute; inset: 0; z-index: -1; }
.hero-photo img, .cta-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo img { object-position: 72% 40%; }
.hero-photo::after, .cta-photo::after { content: ""; position: absolute; inset: 0; }
.hero-photo::after { background: linear-gradient(to bottom, rgba(12,14,16,.18) 0%, rgba(12,14,16,.30) 38%, rgba(12,14,16,.80) 100%); }
.hero-inner { position: relative; padding-top: 120px; padding-bottom: 48px; }
.hero-title, .hero-lead { text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.hero-title { font-family: var(--mincho); font-weight: 500; font-size: 36px; line-height: 1.4; letter-spacing: .06em; }
.hero-lead { margin-top: 20px; font-size: 16px; line-height: 2; color: rgba(255,255,255,.92); }
.btn-row { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.btn-row .btn { width: 100%; }

/* ---------- 共通セクション ---------- */
.sec { padding: 64px 0; scroll-margin-top: var(--header-h); }
#mission, #service, #process, #partner, #about, #contact { scroll-margin-top: var(--header-h); }
.sec--mission { background: var(--bg-mission); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--ink); line-height: 1.4; }
.h2 { margin-top: 10px; font-family: var(--mincho); font-weight: 500; color: var(--ink); font-size: 28px; line-height: 1.5; letter-spacing: .04em; }
.h2--lg { font-size: 25px; letter-spacing: .02em; }
.sec-head { display: grid; gap: 20px; margin-bottom: 32px; }
.sec-lead { font-size: 16px; }

.split { display: grid; gap: 24px; }
.split-body p + p { margin-top: 20px; }

.text-link { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--rule); }
.text-link:hover { border-bottom-color: var(--ink); }

/* SERVICE カード */
.cards { display: grid; gap: 20px; }
.card { background: var(--card); color: var(--white); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card); }
.card-photo { width: 100%; aspect-ratio: var(--ratio-card); object-fit: cover; }
.card-body { padding: 18px 20px 22px; flex: 1; }
.card-title { display: flex; align-items: baseline; gap: 10px; font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--white); }
.card-title .no, .step-title .no { font-family: var(--mincho); font-weight: 500; font-size: 26px; line-height: 1; letter-spacing: 0; }
.card-body p { margin-top: 10px; font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.88); }

/* PROCESS */
.steps { display: grid; gap: 56px; }
.step { position: relative; }
.step img { width: 100%; aspect-ratio: var(--ratio-step); object-fit: cover; border-radius: var(--radius-img); box-shadow: var(--shadow-card); }
.step-title { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.step p { margin-top: 6px; }
/* スマホ：工程の間に下向き矢印 */
.step + .step::before { content: "↓"; position: absolute; top: -40px; left: 50%; transform: translateX(-50%); font-size: 18px; line-height: 1; color: var(--ink); }

/* PARTNER */
.sec--partner { background: var(--bg-mission); }
.sec--partner.has-photo { padding-top: 0; }
.partner-photo img { width: 100%; aspect-ratio: var(--ratio-partner); object-fit: cover; }
.partner-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 32px; }
.has-photo .partner-inner { padding-top: 40px; }
.partner-main p:last-child { margin-top: 18px; }
.partner-list { border-top: 1px solid var(--rule); padding-top: 28px; }
.list-title { font-size: 17px; font-weight: 700; color: var(--ink); }
.checks { margin-top: 14px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; line-height: 1.7; }
.checks li::before { content: ""; flex: none; width: 12px; height: 7px; margin-top: .55em; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

/* ABOUT */
.sec--about { position: relative; overflow: hidden; }
.sec--about.has-photo { padding-bottom: 0; }
.about-inner { position: relative; z-index: 1; }
.about-photo { margin-top: 40px; order: 2; }
.sec--about { display: flex; flex-direction: column; }
.sec--about .about-inner { order: 1; }
.about-photo img {
  width: 100%; aspect-ratio: var(--ratio-about); object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 35%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 35%);
}

/* CTA */
/* 写真を全面に敷き、見出しとボタンを中央に */
.cta {
  position: relative; background: #1b1a1a; color: var(--white); overflow: hidden; isolation: isolate;
  scroll-margin-top: var(--header-h); display: flex; align-items: center; min-height: 440px;
}
.cta-photo img { object-position: 80% 60%; }
.cta-photo::after { background: linear-gradient(to bottom, rgba(12,14,16,.42), rgba(12,14,16,.55)); }
.cta-inner { position: relative; padding-top: 72px; padding-bottom: 72px; text-align: center; }
.cta-title { font-family: var(--mincho); font-weight: 500; font-size: 28px; line-height: 1.6; letter-spacing: .08em; text-shadow: 0 1px 14px rgba(0,0,0,.3); }
.cta-inner .btn { margin-top: 32px; }

/* 原本幅（1672px）より広い画面：写真を拡大せず中央に置き、左右の端を背景色へなじませる */
@media (min-width: 1673px) {
  .hero-photo, .cta-photo { left: 50%; right: auto; width: var(--photo-max); transform: translateX(-50%); }
  .hero-photo img, .cta-photo img {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
  }
}

/* フッター */
.site-footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 48px 0 28px; font-size: 13px; }
.footer-inner { display: grid; gap: 24px; }
.site-footer .brand { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }
.copyright small { font-size: 12px; letter-spacing: .04em; color: rgba(255,255,255,.6); }

/* ================= タブレット（640px〜） ================= */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .btn-row .btn { width: auto; }
  .hero-title { font-size: 44px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 32px; row-gap: 40px; }
  .step + .step::before { content: none; }
  .h2 { font-size: 30px; }
  .h2--lg { font-size: 34px; letter-spacing: .04em; }
}

/* ================= PC（1024px〜） reference の横並びを再現 ================= */
@media (min-width: 1024px) {
  :root { --gutter: 48px; --header-h: 76px; }
  .pc { display: inline; }
  .sp { display: none; }

  /* ヘッダー：ナビ横並び */
  .menu-btn { display: none; }
  .gnav, .gnav.is-open { display: flex; align-items: center; gap: 36px; position: static; padding: 0; border: 0; background: none; max-height: none; overflow: visible; }
  .gnav ul { display: flex; gap: 28px; }
  .gnav ul li a, .gnav.is-open ul li a { display: inline; padding: 0; border: 0; font-size: 14px; text-decoration: none; opacity: .92; }
  .gnav ul li a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
  .gnav.is-open .header-cta { margin: 0; width: auto; min-height: 40px; font-size: 14px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 19px; }

  /* HERO：写真を全面に、文字を左に。左側だけ少し濃い暗幕 */
  .hero { min-height: clamp(560px, calc(100svh - var(--header-h)), 720px); align-items: center; }
  .hero-photo img { object-position: 60% 45%; }
  .hero-photo::after { background: linear-gradient(to right, rgba(12,14,16,.70) 0%, rgba(12,14,16,.48) 38%, rgba(12,14,16,.12) 70%, rgba(12,14,16,.08) 100%); }
  .hero-inner { padding-top: 80px; padding-bottom: 80px; }
  .hero-copy { max-width: 520px; }
  .hero-title { font-size: 56px; line-height: 1.35; }
  .hero-lead { margin-top: 28px; }
  .btn-row { margin-top: 40px; gap: 16px; }

  .sec { padding: 88px 0; }
  .sec--mission { padding: 72px 0; }
  .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0; align-items: center; }
  .h2 { white-space: nowrap; }
  .split-head { padding-right: 56px; }
  .split-body { padding-left: 56px; border-left: 1px solid var(--rule); }
  .h2 { font-size: clamp(26px, 2.6vw, 34px); }
  .h2--lg { font-size: clamp(30px, 3vw, 38px); }

  .sec-head { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: end; gap: 40px; margin-bottom: 40px; }

  .cards { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .card-title { font-size: 17px; }
  .card-title .no { font-size: 28px; }

  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 48px; }
  .step + .step::before { content: "→"; top: 10%; left: -36px; transform: none; font-size: 22px; }

  /* PARTNER：本文 | 区切り | リスト（写真があるときは 写真 | 本文 | リスト） */
  .sec--partner { padding: 88px 0; }
  .partner-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; align-items: center; }
  .partner-main { padding-right: 64px; }
  .partner-list { border-top: 0; border-left: 1px solid var(--rule); padding: 0 0 0 64px; }
  .sec--partner.has-photo { padding: 0; display: grid; grid-template-columns: clamp(280px, 32%, 490px) 1fr; align-items: stretch; }
  .has-photo .partner-photo img { height: 100%; aspect-ratio: auto; min-height: 340px; }
  .has-photo .partner-inner { margin: 0; max-width: 980px; padding: 64px var(--gutter); }

  /* ABOUT（山の写真があるときは右に置く） */
  .sec--about { display: block; padding: 96px 0; }
  .about-inner .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .about-inner .split-head { padding-right: 56px; }
  .has-photo .about-inner .split { max-width: 70%; }
  .has-photo .about-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 32%; margin: 0; }
  .has-photo .about-photo img {
    height: 100%; aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 55%);
            mask-image: linear-gradient(to right, transparent 0, #000 55%);
  }

  /* CTA：写真を全面に、文字を中央に */
  .cta { min-height: 480px; }
  .cta-photo img { object-position: 50% 60%; }
  .cta-inner { padding-top: 96px; padding-bottom: 96px; }
  .cta-title { font-size: 40px; }
  .cta-inner .btn { margin-top: 36px; }

  /* フッター：ロゴ | ナビ */
  .footer-inner { grid-template-columns: auto 1fr; align-items: center; gap: 48px; }
  .footer-nav ul { justify-content: flex-end; margin-top: 0; gap: 8px 28px; }
}


/* =====================================================================
 * 下層ページ
 * ===================================================================== */
.gnav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; opacity: 1; }

.page-head { background: var(--dark); color: var(--white); padding: 40px 0 44px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.7); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-head .eyebrow { margin-top: 24px; color: rgba(255,255,255,.85); }
.page-title { margin-top: 8px; font-family: var(--mincho); font-weight: 500; font-size: 32px; line-height: 1.45; letter-spacing: .06em; }
.page-lead { margin-top: 16px; max-width: 40em; color: rgba(255,255,255,.9); }

.prose { max-width: 44em; }
.prose p + p { margin-top: 1.2em; }
.sec--alt { background: var(--bg-mission); }
.sec-title { font-family: var(--mincho); font-weight: 500; color: var(--ink); font-size: 24px; line-height: 1.5; letter-spacing: .04em; margin-top: 10px; }
.sec-title + * { margin-top: 20px; }

/* 受付準備中などの告知 */
.notice {
  border: 1px solid var(--rule); border-left: 4px solid var(--ink); background: var(--white);
  border-radius: 6px; padding: 22px 22px 24px; max-width: 44em;
}
.notice-label {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; line-height: 1.4;
  color: var(--white); background: var(--ink); border-radius: 999px; padding: 4px 12px;
}
.notice-title { margin-top: 12px; font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.notice p { margin-top: 8px; }
.notice .text-link { margin-top: 12px; }

/* 事業内容：写真＋本文の行 */
.features { display: grid; gap: 48px; }
.feature { display: grid; gap: 20px; scroll-margin-top: calc(var(--header-h) + 16px); }
.feature-photo img { width: 100%; aspect-ratio: var(--ratio-card); object-fit: cover; border-radius: var(--radius-img); box-shadow: var(--shadow-card); }
.timeline .step img { max-width: 520px; }
.feature-title { display: flex; align-items: baseline; gap: 12px; font-size: 21px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.feature-title .no { font-family: var(--mincho); font-weight: 500; font-size: 30px; line-height: 1; letter-spacing: 0; }
.feature p { margin-top: 10px; }

/* 事業化までの流れ：縦のタイムライン */
.timeline { display: grid; gap: 40px; }
.timeline .step + .step::before { content: none; }
.timeline .step { display: grid; gap: 14px; }
.timeline .step-title { margin-top: 0; font-size: 20px; }
.sec-title { font-size: 22px; }

/* 一覧カード（下層ページへの導線） */
.link-cards { display: grid; gap: 16px; }
.link-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 20px; background: var(--white); border: 1px solid var(--rule); border-radius: 8px;
  text-decoration: none; color: var(--ink); font-weight: 700; transition: border-color .2s;
}
.link-card:hover { border-color: var(--ink); }

/* 会社情報など：未確定項目の表示（事実として載せない） */
.pending-list { margin-top: 12px; display: grid; gap: 6px; padding-left: 1.2em; list-style: disc; }

.page-cta { text-align: center; }
.page-cta .btn { margin-top: 20px; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #3a3633; }

.footer-nav ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; }
.footer-nav a { text-decoration: none; font-size: 13px; }
.footer-nav a:hover { text-decoration: underline; }

@media (min-width: 640px) {
  .link-cards { grid-template-columns: repeat(2, 1fr); }
  .page-title { font-size: 38px; }
}
@media (min-width: 1024px) {
  .page-head { padding: 56px 0 64px; }
  .page-title { font-size: 44px; }
  .sec-title { font-size: 28px; }
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .feature:nth-child(even) .feature-photo { order: 2; }
  .timeline .step { grid-template-columns: 320px 1fr; gap: 40px; align-items: center; }
  .link-cards { grid-template-columns: repeat(3, 1fr); }
}

.more { margin-top: 28px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.split-body .list-title { margin-bottom: 4px; }
@media (min-width: 1024px) {
  .sec--about .prose { max-width: 60%; }
}



/* 番号（01〜04）が2行に割れないようにする */
.card-title .no, .step-title .no, .feature-title .no { flex: none; white-space: nowrap; }

/* =====================================================================
 * FAQ（左：見出し、右：アコーディオン。スマホは縦並び）
 * ===================================================================== */
.sec--faq { background: var(--bg-mission); scroll-margin-top: var(--header-h); }
.faq { display: grid; gap: 32px; }
.faq-lead { margin-top: 16px; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 18px 4px;
  cursor: pointer; list-style: none; color: var(--ink); font-weight: 500; line-height: 1.7;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.faq-q, .faq-mark { flex: none; width: 1.4em; font-family: var(--mincho); font-size: 20px; line-height: 1; color: var(--ink); }
.faq-text { flex: 1; }
.faq-icon { position: relative; flex: none; width: 14px; height: 14px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: var(--ink); transition: transform .3s ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { display: flex; gap: 14px; padding: 0 4px 22px; overflow: hidden; }
.faq-a .faq-mark { color: var(--muted); }
.faq-a p { flex: 1; }
.faq-item summary:hover .faq-text { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--rule); }

/* CTA の補足文 */
.cta-lead { margin: 20px auto 0; max-width: 40em; font-size: 15px; line-height: 2; color: rgba(255,255,255,.92); text-shadow: 0 1px 10px rgba(0,0,0,.3); }

@media (min-width: 1024px) {
  .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
  .faq-item summary { padding: 22px 8px; font-size: 17px; }
  .faq-a { padding: 0 8px 26px; }
  .faq-a p { padding-right: 28px; }
  .cta-lead { margin-top: 24px; font-size: 16px; max-width: none; }
}

/* =====================================================================
 * 事業内容ページのヒーロー（reference/service-hero-mockup.png を再現）
 * 写真を全面に敷き、ヘッダーを写真の上に重ねる。アクセントは金色
 * ===================================================================== */
:root { --accent: #e6a53a; }
.gnav a[aria-current="page"] { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

.has-photo-head .site-header { position: absolute; left: 0; right: 0; top: 0; background: transparent; }
.has-photo-head .site-header .header-inner { max-width: none; }

.page-head--photo {
  position: relative; isolation: isolate; overflow: hidden; padding: 0;
  display: flex; align-items: flex-end; min-height: min(680px, 100svh);
}
.page-head-photo { position: absolute; inset: 0; z-index: -1; }
.page-head-photo picture { height: 100%; }
.page-head-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.page-head-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(12,14,16,.35) 0%, rgba(12,14,16,.25) 35%, rgba(12,14,16,.85) 100%); }
.page-head-inner { width: 100%; padding: 120px var(--gutter) 48px; }
.page-head--photo .breadcrumb ol { color: rgba(255,255,255,.88); font-size: 14px; }
.page-head--photo .eyebrow { margin-top: 28px; color: var(--accent); font-size: 14px; letter-spacing: .14em; }
.page-head--photo .page-title { margin-top: 10px; font-size: 44px; letter-spacing: .1em; line-height: 1.3; }
.page-head--photo .page-title::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 22px; background: var(--accent); }
.page-head--photo .page-lead { margin-top: 22px; font-family: var(--mincho); font-size: 16px; line-height: 1.95; letter-spacing: .06em; color: rgba(255,255,255,.94); text-shadow: 0 1px 12px rgba(0,0,0,.35); }

@media (min-width: 1024px) {
  .has-photo-head .site-header .header-inner { padding: 0 5.6vw; min-height: clamp(84px, 6.2vw, 112px); }
  .has-photo-head .brand-name, .has-photo-head .gnav a { white-space: nowrap; }
  .page-head--photo { align-items: stretch; min-height: clamp(600px, 50vw, 900px); }
  .page-head-photo img { object-position: 50% 50%; }
  .page-head-photo::after { background: linear-gradient(to right, rgba(12,14,16,.62) 0%, rgba(12,14,16,.38) 32%, rgba(12,14,16,.06) 60%, rgba(12,14,16,0) 100%); }
  .page-head-inner { padding: calc(90px + 4.6vw) 5.6vw 64px; }
  .page-head--photo .breadcrumb ol { font-size: clamp(14px, 1.2vw, 20px); }
  .page-head--photo .eyebrow { margin-top: clamp(28px, 3.4vw, 56px); font-size: clamp(15px, 1.35vw, 22px); }
  .page-head--photo .page-title { margin-top: clamp(10px, 1.2vw, 20px); font-size: clamp(48px, 4.7vw, 80px); }
  .page-head--photo .page-title::after { width: clamp(52px, 4.5vw, 78px); margin-top: clamp(20px, 1.9vw, 32px); }
  .page-head--photo .page-lead { margin-top: clamp(28px, 2.6vw, 44px); font-size: clamp(17px, 1.35vw, 23px); line-height: 1.85; max-width: none; }
}
@media (min-width: 1673px) {
  .page-head-photo { left: 50%; right: auto; width: 1672px; transform: translateX(-50%); }
  .page-head-photo img { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%); }
}
@media (min-width: 1280px) {
  .has-photo-head .brand-name { font-family: var(--mincho); font-weight: 500; font-size: clamp(22px, 1.95vw, 34px); letter-spacing: .01em; }
  .has-photo-head .brand-sub { font-size: clamp(12px, 1.1vw, 19px); opacity: .9; letter-spacing: .06em; }
  .has-photo-head .brand-mark { width: clamp(40px, 3.4vw, 60px); height: clamp(40px, 3.4vw, 60px); }
  .has-photo-head .brand { gap: clamp(10px, 1vw, 18px); }
  .has-photo-head .gnav ul { gap: clamp(28px, 2.6vw, 46px); }
  .has-photo-head .gnav ul li a { font-size: clamp(14px, 1.2vw, 21px); letter-spacing: .04em; opacity: 1; }
  .has-photo-head .gnav a[aria-current="page"] { text-decoration: none; box-shadow: inset 0 -3px 0 var(--accent); padding-bottom: 12px; }
  .has-photo-head .gnav { gap: clamp(32px, 3.3vw, 58px); }
  .has-photo-head .gnav .header-cta { min-height: clamp(44px, 3.6vw, 64px); padding: 8px clamp(20px, 1.9vw, 34px); font-size: clamp(14px, 1.2vw, 21px); }

}

/* ---- 各ページのヒーロー写真（素材：reference/pack13/hero_*.png）。作りは事業内容ページと共通 ---- */
/* スマホ・タブレット：人物や主役が切れないよう、写真ごとに見せる位置を調整 */
.page-head--about .page-head-photo img { object-position: 72% 30%; }
.page-head--company .page-head-photo img { object-position: 45% 50%; }
.page-head--contact .page-head-photo img { object-position: 78% 50%; }
.page-head--partner .page-head-photo img { object-position: 60% 35%; }
.page-head--process .page-head-photo img { object-position: 78% 50%; }
@media (min-width: 1024px) {
  .page-head--photo .page-lead { max-width: 30em; }
  .page-head--about .page-head-photo img,
  .page-head--company .page-head-photo img,
  .page-head--contact .page-head-photo img,
  .page-head--partner .page-head-photo img,
  .page-head--process .page-head-photo img { object-position: 50% 50%; }
  /* 明るい写真は左側の暗がりを少し濃くして文字を読みやすく */
  .page-head--company .page-head-photo::after,
  .page-head--about .page-head-photo::after,
  .page-head--partner .page-head-photo::after { background: linear-gradient(to right, rgba(12,14,16,.72) 0%, rgba(12,14,16,.5) 34%, rgba(12,14,16,.12) 62%, rgba(12,14,16,0) 100%); }
}
/* スマホ：見出しが変な位置で折り返さないよう、文字の大きさと字間を少し詰める */
@media (max-width: 599px) {
  .page-head--photo .page-title { font-size: clamp(30px, 9vw, 44px); letter-spacing: .04em; }
}

/* ---- 料金（完全成果報酬型）：事業内容 #pricing／パートナー募集 #pricing／TOP の誘導帯 ---- */
.sec--pricing { background: var(--white); scroll-margin-top: var(--header-h); }
.pricing-head { max-width: 760px; }
.pricing-badge { display: inline-block; margin-top: 14px; padding: 4px 12px; border: 1px solid var(--accent); border-radius: 999px; color: #8a5a12; background: #fdf6ea; font-size: 13px; font-weight: 700; letter-spacing: .08em; line-height: 1.6; }
.sec--pricing .h2 { margin-top: 14px; }
.pricing-lead { margin-top: 18px; line-height: 1.95; }
.price-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.price-item { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 18px 16px; background: var(--bg); border: 1px solid var(--rule); border-radius: var(--radius-img); }
.price-item dt { font-size: 13px; font-weight: 700; color: var(--body); line-height: 1.5; }
.price-item dd { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px; color: var(--ink); font-family: var(--mincho); }
.price-num { font-size: 40px; font-weight: 500; line-height: 1.1; letter-spacing: .02em; }
.price-unit { font-size: 18px; font-weight: 500; }
.price-pre { width: 100%; font-family: var(--gothic); font-size: 13px; color: var(--body); }
.price-text { font-size: 22px; font-weight: 500; line-height: 1.4; }
.price-item:nth-child(-n+2) { border-top: 3px solid var(--accent); }
.pricing-scope { margin-top: 32px; display: grid; gap: 16px; }
.scope-box { padding: 22px 20px; border: 1px solid var(--rule); border-radius: var(--radius-img); }
.scope-box--sub { background: var(--bg); }
.scope-title { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.scope-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.pricing-notes { margin-top: 24px; display: grid; gap: 6px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.pricing-notes li { padding-left: 1.2em; text-indent: -1.2em; }
.pricing-notes li::before { content: "※"; display: inline-block; width: 1.2em; text-indent: 0; }
.faq-a a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* TOP：事業内容セクション内の料金への誘導帯 */
.price-band { margin-top: 32px; padding: 24px 20px; display: grid; gap: 18px; background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--accent); border-radius: var(--radius-img); }
.price-band .pricing-badge { margin-top: 0; }
.price-band-title { margin-top: 10px; font-family: var(--mincho); font-size: 22px; font-weight: 500; color: var(--ink); line-height: 1.5; letter-spacing: .04em; }
.price-band-sub { margin-top: 6px; font-size: 14px; line-height: 1.8; }
.price-band .btn { width: 100%; }

@media (min-width: 640px) {
  .pricing-scope { grid-template-columns: 1.15fr 1fr; }
  .price-band .btn { width: auto; justify-self: start; }
}
@media (min-width: 1024px) {
  .price-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
  .price-item { padding: 24px 22px; min-height: 160px; }
  .price-item dt { font-size: 14px; }
  .price-num { font-size: 52px; }
  .price-unit { font-size: 20px; }
  .price-text { font-size: 26px; }
  .pricing-scope { margin-top: 40px; gap: 20px; }
  .scope-box { padding: 28px; }
  .price-band { grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: 28px 36px; }
  .price-band-title { font-size: 26px; }
  .price-band .btn { justify-self: end; }
}
@media (max-width: 374px) {
  .price-grid { grid-template-columns: 1fr; }
}

/* ==== 事業内容ページ（全面改善版）==== */
:root { --navy: #142131; --navy-2: #1b2b3e; }

/* ページ内ナビ */
.page-toc { background: var(--white); border-bottom: 1px solid var(--rule); }
.page-toc ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; padding: 10px 0; }
.page-toc li:last-child { grid-column: 1 / -1; }
.page-toc a { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; }
.page-toc a::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(45deg) translateY(-2px); }
.page-toc a:hover { color: #8a5a12; }

/* セクション共通 */
.svc-intro { background: var(--bg-mission); }
.svc-intro .split-body p { line-height: 2; }
.svc-sec-head { margin-bottom: 36px; }
.svc-sec-head .pricing-badge { margin-top: 14px; }
#support, #flow, #example, #service-faq { scroll-margin-top: 0; }

/* 4つの支援内容：写真と本文の交互配置 */
.svc-block { display: grid; gap: 24px; }
.svc-block + .svc-block { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--rule); }
.svc-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-img); box-shadow: var(--shadow-card); }
.svc-no { font-family: var(--mincho); font-size: 34px; line-height: 1; color: var(--accent); letter-spacing: .04em; }
.svc-title { margin-top: 10px; font-family: var(--mincho); font-weight: 500; font-size: 24px; line-height: 1.5; letter-spacing: .06em; color: var(--ink); }
.svc-lead { margin-top: 14px; font-size: 16px; line-height: 1.95; color: var(--ink); }
.svc-sub { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.svc-list { margin-top: 12px; }
.svc-value { margin-top: 24px; padding: 16px 18px; background: var(--white); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-img) var(--radius-img) 0; font-family: var(--mincho); font-size: 15.5px; line-height: 1.9; color: var(--ink); }
.svc-note { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.8; }

/* 収益化の仕組み（ネイビー） */
.svc-flow { background: var(--navy); color: rgba(255,255,255,.92); }
.svc-flow .eyebrow { color: var(--accent); }
.svc-flow .h2 { color: var(--white); }
.flow { display: grid; gap: 34px; max-width: 520px; }
.flow-step { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 20px; min-height: 72px; background: var(--navy-2); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-img); }
.flow-step:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -24px; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateX(-50%) rotate(45deg); }
.flow-step--loop { border-color: var(--accent); }
.flow-no { flex: none; font-family: var(--mincho); font-size: 22px; color: var(--accent); letter-spacing: .04em; }
.flow-text { font-size: 16px; font-weight: 500; line-height: 1.6; color: var(--white); }
.flow-text br { display: none; }
.flow-note { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); font-size: 14.5px; line-height: 1.9; color: rgba(255,255,255,.85); }

/* 料金（3項目版と説明） */
.price-grid--3 .price-item--fee { grid-column: 1 / -1; }
.price-item--fee .price-text { font-size: 20px; }
.price-item--fee .price-text br { display: none; }
.price-item--fee .price-pre { margin-top: 8px; color: #8a5a12; font-weight: 700; }
.pricing-points { margin-top: 32px; display: grid; gap: 14px; }
.pricing-points li { padding: 22px 20px; background: var(--bg); border-radius: var(--radius-img); border-top: 2px solid var(--accent); }
.point-title { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.pricing-points p { margin-top: 8px; font-size: 14.5px; line-height: 1.9; }
.pricing-foot { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* 活用イメージ */
.example-disclaimer { margin-top: 14px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.example { display: grid; gap: 28px; }
.example-photo { margin: 0; }
.example-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 70% 50%; border-radius: var(--radius-img); box-shadow: var(--shadow-card); }
.example-photo figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); }
.example-steps li { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.example-steps li + li { border-top: 1px solid var(--rule); }
.ex-no { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--accent); border-radius: 50%; font-family: var(--mincho); font-size: 17px; color: #8a5a12; background: var(--white); }
.example-steps p { font-size: 15.5px; line-height: 1.7; color: var(--ink); }

@media (min-width: 640px) {
  .page-toc ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 32px; }
  .pricing-points { grid-template-columns: 1fr 1fr; }
  .pricing-points li:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .page-toc ul { gap: 0 48px; padding: 8px 0; }
  .page-toc a { font-size: 15px; }
  .svc-intro { padding: 104px 0; }
  .svc-intro .h2 { font-size: 34px; line-height: 1.6; }
  .svc-support, .svc-flow, .svc-example { padding: 112px 0; }
  .svc-sec-head { margin-bottom: 56px; }
  .svc-sec-head .h2 { font-size: 34px; }
  .svc-block { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
  .svc-block--rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .svc-block + .svc-block { margin-top: 96px; padding-top: 0; border-top: 0; }
  .svc-block--rev .svc-photo { order: 2; }
  .svc-no { font-size: 44px; }
  .svc-title { font-size: 30px; }
  .svc-lead { font-size: 17px; }
  .flow { margin: 0 auto; max-width: 640px; }
  .flow-note { margin-top: 48px; text-align: center; }
  .price-grid--3 { grid-template-columns: 1fr 1fr 1.6fr; }
  .price-grid--3 .price-item--fee { grid-column: auto; }
  .price-item--fee .price-text { font-size: 22px; }
  .price-item--fee .price-text br { display: inline; }
  .pricing-points { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
  .pricing-points li:last-child { grid-column: auto; }
  .pricing-points li { padding: 26px 24px; }
  .example { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .example-steps li { padding: 18px 0; }
  .example-steps p { font-size: 16px; }
}
/* パートナー募集の料金カード：成果報酬（報酬率は契約時にご案内） */
.price-text--sm { font-size: 18px; }
.price-pre--after { margin-top: 8px; color: #8a5a12; font-weight: 700; }
@media (min-width: 1024px) { .price-text--sm { font-size: 19px; } }
/* 事業内容：フローを横一列にするのは十分な幅があるときだけ（1024〜1199px は縦並び） */
@media (min-width: 1200px) {
  .svc-block { gap: 72px; }
  .flow { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; max-width: none; }
  .flow-step { flex-direction: column; justify-content: flex-start; text-align: center; gap: 14px; padding: 26px 12px; min-height: 172px; }
  .flow-step:not(:last-child)::after { left: auto; right: -19px; top: 50%; bottom: auto; transform: translateY(-50%) rotate(-45deg); }
  .flow-text { font-size: 15px; }
  .flow-text br { display: inline; }
  .flow-no { font-size: 26px; }
}
/* 事業内容：タブレット幅では写真が大きくなりすぎないよう横長に */
@media (min-width: 640px) and (max-width: 1023px) {
  .svc-photo img { aspect-ratio: 16 / 9; }
  .svc-body { max-width: 640px; }
}

/* =====================================================================
 * 2026-11-07 事業内容ページ全面改善（A〜I）・メディアデモ導線・ヒアリングフォーム
 * ===================================================================== */
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: #f0b85a; }
.ico { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* A. ヒーロー */
.page-head--photo .page-title--copy { font-size: clamp(28px, 7.4vw, 52px); letter-spacing: .06em; line-height: 1.45; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-badges li { padding: 4px 14px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; background: rgba(12,14,16,.35); font-size: 14px; line-height: 1.6; color: #fff; }
.hero-badges b { margin-left: .2em; color: var(--accent); font-weight: 700; }
.hero-badges li:last-child b { margin: 0; }
.btn-row--head { margin-top: 26px; }

/* B. こんな想い */
.svc-sec-head--center { text-align: center; }
.worry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.worry { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 12px; background: var(--white); border: 1px solid var(--rule); border-radius: 10px; text-align: center; }
.worry .ico { color: #8a5a12; width: 40px; height: 40px; }
.worry p { font-size: 14px; line-height: 1.75; color: var(--ink); font-weight: 500; }
.worry-foot { margin-top: 28px; text-align: center; font-size: 15px; line-height: 2; }

/* C. 私たちが行うこと */
.svc-do { background: var(--bg-mission); }
.do-grid { display: grid; gap: 16px; }
.do-card { display: flex; flex-direction: column; padding: 24px 20px; background: var(--white); border-radius: 10px; box-shadow: var(--shadow-card); }
.do-top { display: flex; align-items: center; justify-content: space-between; color: var(--ink); }
.do-no { font-family: var(--mincho); font-size: 28px; line-height: 1; color: var(--accent); }
.do-title { margin-top: 14px; font-family: var(--mincho); font-size: 21px; color: var(--ink); letter-spacing: .05em; }
.do-desc { margin-top: 10px; font-size: 15px; line-height: 1.9; }
.do-roles { margin: auto 0 0; display: grid; gap: 10px; padding-top: 18px; }
.do-roles div { padding: 12px 14px; border-radius: 6px; background: var(--bg); }
.do-roles div:last-child { background: #fdf6ea; }
.do-roles dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.do-roles div:last-child dt { color: #8a5a12; }
.do-roles dd { margin: 4px 0 0; font-size: 14px; line-height: 1.7; color: var(--ink); }
.do-foot { margin-top: 24px; font-size: 14px; color: var(--muted); line-height: 1.9; }

/* D. メディアデモ（実ページを縮小表示） */
.svc-demo, .sec--demo-band { background: var(--white); overflow: hidden; }
.demo-layout { display: grid; gap: 40px; }
.demo-lead { margin-top: 18px; font-size: 16px; line-height: 2; color: var(--ink); }
.demo-checks { margin-top: 20px; }
.demo-btns { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.demo-btns .btn { width: 100%; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--bg-mission); }
.demo-note { margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.demo-show { position: relative; display: block; padding-right: 20%; padding-bottom: 24px; text-decoration: none; }
.demo-pc { border-radius: 10px; overflow: hidden; background: #e9e5e1; box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 24px 48px rgba(28,26,24,.16); }
.demo-pc-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #e9e5e1; }
.demo-pc-bar span { width: 9px; height: 9px; border-radius: 50%; background: #c9c3bd; }
.demo-pc-bar p { margin-left: 10px; flex: 1; max-width: 60%; padding: 1px 10px; border-radius: 4px; background: #fff; font-size: 10px; line-height: 1.6; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame-view { position: relative; overflow: hidden; background: #f7f3ec; }
.frame-view--pc { aspect-ratio: 1280 / 800; }
.frame-view--sp { aspect-ratio: 390 / 800; }
.frame-view iframe { position: absolute; left: 0; top: 0; border: 0; transform: scale(var(--s, .3)); transform-origin: 0 0; pointer-events: none; }
.demo-sp { position: absolute; right: 0; bottom: 0; width: 27%; padding: 5px; border-radius: 20px; background: #1d1b1a; box-shadow: 0 20px 40px rgba(28,26,24,.28); }
.demo-sp .frame-view { border-radius: 15px; }
.demo-show:hover .demo-pc, .demo-show:focus-visible .demo-pc { box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 28px 56px rgba(28,26,24,.24); }

/* E. ロードマップ */
.road { display: grid; gap: 14px; }
.road-step { position: relative; padding: 22px 20px; border-radius: 10px; background: var(--white); border: 1px solid var(--rule); }
.road-step--now { border-top: 3px solid var(--accent); }
.road-step--future { background: transparent; border-style: dashed; border-color: #b9b3ae; }
.road-tag { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #fdf6ea; color: #8a5a12; }
.road-step--future .road-tag { background: var(--bg-mission); color: var(--muted); }
.road-no { margin-top: 12px; font-family: var(--mincho); font-size: 15px; letter-spacing: .12em; color: var(--muted); }
.road-title { margin-top: 4px; font-size: 18px; font-weight: 700; line-height: 1.6; color: var(--ink); }
.road-step p:last-child { margin-top: 8px; font-size: 14.5px; line-height: 1.85; }
.road-foot { margin-top: 20px; font-size: 13px; color: var(--muted); line-height: 1.8; }

/* F. 料金（0円・0円・35%） */
.big-price { margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.big-price-item { padding: 20px 16px; background: var(--bg); border-radius: 10px; border-top: 3px solid var(--accent); text-align: center; }
.big-price-item--fee { grid-column: 1 / -1; background: var(--dark); color: #fff; }
.big-price-item dt { font-size: 13px; font-weight: 700; color: var(--body); }
.big-price-item--fee dt { color: rgba(255,255,255,.8); }
.big-price-item dd { margin: 6px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 4px; font-family: var(--mincho); color: var(--ink); }
.big-price-item--fee dd { color: #fff; }
.bp-num { font-size: 56px; line-height: 1.1; letter-spacing: .02em; }
.big-price-item--fee .bp-num { color: var(--accent); }
.bp-unit { font-size: 22px; }
.bp-pre { width: 100%; font-family: var(--gothic); font-size: 14px; font-weight: 700; }
.price-sub { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.price-flow { margin-top: 40px; }
.pf-steps { margin-top: 16px; display: grid; gap: 28px; }
.pf-steps li { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 10px; background: var(--bg); }
.pf-steps li:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -20px; width: 9px; height: 9px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateX(-50%) rotate(45deg); }
.pf-steps li:last-child { border-color: var(--accent); background: #fdf6ea; }
.pf-no { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.pf-steps p { font-size: 15px; line-height: 1.7; color: var(--ink); }
.pf-caution { margin-top: 18px; padding: 14px 16px; border-left: 3px solid #b5462a; background: #fbf0ec; font-size: 14.5px; line-height: 1.85; color: var(--ink); }
.pf-caution b { color: #8f2f17; }
.split-ex { margin: 40px 0 0; padding: 24px 20px; border: 1px solid var(--rule); border-radius: 10px; }
.split-ex-lead { margin-top: 8px; font-size: 15px; color: var(--ink); }
.split-bar { display: flex; margin-top: 18px; border-radius: 8px; overflow: hidden; min-height: 92px; }
.split-bar > div { display: flex; flex-direction: column; justify-content: center; padding: 12px 14px; line-height: 1.4; min-width: 0; }
.split-bar-c { flex: 65; background: var(--dark); color: #fff; }
.split-bar-s { flex: 35; background: var(--accent); color: var(--ink); }
.sb-who { font-size: 12.5px; font-weight: 700; }
.sb-amt { margin-top: 4px; font-family: var(--mincho); font-size: 22px; white-space: nowrap; }
.sb-pct { font-size: 13px; opacity: .85; }
.split-ex figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.svc-price .pricing-points { margin-top: 32px; }

/* G. 開始までの流れ（ネイビー） */
.start { display: grid; gap: 14px; }
.start-step { position: relative; padding: 20px 20px 20px 22px; background: var(--navy-2); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; }
.start-step:first-child { border-color: var(--accent); }
.start-step--loop { border-style: dashed; }
.start-no { font-family: var(--mincho); font-size: 14px; letter-spacing: .14em; color: var(--accent); }
.start-title { margin-top: 4px; font-size: 18px; font-weight: 700; color: #fff; line-height: 1.6; }
.start-step p:last-child { margin-top: 6px; font-size: 14.5px; line-height: 1.85; color: rgba(255,255,255,.86); }

/* ヒアリングフォーム */
.hearing { scroll-margin-top: 0; }
.hearing-form { margin-top: 28px; max-width: 760px; }
.hearing-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.hearing-form fieldset:disabled input, .hearing-form fieldset:disabled select, .hearing-form fieldset:disabled textarea { background: #f1eeeb; color: var(--muted); cursor: not-allowed; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field + .field { margin-top: 22px; }
.field > label, .field > legend { padding: 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.req, .opt { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 3px; font-size: 11.5px; font-weight: 700; vertical-align: 2px; }
.req { background: #8f2f17; color: #fff; }
.opt { background: var(--bg-mission); color: var(--muted); }
.field-hint { font-size: 13px; color: var(--muted); line-height: 1.7; }
.field input:not([type=checkbox]), .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #b9b3ae; border-radius: 6px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.field textarea { min-height: 160px; resize: vertical; }
.checks-inline { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.checks-inline label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 15px; }
.checks-inline input { width: 18px; height: 18px; }
.form-actions { margin-top: 32px; }
.form-actions .btn { width: 100%; }
.btn[disabled] { background: #c9c4bf; color: #fff; cursor: not-allowed; }
.form-status { margin-top: 14px; font-size: 14px; line-height: 1.8; }
.form-status.is-error { color: #8f2f17; font-weight: 700; }
.form-status.is-ok { color: #1f5a37; font-weight: 700; }

@media (min-width: 640px) {
  .worry-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .do-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .road { grid-template-columns: 1fr 1fr; }
  .big-price { grid-template-columns: 1fr 1fr 1.5fr; }
  .big-price-item--fee { grid-column: auto; }
  .start { grid-template-columns: 1fr 1fr; }
  .demo-btns { flex-direction: row; flex-wrap: wrap; }
  .demo-btns .btn, .form-actions .btn { width: auto; }
}
@media (min-width: 1024px) {
  .hero-badges li { font-size: 15px; padding: 5px 16px; }
  .worry-grid { gap: 20px; }
  .worry { padding: 30px 20px; }
  .worry p { font-size: 15px; }
  .svc-worry, .svc-do, .svc-demo, .svc-road, .svc-price, #start, .sec--demo-band { padding: 112px 0; }
  .do-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .do-card { padding: 30px 26px; }
  .demo-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
  .demo-layout .h2 { white-space: normal; }
  .road { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .road-step:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 18px; z-index: 1; }
  .bp-num { font-size: 72px; }
  .big-price { gap: 20px; margin-top: 40px; }
  .big-price-item { padding: 28px 20px; }
  .price-flow { margin-top: 56px; }
  .pf-steps { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .pf-steps li:not(:last-child)::after { left: auto; right: -24px; top: 50%; bottom: auto; transform: translateY(-50%) rotate(-45deg); }
  .split-ex { padding: 32px 36px; }
  .split-bar { min-height: 104px; }
  .sb-amt { font-size: 30px; }
  .start { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .start-step { padding: 26px 24px; }
}
/* TOP ヒーロー：サービス内容と料金のタグ */
.hero-tag { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero-tag span { padding: 3px 12px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; background: rgba(12,14,16,.35); font-size: 13px; line-height: 1.6; color: #fff; }
.hero-tag span:first-child { border-color: var(--accent); color: var(--accent); font-weight: 700; }
@media (min-width: 1024px) { .hero-tag span { font-size: 14px; } }
/* ヘッダーのメディアデモ：1024〜1279px は横幅が足りないため非表示（スマホのメニュー・フッター・本文の導線からは移動できる） */
@media (min-width: 1024px) and (max-width: 1279px) { .gnav .nav-demo { display: none; } }
@media (min-width: 1280px) {
  .has-photo-head .gnav ul { gap: clamp(18px, 1.75vw, 34px); }
  .has-photo-head .gnav ul li a { font-size: clamp(14px, 1.08vw, 19px); }
  .has-photo-head .gnav { gap: clamp(24px, 2.4vw, 44px); }
  .has-photo-head .gnav .header-cta { font-size: clamp(14px, 1.08vw, 19px); }
  .gnav ul { gap: 22px; }
}
@media (min-width: 1024px) { .demo-layout .h2 { font-size: clamp(26px, 2.3vw, 32px); } }
