:root {
  --red: #e60012;
  --red-dark: #b4000e;
  --green: #12b943;
  --green-dark: #0d9635;
  --ink: #151515;
  --muted: #666;
  --line: #e8e8e8;
  --soft: #f7f7f7;
  --white: #fff;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 18px;
  --header-h: 96px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: "Noto Sans JP", system-ui, sans-serif; line-height: 1.7; background: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.site-header .container { width: min(1280px, calc(100% - 40px)); }
.narrow { max-width: 820px; }
.center { text-align: center; margin-top: 28px; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,.06); transition: .25s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: .25s ease; }
.site-header.is-scrolled .header-inner { min-height: 76px; }
.brand { display: inline-flex; flex: 0 1 auto; min-width: 0; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 2.4rem; color: var(--red); font-weight: 900; letter-spacing: -.05em; white-space: nowrap; }
.brand-sub { margin-top: 7px; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; }
.header-phone { min-width: 178px; border: 2px solid var(--red); color: var(--red); border-radius: 12px; padding: 9px 18px; text-align: center; line-height: 1.2; }
.header-phone span { display: block; font-size: .8rem; font-weight: 700; }
.header-phone strong { font-size: 1.16rem; }
.menu-button { width: 54px; height: 54px; display: grid; place-content: center; gap: 5px; background: transparent; border: 0; cursor: pointer; }
.menu-button span { width: 28px; height: 3px; background: #111; border-radius: 2px; transition: .2s; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.drawer { position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: 1px; background: #ddd; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; z-index: 999; }
.drawer.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
.drawer a { background: #fff; padding: 18px 24px; font-weight: 700; text-align: center; }

.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 900; transition: .2s; border: 2px solid transparent; }
.btn:hover { transform: translateY(-1px); filter: brightness(.98); }
.btn-line { color: #fff; background: var(--green); box-shadow: 0 8px 18px rgba(18,185,67,.25); }
.btn-line:hover { background: var(--green-dark); }
.btn-lg { min-height: 62px; padding-inline: 34px; font-size: 1.1rem; }
.btn-outline-light { color: #fff; border-color: #fff; }
.btn-outline-red { color: var(--red); border-color: var(--red); background: #fff; }
.btn-white { background: #fff; color: var(--red); }
.btn-header { min-height: 54px; padding-inline: 26px; font-size: 1rem; }

.hero { color: #fff; background: linear-gradient(135deg, var(--red-dark), var(--red) 55%, #ff3434); padding: 54px 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 42px; }
.eyebrow { margin: 0 0 8px; font-weight: 900; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.hero h1 { margin: 0; font-size: clamp(3.2rem, 8vw, 6.4rem); line-height: 1.05; letter-spacing: -.06em; }
.hero-lead { margin: 18px 0 12px; font-size: 1.05rem; font-weight: 700; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badges span { background: #fff; color: var(--red); border-radius: 999px; padding: 7px 12px; font-size: .88rem; font-weight: 900; }
.hero-cta { display: grid; gap: 12px; max-width: 420px; margin-top: 24px; }
.placeholder { min-height: 130px; display: grid; place-items: center; text-align: center; color: #777; background: repeating-linear-gradient(135deg,#eee,#eee 12px,#f7f7f7 12px,#f7f7f7 24px); border: 1px dashed #bbb; }
.placeholder-dark { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(0,0,0,.18); }
.hero-visual { min-height: 500px; border-radius: 28px; box-shadow: var(--shadow); }

.section { padding: 72px 0; }
.section.compact { padding: 48px 0; }
.section-muted { background: var(--soft); }
.section-title { margin: 0 0 32px; text-align: center; font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.03em; }
.section-title::after { content: ""; display: block; width: 56px; height: 4px; margin: 14px auto 0; background: var(--red); border-radius: 999px; }
.section-note { text-align: center; color: var(--muted); font-size: .86rem; margin-top: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 18px rgba(0,0,0,.05); }
.feature-grid { display: grid; gap: 18px; }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature-card { padding: 26px 22px; text-align: center; }
.icon-circle { width: 62px; height: 62px; margin: 0 auto 16px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-weight: 900; }
.feature-card h3, .reason-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.feature-card p, .reason-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.reasons-grid { grid-template-columns: repeat(3, 1fr); }
.reason-card { position: relative; padding: 28px 24px; overflow: hidden; }
.reason-number { position: absolute; right: 14px; top: 8px; font-size: 2.6rem; font-weight: 900; color: #f1f1f1; }

.steps-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.step-card { position: relative; display: grid; grid-template-rows: auto 1fr; row-gap: 14px; min-width: 0; padding: 20px 14px 24px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.step-card.has-image { grid-template-rows: auto 136px 1fr; }
.step-card .step-number { width: 34px; height: 34px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-weight: 900; }
.step-image { width: 100%; height: 136px; margin: 0 auto; padding: 8px 8px 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.step-image img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.step-copy { align-self: start; min-width: 0; }
.step-card h3 { margin: 0 0 6px; font-size: 1rem; line-height: 1.45; }
.step-card p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.7; }

.photo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.photo-card { display: flex; min-width: 0; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-align: center; }
.photo-card .placeholder, .photo-media { width: 100%; min-height: 0; aspect-ratio: 1 / 1; border: 0; }
.photo-media { display: flex; align-items: center; justify-content: center; padding: 16px; overflow: hidden; background: #fff; }
.photo-media img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.photo-card strong { display: grid; place-items: center; min-height: 52px; margin-top: auto; padding: 12px 8px; border-top: 1px solid var(--line); line-height: 1.45; }
.vehicle-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.vehicle-chip { min-width: 0; min-height: 86px; display: grid; place-items: center; text-align: center; border: 1px solid var(--line); border-radius: 14px; font-weight: 800; background: #fff; overflow: hidden; }
.vehicle-chip.has-image { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; }
.vehicle-image { width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; padding: 18px 18px 24px; overflow: hidden; background: #fff; }
.vehicle-image img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.vehicle-chip span { display: grid; place-items: center; width: 100%; min-height: 48px; padding: 10px 8px; line-height: 1.35; }
.vehicle-chip.has-image span { margin-top: auto; border-top: 1px solid var(--line); background: #fff; }

.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.result-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.05); }
.result-image { min-height: 180px; border: 0; }
.result-body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.result-body h3 { min-height: 3.25em; margin: 0 0 12px; font-size: 1.05rem; line-height: 1.55; }
dl { margin: 0; }
dl div { display: flex; justify-content: space-between; gap: 8px; font-size: .84rem; border-bottom: 1px solid #eee; padding: 5px 0; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 700; }
.price { margin: auto 0 0; padding-top: 14px; color: var(--red); font-size: .9rem; }
.price strong { font-size: 1.3rem; }

.faq-list { display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 800; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--red); font-size: 1.4rem; }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

.bottom-cta { padding: 52px 0; color: #fff; background: linear-gradient(135deg, var(--red-dark), var(--red)); }
.bottom-cta-inner { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 34px; }
.footer-visual { min-height: 260px; border-radius: 22px; }
.bottom-cta-copy { text-align: center; display: grid; justify-items: center; gap: 12px; }
.bottom-cta-copy h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); }
.bottom-cta-copy p { margin: 0 0 8px; font-weight: 700; }
.bottom-cta-copy .btn { width: min(440px, 100%); }

.site-footer { background: #151515; color: #fff; padding: 42px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr 1.6fr; gap: 30px; align-items: start; }
.footer-brand .brand-name { color: #fff; }
.footer-nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 24px; }
.footer-nav a { color: #ddd; }
.company-info { color: #ccc; font-size: .86rem; }
.company-info p { margin: 0 0 5px; }
.copyright { margin: 28px 0 0; text-align: center; color: #999; font-size: .78rem; }
.mobile-sticky-cta { display: none; }

@media (max-width: 1100px) {
  .header-phone { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  body { padding-bottom: 76px; }
  .container { width: min(100% - 24px, 720px); }
  .header-phone { display: none; }
  .brand-name { font-size: 1.78rem; }
  .brand-sub { font-size: .66rem; }
  .btn-header { min-height: 44px; padding-inline: 17px; font-size: .9rem; }
  .menu-button { width: 46px; height: 46px; }
  .hero { padding: 34px 0 42px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-visual { min-height: 340px; }
  .feature-grid-3 { grid-template-columns: 1fr; }
  .feature-card { display: grid; grid-template-columns: 58px 1fr; grid-template-areas: "icon title" "icon text"; align-items: center; text-align: left; gap: 4px 14px; }
  .feature-card .icon-circle { grid-area: icon; margin: 0; width: 54px; height: 54px; }
  .feature-card h3 { grid-area: title; }
  .feature-card p { grid-area: text; }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid .step-card:last-child { grid-column: 1 / -1; width: calc((100% - 14px) / 2); justify-self: center; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid .photo-card:last-child { grid-column: 1 / -1; width: calc((100% - 14px) / 2); justify-self: center; }
  .vehicle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .bottom-cta-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .mobile-sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100; display: block; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid #ddd; backdrop-filter: blur(12px); }
  .mobile-sticky-cta .btn { width: 100%; }
}

@media (max-width: 560px) {
  .section { padding: 54px 0; }
  .section.compact { padding: 38px 0; }
  .header-actions { gap: 6px; }
  .site-header .container { width: calc(100% - 20px); }
  .brand-name { font-size: 1.62rem; }
  .brand-sub { font-size: .58rem; }
  .btn-header { min-height: 42px; font-size: .8rem; padding-inline: 12px; }
  .hero-badges { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-badges span { text-align: center; padding-inline: 7px; font-size: .74rem; }
  .reasons-grid, .results-grid { grid-template-columns: 1fr; }
  .result-card { display: grid; grid-template-columns: 42% 58%; height: 100%; }
  .result-image { min-height: 100%; }
  .result-body { padding: 14px; }
  .result-body h3 { min-height: 3em; font-size: .95rem; }
  .price strong { font-size: 1.15rem; }
  .step-card { row-gap: 10px; padding: 16px 10px 18px; }
  .step-card.has-image { grid-template-rows: auto 118px 1fr; }
  .step-card .step-number { width: 32px; height: 32px; }
  .step-image { height: 118px; padding: 6px 6px 12px; }
  .step-card h3 { font-size: .9rem; }
  .step-card p { font-size: .76rem; }
  .photo-media { padding: 12px; }
  .photo-card strong { min-height: 48px; font-size: .9rem; }
  .vehicle-image { padding: 14px 14px 20px; }
  .vehicle-chip span { min-height: 44px; padding: 9px 6px; font-size: .88rem; }
}

/* WordPress integration */
html { scroll-padding-top: 90px; }
body.admin-bar .site-header { top: 32px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hero-visual.has-image,
.footer-visual.has-image,
.result-image.has-image { background-size: cover; background-position: center; border: 0; }
.hero-visual.has-image span,
.footer-visual.has-image span { display: none; }
.result-card-link { display: block; height: 100%; }
.result-card-link:hover .result-card { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.10); }
.result-card { transition: .2s ease; }
.result-image img { width: 100%; height: 100%; object-fit: cover; }
.archive-header { padding: 54px 0 34px; background: var(--soft); text-align: center; }
.archive-header h1 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3rem); }
.archive-header p { margin: 0; color: var(--muted); }
.pagination { margin-top: 34px; text-align: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; margin: 3px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-weight: 700; }
.pagination .current { color: #fff; background: var(--red); border-color: var(--red); }
.single-result { padding: 58px 0 80px; }
.single-result-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; }
.single-result-image { overflow: hidden; border-radius: 18px; background: var(--soft); }
.single-result-image img { width: 100%; height: auto; }
.single-result-info { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.single-result-info h1 { margin: 0 0 18px; line-height: 1.35; }
.single-result-comment { margin-top: 30px; }
.single-result-comment h2 { font-size: 1.5rem; }
.entry-content > *:first-child { margin-top: 0; }
.no-results { text-align: center; color: var(--muted); padding: 30px 0; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
@media (max-width: 900px) {
  .single-result-grid { grid-template-columns: 1fr; }
}


/* Purchase result detail v1.3 */
.result-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 28px; color: var(--muted); font-size: .82rem; }
.result-breadcrumb a { color: var(--red); font-weight: 700; }
.single-result-header { margin-bottom: 28px; text-align: center; }
.single-result-eyebrow { margin: 0 0 4px; color: var(--red); font-weight: 900; }
.single-result-header h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.35; letter-spacing: -.03em; }
.single-result-header h1::after { content: ""; display: block; width: 64px; height: 4px; margin: 16px auto 0; background: var(--red); border-radius: 999px; }
.result-detail-card { padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.result-detail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }
.result-main-image { overflow: hidden; aspect-ratio: 4 / 3; border-radius: 18px; background: var(--soft); }
.result-main-image img { width: 100%; height: 100%; object-fit: cover; }
.result-thumbnails { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.result-thumb { padding: 0; overflow: hidden; aspect-ratio: 4 / 3; border: 2px solid transparent; border-radius: 12px; background: var(--soft); cursor: pointer; transition: .2s; }
.result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.result-thumb:hover, .result-thumb.is-active { border-color: var(--red); transform: translateY(-1px); }
.result-gallery-note { margin: 8px 0 0; color: var(--muted); font-size: .78rem; text-align: center; }
.result-spec-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; }
.result-spec-table > div { display: grid; grid-template-columns: 42% 58%; min-height: 56px; padding: 0; border-bottom: 1px solid var(--line); }
.result-spec-table > div:last-child { border-bottom: 0; }
.result-spec-table dt, .result-spec-table dd { display: flex; align-items: center; padding: 13px 18px; }
.result-spec-table dt { background: #fafafa; color: #555; font-weight: 700; }
.result-spec-table dd { margin: 0; color: var(--ink); font-weight: 800; }
.result-spec-table dd a { color: var(--red); }
.result-price-panel { display: grid; grid-template-columns: minmax(130px, 26%) 1fr; align-items: stretch; margin-top: 28px; overflow: hidden; border: 1px solid #f3c3c7; border-radius: 18px; background: #fffafa; }
.result-price-panel span { display: grid; place-items: center; padding: 18px; color: #fff; background: var(--red); font-size: 1.15rem; font-weight: 900; }
.result-price-panel strong { display: grid; place-items: center; padding: 18px 24px; color: var(--red); font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -.05em; }
.result-appraisal { margin-top: 26px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.result-appraisal h2 { margin: 0 0 14px; color: var(--red); font-size: 1.35rem; }
.result-detail-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; margin-top: 24px; }
.result-detail-cta small { grid-column: 1 / -1; color: var(--muted); text-align: center; }
.related-results-section { margin-top: 54px; }
.related-results-heading { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 20px; }
.related-results-heading h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 1.9rem); }
.related-results-heading a { color: var(--red); font-weight: 800; white-space: nowrap; }
.related-results-grid { grid-template-columns: repeat(3, 1fr); }
.result-final-cta { margin-top: 58px; padding: 42px 24px; color: #fff; text-align: center; border-radius: 24px; background: linear-gradient(135deg, var(--red-dark), var(--red)); }
.result-final-cta h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.result-final-cta p { margin: 0 0 22px; font-weight: 700; }

@media (max-width: 900px) {
  .result-detail-card { padding: 22px; }
  .result-detail-grid { grid-template-columns: 1fr; }
  .related-results-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .single-result { padding-top: 34px; }
  .result-detail-card { padding: 14px; border-radius: 18px; }
  .result-thumbnails { grid-template-columns: repeat(4, 1fr); gap: 7px; }
  .result-spec-table > div { grid-template-columns: 38% 62%; min-height: 50px; }
  .result-spec-table dt, .result-spec-table dd { padding: 11px 12px; font-size: .86rem; }
  .result-price-panel { grid-template-columns: 110px 1fr; }
  .result-price-panel span { font-size: .95rem; }
  .result-price-panel strong { padding-inline: 12px; font-size: clamp(2rem, 13vw, 3.3rem); }
  .result-appraisal { padding: 20px 16px; }
  .result-detail-cta { grid-template-columns: 1fr; }
  .result-detail-cta small { grid-column: auto; }
  .related-results-heading { align-items: center; }
  .related-results-grid { grid-template-columns: 1fr; }
  .result-final-cta { padding: 34px 18px; }
}
