@charset "utf-8";
/* MIROCANA 公式サイト — DESIGN.md v0.6 の実装
   §2 色 / §3 文字 / §5 余白 / §6 部品 / §9 レスポンシブ / §10 アクセシビリティ */

/* ========== §12 トークン ========== */
:root{
  --color-brand:#1D6B52; --color-brand-hover:#155641; --color-tint:#E4F0EC;
  --color-mark:#DCD050; --color-bg:#F3F1EA; --color-surface:#FFFDF8;
  --color-ink:#232A27; --color-ink-muted:#505955; --color-line:#D9DCD6;
  --color-field-line:#7C8580; --color-on-brand:#FFFDF8; --color-error:#B42318;
  --color-focus:#232A27;

  --font-head:"Zen Kaku Gothic New","Hiragino Sans","Yu Gothic",sans-serif;
  --font-body:"Noto Sans JP","Hiragino Sans","Yu Gothic","Meiryo",sans-serif;

  --fs-h1-top:clamp(1.375rem, 7.2vw - 0.0625rem, 1.75rem);
  --fs-h1-sub:1.625rem; --fs-h2:1.5rem; --fs-h3:1.25rem; --fs-lead:1.125rem;
  --fs-body:1.0625rem; --fs-note:1rem;

  --gutter:20px; --header-h:64px; --radius-s:8px; --radius-m:16px; --radius-l:16px;
  --grid-gap:24px; --sec-s:48px; --sec-m:64px; --sec-l:96px;
  --z-menu:90; --z-header:100; --z-skip:110;
  /* 動きは1組に固定する（参考3サイトはいずれも1〜2組しか使っていない） */
  --ease:cubic-bezier(.33,1,.68,1); --ease-soft:cubic-bezier(.165,.84,.44,1);
  --dur:300ms; --dur-reveal:900ms; --radius-panel:24px;
}
@media (min-width:640px){ :root{ --gutter:32px; --radius-l:24px; --radius-panel:40px;
  --sec-s:64px; --sec-m:96px; --sec-l:128px; --grid-gap:24px;
  --fs-h1-top:2.25rem; --fs-h1-sub:2rem; --fs-h2:1.875rem; --fs-h3:1.375rem; --fs-lead:1.125rem; } }
@media (min-width:1024px){ :root{ --gutter:40px; --header-h:80px; --grid-gap:32px;
  --sec-s:96px; --sec-m:128px; --sec-l:160px;
  --fs-h1-top:2.625rem; --fs-h1-sub:2.5rem; --fs-h2:2.25rem; --fs-h3:1.625rem; --fs-lead:1.1875rem; } }
@media (min-width:1280px){ :root{ --fs-h1-top:2.75rem; } }
@media (max-width:359px){ :root{ --gutter:16px; } }

/* ========== 土台 ========== */
*,*::before,*::after{ box-sizing:border-box; }
html{ font-size:100%; -webkit-text-size-adjust:100%;
  scroll-padding-top:calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion:no-preference){ html{ scroll-behavior:smooth; } }
body{ margin:0; background:var(--color-bg); color:var(--color-ink);
  font-family:var(--font-body); font-size:var(--fs-body); line-height:1.9;
  font-weight:400; }
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--color-brand); }
a:hover{ color:var(--color-brand-hover); }
:focus-visible{ outline:3px solid var(--color-focus); outline-offset:3px; }
h1,h2,h3{ font-family:var(--font-head); font-weight:700; line-height:1.5;
  letter-spacing:.02em; font-feature-settings:"palt"; margin:0;
  word-break:auto-phrase; text-wrap:balance; line-break:strict; }
p{ margin:0; text-wrap:pretty; }
ul,ol{ margin:0; padding:0; list-style:none; }
.ph{ display:inline-block; }
.line{ display:block; }

.container{ max-width:1200px; margin-inline:auto; padding-inline:var(--gutter); }
.col-read{ max-width:720px; }
/* 枠そのものを狭めると左端がセクションごとにずれるので、中身だけを狭めて左端をそろえる */
.col-wide{ max-width:1200px; }
.col-wide > *{ max-width:880px; }
.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden;
  clip-path:inset(50%); white-space:nowrap; }
.skip{ position:absolute; left:-9999px; z-index:var(--z-skip); }
.skip:focus{ left:var(--gutter); top:8px; background:var(--color-surface);
  color:var(--color-ink); font-size:1rem; min-height:44px; padding:12px 16px;
  border-radius:var(--radius-s); display:inline-flex; align-items:center; }

/* ========== §6-0 部品 ========== */
.label{ font-size:var(--fs-note); font-weight:700; letter-spacing:.04em;
  color:var(--color-brand); line-height:1.6; }
.label::before{ content:""; display:inline-block; width:24px; height:4px;
  background:var(--color-mark); vertical-align:middle; margin-right:8px; }

.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-body); font-size:1.125rem; font-weight:700; letter-spacing:.02em;
  line-height:1.4; min-height:60px; padding:12px 32px; border-radius:var(--radius-s);
  text-decoration:none; border:2px solid transparent; cursor:pointer;
  transition:background-color 150ms ease-out,color 150ms ease-out,border-color 150ms ease-out; }
.btn-primary{ background:var(--color-brand); color:var(--color-on-brand); }
.btn-primary:hover{ background:var(--color-brand-hover); color:var(--color-on-brand); }
.btn-secondary{ background:transparent; color:var(--color-brand); border-color:var(--color-brand); }
.btn-secondary:hover{ background:var(--color-tint); color:var(--color-brand-hover); }
.btn-onband{ background:var(--color-surface); color:var(--color-brand); }
.btn-onband:hover{ background:var(--color-tint); }
@media (max-width:639px){ .btn{ width:100%; white-space:normal; min-width:0; padding:12px 20px; } }
@media (min-width:1024px){ .btn{ white-space:nowrap; min-width:240px; } }

.note{ font-size:var(--fs-note); line-height:1.8; color:var(--color-ink-muted); }
.tag{ display:inline-flex; align-items:center; height:32px; padding:4px 12px;
  background:var(--color-tint); color:var(--color-brand); border-radius:var(--radius-s);
  font-size:var(--fs-note); font-weight:700; line-height:1.5; }

/* ========== §6-1 ヘッダー ========== */
.site-header{ position:sticky; top:0; z-index:var(--z-header); background:var(--color-bg);
  height:var(--header-h); display:flex; align-items:center;
  transition:background-color 150ms ease-out,border-color 150ms ease-out;
  border-bottom:1px solid transparent; }
.site-header[data-scrolled="true"]{ background:var(--color-surface); border-bottom-color:var(--color-line); }
.site-header .container{ display:flex; align-items:center; gap:16px; width:100%; }
.brand{ display:inline-flex; align-items:center; gap:8px; min-height:44px;
  text-decoration:none; color:var(--color-ink); margin-right:auto; }
.brand img{ width:32px; height:32px; }
.brand span{ font-family:var(--font-head); font-weight:700; font-size:1rem; letter-spacing:.06em; }
@media (min-width:640px){ .brand img{ width:40px; height:40px; } .brand span{ font-size:1.25rem; } }
.nav{ display:none; }
@media (min-width:1024px){
  .nav{ display:flex; gap:32px; margin-right:32px; }
  .nav a{ font-size:var(--fs-note); font-weight:500; color:var(--color-ink);
    text-decoration:none; display:inline-flex; align-items:center; min-height:44px;
    border-bottom:2px solid transparent; }
  .nav a:hover{ color:var(--color-ink); border-bottom-color:var(--color-brand); }
}
.header-cta{ min-height:44px; height:44px; font-size:1rem; padding:0 12px;
  white-space:nowrap; min-width:0; width:auto; }
@media (min-width:1024px){ .header-cta{ height:48px; padding:0 20px; } }
.menu-btn{ width:44px; height:44px; flex:none; margin-left:8px; display:inline-flex;
  align-items:center; justify-content:center; background:var(--color-surface);
  border:1px solid var(--color-line); border-radius:var(--radius-s); cursor:pointer; }
.menu-btn svg{ width:24px; height:24px; stroke:var(--color-ink); fill:none;
  stroke-width:2; stroke-linecap:round; }
@media (min-width:1024px){ .menu-btn{ display:none; } }
.menu{ position:fixed; inset:var(--header-h) 0 0; background:var(--color-bg);
  z-index:var(--z-menu); overflow-y:auto; overscroll-behavior:contain;
  padding:24px var(--gutter); display:none; }
.menu[data-open="true"]{ display:block; }
.menu a.menu-item{ display:flex; align-items:center; justify-content:space-between;
  min-height:56px; font-size:1.125rem; font-weight:700; color:var(--color-ink);
  text-decoration:none; border-bottom:1px solid var(--color-line); }
.menu .btn{ margin-top:32px; }

/* ========== §6-2 HERO ========== */
.hero{ background:var(--color-bg); position:relative; }
.hero-media{ position:relative; }
.hero-media img{ width:calc(100% + 2 * var(--gutter));
  margin-inline:calc(-1 * var(--gutter)); height:auto; }
.hero-text{ position:absolute; top:24px; left:0; right:0; }
.hero-text .label{ margin-bottom:12px; }
.hero h1{ font-size:var(--fs-h1-top); }
.hero-below{ padding-top:32px; padding-bottom:var(--sec-s); }
.hero-lead{ font-size:var(--fs-lead); line-height:1.8; font-weight:500; max-width:30em; }
.hero-actions{ display:flex; flex-direction:column; gap:12px; margin-top:24px; }
.hero-actions + .note{ margin-top:16px; }
/* 359px以下は重ねない（§9・壁の余りが3pxしかないため） */
@media (max-width:359px){
  .hero-text{ position:static; margin-top:32px; }
  .hero-media img{ margin-bottom:0; }
}
@media (min-width:640px) and (max-width:1023px){
  /* タブレット縦は絵を全幅＋cover、横向きは文字の下に絵（§9） */
  .hero-media img{ height:calc(100dvh - var(--header-h)); object-fit:cover;
    object-position:50% 50%; }
}
@media (min-width:640px) and (max-width:1023px) and (orientation:landscape){
  .hero-media img{ height:auto; object-fit:initial; }
  .hero-text{ position:static; margin-top:0; margin-bottom:32px; }
  .hero-inner{ padding-top:48px; }
}
@media (min-width:1024px){
  /* 100vw はスクロールバーの幅を含むため横にはみ出す。帯そのものを全幅にして100%で描く */
  .hero-inner{ position:relative; max-width:none; padding-inline:0; }
  .hero-media img{ width:100%; margin-inline:0;
    /* 画面の高さに合わせる。60vw を入れていたため横に広い画面ほど縦に伸び、
       画面からはみ出す＋画像が引き伸ばされてぼやけていた（2026-09-24 tomo指摘） */
    height:clamp(520px, calc(100dvh - var(--header-h) - 76px), 860px);
    object-fit:cover; object-position:35% 45%; }
  .hero-text{ position:absolute; top:64px; left:0; right:0; }
  .hero-text .container{ max-width:1200px; padding-inline:var(--gutter); }
  .hero-col{ max-width:544px; }
  .hero h1{ font-size:var(--fs-h1-top); margin-top:16px; }
  .hero-lead{ margin-top:24px; }
  .hero-actions{ flex-direction:row; gap:16px; margin-top:40px; }
  .hero-below{ display:none; }
}
/* 広い画面ほど本文が中央へ寄って見えるので、左端からの距離を画面幅に比例させる（2026-09-24 tomo指摘） */
@media (min-width:1440px){
  .hero-text .container{ max-width:none; padding-inline:clamp(40px, 6vw, 160px); }
}
/* 1024〜1279px は壁が足りないので1列（§6-2） */
@media (min-width:1024px) and (max-width:1279px){
  /* 1024px以上では .hero-inner の余白を0にして帯そのものを全幅にしている。
     そこへ「余白ぶん広げて負の余白で戻す」旧い計算を重ねると、左右に40pxずつ
     はみ出して横スクロールが出る（2026-09-25 実測・1024pxで40px） */
  .hero-media img{ height:auto; object-fit:initial; width:100%; margin-inline:0; }
  .hero-text{ position:static; }
  .hero-inner{ padding-top:48px; }
  .hero-media{ margin-top:32px; }
  .hero-below{ display:none; }
}

/* ========== 節の共通 ========== */
.section{ padding-block:var(--sec-m); }
.section-sm{ padding-block:var(--sec-s); }
.section-head .label{ margin-bottom:12px; }
.section-head h2{ font-size:var(--fs-h2); }
.section-head p{ margin-top:16px; }
.section-head .section-lead{ max-width:40em; }
@media (min-width:640px){ .section-head p{ margin-top:24px; } }
.section-body{ margin-top:32px; }
@media (min-width:640px){ .section-body{ margin-top:48px; } }
@media (min-width:1024px){ .section-body{ margin-top:64px; } }

/* ========== §6-3 困りごと（紙の面） ========== */
.paper{ background:var(--color-surface); border:1px solid var(--color-line);
  border-radius:var(--radius-m); padding:24px; }
@media (min-width:640px){ .paper{ border-radius:24px; padding:48px; } }
@media (min-width:1024px){ .paper{ padding:64px; } }
.pain-list li{ display:flex; gap:12px; padding-block:20px; border-top:1px solid var(--color-line); }
.pain-list li:last-child{ border-bottom:1px solid var(--color-line); }
.pain-num{ font-family:var(--font-head); font-weight:700; font-size:1.125rem;
  letter-spacing:.04em; color:var(--color-brand); flex:none; width:40px; line-height:1.8; }
.pain-list p{ font-size:1.125rem; line-height:1.8; font-weight:500; }
@media (min-width:1024px){ .pain-num{ width:56px; font-size:1.25rem; } .pain-list li{ padding-block:24px; } }
.pain-note{ margin-top:24px; border-left:4px solid var(--color-mark); padding-left:16px;
  font-size:var(--fs-body); font-weight:500; color:var(--color-ink); line-height:1.9; }
.pain-figure{ margin:24px 0 0; display:flex; justify-content:flex-end; }
.pain-figure img{ width:140px; }
@media (min-width:640px){ .pain-figure img{ width:240px; } }
@media (min-width:1024px){
  .pain-grid{ display:grid; grid-template-columns:5fr 7fr; gap:var(--grid-gap); align-items:start; }
}

/* ========== §6-4 手元に残るもの（０１→０３の流れ） ========== */
#scene{ --section-bg:var(--color-surface); background:var(--section-bg); }
/* 縦一本の線で順番を見せ、広い画面では画像を左右交互に置く */
.flow{ list-style:none; display:grid; gap:40px; }
.flow-step{ position:relative; }
.flow-media img{ width:100%; aspect-ratio:3/2; object-fit:cover;
  border-radius:var(--radius-m); display:block; }
.flow-body{ padding-top:16px; }
.scene-meta{ display:flex; align-items:center; gap:12px; }
.scene-num{ font-family:var(--font-head); font-weight:700; font-size:1.125rem;
  letter-spacing:.04em; color:var(--color-brand); position:relative; padding-bottom:6px; }
.scene-num::after{ content:""; position:absolute; left:0; bottom:0; width:20px; height:3px;
  background:var(--color-mark); }
.flow-step h3{ font-size:var(--fs-h3); margin-top:16px; }
.flow-step p{ margin-top:16px; }
/* 狭い画面：次の段へつなぐ短い縦線 */
.flow-step:not(:last-child)::after{ content:""; display:block; width:0; height:32px;
  margin:32px auto -4px; border-left:2px solid var(--color-line); }
/* 段ごとに現れる演出で線が折れるため、この節だけ持ち上げをやめて不透明度だけで出す */
.flow-step.reveal{ transform:none; }

@media (min-width:1024px){
  .flow{ gap:0; }
  .flow-step{ display:grid; grid-template-columns:minmax(0,1fr) 88px minmax(0,1fr); align-items:center;
    padding-block:48px; }
  .flow-media{ grid-column:1; grid-row:1; }
  .flow-body{ grid-column:3; grid-row:1; padding-top:0; }
  .flow-step:nth-of-type(even) .flow-media{ grid-column:3; }
  .flow-step:nth-of-type(even) .flow-body{ grid-column:1; }
  /* 中央を通る線。最初の段は上半分、最後の段は下半分を出さない */
  .flow-step::before{ content:""; position:absolute; top:0; bottom:0; left:50%;
    width:0; margin-left:-1px; border-left:2px solid var(--color-line); }
  .flow-step:first-of-type::before{ top:50%; }
  .flow-step:last-of-type::before{ bottom:50%; }
  .flow-step:not(:last-child)::after{ content:none; }
  /* 番号を線の上の丸にする */
  .flow-step .scene-num{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
    width:56px; height:56px; padding:0; border-radius:50%;
    display:flex; align-items:center; justify-content:center; font-size:1.125rem;
    background:var(--section-bg,var(--color-surface)); border:2px solid var(--color-brand); }
  .flow-step .scene-num::after{ content:none; }
}
.scene-actions{ margin-top:48px; }
@media (min-width:1024px){ .scene-actions{ margin-top:0; } }
.scene-actions .note{ margin-top:16px; }

/* ========== §6-5 考え方の帯 ========== */
/* 背景は #approach 側で濃い緑に上書きしている（§背景の切り分け）。
   ページで1枚だけの濃い面なので、余白は節ひとつぶんに取る */
.approach{ padding-block:var(--sec-m); }
.approach h2{ font-size:var(--fs-h2); }
.approach p{ margin-top:24px; }

/* ========== §6-6 よくあるご質問 ========== */
.faq-item{ background:var(--color-surface); border:1px solid var(--color-line);
  border-radius:var(--radius-m); margin-bottom:12px; }
.faq-item summary{ display:flex; gap:12px; align-items:flex-start; cursor:pointer;
  padding:16px; min-height:64px; font-size:1.125rem; font-weight:700; line-height:1.7;
  list-style:none; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-q,.faq-a{ font-family:var(--font-head); font-weight:700; color:var(--color-brand);
  flex:none; width:32px; font-size:1.125rem; line-height:1.7; }
.faq-item[open] summary .faq-chevron{ transform:rotate(180deg); }
.faq-chevron{ margin-left:auto; flex:none; width:20px; height:20px; stroke:var(--color-brand);
  fill:none; stroke-width:2; stroke-linecap:round; transition:transform 200ms ease-out; }
.faq-body{ display:flex; gap:12px; padding:0 16px 20px; }
@media (min-width:640px){ .faq-item summary{ padding:20px 24px; } .faq-body{ padding:0 24px 24px; } }

/* ========== §6-7 MIROCANAについて ========== */
.info-table{ width:100%; border-collapse:collapse; }
.info-table th,.info-table td{ text-align:left; vertical-align:top; }
.info-table th{ font-size:var(--fs-note); font-weight:700; color:var(--color-ink-muted); }
.info-table td{ font-size:var(--fs-body); }
@media (max-width:639px){
  .info-table,.info-table tbody,.info-table tr,.info-table th,.info-table td{ display:block; }
  .info-table tr{ padding:16px 20px; border-bottom:1px solid var(--color-line); }
  .info-table th{ padding-bottom:4px; }
}
@media (min-width:640px){
  .info-table tr{ border-bottom:1px solid var(--color-line); }
  .info-table th{ width:200px; padding:16px 16px 16px 0; }
  .info-table td{ padding:16px 0; }
}
.closing{ margin-top:48px; position:relative; padding-top:20px; font-family:var(--font-head);
  font-weight:700; font-size:1.25rem; line-height:1.7; letter-spacing:.02em; }
.closing::before{ content:""; position:absolute; top:0; left:0; width:32px; height:3px;
  background:var(--color-mark); }
@media (min-width:1024px){ .closing{ font-size:1.75rem; } }

/* ========== §6-8 相談カード（2026-09-25 作り直し） ==========
   参考＝j-q.co.jp を実測。あちらは「濃い色は相談カード1枚だけ、ほかは地のまま」。
   こちらも、押してほしい場所を1枚のカードに集約する。
   作り直す前は、見出しが左端・行き先が右端で1400px離れており、視線が続かなかった。 */
.cta{ background:var(--color-tint); padding-block:var(--sec-m) var(--sec-s); }
.cta-card{ display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center;
  gap:24px; background:var(--color-brand); color:var(--color-on-brand);
  border-radius:var(--radius-m); padding:32px 24px; text-decoration:none;
  --color-focus:#FFFDF8;
  transition:background-color var(--dur) var(--ease); }
.cta-card:hover{ background:var(--color-brand-hover); color:var(--color-on-brand); }
.cta-card h2{ font-size:var(--fs-h3); }
.cta-card p{ margin-top:12px; font-size:var(--fs-note); line-height:1.8;
  color:var(--color-tint); max-width:38em; }
.cta-card__go{ width:44px; height:44px; flex:none; border-radius:50%;
  display:grid; place-items:center; border:1px solid rgba(255,253,248,.55);
  transition:background-color var(--dur) var(--ease); }
.cta-card__go svg{ width:18px; height:14px; fill:none; stroke:var(--color-on-brand);
  stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round;
  transition:stroke var(--dur) var(--ease), transform var(--dur) var(--ease); }
.cta-card:hover .cta-card__go{ background:var(--color-surface); }
.cta-card:hover .cta-card__go svg{ stroke:var(--color-brand); transform:translateX(3px); }
@media (min-width:640px){
  .cta-card{ padding:40px; border-radius:var(--radius-l); }
  .cta-card h2{ font-size:var(--fs-h2); }
}
@media (min-width:1024px){ .cta-card{ padding:48px 56px; } }

/* ========== §6-9 フッター（2026-09-25 作り直し） ==========
   参考＝j-q.co.jp を実測。**フッターに背景色を敷かない**（ページの地のまま）。
   小さめの文字で静かに並べ、細い罫線1本で最下段を分ける。
   作り直す前は、淡緑の上に濃い緑の角丸カードが浮いていて、
   左半分がほぼ空だった（tomo指摘「一般的なサイトとあまりに違う」）。 */
.site-footer{ background:var(--color-tint); padding-block:var(--sec-s) 32px; }
.footer-top{ display:grid; gap:40px; }
/* 淡い地の上なので、ここはロゴ画像を置いてよい
   （§2「ロゴはブランド色の面の上に置かない」は濃い面の話。作り直しで面が淡くなった） */
.footer-logo{ display:inline-flex; align-items:center; gap:10px; text-decoration:none; }
.footer-logo img{ width:36px; height:36px; }
.footer-wordmark{ font-family:var(--font-head); font-weight:700; font-size:1.25rem;
  letter-spacing:.06em; color:var(--color-brand); }
.footer-tag{ margin-top:12px; font-size:var(--fs-note); line-height:1.8;
  color:var(--color-ink-muted); max-width:24em; }
.footer-cols{ display:grid; gap:32px;
  grid-template-columns:repeat(auto-fit, minmax(160px, max-content)); }
.footer-heading{ font-size:var(--fs-note); font-weight:700; color:var(--color-ink); }
.footer-cols ul{ list-style:none; margin-top:4px; }
.footer-cols a{ display:inline-flex; align-items:center; min-height:40px;
  font-size:var(--fs-note); color:var(--color-ink-muted); text-decoration:none; }
.footer-cols a:hover{ color:var(--color-brand-hover); text-decoration:underline; }
/* 淡緑の上では --color-line が1.1:1で見えない（§背景） */
.footer-bottom{ margin-top:40px; padding-top:24px; border-top:1px solid rgba(35,42,39,.14);
  display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center;
  gap:8px 24px; }
.footer-legal{ display:flex; flex-wrap:wrap; gap:0 24px; }
.footer-legal a{ display:inline-flex; align-items:center; min-height:40px;
  font-size:var(--fs-note); color:var(--color-ink-muted); }
.copyright{ font-size:var(--fs-note); color:var(--color-ink-muted); }
@media (min-width:768px){
  .footer-top{ grid-template-columns:minmax(0,340px) minmax(0,1fr); gap:80px; align-items:start; }
  .footer-cols{ gap:64px; }
}
@media (min-width:1024px){
  .site-footer{ padding-block:var(--sec-m) 40px; }
  .footer-cols{ gap:96px; }
}
/* ========== §6-13 フォーム ========== */
.form-panel{ background:var(--color-surface); border:1px solid var(--color-line);
  border-radius:var(--radius-m); padding:32px 20px; }
@media (min-width:640px){ .form-panel{ padding:48px 40px; border-radius:24px; } }
.field{ margin-bottom:32px; }
.field > label,.field legend{ display:block; font-size:1.125rem; font-weight:700;
  line-height:1.7; margin-bottom:8px; padding:0; }
.req,.opt{ font-size:var(--fs-note); font-weight:700; margin-left:8px; }
.req{ color:var(--color-error); } .opt{ color:var(--color-ink-muted); }
.field input[type="text"],.field input[type="email"],.field textarea{
  width:100%; font-family:var(--font-body); font-size:1.125rem; color:var(--color-ink);
  background:var(--color-surface); border:1px solid var(--color-field-line);
  border-radius:var(--radius-s); padding:0 16px; height:56px; }
.field textarea{ min-height:200px; padding:12px 16px; line-height:1.8; resize:vertical; }
.field input:focus-visible,.field textarea:focus-visible{ border:2px solid var(--color-brand); }
.field .hint{ margin-top:8px; font-size:var(--fs-note); color:var(--color-ink-muted); line-height:1.8; }
fieldset{ border:0; margin:0; padding:0; }
.radio-row{ display:flex; align-items:center; gap:12px; width:100%; min-height:56px;
  border:1px solid var(--color-line); border-radius:var(--radius-s); padding:8px 16px;
  margin-bottom:8px; cursor:pointer; line-height:1.6; }
.radio-row input{ position:absolute; opacity:0; width:0; height:0; }
.radio-dot{ width:24px; height:24px; flex:none; border:2px solid var(--color-field-line);
  border-radius:50%; display:inline-flex; align-items:center; justify-content:center; }
.radio-row:has(input:checked){ border:2px solid var(--color-brand); background:var(--color-tint); }
.radio-row:has(input:checked) .radio-dot{ border-color:var(--color-brand); }
.radio-row:has(input:checked) .radio-dot::after{ content:""; width:12px; height:12px;
  border-radius:50%; background:var(--color-brand); }
.radio-row:has(input:focus-visible){ outline:3px solid var(--color-focus); outline-offset:3px; }
.legal-box{ background:var(--color-tint); border-radius:var(--radius-m); padding:24px 20px;
  margin-bottom:16px; }
.legal-box p{ font-size:1.125rem; font-weight:700; line-height:1.8; }
.legal-box p + p{ margin-top:12px; }
.form-error{ color:var(--color-error); font-weight:700; margin-bottom:16px; }
.form-submit{ width:100%; max-width:400px; }
@media (min-width:640px){ .form-panel .legal-box{ padding:24px 32px; } }

/* ========== §8 動き ========== */
/* .reveal の定義は §8 の末尾にまとめた（JS無効時の保険つき） */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ transition-duration:.01ms !important; animation-duration:.01ms !important; }
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; }
}
@media print{ .reveal{ opacity:1; transform:none; } }

/* ========== 幅ごとの出し分け ========== */
.sp-only{ display:inline; } .pc-only{ display:none; }
@media (min-width:1024px){ .sp-only{ display:none; } .pc-only{ display:inline; } }
.hero-pc-only{ display:none; }
@media (min-width:1024px){ .hero-pc-only{ display:block; } }

/* 絵の上に置くブランド色の文字は濃い緑（§2・§6-2。#1D6B52 は絵の壁の上で3.8:1しか出ない） */
.hero-text .label{ color:var(--color-brand-hover); }
/* 絵の上に載る注記は薄い灰色だと足りない（2026-09-24 実測3.26:1 → 6.6:1） */
.hero-text .note{ color:var(--color-ink); }
/* 文字の下だけ、左からごく薄く明るくする。画面の縦横比が変わると切り取りも変わり、
   文字が写真の暗い部分に当たることがあるため（2026-09-24。位置調整だけでは必ず再発する）
   1024〜1279px は文字が画像の下に並ぶので掛けない */
@media (min-width:1280px){
  .hero-media{ position:relative; }
  .hero-media::after{ content:""; position:absolute; inset:0; pointer-events:none;
    /* 幅は文字の列に合わせて固定にする。割合にすると広い画面で写真を余計に白くし、
       狭い画面では文字の右側に届かない */
    background:linear-gradient(90deg,
      rgba(255,253,248,.80) 0px,
      rgba(255,253,248,.66) 560px,
      rgba(255,253,248,0) 920px); }
}
/* 小さな但し書きは写真の上に置かない（幅によって必ず暗部に重なるため）。
   写真のすぐ下の帯に出し、その分だけ写真の高さを詰めて1画面に収める（2026-09-24） */
@media (min-width:1024px){
  .hero-text .hero-pc-only > .note{ display:none; }
  .hero-below{ display:block; padding-top:20px; padding-bottom:0; }
  .hero-below .hero-lead,
  .hero-below .hero-actions{ display:none; }
}


/* HEROの絵は全幅に敷く（img の max-width:100% を解除する） */
.hero-media img{ max-width:none; }
@media (max-width:1023px){ .hero-media img{ max-width:calc(100% + 2 * var(--gutter)); } }
@media (min-width:1024px) and (max-width:1279px){
  .hero-media img{ max-width:none; }
}

/* 1023px以下は .hero-inner（container）が余白を持つので、中の container は余白ゼロ */
@media (max-width:1023px){
  .hero-text .container{ padding-inline:0; max-width:none; }
}

/* ========== 背景の切り分け（2026-09-25 改訂：濃い面を1枚入れる） ==========
   2026-09-24版は切り替えを2回に減らしたが、**その2回の差が1.03〜1.11:1しかなく、
   切り替わったことが目で分からない**状態だった（これが「背景が使えていない」の実体）。
   参考のj-q.co.jpは、淡い地と濃い面（#434643）をはっきり交互に置いて構造を見せている。
   こちらも濃い面を1枚だけ入れる。入れる場所は「考え方」＝短い文章ひとつなので、
   濃くしても読みにくくならず、上（白）と下（淡緑）の両方に対して差がはっきり出る。

   A 入口＝地色 / B 頼めること＋ご依頼の流れ＝白 / C 考え方＝濃い緑 /
   D よくあるご質問〜フッター＝淡緑。境目は角丸でせり上げる。 */
#scene{ border-radius:var(--radius-panel) var(--radius-panel) 0 0; }

#approach{ background:var(--color-brand); color:var(--color-on-brand);
  border-radius:var(--radius-panel) var(--radius-panel) 0 0;
  --color-focus:#FFFDF8; }
/* 濃い面の上では、ラベルの色（#1D6B52）が地に沈むので黄色の線＋淡色の文字にする */
#approach .label{ color:var(--color-tint); }
#approach p{ color:var(--color-tint); }

#faq{ border-radius:var(--radius-panel) var(--radius-panel) 0 0; }
#faq, #company{ background:var(--color-tint); }
/* 淡緑の上では既定の罫線が見えない（1.1:1）ので差し替える */
#faq .faq-item, #company .info-table th, #company .info-table td{ border-color:rgba(35,42,39,.14); }

/* 写真とページの地の継ぎ目をぼかす */
.hero-media::before{ content:""; position:absolute; left:0; right:0; bottom:0; height:120px;
  pointer-events:none; z-index:1;
  background:linear-gradient(rgba(243,241,234,0) 0%, rgba(243,241,234,1) 100%); }

/* JavaScriptが動かないときに本文が消えないようにする */
.reveal{ opacity:1; transform:none; }
.js .reveal{ opacity:0; transform:translateY(12px);
  transition:opacity var(--dur-reveal) var(--ease-soft), transform var(--dur-reveal) var(--ease-soft); }
.js .reveal.is-in{ opacity:1; transform:none; }
.js .flow-step.reveal{ transform:none; }
@media (prefers-reduced-motion:reduce){ .js .reveal{ opacity:1; transform:none; } }
@media print{ .js .reveal{ opacity:1; transform:none; } }

/* ロボット対策の隠し欄（人には見せない） */
.hp{ position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }

/* 番号付きの手順リスト（お礼ページ・ご依頼の流れ） */
.flow-steps{ list-style:none; counter-reset:step; display:grid; gap:16px; }
.flow-steps li{ counter-increment:step; position:relative; padding-left:44px; }
.flow-steps li::before{ content:counter(step,decimal-leading-zero);
  position:absolute; left:0; top:0; font-family:var(--font-head); font-weight:700;
  color:var(--color-brand); letter-spacing:.04em; }

/* ========== §6-9 文書ページ（規約・ポリシー・404） 2026-09-25 ==========
   下層ページはトップと別系統のCSS（style.css/editorial.css/subpage-v4.css）で
   組まれていて、色も文字も余白もフッターも揃っていなかった。site.css 一本に寄せる。
   地の扱いはトップの「頼めること」と同じ考え方：本文の面だけ白く、角丸でせり上げる。 */
.doc-page{ background:var(--color-surface);
  border-radius:var(--radius-panel) var(--radius-panel) 0 0; }
.doc-page > .section{ padding-block:var(--sec-s) var(--sec-m); }

.breadcrumb{ margin-bottom:24px; }
.breadcrumb ol{ display:flex; flex-wrap:wrap; align-items:center; gap:0 8px;
  font-size:var(--fs-note); color:var(--color-ink-muted); line-height:1.8; }
/* 区切りは --color-line だと白い面で1.36:1＝見えない。親の --color-ink-muted を継がせる */
.breadcrumb li + li::before{ content:"／"; margin-right:8px; }

.page-head h1{ font-size:var(--fs-h1-sub); margin-top:12px; }
.page-head .doc-lead{ margin-top:24px; }

/* 本文は1行が長くなりすぎないところで折る（読み返す文書なので幅を絞る） */
.doc{ max-width:760px; margin-top:48px; }
.doc > * + *{ margin-top:20px; }
.doc h2{ font-size:var(--fs-h3); margin-top:56px; padding-top:24px;
  border-top:1px solid var(--color-line); }
.doc h2:first-child{ margin-top:0; padding-top:0; border-top:0; }
.doc a{ text-underline-offset:3px; }
.doc dl{ margin:0; }
.doc dt{ font-weight:700; margin-top:20px; }
.doc dt:first-child{ margin-top:0; }
.doc dd{ margin:4px 0 0; color:var(--color-ink-muted); }
.doc-lead{ font-size:var(--fs-lead); font-weight:500; line-height:1.9; max-width:34em; }
.doc-meta{ margin-top:56px; padding-top:24px; border-top:1px solid var(--color-line);
  font-size:var(--fs-note); color:var(--color-ink-muted); }
.doc-nav{ margin-top:8px; display:flex; flex-wrap:wrap; gap:0 24px; }
.doc-nav a{ min-height:44px; display:inline-flex; align-items:center; font-weight:700; }
@media (min-width:640px){ .doc{ margin-top:56px; } }

/* 404。文章が短いので面の高さを持たせて、トップへ戻る道だけを太く見せる */
.notfound{ display:grid; gap:24px; align-content:center; min-height:46vh; }
.notfound .btn{ margin-top:8px; }
.notfound-links{ display:flex; flex-wrap:wrap; gap:0 24px; margin-top:8px; }
.notfound-links a{ min-height:44px; display:inline-flex; align-items:center; font-weight:700; }

/* 規約ページの目次。広い画面で本文の右が丸ごと空くのを、読むのに役立つもので埋める。
   スクロール追従はCSSだけ（sticky）で、JavaScriptには依存させない。
   狭い画面では出さない（縦に長い条文の前に目次を挟むと、本文に着くまでが遠くなるため）。 */
.doc-index{ display:none; }
@media (min-width:1024px){
  .doc-layout{ display:grid; grid-template-columns:minmax(0,1fr) 260px; gap:80px;
    align-items:start; }
  .doc-layout > .doc{ grid-column:1; grid-row:1; margin-top:0; }
  .doc-index{ display:block; grid-column:2; grid-row:1;
    position:sticky; top:calc(var(--header-h) + 32px);
    /* 画面の低いノートPCでは、これが無いと目次の最後の項目に一生たどり着けない */
    max-height:calc(100dvh - var(--header-h) - 64px); overflow-y:auto;
    overscroll-behavior:contain; }
  .doc-index-title{ font-size:var(--fs-note); font-weight:700; color:var(--color-brand);
    letter-spacing:.04em; padding-bottom:12px; border-bottom:1px solid var(--color-line); }
  .doc-index ol{ list-style:none; counter-reset:idx; }
  .doc-index li{ border-bottom:1px solid var(--color-line); }
  .doc-index a{ display:block; padding-block:12px; font-size:var(--fs-note);
    line-height:1.6; color:var(--color-ink-muted); text-decoration:none; }
  .doc-index a:hover{ color:var(--color-brand-hover); text-decoration:underline; }
  .doc-layout{ margin-top:56px; }
}

/* ========== §6-5b ご依頼の流れ（#flow） 2026-09-25 ==========
   「頼めること」の白い面をそのまま延長する。地の切り替えは §背景の2回のままにする
   （ここで地色に戻すと、白→地→淡緑で3回になり、§6-5 で減らした意味がなくなる）。 */
#flow{ background:var(--color-surface); }
/* 地の色が変わらないぶん、節の下余白＋次の節の上余白がそのまま空白として見える
   （1440pxで256px・実測）。半分ずつにして、合計を節ひとつぶんの余白に揃える */
#scene{ padding-bottom:calc(var(--sec-m) / 2); }
#flow{ padding-top:calc(var(--sec-m) / 2); }

/* 行の高さをいちばん高い行に合わせて揃える。揃えないと、説明が1行多い段だけ背が高くなり、
   番号の間隔が変わって並びがずれて見える（2026-09-25 tomo指摘。実測＝PCで157/115px、
   スマホで209/176px）。高さが決まっていないグリッドで grid-auto-rows:1fr を使うと、
   全部の行がいちばん高い行と同じ高さになる */
.steps{ --step-gap:32px; list-style:none; display:grid; gap:var(--step-gap);
  grid-auto-rows:1fr; }
.steps-item{ position:relative; padding-left:64px; }
.steps-num{ position:absolute; left:0; top:0; width:44px; height:44px; border-radius:50%;
  display:grid; place-items:center; background:var(--color-tint); color:var(--color-brand);
  font-family:var(--font-head); font-weight:700; font-size:1rem; letter-spacing:.04em; }
/* 番号どうしをつなぐ縦線。最後の項目からは伸ばさない */
.steps-item:not(:last-child)::before{ content:""; position:absolute; left:22px;
  top:52px; bottom:calc(var(--step-gap) * -1); width:1px; background:var(--color-line); }
.steps-item h3{ font-size:var(--fs-h3); padding-top:6px; }
.steps-item p:not(.steps-num){ margin-top:12px; }
.steps-item strong{ font-weight:700; color:var(--color-brand-hover); }

@media (min-width:1024px){
  .steps{ --step-gap:40px; }
  /* 番号・見出し・説明を横1行に並べる。行をまたがせない（2026-09-24の流れセクションで
     grid-row を書かずに2行へ落ちた） */
  .steps-item{ display:grid; grid-template-columns:44px 240px minmax(0,1fr);
    column-gap:32px; align-items:start; padding-left:0; }
  .steps-num{ position:static; grid-column:1; grid-row:1; }
  .steps-item h3{ grid-column:2; grid-row:1; padding-top:6px; }
  .steps-item p:not(.steps-num){ grid-column:3; grid-row:1; margin-top:8px; }
}

.steps-note{ margin-top:48px; background:var(--color-tint); border-radius:var(--radius-m);
  padding:24px 20px; }
.steps-note p{ font-weight:500; line-height:1.9; }
.steps-note .note{ margin-top:12px; font-weight:400; }
@media (min-width:640px){ .steps-note{ padding:32px; margin-top:56px; } }
@media (min-width:1024px){ .steps-note{ margin-top:64px; } }

/* ===== 2026-09-25 3案目「写真と仕事帖」デザイン部長Codex試作からの移植 ===== */
/* Selected option 3. Raster artwork, semantic HTML, existing public copy. */
.pain-grid>.section-head{display:grid;grid-template-columns:minmax(0,1fr) 200px;column-gap:32px;align-items:center}.pain-grid>.section-head .label{align-self:end}.pain-grid>.section-head h2{grid-column:1;align-self:start;margin-top:8px}.pain-vignette{grid-column:2;grid-row:1 / span 2;width:200px;height:auto;mix-blend-mode:multiply}.faq-vignette{width:280px;height:auto;margin-top:32px;mix-blend-mode:multiply}.service-team{mix-blend-mode:normal}
@media(max-width:1023px){#faq .section-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.faq-vignette{width:160px;margin:0}}
@media(max-width:639px){.pain-grid>.section-head{grid-template-columns:minmax(0,1fr) 100px;column-gap:12px}.pain-vignette{width:100px}.pain-grid>.section-head h2{font-size:26px}.faq-vignette{width:112px}#faq .section-head{gap:10px}#faq .section-head h2{font-size:26px}}
.notfound{grid-template-columns:minmax(0,1fr)}.notfound .ph{max-width:100%;overflow-wrap:anywhere}.notfound .btn{max-width:100%;padding-inline:20px}
:root{--color-bg:#f8faf7;--color-surface:#f8faf7;--color-ink:#12332e;--color-brand:#126651;--sec-m:80px;--sec-s:56px;--sec-l:96px;--radius-panel:0px}
body{background:var(--color-bg);line-height:1.85}button,input,textarea{font:inherit}button{cursor:pointer}figure{margin:0}figcaption{font-size:13px;color:#505955;padding:8px 0}main{outline:none}h2{font-weight:900}a{touch-action:manipulation}
.new-header{height:88px;padding:0 5%;display:flex;align-items:center;gap:30px;position:relative;z-index:20;background:#f8faf7}
.new-logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#102c32;flex:none;min-height:44px}
.new-logo span{font-family:var(--font-body);font-size:27px;font-weight:700;letter-spacing:.035em}.new-logo img{width:44px;height:44px;object-fit:contain}
.desktop-nav{margin-left:auto;display:flex;gap:30px;align-items:center}.desktop-nav a{text-decoration:none;color:#102c32;font-weight:700;font-size:16px;white-space:nowrap;padding-block:10px}
.desktop-nav a:hover{text-decoration:underline;text-underline-offset:7px}.header-action{background:var(--color-brand);color:#f8faf7;min-height:52px;display:flex;align-items:center;padding:10px 30px;font-size:18px;font-weight:700;border-radius:8px;text-decoration:none;white-space:nowrap}.header-action:hover{color:#f8faf7;background:#155641}
.nav-toggle{display:none;background:transparent;border:1px solid var(--color-line);border-radius:8px;min-width:44px;min-height:44px;color:var(--color-ink);align-items:center;justify-content:center}.mobile-nav{position:absolute;top:100%;left:0;right:0;background:#f8faf7;padding:20px;border-bottom:1px solid #b6c9bf;box-shadow:0 20px 40px #133d2820;max-height:calc(100dvh - 70px);overflow:auto}.mobile-nav a{display:flex;align-items:center;justify-content:space-between;padding:14px 4px;border-bottom:1px solid #d2dfd7;text-decoration:none}
.collage-hero{position:relative;isolation:isolate;overflow:clip;max-width:1920px;margin:0 auto;aspect-ratio:1681/936;background:#f8faf7}
.hero-art{position:absolute;inset:0;z-index:-1;display:block}.hero-art img{width:100%;height:100%;object-fit:cover;max-width:none;transform-origin:70% 65%}
.collage-copy{position:relative;margin-left:7.3%;padding-top:4.9%;width:55%}
.collage-copy h1{font-size:clamp(26px,3.77vw,66px);font-weight:900;line-height:1.44;letter-spacing:.005em;color:#092f28;text-wrap:initial;word-break:normal;font-feature-settings:"palt"}
.collage-copy h1 span{display:block;white-space:nowrap}.collage-copy p{font-size:clamp(16px,1.9vw,29px);font-weight:700;margin-top:28px;line-height:1.6}
.hero-cta{display:flex;width:max-content;gap:55px;align-items:center;justify-content:space-between;background:var(--color-brand);color:#f8faf7;padding:17px 30px;border-radius:6px;margin-top:28px;text-decoration:none;font-size:clamp(17px,1.7vw,25px);font-weight:700;min-height:64px}
.hero-cta:hover{background:#155641;color:#f8faf7}.hero-cta svg{flex:none;transition:transform 180ms}.hero-cta:hover svg{transform:translateX(3px)}
.hero-secondary{display:flex;gap:24px;width:max-content;align-items:center;margin-top:10px;min-height:44px;font-size:18px;font-weight:700;text-underline-offset:5px}
.hero-meta{position:absolute;right:18px;bottom:10px;display:flex;align-items:center;gap:12px;color:#3e5049;font-size:12px;background:#f8faf7ed;padding:0 8px}.hero-meta button{background:transparent;border:0;border-left:1px solid #abbdb3;padding:8px;min-height:44px;font-size:12px;color:#244d3e}
.container{max-width:1280px;padding-inline:40px}.section-head .label:before,.label:before{display:none}.label{font-size:15px;letter-spacing:.1em}.section-head h2{font-size:clamp(28px,3vw,42px);line-height:1.6}.section-head p{margin-top:20px}.section-body{margin-top:36px}
#scene{padding:64px 0 72px;background:#e4f0ec;border-radius:0}
#scene .section-head{text-align:center;max-width:850px;margin:0 auto}#scene .section-head .label{display:none}#scene h2{font-size:clamp(28px,3.4vw,48px);letter-spacing:.025em}#scene .section-lead{margin-inline:auto;max-width:40em}
.source-lead{max-width:48em;margin:28px auto 8px;text-align:center;font-size:17px}#scene .container>.note{text-align:center}
#scene .section-body{display:grid;grid-template-columns:1.08fr 1fr;gap:0 56px;align-items:center}.service-art{align-self:stretch;display:flex;flex-direction:column;justify-content:center}.service-art img{width:100%;height:auto;object-fit:contain}.service-art figcaption{text-align:right}
.flow{display:block}.flow-step,.flow-step:nth-of-type(even){display:block;padding:24px 0;border-bottom:1px solid #bbd2c6}.flow-step:first-child{padding-top:0}.flow-step:before,.flow-step:after{display:none!important}.flow-body{padding:0!important}.flow-step .scene-num{position:static;transform:none;width:auto;height:auto;border:0;background:transparent;border-radius:0;font-size:16px;display:block;padding:0}.scene-num:after{display:none}.tag{background:transparent;padding:0;font-size:16px}.flow-step h3{font-size:25px;margin-top:8px}.flow-step p{font-size:16px;line-height:1.9;margin-top:12px}.scene-meta{gap:18px}.scene-actions{grid-column:1/-1;display:flex;gap:32px;align-items:center;margin-top:32px}.scene-actions .btn{min-height:52px;font-size:16px;white-space:nowrap}.scene-actions .note{max-width:38em;font-size:14px}
#pain{background:#f8faf7;padding:80px 0}.paper{padding:0;border:0;border-radius:0;background:transparent}.pain-grid{display:block}.pain-grid>.section-head{margin-bottom:28px}.pain-list{display:grid;grid-template-columns:1fr 1fr;column-gap:40px}.pain-list li{padding:22px 0;gap:16px}.pain-list li:last-child{border-bottom:0}.pain-num{width:30px;font-size:15px}.pain-list p{font-size:16px;line-height:1.85;font-weight:400}.pain-note{max-width:46em;margin-top:28px;font-size:16px}
#flow{background:#f0f4ed;padding:72px 0 80px;border-top:1px solid #d9e0d8}.steps{--step-gap:20px;grid-auto-rows:1fr}.steps-item{grid-template-columns:44px 175px minmax(0,1fr);gap:24px}.steps-item h3{font-size:21px}.steps-item p:not(.steps-num){font-size:16px}.steps-note{margin-top:32px;padding:24px;border-radius:0;background:#e4ece0}.steps-note p{font-size:15px}
#approach{border-radius:0;padding:80px 0;background:#175c49}.approach-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}.approach-grid>*{max-width:none}.approach-grid figure{margin:0}.approach-grid img{width:100%;border-radius:0}.approach-grid figcaption{color:#d2e5db}.approach-copy h2{font-size:clamp(28px,3vw,40px);line-height:1.6}.approach-copy p{font-size:17px;line-height:2}.approach-copy .label{margin:0}
#faq{padding:80px 0;background:#f8faf7;border-radius:0}#faq .container{display:grid;grid-template-columns:300px 1fr;gap:56px}#faq .section-body{margin:0;max-width:none}#faq h2{font-size:30px}.faq-item{background:transparent;border:0;border-bottom:1px solid #cad8d0;border-radius:0;margin:0}.faq-item:first-child{border-top:1px solid #cad8d0}.faq-item summary{padding:24px 0;gap:16px;font-size:16px}.faq-body{padding:0 0 24px;font-size:16px}.faq-item[open]{background:transparent}
#company{background:#edf3ed;padding:64px 0}.info-table th{width:24%;font-size:15px}.info-table td{font-size:16px}.info-table tr{background:transparent}.info-table{background:transparent}#company .container{display:grid;grid-template-columns:300px 1fr;gap:56px}#company .section-body{margin:0}#company h2{font-size:28px}.col-wide>*{max-width:none}
#contact-band{background:#edf3ed;padding:24px 0 64px}.cta-card{border-radius:8px;padding:42px 48px;grid-template-columns:1fr auto}.cta-card h2{font-size:36px}.cta-card p{font-size:17px;max-width:44em}.cta-card__go{width:60px;height:60px;border-radius:8px}
.new-footer{background:#edf3ed;padding:20px max(40px,calc((100vw - 1200px)/2)) 32px}.footer-upper{display:flex;justify-content:space-between;gap:60px;padding-bottom:48px}.footer-upper p{margin-top:12px;font-size:15px}.footer-upper>nav{display:flex;flex-wrap:wrap;gap:18px 30px;max-width:600px;align-content:start}.footer-upper nav a{color:#234337;text-decoration:none;font-size:15px;min-height:44px;display:flex;align-items:center}.footer-lower{border-top:1px solid #bbccc2;padding-top:24px;display:flex;gap:32px;justify-content:space-between;align-items:center}.footer-lower nav{display:flex;gap:24px;flex-wrap:wrap}.footer-lower a,.footer-lower small{font-size:13px;color:#395248}
.page-contact .section-sm,.page-thanks .section-sm{padding-block:48px}.page-contact .form-panel{background:#f8faf7;border:1px solid #cad8d0;border-radius:8px}.page-contact .section-sm:first-of-type{background:#e4f0ec}.page-contact .form-panel:focus-within{border-color:#126651}.doc-page{padding-top:48px;background:#f8faf7}.doc-page h1{font-size:36px}.doc-page .doc-index{top:24px}.page-404 .section{padding-block:80px}
@keyframes breathe-paper{0%,100%{transform:scale(1)}50%{transform:scale(1.006)}}
@keyframes arrive{from{opacity:.55;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){.hero-art img{animation:breathe-paper 14s ease-in-out infinite}.entered{animation:arrive .6s ease-out both}}
.motion-paused .hero-art img{animation-play-state:paused}
@media(min-width:1800px){.collage-copy h1{font-size:66px}.collage-copy p{font-size:28px}}
@media(max-width:1199px){.new-header{gap:22px;padding-inline:32px}.desktop-nav{gap:18px}.desktop-nav a{font-size:14px}.new-logo span{font-size:22px}.new-logo img{width:36px;height:36px}.header-action{padding-inline:22px;font-size:16px}.collage-copy p{margin-top:18px}.hero-cta{margin-top:18px;min-height:54px;padding:12px 24px;gap:30px}.hero-secondary{font-size:16px;margin-top:4px}.hero-meta{bottom:0}.approach-grid{gap:40px}#faq .container,#company .container{grid-template-columns:240px 1fr;gap:32px}}
@media(max-width:1023px){.desktop-nav{display:none}.new-header{height:72px;gap:18px}.header-action{margin-left:auto}.nav-toggle{display:flex}.collage-copy{padding-top:4.5%}.collage-copy h1{font-size:3.72vw}.collage-copy p{font-size:1.85vw;margin-top:16px}.hero-cta{font-size:17px;min-height:48px;padding:10px 20px;margin-top:16px}.hero-secondary{font-size:14px}.hero-meta{font-size:11px}.container{padding-inline:28px}#scene .section-body{gap:32px;grid-template-columns:1fr 1fr}.flow-step h3{font-size:22px}.flow-step p{font-size:15px}#faq .container,#company .container{display:block}#faq .section-body,#company .section-body{margin-top:28px}.approach-grid{gap:32px}.steps-item{display:block;padding-left:60px}.steps-item h3{padding-top:6px}.steps-item p:not(.steps-num){margin-top:12px}.new-footer{padding-inline:28px}.footer-upper{gap:30px}.footer-upper>nav{max-width:380px}}
@media(max-width:639px){:root{--header-h:64px;--sec-m:48px;--sec-s:40px}.new-header{padding-inline:20px;height:68px;gap:10px}.new-logo{gap:7px}.new-logo span{font-size:18px}.new-logo img{width:29px;height:29px}.header-action{font-size:12px;padding:8px 10px;min-height:42px;border-radius:5px}.nav-toggle{min-width:40px;min-height:42px}.collage-hero{aspect-ratio:auto;min-height:740px;height:185vw;max-height:940px}.hero-art img{object-fit:cover;object-position:center bottom;animation:none}.collage-copy{margin-left:6%;padding-top:30px;width:88%}.collage-copy h1{font-size:clamp(24px,6.6vw,39px);line-height:1.6;letter-spacing:0}.collage-copy h1 span{white-space:normal}.collage-copy p{font-size:16px;line-height:1.8;margin-top:16px;max-width:18em}.hero-cta{min-height:54px;font-size:17px;margin-top:20px;padding:12px 24px;gap:32px}.hero-secondary{font-size:15px;margin-top:6px;gap:16px}.hero-meta{right:8px;bottom:8px;max-width:calc(100% - 16px);font-size:11px}.hero-meta button{display:none}.container{padding-inline:22px}#scene{padding:40px 0 48px}#scene h2{font-size:28px}#scene .section-lead{font-size:16px;text-align:left;margin-top:20px}.source-lead{font-size:16px;text-align:left;margin-top:20px}#scene .container>.note{text-align:left;font-size:14px}#scene .section-body{display:flex;flex-direction:column;gap:24px;margin-top:28px}.service-art{width:100%}.flow-step{padding:24px 0}.flow-step p{font-size:16px}.flow-step h3{font-size:24px}.scene-actions{display:block;margin-top:0}.scene-actions .btn{width:100%}.scene-actions .note{margin-top:16px}#pain{padding:48px 0}.pain-list{display:block}.pain-list li{padding:20px 0}.pain-grid>.section-head{margin-bottom:24px}.pain-note{font-size:15px}#flow{padding:48px 0}.steps{--step-gap:28px}.steps-item h3{font-size:21px}.steps-note{padding:20px}.steps-note p{font-size:15px}#approach{padding:48px 0}.approach-grid{display:flex;flex-direction:column;gap:28px}.approach-grid figure{order:2}.approach-copy h2{font-size:28px}.approach-copy p{font-size:16px}#faq{padding:48px 0}.faq-item summary{padding:20px 0}.faq-q{flex:none}#company{padding:40px 0}.info-table th{width:30%;font-size:14px}.info-table td{font-size:15px}.info-table th,.info-table td{padding:18px 8px}#contact-band{padding:24px 0 40px}.cta-card{padding:28px 24px;gap:20px;grid-template-columns:1fr}.cta-card h2{font-size:28px}.cta-card p{font-size:16px}.cta-card__go{width:48px;height:48px}.new-footer{padding:12px 22px 28px}.footer-upper,.footer-lower{display:block}.footer-upper{padding-bottom:24px}.footer-upper>nav{margin-top:24px;display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;max-width:none}.footer-upper nav a{font-size:14px}.footer-lower nav{display:flex;flex-direction:column;gap:12px;margin-top:16px}.footer-lower a{min-height:30px}.page-contact .section-sm,.page-thanks .section-sm{padding-block:32px}.doc-page h1{font-size:28px}.doc-page{padding-top:28px}.doc-index{margin-top:32px}}
@media(max-width:359px){.new-header{padding-inline:12px;gap:7px}.new-logo span{font-size:16px}.new-logo img{width:25px;height:25px}.header-action{padding-inline:7px;font-size:11px}.nav-toggle{min-width:36px}.collage-copy h1{font-size:23px}.collage-copy p{font-size:15px}.collage-hero{min-height:720px}.container{padding-inline:18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.hero-meta button{display:none}}

/* ===== 移植のための調整（静的HTML化で試作と見た目をそろえるための最小限） ===== */
/* 試作の styles.css（Vite試作の土台）にあって site.css に無いもの */
body{ min-width:0; min-height:100vh; -webkit-font-smoothing:antialiased; }
/* 試作はメニューを開いたときだけ描く。静的HTMLでは hidden 属性で閉じておく */
.mobile-nav[hidden]{ display:none; }
/* .reveal について：試作は html に js クラスを付けないので、上の「.js .reveal{opacity:0}」は効かず
   本文は最初から見えている（出るのは design.css の .entered の arrive だけ）。
   本番もそれに合わせ、site.js は js クラスを付けない。ここで .js .reveal を打ち消す方式は取らない
   （.cta-card など reveal の付いた要素が自前で持つ transition まで消してしまうため）。 */

/* 2026-09-26: C4-C6 読みやすさ・操作領域の調整 */
.hero-secondary{background:#f8faf7;color:#126651;padding-inline:12px;margin-left:-12px;border:1px solid #c8d7ce;border-radius:4px}
.hero-secondary:hover{background:#e4f0ec;color:#126651}
@media(min-width:640px) and (max-width:1023px){.collage-copy p{font-size:max(16px,1.85vw)}}
@media(max-width:639px){
  .header-action{min-height:44px}
  .nav-toggle{min-width:44px;min-height:44px;flex-shrink:0}
  .footer-lower a,.steps-note a,#company .section-body>p>a,.doc-index a{display:inline-flex;align-items:center;min-height:44px;min-width:44px}
}
/* 2026-09-26 ハヤト: 上のC5の副作用対応。640〜729pxでは説明文が16pxになって末尾「で。」が
   バインダーの濃い緑に重なる（640pxで文字の画素のコントラスト最小1.72:1）。この幅だけ
   「手順書づくりから、制作、／自動化まで。」の2行に折る（12.5em＝12字で折り返す）。730px以上は1行のまま */
@media(min-width:640px) and (max-width:729px){.collage-copy p{max-width:12.5em}}

/* 2026-09-27: 相談への入口・主/補助ボタン統一・固定ヘッダー */
:root{--header-h:88px;--action-height:56px}
html{scroll-padding-top:0}
:where([id]){scroll-margin-top:calc(var(--header-h) + 16px)}
.doc-page .doc-index{top:calc(var(--header-h) + 24px)}
.new-header{position:sticky;top:0;z-index:var(--z-header)}
.mobile-nav{max-height:calc(100dvh - var(--header-h))}
.btn,.header-action,.hero-cta,.hero-secondary{
  display:inline-flex;align-items:center;justify-content:center;gap:16px;
  min-width:44px;min-height:var(--action-height);max-width:100%;
  padding:12px 24px;border:2px solid transparent;border-radius:8px;
  font-family:var(--font-body);font-size:17px;font-weight:700;line-height:1.5;
  letter-spacing:0;text-align:center;text-decoration:none;white-space:normal;
  transition:background-color 150ms ease-out,color 150ms ease-out,border-color 150ms ease-out;
}
.btn-primary,.header-action,.hero-cta{background:var(--color-brand);color:var(--color-on-brand)}
.btn-primary:hover,.header-action:hover,.hero-cta:hover{background:var(--color-brand-hover);color:var(--color-on-brand)}
.btn-secondary,.hero-secondary{background:var(--color-on-brand);color:var(--color-brand);border-color:var(--color-brand)}
.btn-secondary:hover,.hero-secondary:hover{background:var(--color-tint);color:var(--color-brand-hover);border-color:var(--color-brand-hover)}
:is(.btn,.header-action,.hero-cta,.hero-secondary):focus-visible{outline:3px solid var(--color-focus);outline-offset:3px}
.hero-cta,.hero-secondary{display:flex;width:272px;margin-left:0;justify-content:space-between}
.hero-secondary{margin-top:12px}
.hero-cta svg,.hero-secondary svg{flex:none;transition:none}
.hero-cta:hover svg{transform:none}
.header-action{min-height:44px;padding:8px 16px;font-size:16px;flex-shrink:0}
.scene-consult{margin-top:20px;padding-inline:16px}
.scene-actions{flex-direction:column;align-items:flex-start;gap:16px}
.scene-actions .btn{min-height:var(--action-height);font-size:17px;white-space:normal}
.scene-actions .note{margin-top:0;max-width:none}
.cta-card{border-radius:8px}
@media(max-width:1023px){:root{--header-h:72px}}
/* 中間幅でも2つのボタンをヒーローの箱の中に収める。画像の読み込み有無に依存しない。 */
@media(min-width:640px) and (max-width:1023px){.collage-hero{width:100%;min-height:440px}}
@media(max-width:639px){
  :root{--header-h:68px;--action-height:52px}
  .btn,.hero-cta,.hero-secondary{padding-block:10px}
  .header-action{font-size:12px;padding:8px 10px}
  .scene-actions .note{margin-top:16px}
}
@media(max-width:359px){.header-action{font-size:11px;padding-inline:7px}}
