/* ==========================================================================
   Intersect 2026 — main stylesheet
   White × Setouchi blue. Logo-card buttons, route lines, Chugoku map.
   ========================================================================== */

:root {
  --bg: #FFFFFF;
  --surface: #F2F3F4;
  --surface-2: #E6E8EA;
  --line: #E2E4E6;
  --line-2: #C9CDD1;
  --text: #0F1112;
  --sub: #4A5157;
  --muted: #5F676D;
  --nav: #3A4044;
  --num: #C9CDD1;
  --ink: #0F1112;
  --ink-text: #F2F2F0;
  --ink-sub: #B8BEC1;
  --accent: #1F6FE0;
  --accent-pale: #A9C6F5;
  --on-accent: #FFFFFF;

  --font: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  --font-label: 'Space Grotesk', var(--font);
  --font-mark: 'Saira', var(--font);

  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(72px, 9vw, 128px);
  --radius-card: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: opacity .2s ease; }
a:hover { opacity: .9; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--ink-text); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- labels & headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-label); font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.eyebrow--muted { color: var(--muted); font-weight: 500; }
.h2 { margin-top: 14px; font-size: clamp(30px, 3.4vw, 46px); font-weight: 900; line-height: 1.3; }
.lead { font-size: 15px; line-height: 1.9; color: var(--sub); max-width: 620px; }
.section { border-top: 1px solid var(--line); }
.section__inner { padding-block: var(--section-y); }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.section__head .lead { max-width: 520px; }
.note { margin-top: 20px; font-size: 13px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 700; font-size: 15px; color: var(--accent); }

/* ---------- buttons: two stacked logo cards ---------- */
.btn {
  --b: var(--accent); --b2: var(--ink); --fg: var(--on-accent); --bd: 0 solid transparent;
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 30px; color: var(--fg); font-weight: 700; font-size: 15px; line-height: 1.3; text-align: center;
  border: 0; background: none; cursor: pointer; font-family: inherit;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--b); border: var(--bd); border-radius: 10px; transition: filter .3s ease; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--b2); border-radius: 10px; transform: translate(6px, 6px); transition: transform .3s var(--ease); }
.btn:hover { opacity: 1; }
.btn:hover::before { filter: brightness(1.08); }
.btn:hover::after { transform: translate(10px, 10px); }
.btn--accent { --b: var(--accent); --b2: var(--ink); --fg: var(--on-accent); }
.btn--ink { --b: var(--ink); --b2: var(--accent); --fg: var(--ink-text); }
.btn--white { --b: #FFFFFF; --b2: var(--ink); --fg: var(--accent); }
.btn--outline { --b: var(--bg); --bd: 2px solid var(--text); --b2: var(--accent); --fg: var(--text); }
.btn--outline-accent { --b: var(--bg); --bd: 2px solid var(--accent); --b2: var(--accent); --fg: var(--accent); }
.btn--on-ink { --b2: var(--ink-text); }
.btn--sm { min-height: 52px; padding: 0 24px; }
.btn--lg { min-height: 72px; padding: 0 44px; font-size: 19px; }
.btn--xl { min-height: 76px; padding: 0 52px; font-size: 20px; }
.btn--block { display: flex; justify-content: space-between; width: 100%; padding: 0 32px; font-weight: 900; }
.arr { display: inline-block; transition: transform .25s ease; }
a:hover .arr { transform: translateX(6px); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; padding-right: 10px; }

/* ---------- top bar ---------- */
.topbar { display: block; background: var(--ink); color: var(--ink-text); }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; max-width: 1280px; margin: 0 auto; min-height: 44px; padding: 10px var(--gutter); font-size: 14px; font-weight: 700; }
.topbar__tag { padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-family: var(--font-label); font-size: 11px; letter-spacing: .12em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .9); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.logo-mark { width: 24px; height: 32px; display: block; overflow: visible; fill: currentColor; flex: none; }
.logo-mark .lgT { fill: var(--accent); }
.wordmark { display: inline-block; transform: skewX(-8deg); font-family: var(--font-mark); font-style: italic; font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: -.045em; }
.gnav__list { list-style: none; display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.gnav__list a { color: var(--nav); }
.gnav__list .current-menu-item a, .gnav__list a:hover { color: var(--accent); opacity: 1; }
.hcta { display: flex; align-items: center; gap: 18px; margin-right: 6px; }
.hcta .btn { gap: 0; }
.hcta .arr { margin-left: 10px; }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--text); transition: transform .25s ease, opacity .25s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { border-top: 1px solid var(--line); background: var(--bg); }
.drawer[hidden] { display: none; }
.drawer__list { list-style: none; padding-block: 8px; }
.drawer__list a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 700; }
.drawer__tel { padding: 18px 0 24px; font-family: var(--font-label); font-weight: 700; font-size: 18px; }

/* logo animation */
@keyframes lgInT { from { transform: translate(130px, -225px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lgInB { from { transform: translate(-130px, 225px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lgLoopT { 0%, 76%, 100% { transform: none; } 86% { transform: translate(46px, -80px); } }
@keyframes lgLoopB { 0%, 76%, 100% { transform: none; } 86% { transform: translate(-46px, 80px); } }
@keyframes lgInW { from { opacity: 0; transform: skewX(-8deg) translateX(-18px); } to { opacity: 1; transform: skewX(-8deg); } }
.lgT { animation: lgInT .9s cubic-bezier(.2, .8, .2, 1) .15s both, lgLoopT 6s ease-in-out 2.4s infinite; transition: translate .3s ease; }
.lgB { animation: lgInB .9s cubic-bezier(.2, .8, .2, 1) .3s both, lgLoopB 6s ease-in-out 2.4s infinite; transition: translate .3s ease; }
.lgW { animation: lgInW .8s cubic-bezier(.2, .8, .2, 1) .55s both; }
a:hover .lgT { translate: 30px -52px; }
a:hover .lgB { translate: -30px 52px; }

/* ---------- motion utilities ---------- */
@keyframes inUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.in { animation: inUp .9s var(--ease) both; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .2s; } .d3 { animation-delay: .4s; } .d4 { animation-delay: .6s; } .d5 { animation-delay: .8s; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.7); opacity: .45; } }
.pulse { animation: pulse 1.8s ease-in-out infinite; }
.road { flex: 1 1 auto; height: 2px; background: repeating-linear-gradient(90deg, #8A9297 0 12px, transparent 12px 24px); background-size: 24px 2px; animation: road .7s linear infinite; }
@keyframes road { to { background-position: -24px 0; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(14px) rotate(-3deg); } }
.float { animation: float 7s ease-in-out infinite; }
.lift { transition: translate .35s var(--ease), box-shadow .35s ease; }
.lift:hover { translate: 0 -6px; box-shadow: 0 18px 40px rgba(15, 17, 18, .14); }
@keyframes rv { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 5% entry 45%; }
  .lgF .lgT { animation: lgInT linear both, lgLoopT 6s ease-in-out 1s infinite; animation-timeline: view(), auto; animation-range: entry 10% entry 90%, normal; }
  .lgF .lgB { animation: lgInB linear both, lgLoopB 6s ease-in-out 1s infinite; animation-timeline: view(), auto; animation-range: entry 20% entry 100%, normal; }
  .lgF .lgW { animation: lgInW linear both; animation-timeline: view(); animation-range: entry 30% entry 100%; }
}

/* ---------- hero ---------- */
.hero__top { padding-block: clamp(72px, 10vw, 140px) clamp(56px, 6vw, 88px); }
.hero__label { margin-bottom: 28px; color: var(--muted); font-weight: 500; }
.hero__label .dot { width: 10px; height: 10px; }
.hero__title { max-width: 1100px; font-size: clamp(40px, 7vw, 104px); font-weight: 900; line-height: 1.14; letter-spacing: -.02em; }
.hero__title .ln { display: inline-block; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__foot { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; justify-content: space-between; }
.hero__lead { flex: 1 1 420px; max-width: 560px; font-size: 17px; line-height: 1.9; color: var(--sub); }
.hero__visual { padding-bottom: clamp(64px, 7vw, 96px); }

/* coverage map block */
.coverage { position: relative; border-radius: var(--radius-card); background: var(--surface); overflow: hidden; }
.coverage__body { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 56px; padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 64px) clamp(28px, 4vw, 48px); }
.coverage__text { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.coverage__title { font-size: clamp(26px, 2.8vw, 38px); font-weight: 900; line-height: 1.35; }
.coverage__list { list-style: none; font-size: 15px; font-weight: 700; }
.coverage__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.coverage__list li:last-child { border-bottom: 0; }
.coverage__list .sw { display: inline-flex; align-items: center; gap: 10px; }
.coverage__list .sw::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--accent-pale); }
.coverage__list .is-base .sw::before { background: var(--accent); }
.coverage__list small { font-size: 13px; color: var(--muted); }
.coverage__map { flex: 2 1 420px; min-width: 0; max-width: 760px; margin: 0 auto; }
.map { position: relative; }
.map img { display: block; width: 100%; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map text { font-family: var(--font); }
.rt { stroke-dasharray: 10 10; animation: rt 1s linear infinite; }
@keyframes rt { to { stroke-dashoffset: -20; } }
.ring { transform-box: fill-box; transform-origin: center; animation: ring 2s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .55; } to { transform: scale(3.2); opacity: 0; } }
.coverage__strip { display: flex; align-items: center; gap: 12px; padding: 18px clamp(24px, 4vw, 64px); background: var(--ink); }
.coverage__strip .pt { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); flex: none; }
.coverage__strip .geo { font-family: var(--font-label); font-size: 12px; color: #9AA0A3; }

/* ---------- audience cards (partner / business) ---------- */
.audience { padding-bottom: clamp(64px, 7vw, 96px); }
.audience__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.acard { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(32px, 4vw, 52px); display: flex; flex-direction: column; gap: 20px; }
.acard--partner { background: var(--accent); color: var(--on-accent); }
.acard--business { background: var(--ink); color: var(--ink-text); }
.acard__mark { position: absolute; right: -36px; top: -48px; height: 300px; width: auto; opacity: .12; fill: #FFFFFF; pointer-events: none; }
.acard > * { position: relative; }
.acard > .acard__mark { position: absolute; }
.acard .eyebrow { color: inherit; letter-spacing: .16em; }
.acard--partner .eyebrow .dot { background: #FFFFFF; }
.acard__title { font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; line-height: 1.25; }
.acard__text { font-size: 15px; line-height: 1.9; }
.acard--business .acard__text { color: var(--ink-sub); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; border: 1px solid currentColor; font-size: 13px; font-weight: 700; }
.acard--business .chips li { border-color: var(--ink-sub); }
.acard__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding-right: 10px; }
.acard__foot .btn { flex: 1 1 100%; }
.tel-link { display: inline-flex; align-items: center; min-height: 52px; font-family: var(--font-label); font-weight: 700; font-size: 18px; }

/* ---------- reasons ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; margin-top: 56px; }
.card { background: var(--surface); border-radius: 16px; padding: 36px 32px; }
.card__no { font-family: var(--font-label); font-size: 44px; font-weight: 700; line-height: 1; color: var(--num); }
.card__title { margin: 24px 0 14px; font-size: 21px; font-weight: 700; line-height: 1.5; }
.card__text { font-size: 15px; line-height: 1.9; color: var(--sub); }

/* ---------- services rows ---------- */
.svc-list { display: flex; flex-direction: column; gap: 20px; }
.svc { display: flex; flex-wrap: wrap; background: var(--surface); border-radius: var(--radius-card); overflow: hidden; }
.svc--rev { flex-wrap: wrap-reverse; }
.svc__photo { flex: 1 1 420px; min-height: 320px; position: relative; background: var(--surface-2); }
.svc__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__body { flex: 1 1 420px; padding: clamp(28px, 4vw, 48px); }
.svc__label { font-family: var(--font-label); font-size: 13px; letter-spacing: .1em; color: var(--muted); }
.svc__title { margin: 12px 0 18px; font-size: 30px; font-weight: 900; line-height: 1.35; }
.svc__text { font-size: 15px; line-height: 1.9; color: var(--sub); }
.svc .chips { margin-top: 28px; }
.svc .chips li { border-color: var(--line-2); font-weight: 500; font-size: 14px; padding: 8px 16px; }
.svc__items { margin-top: 28px; display: grid; gap: 14px; }
.svc__item { padding: 18px 20px; background: var(--bg); border-radius: 12px; }
.svc__item h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.svc__item p { font-size: 14px; line-height: 1.8; color: var(--sub); }

/* ---------- area cards ---------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; margin-top: 56px; }
.area { border-radius: 16px; padding: 28px; background: var(--surface); }
.area--base { background: var(--accent); color: var(--on-accent); }
.area__meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--muted); }
.area--base .area__meta { color: inherit; }
.area__meta span:first-child { font-family: var(--font-label); letter-spacing: .1em; }
.area h3 { margin: 36px 0 12px; font-size: 32px; font-weight: 900; }
.area p { font-size: 14px; line-height: 1.8; color: var(--sub); }
.area--base p { color: inherit; }

/* ---------- bottom CTA ---------- */
.cta-pair { padding-bottom: var(--section-y); }
.cta-pair__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.cta { border-radius: var(--radius-card); padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; }
.cta--ink { background: var(--ink); color: var(--ink-text); }
.cta--ink .eyebrow { color: inherit; }
.cta--ink .cta__text { color: var(--ink-sub); }
.cta--soft { background: var(--surface); }
.cta__title { font-size: clamp(28px, 3vw, 40px); font-weight: 900; line-height: 1.35; }
.cta__title em { font-style: normal; color: var(--accent); }
.cta__text { font-size: 15px; line-height: 1.9; color: var(--sub); }
.cta .btn-row { margin-top: 12px; }

/* ---------- lower pages ---------- */
.page-head { padding-block: clamp(64px, 8vw, 112px) clamp(40px, 5vw, 64px); }
.page-head__title { margin-top: 16px; font-size: clamp(36px, 5.4vw, 72px); font-weight: 900; line-height: 1.2; letter-spacing: -.01em; }
.page-head__lead { margin-top: 24px; max-width: 680px; font-size: 16px; line-height: 1.9; color: var(--sub); }
.page-head + .section, .page-photo + .section { border-top: 0; }
.page-head + .section > .section__inner { padding-top: clamp(16px, 3vw, 40px); }
.page-photo { padding-bottom: clamp(48px, 6vw, 80px); }
.page-photo img { display: block; width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: var(--radius-card); }

.flow { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; margin-top: 56px; counter-reset: step; }
.flow li { position: relative; padding: 32px 28px; border-radius: 16px; background: var(--surface); }
.flow__no { font-family: var(--font-label); font-size: 40px; font-weight: 700; line-height: 1; color: var(--accent); }
.flow h3 { margin: 20px 0 10px; font-size: 19px; font-weight: 700; }
.flow p { font-size: 14px; line-height: 1.85; color: var(--sub); }

.statement { font-size: clamp(28px, 3.8vw, 52px); font-weight: 900; line-height: 1.4; margin-top: 20px; }
.mv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; margin-top: 48px; }
.mv__item { border-radius: var(--radius-card); padding: clamp(28px, 4vw, 44px); background: var(--surface); }
.mv__item h3 { margin: 12px 0 16px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 900; line-height: 1.45; }
.mv__item p { font-size: 15px; line-height: 1.95; color: var(--sub); }

.spec { margin-top: 40px; border-top: 2px solid var(--text); }
.spec__row { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.spec dt { font-weight: 700; }
.spec dd { color: var(--sub); line-height: 1.9; }
.spec dd ol, .spec dd ul { padding-left: 1.4em; }
.access { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 32px; align-items: start; margin-top: 40px; }
.access__map { border-radius: var(--radius-card); overflow: hidden; background: var(--surface); aspect-ratio: 4 / 3; }
.access__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.access__text p { color: var(--sub); line-height: 1.9; }
.access__text p + p { margin-top: 16px; }
.access__text strong { color: var(--text); display: block; font-size: 18px; margin-bottom: 4px; }

.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; margin-top: 48px; }
.point { padding: 32px 28px; border-radius: 16px; background: var(--surface); border-top: 4px solid var(--accent); }
.point h3 { font-size: 20px; font-weight: 900; line-height: 1.5; margin-bottom: 12px; }
.point p { font-size: 15px; line-height: 1.9; color: var(--sub); }
.job { margin-top: 48px; border-radius: 24px; background: var(--ink); color: var(--ink-text); padding: clamp(32px, 5vw, 64px); }
.job__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; padding-bottom: 28px; border-bottom: 1px solid #2A2E31; }
.job__title { font-size: clamp(26px, 3vw, 38px); font-weight: 900; }
.job__pay { font-size: clamp(20px, 2.4vw, 30px); font-weight: 900; color: #7FB0FF; }
.job__feats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; margin-top: 28px; }
.job__feats li { font-size: 15px; line-height: 1.9; color: var(--ink-sub); padding-left: 18px; border-left: 3px solid var(--accent); }
.spec--ink { border-top-color: var(--ink-text); }
.spec--ink .spec__row { border-bottom-color: #2A2E31; }
.spec--ink dd { color: var(--ink-sub); }

.prose { max-width: 820px; font-size: 16px; line-height: 2; color: var(--sub); }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { margin-top: 2.2em; font-size: 24px; line-height: 1.5; color: var(--text); font-weight: 900; }
.prose h3 { margin-top: 1.8em; font-size: 19px; color: var(--text); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px 56px; align-items: start; }
.contact__side { display: flex; flex-direction: column; gap: 20px; }
.contact__box { border-radius: 16px; padding: 28px; background: var(--surface); }
.contact__box h2 { font-size: 16px; font-weight: 700; }
.contact__tel { display: inline-block; margin: 10px 0 6px; font-family: var(--font-label); font-size: 30px; font-weight: 700; color: var(--text); }
.contact__box p { font-size: 13px; line-height: 1.8; color: var(--sub); }
.contact__box--accent { background: var(--accent); color: var(--on-accent); }
.contact__box--accent p { color: inherit; }
.contact__box--accent .btn { margin-top: 16px; }
.contact__form { border-radius: var(--radius-card); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line-2); }
.wpcf7 form p { margin-bottom: 22px; }
.wpcf7 label { display: block; font-weight: 700; font-size: 15px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea, .wpcf7 select {
  display: block; width: 100%; margin-top: 8px; padding: 14px 16px; font: inherit; font-size: 16px; font-weight: 400;
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); color: var(--text);
}
.wpcf7 textarea { min-height: 180px; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { outline: 3px solid rgba(31, 111, 224, .35); border-color: var(--accent); }
.wpcf7-radio, .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.wpcf7-list-item { margin: 0; }
.wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 10px; font-weight: 500; cursor: pointer; }
.wpcf7-list-item input { accent-color: var(--accent); width: 18px; height: 18px; }
.wpcf7-acceptance .wpcf7-list-item label { border: 0; padding: 0; }
.wpcf7 input[type="submit"] {
  margin-top: 8px; min-height: 64px; padding: 0 48px; border: 0; border-radius: 10px; background: var(--accent); color: var(--on-accent);
  font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; box-shadow: 6px 6px 0 var(--ink); transition: box-shadow .3s var(--ease), filter .3s ease;
}
.wpcf7 input[type="submit"]:hover { filter: brightness(1.08); box-shadow: 10px 10px 0 var(--ink); }
.wpcf7 .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: #C0262D; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 14px 16px; border-radius: 10px; border: 2px solid var(--accent); font-size: 14px; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #C0262D; }
.req { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 4px; background: var(--accent); color: #fff; font-size: 11px; vertical-align: middle; }

.notfound { padding-block: clamp(96px, 12vw, 180px); text-align: center; }
.notfound .page-head__lead { margin-inline: auto; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-block: 48px 24px; }
.site-footer__info { display: flex; flex-direction: column; gap: 16px; }
.site-footer__info p { font-size: 13px; line-height: 1.9; color: var(--muted); }
.brand--footer .logo-mark { width: 21px; height: 28px; }
.brand--footer .wordmark { font-size: 22px; }
.fnav { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 13px; }
.fnav a { color: var(--nav); }
.site-footer__copy { padding-bottom: 32px; font-family: var(--font-label); font-size: 12px; color: var(--muted); }

/* ---------- mobile bar ---------- */
.mbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .gnav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__inner { gap: 12px; }
  .brand { margin-right: auto; }
}
@media (max-width: 820px) {
  .hcta { display: none; }
  .contact { grid-template-columns: 1fr; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 18px calc(12px + env(safe-area-inset-bottom)) 12px; background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .mbar .btn { flex-direction: column; gap: 2px; min-height: 58px; padding: 6px 4px; line-height: 1.25; }
  .mbar .btn::after { transform: translate(4px, 4px); }
  .mbar__s { font-size: 11px; font-weight: 500; opacity: .85; }
  .mbar__m { font-size: 15px; font-weight: 700; }
  .mbar .arr { margin-left: 4px; }
  body { padding-bottom: 92px; }
  .page-photo img { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .hero__title { font-size: 31px; }
  .h2 { font-size: 26px; }
  .acard__title, .cta__title { font-size: 26px; }
  .svc__title { font-size: 24px; }
  .btn--lg, .btn--xl { min-height: 64px; padding: 0 28px; font-size: 17px; }
  .spec__row { grid-template-columns: 1fr; gap: 4px; }
  .wordmark { font-size: 22px; }
  .admin-bar .site-header { top: 0; }
}

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