.home {
  --frame: min(100% - clamp(2rem, 9vw, 8rem), 76rem);
  --paper: #f8f6f0;
  --white: #fffefa;
  --ink: #18302d;
  --muted: #4a5c56;
  --green: #225b50;
  --wash: #edf1e9;
  --rule: #d6ded5;
  --line: #0a7747;
  --slate: #142a29;
  --warm: #f1e9db;
  --display: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
}

.home .site-header { background: var(--white); }
.home .header-inner, .home .footer-inner, .home .home-hero-inner, .home .home-edge-inner { width: var(--frame); margin-inline: auto; }
.home .header-inner .header-contact { background: var(--slate); border-color: var(--slate); color: var(--white); }
.home .header-inner .header-contact:hover { background: #2b4d46; }
.home .preview-note { background: #e7e5da; color: #33473d; }
.home .footer-inner { padding-block: 1.65rem; }
.home .site-footer { background: #eaece4; }
.home #main { width: 100%; }
.home #main > :not(.home-hero, .home-edge) { width: var(--frame); margin-inline: auto; }
.home .section-wrap { padding-block: clamp(2.35rem, 5.8vw, 4.55rem); }
.home .section-intro { margin-bottom: clamp(1.25rem, 2.5vw, 1.85rem); }
.home #main h2 { font-family: var(--display); font-size: clamp(1.56rem, 3vw, 2.38rem); font-weight: 700; line-height: 1.4; text-wrap: balance; }
.home .section-intro p { margin-top: .65rem; }

.home .home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: clamp(32rem, 43vw, 42rem);
  padding-block: clamp(2.6rem, 5.3vw, 5rem);
  background: var(--slate);
  color: var(--white);
}
.home .home-hero.has-image { grid-template-columns: minmax(0, 1fr); }
.home .home-hero.has-image::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(91deg, #102523 0%, #102523f0 23%, #102523cb 44%, #14272347 69%, #101b171a 100%);
  pointer-events: none;
}
.home .hero-media { position: absolute; z-index: -2; inset: 0; border-radius: 0; }
.home .hero-media img { width: 100%; height: 100%; object-position: 56% 56%; }
.home .hero-media figcaption { right: clamp(.85rem, 2.6vw, 2.25rem); bottom: .9rem; background: #162b28e8; }
.home .hero-copy { max-width: 43rem; }
.home .home-hero .overline { color: #d9e8dc; letter-spacing: .075em; }
.home .home-hero h1 {
  margin-block: .9rem 1.2rem;
  font-family: var(--display);
  font-size: clamp(2.05rem, 3.7vw, 3.5rem);
  font-weight: 700;
  line-height: 1.29;
  letter-spacing: -.027em;
  text-shadow: 0 2px 14px #0818154d;
}
.home .home-hero .lead { color: #f0f3eb; max-width: 30rem; }
.home .hero-actions { align-items: start; gap: .65rem .8rem; margin-top: 1.65rem; }
.home .hero-actions > .button { min-height: 3.2rem; }
.home .hero-inventory-link { color: var(--white); border: 1px solid #dce8dd8c; background: #142a2929; }
.home .hero-inventory-link:hover { border-color: var(--white); background: #f5fff022; }
.home .home-hero .cta-note { color: #e0e8df; }

.home .home-methods { border-top: 0; }
.home .loan-cards { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 0 clamp(1.25rem, 5vw, 3.75rem); }
.home .loan-cards > li:first-child { grid-row: span 2; }
.home .loan-cards li:first-child a {
  min-height: 16rem;
  justify-content: center;
  border-radius: .65rem;
  padding: clamp(1.35rem, 3.3vw, 2.65rem);
  background: linear-gradient(124deg, #1b5148, #214a42);
  border-color: #214a42;
}
.home .loan-cards li:first-child a:hover { background: #2b6055; }
.home .loan-cards > li:not(:first-child) a { border: 0; border-top: 1px solid var(--rule); border-radius: 0; background: transparent; padding: 1rem 0; }
.home .loan-cards > li:last-child a { border-bottom: 1px solid var(--rule); }
.home .loan-cards > li:not(:first-child) a:hover .text-link { text-decoration-thickness: 2px; }
.home .loan-cards h3 { font-size: clamp(1.15rem, 1.65vw, 1.4rem); }
.home .loan-cards li:first-child h3 { font-family: var(--display); font-size: clamp(1.65rem, 2.65vw, 2.15rem); }
.home .loan-cards li:first-child :is(h3, .text-link) { color: var(--white); }
.home .loan-cards li:first-child p { color: #e2eee5; }
.home .loan-cards p { margin-bottom: .7rem; }
.home .loan-cards li:first-child p { margin-bottom: 1.4rem; }
.home .loan-cards li:first-child .text-link { margin-top: 0; }
.home .loan-cards .text-link { font-size: .95rem; }

.home .home-car-use { background: #e9eee5; border-block: 1px solid #e0e6dc; }
.home .home-car-use.has-image .home-edge-inner {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(1.15rem, 6vw, 4.5rem);
  align-items: center;
}
.home .home-photo { border-radius: .7rem; }
.home .home-photo img { aspect-ratio: 1.51; }
.home .home-car-use .home-photo img { aspect-ratio: 1.26; object-position: 55% 49%; }
.home .home-use-list li { padding-block: .8rem; }
.home .home-use-list li:first-child { padding-top: 0; }

.home .home-inventory {
  grid-template-columns: minmax(0, 1.17fr) minmax(0, .83fr);
  gap: clamp(1.25rem, 3.6vw, 2.75rem);
  padding: clamp(1.35rem, 4.5vw, 3.7rem);
  margin-block: clamp(2rem, 5vw, 3.7rem);
  border: 1px solid #e5dbc9;
  border-radius: .7rem;
  background: var(--warm);
  color: var(--ink);
}
.home .home-inventory h2 + p { margin-top: .8rem; max-width: 31rem; color: var(--muted); }
.home .home-inventory .button { color: var(--white); background: var(--slate); border-color: transparent; }
.home .home-inventory .button:hover { background: #2b4d46; }
.home .budget-brief { padding: .3rem 0 .3rem clamp(1.1rem, 3.7vw, 2.8rem); border-left: 1px solid #cdbfa8; background: transparent; border-radius: 0; }
.home .budget-brief > strong { font-family: var(--display); font-size: clamp(1.42rem, 2.75vw, 2.42rem); letter-spacing: -.04em; color: var(--ink); }

.home .home-cost, .home .home-faq, .home .home-line-message {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 1rem clamp(1.5rem, 6vw, 5rem);
  align-items: start;
}
.home .home-cost-list { display: block; border-top: 1px solid var(--rule); }
.home .home-cost-list > div { padding: 1rem 0 1.15rem; border-radius: 0; border-bottom: 1px solid var(--rule); background: transparent; }
.home .home-cost-list dt { font-size: 1.12rem; }
.home .home-cost-list dd { margin-top: .35rem; }

.home .home-preparation-grid { gap: 1.15rem clamp(1.4rem, 5vw, 3rem); }
.home .home-preparation-card { padding: 1.1rem 0 0; background: transparent; border: 0; border-top: 2px solid #77998c; border-radius: 0; }
.home .home-preparation-card:nth-child(2) { background: transparent; border-color: #b6a486; }
.home .home-preparation-card dt { color: var(--ink); }
.home .home-preparation-card h3 { font-size: clamp(1.12rem, 2vw, 1.45rem); margin-bottom: .75rem; }

.home .vehicle-check-list { gap: 0 clamp(1rem, 4vw, 3rem); }
.home .vehicle-check-list > li {
  padding: 1rem 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
}
.home .vehicle-check-list h3 { color: var(--ink); }
.home .home-handover > .section-intro { border-left: 0; padding-left: 0; }
.home .home-handover .vehicle-check-list { padding: clamp(.85rem, 2.6vw, 1.8rem); background: var(--wash); border-radius: .65rem; }
.home .home-handover .vehicle-check-list > li:nth-child(-n+2) { border-top: 0; }

.home .home-flow { background: var(--slate); color: var(--white); border: 0; }
.home .home-flow .section-intro { margin-bottom: clamp(1.65rem, 4vw, 2.6rem); }
.home .purchase-steps { position: relative; gap: clamp(.75rem, 3vw, 2.3rem); }
.home .purchase-steps::before { content: ""; position: absolute; top: 1.15rem; left: 1rem; right: calc(33.333% - 2.35rem); height: 1px; background: #819e91; }
.home .purchase-steps li, .home .purchase-steps li + li { position: relative; display: block; padding: 0; border: 0; }
.home .purchase-steps li::before { width: 2.35rem; height: 2.35rem; margin-bottom: .78rem; background: #e5ede3; color: var(--slate); }
.home .purchase-steps h3 { font-size: 1.13rem; margin-bottom: .42rem; }
.home .purchase-steps p { max-width: 25rem; color: #e0e9e2; }
.home .home-flow-action { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.2rem; border-top: 1px solid #58726a; padding-top: clamp(1rem, 3vw, 1.6rem); margin-top: clamp(1.5rem, 4vw, 2.4rem); }
.home .home-flow-action p, .home .home-flow-action .cta-note { color: #e0e9e2; }
.home .home-remote { border-top: 0; }

.home .home-company { padding: 0; overflow: hidden; background: var(--white); border: 1px solid var(--rule); border-radius: .7rem; }
.home .home-company.has-image { grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); align-items: stretch; gap: 0; }
.home .home-company .home-photo { border-radius: 0; }
.home .home-company .home-photo img { height: 100%; object-position: 50% 48%; }
.home .home-company .company-copy { align-self: center; padding: clamp(1.1rem, 3.9vw, 3rem); }
.home .home-company-facts { margin-block: 1.1rem; }
.home .home-company-facts > div { padding-block: .57rem; }
.home .home-faq { border-top: 0; }
.home .home-faq-list { display: block; border-top: 1px solid var(--rule); }
.home .home-faq-list details { background: transparent; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; padding: .65rem 0; }
.home .home-faq-list summary { min-height: 2.75rem; }
.home .home-faq-list details p { margin: .35rem 0 .6rem; }
.home .line-message-example { background: var(--warm); border-radius: .7rem; }
.home .line-message-example dl > div { border-color: #d5c8b7; }
.home .home-response { padding-block: clamp(2.2rem, 5.5vw, 4.25rem); background: var(--slate); color: var(--white); }
.home .home-response .section-intro p { color: #e0e9e2; }
.home .home-response .line-message-example { color: var(--ink); }
.home .home-response .contact-band { padding: clamp(1.15rem, 3vw, 1.65rem) 0 0; margin: clamp(1.4rem, 4vw, 2.35rem) 0 0; background: transparent; border-top: 1px solid #58726a; border-radius: 0; }
.home .home-response .contact-band h2 { font-size: clamp(1.42rem, 2.55vw, 2.05rem); }
.home .contact-band .button-line { background: var(--line); }
.home .contact-band .button-line:hover { background: #096740; }
.home .contact-band .button-line:disabled { background: #d2e3d5; }

@media (max-width: 55.99rem) {
  .home .home-hero, .home .home-hero.has-image { display: grid; min-height: 0; gap: 0; padding: 0; }
  .home .home-hero.has-image::after { display: none; }
  .home .home-hero-inner { padding-block: clamp(1.8rem, 5vw, 3.4rem); }
  .home .hero-media { position: relative; z-index: auto; inset: auto; }
  .home .hero-media img { height: auto; aspect-ratio: 2.25; object-position: 55% 55%; }
  .home .home-hero h1 { font-size: clamp(1.72rem, 6.65vw, 3.15rem); }
  .home .home-hero .lead { max-width: 36rem; }
}

@media (max-width: 46rem) {
  .home .hero-media img { aspect-ratio: 1.72; }
  .home .hero-actions { margin-top: 1.15rem; }
  .home .hero-actions > .button, .home .hero-actions .button-line { min-height: 2.85rem; padding-inline: .85rem; }
  .home .loan-cards, .home .home-car-use.has-image .home-edge-inner, .home .home-inventory, .home .home-cost, .home .home-preparation-grid,
  .home .vehicle-check-list, .home .purchase-steps, .home .home-company.has-image, .home .home-faq, .home .home-line-message {
    grid-template-columns: minmax(0, 1fr);
  }
  .home .home-methods .section-intro, .home .home-faq .section-intro, .home .home-cost .section-intro, .home .home-line-message .section-intro { margin-bottom: .4rem; }
  .home .loan-cards > li:first-child { grid-row: auto; margin-bottom: 1rem; }
  .home .loan-cards li:first-child a { min-height: 0; }
  .home .loan-cards li:first-child p { margin-bottom: .75rem; }
  .home .home-cost-list > div, .home .home-preparation-card dl > div { padding-block: .75rem; }
  .home .home-car-use .home-photo img { aspect-ratio: 1.45; }
  .home .budget-brief { border-left: 0; border-top: 1px solid #cdbfa8; padding: .9rem 0 0; }
  .home .home-handover .vehicle-check-list > li:nth-child(2) { border-top: 1px solid var(--rule); }
  .home .purchase-steps::before { top: 1rem; bottom: .65rem; height: auto; width: 1px; left: 1.12rem; right: auto; }
  .home .purchase-steps { gap: 1rem; }
  .home .purchase-steps li, .home .purchase-steps li + li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: .25rem .7rem; }
  .home .purchase-steps li::before { width: 2.25rem; height: 2.25rem; margin: 0; }
  .home .purchase-steps h3 { margin: .2rem 0 0; }
  .home .home-company .home-photo img { height: auto; }
}

@media (max-width: 24rem) {
  .home .home-hero h1 { font-size: clamp(1.52rem, 7.05vw, 1.72rem); }
}
