@charset "UTF-8";
/* ==========================================================
   株式会社88 コーポレートサイト
   ========================================================== */

:root {
  --navy: #1d2f52;
  --text: #34445f;
  --text-strong: #2b3e61;
  --muted: #6f7e98;
  --accent: #2f6db5;
  --accent-2: #3f82cf;
  --tint: #f4f8fc;
  --tint-2: #e6eff8;
  --line: #e3eaf3;
  --white: #ffffff;
  --font-ja: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  --font-en: 'Jost', 'Zen Kaku Gothic New', sans-serif;
  --header-h: 84px;
  --gutter: 56px;
  --max: 1216px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ja);
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.en { font-family: var(--font-en); }
.inner { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sp-only { display: none; }
.nowrap { display: inline-block; white-space: nowrap; }
.pc-only { display: inline; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 共通パーツ ---------- */
.label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px; font-weight: 500;
  letter-spacing: .24em;
  color: var(--accent);
}
.h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500; line-height: 1.55; letter-spacing: .1em;
  color: var(--navy);
}
.body-text {
  font-size: 15px; line-height: 2.3; letter-spacing: .06em; color: var(--text);
}
.body-text + .body-text { margin-top: 1.6em; }
.body-text strong { font-weight: 700; color: var(--navy); }
.sec-head { display: flex; flex-direction: column; gap: 22px; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.sec-head-row .body-text { font-size: 17px; font-weight: 700; color: var(--text-strong); padding-bottom: 8px; }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: .1em;
  padding: 15px 36px;
  transition: filter .2s, color .2s, border-color .2s, background .2s;
}
.pill svg { width: 16px; height: 16px; flex: none; }
.pill-primary { background: linear-gradient(90deg, #2a62ab, var(--accent-2)); color: var(--white); box-shadow: 0 8px 20px rgba(42, 98, 171, .22); }
.pill-primary:hover { filter: brightness(1.07); }
.pill-outline { border: 1px solid var(--navy); color: var(--navy); background: rgba(255, 255, 255, .6); }
.pill-outline:hover { border-color: var(--accent); color: var(--accent); }
.pill-white { background: var(--white); color: var(--navy); }
.textlink {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .1em;
  padding-bottom: 6px; border-bottom: 1px solid var(--navy);
  transition: color .2s, border-color .2s;
}
.textlink svg { width: 14px; height: 14px; }
.textlink:hover { color: var(--accent); border-color: var(--accent); }

.ph {
  background: linear-gradient(160deg, #dbe7f3, #eef4fa);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 12px; letter-spacing: .14em;
}
.todo { color: #c0392b; font-size: .85em; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .94); box-shadow: 0 6px 24px rgba(29, 47, 82, .06); }
.site-header .bar { height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand span { font-size: 16px; font-weight: 700; letter-spacing: .06em; color: var(--navy); white-space: nowrap; }
.gnav { display: flex; align-items: center; gap: 34px; }
.gnav a.nav { font-size: 13px; font-weight: 500; letter-spacing: .08em; position: relative; }
.gnav a.nav:hover, .gnav a.nav[aria-current="page"] { color: var(--accent); }
.gnav a.nav[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent); }
.gnav .pill { padding: 12px 28px; font-size: 13px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--navy); transition: transform .3s, opacity .3s; }
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 27px; }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- トップ：ヒーロー ---------- */
.hero {
  position: relative; margin-top: calc(var(--header-h) * -1);
  min-height: 900px; overflow: hidden;
  background: #cfe2f4 url('../img/hero.jpg') no-repeat center bottom / cover;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(247,250,253,.86) 0%, rgba(247,250,253,.62) 28%, rgba(247,250,253,.18) 50%, rgba(247,250,253,0) 64%);
}
.hero .inner { position: relative; padding-top: 170px; display: flex; flex-direction: column; gap: 30px; }
.hero-kicker { font-size: 13px; font-weight: 500; letter-spacing: .2em; }
.hero h1 { font-size: clamp(44px, 5vw, 70px); font-weight: 500; line-height: 1.36; letter-spacing: .14em; }
.hero-sub { font-size: 22px; font-weight: 500; letter-spacing: .12em; }
.hero-desc { font-size: 15px; line-height: 2; letter-spacing: .08em; color: var(--text-strong); margin-top: -18px; }
.scroll { position: absolute; right: var(--gutter); top: 300px; display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--white); }
.scroll span:first-child { writing-mode: vertical-rl; font-family: var(--font-en); font-size: 11px; letter-spacing: .3em; }
.scroll span:last-child { width: 1px; height: 90px; background: currentColor; }

/* 信頼ストリップ */
.trust { position: relative; z-index: 2; margin-top: -72px; }
.trust-grid { background: var(--white); border-top: 3px solid var(--accent); box-shadow: 0 20px 56px rgba(29, 47, 82, .12); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { padding: 42px 36px 40px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item dt { font-size: 18px; font-weight: 700; letter-spacing: .1em; line-height: 1.4; color: var(--accent); }
.trust-item dd { display: flex; align-items: baseline; gap: 6px; font-size: 34px; font-weight: 700; letter-spacing: .1em; line-height: 1; color: var(--navy); }
.trust-item dd .num { font-family: var(--font-en); font-size: 50px; font-weight: 500; letter-spacing: .01em; }
.trust-item dd small { font-size: 15px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; flex-shrink: 0; }
.trust-item p { font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--text); line-height: 1.6; }

/* ABOUT */
.about { padding: 150px 0 0; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 48px; align-items: start; }
.about-text { display: flex; flex-direction: column; gap: 30px; }
.about-text .body-text + .body-text { margin-top: 0; }
.about-visual { position: relative; height: 660px; margin-top: 64px; }
.about-photo { position: absolute; top: 0; left: -40px; right: calc(-1 * (var(--gutter) + max(0px, (100vw - var(--max) - var(--gutter) * 2) / 2))); height: 660px; overflow: hidden; background: #dbe7f3 url('../img/photo-about.jpg') no-repeat 68% 30% / cover; }
.about-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.82) 10%, rgba(255,255,255,.38) 28%, rgba(255,255,255,0) 52%), linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 7%, rgba(255,255,255,0) 76%, rgba(255,255,255,.7) 92%, #fff 100%); }
.about-photo .big88 { z-index: 1; position: absolute; right: -14px; bottom: -44px; font-family: var(--font-en); font-size: 200px; font-weight: 400; line-height: 1; letter-spacing: -.04em; color: rgba(255, 255, 255, .42); user-select: none; }
.about-card { position: absolute; left: 0; bottom: 0; width: 56%; padding: 40px 36px; background: rgba(255, 255, 255, .9); box-shadow: 0 18px 44px rgba(29, 47, 82, .10); display: flex; flex-direction: column; gap: 14px; font-size: 13px; font-weight: 500; letter-spacing: .16em; }
.about-card i { display: block; width: 24px; height: 1px; background: #b8c6d8; }

/* SERVICE（トップ） */
.service { padding: 140px 0; margin-top: 150px; background: var(--tint); }
.service .inner { display: flex; flex-direction: column; gap: 72px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.service-item { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.service-icon { width: 144px; height: 144px; border-radius: 50%; background: var(--tint-2); display: flex; align-items: center; justify-content: center; }
.service-icon svg { width: 56px; height: 56px; }
.service-no { font-family: var(--font-en); font-size: 13px; font-weight: 500; letter-spacing: .3em; color: var(--accent); }
.service-item h3 { font-size: 24px; font-weight: 700; letter-spacing: .12em; }
.service .sec-head-row .body-text { font-size: 17px; }
.service .label { font-size: 13px; }
.service .textlink { font-size: 15px; }
.service-item p { font-size: 16px; line-height: 2.1; letter-spacing: .05em; color: var(--text); }
.center { display: flex; justify-content: center; }

/* WORKS（共通カード） */
.works { padding: 140px 0; }
.works .inner { display: flex; flex-direction: column; gap: 64px; }
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.work-card { display: flex; flex-direction: column; gap: 16px; }
.work-card .ph { aspect-ratio: 4 / 3; }
.work-media { position: relative; }
.work-note { position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; font-size: 11px; letter-spacing: .04em; color: var(--white); background: rgba(29, 47, 82, .55); border-radius: 3px; }
.work-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tint-2); }
.work-cat { font-family: var(--font-en); font-size: 11px; letter-spacing: .24em; color: var(--accent); }
.work-card h3 { font-size: 17px; font-weight: 500; letter-spacing: .1em; line-height: 1.6; }
.work-meta { font-size: 12px; letter-spacing: .06em; color: var(--muted); }

/* RECRUIT / PARTNERS 分割帯 */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: var(--tint); }
.split-photo { display: block; width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: center 15%; }
.split-media { position: relative; min-height: 560px; }
.split-media .split-photo { position: absolute; inset: 0; }
.split-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(244,248,252,0) 45%, rgba(244,248,252,.35) 68%, rgba(244,248,252,.8) 88%, #f4f8fc 100%); }
.team-band { padding: 120px 0 120px; }
.team-band figure { margin: 0 auto; max-width: 1000px; }
.photo-band.team-band img { height: auto; aspect-ratio: 1600 / 961; }
.team-band figcaption { margin-top: 22px; font-size: 18px; font-weight: 700; letter-spacing: .05em; color: var(--text-strong); }
.photo-band img { width: 100%; height: 520px; object-fit: cover; }
.svc-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-text { padding: 96px 80px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.split-text .h2 { font-size: clamp(26px, 2.6vw, 36px); }
.split-links { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 6px; }

/* CONTACT 帯 */
.cta {
  position: relative; overflow: hidden;
  padding: 120px 0 230px;
  background: url('../img/hero.jpg') no-repeat center 78% / cover;
}
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(247,250,253,.95) 0%, rgba(247,250,253,.9) 58%, rgba(247,250,253,.45) 100%); }
.cta .inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.cta .h2 { font-size: clamp(26px, 2.8vw, 38px); }
.cta .body-text { font-size: 14px; color: var(--text-strong); }
.cta-actions { display: flex; align-items: center; gap: 40px; margin-top: 14px; }
.cta-actions .pill { padding: 18px 48px; }
.tel { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.tel a { font-family: var(--font-en); font-size: 26px; letter-spacing: .06em; }
.tel small { font-size: 11px; letter-spacing: .1em; color: var(--text); }

/* ---------- 下層：ページタイトル ---------- */
.page-hero {
  position: relative; margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 110px) 0 90px;
  background: url('../img/hero.jpg') no-repeat 75% 12% / 160% auto;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,250,253,.92) 0%, rgba(247,250,253,.7) 40%, rgba(247,250,253,.15) 75%); }
.page-hero .inner { position: relative; display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 500; letter-spacing: .14em; line-height: 1.4; }
.page-hero .lead { font-size: 17px; line-height: 2.1; letter-spacing: .06em; color: var(--text-strong); max-width: 760px; }
.crumb { font-size: 12px; letter-spacing: .08em; color: var(--text); margin-top: 8px; }
.crumb a:hover { color: var(--accent); }
.crumb span { margin: 0 .6em; color: var(--muted); }
.section { padding: 130px 0; }
.section.tint { background: var(--tint); }
.section:not(.tint) + .section:not(.tint) { padding-top: 0; }

/* 事業概要 */
.svc-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.svc-block + .svc-block { margin-top: 120px; }
.svc-block.reverse .svc-media { order: 2; }
.svc-media .ph { aspect-ratio: 4 / 3; }
.svc-body { display: flex; flex-direction: column; gap: 24px; }
.svc-no { font-family: var(--font-en); font-size: 14px; font-weight: 500; letter-spacing: .3em; color: var(--accent); }
.svc-body h2 { font-size: clamp(28px, 2.8vw, 38px); font-weight: 700; letter-spacing: .12em; }
.svc-body .body-text { font-size: 16px; line-height: 2.2; }
.checklist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.checklist li { position: relative; padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; letter-spacing: .05em; color: var(--text-strong); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--accent); }

/* 施工実績：絞り込み */
.filter { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.filter button { border: 1px solid var(--line); background: var(--white); color: var(--navy); border-radius: 999px; padding: 10px 24px; font-size: 13px; letter-spacing: .08em; transition: all .2s; }
.filter button:hover { border-color: var(--accent); color: var(--accent); }
.filter button.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.work-card.is-hidden { display: none; }
.note { font-size: 12px; color: var(--muted); letter-spacing: .06em; margin-top: 40px; }

/* 会社概要 */
.message { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; align-items: start; }
.message-body { display: flex; flex-direction: column; gap: 24px; }
.message-body .body-text { font-size: 17px; font-weight: 700; line-height: 2.2; letter-spacing: .02em; color: var(--text-strong); word-break: auto-phrase; }
.message-body .body-text + .body-text { margin-top: 0; }
.motto { margin-top: 16px; padding: 22px 0 22px 26px; border-left: 3px solid var(--accent); font-family: var(--font-en); font-size: 26px; font-weight: 500; letter-spacing: .06em; line-height: 1.4; color: var(--accent); }
.motto .en-k { font-family: 'Yuji Mai', var(--font-ja); font-size: 1.35em; color: var(--navy); vertical-align: -.06em; }
.sign { display: flex; align-items: baseline; gap: 22px; margin-top: 16px; font-family: 'Yuji Mai', var(--font-ja); color: var(--navy); }
.sign .sp { display: inline-block; width: .3em; }
.sign-title { font-size: 20px; letter-spacing: .06em; }
.sign-name { font-size: 42px; letter-spacing: .04em; line-height: 1.2; }
.message .ph { aspect-ratio: 4 / 5; }
.message-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--tint-2); }
.message-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.table { width: 100%; border-top: 1px solid var(--navy); max-width: 1000px; margin: 0 auto; }
.table .row { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid var(--line); }
.table dt { padding: 26px 24px; font-size: 15px; font-weight: 700; letter-spacing: .08em; background: var(--tint); }
.table dd { padding: 26px 32px; font-size: 15px; font-weight: 500; line-height: 1.9; letter-spacing: .06em; color: var(--text-strong); }
.table dd b { font-weight: 700; color: var(--navy); }
.table dd small { display: inline-block; margin-top: 4px; font-size: 13px; color: var(--text); }
.section.tint .table .row { background: var(--white); }
.section.tint .table dt { background: #eef3f9; }
.map { width: 100%; max-width: 1000px; margin: 0 auto; }
.map iframe, .map .ph { width: 100%; height: 380px; border: 0; display: block; }
.map iframe { background: var(--tint-2); }
.map-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 18px; }
.access-list { margin-top: 28px; border-top: 1px solid var(--line); }
.access-list div { display: flex; gap: 24px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.access-list dt { flex: 0 0 140px; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--accent); }
.access-list dd { font-size: 15px; letter-spacing: .05em; color: var(--text-strong); }
.map .todo { display: block; margin-top: 12px; }
.map-info p { font-size: 15px; letter-spacing: .06em; color: var(--text-strong); }
.map-info .textlink svg { width: 14px; height: 14px; }

/* 協力店・採用 */
.lead-grid .body-text { font-size: 18px; line-height: 2.2; color: var(--text-strong); word-break: auto-phrase; }
.lead-grid .h2 { word-break: auto-phrase; }
.lead-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.card { background: var(--white); padding: 40px 36px; display: flex; flex-direction: column; gap: 14px; }
.card .no { font-family: var(--font-en); font-size: 13px; font-weight: 500; letter-spacing: .2em; color: var(--accent); }
.card h3 { font-size: 22px; font-weight: 700; letter-spacing: .1em; }
.card p { font-size: 15px; line-height: 2.1; letter-spacing: .05em; color: var(--text); }
.merits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--navy); }
.merits > div { padding: 44px 36px 44px 0; display: flex; flex-direction: column; gap: 14px; }
.merits > div + div { padding-left: 36px; border-left: 1px solid var(--line); }
.merits h3 { font-size: 22px; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.merits p { font-size: 15px; line-height: 2.1; color: var(--text); letter-spacing: .05em; }
.flow { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.flow li { position: relative; padding: 36px 30px; border: 1px solid var(--line); background: var(--white); border-radius: 4px; display: flex; flex-direction: column; gap: 12px; }
.flow li:last-child { background: linear-gradient(135deg, #2a62ab 0%, #3a7ccb 100%); border-color: transparent; box-shadow: 0 12px 28px rgba(42, 98, 171, .22); }
.flow li:last-child .step, .flow li:last-child h3, .flow li:last-child p { color: var(--white); }
.flow li:last-child .step { opacity: .85; }
.flow .step { font-family: var(--font-en); font-size: 13px; font-weight: 500; letter-spacing: .2em; color: var(--accent); }
.flow h3 { font-size: 19px; font-weight: 700; letter-spacing: .08em; }
.flow p { font-size: 14px; line-height: 2; color: var(--text); }
.stack { display: flex; flex-direction: column; gap: 56px; }

/* お問い合わせフォーム */
.form-wrap { max-width: 880px; margin: 0 auto; }
.tel-box { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; padding: 30px; background: var(--tint); margin-bottom: 64px; }
.tel-box b { font-size: 13px; font-weight: 500; letter-spacing: .1em; }
.tel-box a { font-family: var(--font-en); font-size: 28px; letter-spacing: .04em; }
.tel-box small { font-size: 12px; color: var(--text); }
.form { display: flex; flex-direction: column; gap: 32px; }
.form-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field > label, .field > .legend { font-size: 14px; font-weight: 500; letter-spacing: .06em; }
.req, .opt { display: inline-block; margin-left: 8px; font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 3px 8px; border-radius: 2px; vertical-align: 2px; }
.req { color: var(--white); background: var(--accent); }
.opt { color: var(--muted); background: #eceff3; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  width: 100%; border: 1px solid #d5deea; background: #fbfcfe; border-radius: 4px;
  padding: 15px 18px; font: inherit; font-size: 15px; color: var(--navy); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 200px; resize: vertical; line-height: 1.8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 109, 181, .12); }
.radios { display: flex; flex-wrap: wrap; gap: 14px 28px; padding-top: 4px; }
.radios label, .agree label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.radios input, .agree input { accent-color: var(--accent); width: 17px; height: 17px; }
.agree { text-align: center; font-size: 14px; }
.agree a { text-decoration: underline; }
.form .center .pill { padding: 19px 64px; border: 0; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; }

/* プライバシーポリシー */
.policy { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.policy h2 { font-size: 19px; font-weight: 500; letter-spacing: .08em; padding-top: 36px; margin-top: 14px; border-top: 1px solid var(--line); }
.policy p, .policy li { font-size: 14px; line-height: 2.2; letter-spacing: .05em; color: var(--text-strong); }
.policy ol { padding-left: 1.4em; }

/* 送信完了・404 */
.simple { padding: 120px 0 160px; text-align: center; }
.simple .stack { align-items: center; gap: 28px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--white); padding: 56px 0 36px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.footer-info { display: flex; flex-direction: column; gap: 12px; }
.footer-info p { font-size: 12px; letter-spacing: .06em; color: var(--text); line-height: 1.9; }
.fnav { display: flex; gap: 14px 28px; flex-wrap: wrap; justify-content: flex-end; }
.fnav a { font-size: 12px; letter-spacing: .08em; color: var(--text); }
.fnav a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 40px; }
.footer-bottom small { font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.pagetop { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-en); font-size: 10px; letter-spacing: .3em; }
.pagetop::after { content: ""; width: 40px; height: 1px; background: var(--navy); }

/* ---------- レスポンシブ ---------- */
/* 採用・協力店（差し色ブロック） */
.rb {
  --pad-l: calc(max(0px, (100vw - var(--max) - var(--gutter) * 2) / 2) + var(--gutter));
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(135deg, #2a62ab 0%, #3a7ccb 100%);
  display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  grid-template-areas: "head media" "body media"; grid-template-rows: auto 1fr;
}
.rb-head { grid-area: head; padding: 140px 56px 0 var(--pad-l); }
.rb-label { display: flex; align-items: center; gap: 14px; font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: .24em; color: rgba(255, 255, 255, .88); }
.rb-label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.rb-title { margin-top: 18px; font-size: 26px; font-weight: 700; letter-spacing: .14em; }
.rb-body { grid-area: body; padding: 56px 56px 130px var(--pad-l); display: flex; flex-direction: column; gap: 20px; }
.rb-body p { font-size: 15px; font-weight: 500; line-height: 2.2; letter-spacing: .06em; color: rgba(255, 255, 255, .95); }
.rb-body p.rb-lead { font-size: 22px; font-weight: 700; line-height: 1.6; letter-spacing: .12em; color: var(--white); margin-bottom: 4px; }
.rb-body p.rb-sub { font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, .85); padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .28); }
.rb-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.pill-white { background: var(--white); color: var(--accent); box-shadow: 0 10px 24px rgba(16, 40, 84, .18); }
.pill-white:hover { filter: brightness(.97); }
.pill-line { border: 1px solid rgba(255, 255, 255, .85); color: var(--white); }
.pill-line:hover { background: rgba(255, 255, 255, .12); }
.rb-media { grid-area: media; position: relative; min-height: 780px; }
.rb-photo { position: absolute; top: 210px; left: 0; right: 0; bottom: 0; overflow: hidden; border-radius: 6px 0 0 0; }
.rb-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 0%; display: block; }
.rb-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(29, 47, 82, .32) 0%, rgba(29, 47, 82, 0) 38%); }
.rb-catch {
  position: absolute; z-index: 2; top: 84px; left: -5%;
  font-size: clamp(52px, 6vw, 92px); font-weight: 700; line-height: 1.28; letter-spacing: .08em; white-space: nowrap;
  color: var(--white); text-shadow: 0 6px 30px rgba(16, 40, 84, .25);
}

/* 採用ページ ヒーロー */
.rc-hero {
  --pad-l: calc(max(0px, (100vw - var(--max) - var(--gutter) * 2) / 2) + var(--gutter));
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, .3fr) minmax(0, .7fr);
  grid-template-rows: auto auto; min-height: 980px;
  background: linear-gradient(90deg, var(--white) 0 30%, transparent 30%), linear-gradient(135deg, #2a62ab 0%, #3a7ccb 100%);
}
.rc-head { grid-column: 1; grid-row: 1; padding: calc(var(--header-h) + 96px) 32px 72px var(--pad-l); display: flex; flex-direction: column; gap: 16px; }
.rc-head h1 { font-size: clamp(30px, 3vw, 40px); font-weight: 700; letter-spacing: .14em; }
.rc-photo { position: absolute; left: 0; top: calc(var(--header-h) + 300px); width: 54%; aspect-ratio: 1511 / 995; overflow: hidden; border-radius: 0 6px 6px 0; box-shadow: 0 24px 60px rgba(16, 40, 84, .18); z-index: 1; }
.rc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.rc-body { grid-column: 2; grid-row: 1 / span 2; position: relative; z-index: 2; padding: calc(var(--header-h) + 150px) var(--gutter) 120px 0; margin-left: 15%; color: var(--white); }
.rc-catch { font-size: clamp(60px, 7.4vw, 120px); font-weight: 700; line-height: 1.22; letter-spacing: .06em; white-space: nowrap; text-shadow: 0 6px 30px rgba(16, 40, 84, .28); }
.rc-text { margin-top: 56px; margin-left: 26%; display: flex; flex-direction: column; gap: 26px; }
.rc-text p { font-size: 18px; font-weight: 700; line-height: 2; letter-spacing: .06em; color: rgba(255, 255, 255, .96); }

/* HACHI LAB（DX事業ブランド） */
:root { --lab-bg: #0d1a31; --lab-bg-2: #15284a; --lab-accent: #6fb3ff; }
.lab-label { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: .24em; color: var(--lab-accent); }
.lab-label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lab-wordmark { white-space: nowrap; font-family: var(--font-en); font-weight: 500; font-size: clamp(44px, 5.4vw, 80px); line-height: 1; letter-spacing: .12em; color: var(--white); }
.lab-wordmark::after { content: ""; display: inline-block; width: .16em; height: .16em; margin-left: .12em; border-radius: 50%; background: var(--lab-accent); vertical-align: .05em; }
.lab-tag { display: inline-flex; align-items: center; gap: 14px; align-self: flex-start; padding: 8px 20px 8px 8px; border: 1px solid rgba(111,179,255,.55); border-radius: 999px; font-size: 15px; font-weight: 700; letter-spacing: .06em; color: var(--white); }
.lab-tag span { padding: 5px 14px; border-radius: 999px; background: var(--lab-accent); color: var(--lab-bg); font-size: 14px; letter-spacing: .08em; }
.lab-inhouse { padding: 130px 0; color: var(--white); background: linear-gradient(135deg, var(--lab-bg) 0%, var(--lab-bg-2) 100%); }
.lab-inhouse-title { word-break: auto-phrase; font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; line-height: 1.5; letter-spacing: .1em; }
.lab-inhouse-text { font-size: 16px; font-weight: 500; line-height: 2.1; letter-spacing: .05em; color: rgba(255,255,255,.88); padding-bottom: 8px; }
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.compare-col { padding: 44px 40px; border-radius: 6px; display: flex; flex-direction: column; gap: 26px; }
.compare-col h3 { display: flex; align-items: baseline; gap: 12px; font-size: 22px; font-weight: 700; letter-spacing: .08em; }
.compare-col h3 small { font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.compare-col.is-other { border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.7); }
.compare-col.is-lab { background: var(--white); color: var(--navy); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.chain { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 34px; }
.chain li { position: relative; padding: 9px 16px; border-radius: 4px; font-size: 14px; font-weight: 700; letter-spacing: .04em; background: rgba(255,255,255,.08); }
.chain li + li::before { content: "→"; position: absolute; left: -25px; top: 50%; transform: translateY(-50%); font-weight: 400; opacity: .6; }
.chain-direct li { background: var(--tint-2); color: var(--navy); }
.chain-direct li:last-child { background: var(--accent); color: var(--white); }
.chain-direct li + li::before { content: "↔"; font-size: 20px; font-weight: 700; color: var(--accent); opacity: 1; }
.compare-points { list-style: none; margin: 0; padding: 0; border-top: 1px solid currentColor; border-color: rgba(127,127,127,.25); }
.compare-points li { position: relative; padding: 15px 0 15px 30px; border-bottom: 1px solid rgba(127,127,127,.25); font-size: 15px; font-weight: 500; letter-spacing: .04em; }
.is-other .compare-points li::before { content: "×"; position: absolute; left: 4px; top: 13px; font-weight: 700; color: rgba(255,255,255,.45); }
.is-lab .compare-points li { font-weight: 700; color: var(--text-strong); }
.is-lab .compare-points li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border: 3px solid var(--accent); border-radius: 50%; }
.lab-band { position: relative; padding: 140px 0; color: var(--white); background: linear-gradient(135deg, var(--lab-bg) 0%, var(--lab-bg-2) 100%); overflow: hidden; }
.lab-band .inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; align-items: center; }
.lab-band-head { display: flex; flex-direction: column; gap: 26px; }
.lab-band-title { word-break: auto-phrase; font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; line-height: 1.6; letter-spacing: .1em; }
.lab-band-text { word-break: auto-phrase; font-size: 16px; font-weight: 500; line-height: 2.1; letter-spacing: .05em; color: rgba(255,255,255,.88); }
.lab-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.pill-lab { background: var(--lab-accent); color: var(--lab-bg); font-weight: 700; }
.pill-lab:hover { filter: brightness(1.08); }
.lab-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.18); }
.lab-list li { display: grid; grid-template-columns: 48px 1fr; gap: 4px 12px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.lab-list span { grid-row: span 2; font-family: var(--font-en); font-size: 14px; letter-spacing: .1em; color: var(--lab-accent); padding-top: 4px; }
.lab-list b { font-size: 19px; font-weight: 700; letter-spacing: .08em; }
.lab-list small { font-size: 14px; color: rgba(255,255,255,.72); letter-spacing: .04em; }
.lab-hero { padding: calc(var(--header-h) + 120px) 0 110px; color: var(--white); background: linear-gradient(135deg, var(--lab-bg) 0%, var(--lab-bg-2) 100%); }
.lab-hero .inner { display: flex; flex-direction: column; gap: 28px; }
.lab-wordmark-xl { font-size: clamp(56px, 9vw, 140px); }
.lab-hero h1 { word-break: auto-phrase; font-size: clamp(30px, 3.6vw, 50px); font-weight: 700; line-height: 1.5; letter-spacing: .1em; }
.lab-lead { word-break: auto-phrase; font-size: 17px; font-weight: 500; line-height: 2.1; letter-spacing: .05em; color: rgba(255,255,255,.88); }
.crumb-dark, .crumb-dark a { color: rgba(255,255,255,.7); }
.lab-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lab-service { padding: 44px 40px; border: 1px solid var(--line); border-radius: 4px; display: flex; flex-direction: column; gap: 18px; }
.lab-service-main { grid-row: span 2; background: var(--lab-bg); color: var(--white); border-color: transparent; }
.lab-service-main .body-text { color: rgba(255,255,255,.88); }
.lab-service-main .checklist { border-color: rgba(255,255,255,.18); }
.lab-service-main .checklist li { color: var(--white); border-color: rgba(255,255,255,.18); }
.lab-service-main .checklist li::before { background: var(--lab-accent); }
.lab-service-no { font-family: var(--font-en); font-size: 13px; font-weight: 500; letter-spacing: .2em; color: var(--accent); }
.lab-service-main .lab-service-no { color: var(--lab-accent); }
.lab-service h3 { font-size: 24px; font-weight: 700; letter-spacing: .1em; }
.lab-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; }
.lab-features { margin-top: 24px; padding-top: 48px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; }
.lab-features-title { font-size: 20px; font-weight: 700; letter-spacing: .1em; }
.lab-feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lab-feature-list li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--white); border-radius: 4px; border-left: 3px solid var(--accent); }
.lab-feature-list b { font-size: 16px; font-weight: 700; letter-spacing: .06em; color: var(--navy); }
.lab-feature-list small { font-size: 13px; letter-spacing: .03em; color: var(--text); }
.lab-case { display: flex; flex-direction: column; gap: 14px; }
.lab-case .ph { aspect-ratio: 4 / 3; }
.lab-shot { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 16px 40px rgba(29, 47, 82, .12); }
.lab-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.lab-case-tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--accent); background: var(--tint-2); }
.lab-case h3 { font-size: 20px; font-weight: 700; letter-spacing: .08em; }
.lab-case p { font-size: 15px; line-height: 2; color: var(--text); }

@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .gnav { gap: 22px; }
  .about-grid, .message, .lead-grid, .svc-block { gap: 56px; }
  .split-text { padding: 72px 48px; }
}

@media (max-width: 960px) {
  .lab-band { padding: 88px 0; }
  .lab-band .inner { grid-template-columns: 1fr; gap: 48px; }
  .lab-hero { padding: calc(var(--header-h) + 64px) 0 72px; }
  .lab-services, .lab-cases { grid-template-columns: 1fr; }
  .lab-feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lab-feature-list li { padding: 14px 14px; }
  .lab-service-main { grid-row: auto; }
  .lab-service { padding: 32px 24px; }
  .lab-band-title, .lab-hero h1 { font-size: clamp(22px, 7vw, 30px); letter-spacing: .05em; }
  .lab-inhouse { padding: 88px 0; }
  .compare { grid-template-columns: 1fr; }
  .compare-col { padding: 32px 24px; }
  .chain { flex-direction: column; align-items: flex-start; gap: 30px; }
  .chain li + li::before { content: "↓"; left: 20px; top: -26px; transform: none; }
  .chain-direct li + li::before { content: "↕"; }
  .lab-inhouse-title { font-size: 26px; }
  .lab-tag { font-size: 13px; gap: 10px; padding-right: 14px; }
  .lab-tag span { font-size: 12px; }
  .lab-inhouse-text br { display: none; }
  .lab-list li { padding-right: 4px; }
  .lab-wordmark { font-size: clamp(36px, 11vw, 56px); letter-spacing: .08em; }
  .lab-wordmark-xl { font-size: clamp(40px, 13vw, 64px); }
  .lab-band-text br, .lab-lead br { display: none; }
  .lab-band-text, .lab-lead { font-size: 15px; }
  .rc-hero { display: block; min-height: 0; background: var(--white); }
  .rc-head { padding: calc(var(--header-h) + 56px) var(--gutter) 32px; }
  .rc-photo { position: relative; top: auto; width: 100%; border-radius: 0; box-shadow: none; }
  .rc-body { margin-left: 0; padding: 0 var(--gutter) 88px; background: linear-gradient(135deg, #2a62ab 0%, #3a7ccb 100%); }
  .rc-catch { position: relative; top: -0.62em; margin-bottom: -0.3em; font-size: clamp(44px, 12vw, 76px); }
  .rc-text { margin: 8px 0 0; gap: 20px; }
  .rc-text p { font-size: 16px; word-break: auto-phrase; }
  .rc-text br { display: none; }
  .rb { grid-template-columns: 1fr; grid-template-areas: "head" "media" "body"; grid-template-rows: auto auto auto; }
  .rb-head { padding: 88px var(--gutter) 0; }
  .rb-media { min-height: 0; height: clamp(380px, 92vw, 560px); margin-top: 28px; }
  .rb-photo { top: 96px; border-radius: 0; }
  .rb-catch { top: 0; left: var(--gutter); font-size: clamp(40px, 11vw, 72px); }
  .rb-body { padding: 40px var(--gutter) 88px; }
  .rb-actions .pill { flex: 1 1 220px; }
  :root { --header-h: 68px; --gutter: 24px; }
  .brand img { height: 34px; }
  .brand span { font-size: 15px; }
  .menu-btn { display: block; z-index: 110; }
  .site-header .brand { position: relative; z-index: 110; }
  .gnav {
    position: fixed; inset: 0; z-index: 105;
    flex-direction: column; justify-content: center; gap: 28px;
    background: rgba(255, 255, 255, .97);
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  body.menu-open .gnav { opacity: 1; pointer-events: auto; }
  .gnav a.nav { font-size: 17px; }
  .gnav .pill { padding: 15px 48px; font-size: 15px; margin-top: 8px; }

  .hero { min-height: 720px; background-position: 62% bottom; }
  .hero::before { background: linear-gradient(180deg, rgba(247,250,253,.9) 0%, rgba(247,250,253,.72) 45%, rgba(247,250,253,.1) 75%, rgba(247,250,253,0) 100%); }
  .hero .inner { padding-top: 120px; gap: 24px; }
  .hero-sub { font-size: 17px; }
  .hero-desc { font-size: 14px; margin-top: -10px; }
  .scroll { display: none; }
  .trust { margin-top: -56px; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item { padding: 26px 20px; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust-item dt { font-size: 14px; letter-spacing: .06em; }
  .trust-item dd { font-size: 26px; }
  .trust-item dd .num { font-size: 36px; }
  .trust-item dd small { font-size: 13px; }

  .about { padding-top: 100px; }
  .about-grid, .message, .lead-grid, .svc-block { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { height: 300px; margin-top: 0; }
  .about-photo { height: 300px; left: 0; background-position: 60% 30%; }
  .about-photo::after { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 22%), linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 15%, rgba(255,255,255,0) 55%, rgba(255,255,255,.75) 85%, #fff 100%); }
  .about-photo .big88 { font-size: 140px; bottom: -30px; }
  .about-card { width: 88%; padding: 16px 20px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: 12px; letter-spacing: .08em; }
  .about-card i { display: none; }
  .service { margin-top: 100px; padding: 96px 0; }
  .service .inner, .works .inner { gap: 48px; }
  .service-grid, .works-grid, .cards3, .merits, .flow { grid-template-columns: 1fr; }
  .service-grid { gap: 56px; }
  .service .sec-head-row .body-text { font-size: 15px; }
  .service-item h3 { font-size: 22px; }
  .service-item p { font-size: 15px; }
  .works { padding: 96px 0; }
  .sec-head-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 300px; }
  .split-photo { min-height: 0; }
  .split-media::after { background: linear-gradient(180deg, rgba(244,248,252,0) 50%, rgba(244,248,252,.7) 82%, #f4f8fc 100%); }
  .photo-band img { height: 260px; }
  .team-band { padding: 64px 0 72px; }
  .team-band figcaption { font-size: 16px; }
  .split-text { padding: 64px var(--gutter); }
  .cta { padding: 96px 0 180px; }
  .cta-actions { flex-direction: column; gap: 24px; }
  .tel { align-items: center; }

  .page-hero { padding: calc(var(--header-h) + 64px) 0 56px; background-size: auto 140%; }
  .section { padding: 88px 0; }
  .svc-block.reverse .svc-media { order: 0; }
  .svc-block + .svc-block { margin-top: 88px; }
  .page-hero .lead { font-size: 15px; }
  .svc-body .body-text, .checklist li { font-size: 15px; }
  .message-body .body-text { font-size: 16px; }
  .lead-grid .body-text { font-size: 16px; }
  .access-list div { flex-direction: column; gap: 6px; }
  .access-list dt { flex: none; }
  .motto { font-size: 20px; padding: 16px 0 16px 18px; }
  .merits > div, .merits > div + div { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .table .row { grid-template-columns: 1fr; }
  .table dt { padding: 14px 18px; }
  .table dd { padding: 16px 18px 22px; }
  .form-row2 { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .fnav { justify-content: flex-start; }
  .sp-only { display: inline; }
  .pc-only { display: none; }
}

@media (max-width: 640px) {
  .hero { min-height: 800px; }
  .hero::before { background: linear-gradient(180deg, rgba(247,250,253,.93) 0%, rgba(247,250,253,.82) 48%, rgba(247,250,253,.25) 68%, rgba(247,250,253,0) 82%); }
  .hero .inner { padding-top: 104px; gap: 18px; }
  .hero-sub { font-size: 16px; letter-spacing: .08em; }
  .hero-desc { margin-top: -4px; font-size: 13px; }
  .body-text br:not(.keep) { display: none; }
  .body-text { font-size: 14px; line-height: 2.1; letter-spacing: .04em; }
  .page-hero { background-size: auto 230%; background-position: 72% 4%; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 40px; }
  .trust-item p { display: none; }
  .about-card { width: 94%; }
  .pill { padding: 14px 28px; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
