:root {
  --primary: #1565c0;
  --accent: #0f766e;
  --grad-start: #38bdf8;
  --grad-end: #1565c0;
  --light: #eef5fb;
  --text: #333333;
  --header-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1100px, 92%); margin-inline: auto; }
.section { padding: 72px 0; }

/* ===== Headings ===== */
.sec-heading { text-align: center; margin: 0 0 48px; }
.sec-heading .ja {
  display: inline-block; font-size: 28px; font-weight: 700; color: var(--primary);
  border-bottom: 2px solid var(--primary); padding-bottom: 8px;
}
.sec-heading .en { display: block; margin-top: 12px; letter-spacing: 4px; font-size: 14px; color: var(--primary); }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h);
  display: flex; align-items: center; gap: 12px;
  padding: 0 16px; background: rgba(255,255,255,.92); z-index: 1000;
  box-shadow: 0 1px 6px rgba(0,0,0,.08);
}
.site-header .logo { height: 40px; width: auto; }
.site-header .brand { font-size: 24px; font-weight: 700; color: var(--primary); }
.hamburger {
  margin-left: auto; width: 44px; height: 44px; border: none; background: var(--primary);
  border-radius: 6px; cursor: pointer; display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; transition: .3s; }
.nav-drawer {
  position: fixed; top: var(--header-h); right: 0; width: min(320px, 80%);
  background: #fff; box-shadow: -2px 0 12px rgba(0,0,0,.15);
  transform: translateX(110%); transition: transform .3s; z-index: 999;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a { display: block; padding: 16px 24px; border-bottom: 1px solid #eee; font-weight: 600; }
.nav-drawer a:hover { background: var(--light); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center;
  padding-top: var(--header-h); overflow: hidden; text-align: center;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.25); z-index: -1; }
.hero-badges {
  display: flex; justify-content: center; gap: 50px; flex-wrap: wrap;
  margin: 16px 0 40px;
}
.badge {
  width: 140px; height: auto; display: block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.2));
}
.hero-catch {
  font-size: clamp(22px, 4vw, 34px); font-weight: 700; color: #333; line-height: 1.45;
  text-shadow:
    -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff,
    0 -2px 0 #fff, 0 2px 0 #fff, -2px 0 0 #fff, 2px 0 0 #fff;
}
.hero-catch span { display: block; }
.hero-title {
  font-size: clamp(34px, 7vw, 64px); font-weight: 800; color: var(--primary); margin: 8px 0 20px;
  text-shadow:
    -3px -3px 0 #fff, 3px -3px 0 #fff, -3px 3px 0 #fff, 3px 3px 0 #fff,
    0 -3px 0 #fff, 0 3px 0 #fff, -3px 0 0 #fff, 3px 0 0 #fff;
}

/* ===== CTA buttons ===== */
.btn-call {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--primary); color: #fff; font-size: 22px; font-weight: 700;
  padding: 18px 56px; border-radius: 999px; border: 4px solid #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.25); cursor: pointer;
}
.btn-call:hover { filter: brightness(1.05); }
.btn-call .icon { width: 22px; height: 22px; fill: #fff; }
.cta-note { display: inline-block; margin-top: 16px; padding: 8px 22px; background: var(--primary); color: #fff; border-radius: 999px; font-size: 14px; }

/* ===== Reasons ===== */
.reasons { background: linear-gradient(180deg, #cfe8f7, var(--light)); }
.reasons-heading { text-align: center; margin-bottom: 32px; }
.reasons-heading .lead { font-size: 26px; font-weight: 700; color: var(--primary); }
.reasons-heading .badge-line { display: inline-flex; gap: 6px; margin-top: 14px; }
.reasons-heading .badge-line span {
  width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700;
}
.reason {
  display: flex; align-items: center; gap: 48px; max-width: 900px; margin: 0 auto 24px;
}
.reason.right { flex-direction: row-reverse; }
.reason img { width: 280px; height: 280px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.reason-body { flex: 1; text-align: center; }
.reason-body .ttl {
  display: inline-block; background: var(--primary); color: #fff; font-size: 20px; font-weight: 700;
  padding: 8px 28px; margin-bottom: 16px;
}
.reason-body p { white-space: pre-line; font-size: 18px; margin: 0; }

/* ===== Trouble ===== */
.trouble-heading { text-align: center; white-space: pre-line; font-size: clamp(22px, 4vw, 32px); font-weight: 700; color: var(--primary); margin-bottom: 28px; }
.trouble-list { max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.trouble-row { display: flex; align-items: center; gap: 8px; }
.trouble-row.right { flex-direction: row-reverse; }
.trouble-row .avatar { width: 150px; height: 150px; border-radius: 50%; flex-shrink: 0; }
.bubble {
  position: relative; background: var(--accent); color: #fff; padding: 22px 32px; border-radius: 12px;
  font-size: 18px; font-weight: 600; white-space: pre-line; text-align: center; flex: 1;
}
.bubble::after { content: ""; position: absolute; top: 50%; border: 14px solid transparent; transform: translateY(-50%); }
.trouble-row.left .bubble::after { left: -26px; border-right-color: var(--accent); }
.trouble-row.right .bubble::after { right: -26px; border-left-color: var(--accent); }
.trouble-foot {
  margin-top: 64px; background: var(--accent); color: #fff; text-align: center; padding: 40px 16px;
  clip-path: polygon(0 0, 50% 8%, 100% 0, 100% 100%, 0 100%); white-space: pre-line;
  font-size: clamp(20px, 3.5vw, 28px); font-weight: 700;
}
.trouble-foot span { display: block; }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end)); color: #fff;
  text-align: center; padding: 56px 16px;
}
.cta-banner p { margin: 8px 0 0; font-weight: 700; font-size: 18px; }

/* ===== Steps ===== */
.steps { background: var(--light); }
.steps-lead { text-align: center; background: linear-gradient(135deg, var(--grad-start), var(--grad-end)); color: #fff; padding: 24px 16px; margin: -72px 0 48px; }
.steps-lead .small { font-size: 16px; }
.steps-lead .big { font-size: 26px; font-weight: 700; }
.steps .container { display: flex; justify-content: center; align-items: stretch; gap: 24px; flex-wrap: wrap; }
.step-card {
  flex: 1 1 0; min-width: 220px; max-width: 300px; border: 2px solid var(--primary); border-radius: 12px; overflow: hidden; background: #fff;
}
.step-card .label { background: var(--primary); color: #fff; text-align: center; font-weight: 700; font-size: 20px; padding: 10px; }
.step-card .body { text-align: center; padding: 24px 16px; }
.step-card .body img { margin: 0 auto 16px; max-width: 140px; }
.step-card .body .ttl { color: var(--primary); font-weight: 700; font-size: 20px; }
.step-card .body p { white-space: pre-line; margin: 6px 0 0; }

/* ===== Price ===== */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.price-item { border: 2px solid var(--primary); border-radius: 8px; overflow: hidden; }
.price-item .name { background: var(--primary); color: #fff; text-align: center; font-weight: 700; padding: 10px; font-size: 18px; }
.price-item .amount { text-align: center; padding: 18px 8px; color: var(--primary); }
.price-item .amount .num { font-size: 40px; font-weight: 800; }
.price-item .amount .yen { font-size: 18px; }
.price-item .amount .tax { font-size: 13px; }

/* ===== Payment ===== */
.pay-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.pay-row { display: grid; grid-template-columns: 240px 1fr; align-items: center; gap: 28px; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.pay-logo {
  height: 52px; width: auto; box-sizing: border-box; padding: 7px 12px;
  background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; object-fit: contain;
}
.pay-logo.cash { padding: 4px; }
.pay-label {
  order: -1; justify-self: center; background: var(--primary); color: #fff; padding: 10px 28px;
  border-radius: 999px; font-weight: 700; white-space: nowrap;
}

/* ===== Car models ===== */
.car-list { max-width: 980px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.car-item {
  flex: 1 1 170px; max-width: 200px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; border: 2px solid var(--primary); border-radius: 10px; padding: 18px 14px;
}
.car-item img { width: 70px; height: 70px; flex-shrink: 0; }
.car-item .name { font-size: 15px; font-weight: 700; line-height: 1.5; }
.car-foot { margin-top: 48px; background: linear-gradient(135deg, var(--grad-start), var(--grad-end)); color: #fff; text-align: center; padding: 48px 16px; white-space: pre-line; font-size: clamp(20px, 3.5vw, 26px); font-weight: 700; }

/* ===== Area ===== */
.area-layout { display: flex; align-items: center; justify-content: center; gap: 48px; max-width: 900px; margin: 0 auto; }
.area-map { flex: 0 0 auto; width: min(400px, 45%); margin: 0; }
.area-grid { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.area-grid span { background: var(--grad-end); color: #fff; text-align: center; padding: 14px; border-radius: 6px; font-weight: 700; }
.area-grid span:last-child:nth-child(odd) { grid-column: 1 / -1; width: 50%; margin: 0 auto; }
.area-foot { margin-top: 40px; text-align: center; white-space: pre-line; font-size: clamp(18px, 3vw, 24px); font-weight: 700; }

/* ===== Contact form ===== */
.contact { background: var(--light); }
.contact-form { max-width: 720px; margin: 0 auto; }
.field { margin-bottom: 28px; }
.field label.title { font-size: 18px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.req { background: #ff6e6e; color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.field input[type=text], .field input[type=tel], .field textarea {
  width: 100%; margin-top: 10px; padding: 14px; border: 1px solid #ccc; border-radius: 6px; font-size: 16px; font-family: inherit;
}
/* honeypot（画面外に隠す。bot対策） */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* 送信結果メッセージ */
.form-message { text-align: center; font-weight: 700; margin: 16px 0 0; min-height: 22px; }
.form-message.error { color: #c0392b; }
.form-message.success { color: #2e7d32; }
.field textarea { min-height: 90px; resize: vertical; }
.note { font-size: 13px; color: #666; margin-top: 8px; }
.checks { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 12px; }
.checks label { display: inline-flex; align-items: center; gap: 6px; }
.submit-note { text-align: center; white-space: pre-line; margin: 32px 0 16px; }
.btn-submit { width: 100%; background: var(--accent); color: #fff; border: none; padding: 20px; font-size: 20px; font-weight: 700; border-radius: 8px; cursor: pointer; }
.btn-submit:hover { filter: brightness(1.08); }
.recaptcha-note { text-align: center; font-size: 13px; color: #555; margin: 24px 0; }
.form-notes { font-size: 12px; color: #666; }
.form-notes p { margin: 6px 0; }

/* ===== Footer ===== */
.site-footer { background: linear-gradient(135deg, var(--grad-start), var(--grad-end)); color: #fff; text-align: center; padding: 56px 16px 32px; }
.site-footer .address { margin-bottom: 32px; font-weight: 600; }
.footer-company { margin-bottom: 32px; }
.footer-company__name { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.footer-company__row { margin: 4px 0; font-weight: 600; }
.footer-company__row a { text-decoration: underline; }
.footer-nav { max-width: 760px; margin: 0 auto 24px; display: flex; flex-direction: column; gap: 2px; }
.footer-nav a { background: rgba(255,255,255,.15); padding: 14px; border-radius: 4px; font-weight: 600; }
.footer-nav a:hover { background: rgba(255,255,255,.3); }
.footer-legal { max-width: 760px; margin: 0 auto 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer-legal a { font-size: 14px; text-decoration: underline; opacity: .95; }
.footer-legal a:hover { opacity: 1; }
.copyright { font-size: 13px; }

/* ===== Legal / content pages ===== */
.page-main { padding-top: var(--header-h); }
.legal { padding: 56px 0 72px; }
.legal .container { width: min(840px, 92%); }
.page-title { text-align: center; margin: 0 0 40px; }
.page-title .ja { display: inline-block; font-size: 26px; font-weight: 700; color: var(--primary); border-bottom: 2px solid var(--primary); padding-bottom: 8px; }
.page-title .en { display: block; margin-top: 10px; letter-spacing: 3px; font-size: 13px; color: var(--primary); }
.legal h2 { font-size: 20px; color: var(--primary); margin: 40px 0 12px; padding-left: 12px; border-left: 4px solid var(--primary); }
.legal h2:first-of-type { margin-top: 0; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 1.4em; }
.legal ul li { margin: 6px 0; }
.legal a { color: var(--primary); text-decoration: underline; }
.legal .updated { text-align: right; color: #666; font-size: 14px; margin-bottom: 32px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.legal-table th, .legal-table td { border: 1px solid #ddd; padding: 12px 14px; text-align: left; vertical-align: top; font-size: 15px; }
.legal-table th { background: var(--light); color: var(--primary); white-space: nowrap; width: 34%; }
.legal .placeholder { color: #b00; font-weight: 700; }
@media (max-width: 720px) {
  .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table th { border-bottom: none; }
}

/* ===== center CTA wrapper ===== */
.cta-center { text-align: center; }

/* ===== Call modal ===== */
.call-modal {
  position: fixed; inset: 0; z-index: 2000; display: none;
  align-items: center; justify-content: center; padding: 16px;
}
.call-modal.open { display: flex; }
.call-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.call-modal__box {
  position: relative; background: #fff; border-radius: 14px; width: min(380px, 100%);
  padding: 28px 24px 24px; text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.call-modal__close {
  position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: none;
  background: transparent; font-size: 24px; line-height: 1; color: #888; cursor: pointer;
}
.call-modal__title { font-size: 16px; color: #666; margin: 0 0 4px; }
.call-modal__num { font-size: 26px; font-weight: 800; color: var(--primary); margin: 0 0 22px; letter-spacing: 1px; }
.call-modal__actions { display: flex; flex-direction: column; gap: 12px; }
.call-modal__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px; border-radius: 8px; font-size: 17px; font-weight: 700; cursor: pointer; border: 2px solid var(--primary);
}
.call-modal__btn .ico { width: 20px; height: 20px; }
.call-modal__btn--call { background: var(--primary); color: #fff; }
.call-modal__btn--call .ico { fill: #fff; }
.call-modal__btn--copy { background: #fff; color: var(--primary); }
.call-modal__btn--copy .ico { fill: var(--primary); }
.call-modal__btn:hover { filter: brightness(1.05); }
.call-modal__toast {
  margin-top: 14px; font-size: 14px; font-weight: 700; color: #2e7d32; min-height: 20px;
  opacity: 0; transition: opacity .2s;
}
.call-modal__toast.show { opacity: 1; }

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .section { padding: 48px 0; }
  .reason, .reason.right { flex-direction: column; gap: 20px; }
  .reason img { width: 220px; height: 220px; }
  .trouble-row, .trouble-row.right { flex-direction: column; gap: 4px; }
  .trouble-row .avatar { width: 110px; height: 110px; }
  .bubble::after { display: none; }
  .steps .container { flex-direction: column; align-items: center; }
  .step-card { width: 100%; max-width: 360px; flex: none; }
  .price-grid { grid-template-columns: 1fr; }
  .pay-row { grid-template-columns: 1fr; justify-items: center; gap: 14px; text-align: center; }
  .pay-logos { justify-content: center; }
  .pay-label { justify-self: center; }
  .area-layout { flex-direction: column; gap: 28px; }
  .area-map { width: min(360px, 80%); }
  .area-grid { grid-template-columns: 1fr; }
  .area-grid span:last-child:nth-child(odd) { width: 100%; }
  .btn-call { font-size: 18px; padding: 16px 32px; }
  .site-header .brand { font-size: 18px; }
}
