/* 株式会社SSM コーポレートサイト */
:root {
  --ink: #141414;
  --text: #2a2a2a;
  --muted: #6c6a66;
  --line: #e2dfd8;
  --bg: #ffffff;
  --bg-2: #f6f4ef;
  --dark: #111111;
  --dark-2: #1b1b1b;
  --accent: #9c7c4c;
  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 76px;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --en: "Jost", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 2; letter-spacing: .05em; -webkit-font-smoothing: antialiased; }
main { display: block; overflow-x: hidden; }
@supports (overflow-x: clip) { main { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255,255,255,.96); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { width: 108px; height: auto; }
.brand__ja { font-size: 11px; letter-spacing: .14em; color: var(--muted); padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.4; }
.gnav { display: flex; align-items: center; gap: 36px; }
.gnav a { text-decoration: none; font-size: 14px; color: var(--ink); position: relative; padding-block: 6px; }
.gnav a:not(.gnav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.gnav a:not(.gnav__cta):hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav__cta { padding: 10px 22px !important; background: var(--ink); color: #fff !important; transition: background .2s; }
.gnav__cta:hover { background: #333; }
.menu-btn { display: none; }

/* ボタン・リンク */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 54px; padding: 0 30px; background: var(--ink); color: #fff; border: 1px solid var(--ink); font: 500 14px/1 var(--sans); letter-spacing: .1em; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn::after { content: ""; width: 22px; height: 1px; background: currentColor; transition: width .25s; }
.btn:hover::after { width: 32px; }
.btn:hover { background: #333; border-color: #333; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn--line-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--line-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn:disabled { opacity: .5; cursor: wait; }
.text-link { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--line); }
.text-link:hover { text-decoration-color: var(--ink); }

/* 見出し */
.label { display: flex; align-items: center; gap: 14px; font: 500 12px/1.4 var(--en); letter-spacing: .28em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.label small { font: 400 12px/1 var(--sans); letter-spacing: .12em; color: var(--muted); text-transform: none; }
.sec-title { font: 500 clamp(24px, 3vw, 34px)/1.6 var(--serif); letter-spacing: .08em; color: var(--ink); }
.sec-lead { margin-top: 20px; color: var(--muted); max-width: 640px; }
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section { padding-block: clamp(80px, 11vw, 140px); }
.section--tint { background: var(--bg-2); }
.prose p + p { margin-top: 1.4em; }

/* ヒーロー */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; min-height: min(calc(100svh - var(--header-h)), 760px); }
.hero-text { padding-block: 80px; position: relative; z-index: 2; }
.hero .label { color: #c9ad7f; }
.hero-title { font: 500 clamp(32px, 4.4vw, 56px)/1.55 var(--serif); letter-spacing: .1em; }
.hero-lead { margin-top: 28px; color: rgba(255,255,255,.72); font-size: 15px; max-width: 30em; }
.hero-actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; align-self: stretch; margin-right: calc(var(--gutter) * -1); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--dark) 0%, rgba(17,17,17,0) 30%), linear-gradient(0deg, rgba(17,17,17,.5) 0%, rgba(17,17,17,0) 30%); }
.hero-caption { position: absolute; right: var(--gutter); bottom: 28px; z-index: 2; font: 400 11px/1.4 var(--en); letter-spacing: .24em; color: rgba(255,255,255,.55); text-transform: uppercase; }
.hero-scroll { position: absolute; left: var(--gutter); bottom: 0; z-index: 2; display: flex; align-items: center; gap: 12px; font: 400 11px/1 var(--en); letter-spacing: .3em; color: rgba(255,255,255,.5); padding-bottom: 28px; }
.hero-scroll::after { content: ""; width: 1px; height: 48px; background: linear-gradient(rgba(255,255,255,.6), transparent); }
@media (min-width: 1300px) { .hero-media { margin-right: calc((100vw - var(--wrap)) / -2); } }

/* ABOUT */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.about .prose { padding-top: 46px; }
.about-sign { margin-top: 36px; display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 13px; }
.about-sign img { width: 86px; }

/* 事業（主要2つ） */
.service-list { display: grid; gap: clamp(56px, 8vw, 110px); }
.service { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; text-decoration: none; color: inherit; }
.service--rev .service-img { order: 2; }
.service-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
a.service:hover .service-img img { transform: scale(1.03); }
.service-no { font: 300 64px/1 var(--en); color: var(--line); letter-spacing: .02em; display: block; margin-bottom: 18px; }
.service h3 { font: 500 clamp(22px, 2.4vw, 28px)/1.6 var(--serif); letter-spacing: .08em; color: var(--ink); }
.service-en { display: block; margin-top: 6px; font: 400 12px/1.4 var(--en); letter-spacing: .22em; color: var(--accent); text-transform: uppercase; }
.service p { margin-top: 22px; color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; font: 500 13px/1 var(--en); letter-spacing: .2em; color: var(--ink); text-transform: uppercase; }
.more::after { content: ""; width: 40px; height: 1px; background: currentColor; transition: width .3s; }
a:hover .more::after { width: 56px; }
.check { margin-top: 26px; border-top: 1px solid var(--line); }
.check li { padding: 14px 0 14px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: 14px; }
.check li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 8px; height: 1px; background: var(--accent); }

/* その他の事業（一覧） */
.biz-list { border-top: 1px solid var(--ink); }
.biz-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.4fr) 32px; gap: 24px; align-items: center; padding: 30px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .25s; }
a.biz-row:hover { background: rgba(255,255,255,.7); }
.biz-row .no { font: 400 14px/1 var(--en); letter-spacing: .14em; color: var(--accent); }
.biz-row h3 { font: 500 17px/1.6 var(--serif); letter-spacing: .06em; color: var(--ink); }
.biz-row p { font-size: 14px; color: var(--muted); line-height: 1.85; }
.biz-row .arr { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: border-color .25s, background .25s; }
.biz-row .arr::after { content: ""; position: absolute; left: 11px; top: 13px; width: 6px; height: 6px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); transform: rotate(45deg); }
a.biz-row:hover .arr { border-color: var(--ink); }

/* 制作の流れ */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 1px solid var(--line); }
.flow li { padding: 8px 28px 8px; border-right: 1px solid var(--line); }
.flow .step { font: 400 12px/1 var(--en); letter-spacing: .24em; color: var(--accent); }
.flow .step b { display: block; margin-top: 10px; font: 300 40px/1 var(--en); color: var(--ink); letter-spacing: 0; }
.flow h3 { margin-top: 26px; font: 500 18px/1.6 var(--serif); color: var(--ink); letter-spacing: .08em; }
.flow p { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.9; }

/* 画像帯 */
.band { position: relative; height: clamp(220px, 32vw, 420px); overflow: hidden; background: var(--dark); }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.band p { position: absolute; left: 0; right: 0; bottom: clamp(24px, 4vw, 48px); color: #fff; font: 500 clamp(18px, 2.2vw, 26px)/1.7 var(--serif); letter-spacing: .14em; text-shadow: 0 2px 20px rgba(0,0,0,.5); }

/* 会社情報（トップ） */
.co-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); }
.profile { border-top: 1px solid var(--ink); }
.profile > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.profile dt { font-weight: 500; color: var(--ink); font-size: 14px; }
.profile dd { font-size: 14px; }
.profile ol { counter-reset: n; }
.profile ol li { counter-increment: n; padding-left: 2em; text-indent: -2em; }
.profile ol li::before { content: counter(n) ". "; display: inline-block; width: 2em; text-indent: 0; color: var(--muted); font-family: var(--en); }

/* CTA */
.cta { background: var(--dark); color: #fff; padding-block: clamp(72px, 9vw, 120px); position: relative; overflow: hidden; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta .label { color: #c9ad7f; }
.cta-title { font: 500 clamp(24px, 3vw, 34px)/1.6 var(--serif); letter-spacing: .1em; }
.cta-text { margin-top: 16px; color: rgba(255,255,255,.66); max-width: 560px; font-size: 14px; }
.cta-mark { position: absolute; right: -2%; bottom: -14%; width: min(46%, 560px); opacity: .05; pointer-events: none; }

/* 下層ページ見出し */
.page-head { background: var(--bg-2); padding-block: clamp(64px, 9vw, 112px) clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-en { font: 300 clamp(40px, 6vw, 72px)/1 var(--en); letter-spacing: .06em; color: var(--ink); }
.page-title { margin-top: 18px; display: flex; align-items: center; gap: 14px; font: 500 15px/1.4 var(--serif); letter-spacing: .14em; color: var(--ink); }
.page-title::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.page-lead { margin-top: 30px; max-width: 680px; color: var(--muted); }
.crumbs { display: flex; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 36px; letter-spacing: .08em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span::before { content: "/"; margin-right: 10px; color: var(--line); }
.page-toc { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.page-toc a { padding: 9px 18px; border: 1px solid var(--line); background: #fff; font-size: 13px; text-decoration: none; transition: border-color .2s; }
.page-toc a:hover { border-color: var(--ink); }

/* 事業内容ページ */
.biz-detail { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 100px); padding-block: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); }
.biz-detail:first-child { border-top: 0; padding-top: 0; }
.biz-detail .no { font: 300 52px/1 var(--en); color: var(--line); display: block; margin-bottom: 16px; }
.biz-detail h2 { font: 500 clamp(20px, 2.2vw, 26px)/1.65 var(--serif); letter-spacing: .08em; color: var(--ink); }
.biz-detail .service-en { margin-top: 10px; }
.biz-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 30px; }
.biz-figs figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.biz-figs img { width: 100%; height: 100%; object-fit: cover; }
.note { margin-top: 20px; padding: 14px 18px; background: var(--bg-2); font-size: 13px; color: var(--muted); }

/* アクセス */
.map { margin-top: 30px; aspect-ratio: 16 / 9; background: var(--bg-2); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.05); }

/* フォーム */
.form { max-width: 820px; margin-inline: auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.field { margin: 0 0 28px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; color: var(--ink); margin-bottom: 10px; padding: 0; }
.req, .opt { font-size: 11px; font-weight: 500; padding: 2px 8px; line-height: 1.6; letter-spacing: .08em; }
.req { background: var(--ink); color: #fff; }
.opt { border: 1px solid var(--line); color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea { width: 100%; padding: 15px 16px; border: 1px solid var(--line); background: var(--bg-2); font: 400 16px/1.6 var(--sans); color: var(--text); border-radius: 0; transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field textarea { min-height: 200px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 400; padding: 10px 16px; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s; }
.choices label:has(input:checked) { border-color: var(--ink); background: var(--bg-2); }
.choices input, .agree input { accent-color: var(--ink); }
.agree { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 8px 0 36px; font-size: 14px; }
.agree a { text-underline-offset: 3px; }
.form-foot { text-align: center; }
.form-foot .btn { min-width: 280px; }
.form-msg { margin-top: 24px; padding: 18px 20px; border: 1px solid #c9a29a; background: #fbf3f1; color: #7d3b30; font-size: 14px; text-align: left; }
.form-msg.is-ok { border-color: var(--line); background: var(--bg-2); color: var(--ink); }
.form-intro { max-width: 820px; margin: 0 auto 48px; padding-bottom: 32px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* プライバシー */
.policy { max-width: 820px; }
.policy section + section { margin-top: 44px; }
.policy h2 { font: 500 18px/1.6 var(--serif); color: var(--ink); letter-spacing: .06em; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.policy ul { margin-top: 12px; }
.policy li { padding-left: 1.2em; position: relative; }
.policy li::before { content: "・"; position: absolute; left: 0; }
.policy p + p { margin-top: 1em; }

/* フッター */
.site-footer { background: var(--dark); color: rgba(255,255,255,.62); padding-top: clamp(64px, 8vw, 96px); font-size: 13px; }
.cta + .site-footer { border-top: 1px solid rgba(255,255,255,.1); }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand img { width: 120px; }
.footer-brand p { margin-top: 18px; color: #fff; font-size: 14px; letter-spacing: .12em; }
.footer-addr { margin-top: 14px; line-height: 1.9; }
.footer-license { margin-top: 8px; font-size: 12px; color: rgba(255,255,255,.42); }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 14px 56px; align-content: start; }
.footer-nav a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { margin-top: 64px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.12); font: 400 11px/1.6 var(--en); letter-spacing: .16em; color: rgba(255,255,255,.4); }

/* 表示アニメーション */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero-text > * { animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both; }
.hero-text > *:nth-child(2) { animation-delay: .12s; } .hero-text > *:nth-child(3) { animation-delay: .24s; } .hero-text > *:nth-child(4) { animation-delay: .36s; }
.hero-media img { animation: fade 1.8s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .js .reveal { opacity: 1; transform: none; } }

/* タブレット */
@media (max-width: 1000px) {
  .biz-row { grid-template-columns: 56px minmax(0, 1fr) 32px; }
  .biz-row p { grid-column: 2; grid-row: 2; }
  .biz-row .arr { grid-column: 3; grid-row: 1 / span 2; }
  .flow { grid-template-columns: 1fr 1fr; border-left: 0; gap: 0; }
  .flow li { border: 0; border-top: 1px solid var(--line); padding: 28px 20px 28px 0; }
}

/* スマホ */
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand img { width: 92px; }
  .brand__ja { display: none; }
  .menu-btn { display: grid; place-content: center; gap: 7px; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; }
  .menu-btn span { display: block; width: 26px; height: 1.5px; background: var(--ink); transition: transform .3s; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
  .gnav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px var(--gutter) 28px; border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .gnav.is-open { opacity: 1; transform: none; visibility: visible; }
  .gnav a { padding: 18px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .gnav a::after { display: none; }
  .gnav__cta { margin-top: 20px; text-align: center; border-bottom: 0 !important; }

  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; margin-inline: calc(var(--gutter) * -1); aspect-ratio: 4 / 3; }
  .hero-media::before { background: linear-gradient(0deg, var(--dark) 0%, rgba(17,17,17,0) 40%); }
  .hero-text { padding-block: 8px 72px; }
  .hero-caption, .hero-scroll { display: none; }
  .about, .co-grid, .biz-detail { grid-template-columns: 1fr; }
  .about .prose { padding-top: 0; }
  .service, .service--rev { grid-template-columns: 1fr; }
  .service--rev .service-img { order: 0; }
  .service-no { font-size: 48px; margin-bottom: 10px; }
  .profile > div { grid-template-columns: 1fr; gap: 4px; padding: 18px 2px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner .btn { width: 100%; }
  .cta-mark { width: 80%; bottom: -6%; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 14px 28px; }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .flow { grid-template-columns: 1fr; }
  .biz-row { grid-template-columns: 40px minmax(0, 1fr) 28px; gap: 14px; padding: 24px 2px; }
  .biz-row .arr { width: 28px; height: 28px; }
  .biz-row .arr::after { left: 9px; top: 11px; }
  .agree { justify-content: flex-start; align-items: flex-start; }
  .form-foot .btn { width: 100%; min-width: 0; }
}
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,17,17,.75) 0%, rgba(17,17,17,0) 55%); }
.band p { z-index: 1; }

/* スマホのトップ：画像を全面に敷き、文字を下に重ねる */
@media (max-width: 860px) {
  .hero-grid { display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(100svh - var(--header-h)); min-height: calc(100vh - var(--header-h)); max-height: 820px; }
  @supports (height: 100svh) { .hero-grid { min-height: calc(100svh - var(--header-h)); } }
  .hero-media { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: 0; aspect-ratio: auto; order: 0; }
  .hero-media img { position: absolute; top: 0; left: 0; width: 100%; height: 72%; object-fit: cover; object-position: 50% 35%; }
  .hero-media::before { background: linear-gradient(180deg, rgba(17,17,17,0) 0%, rgba(17,17,17,0) 30%, rgba(17,17,17,.75) 55%, var(--dark) 72%); }
  .hero-text { padding-block: 0 44px; }
  .hero .label { font-size: 10px; letter-spacing: .22em; margin-bottom: 16px; }
  .hero .label::before { width: 20px; }
  .hero-title { font-size: clamp(26px, 7.4vw, 34px); letter-spacing: .06em; line-height: 1.6; }
  .hero-lead { margin-top: 18px; font-size: 13px; line-height: 1.9; }
  .hero-lead br { display: none; }
  .hero-actions { margin-top: 28px; gap: 10px; flex-wrap: nowrap; }
  .hero-actions .btn { flex: 1 1 0; min-height: 50px; padding: 0 10px; font-size: 13px; gap: 10px; }
  .hero-actions .btn::after { width: 14px; }
  .hero-scroll { display: flex; left: auto; right: var(--gutter); top: 18px; bottom: auto; padding: 0; writing-mode: vertical-rl; font-size: 10px; }
  .hero-scroll::after { display: none; }
}
@media (max-width: 860px) {
  .hero-media::before { background: linear-gradient(180deg, rgba(17,17,17,0) 0%, rgba(17,17,17,.15) 28%, rgba(17,17,17,.8) 50%, var(--dark) 68%); }
  .hero-text { text-shadow: 0 1px 12px rgba(0,0,0,.5); }
  .hero-actions .btn { white-space: nowrap; text-shadow: none; }
}
@media (max-width: 380px) { .hero-actions .btn::after { display: none; } .hero-actions .btn { font-size: 12.5px; } }

/* ===== v5：図面ビジュアル ===== */
.hero-media::before { display: none; }
.hero-art { position: absolute; top: 8%; bottom: 8%; left: 0; right: 4%; width: 92%; height: 84%; }
.hero-art .ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.8s cubic-bezier(.55,.1,.3,1) .2s forwards; }
.hero-art line, .hero-art text, .hero-art rect, .hero-art path:not(.ln) { animation: fadein 1.2s ease 1.6s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-art .ln { stroke-dashoffset: 0; } }

/* 制作工程 */
.process { background: var(--dark); color: #fff; }
.process .label { color: #c9ad7f; }
.process .sec-title { color: #fff; }
.process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.process-list figure { aspect-ratio: 4 / 3; overflow: hidden; background: #121212; border: 1px solid rgba(255,255,255,.08); }
.process-list img { width: 100%; height: 100%; object-fit: cover; }
.process-list p { margin-top: 18px; display: flex; align-items: baseline; gap: 14px; font: 400 15px/1.4 var(--en); letter-spacing: .18em; text-transform: uppercase; }
.process-list b { font-weight: 300; color: #c9ad7f; font-size: 13px; }
.process-list span { margin-left: auto; font: 400 13px/1 var(--sans); letter-spacing: .12em; color: rgba(255,255,255,.55); }

@media (max-width: 860px) {
  .brand__ja { display: block; font-size: 10.5px; padding-left: 12px; letter-spacing: .1em; }
  .brand { gap: 12px; }
  .hero-grid { min-height: 0; max-height: none; justify-content: flex-start; }
  .hero-media { position: relative; top: auto; left: auto; right: auto; bottom: auto; order: -1; margin: 20px calc(var(--gutter) * -0.5) 0; aspect-ratio: 1400 / 1100; }
  .hero-art { inset: 0; width: 100%; height: 100%; }
  .hero-text { padding-block: 12px 56px; text-shadow: none; }
  .hero-scroll { display: none; }
  .process-list { grid-template-columns: 1fr; gap: 32px; }
}
