:root {
  --ink: #28221e;
  --paper: #f8f3e8;
  --muted: #5b4d43;
  --accent: #f3bf73;
  --pale: #f3e7d5;
  --line: #d2c0ae;
  --red: #a7331d;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
body, p, h1, h2, h3, figure { margin: 0; }
a { color: inherit; }
button, select, input, textarea { font: inherit; min-width: 0; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #41661f; outline-offset: 4px; }
.skip { position: absolute; z-index: 2; top: 0; left: 12px; padding: 10px; background: var(--accent); transform: translateY(-120%); }
.skip:focus { transform: none; }
.wrap { width: min(1200px, calc(100% - 68px)); margin-inline: auto; }
.mast { border-bottom: 1px solid var(--line); background: #fffaf1; }
.mast-inner, .mast nav { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.mast-inner { min-height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; line-height: 1.17; }
.brand small { display: block; font-size: .66rem; color: #49514b; margin-bottom: 4px; font-weight: 650; }
.brand strong { font-size: 1.06rem; font-weight: 900; }
.mark { width: 39px; height: 39px; display: grid; place-items: center; background: var(--red); color: white; border-radius: 50%; font-size: .75rem; font-weight: 900; }
.mast nav a { min-height: 40px; display: flex; align-items: center; gap: 7px; text-decoration: none; font-size: .83rem; font-weight: 800; white-space: nowrap; }
.mast nav a:hover, .source:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3.7vw, 56px); align-items: center; padding-block: 38px 28px; }
.hero-copy { padding: 12px 0; min-width: 0; }
.scope { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: #394238; font-size: .83rem; font-weight: 800; }
.scope span { width: 10px; height: 10px; background: var(--accent); border: 1px solid var(--ink); }
h1, h2, h3 { line-height: 1.16; font-weight: 900; letter-spacing: -.045em; }
h1 { font-size: clamp(2.8rem, 5.6vw, 5.25rem); line-height: 1.12; letter-spacing: -.055em; }
h1 em { font-style: normal; background: linear-gradient(transparent 65%, var(--accent) 65%, var(--accent) 94%, transparent 94%); }
.intro { max-width: 33em; margin-block: 17px 22px; font-size: 1rem; color: #343b34; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 17px; min-height: 51px; background: var(--red); border: 1px solid var(--red); color: white; border-radius: 4px; font-weight: 850; text-decoration: none; }
.button:hover { background: #872715; }
.call:hover { background: #f8d99c; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 15px; }
.text-link { font-size: .86rem; font-weight: 800; text-underline-offset: 5px; }
.equipment-note { margin-top: 13px; color: var(--muted); font-size: .75rem; font-weight: 650; }
.hero-media { display: grid; grid-template-rows: 1fr auto; min-width: 0; }
.photo { position: relative; min-height: clamp(290px, 35vw, 418px); background: #51372a; border-radius: 4px; overflow: hidden; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 43%; }
.photo figcaption { position: absolute; bottom: 12px; right: 12px; color: white; background: #161a18; padding: 3px 8px; font-size: .69rem; }
.plate { min-height: 66px; margin-top: 10px; border: 1px dashed #9a704c; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; background: #fff7e4; padding: 10px 13px; text-decoration: none; line-height: 1.35; }
.plate:hover { background: #fbeac8; }
.plate-icon { display: grid; place-items: center; font-size: .75rem; font-weight: 800; background: var(--red); color: #fff; width: 38px; height: 38px; border-radius: 50%; }
.plate strong, .plate small { display: block; }
.plate strong { font-size: .87rem; font-weight: 900; }
.plate small { color: #3c463e; margin-top: 3px; font-size: .72rem; }
.plate-arrow { font-weight: 900; }
.symptom-strip { display: flex; flex-wrap: wrap; gap: 7px 20px; padding-block: 13px 23px; font-size: .82rem; }
.symptom-strip span + span { border-left: 1px solid var(--line); padding-left: 17px; }
.symptom-strip strong { color: var(--red); }
.destinations { border-block: 1px solid var(--line); background: #fffefa; padding-block: 43px 48px; scroll-margin-top: 12px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
h2 { font-size: clamp(1.85rem, 4.2vw, 3.8rem); }
.section-head p { max-width: 29em; color: var(--muted); font-size: .83rem; }
.routes { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 19px; }
.routes button { border: 1.5px solid var(--ink); background: #fffefa; color: var(--ink); padding: 8px 11px; min-height: 44px; font-size: .85rem; font-weight: 800; }
.routes button[aria-pressed="true"] { background: var(--ink); color: var(--accent); }
.routes button:hover:not([aria-pressed="true"]) { background: var(--pale); }
.route-feedback { margin-block: 11px 15px; color: #454e44; font-size: .82rem; }
.provider-grid { display: grid; grid-template-columns: .9fr 1.1fr 1fr; gap: 11px; }
.provider-grid.narrow { grid-template-columns: repeat(2,minmax(0,1fr)); }
.provider-grid.narrow .provider-manufacturer { grid-column: 1 / -1; }
.provider { display: flex; flex-direction: column; min-width: 0; min-height: 210px; padding: clamp(14px, 2vw, 24px); border: 1.5px solid var(--ink); background: var(--paper); }
.provider-manufacturer { background: #f4eee4; }
.provider-local:nth-child(2) { background: #fff2d9; }
.provider-kind { font-size: .72rem; font-weight: 850; margin-bottom: 11px; color: #405044; }
.provider h3 { font-size: clamp(1.18rem, 2vw, 1.65rem); margin-bottom: 10px; }
.provider p:not(.provider-kind) { font-size: .83rem; margin-bottom: 14px; }
.call { min-height: 44px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 12px; padding: 7px 9px; margin-top: auto; background: var(--accent); color: var(--ink); border: 1.5px solid var(--ink); font-size: .8rem; font-weight: 800; text-decoration: none; }
.call strong { font-variant-numeric: tabular-nums; font-size: .94rem; }
.secondary { background: #fffefa; color: var(--ink); }
.source { margin-top: 7px; font-size: .71rem; color: #3e4940; }
.memo-section { background: var(--ink); color: var(--paper); padding-block: 51px; scroll-margin-top: 12px; }
.memo-layout { display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(24px, 6vw, 88px); align-items: start; }
.memo-copy h2 { margin-bottom: 17px; }
.memo-copy > p { max-width: 32em; }
.example-note { margin-block: 20px 14px; border-block: 1px solid #738073; padding-block: 9px; }
.example-note summary { color: var(--accent); font-weight: 800; }
.example-note p, .preview-note { font-size: .83rem; color: #d7ded2; }
.example-note p { margin-top: 8px; }
.request-card { background: #fffefa; color: var(--ink); padding: clamp(17px, 3vw, 33px); border: 2px solid #3b483c; }
.memo-fields { display: grid; gap: 13px; min-inline-size: 0; padding: 0; margin: 0; border: 0; }
.field-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
label { display: block; min-width: 0; font-size: .82rem; font-weight: 850; }
label small { font-size: .73rem; color: var(--muted); }
input, select, textarea { display: block; width: 100%; min-height: 44px; margin-top: 4px; border: 1.5px solid #7a857b; border-radius: 0; background: white; color: var(--ink); padding: 8px 9px; font-size: 1rem; }
.result { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 15px; }
.result h3 { margin-bottom: 7px; }
.result textarea { resize: vertical; margin-bottom: 13px; }
.result .button { box-shadow: none; }
.plain { color: var(--ink); background: transparent; border: none; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
.status { min-height: 1.5em; margin-top: 7px; font-size: .84rem; }
.send-note { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.send-note p { font-size: .83rem; margin-bottom: 10px; }
.result .secondary:hover { background: var(--pale); color: var(--ink); }
.mobile-actions { display: none; }
.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 30px; padding-block: 45px; }
.faq h2 { font-size: clamp(1.6rem,3.7vw,2.7rem); }
.faq details { border-top: 1px solid var(--line); padding-block: 10px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
summary { font-weight: 800; min-height: 28px; }
.faq details p { margin-top: 5px; font-size: .91rem; color: #435045; }
footer { border-top: 2px solid var(--ink); }
.footer-inner { display: flex; justify-content: space-between; gap: 15px; padding-block: 21px; font-size: .76rem; }
.footer-inner strong { font-size: .9rem; }
@media (max-width: 860px) {
  .wrap { width: calc(100% - 40px); }
  .hero-copy { padding: 9px 0; }
  .provider-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .provider-manufacturer { grid-column: 1 / -1; min-height: 0; }
}
@media (max-width: 660px) {
  .wrap { width: calc(100% - 30px); }
  .mast-inner { min-height: 60px; gap: 8px; }
  .mast nav { gap: 12px; }
  .mast nav a { font-size: .69rem; }
  .brand { gap: 7px; }
  .brand strong { font-size: .91rem; }
  .mark { width: 32px; height: 32px; font-size: .65rem; }
  .hero { grid-template-columns: minmax(0,1fr); padding-block: 18px 12px; gap: 12px; }
  .hero-copy { padding: 4px 0 6px; }
  h1 { font-size: clamp(2.35rem, 10.9vw, 4.2rem); }
  .scope { font-size: .69rem; margin-bottom: 12px; }
  .intro { font-size: .9rem; margin-block: 12px 16px; }
  .equipment-note { font-size: .68rem; }
  .photo { min-height: clamp(170px,48vw,270px); }
  .plate { min-height: 62px; padding: 8px 10px; gap: 8px; }
  .plate-icon { width: 30px; height: 30px; }
  .plate small { font-size: .67rem; }
  .destinations, .memo-section, .faq { padding-block: 30px; }
  .section-head { align-items: start; flex-direction: column; gap: 8px; }
  .memo-layout, .faq, .provider-grid, .provider-grid.narrow { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .provider { min-height: 0; }
  .footer-inner { flex-direction: column; padding-bottom: 93px; }
  .symptom-strip { gap: 6px 13px; padding-bottom: 16px; font-size: .75rem; }
  .symptom-strip span + span { border-left: none; padding-left: 0; }
  .mobile-actions { display: grid; grid-template-columns: .78fr 1.22fr; position: fixed; z-index: 3; bottom: 0; inset-inline: 0; gap: 6px; padding: 6px 8px max(6px, env(safe-area-inset-bottom)); background: #fffaf1; border-top: 1px solid var(--line); }
  .mobile-actions a { display: grid; place-items: center; grid-auto-flow: column; align-content: center; justify-content: center; gap: 4px; background: var(--paper); min-height: 44px; border: 1px solid var(--line); color: var(--ink); border-radius: 4px; text-decoration: none; font-size: .75rem; font-weight: 800; }
  .mobile-actions a + a { background: var(--red); border-color: var(--red); color: white; }
}
@media (max-width: 365px) {
  .mast nav { gap: 7px; }
  .mast nav a { font-size: .65rem; }
  .field-pair { grid-template-columns: minmax(0,1fr); }
}
