:root {
  color-scheme: light;
  --paper: #f8f8f3;
  --white: #fff;
  --ink: #162a23;
  --muted: #485b51;
  --green: #1c4c3b;
  --wash: #e9efe6;
  --rule: #d3dfd4;
  --line: #087b43;
  --focus: #bd4e17;
  font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  scroll-padding-top: 1rem;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 1rem; line-height: 1.75; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.37; font-weight: 750; }
h1 { letter-spacing: -.035em; }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); letter-spacing: -.025em; }
h3 { font-size: 1.075rem; }
a { color: inherit; text-underline-offset: .24em; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.shell { width: min(100% - 5rem, 72.5rem); margin-inline: auto; }
.skip { position: fixed; z-index: 3; inset: 1rem auto auto 1rem; padding: .65rem 1rem; transform: translateY(-180%); background: var(--white); }
.skip:focus { transform: none; }
.preview-note { background: #e6ede2; text-align: center; color: #304d3d; padding: .27rem; font-size: .82rem; font-weight: 700; }
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 4.15rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.5rem; font-weight: 800; line-height: 1; text-decoration: none; white-space: nowrap; letter-spacing: .08em; }
.wordmark-mark { position: relative; overflow: hidden; width: 1.72rem; height: 1.72rem; background: var(--green); border-radius: .28rem; }
.wordmark-mark::after { content: ""; position: absolute; inset: .51rem .33rem; border-block: .17rem solid #dcead9; transform: rotate(-28deg); }
.header-inner nav { display: flex; align-items: center; gap: clamp(.7rem, 3.2vw, 2.1rem); }
.header-inner nav a { min-height: 2.75rem; display: inline-flex; align-items: center; font-size: .9rem; font-weight: 700; white-space: nowrap; text-decoration: none; }
.header-inner nav a:hover { text-decoration: underline; }
.header-inner .header-contact { color: var(--green); border: 1px solid #b9cbbb; border-radius: .42rem; padding-inline: .85rem; }

.hero-copy { min-width: 0; }
.overline { color: var(--green); font-weight: 800; letter-spacing: .065em; font-size: .88rem; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; }
.hero-media { min-width: 0; overflow: hidden; background: var(--wash); }
.hero-media img { object-fit: cover; }
.hero-media figcaption { position: absolute; right: .7rem; bottom: .6rem; padding: .14rem .45rem; border-radius: .22rem; background: #142921; color: var(--white); font-size: .73rem; }
.cta-wrap { display: grid; justify-items: start; gap: .48rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3.2rem; border: 0; border-radius: .42rem; padding: .7rem 1.3rem; font-weight: 750; text-decoration: none; }
.button-line { background: var(--line); color: var(--white); }
.button-line[href]:hover { background: #066337; }
.button-outline { color: var(--green); border: 1px solid #94aa98; background: var(--white); }
.button-outline:hover { background: var(--wash); }
.button-line:disabled { background: #d5dfd5; color: #42564a; }
.line-icon { width: 1.05rem; height: .82rem; border-radius: 48%; background: currentColor; position: relative; }
.line-icon::after { content: ""; position: absolute; left: .26rem; bottom: -.18rem; border: .2rem solid transparent; border-left-color: currentColor; transform: rotate(13deg); }
.cta-note { color: var(--muted); font-size: .85rem; }
.text-link { color: var(--green); font-weight: 750; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

.section-wrap { padding-block: clamp(1.85rem, 4vw, 3.5rem); border-top: 1px solid var(--rule); }
.section-intro { margin-bottom: 1.35rem; }
.section-intro p { color: var(--muted); max-width: 54rem; margin-top: .5rem; }
.topic-list, .check-list, .loan-cards, .vehicle-grid, .crumb ol, .purchase-steps, .vehicle-check-list { list-style: none; padding: 0; margin: 0; }
.topic-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 1rem 2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--rule); }
.topic-row h2 { color: var(--green); font-size: 1.2rem; }
.topic-row > div > p { margin-top: .38rem; font-size: .92rem; color: var(--muted); }
.topic-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.topic-list a { display: flex; align-items: center; min-height: 2.75rem; height: 100%; padding: .5rem .75rem; border: 1px solid var(--rule); border-radius: .38rem; background: var(--white); color: var(--green); text-decoration: none; font-weight: 700; line-height: 1.45; }
.topic-list a:hover { border-color: #80a48d; background: #edf3ea; }
.loan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.loan-cards a { display: flex; flex-direction: column; align-items: start; height: 100%; padding: clamp(1rem, 2.2vw, 1.55rem); border: 1px solid var(--rule); border-radius: .55rem; background: var(--white); text-decoration: none; }
.loan-cards a:hover { border-color: #80a48d; background: var(--wash); }
.loan-cards li:first-child a { background: #e8f0e6; border-color: #aec4b1; }
.loan-cards li:first-child a:hover { background: #dbe9da; }
.loan-cards h3 { color: var(--green); font-size: 1.18rem; }
.loan-cards p { margin-block: .5rem 1rem; color: var(--muted); }
.loan-cards .text-link { margin-top: auto; text-decoration: underline; }
.home-car-use .text-link { display: inline-block; margin-top: 1rem; }
.home-car-use .home-photo img { aspect-ratio: 1.27; }
.home-use-list h3 { color: var(--green); }
.home-inventory { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.15rem, 3.2vw, 2.5rem); align-items: center; margin-bottom: clamp(1.85rem, 4vw, 3.5rem); padding: clamp(1.2rem, 4vw, 2.85rem); background: #234637; color: var(--white); border-radius: .65rem; }
.home-inventory h2 + p { margin-block: .65rem 1rem; color: #e0ece2; }
.home-inventory .button { min-height: 2.8rem; }
.budget-brief { padding: clamp(.8rem, 2.4vw, 1.5rem); background: #e3efe1; border-radius: .45rem; color: var(--ink); }
.budget-brief > p:first-child { font-weight: 750; color: var(--green); }
.budget-brief > strong { display: block; font-size: clamp(1.3rem, 2.5vw, 2.05rem); line-height: 1.38; overflow-wrap: anywhere; margin-block: .15rem .45rem; }
.budget-brief > p:last-child { font-size: .9rem; color: var(--muted); }
.home-cost-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: .95rem; }
.home-cost-list > div { padding: clamp(.95rem, 2.3vw, 1.55rem); border-radius: .4rem; background: #e9efe6; }
.home-cost-list dt { color: var(--green); font-size: 1.08rem; font-weight: 800; line-height: 1.35; }
.home-cost-list dd { margin-top: .45rem; color: var(--muted); }
.home-preparation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.home-preparation-card { background: #eef2ea; border: 1px solid var(--rule); border-radius: .45rem; padding: clamp(1rem, 2.55vw, 1.7rem); }
.home-preparation-card:nth-child(2) { background: var(--white); }
.home-preparation-card h3 { color: var(--green); font-size: 1.18rem; margin-bottom: .55rem; }
.home-preparation-card dl > div { padding-block: .65rem; border-bottom: 1px solid var(--rule); }
.home-preparation-card dl > div:last-child { border: 0; padding-bottom: 0; }
.home-preparation-card dt { font-weight: 750; }
.home-preparation-card dd { color: var(--muted); margin-top: .2rem; }
.vehicle-check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; }
.vehicle-check-list > li { border: 1px solid var(--rule); border-left: 3px solid #8ba992; border-radius: .35rem; background: var(--white); padding: .9rem 1.1rem; }
.vehicle-check-list h3 { color: var(--green); }
.vehicle-check-list p { color: var(--muted); margin-top: .35rem; }
.purchase-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: purchase; }
.purchase-steps li { display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); align-items: start; gap: .4rem .65rem; padding: .3rem 1rem .3rem 0; counter-increment: purchase; }
.purchase-steps li + li { padding-left: 1rem; border-left: 1px solid var(--rule); }
.purchase-steps li::before { content: counter(purchase); display: grid; place-items: center; grid-row: 1 / 3; width: 2.1rem; height: 2.1rem; background: var(--wash); color: var(--green); border-radius: 50%; font-weight: 800; }
.purchase-steps h3 { margin-top: .3rem; }
.purchase-steps p { grid-column: 2; color: var(--muted); }
.home-remote { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: .65rem clamp(1rem, 4.5vw, 3.25rem); align-items: start; }
.remote-details > div { padding: .65rem 0; border-bottom: 1px solid var(--rule); }
.remote-details > div:first-child { padding-top: 0; }
.remote-details > div:last-child { border: 0; padding-bottom: 0; }
.remote-details dt { color: var(--green); font-size: 1.05rem; font-weight: 750; }
.remote-details dd { margin-top: .18rem; color: var(--muted); }
.home-handover > .section-intro { padding-left: .9rem; border-left: 3px solid #8ba992; }
.home-company.has-image { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(1rem, 3.8vw, 3.2rem); }
.home-photo { position: relative; overflow: hidden; border-radius: .55rem; background: var(--wash); }
.home-photo img { width: 100%; height: auto; aspect-ratio: 1.53; object-fit: cover; }
.home-photo figcaption { position: absolute; bottom: .6rem; right: .65rem; padding: .12rem .4rem; border-radius: .2rem; background: #142921; color: var(--white); font-size: .75rem; }
.company-copy > p { color: var(--muted); margin-top: .65rem; }
.home-company-facts { margin-block: .9rem; }
.home-company-facts > div { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); gap: .6rem; padding-block: .4rem; border-bottom: 1px solid var(--rule); }
.home-company-facts dt { color: var(--green); font-weight: 750; }
.home-company-facts dd { overflow-wrap: anywhere; }
.home-faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: .65rem 1rem; }
.home-faq-list details { padding: .75rem 1rem; border: 1px solid var(--rule); border-radius: .45rem; background: var(--white); }
.home-faq-list summary { align-content: center; padding-top: 0; line-height: 1.5; }
.home-faq-list details p { margin-block: .5rem .2rem; }
.home-faq-list details a { display: inline-block; margin-top: .35rem; color: var(--green); font-weight: 700; }
.home-line-message { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: .4rem clamp(1.25rem, 5.2vw, 4rem); align-items: start; }
.line-message-example { border-radius: .5rem; background: #e5eee5; padding: clamp(.95rem, 2.9vw, 1.75rem); }
.line-message-example > p { color: var(--green); font-weight: 800; margin-bottom: .5rem; }
.line-message-example dl > div { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: .55rem; align-items: start; padding-block: .35rem; border-bottom: 1px solid #c0d2c2; }
.line-message-example dl > div:last-child { border: 0; }
.line-message-example dt { color: var(--muted); font-size: .9rem; }
.line-message-example dd { overflow-wrap: anywhere; }
.company-list { max-width: 56rem; }
.company-list > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: .35rem .75rem; padding-block: .6rem; border-bottom: 1px solid var(--rule); }
.company-list dt { font-weight: 750; }
.company-list dd { overflow-wrap: anywhere; }
.context-note { color: var(--muted); margin-top: 1.1rem; font-size: .94rem; }
.contact-band { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; background: #183b2f; color: var(--white); padding: clamp(1.25rem, 3.8vw, 2.65rem); margin-block: .85rem clamp(2rem, 5vw, 4rem); border-radius: .65rem; }
.contact-band h2 { font-size: clamp(1.3rem, 2.8vw, 1.9rem); }
.contact-band p { color: #dceae0; margin-top: .38rem; }
.contact-band .cta-note { color: #dceae0; }
.contact-band .button-line { background: #118347; }
.contact-band .button-line:hover { background: #0b713c; }
.contact-band .button-line:disabled { color: #243e30; background: #d2e3d5; }

.crumb { color: var(--muted); padding-block: .95rem; font-size: .875rem; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 0 .65rem; }
.crumb li + li::before { content: "/"; margin-right: .65rem; color: #638174; }
.page-intro { padding: clamp(1.3rem, 4.7vw, 3.1rem); background: var(--wash); border: 1px solid var(--rule); border-radius: .65rem; margin-bottom: 1rem; }
.page-intro h1 { font-size: clamp(1.75rem, 4.2vw, 3.15rem); margin-block: .3rem .75rem; }
.page-intro .lead { max-width: 52rem; }
.landing-hero { padding: clamp(1.4rem, 5.1vw, 4rem); border: 1px solid var(--rule); border-radius: .65rem; background: linear-gradient(115deg, #e6efe4, #f0f4eb); }
.landing-hero h1 { max-width: 54rem; font-size: clamp(1.65rem, 4.25vw, 3.36rem); margin-block: .42rem .8rem; }
.keep { white-space: nowrap; }
.landing-hero .lead { max-width: 50rem; }
.landing-hero .cta-wrap { margin-top: 1.3rem; }
.landing-grid { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); align-items: start; gap: 1rem; margin-block: 1rem; }
.landing-aside { display: grid; gap: 1rem; }
.section-card { padding: clamp(1rem, 3.3vw, 2rem); background: var(--white); border: 1px solid var(--rule); border-radius: .55rem; }
.section-card h2 { font-size: clamp(1.18rem, 2.6vw, 1.55rem); margin-bottom: .9rem; }
.section-card > p + p, .related .topic-list + h2 { margin-top: 1rem; }
.check-list li { padding: .85rem 0; border-bottom: 1px solid var(--rule); }
.check-list li:first-child { padding-top: 0; }
.check-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.check-list p, details p { margin-top: .35rem; color: var(--muted); }
summary { cursor: pointer; font-weight: 750; min-height: 2.75rem; padding-top: .15rem; }
.related .topic-list { grid-template-columns: 1fr; margin-bottom: .8rem; }
.related p + p { margin-top: .5rem; }
.plain-page { padding-block: clamp(1.5rem, 5vw, 3.5rem); }
.plain-page h1 { font-size: clamp(1.65rem, 4vw, 2.7rem); margin-bottom: 1rem; }
.plain-page .section-card + .section-card { margin-top: .8rem; }
.plain-page p + p, .plain-page > p + a { display: block; margin-top: .65rem; }
.site-footer { border-top: 1px solid var(--rule); background: #e9eee6; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: start; gap: .7rem 1.5rem; padding-block: 1.2rem; color: var(--green); font-size: .9rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .45rem 1.2rem; }
.footer-brand { text-decoration: none; font-weight: 800; }
.footer-brand:hover { text-decoration: underline; }
.footer-inner p { color: var(--muted); font-size: .85rem; margin-top: .2rem; }
.inventory-empty { margin-bottom: 1rem; }
.inventory-count { margin: 1rem 0 .6rem; color: var(--muted); }
.vehicle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.vehicle-card { overflow: hidden; border: 1px solid var(--rule); background: var(--white); border-radius: .6rem; }
.vehicle-photo { width: 100%; height: auto; aspect-ratio: 640 / 420; object-fit: cover; }
.vehicle-content { padding: 1.15rem; }
.vehicle-content h2 { font-size: 1.16rem; overflow-wrap: anywhere; }
.vehicle-total { color: var(--ink); font-weight: 750; margin-top: .8rem; }
.vehicle-total strong, .vehicle-monthly strong { display: block; font-size: 1.2rem; }
.vehicle-breakdown, .vehicle-basis, .vehicle-id { font-size: .85rem; color: var(--muted); overflow-wrap: anywhere; }
.vehicle-monthly { padding-top: .8rem; margin-top: .8rem; border-top: 1px solid var(--rule); font-weight: 700; color: var(--green); }
.vehicle-content details { border-top: 1px solid var(--rule); padding-top: .45rem; margin-top: .8rem; }
.spec-list { font-size: .89rem; color: var(--muted); }
.spec-list > div { display: grid; grid-template-columns: minmax(0, 5.5rem) minmax(0, 1fr); gap: .5rem; padding-block: .16rem; }
.spec-list dd { overflow-wrap: anywhere; }
.vehicle-id { margin: .55rem 0 .7rem; }
.inventory-pagination { display: flex; justify-content: center; align-items: center; gap: .65rem; margin-block: 1rem 1.4rem; font-size: .88rem; }
.inventory-pagination a { min-height: 2.75rem; display: flex; align-items: center; padding: .25rem .65rem; border: 1px solid var(--rule); border-radius: .35rem; background: var(--white); color: var(--green); }

@media (max-width: 62rem) {
  .shell { width: calc(100% - 3rem); }
  .desktop-break { display: none; }
  .topic-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vehicle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 46rem) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 3.55rem; gap: .35rem; }
  .wordmark { font-size: 1.2rem; gap: .35rem; }
  .wordmark-mark { width: 1.28rem; height: 1.28rem; }
  .wordmark-mark::after { inset: .35rem .24rem; border-width: .13rem; }
  .header-inner nav { gap: .55rem; }
  .header-inner nav a { font-size: .8rem; }
  .header-inner .header-contact { padding-inline: .52rem; }
  .topic-row, .loan-cards, .landing-grid, .vehicle-grid, .home-inventory, .purchase-steps, .home-company.has-image, .home-faq-list,
  .home-cost-list, .home-preparation-grid, .vehicle-check-list, .home-remote, .home-line-message { grid-template-columns: minmax(0, 1fr); }
  .topic-row { gap: .7rem; }
  .home-cost-list { row-gap: .65rem; }
  .purchase-steps { gap: .65rem; }
  .purchase-steps li { padding: .35rem 0; }
  .purchase-steps li + li { padding: .85rem 0 .35rem; border: 0; border-top: 1px solid var(--rule); }
  .company-list > div { grid-template-columns: minmax(6.8rem, 32%) minmax(0, 1fr); }
}

@media (max-width: 24rem) {
  .header-inner nav { gap: .4rem; }
  .header-inner .header-contact { padding-inline: .3rem; }
  .wordmark { font-size: 1.02rem; letter-spacing: .04em; }
  .header-inner nav a { font-size: .76rem; }
}
