/* つばくろ自動車（架空）— Web工房Pono 自主制作デモ
   色は :root の5系統（メイン・アクセント・背景・文字・線）にまとめてある。テンプレートの色替えはここだけ触ればよい */
:root {
  /* メイン：深い緑（工場の床・安全の緑） */
  --main: #17533A; --main-d: #0E3A28; --main-l: #E2ECE4;
  /* アクセント：シグナルイエロー */
  --accent: #F2B630; --accent-d: #D99A0B; --accent-l: #FFF1C9;
  /* 背景 */
  --bg: #F3F1EA; --paper: #FCFBF7; --white: #FFFFFF;
  /* 文字 */
  --ink: #1B201D; --sub: #535B56; --mute: #8C938E; --on-main: #F6F4EC;
  /* 線 */
  --line: rgba(27, 32, 29, .16); --line-s: #1B201D; --line-w: rgba(246, 244, 236, .22); --grid: rgba(23, 83, 58, .06);
  /* 状態の色（警告灯・空き状況） */
  --red: #C8402D; --amber: #E9930F; --ok: #2E8B57;
  /* 書体 */
  --dg: "Dela Gothic One", "M PLUS 2", sans-serif; --jp: "M PLUS 2", "Hiragino Sans", sans-serif; --en: "Space Grotesk", "M PLUS 2", sans-serif;
  --sh: 4px 4px 0 var(--line-s); --r: 6px; --ease: cubic-bezier(.2, .75, .2, 1); --hh: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--jp); font-weight: 500; font-size: 16px; line-height: 1.9; letter-spacing: .03em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.45; }
h1, h2 { font-family: var(--dg); font-weight: 400; letter-spacing: .04em; }
h3 { font-weight: 800; font-size: 18px; }
p { margin: 0; } ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
.narrow { max-width: 880px; }
.sp { display: none; }
.note { margin-top: 16px; font-size: 13px; color: var(--sub); line-height: 1.8; }
.note a { text-decoration: underline; }
.note--w { color: rgba(246, 244, 236, .7); }
.eb { font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--accent); }
.demo-bar { position: relative; z-index: 70; background: var(--ink); color: rgba(255, 255, 255, .8); font-size: 12px; text-align: center; padding: 7px 14px; line-height: 1.6; }
.demo-bar a { text-decoration: underline; margin-left: 6px; }

/* ===== ボタン ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 22px; border: 2px solid var(--line-s); border-radius: var(--r); background: var(--white); color: var(--ink); font-weight: 800; font-size: 15.5px; line-height: 1.4; box-shadow: var(--sh); transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .2s; text-align: center; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn small { font-size: 11px; font-weight: 500; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--line-s); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--line-s); }
.btn--y { background: var(--accent); }
.btn--g { background: var(--main); color: var(--on-main); }
.btn--w { background: var(--paper); }
.btn--line { background: transparent; color: var(--on-main); border-color: var(--on-main); box-shadow: 4px 4px 0 rgba(0, 0, 0, .25); }
.btn--line:hover { box-shadow: 6px 6px 0 rgba(0, 0, 0, .25); background: rgba(255, 255, 255, .06); }
.btn--line2 { background: transparent; box-shadow: none; }
.btn--line2:hover { box-shadow: none; transform: none; background: var(--white); }
.btn--s { min-height: 42px; padding: 8px 16px; font-size: 14px; }
.btn--l { min-height: 60px; padding: 14px 26px; font-size: 16.5px; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.more { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; border-bottom: 2px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.more svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.more:hover svg { transform: translateX(4px); }
.more--w { color: var(--on-main); }

/* ===== ヘッダー ===== */
.hd { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 2px solid var(--line-s); }
.hd__in { display: flex; align-items: center; gap: 24px; height: var(--hh); width: min(1320px, calc(100% - 40px)); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo__m { width: 46px; height: 46px; display: grid; place-items: center; background: var(--main); color: var(--accent); border-radius: var(--r); }
.logo__m .sw { width: 34px; }
.logo__t { display: flex; flex-direction: column; line-height: 1.15; }
.logo__t b { font-family: var(--dg); font-weight: 400; font-size: 20px; letter-spacing: .06em; }
.logo__t small { font-family: var(--en); font-size: 9.5px; font-weight: 700; letter-spacing: .18em; color: var(--sub); margin-top: 4px; }
.logo--w .logo__m { background: var(--accent); color: var(--main-d); }
.logo--w .logo__t small { color: rgba(246, 244, 236, .6); }
.hd__nav { display: flex; gap: 4px; margin-left: auto; }
.hd__nav a { position: relative; padding: 8px 12px; font-weight: 700; font-size: 14.5px; border-radius: var(--r); }
.hd__nav a:hover { background: var(--main-l); }
.hd__nav a[aria-current] { background: var(--main); color: var(--on-main); }
.hd__tel { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.hd__tel small { font-size: 10.5px; color: var(--sub); }
.hd__tel b { font-family: var(--en); font-size: 19px; letter-spacing: .02em; }
.hd__rsv svg { width: 16px; height: 16px; }
.mb { display: none; width: 48px; height: 48px; border: 2px solid var(--line-s); border-radius: var(--r); background: var(--accent); position: relative; margin-left: auto; }
.mb i { position: absolute; left: 12px; right: 12px; height: 2.5px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.mb i:nth-child(1) { top: 15px; } .mb i:nth-child(2) { top: 21.5px; } .mb i:nth-child(3) { top: 28px; }
.is-open .mb i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.is-open .mb i:nth-child(2) { opacity: 0; }
.is-open .mb i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.dr { position: fixed; inset: 0; top: 0; z-index: 55; background: var(--main); color: var(--on-main); padding: calc(var(--hh) + 60px) 24px 120px; overflow-y: auto; }
.dr nav a { display: flex; align-items: center; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line-w); font-family: var(--dg); font-size: 21px; }
.dr nav small { font-family: var(--en); font-size: 11px; letter-spacing: .14em; color: var(--accent); width: 72px; }
.dr nav i { margin-left: auto; width: 20px; }
.dr__info { margin-top: 24px; font-size: 14px; color: rgba(246, 244, 236, .75); }

/* ===== 見出し ===== */
.st { margin-bottom: 36px; }
.st__en { display: flex; align-items: center; gap: 10px; font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--main); margin-bottom: 10px; }
.st__en span:empty { display: none; }
.st__en span { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 6px; background: var(--accent); color: var(--ink); border: 2px solid var(--line-s); border-radius: 4px; font-size: 12px; letter-spacing: .04em; }
.st h2 { font-size: clamp(26px, 3.4vw, 40px); }
.st__l { margin-top: 14px; color: var(--sub); max-width: 680px; }
.st--w .st__en { color: var(--accent); }
.st--w h2 { color: var(--on-main); }
.st--w .st__l { color: rgba(246, 244, 236, .78); }
.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.row .more { margin-bottom: 40px; }
.h2s { font-family: var(--dg); font-weight: 400; font-size: 24px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.h2s::before { content: ""; width: 14px; height: 14px; background: var(--accent); border: 2px solid var(--line-s); flex: none; }
.h3s { font-size: 17px; margin-bottom: 10px; }

/* ===== セクション ===== */
.sec { padding: 110px 0; }
.sec--t { padding-top: 56px; }
.sec--grid { background-color: var(--bg); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.sec--paper { background: var(--paper); border-block: 2px solid var(--line-s); }
.sec--g { background: var(--main); color: var(--on-main); }
.sec--dark { background: var(--main-d); color: var(--on-main); }

/* ===== トップ：ヒーロー ===== */
.hero { position: relative; background: var(--main); color: var(--on-main); overflow: hidden; padding: 72px 0 96px; }
.hero__bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 32px 32px; }
.hero__bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, var(--main-d) 14px 28px); opacity: .9; }
.hero__fly { position: absolute; inset: 0; pointer-events: none; color: rgba(246, 244, 236, .9); }
.hero__fly .sw { position: absolute; width: 54px; left: -80px; top: 22%; animation: fly 14s linear infinite; }
.hero__fly .sw + .sw { width: 34px; top: 36%; animation-delay: -6s; animation-duration: 17s; opacity: .55; }
@keyframes fly { 0% { transform: translate(0, 0) rotate(8deg); } 30% { transform: translate(40vw, -40px) rotate(-4deg); } 60% { transform: translate(78vw, 10px) rotate(6deg); } 100% { transform: translate(115vw, -70px) rotate(-6deg); } }
.hero__in { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero__en { font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .24em; color: var(--accent); margin-bottom: 20px; }
.hero h1 { font-size: clamp(36px, 4.3vw, 62px); line-height: 1.28; letter-spacing: .02em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 em { font-style: normal; color: var(--ink); background: var(--accent); padding: 0 .12em; margin-right: .06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero__d { margin-top: 26px; font-size: 17px; line-height: 2; color: rgba(246, 244, 236, .88); }
.hero__b { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero__b li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; border: 1.5px solid var(--line-w); border-radius: 999px; font-size: 14px; font-weight: 700; }
.hero__b svg { width: 16px; height: 16px; color: var(--accent); }
.hero__btn { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__v { position: relative; padding-bottom: 170px; }
.hero__img { border: 2px solid var(--line-s); border-radius: var(--r); overflow: hidden; box-shadow: 10px 10px 0 var(--main-d); aspect-ratio: 16 / 10; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }

/* 期限チェッカー */
.chk { background: var(--paper); color: var(--ink); border: 2px solid var(--line-s); border-radius: var(--r); box-shadow: var(--sh); padding: 20px 22px; }
.chk--hero { position: absolute; left: -48px; right: 48px; bottom: 0; }
.chk__h { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16.5px; }
.chk__tag { font-family: var(--en); font-size: 11px; letter-spacing: .14em; background: var(--main); color: var(--accent); padding: 2px 8px; border-radius: 3px; }
.chk__in { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.chk__in span { font-size: 13px; color: var(--sub); }
input[type=date], input[type=text], input[type=tel], input[type=email], input[type=search], select, textarea { appearance: none; -webkit-appearance: none; min-height: 50px; padding: 10px 14px; border: 2px solid var(--line-s); border-radius: var(--r); background: var(--white); font-size: 16px; font-weight: 600; width: 100%; }
input[type=date] { font-family: var(--en); }
.chk__in input { width: auto; flex: 1 1 180px; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
textarea { min-height: 96px; resize: vertical; }
.chk__res { display: grid; grid-template-columns: 1.3fr 1.3fr .8fr; gap: 8px; margin-top: 14px; }
.chk__res li { padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 4px; background: var(--white); }
.chk__res li.is-y { background: var(--accent-l); border-color: var(--accent-d); }
.chk__res small { display: block; font-size: 11.5px; color: var(--sub); line-height: 1.5; }
.chk__res b { display: block; font-family: var(--en); font-weight: 700; font-size: 15px; line-height: 1.45; margin-top: 2px; }
.chk__note { margin-top: 10px; font-size: 13px; color: var(--sub); line-height: 1.7; }
.chk__note:empty { display: none; }
.chk__note a { color: var(--main); font-weight: 800; text-decoration: underline; }
.chk__note.is-warn { color: var(--red); font-weight: 700; }

/* 流れる帯 */
.mq { background: var(--accent); border-block: 2px solid var(--line-s); overflow: hidden; }
.mq__t { display: flex; align-items: center; width: max-content; animation: mq 34s linear infinite; padding: 12px 0; }
.mq__t span { font-family: var(--dg); font-size: 22px; padding: 0 22px; white-space: nowrap; }
.mq__t .sw { width: 28px; color: var(--main); }
@keyframes mq { to { transform: translateX(-50%); } }

/* きょうの工場 */
.board-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.board-wrap .st { margin-bottom: 0; }
.board { position: relative; background: var(--paper); border: 2px solid var(--line-s); border-radius: var(--r); box-shadow: var(--sh); padding: 24px 26px 18px; }
.board::before { content: ""; position: absolute; top: -12px; left: 50%; width: 120px; height: 22px; transform: translateX(-50%) rotate(-2deg); background: rgba(242, 182, 48, .78); border: 1px solid rgba(0, 0, 0, .06); }
.board__date { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 2px dashed var(--line); }
.board__date b { font-family: var(--en); font-size: 20px; }
.board__st { font-size: 13px; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: var(--main); color: var(--on-main); }
.board__st.is-off { background: var(--mute); }
.board__g { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 0; margin-top: 16px; }
.board__g > li { padding: 0 16px; border-left: 1.5px solid var(--line); }
.board__g > li:first-child { padding-left: 0; border-left: 0; }
.board__g small { display: block; font-size: 12.5px; color: var(--sub); margin-bottom: 8px; }
.board__w { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.board__w span { display: flex; flex-direction: column; align-items: center; padding: 6px 0; border-radius: 4px; background: var(--bg); font-size: 11px; line-height: 1.3; }
.board__w span b { font-size: 17px; font-weight: 800; margin-top: 2px; }
.board__w .ok b { color: var(--ok); } .board__w .few b { color: var(--amber); } .board__w .ng b { color: var(--mute); }
.board__big { font-weight: 700; }
.board__big b { font-family: var(--dg); font-weight: 400; font-size: 40px; line-height: 1; color: var(--main); margin: 0 2px; }
.board__big span { font-size: 13px; color: var(--sub); }
.board__note { margin-top: 14px; font-size: 12px; color: var(--mute); }

/* 料金のチケット */
.tks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tk { position: relative; background: var(--paper); border: 2px solid var(--line-s); border-radius: var(--r); padding: 22px 20px 18px; box-shadow: var(--sh); }
.tk::before, .tk::after { content: ""; position: absolute; top: 92px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-s); }
.tk::before { left: -10px; clip-path: inset(0 0 0 50%); }
.tk::after { right: -10px; clip-path: inset(0 50% 0 0); }
.tk__c { padding-bottom: 16px; margin-bottom: 14px; border-bottom: 2px dashed var(--line); min-height: 82px; }
.tk__c b { display: block; font-family: var(--dg); font-weight: 400; font-size: 24px; }
.tk__c small { font-size: 13px; color: var(--sub); }
.tk__p small { display: block; font-size: 12px; color: var(--sub); }
.tk__p b { font-family: var(--dg); font-weight: 400; font-size: 36px; letter-spacing: .01em; color: var(--main); }
.tk__p em { font-style: normal; font-weight: 800; margin-left: 2px; }
.tk__d { margin-top: 6px; font-size: 12.5px; color: var(--sub); line-height: 1.6; }

/* 3つの約束 */
.pms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pm { position: relative; padding: 34px 26px 28px; background: var(--paper); border: 2px solid var(--line-s); border-radius: var(--r); }
.pm__n { position: absolute; top: -20px; left: 22px; font-family: var(--dg); font-size: 26px; line-height: 1; padding: 6px 10px; background: var(--accent); border: 2px solid var(--line-s); border-radius: 4px; }
.pm i { position: absolute; top: 24px; right: 22px; width: 40px; height: 40px; color: var(--main); }
.pm h3 { font-size: 20px; margin: 14px 50px 12px 0; line-height: 1.5; }
.pm p { font-size: 15px; color: var(--sub); }

/* メニュー */
.mcs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mc { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto auto; column-gap: 14px; align-items: center; padding: 20px; background: var(--paper); color: var(--ink); border: 2px solid var(--line-s); border-radius: var(--r); box-shadow: 4px 4px 0 var(--main-d); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.mc:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--main-d); }
.mc i { grid-row: 1 / 4; width: 48px; height: 48px; display: grid; place-items: center; background: var(--main-l); border-radius: 50%; color: var(--main); }
.mc i svg { width: 26px; height: 26px; }
.mc b { font-size: 17px; font-weight: 800; line-height: 1.4; }
.mc small { font-size: 12.5px; color: var(--sub); line-height: 1.5; }
.mc em { font-style: normal; font-family: var(--en); font-weight: 700; font-size: 15px; color: var(--main); }

/* 流れ（タイムライン） */
.flow-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.flow__img { border: 2px solid var(--line-s); border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; }
.flow__img img { width: 100%; height: 100%; object-fit: cover; }
.tl { position: relative; padding-left: 0; }
.tl li { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding-bottom: 30px; }
.tl li::before { content: ""; position: absolute; left: 37px; top: 34px; bottom: 0; border-left: 2px dashed var(--main); }
.tl li:last-child::before { display: none; }
.tl time { display: grid; place-items: center; height: 34px; font-family: var(--en); font-weight: 700; font-size: 15px; background: var(--main); color: var(--on-main); border-radius: 4px; }
.tl h3 { font-size: 19px; margin-bottom: 6px; }
.tl p { color: var(--sub); font-size: 15px; }

/* 工場の紹介 */
.about-t { display: grid; grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: center; }
.about-t__img { border: 2px solid var(--line-s); border-radius: var(--r); overflow: hidden; box-shadow: 10px 10px 0 var(--accent); aspect-ratio: 2 / 3; max-height: 640px; }
.about-t__img img { width: 100%; height: 100%; object-fit: cover; }
.about-t__b > p { color: var(--sub); }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); margin: 30px 0; border: 2px solid var(--line-s); border-radius: var(--r); background: var(--white); }
.nums li { padding: 14px 10px; text-align: center; border-left: 1.5px solid var(--line); }
.nums li:first-child { border-left: 0; }
.nums b { font-family: var(--dg); font-weight: 400; font-size: 38px; line-height: 1.1; color: var(--main); }
.nums span { font-weight: 800; margin-left: 2px; }
.nums small { display: block; font-size: 12.5px; color: var(--sub); }
.lic { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 26px; }
.lic small { flex-basis: 100%; font-size: 12.5px; color: var(--sub); line-height: 1.7; }
.lic__b { display: inline-flex; align-items: center; padding: 4px 14px; border: 2px solid var(--line-s); border-radius: 999px; background: var(--main); color: var(--on-main); font-weight: 800; font-size: 14px; }
.lic__b--o { background: var(--white); color: var(--main); }

/* よくある質問 */
.qas { display: grid; gap: 12px; }
.qa { background: var(--paper); border: 2px solid var(--line-s); border-radius: var(--r); }
.qa summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 52px 16px 16px; font-weight: 800; font-size: 16.5px; line-height: 1.55; cursor: pointer; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease); }
.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa summary span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; font-family: var(--en); font-weight: 700; background: var(--main); color: var(--accent); border-radius: 4px; }
.qa p { padding: 0 20px 20px 64px; color: var(--sub); font-size: 15.5px; }

/* CTA・フッター */
.cta { position: relative; background: var(--accent); border-top: 2px solid var(--line-s); padding: 84px 0; overflow: hidden; }
.cta__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.cta .eb { color: var(--main); }
.cta h2 { font-size: clamp(30px, 4vw, 48px); margin: 8px 0 14px; }
.cta__b { display: grid; gap: 14px; }
.cta__h { font-size: 13.5px; text-align: center; }
.cta__sw { position: absolute; right: -40px; bottom: -60px; width: 360px; color: rgba(23, 83, 58, .12); transform: rotate(-12deg); }
.ft { background: var(--main-d); color: var(--on-main); padding-top: 72px; overflow: hidden; }
.ft__in { display: grid; grid-template-columns: 1.1fr 1.3fr .8fr; gap: 48px; }
.ft__a p { margin-top: 18px; font-size: 14px; color: rgba(246, 244, 236, .78); line-height: 2; }
.ft__lic { display: grid; gap: 10px; font-size: 13.5px; }
.ft__lic div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line-w); }
.ft__lic dt { color: var(--accent); font-weight: 800; }
.ft__lic dd { color: rgba(246, 244, 236, .82); }
.ft__nav { display: grid; gap: 8px; align-content: start; font-weight: 700; }
.ft__nav a:hover { color: var(--accent); }
.ft__big { font-family: var(--dg); font-size: clamp(40px, 11.5vw, 168px); line-height: .9; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1.5px rgba(246, 244, 236, .16); white-space: nowrap; margin: 56px 0 -10px; text-align: center; }
.ft__bt { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid var(--line-w); font-size: 12px; color: rgba(246, 244, 236, .6); }
.ft__bt a { text-decoration: underline; }
.spb { display: none; }

/* モーダル */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(14, 58, 40, .55); }
.modal[hidden] { display: none; }
.modal__b { position: relative; max-width: 460px; width: 100%; background: var(--paper); border: 2px solid var(--line-s); border-radius: var(--r); box-shadow: 8px 8px 0 var(--line-s); padding: 40px 28px 28px; text-align: center; }
.modal__sw { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 64px; height: 50px; display: grid; place-items: center; background: var(--accent); border: 2px solid var(--line-s); border-radius: var(--r); color: var(--main-d); }
.modal__sw .sw { width: 40px; }
.modal__t { font-family: var(--dg); font-size: 21px; line-height: 1.5; }
.modal__d { margin: 14px 0 22px; color: var(--sub); font-size: 15px; text-align: left; }

/* ===== 下層：見出し ===== */
.ph { background: var(--main); color: var(--on-main); padding: 48px 0 56px; border-bottom: 2px solid var(--line-s); position: relative; overflow: hidden; }
.ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--accent) 0 10px, var(--main-d) 10px 20px); }
.ph__in { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.ph--img .ph__in { grid-template-columns: 1.15fr .85fr; }
.crumb { display: flex; gap: 8px; font-size: 13px; color: rgba(246, 244, 236, .7); margin-bottom: 20px; }
.crumb a { text-decoration: underline; }
.ph .st__en { color: var(--accent); }
.ph h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.3; }
.ph__l { margin-top: 16px; max-width: 720px; color: rgba(246, 244, 236, .86); }
.ph__img { border: 2px solid var(--line-s); border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: 8px 8px 0 var(--main-d); }
.ph__img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== 車検シミュレーター ===== */
.sim { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: start; }
.sim__f { display: grid; gap: 18px; }
.fs { background: var(--paper); border: 2px solid var(--line-s); border-radius: var(--r); padding: 22px 22px 24px; }
.fs legend { float: left; width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-weight: 800; font-size: 18px; margin-bottom: 16px; }
.fs legend + * { clear: both; }
.fs legend span { display: grid; place-items: center; width: 32px; height: 32px; font-family: var(--en); background: var(--main); color: var(--accent); border-radius: 4px; }
.fs legend small { flex-basis: 100%; padding-left: 44px; font-size: 13px; font-weight: 500; color: var(--sub); }
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pick { position: relative; cursor: pointer; }
.pick input, .seg input, .sb input, .tog input { position: absolute; opacity: 0; pointer-events: none; }
.pick > span { display: flex; flex-direction: column; height: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r); background: var(--white); transition: border-color .15s, background .15s; }
.pick b { font-family: var(--dg); font-weight: 400; font-size: 19px; line-height: 1.35; }
.pick small { font-size: 12.5px; color: var(--sub); line-height: 1.5; margin-top: 2px; }
.pick:hover > span { border-color: var(--main); }
.pick input:checked + span { border-color: var(--line-s); background: var(--accent-l); box-shadow: inset 0 0 0 2px var(--accent-d); }
.pick input:focus-visible + span, .seg input:focus-visible + span, .sb input:focus-visible ~ .sb__c, .tog input:focus-visible + .tog__s { outline: 3px solid var(--accent); outline-offset: 2px; }
.sel2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; max-width: 460px; }
.hint { margin-top: 10px; font-size: 13.5px; color: var(--sub); }
.hint b { color: var(--main); }
.hint.is-up b { color: var(--red); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { flex: 1 1 auto; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 8px 14px; border: 2px solid var(--line); border-radius: var(--r); background: var(--white); font-weight: 700; font-size: 14.5px; text-align: center; line-height: 1.4; }
.seg span svg { width: 18px; height: 18px; }
.seg input:checked + span { background: var(--main); color: var(--on-main); border-color: var(--line-s); }
.seg--4 label { flex: 1 1 22%; }
.date1 input { max-width: 260px; }
.sb-tools { display: flex; gap: 8px; margin: 14px 0 10px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 6px 14px; border: 2px solid var(--line-s); border-radius: 999px; background: var(--white); font-weight: 700; font-size: 13.5px; }
.chip:hover { background: var(--main-l); }
.chip.is-on { background: var(--ink); color: var(--paper); }
.sbs { display: grid; gap: 8px; }
.sb { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--r); background: var(--white); cursor: pointer; }
.sb__c { width: 26px; height: 26px; border: 2px solid var(--line-s); border-radius: 4px; display: grid; place-items: center; background: var(--white); }
.sb__c svg { width: 16px; height: 16px; opacity: 0; }
.sb input:checked ~ .sb__c { background: var(--main); color: var(--accent); }
.sb input:checked ~ .sb__c svg { opacity: 1; }
.sb:has(input:checked) { border-color: var(--main); }
.sb__t b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 15px; line-height: 1.5; }
.sb__t small { display: block; font-size: 12.5px; color: var(--sub); line-height: 1.55; }
.sb__rec { display: none; font-style: normal; font-size: 11px; font-weight: 800; padding: 1px 8px; background: var(--accent); border-radius: 999px; }
.sb.is-rec .sb__rec { display: inline-block; }
.sb__p { font-family: var(--en); font-weight: 700; font-size: 15px; white-space: nowrap; }
.sim__r { position: sticky; top: calc(var(--hh) + 20px); }
.rc { background: var(--paper); border: 2px solid var(--line-s); border-radius: var(--r); box-shadow: 8px 8px 0 var(--main); padding: 24px; }
.rc__h { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.rc__h span { font-family: var(--en); font-size: 11px; letter-spacing: .14em; background: var(--main); color: var(--accent); padding: 2px 8px; border-radius: 3px; }
.rc__t { margin: 10px 0 14px; line-height: 1; }
.rc__t b { font-family: var(--dg); font-weight: 400; font-size: clamp(44px, 4.6vw, 58px); color: var(--main); letter-spacing: .01em; }
.rc__t em { font-style: normal; font-weight: 800; font-size: 18px; margin-left: 4px; }
.bar { display: flex; height: 16px; border: 2px solid var(--line-s); border-radius: 3px; overflow: hidden; background: var(--white); }
.bar i { display: block; height: 100%; width: 0; transition: width .45s var(--ease); }
.bar .b1, .rc__dl .g1 dt::before { background: var(--main); }
.bar .b2, .rc__dl .g2 dt::before { background: var(--accent); }
.bar .b3, .rc__dl .g3 dt::before { background: #8DB89A; }
.bar i + i { border-left: 2px solid var(--line-s); }
.bar i[style*="width: 0"] { border-left: 0; }
.rc__dl { margin-top: 18px; display: grid; }
.rc__dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1.5px solid var(--line); }
.rc__dl dt { font-weight: 800; font-size: 15px; display: flex; align-items: center; flex-wrap: wrap; gap: 0 8px; }
.rc__dl dt small { flex-basis: 100%; font-weight: 500; font-size: 12px; color: var(--sub); padding-left: 20px; }
.rc__dl .g1 dt::before, .rc__dl .g2 dt::before, .rc__dl .g3 dt::before { content: ""; width: 12px; height: 12px; border: 2px solid var(--line-s); border-radius: 2px; }
.rc__dl dd { font-family: var(--en); font-weight: 700; font-size: 17px; white-space: nowrap; }
.rc__dl dd::after { content: "円"; font-family: var(--jp); font-size: 13px; margin-left: 2px; }
.rc__dl .sub { padding: 6px 0 6px 20px; border-bottom-style: dashed; }
.rc__dl .sub dt { font-weight: 500; font-size: 13px; color: var(--sub); }
.rc__dl .sub dd { font-size: 14px; color: var(--sub); }
.rc__note { margin: 14px 0 18px; font-size: 13px; color: var(--sub); line-height: 1.75; }

/* 料金表 */
.ptbl { overflow-x: auto; border: 2px solid var(--line-s); border-radius: var(--r); background: var(--paper); }
.ptbl table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptbl th, .ptbl td { padding: 14px 16px; border-bottom: 1.5px solid var(--line); text-align: right; white-space: nowrap; }
.ptbl thead th { background: var(--main); color: var(--on-main); font-size: 13.5px; font-weight: 700; text-align: right; line-height: 1.4; }
.ptbl thead th small { font-weight: 500; opacity: .8; }
.ptbl th:first-child { text-align: left; }
.ptbl tbody th { font-weight: 800; }
.ptbl tbody th small { display: block; font-size: 12px; font-weight: 500; color: var(--sub); white-space: normal; }
.ptbl td { font-family: var(--en); font-weight: 600; }
.ptbl .t-sum { font-family: var(--dg); font-weight: 400; font-size: 18px; color: var(--main); background: var(--accent-l); }
.ptbl tbody tr:last-child > * { border-bottom: 0; }
.lg3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.lgb { padding: 22px; border: 2px solid var(--line-s); border-radius: var(--r); background: var(--white); }
.lgb h3 { font-size: 17px; margin-bottom: 8px; display: flex; gap: 8px; }
.lgb h3::before { content: ""; flex: none; width: 6px; margin: 4px 0; background: var(--accent); }
.lgb p { font-size: 14.5px; color: var(--sub); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two > div > p { color: var(--sub); margin-bottom: 24px; }
.two__img { border: 2px solid var(--line-s); border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: 10px 10px 0 var(--main); }
.two__img img { width: 100%; height: 100%; object-fit: cover; }
.two--r { align-items: start; }

/* ===== 点検・整備メニュー ===== */
.tabs { position: sticky; top: var(--hh); z-index: 30; background: var(--paper); border-bottom: 2px solid var(--line-s); }
.tabs__in { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.tabs__in::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 8px 16px; border: 2px solid var(--line-s); border-radius: 999px; font-weight: 800; font-size: 14px; background: var(--white); }
.tab.is-on { background: var(--main); color: var(--on-main); }
.tab--r { background: var(--accent); }
.pblock { margin-bottom: 48px; scroll-margin-top: calc(var(--hh) + 80px); }
.ptbl--menu td:nth-child(2), .ptbl--menu td:nth-child(3) { font-family: var(--en); }
.ptbl--menu td { font-size: 14.5px; }
.ptbl--menu td:nth-child(4) { font-family: var(--jp); font-weight: 500; color: var(--sub); font-size: 13.5px; }
.wt { display: inline-block; font-family: var(--jp); font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; background: var(--main-l); color: var(--main); }

/* 警告灯ガイド */
#lamp { scroll-margin-top: calc(var(--hh) + 60px); }
.lamps { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.lamps__g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 22px; background: #0B0F0D; border: 2px solid var(--line-s); border-radius: 18px; box-shadow: inset 0 0 0 6px #1d2420, inset 0 0 40px rgba(0, 0, 0, .8); }
.lp { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 6px 12px; border: 1.5px solid rgba(255, 255, 255, .08); border-radius: 10px; background: #121815; color: rgba(255, 255, 255, .25); transition: color .2s, background .2s, border-color .2s; }
.lp .lamp { width: 46px; height: 46px; transition: filter .2s; }
.lp span { font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .62); line-height: 1.4; text-align: center; }
.lp--red { color: rgba(232, 84, 60, .55); }
.lp--amber { color: rgba(245, 168, 30, .55); }
.lp:hover, .lp[aria-pressed=true] { border-color: rgba(255, 255, 255, .3); background: #1a221e; }
.lp--red[aria-pressed=true], .lp--red:hover { color: #FF5A40; }
.lp--amber[aria-pressed=true], .lp--amber:hover { color: #FFB020; }
.lp[aria-pressed=true] .lamp { filter: drop-shadow(0 0 8px currentColor); }
.lamps__p { min-height: 100%; background: var(--paper); color: var(--ink); border: 2px solid var(--line-s); border-radius: var(--r); padding: 26px; box-shadow: 6px 6px 0 var(--accent); }
.lamps__empty { display: grid; place-items: center; gap: 12px; min-height: 260px; color: var(--mute); font-weight: 700; text-align: center; }
.lamp--big { width: 80px; height: 80px; }
.lpd__h { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.lpd__h .lamp { width: 54px; height: 54px; flex: none; padding: 8px; border-radius: 10px; background: #0B0F0D; }
.lpd__h.is-red .lamp { color: #FF5A40; } .lpd__h.is-amber .lamp { color: #FFB020; }
.lpd__h h3 { font-size: 21px; }
.lpd__lv { display: inline-block; font-size: 12.5px; font-weight: 800; padding: 2px 10px; border-radius: 999px; color: #fff; margin-top: 2px; }
.lpd__lv.is-red { background: var(--red); } .lpd__lv.is-amber { background: var(--amber); }
.lpd dt { font-weight: 800; font-size: 14px; color: var(--main); margin-top: 14px; }
.lpd dd { font-size: 15px; color: var(--ink); }
.lpd .btn { margin-top: 20px; }
.lamps__key { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; font-size: 14px; }
.lamps__key li { display: flex; align-items: center; gap: 8px; }
.lamps__key i { width: 14px; height: 14px; border-radius: 50%; }
.k-red { background: #FF5A40; box-shadow: 0 0 8px #FF5A40; } .k-amber { background: #FFB020; box-shadow: 0 0 8px #FFB020; }

/* ===== 次の車検 ===== */
.tm { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.tm__in { display: grid; gap: 18px; }
.chk--big { padding: 26px; box-shadow: 8px 8px 0 var(--main); }
.chk--big .chk__h { font-size: 19px; }
.chk--big .chk__res { grid-template-columns: 1fr; }
.chk--big .chk__res li { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chk--big .chk__res b { font-size: 17px; text-align: right; }
.tm__more { background: var(--paper); border: 2px solid var(--line-s); border-radius: var(--r); padding: 22px; }
.tm__y { display: grid; gap: 6px; font-size: 13.5px; color: var(--sub); }
.tline { background: var(--paper); border: 2px solid var(--line-s); border-radius: var(--r); padding: 24px; }
.tline__h { font-family: var(--dg); font-size: 20px; margin-bottom: 18px; }
.tline__l li { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding-bottom: 18px; }
.tline__l li::before { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; border-left: 2px solid var(--line); }
.tline__l li:last-child::before { display: none; }
.tline__l li > i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-s); background: var(--white); margin-top: 2px; }
.tline__l li.is-y > i { background: var(--accent); }
.tline__l li.is-g > i { background: var(--main); }
.tline__l li.is-r > i { background: var(--red); }
.tline__l li.is-past { opacity: .45; }
.tline__l b { display: block; font-family: var(--en); font-weight: 700; font-size: 16px; }
.tline__l span { display: block; font-weight: 800; }
.tline__l small { display: block; font-size: 13px; color: var(--sub); line-height: 1.6; }
.tm__btns { display: grid; gap: 12px; margin-top: 18px; }
.busy { padding: 28px 24px 18px; border: 2px solid var(--line-s); border-radius: var(--r); background: var(--paper); }
.busy__g { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; align-items: end; height: 220px; }
.busy__g li { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 6px; }
.busy__g i { width: 100%; max-width: 46px; height: calc(var(--h) * 180px); background: var(--main-l); border: 2px solid var(--line-s); border-radius: 4px 4px 0 0; transition: background .2s; }
.busy__g li.is-me i { background: var(--accent); }
.busy__g span { font-family: var(--en); font-weight: 700; font-size: 13px; }
.busy__k { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; font-size: 13px; color: var(--sub); }
.busy__k span { display: inline-flex; align-items: center; gap: 6px; }
.busy__k i { width: 16px; height: 12px; border: 2px solid var(--line-s); border-radius: 2px; background: var(--accent); }
.busy__k .bk-hi { background: var(--main-l); border-top: 5px solid var(--red); }
.busy__g li.is-hi i { border-top: 6px solid var(--red); }

/* ===== 予約 ===== */
.rsv { background: var(--paper); border: 2px solid var(--line-s); border-radius: var(--r); box-shadow: 8px 8px 0 var(--main); padding: 30px; }
.rsv__prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 30px; counter-reset: s; }
.rsv__prog li { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 6px; border: 2px solid var(--line); border-radius: var(--r); font-weight: 800; font-size: 14px; color: var(--mute); background: var(--white); }
.rsv__prog b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); font-family: var(--en); font-size: 13px; }
.rsv__prog li.is-on { border-color: var(--line-s); color: var(--ink); background: var(--accent); }
.rsv__prog li.is-done { color: var(--main); border-color: var(--main); }
.rsv__prog li.is-on b, .rsv__prog li.is-done b { background: var(--main); color: var(--on-main); }
.rsv__p { display: none; }
.rsv__p.is-on { display: block; animation: fadein .35s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.picks--m { grid-template-columns: repeat(2, 1fr); }
.pick--m span { gap: 2px; }
.pick--m b { font-size: 18px; }
.pick--m small { display: flex; align-items: center; gap: 4px; }
.pick--m small svg { width: 14px; height: 14px; flex: none; }
.pick--m em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--main); }
.rsv__est { margin-bottom: 16px; padding: 12px 16px; border: 2px solid var(--accent-d); background: var(--accent-l); border-radius: var(--r); font-weight: 700; }
.rsv__opt { margin-top: 22px; padding-top: 20px; border-top: 2px dashed var(--line); display: grid; gap: 12px; }
.rsv__opt[hidden] { display: none; }
.lbl { font-weight: 800; font-size: 15px; }
.seg label.is-dis { opacity: .4; pointer-events: none; }
.tog { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; font-size: 15px; position: relative; }
.tog[hidden] { display: none; }
.tog__s { flex: none; width: 52px; height: 30px; border: 2px solid var(--line-s); border-radius: 999px; background: var(--white); position: relative; transition: background .2s; }
.tog__s::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); transition: transform .2s var(--ease); }
.tog input:checked + .tog__s { background: var(--main); }
.tog input:checked + .tog__s::after { transform: translateX(22px); background: var(--accent); }
.rsv__wait { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--main); font-weight: 700; background: var(--main-l); padding: 10px 14px; border-radius: var(--r); }
.rsv__wait:empty { display: none; }
.err { margin-top: 14px; padding: 10px 14px; border-left: 5px solid var(--red); background: #FBEAE6; color: var(--red); font-weight: 700; font-size: 14px; }
.rsv__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.rsv__nav .btn { min-width: 140px; }
.rsv__win { margin-bottom: 14px; padding: 10px 14px; background: var(--main-l); border-radius: var(--r); font-size: 14px; font-weight: 700; color: var(--main); }
.cal { border: 2px solid var(--line-s); border-radius: var(--r); background: var(--white); padding: 14px; }
.cal__h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__h b { font-family: var(--en); font-size: 19px; }
.cal__h button { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--line-s); border-radius: var(--r); background: var(--paper); }
.cal__h button svg { width: 18px; height: 18px; }
.cal__h button:first-child svg { transform: scaleX(-1); }
.cal__h button[disabled] { opacity: .3; pointer-events: none; }
.cal__w, .cal__g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__w span { text-align: center; font-size: 12px; font-weight: 800; color: var(--sub); padding: 4px 0; }
.cal__w span:first-child { color: var(--red); } .cal__w span:last-child { color: #2F6CB3; }
.cal__d { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 58px; padding: 4px 0; border: 1.5px solid var(--line); border-radius: 4px; background: var(--white); font-family: var(--en); font-weight: 700; font-size: 15px; line-height: 1.2; }
.cal__d small { font-family: var(--jp); font-size: 13px; font-weight: 800; }
.cal__d.ok small { color: var(--ok); } .cal__d.few small { color: var(--amber); }
.cal__d.ng, .cal__d.past, .cal__d.nocar { background: var(--bg); color: var(--mute); cursor: default; }
.cal__d.ng small, .cal__d.past small { color: var(--mute); }
.cal__d.nocar small { color: var(--mute); font-size: 10px; letter-spacing: -.02em; white-space: nowrap; }
@media (max-width: 640px) { .cal__d.nocar small { font-size: 8.5px; } }
.cal__d.win { box-shadow: inset 0 -5px 0 var(--accent); }
.cal__d.today { border-color: var(--main); }
.cal__d.today::before { content: "今日"; position: absolute; top: -1px; left: 50%; transform: translate(-50%, -50%); font-family: var(--jp); font-size: 9.5px; padding: 0 4px; background: var(--main); color: var(--on-main); border-radius: 3px; line-height: 1.5; }
.cal__d.is-sel { background: var(--main); color: var(--on-main); border-color: var(--line-s); }
.cal__d.is-sel small { color: var(--accent); }
button.cal__d:hover { border-color: var(--main); }
.cal__d.blank { visibility: hidden; }
.cal__k { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; font-size: 12.5px; color: var(--sub); }
.cal__k span { display: inline-flex; align-items: center; gap: 4px; }
.cal__k span[hidden] { display: none; }
.cal__k i { font-style: normal; font-weight: 800; }
.cal__k .ok { color: var(--ok); } .cal__k .few { color: var(--amber); } .cal__k .ng { color: var(--mute); }
.cal__k .nocar { font-size: 11px; color: var(--mute); border: 1px solid var(--mute); padding: 0 3px; border-radius: 3px; }
.cal__k .win { width: 18px; height: 5px; background: var(--accent); }
.slots { margin-top: 18px; }
.slots__g { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 10px; }
.slot { min-height: 50px; border: 2px solid var(--line-s); border-radius: var(--r); background: var(--white); font-family: var(--en); font-weight: 700; font-size: 16px; }
.slot:hover { background: var(--main-l); }
.slot.is-sel { background: var(--accent); }
.slot[disabled] { border-color: var(--line); color: var(--mute); background: var(--bg); text-decoration: line-through; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fl { display: grid; gap: 6px; font-weight: 800; font-size: 14.5px; margin-bottom: 16px; }
.fl > span { display: flex; align-items: center; gap: 8px; }
.fl em, .fl .opt { font-style: normal; font-size: 11px; padding: 1px 8px; border-radius: 3px; line-height: 1.6; }
.fl em { background: var(--red); color: #fff; }
.fl .opt { background: var(--bg); color: var(--sub); }
input.is-err, textarea.is-err { border-color: var(--red); background: #FFF6F4; }
.conf { display: grid; border: 2px solid var(--line-s); border-radius: var(--r); overflow: hidden; background: var(--white); }
.conf div { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1.5px solid var(--line); }
.conf div:last-child { border-bottom: 0; }
.conf dt { padding: 12px 16px; background: var(--main-l); font-weight: 800; font-size: 14px; }
.conf dd { padding: 12px 16px; font-size: 15px; word-break: break-all; }

/* ===== 工場について ===== */
.msg { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.lead { font-family: var(--dg); font-weight: 400; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.55; margin-bottom: 26px; }
.msg__t p + p { margin-top: 1.2em; }
.msg__t > p { color: var(--sub); }
.sign { font-weight: 800; color: var(--ink) !important; }
.sign small { font-weight: 500; color: var(--sub); margin-left: 4px; }
.msg__img { border: 2px solid var(--line-s); border-radius: var(--r); overflow: hidden; aspect-ratio: 2 / 3; box-shadow: 10px 10px 0 var(--accent); max-height: 620px; }
.msg__img img { width: 100%; height: 100%; object-fit: cover; }
.lics { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lc { padding: 28px; border: 2px solid var(--line-s); border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
.lc h3 { font-size: 20px; margin: 14px 0 8px; }
.lc p { color: var(--sub); font-size: 15px; }
.lc__no { margin-top: 16px; padding: 12px 14px; border: 2px dashed var(--line-s); border-radius: 4px; font-family: var(--en); font-weight: 600; font-size: 14px; color: var(--ink) !important; background: var(--paper); }
.spec { border-top: 2px solid var(--line-s); }
.spec div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1.5px solid var(--line); }
.spec dt { font-weight: 800; font-size: 14.5px; }
.spec dd { font-size: 15px; color: var(--sub); }
.staff { border: 2px solid var(--line-s); border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; max-height: 640px; width: 100%; box-shadow: 10px 10px 0 var(--accent); }
.staff img { width: 100%; height: 100%; object-fit: cover; }
.map { border: 2px solid var(--line-s); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.map svg { width: 100%; height: auto; }
.map p { padding: 8px 14px; font-size: 12.5px; color: var(--sub); border-top: 1.5px solid var(--line); }
.acc { margin-top: 16px; color: var(--sub); font-size: 15px; }

/* ===== よくある質問 ===== */
.fq-tools { display: grid; gap: 14px; margin-bottom: 18px; }
.fq-s { display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 2px solid var(--line-s); border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
.fq-s svg { width: 22px; height: 22px; flex: none; color: var(--main); }
.fq-s input { border: 0; min-height: 56px; padding: 0; background: transparent; }
.fq-s input:focus { outline: none; }
.fq-s:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fq-n { margin-bottom: 12px; font-size: 14px; color: var(--sub); }
.fq-n b { font-family: var(--en); font-size: 20px; color: var(--ink); margin-right: 2px; }
.fq-none { padding: 24px; border: 2px dashed var(--line-s); border-radius: var(--r); text-align: center; color: var(--sub); }
mark { background: var(--accent-l); color: inherit; padding: 0 2px; }

/* ===== 出現 ===== */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ===== タブレット ===== */
@media (max-width: 1180px) {
  .hd__nav, .hd__tel { display: none; }
  .hd__rsv { margin-left: auto; }
  .mb { display: block; margin-left: 0; }
  .mcs { grid-template-columns: repeat(2, 1fr); }
  .tks { grid-template-columns: repeat(2, 1fr); }
  .ft__in { grid-template-columns: 1fr 1fr; }
  .ft__nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; }
}
@media (max-width: 960px) {
  .wrap { width: calc(100% - 48px); }
  .sec { padding: 80px 0; }
  .sec--t { padding-top: 40px; }
  .hero { padding: 48px 0 72px; }
  .hero__in, .board-wrap, .flow-wrap, .about-t, .two, .msg, .sim, .tm, .lamps, .cta__in, .ph--img .ph__in { grid-template-columns: 1fr; gap: 36px; }
  .hero__v { padding-bottom: 0; }
  .chk--hero { position: relative; left: auto; right: auto; margin: -36px 14px 0; }
  .about-t__img, .msg__img { max-height: 460px; aspect-ratio: 4 / 5; }
  .pms, .lg3, .lics { grid-template-columns: 1fr; gap: 28px; }
  .sim__r { position: static; }
  .ph__img { max-width: 560px; }
  .lamps__p { min-height: 0; }
  .cta__sw { width: 220px; }
}
/* ===== スマホ ===== */
@media (max-width: 640px) {
  :root { --hh: 62px; }
  body { font-size: 15.5px; }
  .sp { display: inline; }
  .pc { display: none; }
  .wrap { width: calc(100% - 32px); }
  .sec { padding: 64px 0; }
  .st { margin-bottom: 26px; }
  .row { display: block; }
  .row .more { margin: -6px 0 24px; }
  .hd__in { gap: 10px; width: calc(100% - 24px); }
  .logo__m { width: 40px; height: 40px; } .logo__m .sw { width: 30px; }
  .logo__t b { font-size: 17px; } .logo__t small { font-size: 8px; letter-spacing: .12em; }
  .hd__rsv { display: none; }
  .mb { margin-left: auto; width: 46px; height: 46px; }
  .mb i:nth-child(1) { top: 14px; } .mb i:nth-child(2) { top: 20.5px; } .mb i:nth-child(3) { top: 27px; }
  .hero { padding: 40px 0 64px; }
  .hero h1 { font-size: 40px; }
  .hero__d { font-size: 15.5px; margin-top: 18px; }
  .hero__btn { flex-direction: column; }
  .hero__btn .btn { width: 100%; }
  .hero__img { box-shadow: 6px 6px 0 var(--main-d); }
  .chk--hero { margin: -28px 6px 0; padding: 16px; }
  .chk__res { grid-template-columns: 1fr 1fr; }
  .chk__res li:last-child { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .chk__res li:last-child b { margin: 0; }
  .chk__in input { flex-basis: 100%; }
  .mq__t span { font-size: 18px; padding: 0 16px; }
  .mq__t .sw { width: 22px; }
  .board { padding: 20px 16px 14px; }
  .board__g { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .board__g > li:first-child { grid-column: 1 / -1; padding: 0 0 16px; border-bottom: 1.5px solid var(--line); }
  .board__g > li:nth-child(2) { padding-left: 0; border-left: 0; }
  .board__big b { font-size: 34px; }
  .tks { grid-template-columns: 1fr; gap: 16px; }
  .tk { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; padding: 18px; }
  .tk::before, .tk::after { display: none; }
  .tk__c { border: 0; padding: 0; margin: 0; min-height: 0; }
  .tk__c b { font-size: 20px; }
  .tk__p { text-align: right; }
  .tk__p b { font-size: 30px; }
  .tk__d { grid-column: 1 / -1; margin-top: 10px; padding-top: 10px; border-top: 2px dashed var(--line); }
  .pm { padding: 30px 20px 22px; }
  .mcs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mc { grid-template-columns: 1fr; grid-template-rows: auto; padding: 14px; row-gap: 2px; }
  .mc i { grid-row: auto; width: 42px; height: 42px; margin-bottom: 6px; }
  .mc b { font-size: 15.5px; }
  .tl li { grid-template-columns: 62px 1fr; gap: 14px; }
  .tl li::before { left: 30px; }
  .tl time { font-size: 14px; }
  .tl h3 { font-size: 17px; }
  .nums { grid-template-columns: 1fr 1fr; }
  .nums li:nth-child(3) { border-left: 0; }
  .nums li:nth-child(n+3) { border-top: 1.5px solid var(--line); }
  .qa summary { font-size: 15.5px; padding: 14px 44px 14px 12px; gap: 10px; }
  .qa summary span { width: 30px; height: 30px; }
  .qa summary::after { right: 16px; }
  .qa p { padding: 0 16px 16px 16px; font-size: 15px; }
  .cta { padding: 60px 0 64px; }
  .ft { padding-top: 56px; padding-bottom: 74px; }
  .ft__in { grid-template-columns: 1fr; gap: 28px; }
  .ft__big { margin-top: 36px; }
  .spb { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: var(--paper); border-top: 2px solid var(--line-s); padding-bottom: env(safe-area-inset-bottom); }
  .spb a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; font-weight: 800; font-size: 12px; border-left: 1.5px solid var(--line); }
  .spb a:first-child { border-left: 0; }
  .spb svg { width: 20px; height: 20px; }
  .spb .is-main { background: var(--accent); font-size: 14px; flex-direction: row; gap: 6px; border-left: 2px solid var(--line-s); }
  .ph { padding: 32px 0 44px; }
  .crumb { margin-bottom: 14px; }
  .ph h1 { font-size: 34px; }
  .ph__l { font-size: 15px; }
  .fs { padding: 18px 14px 18px; }
  .fs legend { font-size: 16.5px; }
  .fs legend small { padding-left: 0; }
  .picks { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pick > span { padding: 10px 12px; }
  .pick b { font-size: 17px; }
  .seg--4 label { flex: 1 1 40%; }
  .sb { grid-template-columns: 26px 1fr; padding: 10px 12px; }
  .sb__p { grid-column: 2; }
  .rc { padding: 20px 18px; box-shadow: 6px 6px 0 var(--main); }
  .ptbl table { font-size: 14px; }
  .ptbl th, .ptbl td { padding: 12px 10px; }
  /* メニューの料金表はスマホで縦積みのカードに */
  .ptbl--menu { overflow: visible; border: 0; background: none; }
  .ptbl--menu table, .ptbl--menu tbody { display: block; }
  .ptbl--menu thead { display: none; }
  .ptbl--menu tr { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 14px 16px; margin-bottom: 10px; border: 2px solid var(--line-s) !important; border-radius: var(--r); background: var(--paper); }
  .ptbl--menu th, .ptbl--menu td { border: 0 !important; padding: 0; white-space: normal; text-align: left; }
  .ptbl--menu tbody th { grid-column: 1 / -1; font-size: 16px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1.5px dashed var(--line) !important; }
  .ptbl--menu td[data-l]::before { content: attr(data-l); display: block; font-family: var(--jp); font-size: 11.5px; font-weight: 700; color: var(--sub); }
  .ptbl--menu td[data-l=""]::before { content: none; }
  .ptbl--menu td:nth-child(2), .ptbl--menu td:nth-child(3) { font-size: 17px; }
  .ptbl--menu td:nth-child(4) { margin-top: 8px; }
  .ptbl--menu td:nth-child(5) { margin-top: 8px; align-self: end; }
  .lamps__g { grid-template-columns: repeat(2, 1fr); padding: 14px; gap: 8px; }
  .lamps__p { padding: 20px; }
  .two__img, .staff { box-shadow: 6px 6px 0 var(--main); }
  .busy { padding: 18px 12px 12px; }
  .busy__g { gap: 4px; height: 170px; }
  .busy__g i { height: calc(var(--h) * 130px); }
  .busy__g span { font-size: 10.5px; }
  .rsv { padding: 18px 14px; box-shadow: 5px 5px 0 var(--main); }
  .rsv__prog { gap: 4px; margin-bottom: 22px; }
  .rsv__prog li { flex-direction: column; gap: 2px; font-size: 11.5px; padding: 8px 2px; }
  .picks--m { grid-template-columns: 1fr; }
  .f2 { grid-template-columns: 1fr; gap: 0; }
  .rsv__nav .btn { min-width: 0; flex: 1; }
  .cal { padding: 10px 6px; }
  .cal__w, .cal__g { gap: 3px; }
  .cal__d { min-height: 52px; font-size: 14px; }
  .conf div { grid-template-columns: 1fr; }
  .conf dt { padding: 8px 14px; }
  .lc { padding: 22px 18px; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
  .modal__b { padding: 36px 20px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__fly, .mq__t { animation: none !important; }
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
.ph__img--v { aspect-ratio: 2 / 3; max-width: 340px; justify-self: end; }
@media (max-width: 960px) { .ph__img--v { aspect-ratio: 3 / 2; max-width: none; justify-self: stretch; } }

/* スマホ：シミュレーターの総額バー・料金表のカード化 */
.sim__float { display: none; }
@media (max-width: 960px) {
  .sim__float { position: fixed; left: 12px; right: 12px; bottom: 72px; z-index: 45; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; padding: 10px 16px; background: var(--paper); border: 2px solid var(--line-s); border-radius: var(--r); box-shadow: 4px 4px 0 var(--main); font-weight: 800; transform: translateY(160%); transition: transform .3s var(--ease); }
  .sim__float.is-on { transform: none; }
  .sim__float small { flex-basis: 100%; font-size: 11.5px; color: var(--sub); line-height: 1.3; }
  .sim__float b { font-family: var(--dg); font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--main); }
  .sim__float span { margin-left: auto; font-size: 13px; text-decoration: underline; }
}
@media (min-width: 641px) and (max-width: 960px) { .sim__float { bottom: 16px; } }
@media (max-width: 640px) {
  .ptbl--cards { overflow: visible; border: 0; background: none; }
  .ptbl--cards table, .ptbl--cards tbody { display: block; }
  .ptbl--cards thead { display: none; }
  .ptbl--cards tr { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 8px; padding: 14px 14px 12px; margin-bottom: 10px; border: 2px solid var(--line-s) !important; border-radius: var(--r); background: var(--paper); }
  .ptbl--cards th, .ptbl--cards td { border: 0 !important; padding: 0; white-space: normal; text-align: left; font-size: 14px; }
  .ptbl--cards tbody th { grid-column: 1 / 3; grid-row: 1; font-size: 17px; }
  .ptbl--cards td[data-l]::before { content: attr(data-l); display: block; font-family: var(--jp); font-size: 11px; font-weight: 700; color: var(--sub); }
  .ptbl--cards .t-sum { grid-column: 3 / 5; grid-row: 1; text-align: right; background: none; font-size: 22px; }
  .ptbl--cards td:not(.t-sum) { margin-top: 10px; padding-top: 8px; border-top: 1.5px dashed var(--line) !important; }
}
