/* =========================================================
   株式会社COMECT  —  「粋」をテーマにしたスタイル
   墨（ink）× 生成り（paper）× 藍（ai）× 水（mizu）
   ========================================================= */
:root {
  --ink: #0b1626;
  --ink-2: #13233a;
  --ink-3: #1d3150;
  --paper: #f6f4ef;
  --paper-2: #ece8df;
  --white: #ffffff;
  --ai: #1d5b8f;            /* 藍色：差し色 */
  --ai-hover: #2470ad;
  --ai-deep: #0f2c4a;       /* 鉄紺：濃い面 */
  --mizu: #2aa7d6;
  --mizu-soft: #9fd8ef;
  --text: #1a2230;
  --muted: #5b6573;
  --muted-on-ink: #a9b6c6;
  --rule: rgba(11, 22, 38, .14);
  --rule-on-ink: rgba(255, 255, 255, .16);
  --line-green: #06c755;

  --f-mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --f-en: "Cormorant Garamond", "Times New Roman", serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec-pad: clamp(88px, 12vw, 168px);
  --radius: 4px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: .03em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
strong { font-weight: 700; color: var(--ink); }
h1, h2, h3, .more-title, .hero-lead, .sec-lead { word-break: auto-phrase; text-wrap: balance; }
p, li, dd, td, th { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--mizu); outline-offset: 3px; border-radius: 2px; }

.container { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* ---------- 共通パーツ ---------- */
.eyebrow {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--f-en); font-size: 22px; line-height: 1; color: var(--ai);
  margin-bottom: 18px;
}
.eyebrow em { font-style: italic; font-weight: 500; letter-spacing: .02em; }
.eyebrow .idx {
  font-family: var(--f-sans); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow .idx::after { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .6; }

.sec-head { margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head h2 {
  font-family: var(--f-mincho); font-weight: 700; color: var(--ink);
  font-size: clamp(28px, 4.2vw, 48px); line-height: 1.35; letter-spacing: .06em;
}
.sec-lead { color: var(--muted); margin-top: 18px; max-width: 34em; }
.sec-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; }
.sec-head--split .sec-lead { margin-top: 0; justify-self: end; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 30px; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: .06em; text-decoration: none;
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ai); color: #fff; font-size: 19px; letter-spacing: .04em; box-shadow: 0 10px 30px -10px rgba(29, 91, 143, .6); }
.btn-primary:hover { background: var(--ai-hover); }
.btn-label { font-size: 11px; font-weight: 500; letter-spacing: .14em; opacity: .8; padding-right: 12px; border-right: 1px solid rgba(255,255,255,.35); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { background: #05b34c; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: #fff; color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 28px;
  font-weight: 700; font-size: 15px; letter-spacing: .08em; text-decoration: none; color: var(--ai);
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.link-arrow::after { content: "→"; font-family: var(--f-sans); transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }

.check-list { margin: 24px 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.7; }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px;
  border-left: 2px solid var(--mizu); border-bottom: 2px solid var(--mizu); transform: rotate(-45deg);
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: #fff;
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.header-inner {
  display: flex; align-items: center; gap: 32px;
  height: 84px; padding: 0 var(--gutter); max-width: 1600px; margin: 0 auto;
  transition: height .4s var(--ease);
}
.site-header.is-scrolled { background: rgba(246, 244, 239, .92); color: var(--ink); box-shadow: 0 1px 0 var(--rule); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.site-header.is-scrolled .header-inner { height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; filter: brightness(0) invert(1); transition: filter .4s var(--ease); }
.site-header.is-scrolled .brand img { filter: brightness(0); opacity: .88; }
.menu-open .site-header .brand img { filter: brightness(0) invert(1); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-group { font-size: 10px; letter-spacing: .24em; opacity: .75; }
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: .22em; }
.global-nav ul { display: flex; gap: clamp(18px, 2vw, 32px); }
.global-nav a { text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .1em; position: relative; padding: 6px 0; }
.global-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.global-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-sp-contact { display: none; }
.header-cta {
  display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px;
  border: 1px solid currentColor; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .1em;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.header-cta:hover { background: #fff; color: var(--ink); border-color: #fff; }
.site-header.is-scrolled .header-cta { background: var(--ai); border-color: var(--ai); color: #fff; }
.site-header.is-scrolled .header-cta:hover { background: var(--ai-hover); }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; color: inherit; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- メインビジュアル ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  color: #fff; background: var(--ink); overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,22,38,.55) 0%, rgba(11,22,38,.1) 30%, rgba(11,22,38,.25) 60%, rgba(11,22,38,.92) 100%),
    linear-gradient(90deg, rgba(11,22,38,.75) 0%, rgba(11,22,38,.15) 55%, rgba(15,44,74,.35) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-inner {
  width: 100%; max-width: 1600px; margin: 0 auto; padding: 120px var(--gutter) clamp(56px, 7vh, 96px);
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px;
}
.hero-catch {
  grid-column: 2; grid-row: 1; justify-self: end; align-self: center;
  writing-mode: vertical-rl; text-orientation: upright;
  font-family: var(--f-mincho); font-weight: 800;
  font-size: clamp(44px, min(7vw, 9.5vh), 112px); line-height: 1.3; letter-spacing: .14em;
  text-shadow: 0 2px 40px rgba(11, 22, 38, .35);
}
.hero-catch span { display: block; white-space: nowrap; }
.hero-catch .l2 { padding-top: 1.4em; }
.js .hero-catch span { clip-path: inset(0 0 100% 0); animation: inkDown 1.4s var(--ease) forwards; }
.js .hero-catch .l1 { animation-delay: .3s; }
.js .hero-catch .l2 { animation-delay: .75s; }
@keyframes inkDown { to { clip-path: inset(0 0 0 0); } }
.hero-side { grid-column: 1; grid-row: 1; max-width: 520px; }
.js .hero-side { opacity: 0; transform: translateY(16px); animation: fadeUp 1.2s var(--ease) 1.3s forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero-en { font-family: var(--f-en); font-size: 22px; color: var(--mizu-soft); margin-bottom: 18px; letter-spacing: .02em; }
.hero-en em { font-weight: 600; }
.hero-lead { font-size: clamp(15px, 1.3vw, 17px); line-height: 2; color: rgba(255,255,255,.88); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { font-size: 12px; letter-spacing: .1em; color: var(--muted-on-ink); margin-top: 16px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-en); font-style: italic; font-size: 14px; color: rgba(255,255,255,.7); text-decoration: none;
}
.scroll-cue::after { content: ""; width: 1px; height: 48px; background: linear-gradient(rgba(255,255,255,.8), transparent); animation: drip 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- 流れる帯 ---------- */
.marquee { background: var(--ai-deep); color: #fff; overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-family: var(--f-mincho); font-size: 17px; font-weight: 500; letter-spacing: .16em; white-space: nowrap; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mizu); margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 導入・数字 ---------- */
.intro { padding: var(--sec-pad) 0; }
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.intro-title { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.45; letter-spacing: .08em; color: var(--ink); margin-bottom: 32px; }
.intro-text > p:last-child { color: var(--muted); max-width: 30em; }
.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.stat { padding: 32px 0 32px; border-bottom: 1px solid var(--rule); }
.stat:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--rule); }
.stat:nth-child(even) { padding-left: 32px; }
.stat dt { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--ink); }
.stat dd { font-family: var(--f-en); color: var(--ai); line-height: 1; margin: 14px 0 12px; display: flex; align-items: baseline; gap: 6px; }
.stat .n { font-size: clamp(64px, 7vw, 96px); font-weight: 500; font-style: italic; letter-spacing: -.02em; }
.stat .u { font-family: var(--f-mincho); font-size: 20px; color: var(--ink); font-weight: 700; }
.stat p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------- 選ばれる理由 ---------- */
.reason-sec { padding: var(--sec-pad) 0; background: var(--white); }
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(32px, 4vw, 64px); row-gap: 72px; }
.reason { border-top: 1px solid var(--ink); padding-top: 28px; position: relative; }
.reason .no { font-family: var(--f-mincho); font-size: 40px; font-weight: 700; color: var(--ai); line-height: 1; display: block; margin-bottom: 26px; }
.reason h3 { font-family: var(--f-mincho); font-weight: 700; font-size: 22px; line-height: 1.5; letter-spacing: .06em; color: var(--ink); margin-bottom: 14px; }
.reason p { color: var(--muted); font-size: 15px; line-height: 1.95; }

/* ---------- サービス ---------- */
.service-sec { padding: var(--sec-pad) 0; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.service { display: flex; flex-direction: column; position: relative; }
.service figure { overflow: hidden; border-radius: var(--radius); background: var(--paper-2); aspect-ratio: 4 / 3; }
.service figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 1.2s var(--ease); filter: saturate(.9); }
.service:hover figure img { transform: scale(1.05); filter: saturate(1.05); }
.service .body { position: relative; padding: 40px 4px 0; }
.service img.svc-icon {
  position: absolute; top: -32px; right: 12px; width: 64px; height: 64px;
  background: var(--paper); border-radius: 50%; padding: 9px;
  box-shadow: 0 0 0 1px var(--rule);
  transition: transform .6s var(--ease);
}
.service:hover img.svc-icon { transform: translateY(-4px) rotate(-6deg); }
.service h3 { font-family: var(--f-mincho); font-weight: 700; font-size: 19px; line-height: 1.5; letter-spacing: .04em; color: var(--ink); margin-bottom: 10px; }
.service p { font-size: 14px; color: var(--muted); line-height: 1.85; }
.service .tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--ai); border: 1px solid currentColor; padding: 2px 10px; border-radius: 999px; margin-bottom: 12px; }
.service.feature { grid-column: span 2; }
.service.feature figure { aspect-ratio: 16 / 9; }
.service.feature h3 { font-size: clamp(22px, 2.2vw, 28px); }
.service.feature p { font-size: 15px; }
.service-more {
  grid-column: span 2; background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: clamp(28px, 3vw, 44px); justify-content: center;
}
.service-more .eyebrow { color: var(--mizu-soft); }
.service-more .more-title { font-family: var(--f-mincho); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.8; letter-spacing: .06em; font-weight: 500; color: #fff; }
.service-more .link-arrow { color: #fff; align-self: flex-start; }

/* ---------- グリストラップ ---------- */
.grease-sec { padding: var(--sec-pad) 0; background: var(--paper-2); }
.grease { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 112px); align-items: start; }
.grease-media { position: sticky; top: 100px; }
.grease-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.grease-text h2 { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.45; letter-spacing: .06em; color: var(--ink); margin-bottom: 32px; }
.grease-text > p { color: var(--text); margin-bottom: 16px; }
.freq { margin-top: 36px; }
.freq caption { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--muted); padding-bottom: 12px; }
.freq th, .freq td { padding: 16px 0; border-top: 1px solid var(--rule); font-size: 15px; text-align: left; font-weight: 400; vertical-align: baseline; }
.freq tr:last-child th, .freq tr:last-child td { border-bottom: 1px solid var(--rule); }
.freq td { text-align: right; font-family: var(--f-mincho); font-weight: 700; color: var(--ai); white-space: nowrap; padding-left: 16px; font-size: 17px; }

/* ---------- 保有機材（墨の背景） ---------- */
.equip-sec { padding: var(--sec-pad) 0; background: var(--ink); color: #fff; }
.equip-sec .sec-head h2 { color: #fff; }
.equip-sec .eyebrow { color: var(--mizu-soft); }
.equip-sec .eyebrow .idx { color: var(--muted-on-ink); }
.equip-sec .sec-lead { color: var(--muted-on-ink); }
.equip { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 7vw, 112px); align-items: start; }
.equip-media { position: sticky; top: 100px; }
.equip-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); filter: contrast(1.05) saturate(.9); }
.equip-media .thumbs figcaption { font-size: 12px; color: var(--muted-on-ink); margin-top: 8px; letter-spacing: .08em; }
.equip-item { padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--rule-on-ink); }
.equip-item h3 { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: .06em; margin-bottom: 16px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.equip-item h3 small { font-family: var(--f-sans); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--mizu-soft); border: 1px solid currentColor; border-radius: 999px; padding: 2px 10px; }
.equip-item p { color: rgba(255,255,255,.78); font-size: 15px; }
.equip-item .check-list li { color: rgba(255,255,255,.88); }
.equip-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.equip-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule-on-ink); font-size: 14px; }
.equip-list dt { color: rgba(255,255,255,.85); }
.equip-list dd { font-family: var(--f-mincho); font-weight: 700; color: var(--mizu-soft); white-space: nowrap; font-size: 16px; }

/* ---------- 現場の様子 ---------- */
.works-sec { padding: var(--sec-pad) 0; overflow: hidden; }
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 0 var(--gutter); max-width: 1600px; margin: 0 auto;
}
.gallery figure:nth-child(even) { margin-top: 72px; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { display: flex; gap: 12px; align-items: baseline; font-size: 14px; margin-top: 14px; letter-spacing: .06em; }
.gallery figcaption span { font-family: var(--f-en); font-style: italic; font-size: 18px; color: var(--ai); }

/* ---------- 流れ ---------- */
.flow-sec { padding: var(--sec-pad) 0; background: var(--white); }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--rule); }
.flow li { position: relative; padding-right: 8px; }
.flow .step {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--ink); position: relative;
  font-family: var(--f-en); font-style: italic; font-size: 20px; color: var(--ink); margin-bottom: 28px;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.flow li:hover .step { background: var(--ai); color: #fff; border-color: var(--ai); }
.flow h3 { font-family: var(--f-mincho); font-weight: 700; font-size: 19px; letter-spacing: .06em; color: var(--ink); margin-bottom: 10px; }
.flow p { font-size: 14px; color: var(--muted); line-height: 1.85; }

/* ---------- 料金 ---------- */
.price-sec { padding: var(--sec-pad) 0; }
.price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.price-table caption {
  text-align: left; font-family: var(--f-mincho); font-weight: 700; font-size: 22px; letter-spacing: .06em; color: var(--ink);
  padding-bottom: 16px; border-bottom: 1px solid var(--ink);
}
.price-table caption span { float: right; margin-top: .6em; font-family: var(--f-sans); font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .08em; }
.price-table th, .price-table td { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 15px; text-align: left; font-weight: 400; vertical-align: baseline; }
.price-table td { text-align: right; font-family: var(--f-mincho); font-weight: 700; font-size: 18px; color: var(--ink); white-space: nowrap; padding-left: 16px; }
.price-note { margin-top: 40px; display: grid; gap: 6px; font-size: 13px; color: var(--muted); max-width: 60em; }
.price-note li { padding-left: 1.2em; text-indent: -1.2em; }
.price-note li::before { content: "※"; margin-right: .2em; }

/* ---------- グループ ---------- */
.group-sec { padding: var(--sec-pad) 0; background: var(--paper-2); }
.group-box { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.group-card.is-self { box-shadow: inset 0 3px 0 var(--ai); }
.link-pending { margin-top: auto; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--muted); padding-bottom: 6px; border-bottom: 1px dashed var(--rule); }
.group-card { background: var(--paper); border-radius: var(--radius); padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; }
.group-box > * { min-width: 0; }
.group-card .label { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--ai); }
.group-card h3 { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(21px, 1.9vw, 25px); line-height: 1.5; letter-spacing: .04em; color: var(--ink); margin: 12px 0 16px; word-break: keep-all; overflow-wrap: anywhere; }
.group-card p { color: var(--muted); font-size: 15px; }
.group-card .link-arrow { margin-top: auto; }
.group-card p { margin-bottom: 28px; }

/* ---------- 会社概要 ---------- */
.company-sec { padding: var(--sec-pad) 0; }
.company { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.company .sec-head { position: sticky; top: 120px; }
.company-list { border-top: 1px solid var(--ink); }
.company-list div { display: grid; grid-template-columns: 9em 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.company-list dt { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--ink); }
.company-list dd { font-size: 15px; }
.company-list a { color: var(--ai); text-underline-offset: 4px; }
.tbd { color: var(--muted); font-size: 13px; letter-spacing: .1em; }

/* ---------- お問い合わせ ---------- */
.contact-sec {
  padding: var(--sec-pad) 0; color: #fff; text-align: center; position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 0%, #1f4f7d 0%, var(--ai-deep) 55%, #081a2c 100%);
}
.contact-sec::before {
  content: "粋"; position: absolute; z-index: -1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--f-mincho); font-weight: 800; font-size: min(70vw, 720px); line-height: 1; color: rgba(255,255,255,.04);
}
.contact .eyebrow { justify-content: center; color: var(--mizu-soft); }
.contact h2 { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(28px, 4.4vw, 52px); line-height: 1.5; letter-spacing: .08em; }
.tel-big {
  display: inline-flex; align-items: baseline; gap: 18px; margin-top: 48px;
  font-family: var(--f-en); font-weight: 500; font-style: italic; font-size: clamp(48px, 9vw, 112px); line-height: 1; letter-spacing: .01em;
  color: #fff; text-decoration: none; transition: color .35s var(--ease);
}
.tel-big span { font-family: var(--f-sans); font-style: normal; font-size: 14px; font-weight: 700; letter-spacing: .2em; color: var(--mizu-soft); }
.tel-big:hover { color: var(--mizu-soft); }
.contact-hours { font-size: 13px; letter-spacing: .08em; color: rgba(255,255,255,.72); margin-top: 20px; }
.contact-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Webフォーム（受注アプリへ送る） */
.req-form, .req-done {
  max-width: 820px; margin: 72px auto 0; text-align: left; color: var(--ink);
  background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55);
}
.req-form { scroll-margin-top: 96px; }
.req-head { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.req-en { font-family: var(--f-en); font-style: italic; font-size: 18px; color: var(--ai); margin-bottom: 6px; }
.req-head h3, .req-done h3 { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: .08em; line-height: 1.5; }
.req-head p:last-child { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.9; }
.req-row { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.req-row > label, .req-row legend { display: block; font-size: 14px; font-weight: 700; letter-spacing: .06em; margin-bottom: 10px; padding: 0; }
.req-row legend small { font-weight: 400; color: var(--muted); }
.req-need { display: inline-block; margin-left: 10px; padding: 2px 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #fff; background: var(--ai); border-radius: 3px; vertical-align: 2px; }
.req-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.req-grid > * { min-width: 0; }
.req-form input[type="text"], .req-form input[type="tel"], .req-form input[type="email"], .req-form select, .req-form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid var(--rule); border-radius: 6px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.req-form textarea { resize: vertical; line-height: 1.8; }
.req-form input:focus-visible, .req-form select:focus-visible, .req-form textarea:focus-visible { outline: none; border-color: var(--ai); box-shadow: 0 0 0 3px rgba(29, 91, 143, .18); }
.req-form [aria-invalid="true"] { border-color: #b3261e !important; }
.req-drop {
  position: relative; text-align: center; padding: 28px 16px; background: #fff;
  border: 1.5px dashed rgba(29, 91, 143, .45); border-radius: 8px; transition: background .2s, border-color .2s;
}
.req-drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.req-drop:focus-within { border-color: var(--ai); box-shadow: 0 0 0 3px rgba(29, 91, 143, .18); }
.req-drop.is-over { background: rgba(42, 167, 214, .08); border-color: var(--ai); border-style: solid; }
.req-drop-main { font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.req-drop-sub { font-size: 13px; color: var(--muted); margin-top: 6px; }
.req-drop-btn { color: var(--ai); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.req-files { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.req-files:empty { display: none; }
.req-files li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #fff; border: 1px solid var(--rule); border-radius: 6px; font-size: 13px; }
.req-files img { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; flex: none; background: var(--paper-2); }
.req-files .fi { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 4px; background: var(--paper-2); font-size: 11px; font-weight: 700; color: var(--muted); }
.req-files .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.req-files .sz { color: var(--muted); flex: none; }
.req-files button { flex: none; border: 0; background: none; font: inherit; font-size: 13px; color: var(--ai); cursor: pointer; padding: 6px 4px; text-decoration: underline; text-underline-offset: 3px; }
.req-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.req-chips label { position: relative; cursor: pointer; }
.req-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.req-chips span { display: inline-block; padding: 10px 18px; font-size: 14px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; transition: background .2s, color .2s, border-color .2s; }
.req-chips input:checked + span { background: var(--ai); border-color: var(--ai); color: #fff; }
.req-chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(29, 91, 143, .3); }
.req-note { font-size: 12px; color: var(--muted); margin-top: 8px; }
.req-err { font-size: 13px; color: #b3261e; margin-top: 6px; }
.req-err:empty { display: none; }
.req-err-all { margin: 0 0 16px; font-weight: 700; }
.req-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req-agree label { display: flex; gap: 10px; align-items: center; font-size: 14px; cursor: pointer; }
.req-agree input { width: 18px; height: 18px; accent-color: var(--ai); }
.req-agree a { color: var(--ai); text-underline-offset: 4px; }
.req-submit { width: 100%; justify-content: center; border: 0; cursor: pointer; font: inherit; font-size: 18px; }
.req-submit[disabled] { opacity: .6; cursor: wait; transform: none; }
.req-done { text-align: center; }
.req-done p { margin-top: 14px; font-size: 15px; line-height: 1.9; }
.req-done strong { font-family: var(--f-en); font-size: 26px; letter-spacing: .04em; color: var(--ai); }
.req-done .btn-ghost { margin-top: 24px; color: var(--ink); border-color: var(--rule); }
.req-done .btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- 下層ページ ---------- */
.page-head { background: var(--ink); color: #fff; padding: 180px 0 80px; }
.page-head .en { display: block; font-family: var(--f-en); font-style: italic; font-size: 22px; color: var(--mizu-soft); margin-bottom: 12px; }
.page-head h1 { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(28px, 4vw, 44px); letter-spacing: .08em; }
.page-body { padding: clamp(64px, 8vw, 120px) 0; }
.policy { max-width: 820px; }
.policy h2 { font-family: var(--f-mincho); color: var(--ink); font-size: 20px; letter-spacing: .06em; margin: 48px 0 12px; padding-top: 24px; border-top: 1px solid var(--rule); }
.policy ul { margin: 10px 0 0 1.4em; list-style: disc; }
.policy-contact { margin-top: 16px; background: var(--paper-2); border-radius: var(--radius); padding: 22px 26px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-ink); padding: clamp(72px, 9vw, 120px) 0 24px; font-size: 14px; overflow: hidden; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 48px; align-items: start; }
.footer-info { display: flex; gap: 20px; align-items: flex-start; }
.footer-info img { width: 56px; height: 56px; flex: none; filter: brightness(0) invert(1); opacity: .92; }
.footer-info p + p { margin-top: 6px; }
.site-footer .fname { color: #fff; font-family: var(--f-mincho); font-size: 20px; font-weight: 700; letter-spacing: .08em; }
.site-footer a { color: var(--muted-on-ink); text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: #fff; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; }
.sns { display: flex; flex-direction: column; gap: 10px; font-family: var(--f-en); font-style: italic; font-size: 18px; }
.footer-mark {
  font-family: var(--f-mincho); font-weight: 800; font-size: clamp(64px, 19vw, 300px); line-height: .8; letter-spacing: .06em;
  text-align: center; margin-top: clamp(56px, 8vw, 104px); white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18);
}
.copy { text-align: center; margin-top: 28px; font-size: 11px; letter-spacing: .14em; color: #6f7f92; }

/* ---------- スマホ用 固定ボタン ---------- */
.sp-fixed { display: none; }

/* ---------- スクロールで現れる ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .hero-side { opacity: 1; transform: none; }
  .js .hero-catch span { clip-path: none; }
  .marquee-track { animation: none; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1080px) {
  .global-nav {
    position: fixed; inset: 0; z-index: -1; background: var(--ink); color: #fff;
    display: flex; flex-direction: column; justify-content: center; padding: 96px var(--gutter) 48px;
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  }
  .menu-open .global-nav { opacity: 1; visibility: visible; }
  .menu-open .site-header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .global-nav ul { flex-direction: column; gap: 0; }
  .global-nav li { border-bottom: 1px solid var(--rule-on-ink); }
  .global-nav a { display: block; padding: 18px 0; font-family: var(--f-mincho); font-size: 22px; font-weight: 700; }
  .global-nav a::after { display: none; }
  .nav-sp-contact { display: block; margin-top: 40px; }
  .nav-tel { font-family: var(--f-en); font-style: italic; font-size: 40px; text-decoration: none; }
  .nav-sp-contact p { font-size: 12px; color: var(--muted-on-ink); margin-top: 4px; }
  .menu-btn { display: block; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow::before { left: 27px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .flow li { display: grid; grid-template-columns: 56px 1fr; column-gap: 28px; padding: 0 0 40px; }
  .flow .step { grid-row: span 2; margin: 0; }
  .flow h3 { align-self: center; margin: 0; }
  .flow p { grid-column: 2; margin-top: 6px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:nth-child(even) { margin-top: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .sns { flex-direction: row; gap: 24px; }
}
@media (max-width: 760px) {
  .req-grid { grid-template-columns: 1fr; }
  .req-form, .req-done { margin-top: 56px; }
  body { font-size: 15px; padding-bottom: 64px; }
  .header-inner { height: 68px; gap: 12px; }
  .header-cta { display: none; }
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 17px; }
  .hero { align-items: stretch; }
  .hero-inner { grid-template-columns: 1fr; grid-template-rows: 1fr auto; gap: 32px; padding-top: 96px; padding-bottom: 40px; }
  .hero-catch { grid-column: 1; grid-row: 1; justify-self: end; align-self: start; font-size: clamp(40px, min(12vw, 6.4vh), 60px); }
  .hero-side { grid-row: 2; }
  .hero-cta { display: none; }   /* スマホは画面下の固定ボタンで足りる */
  .scroll-cue { display: none; }
  .sec-head--split { grid-template-columns: 1fr; }
  .sec-head--split .sec-lead { justify-self: start; }
  .intro-grid, .grease, .equip, .price-cols, .group-box, .company { grid-template-columns: 1fr; }
  .grease-media, .equip-media, .company .sec-head { position: static; }
  .grease-main { aspect-ratio: 4 / 3; }
  .reasons { grid-template-columns: 1fr; row-gap: 48px; }
  .reason { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; }
  .reason .no { grid-row: span 2; font-size: 32px; margin: 0; }
  .services { grid-template-columns: 1fr; gap: 0; }
  .service.feature, .service-more { grid-column: auto; }
  .service.feature { margin-bottom: 48px; }
  .service.feature figure { aspect-ratio: 4 / 3; }
  /* 通常のサービスは写真を小さくした一覧にする */
  .service:not(.feature):not(.service-more) {
    display: grid; grid-template-columns: 88px 1fr; column-gap: 18px; align-items: start;
    padding: 22px 0; border-top: 1px solid var(--rule);
  }
  .service:not(.feature):not(.service-more) figure { aspect-ratio: 1 / 1; }
  .service:not(.feature):not(.service-more) .body { padding: 0; }
  .service:not(.feature):not(.service-more) .svc-icon { display: none; }
  .service:not(.feature):not(.service-more) h3 { font-size: 17px; margin-bottom: 6px; }
  .service:not(.feature):not(.service-more) p { font-size: 13px; line-height: 1.8; }
  .service-more { margin-top: 24px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(even) { padding-left: 20px; }
  .stat:nth-child(odd) { padding-right: 16px; }
  .equip-list { grid-template-columns: 1fr; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure { flex: 0 0 72%; scroll-snap-align: start; }
  .gallery figure:nth-child(even) { margin-top: 0; }
  .company-list div { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .group-card h3 { font-size: 22px; letter-spacing: .03em; }
  .group-card h3, .group-card .link-arrow { word-break: keep-all; overflow-wrap: anywhere; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .sp-fixed {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    padding-bottom: env(safe-area-inset-bottom); background: var(--ink);
  }
  .sp-fixed a { padding: 16px 8px; text-align: center; color: #fff; font-weight: 700; letter-spacing: .1em; text-decoration: none; font-size: 15px; }
  .sp-fixed .t { background: var(--ai); }
  .sp-fixed .w { background: var(--ai-deep); }
}
