/* =========================================================
   株式会社MARRYGOLD  共通スタイル
   色を変えたいときは、下の :root の値だけ変更すればサイト全体に反映されます。
   ========================================================= */
:root {
  --blue: #2b59a1;        /* メインカラー（青） */
  --blue-dark: #213863;   /* 濃い青（フッターなど） */
  --blue-light: #edf1f8;  /* 薄い青（背景） */
  --yellow: #f6da2c;      /* アクセント（黄色） */
  --yellow-dark: #c9a400;
  --yellow-light: #fff7d6;
  --white: #ffffff;
  --text: #1f2733;
  --muted: #5b6575;
  --line: #dde3ec;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(33, 56, 99, .10);
  --header-h: 76px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.section { padding: 96px 0; }
.section--blue { background: var(--blue-light); }
.section--yellow { background: var(--yellow-light); }
.section--dark { background: var(--blue-dark); color: var(--white); }
.center { text-align: center; }

/* ---------- 見出し ---------- */
.sec-title { text-align: center; margin-bottom: 56px; }
.sec-title .en {
  display: block;
  font-family: Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .15em;
  font-size: 14px;
  color: var(--yellow-dark);
}
.sec-title h2 { font-size: clamp(24px, 3.2vw, 34px); margin: 6px 0 0; }
.sec-title h2::after {
  content: ""; display: block; width: 48px; height: 4px; border-radius: 2px;
  background: var(--yellow); margin: 18px auto 0;
}
.section--dark .sec-title .en { color: var(--yellow); }
.lead { max-width: 760px; margin: -24px auto 48px; text-align: center; color: var(--muted); }
.section--dark .lead { color: rgba(255,255,255,.8); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 32px; border-radius: 999px; font-weight: 700; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
  border: 2px solid transparent; cursor: pointer; font-size: 16px; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--yellow { background: var(--yellow); color: var(--blue-dark); }
.btn--yellow:hover { background: #f8e25a; }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: var(--white); }
.btn--white { background: var(--white); color: var(--blue); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 40px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo img { height: 44px; width: auto; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 28px; }
.gnav a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 15px; position: relative; }
.gnav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 3px;
  background: var(--yellow); transition: width .25s;
}
.gnav a:hover::after, .gnav a[aria-current="page"]::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-tel { text-decoration: none; color: var(--blue); font-weight: 800; line-height: 1.2; text-align: right; }
.header-tel small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
.header-tel span { font-size: 20px; font-family: Arial, sans-serif; }
.header-cta .btn { padding: 10px 22px; font-size: 14px; }
.menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: var(--blue);
  border-radius: 10px; cursor: pointer; position: relative;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; content: ""; transition: .25s;
}
.menu-btn span { top: 21px; }
.menu-btn span::before { left: 0; top: -7px; }
.menu-btn span::after { left: 0; top: 7px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; min-height: calc(92vh - var(--header-h)); display: flex; align-items: center;
  color: var(--white); overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(33,56,99,.92) 0%, rgba(43,89,161,.75) 55%, rgba(43,89,161,.25) 100%);
}
.hero__inner { padding: 80px 0; max-width: 720px; }
.hero h1 { font-size: clamp(32px, 5.4vw, 60px); letter-spacing: .02em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p { font-size: clamp(15px, 1.6vw, 18px); opacity: .95; }
.hero .btn-row { justify-content: flex-start; }
.hero__points { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__points li {
  border: 1px solid rgba(255,255,255,.5); border-radius: 8px; padding: 8px 14px; font-size: 14px; font-weight: 700;
}
.hero__points li::before { content: "✓ "; color: var(--yellow); }
.scroll-down {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-family: Arial, sans-serif; font-size: 12px; letter-spacing: .2em; color: #fff; opacity: .8;
}

/* ページ見出し（下層ページ） */
.page-head {
  background: linear-gradient(110deg, var(--blue-dark), var(--blue));
  color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px;
  border-radius: 50%; background: var(--yellow); opacity: .2;
}
.page-head .en { font-family: Arial, sans-serif; font-weight: 800; letter-spacing: .2em; color: var(--yellow); font-size: 14px; }
.page-head h1 { font-size: clamp(28px, 4vw, 42px); margin: 4px 0 0; }
.breadcrumb { font-size: 13px; margin-top: 12px; opacity: .85; }
.breadcrumb a { color: #fff; }

/* ---------- お悩み ---------- */
.worry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.worry {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow);
  font-weight: 700; display: flex; gap: 12px; align-items: flex-start;
}
.worry::before {
  content: "?"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-light);
  color: var(--blue); display: grid; place-items: center; font-family: Arial, sans-serif; font-weight: 800;
}
.answer {
  margin-top: 56px; text-align: center; background: var(--blue); color: #fff;
  border-radius: var(--radius); padding: 48px 24px; position: relative;
}
.answer::before {
  content: ""; position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  border: 20px solid transparent; border-bottom-color: var(--blue); border-top: 0;
}
.answer h3 { font-size: clamp(22px, 3vw, 30px); }
.answer h3 em { font-style: normal; color: var(--yellow); }
.answer p { margin: 0; opacity: .9; }

/* ---------- 選ばれる理由 ---------- */
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.reason { background: #fff; border-radius: var(--radius); padding: 40px 28px; box-shadow: var(--shadow); position: relative; }
.reason__num {
  font-family: Arial, sans-serif; font-size: 48px; font-weight: 900; color: var(--yellow); line-height: 1;
  margin-bottom: 12px;
}
.reason h3 { font-size: 20px; color: var(--blue); }
.reason p { color: var(--muted); margin: 0; }

/* ---------- サービスカード ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .25s;
}
a.card:hover { transform: translateY(-4px); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card__body { padding: 24px; flex: 1; }
.card__body h3 { font-size: 19px; color: var(--blue); }
.card__body p { color: var(--muted); font-size: 15px; margin: 0; }
.card__more { margin-top: 14px; font-weight: 700; color: var(--blue); font-size: 14px; }
.card__more::after { content: " →"; }

/* ---------- 2カラム紹介 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split h2 { font-size: clamp(24px, 3vw, 32px); }
.split h2 em { font-style: normal; background: linear-gradient(transparent 62%, var(--yellow) 62%); }
.split .en { font-family: Arial, sans-serif; font-weight: 800; letter-spacing: .15em; color: var(--yellow-dark); font-size: 14px; }

/* ---------- ご利用の流れ ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.flow li {
  background: #fff; border-radius: var(--radius); padding: 32px 20px 24px; text-align: center;
  position: relative; box-shadow: var(--shadow); counter-increment: step;
}
.flow li::before {
  content: "STEP " counter(step); display: inline-block; background: var(--blue); color: #fff;
  font-family: Arial, sans-serif; font-weight: 800; font-size: 13px; padding: 4px 14px; border-radius: 999px; margin-bottom: 12px;
}
.flow h3 { font-size: 18px; }
.flow p { font-size: 14px; color: var(--muted); margin: 0; }


/* ---------- お知らせ ---------- */
.news { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.news li { border-bottom: 1px solid var(--line); display: flex; gap: 20px; padding: 20px 8px; align-items: baseline; flex-wrap: wrap; }
.news time { font-family: Arial, sans-serif; color: var(--muted); font-size: 14px; min-width: 90px; }
.news .tag { background: var(--blue); color: #fff; font-size: 12px; padding: 2px 10px; border-radius: 4px; }
.news .tag--yellow { background: var(--yellow); color: var(--blue-dark); }
.news p { margin: 0; flex: 1; min-width: 200px; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(110deg, var(--blue-dark), var(--blue)); color: #fff; padding: 88px 0; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: -100px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: var(--yellow); opacity: .15; }
.cta h2 { font-size: clamp(24px, 3.4vw, 36px); }
.cta h2 em { font-style: normal; color: var(--yellow); }
.cta-grid { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; gap: 20px; margin-top: 40px; position: relative; }
.cta-box {
  background: #fff; color: var(--text); border-radius: var(--radius); padding: 28px 20px; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 6px; transition: transform .2s;
}
.cta-box:hover { transform: translateY(-4px); }
.cta-box__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; background: var(--yellow-light); }
.cta-box strong { color: var(--blue); font-size: 18px; }
.cta-box .big { font-family: Arial, sans-serif; font-size: 24px; font-weight: 800; color: var(--blue); }
.cta-box small { color: var(--muted); }

/* ---------- 会社概要 ---------- */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.info-table th, .info-table td { padding: 20px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 28%; background: var(--blue-light); color: var(--blue); font-weight: 700; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }


/* ---------- サービス詳細 ---------- */
.service-detail { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.service-detail:nth-of-type(even) { grid-template-columns: 1.2fr 1fr; }
.service-detail:nth-of-type(even) img { order: 2; }
.service-detail:last-of-type { border-bottom: 0; }
.service-detail img { border-radius: var(--radius); box-shadow: var(--shadow); }
.service-detail .num { font-family: Arial, sans-serif; font-weight: 900; color: var(--yellow); font-size: 18px; letter-spacing: .1em; }
.service-detail h2 { font-size: clamp(22px, 2.8vw, 30px); color: var(--blue); }
.check { display: grid; gap: 8px; margin-top: 16px; }
.check li { padding-left: 28px; position: relative; font-weight: 700; }
.check li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--yellow); color: var(--blue-dark); font-size: 12px; display: grid; place-items: center;
}
.subnav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.subnav a { padding: 10px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 14px; color: var(--blue); }
.subnav a:hover { background: var(--blue); color: #fff; }


/* ---------- お問い合わせフォーム ---------- */
.form { max-width: 760px; margin-inline: auto; background: #fff; border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow); }
.form__row { margin-bottom: 24px; }
.form label { display: block; font-weight: 700; margin-bottom: 8px; }
.req { background: #c34b4b; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: 2px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; font-size: 16px; font-family: inherit; background: #fafbfd;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); border-color: transparent; background: #fff; }
.form textarea { min-height: 160px; resize: vertical; }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.radio-group label { font-weight: 400; display: flex; align-items: center; gap: 6px; margin: 0; }
.form__agree { text-align: center; margin: 32px 0 24px; }
.form__agree label { display: inline-flex; gap: 8px; align-items: center; font-weight: 400; }
.form__msg { display: none; margin-top: 20px; padding: 16px; border-radius: 8px; background: var(--yellow-light); text-align: center; font-weight: 700; }
.form__msg.is-show { display: block; }

.privacy { max-width: 860px; margin-inline: auto; font-size: 14px; color: var(--muted); }
.privacy h3 { font-size: 16px; color: var(--text); margin-top: 24px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--blue-dark); color: rgba(255,255,255,.85); padding: 64px 0 100px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.footer-logo { display: inline-block; background: #fff; padding: 10px 18px; border-radius: 10px; margin-bottom: 16px; }
.footer-logo img { height: 36px; width: auto; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.footer-nav a { color: #fff; text-decoration: none; }
.footer-nav a:hover { color: var(--yellow); }
.copyright { text-align: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); font-size: 12px; }

/* スマホ固定CTA */
.fixed-cta { display: none; }
.pagetop {
  position: fixed; right: 20px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--yellow);
  color: var(--blue-dark); display: grid; place-items: center; text-decoration: none; font-weight: 900; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90;
}
.pagetop.is-show { opacity: 1; pointer-events: auto; }

/* スクロールで表示（JSがオフでも表示される） */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   タブレット・スマホ
   ========================================================= */
@media (max-width: 1080px) {
  .header-tel { display: none; }
  .gnav ul { gap: 20px; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .logo img { height: 36px; }
  .menu-btn { display: block; }
  .header-cta { display: none; }
  .gnav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff;
    padding: 24px 16px; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s; overflow-y: auto;
  }
  .menu-open .gnav { opacity: 1; visibility: visible; transform: none; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav a { display: block; padding: 18px 8px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .gnav a::after { display: none; }
  .gnav .gnav__cta { display: grid; gap: 12px; margin-top: 24px; }

  .section { padding: 72px 0; }
  .worry-grid, .reason-grid, .card-grid, .cta-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .split, .service-detail, .service-detail:nth-of-type(even) { grid-template-columns: 1fr; gap: 28px; }
  .service-detail:nth-of-type(even) img { order: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .form { padding: 32px 20px; }
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { padding-bottom: 8px; }
  .info-table td { padding-top: 12px; }

  .fixed-cta {
    display: grid; grid-template-columns: repeat(2, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    box-shadow: 0 -4px 16px rgba(0,0,0,.12);
  }
  .fixed-cta a { padding: 12px 4px; text-align: center; font-weight: 700; font-size: 13px; text-decoration: none; color: #fff; background: var(--blue); }
  .fixed-cta a[href*="lin.ee"] { background: #06c755; }
  .fixed-cta a:last-child { background: var(--yellow); color: var(--blue-dark); }
  .pagetop { bottom: 72px; }
}
@media (min-width: 901px) { .gnav__cta { display: none; } }
@media (max-width: 520px) {
  .flow { grid-template-columns: 1fr; }
  .hero .btn-row { flex-wrap: nowrap; gap: 10px; }
  .hero .btn-row .btn { flex: 1 1 0; min-width: 0; padding: 14px 8px; font-size: 15px; white-space: nowrap; }
}

/* ---------- ロゴ由来のチェッカー柄 ---------- */
.checker {
  height: 16px;
  background-color: var(--blue);
  background-image:
    linear-gradient(45deg, var(--yellow) 25%, transparent 25%, transparent 75%, var(--yellow) 75%),
    linear-gradient(45deg, var(--yellow) 25%, transparent 25%, transparent 75%, var(--yellow) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
}
.logo img { height: 52px; }
@media (max-width: 900px) { .logo img { height: 44px; } }

/* サービスカード（2列）・タグ */
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags li { font-size: 12px; font-weight: 700; color: var(--blue); background: var(--blue-light); padding: 3px 10px; border-radius: 999px; }
.check--2col { grid-template-columns: repeat(2, 1fr); column-gap: 20px; }
@media (max-width: 900px) { .card-grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .check--2col { grid-template-columns: 1fr; } }

/* 会社紹介（写真なし・中央寄せ） */
.about-text { max-width: 760px; text-align: center; }
.about-text .split { display: block; }

/* メインビジュアル写真：車（右側）が見えるように調整 */
.hero__bg img { object-position: 75% center; }
.hero::before {
  background: linear-gradient(100deg, rgba(33,56,99,.88) 0%, rgba(43,89,161,.6) 45%, rgba(43,89,161,0) 75%);
}
@media (max-width: 900px) {
  .hero__bg img { object-position: 82% center; }
  .hero::before { background: linear-gradient(180deg, rgba(33,56,99,.85) 0%, rgba(43,89,161,.55) 60%, rgba(43,89,161,.2) 100%); }
}
.hero__inner { max-width: 800px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 56px); }
.hero h1 .nowrap { white-space: nowrap; }
.hero p { max-width: 560px; }
.hero h1, .hero p { text-shadow: 0 2px 12px rgba(33,56,99,.45); }


/* ---------- スマホメニュー（全画面で大きく表示） ---------- */
@media (max-width: 900px) {
  .gnav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    z-index: 99; background: var(--blue-dark); padding: 24px 20px 40px;
  }
  .gnav::before {
    content: ""; display: block; height: 12px; margin: -24px -20px 24px;
    background-color: var(--blue);
    background-image:
      linear-gradient(45deg, var(--yellow) 25%, transparent 25%, transparent 75%, var(--yellow) 75%),
      linear-gradient(45deg, var(--yellow) 25%, transparent 25%, transparent 75%, var(--yellow) 75%);
    background-size: 12px 12px; background-position: 0 0, 6px 6px;
  }
  .gnav a {
    color: #fff; font-size: 22px; padding: 22px 8px;
    border-bottom: 1px solid rgba(255,255,255,.18);
    display: flex; justify-content: space-between; align-items: center;
  }
  .gnav ul a::after, .gnav ul a:hover::after, .gnav ul a[aria-current="page"]::after {
    display: block; content: "›"; position: static; width: auto; height: auto;
    background: none; color: var(--yellow); font-size: 28px; line-height: 1;
  }
  .gnav a[aria-current="page"] { color: var(--yellow); }
  .gnav .gnav__cta { margin-top: 32px; gap: 14px; }
  .gnav .gnav__cta .btn { font-size: 18px; padding: 18px; border-bottom: 0; justify-content: center; }
  .gnav .gnav__cta .btn--blue { background: #fff; color: var(--blue); }
  .menu-open { overflow: hidden; }
  .menu-open .fixed-cta, .menu-open .pagetop { display: none; }
}

/* =========================================================
   在庫車両
   ========================================================= */
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.car-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.car-card__img { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--blue-light); cursor: pointer; }
.car-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.car-card__img:hover img { transform: scale(1.04); }
.car-card__img { overflow: hidden; }
.car-new {
  position: absolute; top: 12px; left: 12px; background: var(--yellow); color: var(--blue-dark);
  font: 800 13px/1 Arial, sans-serif; letter-spacing: .08em; padding: 7px 12px; border-radius: 4px;
}
.car-status { display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 4px; margin-left: 8px; vertical-align: 1px; }
.car-card__img .car-status { position: absolute; top: 12px; right: 12px; margin: 0; font-size: 13px; }
.car-status--nego { background: #cf6830; color: #fff; }
.car-status--sold { background: #333; color: #fff; }
.car-card.is-sold .car-card__img img { filter: grayscale(1) opacity(.6); }
.car-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.car-maker { font-size: 13px; color: var(--muted); font-weight: 700; margin: 0 0 2px; }
.car-maker span { margin-left: 8px; font-weight: 400; color: var(--blue); background: var(--blue-light); padding: 1px 8px; border-radius: 999px; font-size: 12px; }
.car-name { font-size: 20px; margin: 0 0 12px; line-height: 1.4; }
.car-name small { font-size: 13px; color: var(--muted); font-weight: 400; }
.car-spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.car-spec li { background: #f5f7fb; border-radius: 6px; padding: 6px 4px; text-align: center; font-size: 13px; font-weight: 700; line-height: 1.4; }
.car-spec span { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
.car-price { border-top: 1px dashed var(--line); padding-top: 12px; margin-top: auto; }
.car-price p { margin: 0; }
.car-price__total { color: #c23838; font-weight: 700; }
.car-price__total span { display: inline-block; background: #c23838; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 3px; margin-right: 8px; vertical-align: 6px; }
.car-price__total strong { font: 800 32px/1.1 Arial, sans-serif; margin-right: 2px; }
.car-price__base { font-size: 13px; color: var(--muted); }
.car-card__more { margin-top: 16px; width: 100%; padding: 10px; font-size: 14px; }
.car-empty { grid-column: 1 / -1; text-align: center; background: #fff; border-radius: var(--radius); padding: 40px 20px; color: var(--muted); margin: 0; }
.cars-note { font-size: 13px; color: var(--muted); margin-top: 20px; text-align: center; }

/* 絞り込み */
.car-filter {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 24px; margin-bottom: 28px;
  display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px 18px; align-items: end;
}
.car-filter label { display: block; font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.car-filter select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 15px; background: #fafbfd; }
.car-filter .check-sold { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 400; color: var(--text); padding-bottom: 10px; margin: 0; white-space: nowrap; }
.car-count { margin: 0 0 16px; font-weight: 700; }
.car-count strong { font: 800 26px Arial, sans-serif; color: var(--blue); margin: 0 4px; }

/* 詳細ポップアップ */
.car-dialog { border: 0; padding: 0; border-radius: 16px; width: min(980px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.car-dialog::backdrop { background: rgba(25, 38, 64, .7); }
.car-dialog__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; padding: 28px; position: relative; }
.car-dialog__close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--blue); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; z-index: 2;
}
.car-dialog__main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--blue-light); }
.car-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.car-thumbs img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; cursor: pointer; }
.car-dialog__info .car-name { font-size: 26px; padding-right: 40px; }
.car-price--lg { border-top: 0; padding: 14px 16px; background: #fbf3f2; border-radius: 10px; margin-bottom: 16px; }
.car-price--lg .car-price__total strong { font-size: 40px; }
.car-comment { font-size: 15px; margin-bottom: 16px; }
.car-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 20px; }
.car-table th, .car-table td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.car-table th { width: 34%; background: var(--blue-light); color: var(--blue); font-weight: 700; }
.car-dialog__cta { width: 100%; margin-bottom: 10px; }
.car-sold-note { background: #f1f1f1; padding: 12px; border-radius: 8px; font-size: 14px; }
.car-note { font-size: 12px; color: var(--muted); margin: 6px 0 0; }

@media (max-width: 900px) {
  .car-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .car-filter { grid-template-columns: repeat(2, 1fr); padding: 16px; }
  .car-dialog__inner { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .car-dialog__close { top: 22px; right: 22px; }
}
@media (max-width: 560px) {
  .car-grid { grid-template-columns: 1fr; }
}

/* フッター内のリンク（メールアドレスなど） */
.site-footer p a { color: #fff; }
.site-footer p a:hover { color: var(--yellow); }

/* =========================================================
   輸入車・外車
   ========================================================= */
/* トップページの専用セクション */
.imported { background: linear-gradient(120deg, var(--blue-dark), var(--blue)); color: #fff; position: relative; overflow: hidden; }
.imported::before {
  content: "IMPORTED"; position: absolute; right: -20px; bottom: 30px; font: 900 clamp(80px, 14vw, 180px)/1 Arial, sans-serif;
  color: rgba(255,255,255,.05); letter-spacing: .05em; pointer-events: none;
}
.imported__inner { padding: 88px 0; position: relative; }
.imported .sec-title .en { color: var(--yellow); }
.imported .lead { color: rgba(255,255,255,.88); }
.imported__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.imported__item {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius);
  padding: 32px 26px; position: relative;
}
.imported__item h3 { font-size: 20px; margin-top: 14px; }
.imported__item p { margin: 0; font-size: 15px; color: rgba(255,255,255,.88); }
.imported__label {
  display: inline-block; background: var(--yellow); color: var(--blue-dark); font-weight: 800; font-size: 14px;
  padding: 4px 16px; border-radius: 999px;
}

/* サービス案内ページの特集枠 */
.imported-box {
  background: linear-gradient(120deg, var(--blue-dark), var(--blue)); color: #fff; border-radius: var(--radius);
  padding: 48px; margin: 56px 0; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.imported-box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--yellow); opacity: .18; }
.imported-box .num { font-family: Arial, sans-serif; font-weight: 900; color: var(--yellow); font-size: 18px; letter-spacing: .1em; }
.imported-box h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 4px; }
.imported-box__head p { color: rgba(255,255,255,.88); max-width: 720px; }
.imported-box .check { margin-top: 24px; }
.imported-box .btn-row { justify-content: flex-start; margin-top: 32px; }


@media (max-width: 900px) {
  .imported__grid { grid-template-columns: 1fr; gap: 16px; }
  .imported__inner { padding: 64px 0; }
  .imported-box { padding: 32px 20px; margin: 40px 0; }
}
@media (max-width: 520px) {
  .imported .btn-row .btn, .imported-box .btn-row .btn { width: 100%; }
}


/* ===== 残価設定プラン「ゴジュッパ」 ===== */
.gojuppa-box {
  background: var(--yellow-light); border: 3px solid var(--yellow); border-radius: var(--radius);
  padding: 48px; margin: 56px 0; box-shadow: var(--shadow);
}
.gojuppa-box .num { font-family: Arial, sans-serif; font-weight: 900; color: var(--yellow-dark); font-size: 18px; letter-spacing: .1em; }
.gojuppa-box h2 { font-size: clamp(24px, 3vw, 32px); color: var(--blue); margin-top: 4px; }
.gojuppa-box__catch { font-size: clamp(18px, 2.2vw, 22px); font-weight: 800; color: var(--blue-dark); background: linear-gradient(transparent 62%, var(--yellow) 62%); display: inline; }
.gojuppa-box__visual img { width: 100%; height: auto; margin-bottom: 28px; }
.gojuppa-howto { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; margin-top: 18px; }
.gojuppa-howto p { margin: 0; }
.gojuppa-howto img { background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.gojuppa-banner { display: block; max-width: 560px; margin: 40px auto 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s; }
.gojuppa-banner:hover { transform: translateY(-4px); }
.gojuppa-box .check { margin-top: 24px; }
.gojuppa-box__sub { margin-top: 36px; font-size: 20px; color: var(--blue); }
.gojuppa-choice { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gojuppa-choice li { background: #fff; border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); }
.gojuppa-choice__no { display: block; font-family: Arial, sans-serif; font-weight: 900; font-size: 28px; color: var(--yellow-dark); line-height: 1; }
.gojuppa-choice strong { display: block; margin-top: 8px; font-size: 17px; color: var(--blue); }
.gojuppa-choice p { margin-top: 8px; font-size: 14px; }
.gojuppa-box__note { margin-top: 24px; font-size: 13px; color: #555; }
.gojuppa-box .btn-row { justify-content: flex-start; margin-top: 28px; }
@media (max-width: 900px) {
  .gojuppa-box { padding: 32px 20px; margin: 40px 0; }
  .gojuppa-choice, .gojuppa-howto { grid-template-columns: 1fr; gap: 20px; }
  .gojuppa-box .btn-row .btn { width: 100%; }
}

/* =========================================================
   在庫車両カード：落ち着いた見た目・コンパクト表示
   ========================================================= */
.car-card { box-shadow: 0 4px 14px rgba(33, 56, 99, .07); border: 1px solid var(--line); }
.car-card__img img { aspect-ratio: 4 / 3; }
.car-new { font-size: 11px; padding: 5px 9px; top: 10px; left: 10px; }
.car-card__img .car-status { font-size: 11px; top: 10px; right: 10px; }
.car-card__body { padding: 14px 16px 16px; }
.car-maker span { background: #f1f3f7; color: var(--muted); }
.car-name { font-size: 17px; margin-bottom: 10px; }
.car-spec { gap: 4px; margin-bottom: 12px; }
.car-spec li { background: #f6f7f9; font-size: 12px; padding: 5px 4px; }
.car-price { padding-top: 10px; }
.car-price__total { color: var(--text); }
.car-price__total span {
  background: transparent; color: #b5443f; border: 1px solid #d9a09c;
  font-size: 10px; padding: 1px 6px; vertical-align: 4px; margin-right: 6px;
}
.car-price__total strong { font-size: 26px; color: #b5443f; }
.car-price__base { font-size: 12px; }
.car-card__more { margin-top: 12px; padding: 8px; font-size: 13px; border-width: 1px; }
.car-price--lg { background: #f8f6f4; }
.car-price--lg .car-price__total strong { font-size: 34px; }

/* PC：横に4台、タブレット：3台 */
.car-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1080px) { .car-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .car-grid { gap: 14px; } }

/* スマホ：横に2台ずつ並べる */
@media (max-width: 560px) {
  .car-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .car-card { border-radius: 10px; }
  .car-new { font-size: 10px; padding: 3px 6px; top: 6px; left: 6px; }
  .car-card__img .car-status { font-size: 10px; padding: 2px 6px; top: 6px; right: 6px; }
  .car-card__body { padding: 10px 10px 12px; }
  .car-maker { font-size: 11px; }
  .car-maker span { display: none; }
  .car-name { font-size: 14px; margin-bottom: 6px; }
  .car-name small { display: block; font-size: 11px; line-height: 1.4; }
  .car-spec { grid-template-columns: 1fr; gap: 0; margin-bottom: 8px; }
  .car-spec li { background: none; padding: 0; text-align: left; font-size: 11px; font-weight: 400; display: flex; gap: 6px; }
  .car-spec span { display: inline; font-size: 11px; min-width: 2.5em; }
  .car-price { padding-top: 8px; }
  .car-price__total span { display: block; width: fit-content; margin: 0 0 2px; vertical-align: 0; }
  .car-price__total strong { font-size: 20px; }
  .car-price__total { font-size: 12px; }
  .car-price__base { font-size: 10px; }
  .car-card__more { margin-top: 8px; padding: 6px 4px; font-size: 12px; }
  .car-filter { grid-template-columns: repeat(2, 1fr); gap: 10px 12px; padding: 14px; }
}

/* スマホ下部の固定ボタン（LINE／お問い合わせ）：落ち着いた色 */
@media (max-width: 900px) {
  .fixed-cta { box-shadow: 0 -2px 10px rgba(33, 56, 99, .10); }
  .fixed-cta a[href*="lin.ee"] { background: #3c9a6c; }
  .fixed-cta a:last-child { background: #efd85e; color: var(--blue-dark); }
}

/* ご購入までの流れ：コンパクト表示 */
.flow li { padding: 22px 16px 18px; }
.flow li::before { margin-bottom: 8px; font-size: 12px; padding: 3px 12px; }
.flow h3 { font-size: 17px; margin-bottom: .3em; }
@media (max-width: 900px) {
  #flow.section, .section--blue:has(> .container > .flow) { padding: 48px 0; }
  .section:has(.flow) .sec-title { margin-bottom: 24px; }
  .flow { grid-template-columns: 1fr; gap: 0; position: relative; }
  .flow li {
    display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start;
    text-align: left; padding: 0 0 16px; background: none; box-shadow: none; border-radius: 0; position: relative;
  }
  .flow li:not(:last-child)::after {
    content: ""; position: absolute; left: 21px; top: 44px; bottom: 4px; width: 2px; background: #c9d5e8;
  }
  .flow li::before {
    content: counter(step); grid-row: 1 / span 2; width: 44px; height: 44px; padding: 0; margin: 0;
    border-radius: 50%; display: grid; place-items: center; font-size: 18px;
  }
  .flow h3 { font-size: 16px; margin: 0; line-height: 1.5; padding-top: 2px; }
  .flow p { font-size: 13px; line-height: 1.6; }
}

/* 輸入車・外車（トップ）：スマホでコンパクト表示 */
@media (max-width: 900px) {
  .imported__inner { padding: 44px 0 40px; }
  .imported .sec-title { margin-bottom: 20px; }
  .imported .sec-title h2 { font-size: 21px; }
  .imported .sec-title h2::after { margin-top: 12px; }
  .imported .lead { margin: 0 auto 20px; font-size: 13px; line-height: 1.7; text-align: left; }
  .imported .lead br { display: none; }
  .imported__grid { gap: 8px; }
  .imported__item {
    display: grid; grid-template-columns: 5.2em 1fr; column-gap: 12px; align-items: center;
    padding: 12px 14px; border-radius: 10px;
  }
  .imported__label { grid-row: 1 / span 2; align-self: start; text-align: center; font-size: 12px; padding: 3px 4px; margin-top: 2px; }
  .imported__item h3 { font-size: 15px; margin: 0; }
  .imported__item p { font-size: 12px; line-height: 1.6; margin-top: 2px; }
  .imported .btn-row { margin-top: 20px; gap: 8px; }
  .imported .btn-row .btn { width: 100%; padding: 11px 12px; font-size: 14px; }
}

/* 輸入車・外車（トップ）：白背景＋ガラス風の枠 */
.imported {
  background:
    radial-gradient(560px 340px at 14% 62%, rgba(43, 89, 161, .20), transparent 70%),
    radial-gradient(520px 320px at 86% 70%, rgba(246, 218, 44, .32), transparent 70%),
    linear-gradient(180deg, #fbfcfe, #f3f6fb);
  color: var(--text);
}
.imported > .checker { display: none; }
.imported::before { color: rgba(43, 89, 161, .05); }
.imported .sec-title .en { color: var(--yellow-dark); }
.imported .sec-title h2 { color: var(--text); }
.imported .lead { color: var(--muted); }
.imported__item {
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 8px 28px rgba(33, 56, 99, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.imported__item h3 { color: var(--blue); }
.imported__item p { color: var(--muted); }
.imported .btn--white { background: rgba(255, 255, 255, .7); border-color: var(--blue); color: var(--blue); }
@media (max-width: 900px) {
  .imported {
    background:
      radial-gradient(320px 260px at 0% 45%, rgba(43, 89, 161, .20), transparent 70%),
      radial-gradient(320px 260px at 100% 72%, rgba(246, 218, 44, .32), transparent 70%),
      linear-gradient(180deg, #fbfcfe, #f3f6fb);
  }
}

/* こんなお悩み（トップ）：スマホでコンパクト表示 */
@media (max-width: 900px) {
  #worry.section { padding: 48px 0; }
  #worry .sec-title { margin-bottom: 24px; }
  #worry .sec-title h2 { font-size: 21px; }
  #worry .sec-title h2::after { margin-top: 12px; }
  .worry-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .worry {
    padding: 12px 12px; gap: 8px; font-size: 13px; line-height: 1.55; border-radius: 10px;
    box-shadow: 0 3px 10px rgba(33, 56, 99, .06); align-items: center;
  }
  .worry::before { width: 22px; height: 22px; font-size: 12px; }
  .answer { margin-top: 28px; padding: 24px 16px; border-radius: 12px; }
  .answer::before { top: -12px; border-width: 12px; border-top: 0; }
  .answer h3 { font-size: 18px; margin-bottom: .4em; }
  .answer p { font-size: 13px; line-height: 1.7; }
}

/* 選ばれる3つの理由（トップ）：スマホでコンパクト表示 */
@media (max-width: 900px) {
  #reason.section { padding: 48px 0; }
  #reason .sec-title { margin-bottom: 24px; }
  #reason .sec-title h2 { font-size: 21px; }
  #reason .sec-title h2::after { margin-top: 12px; }
  .reason-grid { gap: 10px; }
  .reason {
    display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; align-items: start;
    padding: 16px 16px; border-radius: 12px; box-shadow: 0 3px 12px rgba(33, 56, 99, .07);
  }
  .reason__num { grid-row: 1 / span 2; font-size: 34px; margin: 2px 0 0; }
  .reason h3 { font-size: 16px; margin: 0 0 .2em; }
  .reason p { font-size: 13px; line-height: 1.65; }
}

/* 在庫車両（トップ）：スマホでコンパクト表示・4台まで */
@media (max-width: 900px) {
  #cars.section { padding: 48px 0; }
  #cars .sec-title { margin-bottom: 16px; }
  #cars .sec-title h2 { font-size: 21px; }
  #cars .sec-title h2::after { margin-top: 12px; }
  #cars .lead { margin: 0 auto 20px; font-size: 13px; line-height: 1.7; }
  #cars .btn-row { margin-top: 20px; }
}
@media (max-width: 560px) {
  .js-cars-pickup .car-card:nth-child(n+5) { display: none; }
}

/* メインビジュアルのボタン：白（相談する）＋白枠（サービスを見る） */
.hero .btn--yellow { background: #fff; color: var(--blue-dark); }
.hero .btn--yellow:hover { background: #f4f6fa; }
.hero .btn--white { background: transparent; border-color: rgba(255, 255, 255, .85); color: #fff; }
.hero .btn--white:hover { background: rgba(255, 255, 255, .12); }

/* チェッカー柄：淡い色にして控えめに */
.checker, .gnav::before { --checker-a: #9fb3d6; --checker-b: #f7e690; }
.checker {
  background-color: var(--checker-a);
  background-image:
    linear-gradient(45deg, var(--checker-b) 25%, transparent 25%, transparent 75%, var(--checker-b) 75%),
    linear-gradient(45deg, var(--checker-b) 25%, transparent 25%, transparent 75%, var(--checker-b) 75%);
}
@media (max-width: 900px) {
  .gnav::before {
    background-color: var(--checker-a);
    background-image:
      linear-gradient(45deg, var(--checker-b) 25%, transparent 25%, transparent 75%, var(--checker-b) 75%),
      linear-gradient(45deg, var(--checker-b) 25%, transparent 25%, transparent 75%, var(--checker-b) 75%);
  }
}

/* 支払総額：赤をやめて紺で落ち着かせる */
.car-price__total strong { color: var(--blue-dark); }
.car-price__total span { color: var(--muted); border-color: #c9d0dc; background: #fff; }
.car-price--lg { background: var(--blue-light); }

/* スマホメニュー：白地に青文字 */
@media (max-width: 900px) {
  .gnav { background: #fff; }
  .gnav a { color: var(--blue); border-bottom-color: var(--line); }
  .gnav ul a::after, .gnav ul a:hover::after, .gnav ul a[aria-current="page"]::after { color: var(--blue); opacity: .5; }
  .gnav a[aria-current="page"] { color: var(--blue-dark); background: var(--blue-light); border-radius: 8px; }
  .gnav a[aria-current="page"]::after { opacity: 1; }
  .gnav .gnav__cta .btn--yellow { background: var(--blue); color: #fff; }
}

/* =========================================================
   明るく気軽に相談できる雰囲気への調整
   ========================================================= */
/* メインビジュアル：車体にかかる紺を弱め、文字の後ろだけ濃く */
.hero::before {
  background: linear-gradient(100deg, rgba(33,56,99,.78) 0%, rgba(33,56,99,.55) 32%, rgba(43,89,161,.12) 56%, rgba(43,89,161,0) 72%);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }
.hero__link { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.hero__link::after { content: " →"; }
.hero__link:hover { color: var(--yellow); }
.scroll-down { display: none; }

/* 3つの特徴：写真の下に、枠なしで */
.hero-points { background: #fff; border-bottom: 1px solid var(--line); }
.hero-points ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; padding: 18px 0; }
.hero-points li { font-weight: 700; font-size: 15px; color: var(--blue-dark); }
.hero-points li::before { content: "✓"; color: var(--yellow-dark); margin-right: 6px; font-weight: 900; }

@media (max-width: 900px) {
  .hero { min-height: 0; align-items: flex-start; }
  .hero__inner { padding: 36px 0 230px; }
  .hero::before {
    background: linear-gradient(180deg, rgba(33,56,99,.78) 0%, rgba(33,56,99,.6) 34%, rgba(43,89,161,.12) 62%, rgba(43,89,161,0) 78%);
  }
  .hero__bg img { object-position: 78% 70%; }
  .hero h1 { font-size: 30px; margin-bottom: 12px; }
  .hero p { font-size: 14px; line-height: 1.75; }
  .hero__actions { margin-top: 20px; gap: 14px 20px; }
  .hero__cta { padding: 13px 28px; font-size: 16px; }
  .hero-points ul { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 0; width: min(1120px, 100% - 40px); }
  .hero-points li { font-size: 14px; }
}

/* お問い合わせ欄：淡い水色＋紺の見出し */
.cta { background: #e6f0fa; color: var(--text); }
.cta::before { background: #fff; opacity: .6; }
.cta h2 { color: var(--blue-dark); }
.cta h2 em { color: var(--blue-dark); background: linear-gradient(transparent 62%, var(--yellow) 62%); }
.cta > .container > p { color: var(--muted); }
.cta-box { border: 1px solid #d6e2f0; box-shadow: 0 4px 14px rgba(33, 56, 99, .06); }
.cta-box[href*="lin.ee"] .cta-box__icon { background: #e3f5ea; }
.cta-box[href*="lin.ee"] .big, .cta-box[href*="lin.ee"] strong { color: #1f9d55; }
@media (max-width: 900px) {
  .cta { padding: 52px 0; }
  .cta h2 { font-size: 22px; }
  .cta-grid { margin-top: 24px; gap: 12px; }
  .cta-box { padding: 20px 16px; }
}

/* 画面下のLINE・お問い合わせ：白いバーにまとめる */
@media (max-width: 900px) {
  .fixed-cta {
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
    box-shadow: 0 -4px 16px rgba(33, 56, 99, .08);
  }
  .fixed-cta a { border-radius: 999px; padding: 11px 4px; font-size: 14px; }
  .fixed-cta a[href*="lin.ee"] { background: #22b260; color: #fff; }
  .fixed-cta a:last-child { background: var(--yellow); color: var(--blue-dark); }
  .site-footer { padding-bottom: 110px; }

  /* ページ上部へ戻るボタンは在庫カードに重なるため非表示 */
  .pagetop { display: none; }
}
.hero__link { text-shadow: 0 1px 8px rgba(33, 56, 99, .6); }

/* フッター：Instagramアイコン */
.footer-sns { display: inline-block; margin-top: 4px; line-height: 0; border-radius: 12px; transition: transform .2s, opacity .2s; }
.footer-sns:hover { transform: translateY(-2px); opacity: .9; }

/* インラインstyleを使わないためのクラス（セキュリティ設定 CSP 対応） */
.section--pt48 { padding-top: 48px; }
.section--pt40 { padding-top: 40px; }
.lead--top { margin-top: 0; }

/* 404ページ */
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; background: var(--blue-light); }
.notfound__logo img { height: 60px; width: auto; margin-bottom: 24px; }
.notfound__code { font: 900 72px/1 Arial, sans-serif; color: var(--blue); margin: 0 0 8px; }
.notfound h1 { font-size: 22px; color: var(--blue-dark); }
.notfound p { color: var(--muted); }
.notfound .btn-row { margin-top: 24px; }

/* お問い合わせフォーム：迷惑メール対策の隠し欄・エラー表示 */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form__msg.is-error { background: #fdecea; color: #9b2c22; }
.js-submit:disabled { opacity: .6; cursor: default; }

/* 残価設定プラン「ゴジュッパ」（トップ） */
.gojuppa-top { background: var(--yellow-light); padding: 56px 0; border-bottom: 1px solid var(--line); }
.gojuppa-top__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.gojuppa-top__banner { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s; }
.gojuppa-top__banner:hover { transform: translateY(-3px); }
.gojuppa-top__en { font-family: Arial, sans-serif; font-weight: 800; letter-spacing: .15em; color: var(--yellow-dark); font-size: 14px; }
.gojuppa-top h2 { font-size: clamp(22px, 2.8vw, 30px); color: var(--blue-dark); margin: 4px 0 8px; }
.gojuppa-top p { color: var(--muted); margin-bottom: 12px; }
.gojuppa-top__points li { position: relative; padding-left: 24px; font-weight: 700; margin-bottom: 6px; }
.gojuppa-top__points li::before { content: "✓"; position: absolute; left: 0; color: var(--yellow-dark); font-weight: 900; }
.gojuppa-top__points strong { color: var(--blue); }
.gojuppa-top__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 20px; }
.gojuppa-top__link { font-weight: 700; color: var(--blue); }
.gojuppa-top__link::after { content: " →"; }
@media (max-width: 900px) {
  .gojuppa-top { padding: 32px 0; }
  .gojuppa-top__inner { grid-template-columns: 1fr; gap: 18px; }
  .gojuppa-top h2 { font-size: 20px; }
  .gojuppa-top p { font-size: 13px; margin-bottom: 8px; }
  .gojuppa-top__points li { font-size: 13px; margin-bottom: 4px; }
  .gojuppa-top__btns { margin-top: 14px; }
  .gojuppa-top__btns .btn { width: 100%; padding: 12px; font-size: 15px; }
  .gojuppa-top__link { margin: 0 auto; font-size: 14px; }
}

/* 信販会社様向け 車両回収代行 */
.recovery-box { margin-top: 20px; padding: 18px 20px; background: var(--blue-light); border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; }
.recovery-box h3 { font-size: 16px; color: var(--blue-dark); margin-bottom: 6px; }
.recovery-box p { font-size: 14px; color: var(--text); margin-bottom: 8px; }
.recovery-box__link { font-weight: 700; font-size: 14px; color: var(--blue); }
.recovery-box__link::after { content: " →"; }

/* メインビジュアルの説明文：PCで1文ずつ1行に収める */
@media (min-width: 901px) {
  /* 1文を1行に。2行目の終わりが車に重ならない大きさに */
  .hero p { max-width: 720px; font-size: 16px; }
}

/* 新しいメイン写真（横長・車が右寄り）に合わせた見せ方 */
@media (min-width: 901px) {
  .hero { min-height: 0; }
  .hero__inner { padding: 72px 0; }
  .hero__bg img { object-position: 100% 78%; }
  .hero::before {
    background: linear-gradient(100deg, rgba(33,56,99,.82) 0%, rgba(33,56,99,.68) 36%, rgba(33,56,99,.3) 50%, rgba(43,89,161,0) 62%);
  }
}
@media (max-width: 900px) {
  .hero__bg img { object-position: 61% 85%; }
}

/* スマホ：写真を文字の下に横長で置き、2台とも見える引きの絵に */
@media (max-width: 900px) {
  .hero { background: #5a92d8; }
  .hero__bg { top: auto; bottom: 0; height: 230px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 36px); mask-image: linear-gradient(180deg, transparent 0, #000 36px); }
  .hero__bg img { object-position: 94% 60%; }
  .hero::before {
    background: linear-gradient(180deg, rgba(33,56,99,.72) 0, rgba(33,56,99,.55) 220px, rgba(43,89,161,.12) 300px, rgba(43,89,161,0) 340px);
  }
  .hero__inner { padding: 32px 0 248px; }
}
