/* =========================================================
   中央自動車株式会社（掛川） コーポレートサイト デザインカンプ v3
   参考：Renoca シミュレーター
   くすみパステルの背景／半透明グレーの背景写真／不均等なグリッドと「＋」／
   ハーフトーンの巨大文字／筆記体＋極太欧文／白マーカーの見出し／レトロな紙の質感
   コンセプト：古い輸入車も、直して、また走らせる
   ※ 画像・コピー・数字は仮
   ========================================================= */

:root {
  --ink: #202020;
  --ink-soft: rgba(32, 32, 32, .72);
  --white: #fff;
  --pink: #f3d3d1;
  --pink-lt: #f6e0dc;
  --sage: #c4cdb7;
  --sage-dk: #adb9a3;
  --blue: #c6d4d9;
  --cream: #eee7d3;
  --lav: #ddd5e6;
  --accent: #eda868;
  --line: rgba(32, 32, 32, .13);

  --f-base: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --f-en: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --f-script: "Noto Sans JP", "Hiragino Sans", sans-serif;

  --frame: 0px;
  --cell: 72px; /* 背景グリッドの1マス。セクションの高さもこの倍数にそろえる */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='g' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .42  0 0 0 0 .36  0 0 0 0 .26  0.75 0 0 0 -.34'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; font-family: var(--f-base); color: var(--ink); background: var(--white);
  font-size: 16px; line-height: 1.95; font-weight: 500; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid #2878c7; outline-offset: 3px; }
.wrap { position: relative; z-index: 2; width: min(1080px, calc(100% - 56px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* 紙の質感 */
body::after { content: ""; position: fixed; inset: 0; z-index: 89; pointer-events: none; background-image: var(--grain); background-size: 320px; opacity: .35; mix-blend-mode: multiply; }

/* マーカー風の見出し帯 */
.mk { background: rgba(255, 255, 255, .88); padding: .06em .6em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sec-white .mk, .sec-cream .mk { background: var(--accent); }

/* ---------- ヘッダー ---------- */
.hd {
  position: fixed; z-index: 100; top: var(--frame); left: var(--frame); right: var(--frame); height: 64px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 28px; transition: background .3s, box-shadow .3s;
}
.hd.is-solid { background: rgba(255, 255, 255, .94); box-shadow: 0 2px 14px rgba(0, 0, 0, .08); backdrop-filter: blur(6px); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-script { font-family: var(--f-script); font-size: 34px; line-height: 1; transform: rotate(-4deg); }
.logo-sub { display: flex; flex-direction: column; line-height: 1.3; }
.logo-sub b { font-size: 13px; font-weight: 900; letter-spacing: .06em; }
.logo-sub small { font-family: var(--f-en); font-weight: 700; font-size: 9.5px; letter-spacing: .22em; }
.logo-area { font-size: 21px; font-weight: 900; line-height: 1; letter-spacing: .04em; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { display: flex; flex-direction: column; align-items: center; padding: 6px 14px; font-family: var(--f-en); font-weight: 800; font-size: 12px; letter-spacing: .14em; line-height: 1.3; border-radius: 999px; transition: background .2s; }
.nav a small { font-family: var(--f-base); font-weight: 500; font-size: 10px; letter-spacing: .08em; opacity: .75; }
.nav a:hover { background: rgba(32, 32, 32, .08); }
.hd-tel { display: inline-flex; flex-direction: column; align-items: center; gap: 0; margin-left: 12px; background: var(--accent); color: var(--ink); border: 2px solid var(--ink); border-radius: 24px; padding: 5px 20px 6px; line-height: 1.2; white-space: nowrap; box-shadow: 3px 3px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
.hd-tel small { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; }
.hd-tel b { font-family: var(--f-en); font-weight: 900; font-size: 18px; letter-spacing: .02em; }
.hd-tel:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.burger { display: none; }

/* ---------- ヒーロー ---------- */
.hero {
  --bg: var(--cream);
  position: relative; height: clamp(680px, 100vh, 900px); overflow: hidden; background: var(--bg);
}

/* 半透明グレーの背景写真（ハーフトーン風） */
.ghost { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url(assets/hero-v1.png) 60% 40% / cover no-repeat; filter: grayscale(1) contrast(1.15); opacity: .24; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.ghost::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--bg, #fff) 42%, transparent 44%); background-size: 4px 4px; opacity: .55; }
.ghost:not(.sm) { background-image: url(assets/hero-building-tel.png); background-position: 50% 85%; transform: scale(1.35); transform-origin: 70% 100%; }
.ghost.sm { opacity: .12; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%); mask-image: linear-gradient(180deg, #000 0%, transparent 70%); }
.sec-cream .ghost::after { --bg: var(--cream); }
.sec-sage .ghost::after { --bg: var(--sage); }

.hero-copy { position: absolute; z-index: 5; left: 7%; top: 25%; }
.hero-copy { display: grid; }
.hero-copy .hc, .hero-leads .hc { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.hero-copy .hc.is-on, .hero-leads .hc.is-on { opacity: 1; visibility: visible; transition: opacity .35s ease .4s, visibility 0s; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-copy .mk { display: inline-block; line-height: 1.45; padding: .04em .6em; }
.hero-copy .hc.is-on .mk { animation: barIn calc(var(--n) * 70ms + .35s) linear both; animation-delay: calc(var(--s) * 70ms + .45s); }
.hero-leads .hc.is-on { animation: leadIn .9s ease both; animation-delay: 2.3s; }
@keyframes barIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.hero-copy .cc { display: inline-block; }
.hero-copy .hc.is-on .cc { animation: ccIn .6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 70ms + .5s); }
@keyframes ccIn { from { opacity: 0; transform: translateY(.45em); } to { opacity: 1; transform: none; } }
@keyframes leadIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-copy .hc.is-on .mk, .hero-copy .hc.is-on .cc, .hero-leads .hc.is-on { animation: none; } }
.hero-dots { grid-area: 2 / 1; justify-self: start; margin: 18.4vh 0 0 4.3vw; display: flex; gap: 6px; }
.hero-dots button { position: relative; width: 14px; height: 14px; padding: 0; border: 0; border-radius: 50%; background: rgba(32, 32, 32, .28); cursor: pointer; transition: background .25s, transform .25s; }
.hero-dots button::before { content: ""; position: absolute; inset: -8px; }
.hero-dots button:hover { transform: scale(1.15); }
.hero-dots button.on { background: var(--accent); transform: scale(1.2); }
.hero-dots button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hero-leads { position: absolute; z-index: 5; left: 9.5%; top: calc(64.5% + (18.4vh + 14px) / 2); transform: translateY(-50%); width: 19vw; display: grid; }
.hero-leads .hero-lead { text-wrap: balance; word-break: auto-phrase; }
.hero-leads .hero-lead br { display: none; }
.hero-copy h1, .hero-copy .hc-h { font-size: clamp(26px, 2.9vw, 44px); font-weight: 900; line-height: 2; letter-spacing: .04em; }
.hero-lead { font-size: clamp(13px, 1.15vw, 16px); font-weight: 700; line-height: 1.95; letter-spacing: .03em; }

.bands { position: absolute; z-index: 3; right: -9%; top: 11%; width: 76%; height: 89%; transform: skewX(-14deg); }
.bd { position: absolute; left: 0; right: 0; height: 49%; overflow: hidden; border: 2px solid var(--ink); border-radius: 36px; background: var(--cream); }
.bd[data-bd="0"] { top: 0; }
.bd[data-bd="1"] { top: 51%; }
.bd-in { position: absolute; inset: 0 -14%; transform: skewX(14deg); opacity: 0; transition: opacity 1s ease; }
.bd-in.on { opacity: 1; }
.bd-in img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.92); }


.info-card { position: absolute; z-index: 7; right: 5%; top: 26%; display: grid; gap: 8px; max-width: 340px; padding: 15px 24px 14px; border: 2px solid var(--ink); border-radius: 20px; background: var(--accent); color: var(--ink); box-shadow: 0 6px 16px rgba(0, 0, 0, .14); transition: transform .25s; }
.info-card:hover { transform: translateY(-3px); }
.ic-top { display: flex; align-items: center; gap: 10px; }
.ic-tag { background: var(--ink); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; line-height: 1; padding: 5px 12px 6px; }
.ic-top time { font-family: var(--f-en); font-weight: 800; font-size: 13px; letter-spacing: .04em; }
.ic-text { font-size: 15px; font-weight: 800; line-height: 1.6; }
.ic-go { font-size: 12.5px; font-weight: 800; letter-spacing: .04em; }
.ic-go i { font-style: normal; display: inline-block; transition: transform .25s; }
.info-card:hover .ic-go i { transform: translateX(3px); }
.scroll-cue { position: absolute; z-index: 7; left: 50%; bottom: 22px; margin-left: -23px; width: 46px; height: 46px; border: 1.5px solid #fff; border-radius: 50%; background: rgba(32, 32, 32, .22); display: grid; place-items: center; animation: cueBounce 1.7s ease-in-out infinite; }
.scroll-cue svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes cueBounce { 50% { transform: translateY(7px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }

/* ---------- 不均等グリッド ---------- */
.gridded { position: relative; }
.gl { --gl: rgba(32, 32, 32, .045); position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
  background-image: linear-gradient(90deg, var(--gl) 1px, transparent 1px), linear-gradient(0deg, var(--gl) 1px, transparent 1px);
  background-size: var(--cell) var(--cell); background-position: 0 0; }
.hero .gl { --gl: rgba(32, 32, 32, .035); }

/* ---------- セクション共通 ---------- */
.sec { position: relative; padding: 130px 0; overflow: hidden; }
.sec-white { background: var(--white); }
.sec-cream { background: var(--cream); }
.sec-blue { background: var(--blue); }
.sec-pink { background: var(--pink-lt); }
.sec-sage { background: var(--sage); }

.sh { margin-bottom: 40px; }
.sh-en { font-family: var(--f-en); font-weight: 900; font-size: clamp(44px, 8vw, 104px); line-height: .92; letter-spacing: -.02em; }
.sh-ja { margin-top: 14px; font-size: 16px; font-weight: 900; letter-spacing: .08em; line-height: 2; }
.lede { font-size: 16px; line-height: 2.05; max-width: 700px; margin-bottom: 44px; }
.catch { font-size: clamp(24px, 3vw, 36px); font-weight: 900; line-height: 1.6; letter-spacing: .02em; margin-bottom: 22px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.head-row .sh { margin-bottom: 30px; }
.btn-line { flex: none; margin-bottom: 40px; border: 2px solid var(--ink); border-radius: 999px; padding: 11px 28px; font-weight: 800; font-size: 14px; background: rgba(255, 255, 255, .5); transition: background .2s, color .2s; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-black { display: inline-flex; flex-direction: column; align-items: center; gap: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 40px; line-height: 1.35; transition: transform .2s; }
.btn-black:hover { transform: translateY(-3px); }
.btn-black small { font-family: var(--f-en); font-weight: 700; font-size: 11px; letter-spacing: .2em; opacity: .75; }
.btn-black b { font-family: var(--f-en); font-weight: 900; font-size: 24px; letter-spacing: .03em; }

.card { background: #fff; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 rgba(32, 32, 32, .14); overflow: hidden; transition: transform .25s, box-shadow .25s; }
a.card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 rgba(32, 32, 32, .18); }

/* ---------- 営業案内 ---------- */
.hours { display: flex; align-items: center; justify-content: space-between; gap: 44px; background: rgba(255, 255, 255, .9); border: 2px solid var(--ink); border-radius: 18px; padding: 32px 40px; box-shadow: 6px 6px 0 rgba(32, 32, 32, .14); }
.hours-list { display: grid; grid-template-columns: 1.1fr .95fr 1.2fr; flex: 1; }
.hours-list > div { padding: 0 30px; border-left: 1.5px solid var(--line); }
.hours-list > div:first-child { padding-left: 0; border-left: 0; }
.hours-list dt { font-size: 12.5px; font-weight: 900; letter-spacing: .12em; margin-bottom: 4px; opacity: .7; }
.hours-list dd { font-size: 15px; line-height: 1.8; }
.hr { display: flex; gap: 12px; font-family: var(--f-en); font-weight: 800; font-size: 22px; line-height: 1.6; letter-spacing: .02em; }
.hr b { font-family: var(--f-base); font-size: 13px; font-weight: 700; min-width: 2.7em; align-self: center; opacity: .7; }
.hours-list .big { font-size: 22px; font-weight: 900; white-space: nowrap; }
.notice-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 22px 6px 0; font-size: 14px; }
.notice-head { padding: 22px 6px 0; line-height: 1; }
.notice-head + .notice-line { padding-top: 10px; }
.notice-line + .notice-line { padding-top: 8px; }
.notice-line time { font-family: var(--f-en); font-weight: 700; font-size: 14px; opacity: .7; }
.tag { background: var(--ink); color: #fff; border-radius: 999px; font-size: 11.5px; font-weight: 700; padding: 1px 12px; }
.notice-line a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }

/* ---------- ABOUT ---------- */
.about-g { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.about-ph { border: 2px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 8px 8px 0 rgba(32, 32, 32, .16); aspect-ratio: 4 / 3; background: var(--cream); }
.about-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.about-text p:not(.catch) { font-size: 15.5px; line-height: 2.1; }
.about-text p + p { margin-top: 1.2em; }
.why { margin-top: 90px; border-top: 2px solid var(--ink); }
.why li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 34px 0; border-bottom: 1.5px solid var(--line); }
.why b { font-family: var(--f-en); font-weight: 900; font-size: 52px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.why h3 { font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.why p { font-size: 15px; line-height: 1.95; max-width: 720px; }

/* ---------- SERVICE ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.svc .ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 2px solid var(--ink); background: #ddd; }
.svc .ph img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.28) saturate(.75) contrast(1.05); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.svc .ph::after { content: ""; position: absolute; inset: 0; background: rgba(198, 212, 217, .35); mix-blend-mode: multiply; }
a.svc:hover .ph img { transform: scale(1.05); }
.svc .no { padding: 22px 26px 0; font-family: var(--f-en); font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.svc h3 { padding: 0 26px; font-size: 26px; font-weight: 900; margin: 2px 0 8px; }
.svc p:not(.no) { padding: 0 26px; font-size: 14.5px; line-height: 1.95; }
.go { display: flex; justify-content: space-between; align-items: center; margin: 18px 26px 24px; padding-bottom: 8px; border-bottom: 3px solid var(--ink); font-family: var(--f-en); font-weight: 800; font-size: 13px; letter-spacing: .08em; }
.go i { font-style: normal; transition: transform .2s; }
a.svc:hover .go i { transform: translateX(6px); }
.consult { margin-top: 80px; text-align: center; }
.consult-title { font-size: 20px; font-weight: 900; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips li { background: #fff; border: 1.5px solid var(--ink); border-radius: 999px; padding: 7px 20px; font-size: 14px; font-weight: 700; }
.chips li::before { content: "✓"; margin-right: 8px; font-weight: 900; }

/* ---------- STOCK / BLOG ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.phold { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 2; border-bottom: 2px solid var(--ink); font-family: var(--f-en); font-weight: 800; letter-spacing: .3em; font-size: 15px; color: rgba(32, 32, 32, .4);
  background: repeating-linear-gradient(45deg, #e6e0d2 0 14px, #efeadd 14px 28px); }
.chip { position: absolute; left: 14px; top: 14px; background: var(--ink); color: #fff; font-family: var(--f-base); letter-spacing: .04em; font-size: 12px; font-weight: 700; padding: 1px 14px; border-radius: 999px; }
.chip.y { background: var(--accent); color: var(--ink); }
.vc-body { padding: 20px 24px 24px; }
.vc-body h3 { font-size: 19px; font-weight: 900; }
.meta { margin-top: 4px; font-size: 13px; opacity: .72; font-weight: 700; }
.price { margin-top: 16px; padding-top: 14px; border-top: 1.5px dashed var(--ink-soft); font-family: var(--f-en); font-weight: 800; font-size: 15px; }
.price small { font-family: var(--f-base); font-size: 12px; font-weight: 700; margin-right: 8px; opacity: .7; }
.price b { font-weight: 900; font-size: 38px; margin-right: 2px; }
.bc-body { padding: 20px 24px 26px; }
.bm { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.bm time { font-family: var(--f-en); font-weight: 700; font-size: 13.5px; opacity: .7; }
.tag-o { border: 1.5px solid var(--ink); border-radius: 999px; font-size: 11.5px; font-weight: 700; padding: 0 12px; }
.bc-body h3 { font-size: 16.5px; font-weight: 700; line-height: 1.75; }

/* STOCK：横長の大型カード */
.vx-list { display: grid; gap: 34px; --sl: 72px; }
.vx { position: relative; display: grid; grid-template-columns: 1.75fr 1fr; min-height: 340px; background: var(--ink); color: #fff; border: 2px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 8px 8px 0 rgba(32, 32, 32, .16); transition: transform .3s, box-shadow .3s; }
.vx:hover { transform: translate(-3px, -3px); box-shadow: 12px 12px 0 rgba(32, 32, 32, .2); }
.vx-ph { position: relative; z-index: 2; aspect-ratio: auto; border-bottom: 0; clip-path: polygon(0 0, 100% 0, calc(100% - var(--sl)) 100%, 0 100%); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.vx-ph { overflow: hidden; background: var(--cream); }
.vx-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 55%; display: block; }
.vx:hover .vx-ph { transform: scale(1.03); }
.vx-ph .chip { left: 22px; top: 22px; font-size: 13px; padding: 3px 18px; }
.vx-body { position: relative; z-index: 1; margin-left: calc(var(--sl) * -1); padding: 34px 38px 34px calc(var(--sl) + 18px); display: flex; flex-direction: column; justify-content: center; gap: 12px; overflow: hidden; }
.vx-body h3 { position: relative; font-size: 26px; font-weight: 900; line-height: 1.35; }
.vx-spec { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.vx-spec li { border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 999px; padding: 1px 14px; font-size: 13px; font-weight: 700; }
.vx-price { position: relative; margin: 6px 0 0; font-family: var(--f-en); font-weight: 800; font-size: 18px; color: var(--accent); }
.vx-price small { display: block; font-family: var(--f-base); font-size: 12px; font-weight: 700; color: #fff; opacity: .75; margin-bottom: 2px; }
.vx-price b { font-weight: 900; font-size: 64px; line-height: 1; margin-right: 4px; letter-spacing: -.01em; }
.vx-go { position: relative; align-self: flex-start; display: inline-flex; gap: 10px; align-items: center; margin-top: 4px; padding-bottom: 5px; border-bottom: 2px solid var(--accent); font-weight: 800; font-size: 14px; }
.vx-go i { font-style: normal; color: var(--accent); transition: transform .25s; }
.vx:hover .vx-go i { transform: translateX(6px); }
.vx:nth-child(even) { grid-template-columns: 1fr 1.75fr; }
.vx:nth-child(even) .vx-ph { order: 2; clip-path: polygon(var(--sl) 0, 100% 0, 100% 100%, 0 100%); }
.vx:nth-child(even) .vx-body { order: 1; margin-left: 0; margin-right: calc(var(--sl) * -1); padding: 34px calc(var(--sl) + 18px) 34px 38px; }
.vx:nth-child(even) .vx-ph .chip { left: auto; right: 22px; }
.vx:nth-child(even) 
/* ---------- RECRUIT ---------- */
.recruit .catch { margin-bottom: 18px; }
.recruit .lede { margin-bottom: 36px; }

/* ---------- ACCESS ---------- */
.co { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.dl { display: grid; grid-template-columns: 110px 1fr; border-top: 2px solid var(--ink); font-size: 15px; line-height: 1.8; }
.dl dt, .dl dd { padding: 14px 0; border-bottom: 1.5px solid var(--line); }
.dl dt { font-weight: 900; }
.tel-link { font-family: var(--f-en); font-weight: 900; font-size: 24px; letter-spacing: .02em; }
.map { aspect-ratio: 4 / 3; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 6px 6px 0 rgba(32, 32, 32, .14); background: #ddd; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) sepia(.15); }
.small-note { margin-top: 26px; font-size: 13.5px; font-weight: 700; opacity: .75; }
.notice-box { margin-top: 36px; display: flex; gap: 18px; align-items: baseline; background: rgba(255, 255, 255, .6); border: 1.5px dashed var(--ink-soft); border-radius: 14px; padding: 16px 24px; font-size: 13.5px; }
.notice-box strong { white-space: nowrap; }

/* ---------- フッター ---------- */
.ft { position: relative; z-index: 2; background: var(--ink); color: #d9d9d9; padding: 60px 0 0; font-size: 13px; line-height: 1.95; }
.ft-in { width: min(1080px, calc(100% - 56px)); margin-inline: auto; display: grid; grid-template-columns: 1.4fr 1fr .5fr; gap: 40px; padding-bottom: 44px; }
.ft-brand .logo { display: flex; color: #fff; margin-bottom: 12px; }
.ft-brand .logo-sub b { display: block; margin-bottom: 0; font-size: 13px; }
.ft b { display: block; color: #fff; font-size: 15px; margin-bottom: 6px; }
.ft-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; align-content: start; font-family: var(--f-en); font-weight: 700; font-size: 13px; letter-spacing: .14em; }
.ft-sns { display: grid; gap: 6px; align-content: start; font-size: 14px; }
.ft-sns span { font-family: var(--f-en); font-weight: 800; font-size: 12px; letter-spacing: .22em; color: var(--accent); margin-bottom: 4px; }
.ft a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.copy { text-align: center; padding: 20px; padding-bottom: calc(20px + var(--frame)); border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12px; opacity: .7; }
/* 採用フロートバナー */
.rb { position: fixed; z-index: 90; right: 20px; bottom: 20px; width: 640px; max-width: calc(100vw - 40px); }
.rb[hidden] { display: none; }
.rb-a { display: block; padding: 16px 18px 18px; background: var(--cream); border: 2px solid var(--ink); border-radius: 18px; transition: transform .25s; }
.rb-a:hover { transform: translateY(-3px); }
.rb-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; font-family: var(--f-en); font-weight: 800; font-size: 10.5px; letter-spacing: .18em; padding: 1px 12px; border-radius: 999px; }
.rb-tag i { font-style: normal; font-family: var(--f-base); letter-spacing: .06em; font-weight: 700; opacity: .75; }
.rb-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.rb-top .rb-b { flex: none; padding: 9px 24px; }
.rb-jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rb-jobs .rb-job { margin-bottom: 0; }
.rb-h { display: block; margin: 7px 0 0; font-size: 20px; font-weight: 900; line-height: 1.4; letter-spacing: .02em; }
.rb-h em { font-style: normal; color: #d9792b; margin-left: 4px; }
.rb-job { background: #fff; border: 1.5px solid var(--ink); border-radius: 12px; padding: 10px 14px 11px; margin-bottom: 8px; }
.rb-jt { display: flex; align-items: center; gap: 7px; margin: 0 0 5px; padding-bottom: 5px; border-bottom: 1.5px solid var(--accent); font-size: 15px; font-weight: 900; }
.rb-jt svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--accent); fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; box-sizing: content-box; }
.rb-d { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; line-height: 1.6; }
.rb-pay { display: flex; align-items: center; gap: 10px; background: var(--cream); border-radius: 10px; padding: 6px 10px; }
.rb-pl { background: var(--ink); color: #fff; font-size: 12px; font-weight: 900; padding: 8px 8px; border-radius: 8px; line-height: 1; }
.rb-pc { display: grid; line-height: 1.2; }
.rb-pc small { font-size: 10.5px; font-weight: 700; color: var(--ink-soft); }
.rb-pc strong { font-family: var(--f-en); font-weight: 900; font-size: 24px; letter-spacing: -.01em; color: #d9792b; }
.rb-pc u { text-decoration: none; font-family: var(--f-base); font-size: 12px; margin-left: 1px; }
.rb-l { margin: 0; padding: 0; list-style: none; font-size: 12.5px; font-weight: 700; line-height: 1.75; }
.rb-l li { position: relative; padding-left: 15px; }
.rb-l li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); border: 1.5px solid var(--ink); }
.rb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.rb-chips li { background: var(--ink); color: #fff; border-radius: 999px; font-size: 11.5px; font-weight: 700; padding: 2px 12px; }
.rb-b { display: block; text-align: center; background: var(--accent); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 10px; font-size: 14px; font-weight: 900; }
.rb-x { position: absolute; z-index: 2; right: -8px; top: -10px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink); font-size: 16px; line-height: 1; cursor: pointer; }
@media (min-width: 761px) and (max-height: 780px) { .rb-chips, .rb-d { display: none; } .rb-a { padding-bottom: 14px; } }

.callbar { display: none; }

/* ---------- 浮かび上がり ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===================== タブレット ===================== */
@media (max-width: 1000px) {
  .hd-tel { padding: 5px 14px 6px; margin-left: 6px; }
  .nav a small { display: none; }
  .nav a { padding: 8px 8px; }
  .about-g { grid-template-columns: 1fr; gap: 44px; }
  .hours { flex-direction: column; align-items: flex-start; gap: 24px; }
  .svc-grid { gap: 24px; }
  .cards3 { gap: 18px; }
}

/* ===================== スマホ ===================== */
@media (max-width: 760px) {
  body { padding-bottom: 62px; font-size: 15px; }
  .hd-tel { display: none; }
  .wrap { width: calc(100% - 40px); }
  .hd { height: 56px; padding: 0 12px 0 16px; }
  .logo { gap: 8px; }
  .logo-sub b { font-size: 11px; letter-spacing: .03em; }
  .logo-sub small { font-size: 8px; letter-spacing: .14em; }
  .logo-area { font-size: 17px; }
  .burger { display: block; position: relative; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .14); cursor: pointer; }
  .burger span, .burger span::before, .burger span::after { position: absolute; left: 13px; width: 16px; height: 2px; background: var(--ink); content: ""; transition: transform .25s, opacity .25s; }
  .burger span { top: 20px; }
  .burger span::before { left: 0; top: -5px; } .burger span::after { left: 0; top: 5px; }
  .burger.is-open span { background: transparent; }
  .burger.is-open span::before { transform: translateY(5px) rotate(45deg); }
  .burger.is-open span::after { transform: translateY(-5px) rotate(-45deg); }
  .nav { position: absolute; top: 56px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; box-shadow: 0 12px 24px rgba(0, 0, 0, .14); max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .3s; }
  .nav.is-open { max-height: 460px; visibility: visible; }
  .nav a { flex-direction: row; justify-content: space-between; border-radius: 0; padding: 15px 24px; border-top: 1px solid var(--line); font-size: 14px; }
  .nav a small { display: inline; font-size: 12px; }

  .hero { height: 760px; }
  .hero-copy { left: 20px; right: 20px; top: 96px; }
  .hero-copy h1, .hero-copy .hc-h { font-size: 24px; letter-spacing: .02em; }
  .hero-lead { font-size: 12px; letter-spacing: 0; }
  .hero-leads { left: 20px; right: 108px; top: auto; transform: none; width: auto; bottom: 52px; }
  .hero-leads .hero-lead br { display: none; }
  .bands { right: -18%; top: 36%; width: 96%; height: 40%; }
  .bd { border-radius: 22px; }
  .info-card, .scroll-cue { display: none; }
  .hero-dots { margin: 18px 0 0 0; }

  .sec { padding: 84px 0; }
  .sh { margin-bottom: 28px; }
  .sh-ja { font-size: 14px; }
  .lede { font-size: 14px; margin-bottom: 32px; }
  .head-row { flex-direction: column; align-items: flex-start; gap: 0; }
  .btn-line { margin-bottom: 28px; }
  .hours { padding: 24px 20px; border-radius: 14px; }
  .hours-list { grid-template-columns: 1fr; width: 100%; }
  .hours-list > div { padding: 12px 0; border-left: 0; border-top: 1.5px solid var(--line); }
  .hours-list > div:first-child { border-top: 0; padding-top: 0; }
  .hours .btn-black { display: none; }
  .why { margin-top: 56px; }
  .why li { grid-template-columns: 56px 1fr; padding: 24px 0; gap: 12px; }
  .why b { font-size: 34px; } .why h3 { font-size: 18px; } .why p { font-size: 13px; }
  .vx-list { gap: 24px; --sl: 30px; }
  .vx, .vx:nth-child(even) { grid-template-columns: 1fr; min-height: 0; }
  .vx-ph, .vx:nth-child(even) .vx-ph { order: 0; aspect-ratio: 4 / 3; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--sl)), 0 100%); }
  .vx-body, .vx:nth-child(even) .vx-body { order: 1; margin: calc(var(--sl) * -1) 0 0; padding: calc(var(--sl) + 16px) 22px 24px; gap: 10px; }
  .vx-ph .chip, .vx:nth-child(even) .vx-ph .chip { left: 14px; right: auto; top: 14px; }
  .vx-body h3 { font-size: 21px; }
  .vx-price b { font-size: 50px; }
  .svc-grid, .cards3, .co { grid-template-columns: 1fr; }
  .svc h3 { font-size: 22px; }
  .consult { margin-top: 56px; text-align: left; }
  .chips { justify-content: flex-start; gap: 8px; }
  .chips li { font-size: 12.5px; padding: 6px 14px; }
  .dl { grid-template-columns: 84px 1fr; font-size: 13.5px; }
  .notice-box { flex-direction: column; gap: 4px; }
  .ft-in { grid-template-columns: 1fr; gap: 28px; }

  .rb { right: 12px; bottom: calc(var(--frame) + 62px); width: min(300px, 80vw); }
  .rb-a { padding: 12px 14px 14px; }
  .rb-h { font-size: 16px; margin: 7px 0 8px; }
  .rb-job { padding: 8px 11px 9px; margin-bottom: 6px; }
  .rb-jt { font-size: 13.5px; }
  .rb-d { font-size: 11.5px; margin-bottom: 6px; }
  .rb-pc strong { font-size: 20px; }
  .rb-l { font-size: 11.5px; }
  .rb-chips { display: none; }
  .rb-job + .rb-job { display: none; }
  .rb-jobs { grid-template-columns: 1fr; }
  .rb-top { flex-direction: column; align-items: stretch; gap: 8px; margin-bottom: 8px; }
  .rb-top .rb-b { order: 2; display: none; }
  .rb-a::after { content: "採用情報を見る →"; display: block; margin-top: 8px; text-align: center; background: var(--accent); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 8px; font-size: 12.5px; font-weight: 900; }
  .callbar { position: fixed; left: var(--frame); right: var(--frame); bottom: var(--frame); z-index: 95; height: 52px; display: flex; align-items: center; justify-content: center; gap: 14px; background: var(--ink); color: #fff; border-radius: 999px 999px 0 0; }
  .callbar span { font-size: 12.5px; font-weight: 700; }
  .callbar b { font-family: var(--f-en); font-weight: 900; font-size: 21px; letter-spacing: .04em; color: var(--accent); }
}
