/* =========================================================
   松岡建装 — サイト共通スタイル
   墨（sumi）・和紙（washi）・柿色（kaki）の3色で組み立てています。
   ========================================================= */

:root {
  --sumi: #161514;
  --sumi-2: #1e1c1a;
  --sumi-3: #2b2826;
  --washi: #f1ede4;
  --washi-2: #e6e0d2;
  --paper: #faf8f3;
  --ink: #1b1a18;
  --ink-2: #45413b;
  --mute: #78726a;
  --line: #d4ccbd;
  --line-2: #bfb6a5;
  --line-d: rgba(255, 255, 255, .14);
  --kaki: #e8721c;
  --kaki-d: #b9560f;
  --kaki-l: #f3d2b4;

  --f-min: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-sans: "IBM Plex Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --f-en: "Barlow Condensed", "IBM Plex Sans JP", sans-serif;

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 64px);
  --hd: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (max-width: 1159px) { :root { --hd: 64px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--washi);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: .04em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background: var(--grain);
  opacity: .12;
  mix-blend-mode: multiply;
}
[hidden] { display: none !important; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; word-break: auto-phrase; }
.bp { word-break: auto-phrase; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--kaki); color: var(--sumi); }
:focus-visible { outline: 2px solid var(--kaki); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--kaki); color: var(--sumi); padding: 8px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pc-only { display: inline; }
.sp-only { display: none; }
@media (max-width: 767px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
}

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }

svg[aria-hidden="true"] { flex: none; }

/* ---------- section heading ---------- */
.sec { padding-block: clamp(88px, 12vw, 168px); position: relative; }
.sec--tight { padding-block: clamp(64px, 8vw, 112px); }
.sec--sumi { background: var(--sumi); color: #ece7dd; }
.sec--paper { background: var(--paper); }
.sec--washi2 { background: var(--washi-2); }

.sh__no {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
  line-height: 1;
  margin-bottom: 26px;
}
.sh__no span {
  color: var(--kaki);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.sh__no span::after {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
}
.sec--sumi .sh__no { color: rgba(236, 231, 221, .55); }
.sh__title {
  font-family: var(--f-min);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  line-height: 1.5;
  letter-spacing: .06em;
}
.sh__title em { font-style: normal; }
.sh--center { text-align: center; }
.sh--center .sh__no { justify-content: center; }

/* ---------- buttons & links ---------- */
.btn {
  --bg: var(--sumi);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 26px 0 30px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .1em;
  line-height: 1.4;
  border: 1.5px solid var(--bg);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hv, var(--kaki));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.btn svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.btn .btn__ico { width: 20px; height: 20px; }
@media (hover: hover) {
  .btn:hover::before { transform: scaleX(1); transform-origin: left; }
  .btn:hover { color: var(--hfg, var(--sumi)); border-color: var(--hv, var(--kaki)); }
  .btn:hover svg:last-child:not(.btn__ico) { transform: translateX(4px); }
}
.btn--kaki { --bg: var(--kaki); --fg: var(--sumi); --hv: #fff; --hfg: var(--sumi); }
.btn--sumi { --bg: var(--sumi); --fg: #fff; --hv: var(--kaki); --hfg: var(--sumi); }
.btn--ghost { --bg: transparent; --fg: #fff; --hv: #fff; --hfg: var(--sumi); border-color: rgba(255,255,255,.55); }
.btn--line { --bg: transparent; --fg: var(--sumi); --hv: var(--sumi); --hfg: #fff; border-color: var(--sumi); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--lg { min-height: 66px; font-size: 16px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .08em;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .4s var(--ease), color .3s;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
@media (hover: hover) {
  .link-arrow:hover { color: var(--kaki-d); background-size: 0 1px; background-position: 100% 100%; }
  .link-arrow:hover svg { transform: translateX(5px); }
  .link-arrow--w:hover { color: var(--kaki); }
}

/* ---------- header ---------- */
.hd {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--hd);
  color: #fff;
  transition: background-color .4s, color .4s, transform .45s var(--ease), box-shadow .4s;
}
.hd::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10, 10, 9, .55), rgba(10, 10, 9, 0));
  opacity: 1;
  transition: opacity .4s;
  pointer-events: none;
}
.hd.is-scrolled { background: rgba(241, 237, 228, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hd.is-scrolled::before { opacity: 0; }
@supports (backdrop-filter: blur(1px)) {
  .hd.is-scrolled { background: rgba(241, 237, 228, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
}
.hd.is-hidden { transform: translateY(-100%); }
.hd__in {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
  padding-inline: clamp(16px, 3vw, 40px);
}
.hd__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.hd__emblem { width: 44px; height: 44px; border-radius: 50%; }
.hd__name { display: flex; flex-direction: column; line-height: 1.2; }
.hd__ja { font-family: var(--f-min); font-weight: 900; font-size: 21px; letter-spacing: .16em; }
.hd__sub { font-size: 10.5px; letter-spacing: .2em; opacity: .75; margin-top: 3px; white-space: nowrap; }

.gnav ul { display: flex; gap: clamp(18px, 2vw, 32px); }
.gnav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1em;
  padding-block: 8px;
  white-space: nowrap;
}
.gnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--kaki);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.gnav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) { .gnav a:hover::after { transform: scaleX(1); transform-origin: left; } }

.hd__act { display: flex; align-items: center; gap: 14px; }
.hd__tel { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-en); font-weight: 600; font-size: 22px; letter-spacing: .06em; }
.hd__tel svg { width: 18px; height: 18px; }
.hd__ig { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid currentColor; border-radius: 50%; opacity: .85; transition: opacity .3s, background-color .3s, color .3s; }
.hd__ig svg { width: 19px; height: 19px; }
@media (hover: hover) { .hd__ig:hover { opacity: 1; background: var(--kaki); border-color: var(--kaki); color: var(--sumi); } }
.hd__menu { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 4px 0 8px; }
.hd__menu-bars { position: relative; width: 26px; height: 10px; }
.hd__menu-bars i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.hd__menu-bars i:first-child { top: 0; }
.hd__menu-bars i:last-child { top: 8.5px; }
.hd__menu-label { font-family: var(--f-en); font-weight: 600; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; width: 3.6em; text-align: left; }
.is-drawer .hd__menu-bars i:first-child { top: 4.25px; transform: rotate(20deg); }
.is-drawer .hd__menu-bars i:last-child { top: 4.25px; transform: rotate(-20deg); }

@media (max-width: 1159px) {
  .gnav, .hd__tel { display: none; }
  .hd__menu { display: inline-flex; }
}
@media (max-width: 600px) {
  .hd__cta, .hd__ig { display: none; }
  .hd__emblem { width: 40px; height: 40px; }
  .hd__ja { font-size: 19px; }
  .hd__sub { font-size: 9.5px; letter-spacing: .14em; }
}

/* drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--sumi);
  color: #ece7dd;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease), visibility 0s .6s;
  overflow-y: auto;
}
.is-drawer .drawer { visibility: visible; clip-path: inset(0); transition: clip-path .6s var(--ease); }
.is-drawer .hd { background: transparent; color: #fff; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
.is-drawer .hd::before { opacity: 0; }
.is-drawer body { overflow: hidden; }
.drawer__in { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: calc(var(--hd) + 24px) var(--gut) 40px; }
.drawer__list li { border-bottom: 1px solid var(--line-d); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.is-drawer .drawer__list li { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .045s); }
.drawer__list a { display: grid; grid-template-columns: 38px 1fr auto; align-items: baseline; gap: 8px; padding: 16px 0; }
.drawer__no { font-family: var(--f-en); font-size: 13px; color: var(--kaki); letter-spacing: .1em; }
.drawer__ja { font-family: var(--f-min); font-weight: 700; font-size: 22px; letter-spacing: .1em; }
.drawer__en { font-family: var(--f-en); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; opacity: .45; }
.drawer__list a[aria-current="page"] .drawer__ja { color: var(--kaki); }
.drawer__foot { display: grid; gap: 14px; }
.drawer__tel, .drawer__ig { display: flex; align-items: center; gap: 12px; font-family: var(--f-en); font-weight: 600; font-size: 26px; letter-spacing: .06em; }
.drawer__ig { font-size: 20px; }
.drawer__tel svg, .drawer__ig svg { width: 22px; height: 22px; color: var(--kaki); }
.drawer__note { font-size: 13px; opacity: .6; }

/* ---------- rain canvas ---------- */
.rain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--sumi);
  color: #f3efe7;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 38% 46%, rgba(255, 255, 255, .055), transparent 70%),
    var(--grain);
  opacity: .9;
}
.hero .rain { z-index: 1; }
.hero__in {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  grid-template-areas: "mark copy" "foot copy";
  column-gap: clamp(32px, 6vw, 110px);
  padding: calc(var(--hd) + 40px) clamp(24px, 6vw, 96px) clamp(32px, 5vw, 56px);
  max-width: 1500px;
  margin-inline: auto;
}
.hero__mark {
  grid-area: mark;
  align-self: center;
  justify-self: center;
  width: min(100%, 640px, 74vh);
  padding-top: 2vh;
}
.hero__mark img { width: 100%; height: auto; }
.hero__copywrap {
  grid-area: copy;
  align-self: center;
  position: relative;
  padding-top: 2vh;
}
.hero__copy {
  writing-mode: vertical-rl;
  font-family: var(--f-min);
  font-weight: 900;
  /* 縦書きは画面の高さで折り返してしまうので、幅と高さの両方から文字の大きさを決める（1列の長さ ≒ 11.9文字ぶん） */
  font-size: clamp(1.3rem, min(3.7vw, calc((100vh - 230px) / 11.9)), 4rem);
  font-size: clamp(1.3rem, min(3.7vw, calc((100svh - 230px) / 11.9)), 4rem);
  line-height: 1.55;
  letter-spacing: .14em;
  color: #fff;
}
.hero__copy span { display: block; white-space: nowrap; }
.hero__copy span + span { padding-top: 1.6em; }
.hero__seal { position: absolute; left: -92px; bottom: 4px; width: 68px; height: 68px; }
.hero__foot { grid-area: foot; display: grid; gap: 26px; justify-items: start; }
.hero__lead { font-size: clamp(15px, 1.25vw, 17px); line-height: 2; letter-spacing: .1em; color: rgba(243, 239, 231, .86); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__geo {
  white-space: nowrap;
  position: absolute;
  right: clamp(14px, 1.6vw, 26px);
  bottom: clamp(32px, 5vw, 56px);
  writing-mode: vertical-rl;
  display: flex;
  gap: 14px;
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .24em;
  color: rgba(243, 239, 231, .4);
}

/* reveal on load */
.js .hero__mark, .js .hero__copy span, .js .hero__seal, .js .hero__foot > *, .js .hero__geo {
  opacity: 0;
}
.js .hero__mark { transform: translateY(10px); filter: blur(6px); }
.js .hero__copy span { clip-path: inset(0 0 100% 0); }
.js .hero__seal { transform: scale(1.25) rotate(-6deg); }
.js .hero__foot > * { transform: translateY(14px); }
.is-ready .hero__mark { opacity: 1; transform: none; filter: none; transition: opacity 1.4s var(--ease), transform 1.4s var(--ease), filter 1.4s var(--ease); }
.is-ready .hero__copy span { opacity: 1; clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--ease) .55s, opacity .1s linear .55s; }
.is-ready .hero__copy span + span { transition-delay: .95s, .95s; }
.is-ready .hero__seal { opacity: 1; transform: rotate(-2deg); transition: opacity .25s ease 1.9s, transform .5s cubic-bezier(.3, 1.6, .5, 1) 1.9s; }
.is-ready .hero__foot > * { opacity: 1; transform: none; transition: opacity 1s var(--ease) 1.25s, transform 1s var(--ease) 1.25s; }
.is-ready .hero__foot > * + * { transition-delay: 1.4s; }
.is-ready .hero__geo { opacity: 1; transition: opacity 1.4s ease 1.8s; }

@media (max-width: 900px) and (orientation: portrait), (max-width: 560px) {
  .hero__in {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "mark mark" "lead copy" "btns btns";
    row-gap: 28px;
    column-gap: 20px;
    padding: calc(var(--hd) + 28px) 22px 28px;
  }
  .hero__mark { width: min(86%, 440px); padding-top: 0; }
  .hero__foot { display: contents; }
  .hero__lead { grid-area: lead; align-self: start; font-size: 14px; line-height: 2.1; padding-top: 6px; }

  .hero__btns { grid-area: btns; display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 10px; }
  .hero__btns .btn { min-height: 54px; padding: 0 12px; font-size: 14px; gap: 8px; letter-spacing: .06em; }
  .hero__btns .btn svg { width: 16px; height: 16px; }
  .hero__copywrap { align-self: start; padding-top: 0; }
  .hero__copy { font-size: clamp(1.6rem, min(8vw, calc((100vh - 300px) / 11.7)), 2.6rem); font-size: clamp(1.6rem, min(8vw, calc((100svh - 300px) / 11.7)), 2.6rem); letter-spacing: .12em; }
  .hero__seal { width: 50px; height: 50px; left: -66px; bottom: 0; }
  .hero__geo { display: none; }
}
/* 横向きのスマホなど、高さの低い画面 */
@media (max-height: 600px) and (orientation: landscape) {
  .hero__in { padding-top: calc(var(--hd) + 14px); padding-bottom: 22px; }
  .hero__mark { width: min(100%, 640px, 66vh); padding-top: 0; }
  .hero__copywrap { padding-top: 0; }
  .hero__copy { font-size: clamp(1.15rem, min(3.7vw, calc((100vh - 110px) / 11.9)), 4rem); font-size: clamp(1.15rem, min(3.7vw, calc((100svh - 110px) / 11.9)), 4rem); }
  .hero__foot { gap: 14px; }
  .hero__lead { font-size: 13.5px; line-height: 1.85; }
  .hero__btns .btn { min-height: 46px; padding: 0 18px; font-size: 14px; }
  .hero__seal { width: 48px; height: 48px; left: -64px; }
  .hero__geo { display: none; }
}
@media (max-width: 480px) {
  .hero__lead br { display: none; }
  .hero__btns { grid-template-columns: 1fr; }
  .hero__btns .btn { justify-content: space-between; padding: 0 20px; font-size: 15px; }
}

/* seal (落款) */
.seal { width: 100%; height: 100%; }
.seal__bg { fill: var(--kaki); }
.seal__frame { fill: none; stroke: var(--sumi); stroke-width: 1.6; }
.seal__t { fill: var(--sumi); font-family: var(--f-min); font-weight: 900; font-size: 25px; text-anchor: middle; }

/* ---------- page hero ---------- */
.phero {
  position: relative;
  background: var(--sumi);
  color: #f3efe7;
  padding: calc(var(--hd) + clamp(48px, 8vw, 96px)) 0 clamp(56px, 8vw, 104px);
  overflow: hidden;
  isolation: isolate;
}
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .8; }
.phero::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: min(48vw, 560px);
  aspect-ratio: 522 / 296;
  background: url(../img/logo-mark-w.svg) no-repeat center / contain;
  opacity: .05;
  z-index: -1;
}
.phero__in { position: relative; z-index: 2; }
.crumb { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 12px; letter-spacing: .1em; color: rgba(243, 239, 231, .55); margin-bottom: clamp(36px, 5vw, 64px); }
.crumb li + li::before { content: "/"; margin: 0 12px; opacity: .5; }
.crumb a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.crumb a:hover { color: #fff; }
.phero__en { font-family: var(--f-en); font-weight: 600; font-size: 15px; letter-spacing: .26em; text-transform: uppercase; color: var(--kaki); margin-bottom: 14px; display: flex; align-items: center; gap: 14px; }
.phero__en::before { content: ""; width: 44px; height: 1px; background: currentColor; }
.phero__title { font-family: var(--f-min); font-weight: 900; font-size: clamp(2.2rem, 5.2vw, 4.2rem); line-height: 1.4; letter-spacing: .1em; }
.phero__lead { margin-top: 26px; max-width: 40em; font-size: clamp(15px, 1.2vw, 17px); line-height: 2.1; color: rgba(243, 239, 231, .8); }

/* ---------- intro (top) ---------- */
.intro__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px) clamp(40px, 7vw, 120px);
  align-items: start;
}
.intro__title {
  font-family: var(--f-min);
  font-weight: 900;
  font-size: clamp(2.1rem, 3.7vw, 3.3rem);
  line-height: 1.5;
  letter-spacing: .06em;
}
.intro__title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
  background: linear-gradient(transparent 62%, rgba(232, 114, 28, .55) 62%, rgba(232, 114, 28, .55) 90%, transparent 90%) no-repeat 0 0 / 0 100%;
  transition: background-size 1.1s var(--ease) .5s;
}
.intro__title.is-in em, .intro__head.is-in em { background-size: 100% 100%; }
.intro__body { display: grid; gap: 1.3em; font-size: 16.5px; line-height: 2.2; padding-top: clamp(0px, 4vw, 54px); color: var(--ink-2); }
.steps3 {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.steps3 li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "no word" "no text";
  column-gap: 20px;
  align-items: baseline;
  padding: 34px clamp(16px, 2.6vw, 40px) 36px;
}
.steps3 li + li { border-left: 1px solid var(--line-2); }
.steps3__no { grid-area: no; font-family: var(--f-en); font-weight: 600; font-size: 15px; letter-spacing: .12em; color: var(--kaki-d); padding-top: 6px; }
.steps3__word { grid-area: word; font-family: var(--f-min); font-weight: 900; font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: .14em; line-height: 1.3; }
.steps3__text { grid-area: text; font-size: 14.5px; color: var(--mute); margin-top: 8px; letter-spacing: .06em; }
@media (max-width: 900px) {
  .intro__in { grid-template-columns: 1fr; }
  .intro__body { padding-top: 0; }
  .steps3 { grid-template-columns: 1fr; }
  .steps3 li { padding: 24px 4px 26px; }
  .steps3 li + li { border-left: 0; border-top: 1px solid var(--line-2); }
}

/* ---------- leak (top) ---------- */
.leak__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 32px clamp(40px, 7vw, 110px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.leak__lead { font-size: 16px; line-height: 2.15; color: rgba(236, 231, 221, .78); }
.leak__more { margin-top: 40px; display: flex; justify-content: flex-end; }
@media (max-width: 900px) { .leak__head { grid-template-columns: 1fr; } }

/* drawing sheet */
.sheet {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(18px, 3vw, 44px) clamp(18px, 3vw, 44px) clamp(22px, 4.6vw, 64px);
  border-radius: 2px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.sheet::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.sheet__title {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  grid-template-columns: auto auto auto;
  font-size: 11px;
  letter-spacing: .14em;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--paper);
}
.sheet__title span { padding: 6px 14px; }
.sheet__title span + span { border-left: 1px solid var(--line); }
.sheet__title span:first-child { font-family: var(--f-min); font-weight: 700; }
@media (max-width: 900px) { .sheet__title { display: none; } }

/* ---------- leak map ---------- */
.lmap {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.lmap__fig { position: relative; }
.lmap__svg { width: 100%; height: auto; overflow: visible; }
.lm-rain { stroke: #9fb0bb; stroke-width: 1.2; stroke-linecap: round; fill: none; opacity: .7; }
.lm-solid { fill: var(--ink); }
.lm-found { fill: var(--washi-2); stroke: var(--ink); stroke-width: 1.2; }
.lm-ground { stroke: var(--ink); stroke-width: 1.6; fill: none; }
.lm-hatch { stroke: var(--line-2); stroke-width: 1; fill: none; }
.lm-shingle { stroke: var(--ink); stroke-width: 1.4; fill: none; }
.lm-ridge { stroke: var(--ink); stroke-width: 4; fill: none; stroke-linejoin: round; }
.lm-thin { stroke: var(--ink); stroke-width: 1.4; fill: none; }
.lm-drain { stroke: var(--paper); stroke-width: 2; fill: none; }
.lm-crack { stroke: var(--paper); stroke-width: 1.6; fill: none; stroke-linejoin: bevel; }
.lm-label { font-family: var(--f-en), var(--f-sans); font-size: 15px; font-weight: 600; letter-spacing: .14em; fill: var(--mute); text-anchor: middle; }
.lm-label--s { font-family: var(--f-sans); font-size: 12px; font-weight: 500; }
.lm-leak { transition: opacity .4s; }
.lm-path { fill: none; stroke: var(--kaki); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 7; opacity: .35; }
.lm-stain { fill: var(--kaki); opacity: .18; }
.lm-drip { fill: var(--kaki); opacity: 0; }
.lm-lead { stroke: var(--kaki); stroke-width: 1.2; fill: none; opacity: .5; }
.lm-mark circle { fill: var(--paper); stroke: var(--kaki); stroke-width: 2; transition: fill .3s; }
.lm-mark text { font-family: var(--f-en); font-weight: 600; font-size: 17px; text-anchor: middle; fill: var(--kaki-d); transition: fill .3s; }
.lmap__svg[data-active] .lm-leak { opacity: .28; }
.lmap__svg[data-active="1"] .lm-leak[data-n="1"],
.lmap__svg[data-active="2"] .lm-leak[data-n="2"],
.lmap__svg[data-active="3"] .lm-leak[data-n="3"],
.lmap__svg[data-active="4"] .lm-leak[data-n="4"],
.lmap__svg[data-active="5"] .lm-leak[data-n="5"] { opacity: 1; }
.lm-leak.is-on .lm-path { opacity: 1; animation: lm-flow 1.1s linear infinite; }
.lm-leak.is-on .lm-stain { opacity: .5; animation: lm-stain 1.6s var(--ease) both; }
.lm-leak.is-on .lm-drip { animation: lm-drip 1.8s ease-in infinite .6s; }
.lm-leak.is-on .lm-lead { opacity: 1; }
.lm-leak.is-on .lm-mark circle { fill: var(--kaki); }
.lm-leak.is-on .lm-mark text { fill: var(--sumi); }
.lm-mark { cursor: pointer; }
@keyframes lm-flow { to { stroke-dashoffset: -18; } }
@keyframes lm-stain { from { opacity: 0; transform: scale(.3); } }
.lm-stain { transform-box: fill-box; transform-origin: center; }
@keyframes lm-drip {
  0% { opacity: 0; transform: translateY(-6px); }
  15% { opacity: .9; transform: translateY(0); }
  70% { opacity: .9; transform: translateY(18px); }
  100% { opacity: 0; transform: translateY(26px); }
}
.lmap__legend { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; font-size: 12px; letter-spacing: .08em; color: var(--mute); }
.lmap__key { display: inline-flex; align-items: center; gap: 8px; }
.lmap__key::before { content: ""; width: 14px; height: 14px; }
.lmap__key--in::before { border-radius: 50%; border: 2px solid var(--kaki); background: var(--paper); width: 12px; height: 12px; }
.lmap__key--path::before { height: 3px; width: 22px; background: repeating-linear-gradient(90deg, var(--kaki) 0 3px, transparent 3px 8px); }
.lmap__key--out::before { border-radius: 50%; background: rgba(232, 114, 28, .45); height: 7px; width: 22px; }

.lmap__q { font-family: var(--f-min); font-weight: 700; font-size: 18px; letter-spacing: .1em; margin-bottom: 14px; }
.lmap__list { display: grid; border-top: 1px solid var(--ink); }
.lmap__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition: background-color .3s, padding .3s var(--ease);
}
.lmap__no {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--kaki);
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 15px;
  color: var(--kaki-d);
  transition: background-color .3s, color .3s;
}
.lmap__name { font-family: var(--f-min); font-weight: 700; font-size: 17px; letter-spacing: .1em; }
.lmap__btn[aria-pressed="true"] { background: var(--washi); padding-left: 14px; }
.lmap__btn[aria-pressed="true"] .lmap__no { background: var(--kaki); color: var(--sumi); }
@media (hover: hover) { .lmap__btn:hover { background: var(--washi); } }
.lmap__caps { margin-top: 22px; display: grid; }
.lmap__cap { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
.lmap__cap.is-on { visibility: visible; opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.lmap__io { display: grid; gap: 8px; margin-bottom: 14px; }
.lmap__io div { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: baseline; font-size: 14.5px; line-height: 1.75; }
.lmap__io dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-align: center; padding: 2px 0; border: 1px solid var(--ink); }
.lmap__io div + div dt { background: var(--ink); color: var(--paper); }
.lmap__desc { font-size: 14.5px; line-height: 2; color: var(--ink-2); }
@media (max-width: 900px) {
  .lmap { grid-template-columns: 1fr; }
  .lmap__list { grid-template-columns: repeat(5, 1fr); border-top: 0; gap: 6px; }
  .lmap__btn { flex-direction: column; gap: 6px; padding: 10px 2px; border: 1px solid var(--line); border-radius: 2px; text-align: center; }
  .lmap__btn[aria-pressed="true"] { padding-left: 2px; border-color: var(--kaki); }
  .lmap__name { font-size: 12px; letter-spacing: .02em; line-height: 1.35; }
}

/* ---------- works (menu) ---------- */
.works__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(40px, 7vw, 110px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.works__lead { color: var(--ink-2); line-height: 2.1; }
@media (max-width: 900px) { .works__head { grid-template-columns: 1fr; } }
.menu { border-top: 1px solid var(--ink); counter-reset: m; }
.menu li { border-bottom: 1px solid var(--line-2); }
.menu__row {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(0, 300px) minmax(0, 1fr) 40px;
  align-items: center;
  gap: 20px;
  padding: 30px 8px;
  isolation: isolate;
}
.menu__row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s var(--ease);
}
.menu__no { font-family: var(--f-en); font-weight: 500; font-size: 44px; line-height: 1; color: var(--line-2); letter-spacing: .02em; transition: color .35s; }
.menu__name { font-family: var(--f-min); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.65rem); letter-spacing: .1em; }
.menu__text { font-size: 15px; color: var(--ink-2); }
.menu__arrow { width: 26px; height: 26px; justify-self: end; transition: transform .4s var(--ease), color .3s; }
@media (hover: hover) {
  .menu__row:hover::before { transform: scaleY(1); transform-origin: top; }
  .menu__row:hover .menu__no { color: var(--kaki); }
  .menu__row:hover .menu__arrow { transform: translateX(6px); color: var(--kaki-d); }
}
@media (max-width: 767px) {
  .menu__row { grid-template-columns: 54px 1fr 24px; grid-template-areas: "no name arrow" "no text arrow"; gap: 4px 12px; padding: 22px 2px; align-items: start; }
  .menu__no { grid-area: no; font-size: 30px; padding-top: 4px; }
  .menu__name { grid-area: name; }
  .menu__text { grid-area: text; font-size: 14px; line-height: 1.8; }
  .menu__arrow { grid-area: arrow; align-self: center; width: 20px; height: 20px; }
}

/* ---------- voice ---------- */
.voice { background: var(--washi-2); overflow: hidden; }
.voice__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(40px, 8vw, 130px); align-items: center; }
.voice__quote { order: 2; }
.voice__quote p {
  writing-mode: vertical-rl;
  font-family: var(--f-min);
  font-weight: 900;
  /* 1列の長さ ≒ 12.7文字ぶん */
  font-size: clamp(1.4rem, min(3.8vw, calc((100vh - 180px) / 12.7)), 3.4rem);
  font-size: clamp(1.4rem, min(3.8vw, calc((100svh - 180px) / 12.7)), 3.4rem);
  line-height: 1.7;
  letter-spacing: .14em;
}
.voice__quote span { display: block; white-space: nowrap; }
.voice__quote span:nth-child(2) { padding-top: 1.2em; }
.voice__quote span:nth-child(3) { padding-top: 2.4em; color: var(--kaki-d); }
.voice__body { order: 1; max-width: 33em; display: grid; gap: 1.2em; justify-items: start; }
.voice__body .sh__no { margin-bottom: 8px; }
.voice__text { line-height: 2.2; color: var(--ink-2); }
.voice__sign { font-family: var(--f-min); font-weight: 700; font-size: 22px; letter-spacing: .2em; margin: .4em 0 .8em; display: flex; align-items: baseline; gap: 14px; }
.voice__sign span { font-family: var(--f-sans); font-weight: 500; font-size: 13px; letter-spacing: .16em; color: var(--mute); }
.voice__brush { order: 3; width: 84px; height: auto; transform: rotate(14deg); margin-right: clamp(0px, 3vw, 40px); }
.voice__brush-handle, .voice__brush-ferrule, .voice__brush-bristle { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.voice__brush-ferrule-line { stroke: var(--ink); stroke-width: 1.4; }
.voice__brush-tip { fill: var(--kaki); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
@media (max-width: 900px) {
  .voice__in { grid-template-columns: 1fr auto; gap: 40px 24px; }
  .voice__quote { order: 1; grid-column: 1 / -1; justify-self: end; }
  .voice__quote p { font-size: clamp(1.4rem, min(7.4vw, calc((100vh - 180px) / 12.7)), 2.4rem); font-size: clamp(1.4rem, min(7.4vw, calc((100svh - 180px) / 12.7)), 2.4rem); }
  .voice__body { order: 2; }
  .voice__brush { order: 3; width: 56px; align-self: end; }
}

/* ---------- flow (tape) ---------- */
.flowmini__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(48px, 6vw, 72px); }
.tape {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-top: 46px;
}
.tape::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  background:
    repeating-linear-gradient(90deg, var(--sumi) 0 1px, transparent 1px 100%) 0 0 / 50px 100% repeat-x,
    repeating-linear-gradient(90deg, var(--sumi) 0 1px, transparent 1px 100%) 0 100% / 10px 9px repeat-x,
    repeating-linear-gradient(90deg, var(--sumi) 0 1px, transparent 1px 100%) 25px 100% / 50px 16px repeat-x,
    #f2c230;
  border-top: 1px solid var(--sumi);
  border-bottom: 1px solid var(--sumi);
  background-position: 0 100%, 0 100%, 25px 100%, 0 0;
  transform-origin: left;
}
.js .tape::before { transform: scaleX(0); transition: transform 1.6s var(--ease); }
.js .tape.is-in::before { transform: scaleX(1); }
.tape li { position: relative; padding: 0 clamp(10px, 1.6vw, 22px) 0 0; display: grid; gap: 6px; align-content: start; }
.tape li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -46px;
  width: 2px;
  height: 46px;
  background: var(--kaki);
}
.tape__no { font-family: var(--f-en); font-weight: 600; font-size: 15px; letter-spacing: .1em; color: var(--kaki-d); padding-left: 12px; }
.tape__name { font-family: var(--f-min); font-weight: 700; font-size: 20px; letter-spacing: .1em; padding-left: 12px; }
.tape__text { font-size: 14px; line-height: 1.85; color: var(--ink-2); padding-left: 12px; }
@media (max-width: 900px) {
  .tape { grid-template-columns: 1fr; padding-top: 0; padding-left: 46px; gap: 26px; }
  .tape::before {
    top: 0; bottom: 0; left: 0; right: auto; width: 30px; height: auto;
    background:
      repeating-linear-gradient(180deg, var(--sumi) 0 1px, transparent 1px 100%) 100% 0 / 100% 50px repeat-y,
      repeating-linear-gradient(180deg, var(--sumi) 0 1px, transparent 1px 100%) 100% 0 / 9px 10px repeat-y,
      #f2c230;
    border: 0;
    border-left: 1px solid var(--sumi);
    border-right: 1px solid var(--sumi);
    transform-origin: top;
  }
  .js .tape::before { transform: scaleY(0); }
  .js .tape.is-in::before { transform: scaleY(1); }
  .tape li::before { left: -16px; top: 12px; width: 16px; height: 2px; }
  .tape__no, .tape__name, .tape__text { padding-left: 4px; }
}

/* ---------- area ---------- */
.area__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.area__text { display: grid; gap: 26px; }
.area__text > p { line-height: 2.15; color: var(--ink-2); }
.area__list { display: flex; flex-wrap: wrap; gap: 8px; }
.area__list li { font-family: var(--f-min); font-weight: 700; font-size: 16px; letter-spacing: .1em; padding: 6px 16px; border: 1px solid var(--line-2); background: var(--washi); }
.area__list li.is-home { background: var(--kaki); border-color: var(--kaki); color: var(--sumi); }
.area__note { font-size: 13.5px; color: var(--mute); }
@media (max-width: 900px) { .area__in { grid-template-columns: 1fr; } }

.amap__svg { width: 100%; height: auto; }
.amap__ring { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 5; }
.amap__axis { stroke: var(--line); stroke-width: 1; }
.amap__mt { fill: none; stroke: var(--line-2); stroke-width: 1.3; stroke-linejoin: round; }
.amap__river { fill: none; stroke: #9db4c0; stroke-width: 7; stroke-linecap: round; opacity: .55; }
.amap__rv { font-size: 11px; letter-spacing: .14em; fill: var(--mute); font-family: var(--f-sans); }
.amap__km { font-family: var(--f-en); font-size: 13px; letter-spacing: .08em; fill: var(--mute); }
.amap__city circle { fill: var(--ink); }
.amap__city text, .amap__home text, .amap__ref text, .amap__km, .amap__rv { paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.amap__city text { font-family: var(--f-min); font-weight: 700; font-size: 16px; letter-spacing: .06em; fill: var(--ink); }
.amap__ref circle { fill: none; stroke: var(--mute); stroke-width: 1.3; }
.amap__ref text { font-size: 11.5px; letter-spacing: .08em; fill: var(--mute); font-family: var(--f-sans); }
.amap__home circle { fill: var(--kaki); }
.amap__home text { font-family: var(--f-min); font-weight: 900; font-size: 22px; letter-spacing: .08em; fill: var(--ink); }
.amap__pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(4.2); opacity: 0; } }
.amap__n path { fill: var(--ink); }
.amap__n text { font-family: var(--f-en); font-weight: 600; font-size: 13px; text-anchor: middle; fill: var(--ink); }
.amap__cap { margin-top: 12px; font-size: 12px; letter-spacing: .06em; color: var(--mute); text-align: right; }

/* ---------- recruit band ---------- */
.recruit-band {
  position: relative;
  background: var(--kaki);
  color: var(--sumi);
  padding-block: clamp(80px, 10vw, 140px);
  overflow: hidden;
  isolation: isolate;
}
.recruit-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(-45deg, rgba(22, 21, 20, .9) 0 22px, transparent 22px 44px) 0 0 / 100% 18px no-repeat,
    repeating-linear-gradient(-45deg, rgba(22, 21, 20, .9) 0 22px, transparent 22px 44px) 0 100% / 100% 18px no-repeat;
}
.recruit-band__in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 8vw, 140px); align-items: center; }
.recruit-band__copy {
  writing-mode: vertical-rl;
  font-family: var(--f-min);
  font-weight: 900;
  /* 1列の長さ ≒ 10.3文字ぶん */
  font-size: clamp(1.5rem, min(4.4vw, calc((100vh - 180px) / 10.3)), 3.8rem);
  font-size: clamp(1.5rem, min(4.4vw, calc((100svh - 180px) / 10.3)), 3.8rem);
  line-height: 1.6;
  letter-spacing: .14em;
}
.recruit-band__copy span { display: block; white-space: nowrap; }
.recruit-band__copy span + span { padding-top: 2.6em; }
.recruit-band__body { display: grid; gap: 22px; justify-items: start; max-width: 34em; }
.recruit-band__label { font-family: var(--f-min); font-weight: 900; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: .14em; background: var(--sumi); color: var(--kaki); padding: 6px 18px 8px; line-height: 1.4; }
.recruit-band__text { line-height: 2.1; font-weight: 500; }
.recruit-band__checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.recruit-band__checks li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .08em; }
.recruit-band__checks svg { width: 20px; height: 20px; padding: 2px; background: var(--sumi); color: var(--kaki); }
@media (max-width: 767px) {
  .recruit-band__in { grid-template-columns: 1fr; }
  .recruit-band__copy { justify-self: end; font-size: clamp(1.5rem, min(9vw, calc((100vh - 180px) / 10.3)), 2.8rem); font-size: clamp(1.5rem, min(9vw, calc((100svh - 180px) / 10.3)), 2.8rem); }
}

/* ---------- instagram band ---------- */
.ig { background: var(--sumi); color: #ece7dd; padding-block: clamp(80px, 10vw, 130px); }
.ig__in { display: grid; gap: 22px; justify-items: center; text-align: center; }
.ig__label { font-family: var(--f-min); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: .14em; }
.ig__handle {
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  font-family: var(--f-en);
  font-weight: 600;
  font-size: clamp(2.2rem, 7.4vw, 6.4rem);
  line-height: 1.1;
  letter-spacing: .02em;
  color: #fff;
  transition: color .35s;
  overflow-wrap: anywhere;
}
.ig__handle svg { width: .6em; height: .6em; }
.ig__handle .ig__arrow { width: .45em; height: .45em; color: var(--kaki); transition: transform .4s var(--ease); }
@media (hover: hover) {
  .ig__handle:hover { color: var(--kaki); }
  .ig__handle:hover .ig__arrow { transform: translateX(10px); }
}
.ig__text { max-width: 36em; font-size: 15px; line-height: 2.1; color: rgba(236, 231, 221, .7); }
.ig__text a { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--kaki); }
@media (max-width: 600px) { .ig__handle { font-size: 2rem; } }

/* ---------- CTA board (工事看板) ---------- */
.cta { padding-block: clamp(88px, 11vw, 150px); background: var(--washi); }
.board {
  position: relative;
  background: var(--kaki);
  color: var(--sumi);
  border: 3px solid var(--sumi);
  outline: 10px solid var(--kaki);
  outline-offset: -16px;
  padding: clamp(44px, 6vw, 80px) clamp(28px, 6vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px clamp(32px, 6vw, 88px);
  align-items: center;
  box-shadow: 14px 14px 0 var(--sumi);
}
.board::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grain);
  opacity: .14;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.board__bolt { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0 12%, #9a958e 40%, #4b4844 100%); box-shadow: 0 1px 0 rgba(0,0,0,.3); z-index: 1; }
.board__bolt:nth-of-type(1) { top: 16px; left: 16px; }
.board__bolt:nth-of-type(2) { top: 16px; right: 16px; }
.board__bolt:nth-of-type(3) { bottom: 16px; left: 16px; }
.board__bolt:nth-of-type(4) { bottom: 16px; right: 16px; }
.board__head { display: grid; gap: 22px; position: relative; z-index: 1; }
.board__label { justify-self: start; font-weight: 700; font-size: 14px; letter-spacing: .2em; background: var(--sumi); color: var(--kaki); padding: 4px 14px; }
.board__title { font-family: var(--f-min); font-weight: 900; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.45; letter-spacing: .08em; }
.board__text { font-weight: 500; line-height: 2.05; font-size: 15.5px; }
.board__acts { display: grid; gap: 12px; position: relative; z-index: 1; }
.board__acts .btn--line { background: rgba(255, 255, 255, .0); }
.board__tel {
  display: grid;
  gap: 2px;
  padding: 18px 22px 16px;
  background: var(--paper);
  border: 1.5px solid var(--sumi);
  transition: background-color .3s;
}
.board__tel-label { font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.board__tel-num { display: flex; align-items: center; gap: 10px; font-family: var(--f-en); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: .04em; }
.board__tel-num svg { width: .7em; height: .7em; color: var(--kaki-d); }
.board__tel-note { font-size: 12.5px; color: var(--ink-2); }
@media (hover: hover) { .board__tel:hover { background: #fff; } }
@media (max-width: 900px) {
  .board { grid-template-columns: 1fr; box-shadow: 8px 8px 0 var(--sumi); }
}

/* ---------- footer ---------- */
.ft { background: var(--sumi); color: #d9d3c8; padding-top: clamp(72px, 9vw, 120px); position: relative; }
.ft__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; padding-bottom: 56px; background: linear-gradient(var(--line-d), var(--line-d)) 50% 100% / calc(100% - var(--gut) * 2) 1px no-repeat; }
.ft__brand { display: flex; gap: clamp(24px, 3vw, 44px); align-items: flex-start; }
.ft__logo { width: 132px; height: 132px; flex: none; }
.ft__info { display: grid; gap: 10px; font-size: 14px; }
.ft__tag { font-size: 12px; letter-spacing: .2em; color: var(--kaki); }
.ft__name { font-family: var(--f-min); font-weight: 900; font-size: 28px; letter-spacing: .16em; color: #fff; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; line-height: 1.4; }
.ft__name span { font-family: var(--f-sans); font-weight: 400; font-size: 13px; letter-spacing: .12em; color: #a9a398; }
.ft__addr, .ft__tel a { display: inline-flex; align-items: center; gap: 8px; }
.ft__addr svg, .ft__tel svg { width: 16px; height: 16px; color: var(--kaki); }
.ft__tel { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.ft__tel a { font-family: var(--f-en); font-weight: 600; font-size: 22px; letter-spacing: .06em; color: #fff; }
.ft__tel span { font-size: 12.5px; color: #a9a398; }
.ft__sns { display: flex; gap: 20px; margin-top: 6px; }
.ft__sns a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-en); font-weight: 500; font-size: 15px; letter-spacing: .1em; transition: color .3s; }
.ft__sns svg { width: 18px; height: 18px; }
.ft__sns a:hover { color: var(--kaki); }
.ft__nav ul { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; }
.ft__nav a { font-size: 14px; letter-spacing: .1em; display: inline-flex; align-items: center; gap: 10px; transition: color .3s; }
.ft__nav a::before { content: ""; width: 10px; height: 1px; background: var(--kaki); }
.ft__nav a:hover, .ft__nav a[aria-current="page"] { color: #fff; }
.ft__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-block: 26px calc(26px + env(safe-area-inset-bottom)); font-size: 12px; color: #8e887e; }
.ft__area { margin-right: auto; letter-spacing: .08em; }
.ft__copy { font-family: var(--f-en); letter-spacing: .14em; }
.ft__top { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-en); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #d9d3c8; }
.ft__top svg { width: 16px; height: 16px; transform: rotate(-90deg); transition: transform .35s var(--ease); }
.ft__top:hover svg { transform: rotate(-90deg) translateX(4px); }
@media (max-width: 900px) {
  .ft__in { grid-template-columns: 1fr; }
  .ft__brand { flex-direction: column; }
  .ft__logo { width: 108px; height: 108px; }
}
@media (max-width: 767px) {
  .ft__bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .ft__nav ul { gap: 10px 20px; }
  .ft__nav a { font-size: 13.5px; letter-spacing: .06em; }
}

/* ---------- mobile dock ---------- */
.dock {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 80;
  display: none;
  grid-template-columns: auto 1fr;
  gap: 8px;
  /* 隠すときは、iPhone の下の余白（ホームバー）ぶんも含めて完全に画面の外へ */
  transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom)));
  visibility: hidden;
  transition: transform .5s var(--ease), visibility 0s .5s;
}
.dock.is-show { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font-weight: 700; font-size: 14.5px; letter-spacing: .08em; border: 1.5px solid var(--sumi); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.dock svg { width: 20px; height: 20px; }
.dock__sub { background: var(--paper); color: var(--sumi); padding: 0 18px; }
.dock__main { background: var(--kaki); color: var(--sumi); }
.is-drawer .dock { transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom))); visibility: hidden; }
@media (max-width: 767px) { .dock { display: grid; } }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   下層ページ
   ========================================================= */
.lede { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px clamp(40px, 7vw, 110px); align-items: start; }
.lede__body { display: grid; gap: 1.2em; line-height: 2.2; color: var(--ink-2); }
@media (max-width: 900px) { .lede { grid-template-columns: 1fr; } }

.block + .block, .sheet + .block { margin-top: clamp(88px, 11vw, 150px); }
.block__head { margin-bottom: clamp(36px, 5vw, 56px); display: grid; gap: 22px; max-width: 46em; }
.block__lead { line-height: 2.15; color: var(--ink-2); }
.sec--sumi .block__lead { color: rgba(236, 231, 221, .75); }

/* first aid (応急処置) */
.aid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.aid li { padding: 30px clamp(16px, 2vw, 28px) 34px; display: grid; gap: 12px; align-content: start; }
.aid li + li { border-left: 1px solid var(--line-2); }
.aid__no { font-family: var(--f-en); font-weight: 600; font-size: 42px; line-height: 1; color: var(--kaki); }
.aid__title { font-family: var(--f-min); font-weight: 700; font-size: 19px; letter-spacing: .08em; line-height: 1.5; }
.aid__text { font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }
.aid li.is-warn { background: var(--sumi); color: #ece7dd; }
.aid li.is-warn .aid__text { color: rgba(236, 231, 221, .78); }
@media (max-width: 1000px) {
  .aid { grid-template-columns: 1fr 1fr; }
  .aid li:nth-child(3) { border-left: 0; }
  .aid li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 600px) {
  .aid { grid-template-columns: 1fr; }
  .aid li + li { border-left: 0; border-top: 1px solid var(--line-2); }
  .aid li { grid-template-columns: 56px 1fr; column-gap: 12px; padding: 24px 16px; }
  .aid__no { grid-row: span 2; font-size: 34px; }
}

/* sign list */
.signs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.signs li { word-break: auto-phrase; background: var(--washi); padding: 24px 26px; display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; font-weight: 500; line-height: 1.8; }
.signs svg { width: 22px; height: 22px; color: var(--kaki-d); margin-top: 3px; }
.signs small { display: block; font-weight: 400; font-size: 13px; color: var(--mute); margin-top: 2px; }
@media (max-width: 900px) { .signs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .signs { grid-template-columns: 1fr; } .signs li { padding: 18px 18px; } }

/* steps (調査) */
.survey { display: grid; gap: 0; counter-reset: s; border-top: 1px solid rgba(255,255,255,.3); }
.survey li { display: grid; grid-template-columns: 110px minmax(0, 15em) minmax(0, 1fr); gap: 20px 32px; padding: 34px 0; border-bottom: 1px solid var(--line-d); align-items: baseline; }
.survey__no { font-family: var(--f-en); font-weight: 500; font-size: 15px; letter-spacing: .2em; color: var(--kaki); }
.survey__no b { font-size: 46px; font-weight: 600; letter-spacing: .02em; margin-left: 6px; }
.survey__title { font-family: var(--f-min); font-weight: 700; font-size: 22px; letter-spacing: .08em; color: #fff; line-height: 1.5; }
.survey__text { line-height: 2.05; color: rgba(236, 231, 221, .78); font-size: 15px; }
@media (max-width: 900px) {
  .survey li { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
  .survey__no b { font-size: 36px; }
}

/* repair list */
.fixes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.fix { background: var(--paper); border: 1px solid var(--line); padding: 28px 26px 30px; display: grid; gap: 12px; align-content: start; position: relative; }
.fix::before { content: ""; position: absolute; left: -1px; top: -1px; width: 38px; height: 4px; background: var(--kaki); }
.fix__where { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--kaki-d); }
.fix__title { font-family: var(--f-min); font-weight: 700; font-size: 20px; letter-spacing: .08em; line-height: 1.5; }
.fix__text { font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }
@media (max-width: 1000px) { .fixes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fixes { grid-template-columns: 1fr; } }

/* note box */
.note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px clamp(24px, 4vw, 56px);
  align-items: start;
  padding: clamp(28px, 4vw, 48px);
  border: 1.5px solid var(--ink);
  background: var(--paper);
  position: relative;
}
.note__label { white-space: nowrap; writing-mode: vertical-rl; font-family: var(--f-min); font-weight: 900; font-size: 22px; letter-spacing: .3em; color: var(--kaki-d); border-left: 1px solid var(--line-2); padding-left: clamp(14px, 2vw, 24px); }
.note__title { font-family: var(--f-min); font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: .08em; line-height: 1.6; margin-bottom: 14px; }
.note__body p + p { margin-top: 1em; }
.note__body p { line-height: 2.1; color: var(--ink-2); }
@media (max-width: 600px) { .note { grid-template-columns: 1fr; } .note__label { writing-mode: horizontal-tb; border: 0; padding: 0; font-size: 16px; letter-spacing: .2em; } }

/* service detail */
.svc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px clamp(40px, 7vw, 110px); padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-2); align-items: start; }
.svc:first-of-type { border-top: 1px solid var(--ink); }
.svc__head { position: sticky; top: calc(var(--hd) + 32px); display: grid; gap: 16px; }
.svc__no { font-family: var(--f-en); font-weight: 600; font-size: 15px; letter-spacing: .22em; color: var(--kaki-d); }
.svc__title { font-family: var(--f-min); font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: .1em; line-height: 1.4; }
.svc__copy { font-family: var(--f-min); font-weight: 700; font-size: 17px; letter-spacing: .06em; line-height: 1.9; color: var(--ink-2); }
.svc__body { display: grid; gap: 1.3em; line-height: 2.15; color: var(--ink-2); }
.svc__body h4 { font-family: var(--f-min); font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: .08em; margin-top: .6em; display: flex; align-items: center; gap: 12px; }
.svc__body h4::before { content: ""; width: 18px; height: 2px; background: var(--kaki); }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc__tags li { font-size: 13.5px; font-weight: 500; letter-spacing: .06em; padding: 4px 14px; border: 1px solid var(--line-2); background: var(--paper); }
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; }
  .svc__head { position: static; }
}

/* paint layers */
.layers { display: grid; gap: 28px; margin-block: 1em; }
.layers__svg { width: 100%; height: auto; background: var(--washi); border: 1px solid var(--line); }
.ly-hatch { stroke: var(--line-2); stroke-width: 1; }
.ly-sub { fill: url(#ly-hatch); stroke: var(--ink); stroke-width: 1.4; }
.ly-break { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.ly-coat { stroke: var(--ink); stroke-width: 1.2; transform-box: fill-box; transform-origin: left center; transition: transform 1s var(--ease); }
.ly-coat--1 { fill: #f4f0e7; }
.ly-coat--2 { fill: #c9a582; }
.ly-coat--3 { fill: #ab8260; }
.js .layers:not(.is-in) .ly-coat { transform: scaleX(0); }
.layers.is-in .ly-coat--1 { transition-delay: .2s; }
.layers.is-in .ly-coat--2 { transition-delay: .6s; }
.layers.is-in .ly-coat--3 { transition-delay: 1s; }
.ly-lead { stroke: var(--ink); stroke-width: 1; fill: none; }
.ly-dot { fill: var(--kaki); }
.ly-no { font-family: var(--f-en); font-weight: 600; font-size: 13px; letter-spacing: .14em; fill: var(--kaki-d); text-anchor: middle; }
.ly-name { font-family: var(--f-min); font-weight: 700; font-size: 18px; letter-spacing: .08em; fill: var(--ink); text-anchor: middle; }
.ly-name--sub { font-size: 15px; fill: var(--mute); }
.layers__list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.layers__list li { padding: 18px 16px 4px 0; display: grid; gap: 6px; align-content: start; }
.layers__list li + li { padding-left: 16px; border-left: 1px solid var(--line-2); }
.layers__step { font-family: var(--f-min); font-weight: 900; font-size: 18px; letter-spacing: .08em; color: var(--ink); }
.layers__list p { font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.layers__list strong { display: block; font-weight: 700; color: var(--kaki-d); margin-bottom: 2px; font-size: 13.5px; }
@media (max-width: 600px) {
  .layers__list { grid-template-columns: 1fr; }
  .layers__list li, .layers__list li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line-2); }
}

/* process (工程) */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); counter-reset: p; }
.process li { background: var(--washi); padding: 26px 24px 28px; display: grid; gap: 8px; align-content: start; counter-increment: p; }
.process li::before { content: counter(p, decimal-leading-zero); font-family: var(--f-en); font-weight: 600; font-size: 30px; line-height: 1; color: var(--kaki); }
.process b { font-family: var(--f-min); font-weight: 700; font-size: 18px; letter-spacing: .08em; }
.process p { font-size: 14px; line-height: 1.9; color: var(--ink-2); }
@media (max-width: 1000px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* checklist */
.check { background: var(--paper); border: 1.5px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.check__list { padding: clamp(24px, 3.4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.check__item { word-break: auto-phrase; position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); background: var(--washi); cursor: pointer; font-size: 14.5px; font-weight: 500; line-height: 1.6; transition: border-color .25s, background-color .25s; }
.check__item input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { flex: none; width: 22px; height: 22px; border: 1.5px solid var(--ink); background: #fff; display: grid; place-items: center; margin-top: 1px; transition: background-color .2s; }
.check__box svg { width: 16px; height: 16px; color: var(--sumi); opacity: 0; transform: scale(.4); transition: opacity .2s, transform .25s cubic-bezier(.3,1.6,.5,1); }
.check__item:has(input:checked) { border-color: var(--kaki); background: #fff6ee; }
.check__item input:checked + .check__box { background: var(--kaki); border-color: var(--kaki); }
.check__item input:checked + .check__box svg { opacity: 1; transform: none; }
.check__item input:focus-visible + .check__box { outline: 2px solid var(--kaki); outline-offset: 2px; }
.check__res { background: var(--sumi); color: #ece7dd; padding: clamp(28px, 3.4vw, 44px); display: grid; gap: 18px; align-content: center; }
.check__count { font-family: var(--f-en); font-weight: 600; font-size: 15px; letter-spacing: .14em; display: flex; align-items: baseline; gap: 10px; }
.check__count b { font-size: 72px; line-height: 1; color: var(--kaki); letter-spacing: 0; }
.check__meter { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.check__meter i { height: 8px; background: rgba(255,255,255,.12); transition: background-color .3s; }
.check__meter i.is-on { background: var(--kaki); }
.check__msg { font-size: 15px; line-height: 2; min-height: 6em; }
.check__res .btn { justify-self: start; }
@media (max-width: 900px) { .check { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .check__list { grid-template-columns: 1fr; } }

/* futai chips (付帯部) */
.parts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); margin-top: 8px; }
.parts li { background: var(--paper); padding: 18px 18px 20px; display: grid; gap: 4px; }
.parts b { word-break: auto-phrase; font-family: var(--f-min); font-weight: 700; font-size: 16.5px; letter-spacing: .08em; color: var(--ink); }
.parts span { font-size: 12.5px; line-height: 1.75; color: var(--mute); }
@media (max-width: 1000px) { .parts { grid-template-columns: 1fr 1fr; } }

/* swatches (色見本) */
.swatch { display: flex; gap: 0; margin-top: 10px; border: 1px solid var(--line-2); }
.swatch li { flex: 1; height: 96px; position: relative; display: flex; align-items: flex-end; padding: 8px; font-size: 11px; letter-spacing: .08em; }
.swatch li span { background: rgba(250, 248, 243, .9); padding: 1px 6px; color: var(--ink); white-space: nowrap; }
@media (max-width: 600px) { .swatch { flex-wrap: wrap; } .swatch li { flex: 1 1 33%; height: 72px; } }

/* flow page */
.flow { display: grid; gap: 0; position: relative; }
.flow::before { content: ""; position: absolute; left: 39px; top: 10px; bottom: 10px; width: 1px; background: repeating-linear-gradient(var(--ink) 0 4px, transparent 4px 9px); }
.flow > li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); padding-bottom: clamp(40px, 5vw, 64px); position: relative; }
.flow__no { position: relative; z-index: 1; display: grid; place-items: center; width: 80px; height: 80px; background: var(--washi); border: 1.5px solid var(--ink); border-radius: 50%; font-family: var(--f-en); font-weight: 600; font-size: 13px; letter-spacing: .14em; line-height: 1; text-align: center; }
.flow__no b { display: block; font-size: 30px; letter-spacing: 0; color: var(--kaki-d); margin-top: 3px; }
.flow__body { padding-top: 12px; display: grid; gap: 12px; }
.flow__title { font-family: var(--f-min); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.65rem); letter-spacing: .08em; line-height: 1.5; }
.flow__text { line-height: 2.1; color: var(--ink-2); max-width: 44em; }
.flow__pt { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.flow__pt li { font-size: 13px; letter-spacing: .06em; padding: 3px 12px; background: var(--paper); border: 1px solid var(--line-2); }
.flow > li:last-child { padding-bottom: 0; }
@media (max-width: 600px) {
  .flow::before { left: 27px; }
  .flow > li { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
  .flow__no { width: 56px; height: 56px; font-size: 10px; }
  .flow__no b { font-size: 22px; }
  .flow__body { padding-top: 4px; }
}

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 28px;
  gap: 14px;
  align-items: center;
  padding: 24px 4px;
  cursor: pointer;
  font-family: var(--f-min);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  letter-spacing: .06em;
  line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--f-en); font-weight: 600; font-size: 28px; color: var(--kaki); line-height: 1; }
.faq summary svg { width: 22px; height: 22px; justify-self: end; transition: transform .35s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 0 32px 28px 4px; }
.faq__a::before { content: "A"; font-family: var(--f-en); font-weight: 600; font-size: 28px; color: var(--ink); line-height: 1; }
.faq__a p { line-height: 2.05; color: var(--ink-2); }
@media (hover: hover) { .faq summary:hover { color: var(--kaki-d); } }

/* company */
.greet { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px clamp(40px, 7vw, 110px); align-items: start; }
.greet__side { position: sticky; top: calc(var(--hd) + 40px); display: grid; gap: 30px; justify-items: start; }
.greet__logo { width: min(100%, 300px); }
.greet__title { font-family: var(--f-min); font-weight: 900; font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: .08em; line-height: 1.55; }
.greet__body { display: grid; gap: 1.4em; line-height: 2.25; color: var(--ink-2); font-size: 16.5px; }
.greet__sign { margin-top: 1em; font-family: var(--f-min); font-weight: 700; font-size: 26px; letter-spacing: .24em; color: var(--ink); display: flex; align-items: baseline; gap: 18px; justify-content: flex-end; }
.greet__sign span { font-family: var(--f-sans); font-weight: 500; font-size: 13px; letter-spacing: .16em; color: var(--mute); }
@media (max-width: 900px) { .greet { grid-template-columns: 1fr; } .greet__side { position: static; } .greet__logo { width: 200px; } }

.table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.table th, .table td { text-align: left; vertical-align: top; padding: 22px 8px; border-bottom: 1px solid var(--line-2); line-height: 1.95; font-size: 15px; }
.table th { width: 11em; font-weight: 700; letter-spacing: .1em; white-space: nowrap; }
.table td a { text-decoration: underline; text-decoration-color: var(--kaki); text-underline-offset: 4px; }
.table td small { color: var(--mute); font-size: 13px; }
@media (max-width: 600px) {
  .table th, .table td { display: block; width: auto; padding: 0 2px; border: 0; }
  .table th { padding-top: 18px; font-size: 13px; color: var(--kaki-d); }
  .table td { padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
}

/* recruit */
.rc-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 8vw, 130px); align-items: center; }
.rc-hero__copy { writing-mode: vertical-rl; font-family: var(--f-min); font-weight: 900; font-size: clamp(1.5rem, min(4.4vw, calc((100vh - 180px) / 10.3)), 3.8rem); font-size: clamp(1.5rem, min(4.4vw, calc((100svh - 180px) / 10.3)), 3.8rem); line-height: 1.6; letter-spacing: .14em; }
.rc-hero__copy span { display: block; white-space: nowrap; }
.rc-hero__copy span + span { padding-top: 2.6em; color: var(--kaki-d); }
.rc-hero__body { display: grid; gap: 1.3em; line-height: 2.2; color: var(--ink-2); }
@media (max-width: 767px) { .rc-hero { grid-template-columns: 1fr; } .rc-hero__copy { justify-self: end; font-size: clamp(1.5rem, min(9vw, calc((100vh - 180px) / 10.3)), 2.8rem); font-size: clamp(1.5rem, min(9vw, calc((100svh - 180px) / 10.3)), 2.8rem); } }

.welcome { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1.5px solid var(--sumi); background: var(--kaki); }
.welcome li { display: grid; place-items: center; gap: 10px; padding: 30px 10px; font-family: var(--f-min); font-weight: 900; font-size: clamp(1rem, 1.6vw, 1.25rem); letter-spacing: .1em; text-align: center; color: var(--sumi); }
.welcome li + li { border-left: 1.5px solid var(--sumi); }
.welcome svg { width: 30px; height: 30px; padding: 4px; background: var(--sumi); color: var(--kaki); }
@media (max-width: 767px) {
  .welcome { grid-template-columns: 1fr 1fr; }
  .welcome li { padding: 22px 8px; }
  .welcome li:nth-child(odd) { border-left: 0; }
  .welcome li:nth-child(n+3) { border-top: 1.5px solid var(--sumi); }
  .welcome li:last-child { grid-column: 1 / -1; }
}

.learn { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); counter-reset: l; }
.learn li { border-top: 3px solid var(--sumi); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.learn__step { font-family: var(--f-en); font-weight: 600; font-size: 14px; letter-spacing: .2em; color: var(--kaki-d); }
.learn__title { font-family: var(--f-min); font-weight: 700; font-size: 21px; letter-spacing: .08em; line-height: 1.5; }
.learn__text { font-size: 15px; line-height: 2; color: var(--ink-2); }
@media (max-width: 900px) { .learn { grid-template-columns: 1fr; gap: 36px; } }

.day { display: grid; border-top: 1px solid var(--ink); }
.day li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--line-2); align-items: baseline; }
.day time { font-family: var(--f-en); font-weight: 600; font-size: 24px; letter-spacing: .04em; color: var(--kaki-d); }
.day b { font-weight: 700; margin-right: .6em; }
.day span { color: var(--ink-2); font-size: 14.5px; }
.day__note { margin-top: 14px; font-size: 13px; color: var(--mute); }

.apply { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.apply a { display: grid; gap: 6px; padding: 26px 26px 24px; background: var(--paper); border: 1.5px solid var(--sumi); transition: background-color .3s, color .3s; position: relative; }
.apply a svg.apply__go { position: absolute; right: 22px; top: 26px; width: 22px; height: 22px; transition: transform .35s var(--ease); }
.apply__label { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; color: var(--kaki-d); }
.apply__main { font-family: var(--f-min); font-weight: 700; font-size: 21px; letter-spacing: .06em; line-height: 1.5; }
.apply__note { font-size: 13px; color: var(--mute); }
@media (hover: hover) { .apply a:hover { background: var(--sumi); color: #fff; } .apply a:hover .apply__note { color: #aaa; } .apply a:hover svg.apply__go { transform: translateX(5px); } }
@media (max-width: 900px) { .apply { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 32px clamp(32px, 5vw, 72px); align-items: start; }
.contact__side { display: grid; gap: 12px; position: sticky; top: calc(var(--hd) + 24px); }
.contact__card { background: var(--paper); border: 1px solid var(--line-2); padding: 24px 26px; display: grid; gap: 8px; }
.contact__card--dark { background: var(--sumi); color: #ece7dd; border-color: var(--sumi); }
.contact__label { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; color: var(--kaki-d); }
.contact__card--dark .contact__label { color: var(--kaki); }
.contact__tel { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-en); font-weight: 600; font-size: 34px; line-height: 1.15; letter-spacing: .04em; }
.contact__tel svg { width: 24px; height: 24px; color: var(--kaki-d); }
.contact__ig { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-en); font-weight: 600; font-size: 25px; letter-spacing: .04em; transition: color .3s; }
.contact__ig svg { width: 24px; height: 24px; color: var(--kaki); }
.contact__ig:hover { color: var(--kaki); }
.contact__mail { font-family: var(--f-en); font-weight: 500; font-size: 20px; letter-spacing: .04em; word-break: break-all; text-decoration: underline; text-decoration-color: var(--kaki); text-underline-offset: 4px; }
.contact__small { font-size: 13px; line-height: 1.85; color: var(--mute); }
.contact__card--dark .contact__small { color: rgba(236, 231, 221, .65); }
.contact__note { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.contact__note svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact__side { position: static; order: 2; } }

.form { background: var(--paper); border: 1px solid var(--line-2); padding: clamp(24px, 4vw, 52px); display: grid; gap: 28px; }
.form__head { display: grid; gap: 10px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.form__title { font-family: var(--f-min); font-weight: 900; font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: .1em; }
.form__head p { font-size: 14px; color: var(--ink-2); line-height: 1.9; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
.form__row { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.form__label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; letter-spacing: .08em; padding: 0; }
.req, .opt { font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 1px 8px; line-height: 1.7; }
.req { background: var(--kaki); color: var(--sumi); }
.opt { border: 1px solid var(--line-2); color: var(--mute); font-weight: 500; }
.input {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.input::placeholder { color: #aca598; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(232, 114, 28, .25); }
.input--area { min-height: 180px; resize: vertical; line-height: 1.85; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select .input { padding-right: 44px; }
.form__err { display: none; font-size: 13px; font-weight: 500; color: #b3261e; }
.form__row.is-error .form__err { display: block; }
.form__row.is-error .input { border-color: #b3261e; background: #fff8f7; }
.form__hint { font-size: 13px; color: var(--kaki-d); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 500; letter-spacing: .06em; transition: background-color .2s, border-color .2s, color .2s; }
.chip input:checked + span { background: var(--sumi); border-color: var(--sumi); color: #fff; }
.chip input:checked + span::before { content: ""; width: 7px; height: 12px; border-right: 2px solid var(--kaki); border-bottom: 2px solid var(--kaki); transform: rotate(45deg) translate(-1px, -2px); }
.chip input:focus-visible + span { outline: 2px solid var(--kaki); outline-offset: 2px; }
.agree { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; }
.agree input { position: absolute; opacity: 0; pointer-events: none; }
.agree__box { width: 24px; height: 24px; border: 1.5px solid var(--ink); background: #fff; display: grid; place-items: center; }
.agree__box svg { width: 16px; height: 16px; opacity: 0; transition: opacity .2s; }
.agree input:checked + .agree__box { background: var(--kaki); border-color: var(--kaki); }
.agree input:checked + .agree__box svg { opacity: 1; }
.agree input:focus-visible + .agree__box { outline: 2px solid var(--kaki); outline-offset: 2px; }
.agree a { text-decoration: underline; text-underline-offset: 3px; }
.form__agree { justify-items: center; padding-top: 8px; }
.form__submit { min-height: 68px; font-size: 16px; }
.form__submit:disabled { opacity: .6; pointer-events: none; }
.form__status { font-size: 14px; color: #b3261e; text-align: center; min-height: 1em; }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }

.done { background: var(--paper); border: 1.5px solid var(--ink); padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px); display: grid; gap: 18px; justify-items: center; text-align: center; outline: none; }
.done__mark { width: 96px; }
.done__title { font-family: var(--f-min); font-weight: 900; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: .1em; }
.done p { line-height: 2; color: var(--ink-2); }
.done__small { font-size: 13px; }

/* privacy */
.legal { max-width: 52em; display: grid; gap: 40px; }
.legal h2 { font-family: var(--f-min); font-weight: 700; font-size: 20px; letter-spacing: .08em; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 14px; display: flex; gap: 14px; align-items: baseline; }
.legal h2 span { font-family: var(--f-en); font-weight: 600; color: var(--kaki-d); font-size: 18px; }
.legal p, .legal li { line-height: 2.05; color: var(--ink-2); font-size: 15px; }
.legal ul { list-style: disc; padding-left: 1.4em; margin-top: .6em; }
.legal__date { font-size: 13px; color: var(--mute); }

/* in-page nav */
.pnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.pnav a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid rgba(255,255,255,.3); font-size: 14px; font-weight: 500; letter-spacing: .08em; transition: background-color .3s, color .3s, border-color .3s; }
.pnav a::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); }
@media (hover: hover) { .pnav a:hover { background: var(--kaki); border-color: var(--kaki); color: var(--sumi); } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
.contact .done { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 900px) { .contact .done { grid-column: auto; grid-row: auto; } }
/* 中くらいの幅では、刷毛のイラストが縦書きにかかるので出さない */
@media (min-width: 901px) and (max-width: 1199px) { .voice__brush { display: none; } }
@media (max-width: 360px) { .hd__sub { display: none; } }

/* =========================================================
   縦書きの大きさを固定する
   iPhone（Safari）は縦書きの幅を自動で計算できず、幅0として扱って
   画面の外に押し出してしまうため、「文字いくつぶん」で幅と高さを決めておく。
   幅  = 列の数 × 行の高さ(line-height)
   高さ = いちばん長い列の文字数 ×（1 + 字間）＋ 列の下げ幅
   文章を変えたときは、ここの数字も合わせて変えてください。
   ========================================================= */
.hero__copy, .voice__quote p, .recruit-band__copy, .rc-hero__copy, .note__label, .hero__geo {
  box-sizing: content-box;
  flex: none;
}
/* 雨の音が、／気にならない家に。（2列・最長9文字＋下げ1.6） */
.hero__copy { width: 3.1em; height: 12em; }
/* 刷毛で塗るのは、／言葉にできひん／気持ちよさがある。（3列・最長9文字＋下げ2.4） */
.voice__quote p { width: 5.1em; height: 12.8em; }
/* 一生モノの技術を、／手に入れる。（2列・最長9文字） */
.recruit-band__copy, .rc-hero__copy { width: 3.2em; height: 10.4em; }
/* ひとこと */
.note__label { line-height: 1.4; width: 1.4em; height: 5.3em; }
@media (max-width: 600px) { .note__label { width: auto; height: auto; } }
.hero__geo { width: 2em; }
/* 小さいスマホ（iPhone SE など）では、下のボタンの文字を小さく */
@media (max-width: 360px) {
  .dock a { font-size: 13px; letter-spacing: .02em; gap: 6px; }
  .dock__sub { padding: 0 12px; }
  .dock__main svg { display: none; }
}
