/* ==========================================================
   西島塗装 — style.css
   色・書体・余白はすべて :root の変数から。
   ========================================================== */
:root {
  --ink: #111317;
  --ink-2: #1a1d23;
  --ink-3: #262a32;
  --paper: #f3efe7;
  --paper-2: #e8e1d4;
  --white: #fffdf8;
  --text: #1c1d20;
  --muted: #6b675f;
  --muted-light: #a9a49a;
  --line: rgba(17, 19, 23, .12);
  --line-light: rgba(255, 253, 248, .16);
  --orange: #ee6a1f;
  --red: #d7262e;
  --accent: var(--orange);

  --f-mincho: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --f-gothic: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --f-en: "Bebas Neue", "Oswald", Impact, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec: clamp(88px, 12vw, 168px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-gothic);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* 塗膜のような細かい粒子 */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 200;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1.2em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.35; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--sec) 0; position: relative; }
.sec--ink { background: var(--ink); color: var(--white); }
.sec--paper2 { background: var(--paper-2); }

/* ---------- 見出し ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-en); font-size: 18px; letter-spacing: .18em;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 36px; height: 2px; background: currentColor; }
.title-en {
  display: block;
  font-family: var(--f-en);
  font-size: clamp(64px, 12vw, 168px);
  line-height: .86;
  letter-spacing: .01em;
  color: var(--ink);
}
.sec--ink .title-en { color: var(--white); }
.title-jp {
  display: block;
  font-family: var(--f-mincho);
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.45;
  letter-spacing: .06em;
}
.head { margin-bottom: clamp(48px, 6vw, 88px); }
.head .title-jp { margin-top: 18px; }
.head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 32px 64px; align-items: end; }
.head--split p { color: var(--muted); margin: 0; }
.sec--ink .head--split p { color: var(--muted-light); }
.lead { font-size: clamp(16px, 1.4vw, 18px); line-height: 2.1; }

/* 筆で引いたような下線 */
.stroke { position: relative; display: inline-block; z-index: 0; }
.stroke svg { position: absolute; left: -3%; bottom: -.1em; width: 106%; height: .45em; z-index: -1; overflow: visible; }
.stroke path { fill: none; stroke: var(--accent); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .9; transition: stroke-dashoffset 1.2s var(--ease) .3s; }
.is-in .stroke path, .stroke.is-in path { stroke-dashoffset: 0; }

/* ---------- ボタン ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 18px;
  padding: 18px 30px 18px 34px;
  border: 1px solid currentColor; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .1em;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  transform: translateX(-101%); transition: transform .6s var(--ease);
}
.btn:hover { color: var(--white); border-color: var(--accent); }
.btn:hover::before { transform: none; }
.btn .arr { width: 28px; height: 1px; background: currentColor; position: relative; transition: width .4s var(--ease); }
.btn .arr::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arr { width: 40px; }
.btn--fill { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn--fill::before { background: var(--ink); }
.btn--fill:hover { border-color: var(--ink); }
.btn--light { color: var(--white); }

/* ---------- 表示アニメーション ---------- */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .12s; } .rv-d2 { transition-delay: .24s; } .rv-d3 { transition-delay: .36s; }
.rv-img { overflow: hidden; }
.rv-img img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.rv-img.is-in img { transform: scale(1); }
/* 写真の上を塗料が横切って現れる */
.paint-in { position: relative; overflow: hidden; }
.paint-in::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: var(--c, var(--accent));
  transform-origin: right; transform: scaleX(1);
  transition: transform 1.1s var(--ease) .15s;
}
.paint-in.is-in::after { transform: scaleX(0); }

/* ==========================================================
   ヘッダー
   ========================================================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  color: var(--white);
  transition: background .5s var(--ease), color .5s, height .4s var(--ease), box-shadow .5s;
}
.header::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(10,11,14,.55), transparent); pointer-events: none; transition: opacity .4s; }
.header.is-scrolled { background: rgba(17, 19, 23, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); --header-h: 64px; }
.header.is-scrolled::before { opacity: 0; }
.header__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 0 var(--gutter); }
.logo { display: flex; align-items: center; gap: 14px; line-height: 1.1; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__name { font-family: var(--f-mincho); font-weight: 800; font-size: 22px; letter-spacing: .12em; display: block; }
.logo__sub { font-family: var(--f-en); font-size: 12px; letter-spacing: .26em; opacity: .75; display: block; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a { position: relative; font-size: 14px; font-weight: 500; letter-spacing: .12em; padding: 6px 0; }
.nav a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:not(.nav__cta):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__tel { font-family: var(--f-en); font-size: 22px !important; letter-spacing: .08em !important; display: flex; align-items: center; gap: 8px; }
.nav__tel small { font-family: var(--f-gothic); font-size: 10px; letter-spacing: .1em; opacity: .7; line-height: 1.3; }
.nav__cta { background: var(--accent); color: var(--white); padding: 12px 22px !important; border-radius: 999px; transition: background .3s; }
.nav__cta:hover { background: var(--red); }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; background: none; position: relative; cursor: pointer; z-index: 3; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 23px; } .menu-btn span:nth-child(3) { top: 29px; }
.is-menu .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-menu .menu-btn span:nth-child(2) { opacity: 0; }
.is-menu .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 40px) 38px);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.is-menu .drawer { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
.drawer a.drawer__link { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-light); font-family: var(--f-mincho); font-weight: 800; font-size: 26px; }
.drawer a.drawer__link span { font-family: var(--f-en); font-size: 16px; letter-spacing: .16em; color: var(--accent); font-weight: 400; min-width: 84px; }
.drawer__tel { margin-top: 32px; font-family: var(--f-en); font-size: 40px; letter-spacing: .06em; }
.drawer__chips { display: flex; gap: 6px; margin-top: 24px; }
.drawer__chips i { flex: 1; height: 10px; border-radius: 2px; }

/* ==========================================================
   ヒーロー
   ========================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1200px; overflow: hidden; color: var(--white); background: var(--ink); }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .01s linear .7s; }
.hero__slide.is-active { opacity: 1; transition-delay: 0s; z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 9s linear; }
.hero__slide.is-active img { transform: scale(1.02); }
.hero__shade { position: absolute; inset: 0; z-index: 2; background:
  linear-gradient(90deg, rgba(10,11,14,.72) 0%, rgba(10,11,14,.35) 45%, rgba(10,11,14,.05) 75%),
  linear-gradient(0deg, rgba(10,11,14,.75) 0%, transparent 40%); }
/* スライドの切り替え：塗料のローラーが横切る */
.hero__wipe { position: absolute; inset: 0; z-index: 3; pointer-events: none; transform: translateX(-130%); }
.hero__wipe span { position: absolute; inset: 0; background: var(--c, var(--accent)); }
.hero__wipe span::before, .hero__wipe span::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; background: inherit;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 400' preserveAspectRatio='none'%3E%3Cpath d='M0 0h40c6 20-8 30 4 52 9 17 30 14 26 40-4 22-28 24-20 50 7 22 34 18 32 46-2 24-30 26-24 54 6 26 30 22 28 50-2 22-26 30-18 52 8 18 22 32 14 56H0z'/%3E%3C/svg%3E") 0 0/100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 400' preserveAspectRatio='none'%3E%3Cpath d='M0 0h40c6 20-8 30 4 52 9 17 30 14 26 40-4 22-28 24-20 50 7 22 34 18 32 46-2 24-30 26-24 54 6 26 30 22 28 50-2 22-26 30-18 52 8 18 22 32 14 56H0z'/%3E%3C/svg%3E") 0 0/100% 100%;
}
.hero__wipe span::after { left: 100%; }
.hero__wipe span::before { right: 100%; transform: scaleX(-1); }
.hero__wipe.is-run { animation: wipe 1.5s cubic-bezier(.7, 0, .25, 1) forwards; }
@keyframes wipe { 0% { transform: translateX(-130%); } 46%, 54% { transform: translateX(0); } 100% { transform: translateX(130%); } }

.hero__inner { position: absolute; z-index: 4; left: 0; right: 0; bottom: clamp(96px, 14vh, 160px); }
.hero__kicker { font-size: 14px; letter-spacing: .3em; font-weight: 500; margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.hero__kicker::before { content: ""; width: 48px; height: 2px; background: var(--accent); }
.hero h1 { font-family: var(--f-mincho); font-weight: 800; font-size: clamp(46px, 8.4vw, 132px); line-height: 1.12; letter-spacing: .04em; text-shadow: 0 4px 40px rgba(0,0,0,.35); }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .ln > span { display: inline-block; transform: translateY(105%); animation: rise 1.4s var(--ease) forwards; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .18s; }
.hero h1 em { font-style: normal; color: var(--hero-c, var(--accent)); transition: color 1s; }
@keyframes rise { to { transform: none; } }
.hero__sub { max-width: 560px; margin-top: 28px; font-size: clamp(15px, 1.3vw, 17px); line-height: 2.1; opacity: 0; animation: fade 1.4s var(--ease) .7s forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: .92; transform: none; } }
.hero__meta { position: absolute; z-index: 4; right: var(--gutter); bottom: 40px; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.hero__caption { font-size: 13px; letter-spacing: .14em; display: flex; align-items: center; gap: 12px; }
.hero__caption b { font-family: var(--f-en); font-size: 16px; font-weight: 400; color: var(--hero-c, var(--accent)); transition: color 1s; }
.hero__caption a { border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.hero__bars { display: flex; gap: 8px; }
.hero__bars button { width: 52px; height: 18px; border: 0; padding: 8px 0; background: none; cursor: pointer; }
.hero__bars button i { display: block; height: 2px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero__bars button i::after { content: ""; position: absolute; inset: 0; background: var(--bc, #fff); transform: scaleX(0); transform-origin: left; }
.hero__bars button.is-active i::after { animation: bar var(--dur, 6.5s) linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.hero__vertical { position: absolute; z-index: 4; right: var(--gutter); top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; font-family: var(--f-en); letter-spacing: .4em; font-size: 14px; opacity: .7; }
.hero__scroll { position: absolute; z-index: 4; left: var(--gutter); bottom: 0; width: 1px; height: 80px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero__scroll::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: scrolldown 2.2s var(--ease) infinite; }
@keyframes scrolldown { to { top: 100%; } }

/* 塗料の垂れ */
.drip { display: block; width: 100%; height: clamp(40px, 6vw, 90px); position: absolute; left: 0; z-index: 3; pointer-events: none; }
.drip--bottom { bottom: 1px; transform: translateY(100%); }
.drip--top { top: 1px; transform: translateY(-100%) scaleY(-1); }

/* ==========================================================
   イントロ
   ========================================================== */
.intro { padding-top: calc(var(--sec) + 40px); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px 80px; align-items: start; }
.intro__copy { font-family: var(--f-mincho); font-weight: 800; font-size: clamp(30px, 4.4vw, 62px); line-height: 1.55; letter-spacing: .06em; }
.intro__copy .muted { color: var(--muted-light); }
.intro__text { padding-top: 12px; }
.intro__text p { line-height: 2.2; }
.intro__sign { font-family: var(--f-mincho); font-weight: 700; margin-top: 28px; display: flex; align-items: center; gap: 16px; }
.intro__sign small { font-family: var(--f-gothic); font-weight: 400; color: var(--muted); font-size: 13px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 8px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 24px; }
.stat__num { font-family: var(--f-en); font-size: clamp(64px, 8vw, 120px); line-height: .9; color: var(--ink); }
.stat__num small { font-size: .32em; margin-left: 6px; color: var(--accent); }
.stat__label { margin-top: 12px; font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.stat__note { font-size: 12px; color: var(--muted); line-height: 1.7; }

/* ==========================================================
   色見本の帯
   ========================================================== */
.palette { padding: clamp(56px, 7vw, 96px) 0; background: var(--ink); color: var(--white); overflow: hidden; position: relative; }
.palette__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.palette__head h2 { font-family: var(--f-mincho); font-weight: 800; font-size: clamp(22px, 2.6vw, 32px); }
.palette__head p { margin: 0; color: var(--muted-light); font-size: 14px; }
.palette__track { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; }
.palette:hover .palette__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip { width: 236px; flex: none; background: var(--white); color: var(--ink); border-radius: 6px; overflow: hidden; transition: transform .5s var(--ease); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.chip:hover { transform: translateY(-10px) rotate(-1.5deg); }
.chip__color { height: 190px; background: var(--c); position: relative; }
.chip__color img { position: absolute; right: 12px; bottom: -28px; width: 72px; height: 72px; object-fit: cover; border-radius: 50%; border: 4px solid var(--white); }
.chip__body { padding: 16px 18px 18px; }
.chip__name { font-family: var(--f-mincho); font-weight: 800; font-size: 17px; letter-spacing: .06em; }
.chip__hex { font-family: var(--f-en); font-size: 15px; letter-spacing: .12em; color: var(--muted); }
.chip__work { font-size: 11px; color: var(--muted); margin-top: 4px; line-height: 1.6; }

/* ==========================================================
   三度塗り（スクロールで塗り重なる）
   ========================================================== */
.coats { background: var(--ink); color: var(--white); padding-bottom: calc(var(--sec) * .6); }
.coats__wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 0 clamp(32px, 5vw, 80px); }
.coats__visual { position: sticky; top: calc(var(--header-h) + 4vh); height: calc(100vh - var(--header-h) - 8vh); min-height: 460px; max-height: 860px; align-self: start; }
.coats__photos { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; background: var(--ink-3); }
.coats__photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 2.4s var(--ease); }
.coats__photos img.is-active { opacity: 1; transform: scale(1); }
.coats__photos::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,11,14,.55), transparent 45%); }
.coats__badge { position: absolute; left: 24px; top: 22px; z-index: 2; font-family: var(--f-en); font-size: 15px; letter-spacing: .2em; background: rgba(17,19,23,.7); padding: 6px 14px; border-radius: 99px; }
/* 断面図 */
.section-cut { position: absolute; right: 24px; bottom: 24px; z-index: 2; width: min(280px, 46%); background: rgba(17,19,23,.82); backdrop-filter: blur(6px); border: 1px solid var(--line-light); border-radius: 6px; padding: 16px 16px 14px; }
.section-cut__title { font-size: 11px; letter-spacing: .2em; color: var(--muted-light); margin-bottom: 10px; display: flex; justify-content: space-between; }
.section-cut__stack { display: flex; flex-direction: column-reverse; }
.layer { height: 0; overflow: hidden; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.95); transition: height .8s var(--ease), opacity .6s; opacity: 0; }
.layer.is-on { height: 28px; opacity: 1; }
.layer--steel { height: 34px; opacity: 1; background: repeating-linear-gradient(135deg, #5d636b 0 6px, #545a62 6px 12px); }
.layer--steel.is-rust { background: repeating-linear-gradient(135deg, #7a4a2c 0 6px, #6b3f25 6px 12px); }
.layer--p1 { background: #b5662a; } .layer--p2 { background: #c9813f; }
.layer--t1 { background: #c42129; } .layer--t2 { background: linear-gradient(180deg, #ff5a5f, #d7262e 60%); }
.coats__steps { counter-reset: step; }
.coat-step { min-height: min(78vh, 760px); display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .28; transition: opacity .6s; }
.coat-step.is-active { opacity: 1; }
.coat-step__no { font-family: var(--f-en); font-size: 92px; line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.5); }
.coat-step.is-active .coat-step__no { color: var(--c, var(--accent)); -webkit-text-stroke: 0; }
.coat-step__en { font-family: var(--f-en); letter-spacing: .2em; color: var(--muted-light); margin-top: 8px; }
.coat-step h3 { font-family: var(--f-mincho); font-weight: 800; font-size: clamp(26px, 2.8vw, 38px); margin: 6px 0 16px; }
.coat-step p { color: rgba(255,253,248,.82); margin: 0; }
.coat-step__tag { display: inline-block; margin-top: 18px; font-size: 12px; letter-spacing: .14em; border: 1px solid var(--line-light); padding: 4px 12px; border-radius: 99px; color: var(--muted-light); }

/* ==========================================================
   施工実績（トップ）
   ========================================================== */
.works-feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 230px); gap: 16px; }
.wcard { position: relative; overflow: hidden; border-radius: 4px; background: var(--ink); color: var(--white); display: block; isolation: isolate; }
.wcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s; }
.wcard::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10,11,14,.82), rgba(10,11,14,0) 55%); transition: opacity .6s; }
.wcard::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--c, var(--accent)); mix-blend-mode: multiply; transform: translateY(101%); transition: transform .8s var(--ease); }
.wcard:hover img { transform: scale(1.07); }
.wcard:hover::after { transform: none; }
.wcard__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2vw, 30px); }
.wcard__meta { font-family: var(--f-en); font-size: 14px; letter-spacing: .16em; opacity: .85; display: flex; gap: 12px; align-items: center; }
.wcard__meta i { width: 14px; height: 14px; border-radius: 3px; background: var(--c); display: inline-block; }
.wcard__title { font-family: var(--f-mincho); font-weight: 800; font-size: clamp(17px, 1.7vw, 24px); line-height: 1.5; margin-top: 6px; }
.wcard--xl .wcard__title { font-size: clamp(22px, 2.6vw, 38px); }
.wcard__place { font-size: 12px; opacity: .78; letter-spacing: .08em; }
.wf-1 { grid-column: 1 / 8; grid-row: span 3; } .wf-2 { grid-column: 8 / 13; grid-row: span 2; }
.wf-3 { grid-column: 8 / 13; grid-row: span 1; } .wf-4 { grid-column: 1 / 5; grid-row: span 2; }
.wf-5 { grid-column: 5 / 9; grid-row: span 2; } .wf-6 { grid-column: 9 / 13; grid-row: span 2; }
.more { margin-top: 48px; display: flex; justify-content: center; }

/* ==========================================================
   職人
   ========================================================== */
.craft { background: var(--ink-2); color: var(--white); overflow: hidden; }
.craft__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px clamp(40px, 6vw, 96px); align-items: center; }
.craft__mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 12vw, 180px); gap: 10px; }
.craft__mosaic figure { margin: 0; border-radius: 3px; overflow: hidden; position: relative; }
.craft__mosaic img { width: 100%; height: 100%; object-fit: cover; }
.cm-1 { grid-column: span 2; grid-row: span 2; }
.craft__quote { font-family: var(--f-mincho); font-weight: 800; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.55; letter-spacing: .06em; margin: 22px 0 28px; }
.craft__text { color: rgba(255,253,248,.8); }
.quals { margin-top: 40px; border-top: 1px solid var(--line-light); }
.qual { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.qual b { font-family: var(--f-mincho); font-size: 18px; font-weight: 800; letter-spacing: .06em; }
.qual small { display: block; color: var(--muted-light); font-size: 12px; letter-spacing: .08em; }
.qual__n { font-family: var(--f-en); font-size: 54px; line-height: 1; color: var(--accent); }
.qual__n span + span { font-family: var(--f-gothic); font-size: 13px; color: var(--white); margin-left: 4px; }
.craft__strip { display: flex; gap: 12px; margin-top: clamp(64px, 8vw, 110px); width: max-content; animation: marquee 80s linear infinite reverse; }
.craft__strip img { height: clamp(150px, 17vw, 240px); width: auto; border-radius: 3px; filter: grayscale(.25); transition: filter .5s; }
.craft__strip img:hover { filter: none; }

/* ==========================================================
   事業内容（トップ・一覧）
   ========================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc { background: var(--paper); padding: 0 0 28px; display: flex; flex-direction: column; transition: background .5s; }
.svc:hover { background: var(--white); }
.svc__img { aspect-ratio: 4 / 3; overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.06); }
.svc__en { font-family: var(--f-en); color: var(--accent); letter-spacing: .16em; font-size: 15px; margin: 22px 22px 0; }
.svc h3 { font-family: var(--f-mincho); font-size: 22px; font-weight: 800; margin: 2px 22px 10px; }
.svc p { font-size: 14px; color: var(--muted); line-height: 1.95; margin: 0 22px; }

/* ==========================================================
   対応エリア
   ========================================================== */
.area { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px 80px; align-items: center; }
.area__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.area__list li { font-family: var(--f-mincho); font-weight: 800; font-size: clamp(18px, 1.8vw, 24px); padding: 10px 22px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); }
.area__list li:first-child { background: var(--ink); color: var(--white); border-color: var(--ink); }
.area__photo { position: relative; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; }
.area__photo img { width: 100%; height: 100%; object-fit: cover; }
.area__photo figcaption { position: absolute; left: 18px; bottom: 14px; color: var(--white); font-size: 12px; letter-spacing: .1em; text-shadow: 0 1px 8px rgba(0,0,0,.5); }

/* ==========================================================
   CTA
   ========================================================== */
.cta { position: relative; color: var(--white); padding: clamp(110px, 14vw, 200px) 0; overflow: hidden; background: var(--ink); }
.cta__bg { position: absolute; inset: -10% 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(17,19,23,.2), rgba(17,19,23,.85)); }
.cta .wrap { position: relative; z-index: 2; }
.cta h2 { font-family: var(--f-mincho); font-weight: 800; font-size: clamp(34px, 5.4vw, 76px); line-height: 1.4; letter-spacing: .06em; }
.cta p { max-width: 560px; margin-top: 24px; opacity: .9; }
.cta__row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; margin-top: 44px; }
.cta__tel { font-family: var(--f-en); font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: .04em; }
.cta__tel small { display: block; font-family: var(--f-gothic); font-size: 13px; letter-spacing: .14em; opacity: .75; margin-bottom: 6px; }

/* ==========================================================
   フッター
   ========================================================== */
.footer { background: var(--ink); color: rgba(255,253,248,.82); padding: 88px 0 32px; position: relative; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.footer .logo { color: var(--white); }
.footer address { font-style: normal; margin-top: 24px; font-size: 14px; line-height: 2; }
.footer__nav a { display: block; padding: 6px 0; font-size: 14px; transition: color .3s; }
.footer__nav a:hover { color: var(--accent); }
.footer__h { font-family: var(--f-en); letter-spacing: .2em; color: var(--accent); margin-bottom: 10px; }
.footer__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-light); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted-light); }
.footer__chips { display: flex; height: 6px; position: absolute; top: 0; left: 0; right: 0; }
.footer__chips i { flex: 1; }

/* ==========================================================
   下層ページ共通
   ========================================================== */
.phead { position: relative; height: clamp(440px, 72vh, 720px); color: var(--white); overflow: hidden; background: var(--ink); display: flex; align-items: flex-end; }
.phead__bg { position: absolute; inset: 0; }
.phead__bg img { width: 100%; height: 100%; object-fit: cover; animation: kb 14s ease-out forwards; }
@keyframes kb { from { transform: scale(1.15); } to { transform: scale(1.02); } }
.phead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,11,14,.85), rgba(10,11,14,.15) 60%), linear-gradient(90deg, rgba(10,11,14,.5), transparent 60%); }
.phead .wrap { position: relative; z-index: 2; padding-bottom: clamp(48px, 7vw, 88px); }
.phead .title-en { color: var(--white); font-size: clamp(72px, 13vw, 190px); }
.phead h1 { font-family: var(--f-mincho); font-weight: 800; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: .12em; margin-top: 12px; }
.crumb { display: flex; gap: 10px; font-size: 12px; letter-spacing: .1em; opacity: .75; margin-bottom: 18px; flex-wrap: wrap; }
.crumb a:hover { color: var(--accent); }
.crumb span::before { content: "／"; margin-right: 10px; opacity: .5; }

/* 施工実績 一覧 */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter button { border: 1px solid var(--line); background: var(--white); border-radius: 99px; padding: 10px 20px; font-size: 14px; cursor: pointer; transition: all .3s; letter-spacing: .08em; }
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.wlist { display: block; }
.wlist[hidden] { display: none; }
.wlist__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; position: relative; background: var(--paper-2); }
.wlist__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wlist:hover .wlist__img img { transform: scale(1.06); }
.wlist__img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--c); transform: scaleX(.18); transform-origin: left; transition: transform .7s var(--ease); }
.wlist:hover .wlist__img::after { transform: scaleX(1); }
.wlist__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.wlist__meta b { font-family: var(--f-en); font-weight: 400; font-size: 16px; color: var(--ink); letter-spacing: .14em; }
.wlist h3 { font-family: var(--f-mincho); font-weight: 800; font-size: 19px; line-height: 1.55; margin-top: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tags span { font-size: 11px; border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; color: var(--muted); }

/* 施工実績 詳細 */
.wd-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px 80px; }
.wd-lead { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(20px, 2.1vw, 27px); line-height: 1.85; letter-spacing: .05em; }
.wd-body p { line-height: 2.15; }
.spec { border-top: 2px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec dt { font-weight: 700; color: var(--muted); letter-spacing: .1em; }
.spec dd { margin: 0; }
.spec__color { display: flex; align-items: center; gap: 10px; }
.spec__color i { width: 44px; height: 22px; border-radius: 3px; background: var(--c); }
.ba { margin-top: clamp(72px, 9vw, 120px); }
.ba__compare { position: relative; aspect-ratio: 4 / 3; max-height: 82vh; width: 100%; overflow: hidden; border-radius: 4px; user-select: none; touch-action: pan-y; cursor: ew-resize; background: var(--ink); }
.ba__compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--white); transform: translateX(-1px); }
.ba__handle::after { content: "◀ ▶"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--white); display: grid; place-items: center; font-size: 12px; letter-spacing: .1em; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.ba__label { position: absolute; top: 18px; z-index: 2; font-family: var(--f-en); letter-spacing: .2em; background: rgba(17,19,23,.75); color: var(--white); padding: 4px 14px; border-radius: 99px; font-size: 15px; }
.ba__label--b { left: 18px; } .ba__label--a { right: 18px; background: var(--accent); }
.ba__range { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: ew-resize; margin: 0; }
.ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba__pair figure { margin: 0; position: relative; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; }
.ba__pair img { width: 100%; height: 100%; object-fit: cover; }
.gallery { columns: 3 280px; column-gap: 14px; margin-top: 32px; }
.gallery a { display: block; margin-bottom: 14px; break-inside: avoid; border-radius: 3px; overflow: hidden; position: relative; }
.gallery img { width: 100%; transition: transform 1s var(--ease), opacity .4s; }
.gallery a:hover img { transform: scale(1.05); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(72px, 9vw, 120px); }
.pager a { position: relative; display: block; padding: 28px; border-radius: 4px; background: var(--ink); color: var(--white); overflow: hidden; min-height: 180px; isolation: isolate; }
.pager a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; z-index: -1; transition: opacity .6s, transform 1.2s var(--ease); }
.pager a:hover img { opacity: .7; transform: scale(1.05); }
.pager small { font-family: var(--f-en); letter-spacing: .2em; color: var(--accent); }
.pager b { display: block; font-family: var(--f-mincho); font-size: 20px; margin-top: 6px; }
.pager a:last-child { text-align: right; }

/* ライトボックス */
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(10,11,14,.94); display: none; align-items: center; justify-content: center; padding: 60px 16px; }
.lb.is-open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; }
.lb button { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 56px; height: 56px; border-radius: 50%; cursor: pointer; font-size: 22px; }
.lb__close { top: 16px; right: 16px; } .lb__prev { left: 16px; top: 50%; } .lb__next { right: 16px; top: 50%; }

/* 事業内容ページ */
.svc-rows { display: flex; flex-direction: column; gap: clamp(72px, 9vw, 130px); }
.svc-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.svc-row:nth-child(even) .svc-row__img { order: 2; }
.svc-row__img { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; }
.svc-row__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-row__no { font-family: var(--f-en); font-size: 100px; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--ink); opacity: .35; }
.svc-row h2 { font-family: var(--f-mincho); font-weight: 800; font-size: clamp(26px, 3vw, 38px); margin: 8px 0 18px; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.flow li { background: var(--white); border-radius: 4px; padding: 28px 24px; position: relative; }
.flow b { font-family: var(--f-en); font-size: 44px; color: var(--accent); line-height: 1; font-weight: 400; }
.flow h3 { font-family: var(--f-mincho); font-size: 19px; font-weight: 800; margin: 10px 0 8px; }
.flow p { font-size: 14px; color: var(--muted); margin: 0; }
.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; }
.process figure { margin: 0 0 18px; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; position: relative; }
.process figure img { width: 100%; height: 100%; object-fit: cover; }
.process figure b { position: absolute; left: 0; top: 0; background: var(--accent); color: var(--white); font-family: var(--f-en); font-weight: 400; font-size: 28px; padding: 6px 16px; }
.process h3 { font-family: var(--f-mincho); font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.process p { font-size: 14px; color: rgba(255,253,248,.78); margin: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 56px 26px 0; position: relative; font-family: var(--f-mincho); font-weight: 800; font-size: 19px; display: flex; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--f-en); color: var(--accent); font-size: 24px; line-height: 1.2; font-weight: 400; }
.faq summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 14px; height: 14px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .4s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 26px 36px; color: var(--muted); margin: 0; }

/* 会社案内 */
.message { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px clamp(40px, 7vw, 110px); align-items: start; }
.message__img { position: sticky; top: 110px; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; }
.message__img img { width: 100%; height: 100%; object-fit: cover; }
.message h2 { font-family: var(--f-mincho); font-weight: 800; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.55; margin: 18px 0 32px; }
.message p { line-height: 2.25; }
.philo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.philo li { border: 1px solid var(--line-light); border-radius: 4px; padding: 36px 28px; }
.philo b { font-family: var(--f-en); color: var(--accent); font-size: 18px; letter-spacing: .18em; font-weight: 400; }
.philo h3 { font-family: var(--f-mincho); font-size: 23px; font-weight: 800; margin: 8px 0 12px; }
.philo p { color: rgba(255,253,248,.78); font-size: 14px; margin: 0; }
.table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.table th, .table td { text-align: left; padding: 20px 8px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.table th { width: 28%; color: var(--muted); font-weight: 700; letter-spacing: .1em; }
.map { aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--paper-2); margin-top: 32px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* 採用 */
.day { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day li { background: var(--white); border-radius: 4px; padding: 20px 14px; border-top: 4px solid var(--c, var(--accent)); }
.day b { font-family: var(--f-en); font-size: 28px; font-weight: 400; display: block; line-height: 1; }
.day span { font-size: 13px; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.points li { background: var(--white); border-radius: 4px; overflow: hidden; }
.points figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.points img { width: 100%; height: 100%; object-fit: cover; }
.points div { padding: 24px; }
.points h3 { font-family: var(--f-mincho); font-weight: 800; font-size: 21px; margin-bottom: 8px; }
.points p { font-size: 14px; color: var(--muted); margin: 0; }

/* お問い合わせ */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.contact__side { position: sticky; top: 110px; }
.contact__tel { display: block; font-family: var(--f-en); font-size: clamp(46px, 5vw, 64px); line-height: 1; margin: 12px 0 6px; color: var(--ink); }
.contact__box { background: var(--ink); color: var(--white); padding: 32px; border-radius: 4px; margin-top: 28px; }
.contact__box h3 { font-family: var(--f-mincho); font-size: 20px; margin-bottom: 10px; }
.contact__box p { font-size: 14px; color: rgba(255,253,248,.78); margin: 0; }
.form { background: var(--white); border-radius: 4px; padding: clamp(24px, 4vw, 56px); }
.field { margin-bottom: 26px; }
.field > label, .field > .label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.req { font-size: 11px; background: var(--accent); color: var(--white); padding: 2px 8px; border-radius: 3px; letter-spacing: .1em; }
.opt { font-size: 11px; background: var(--paper-2); color: var(--muted); padding: 2px 8px; border-radius: 3px; }
.input, .textarea, .select { width: 100%; font: inherit; font-size: 16px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--text); transition: border-color .3s, background .3s; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--accent); background: var(--white); }
.textarea { min-height: 200px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; font-size: 14px; cursor: pointer; background: var(--paper); }
.checks input { accent-color: var(--accent); }
.agree { font-size: 14px; display: flex; gap: 10px; align-items: center; }
.agree a { text-decoration: underline; }
.form__note { font-size: 12px; color: var(--muted); margin-top: 14px; }
.form__done { display: none; text-align: center; padding: 40px 0; }
.form.is-done .form__done { display: block; }
.form.is-done .form__body { display: none; }

.prose { max-width: 820px; }
.prose h2 { font-family: var(--f-mincho); font-weight: 800; font-size: 22px; margin: 48px 0 14px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1.2em; }

/* 404 */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--ink); color: var(--white); padding: 120px 16px; }
.nf .title-en { color: var(--accent); font-size: clamp(120px, 24vw, 300px); }

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .head--split, .intro__grid, .craft__grid, .area, .wd-head, .message, .contact, .svc-row { grid-template-columns: minmax(0, 1fr); }
  .svc-row:nth-child(even) .svc-row__img { order: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .coats__wrap { grid-template-columns: minmax(0, 1fr); }
  .coats__visual { top: calc(var(--header-h) + 8px); height: 46vh; min-height: 300px; max-height: 520px; z-index: 2; }
  .coat-step { min-height: min(64vh, 640px); padding: 32px 0; }
  .coats__steps { position: relative; z-index: 1; }
  .section-cut { width: 190px; padding: 10px; right: 10px; bottom: 10px; }
  .layer.is-on { height: 20px; } .layer--steel { height: 22px; }
  .works-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .wf-1, .wf-2, .wf-3, .wf-4, .wf-5, .wf-6 { grid-column: auto; grid-row: span 1; }
  .wf-1 { grid-column: 1 / -1; grid-row: span 2; }
  .works-grid, .process, .points, .philo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .message__img, .contact__side { position: static; }
  .message__img { aspect-ratio: 16 / 10; }
  .hero__vertical { display: none; }
}
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  body { font-size: 15px; }
  .logo__name { font-size: 19px; } .logo__mark { width: 34px; height: 34px; }
  .hero__meta { left: var(--gutter); right: var(--gutter); align-items: flex-start; bottom: 28px; }
  .hero__inner { bottom: 120px; }
  .hero__bars button { width: 40px; }
  .hero__kicker { font-size: 12px; letter-spacing: .12em; gap: 10px; }
  .hero__kicker::before { width: 28px; }
  .hero__scroll { display: none; }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stat { padding: 24px 12px 4px 0; } .stat + .stat { padding-left: 12px; }
  .svc-grid, .works-grid, .process, .points, .philo, .flow, .ba__pair { grid-template-columns: minmax(0, 1fr); }
  .works-feature { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 240px; }
  .wf-1 { grid-row: span 1; }
  .day { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chip { width: 190px; } .chip__color { height: 150px; }
  .pager { grid-template-columns: minmax(0, 1fr); }
  .pager a:last-child { text-align: left; }
  .table th { width: 34%; }
  .ba__compare { aspect-ratio: 3 / 4; }
  .craft__mosaic { grid-auto-rows: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* 確認用（?shot）：アニメーションを止めて全部表示 */
.shot .rv, .shot .rv-img img, .shot .hero__sub { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
.shot .hero h1 .ln > span { transform: none; animation: none; }
.shot .paint-in::after { transform: scaleX(0); transition: none; }
.shot .stroke path { stroke-dashoffset: 0; transition: none; }
.shot .coat-step { opacity: 1; }
.shot .layer { height: 28px; opacity: 1; }
