/*
Theme Name: YS Auto Ajisu
Theme URI: https://auto-ys.co.jp/
Author: OpenAI
Description: 株式会社ワイエス自動車の8ページ構成WordPressテーマです。
Version: 2.9.30
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ys-auto-ajisu
*/

:root {
  --red: #d71920;
  --red-deep: #a70f15;
  --orange: #ef8b19;
  --green: #188548;
  --green-deep: #126536;
  --blue: #1677c8;
  --wood: #4b352a;
  --ink: #24272b;
  --muted: #60666d;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --line: #dfe3e8;
  --shadow: 0 16px 38px rgba(27,39,51,.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.85;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.topline { min-height: 42px; display:flex; align-items:center; background:#fff; border-top:7px solid var(--red); border-bottom:1px solid var(--line); }
.topline .container { display:flex; align-items:center; }
.header-daihatsu-logo { width:150px; height:auto; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,253,247,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { position: relative; min-height: 132px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 28px; padding-top: 13px; }
.brand { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--ink); font-size: 1.35rem; font-weight: 900; letter-spacing: .02em; }
.brand::before { content: none; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: var(--red); box-shadow: inset 0 -4px 0 var(--red-deep); font-size: 18px; }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.nav { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 22px; border-top: 1px solid var(--line); font-size: 1.03rem; font-weight: 800; }
.nav a { padding: 8px 0; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); border-color: var(--red); }
.phone-mini { position: absolute; right: 0; top: 20px; padding: 8px 0 !important; color: var(--ink) !important; background: transparent; border: 0 !important; line-height: 1.25; font-size: 1.15rem; }
.phone-mini small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; }
.reserve-mini { padding: 9px 18px !important; color: #fff !important; background: var(--green); border: 0 !important; border-radius: 999px; }
.menu-button { display: none; border: 0; padding: 10px 15px; color: #fff; background: var(--green); border-radius: 999px; font: inherit; font-weight: 800; }

.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(90deg,rgba(65,54,43,.72),rgba(65,54,43,.46) 52%,rgba(65,54,43,.08)),url('assets/kirara-dome.jpg') center 48%/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: auto 0 0; height: 7px; background: var(--red); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; min-height: 570px; align-items: center; gap: 56px; padding-block: 82px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--red); font-weight: 900; letter-spacing: .12em; }
.hero .eyebrow, .page-hero .eyebrow, .reservation-section .eyebrow { color: #fff; }
.eyebrow::before { content: ""; width: 30px; height: 4px; background: currentColor; }
h1 { margin: 0; font-size: clamp(2.45rem,5.2vw,4.65rem); line-height: 1.14; letter-spacing: -.025em; }
h1,.section-head h2,.lead-copy h2,.reservation-section h2,.cta h2 { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; letter-spacing: .01em; }
.hero h1 span { display: block; color: #fff; }
.hero-copy { max-width: 720px; margin: 24px 0 18px; font-size: 1.2rem; font-weight: 700; }
.authorized-badge { display: inline-block; margin: 0 0 26px; padding: 6px 14px; color: var(--red); background: #fff; font-weight: 900; letter-spacing: .06em; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 13px 26px; border: 2px solid transparent; border-radius: 999px; font-size: 1.02rem; font-weight: 900; }
.button-primary, .button-yellow { color: #fff; background: var(--red); box-shadow: 0 12px 28px rgba(143,79,61,.22); }
.button-secondary { border-color: rgba(255,255,255,.8); color: #fff; background: rgba(76,90,68,.48); }
.button-wide { width: 100%; }
.hero-note { margin: 16px 0 0; color: #eee; font-size: .9rem; }
.hero-panel { position: relative; padding: 30px; color: var(--ink); background: rgba(255,253,247,.96); border-top: 6px solid var(--green); border-radius: 14px; box-shadow: var(--shadow); }
.hero-panel::before { content: "整備工場"; display: inline-block; margin-bottom: 15px; padding: 6px 12px; color: #fff; background: var(--green); border-radius: 999px; font-size: .85rem; font-weight: 900; }
.conversion-panel::before { display: none; }
.panel-label { display: inline-block; margin: 0 0 14px; padding: 5px 12px; color: #fff; background: var(--green); border-radius: 999px; font-size: .82rem; font-weight: 900; }
.hero-panel h2 { margin: 0 0 10px; font-size: 1.65rem; line-height: 1.35; }
.check-list,.quick-list { display: grid; gap: 11px; margin: 22px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; font-weight: 800; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 21px; height: 21px; color: #fff; background: var(--red); border-radius: 50%; font-size: .75rem; }
.text-link,.card-link { color: var(--red); font-weight: 900; }
.quick-list li { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; padding: 12px; background: var(--soft); font-weight: 800; }
.quick-list b { display: grid; place-items: center; width: 32px; height: 32px; color: #fff; background: var(--red); border-radius: 50%; }

.trustbar { position: relative; z-index: 2; margin-top: 0; background: var(--green); }
.trustbar-inner { display: grid; grid-template-columns: repeat(3,1fr); overflow: hidden; background: var(--green-deep); }
.trust-item { padding: 22px; color: #fff; text-align: center; border-right: 1px solid rgba(255,255,255,.18); }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; color: #fff; font-size: 1.1rem; }
.trust-icon { display: inline-grid; place-items: center; min-width: 48px; height: 28px; margin-bottom: 8px; padding: 0 10px; color: #fff; background: var(--red); border-radius: 999px; font-size: .78rem; font-weight: 900; }

.section { padding-block: 76px; }
.section-soft { background: linear-gradient(135deg,#f6f2e8,var(--soft)); }
.section-head { margin-bottom: 36px; }
.section-head p { display: inline-block; margin: 0 0 10px; padding: 4px 12px; color: var(--green-deep); background: #ebe5d5; border-radius: 999px; font-size: .92rem; font-weight: 900; letter-spacing: .03em; }
.section-head h2 { margin: 0; color: var(--ink); font-size: clamp(2rem,4vw,3.1rem); line-height: 1.2; }
.section-head h2::after { content: ""; display: block; width: 74px; height: 4px; margin-top: 16px; background: var(--red); }
.centered { text-align: center; }
.centered p { justify-content: center; }
.section-head.centered h2::after { margin-inline: auto; }
.worry-grid,.flow-grid,.reason-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.worry-grid article,.reason-grid article { padding: 30px; background: #fffdf8; border: 2px solid var(--line); border-radius: 14px; box-shadow: none; }
.worry-grid article>span,.reason-grid b { color: var(--red); font-weight: 900; letter-spacing: .08em; }
.worry-grid h3,.reason-grid h3 { margin: 10px 0 8px; font-size: 1.35rem; }
.worry-grid p,.reason-grid p { margin: 0; }
.flow-grid article { position: relative; padding: 28px 26px 26px; color: #fff; background: var(--green-deep); border-top: 6px solid var(--orange); border-radius: 12px; }
.flow-grid article:not(:last-child)::after { content: "→"; position: absolute; right: -20px; top: 44%; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; color: #fff; background: var(--red); border-radius: 50%; font-weight: 900; }
.flow-grid b { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: var(--red); border-radius: 50%; font-size: 1.2rem; }
.flow-grid h3 { margin: 16px 0 6px; font-size: 1.3rem; }
.flow-grid p { margin: 0; color: #f1eee5; }
.section-action { margin-top: 30px; text-align: center; }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.card { position: relative; overflow: hidden; min-height: 300px; padding: 30px; background: #fffdf8; border: 2px solid var(--line); border-radius: 14px; box-shadow: none; }
.card::after { content: ""; position: absolute; top: 0; left: 0; width: 86px; height: 7px; background: var(--red); }
.card-number { color: var(--red); font-size: 3rem; font-weight: 900; }
.card h3 { margin: 8px 0 12px; font-size: 1.5rem; }
.card-link { display: inline-flex; margin-top: 18px; }

.page-hero { position: relative; overflow: hidden; padding: 76px 0 68px; color: #fff; background: linear-gradient(rgba(67,57,45,.58),rgba(67,57,45,.58)),url('assets/kirara-dome.jpg') center 46%/cover no-repeat; border-bottom: 6px solid var(--green); }
.page-hero::after { display: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(2.35rem,5vw,4.2rem); }
.page-hero p:last-child { max-width: 700px; margin: 18px 0 0; font-size: 1.1rem; font-weight: 700; }
.page-hero-actions { margin-top: 28px; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.lead-copy h2 { margin: 0 0 18px; font-size: clamp(2rem,4vw,3.1rem); line-height: 1.25; }
.visual-block { min-height: 360px; display: grid; align-content: end; padding: 34px; overflow: hidden; color: #fff; background: linear-gradient(140deg,var(--wood) 0 58%,var(--green) 58% 80%,var(--orange) 80%); border-radius: 16px; box-shadow: var(--shadow); }
.visual-block strong { max-width: 410px; font-size: clamp(1.7rem,4vw,2.8rem); line-height: 1.3; }
.photo-block { position: relative; min-height: 380px; margin: 0; overflow: hidden; background: var(--soft); border-radius: 16px; box-shadow: var(--shadow); }
.photo-block img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.photo-block figcaption { position: absolute; inset: auto 0 0; padding: 24px 26px; color: #fff; background: linear-gradient(transparent,rgba(44,39,32,.88)); font-size: 1.1rem; font-weight: 900; }
.photo-block figcaption small { display: block; margin-top: 3px; color: #e8e3d9; font-size: .72rem; font-weight: 500; }
.shop-photo-section { padding-bottom: 42px; }
.shop-photo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.shop-photo-grid figure { margin: 0; overflow: hidden; background: #fffdf8; border-radius: 15px; box-shadow: 0 12px 30px rgba(82,67,49,.13); }
.shop-photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.shop-photo-grid figcaption { display: grid; gap: 3px; padding: 18px 20px 20px; }
.shop-photo-grid figcaption strong { font-size: 1.1rem; }
.shop-photo-grid figcaption span { color: var(--muted); font-size: .9rem; }
.image-note { margin: 12px 0 0; color: var(--muted); text-align: right; font-size: .75rem; }
.wide-photo-band { position: relative; overflow: hidden; color: #fff; background: var(--green-deep); }
.wide-photo-band .container { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 42px; padding-block: 44px; }
.wide-photo-band img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 14px; }
.wide-photo-band p { margin: 0 0 8px; color: #e2d3b8; font-weight: 900; }
.wide-photo-band h2 { margin: 0; font-family: "Yu Mincho","Hiragino Mincho ProN",serif; font-size: clamp(1.8rem,3.5vw,2.8rem); line-height: 1.35; }
.company-photo-intro { padding-bottom: 20px; }
.inspection-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(90deg,rgba(50,43,35,.9) 0%,rgba(50,43,35,.78) 52%,rgba(50,43,35,.28) 100%),url('/assets/mechanic-engine-inspection.png') center/cover no-repeat; border-bottom: 7px solid var(--red); }
.inspection-hero-grid { display: grid; grid-template-columns: 1.1fr .72fr; gap: 56px; align-items: center; min-height: 650px; padding-block: 78px; }
.inspection-hero h1 { max-width: 800px; }
.inspection-hero-copy { max-width: 720px; margin: 24px 0 18px; font-size: 1.18rem; font-weight: 700; }
.inspection-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.inspection-badges span { padding: 7px 12px; color: var(--green-deep); background: #fff; border-radius: 999px; font-size: .85rem; font-weight: 900; }
.inspection-hero-card { padding: 30px; color: var(--ink); background: rgba(255,253,247,.96); border-top: 7px solid var(--green); border-radius: 16px; box-shadow: var(--shadow); }
.inspection-hero-card>strong { display: block; color: var(--green-deep); font-size: 1.05rem; }
.inspection-hero-card>a { display: block; margin: 6px 0 0; color: var(--red); font-size: clamp(2rem,4vw,3.15rem); line-height: 1.2; font-weight: 900; }
.inspection-hero-card>p { margin: 4px 0 18px; color: var(--muted); font-size: .88rem; }
.inspection-hero-card ul { display: grid; gap: 8px; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; }
.inspection-hero-card li { position: relative; padding-left: 24px; font-weight: 800; }
.inspection-hero-card li::before { content: "✓"; position: absolute; left: 0; color: var(--red); }
.inspection-quickbar { color: #fff; background: var(--green-deep); }
.inspection-quickbar .container { display: flex; align-items: center; gap: 18px; padding-block: 18px; }
.inspection-quickbar strong { font-size: 1.08rem; }
.inspection-quickbar span { color: #e8e4dc; }
.inspection-quickbar a { margin-left: auto; padding: 7px 16px; color: #fff; background: var(--red); border-radius: 999px; font-weight: 900; white-space: nowrap; }
.inspection-concern-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.inspection-concern-grid article { padding: 28px; background: #fffdf8; border: 2px solid var(--line); border-radius: 14px; }
.inspection-concern-grid span { display: inline-block; padding: 4px 11px; color: #fff; background: var(--red); border-radius: 999px; font-size: .82rem; font-weight: 900; }
.inspection-concern-grid h3 { margin: 14px 0 8px; font-size: 1.3rem; }
.inspection-concern-grid p { margin: 0; }
.inspection-price-section { background: #fffaf0; }
.inspection-price-lead { max-width: 780px; margin: -10px auto 30px; text-align: center; }
.inspection-price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.inspection-price-grid article { position: relative; padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--green); border-radius: 14px; text-align: center; }
.inspection-price-grid b { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 14px; color: #fff; background: var(--red); border-radius: 50%; }
.inspection-price-grid h3 { margin: 0 0 8px; font-size: 1.25rem; }
.inspection-price-grid p { margin: 0; color: var(--muted); }
.inspection-price-note { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 24px; margin-top: 22px; padding: 24px 28px; color: #fff; background: var(--green-deep); border-radius: 14px; }
.inspection-price-note strong { font-size: 1.12rem; }
.inspection-price-note span { grid-column: 1; color: #e7e4dc; }
.inspection-price-note .button { grid-column: 2; grid-row: 1/3; }
.band-note { display: block; margin-top: 15px; color: #d7d3ca; font-size: .75rem; }
.inspection-reason-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 17px; }
.inspection-reason-grid article { padding: 27px 23px; background: #fffdf8; border: 1px solid var(--line); border-bottom: 5px solid var(--orange); border-radius: 14px; }
.inspection-reason-grid b { color: var(--red); font-size: 1.8rem; }
.inspection-reason-grid h3 { margin: 10px 0 8px; font-size: 1.16rem; }
.inspection-reason-grid p { margin: 0; font-size: .94rem; }
.inspection-mid-cta { color: #fff; background: var(--red); }
.inspection-mid-cta .container { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding-block: 38px; }
.inspection-mid-cta p { margin: 0; font-weight: 900; }
.inspection-mid-cta h2 { margin: 3px 0 0; font-family: "Yu Mincho","Hiragino Mincho ProN",serif; font-size: clamp(1.7rem,3.5vw,2.7rem); }
.inspection-mid-cta .button { color: var(--red); background: #fff; font-size: 1.5rem; }
.inspection-faq { display: grid; gap: 12px; }
.inspection-faq details { overflow: hidden; background: #fffdf8; border: 1px solid var(--line); border-radius: 12px; }
.inspection-faq summary { position: relative; padding: 20px 54px 20px 24px; cursor: pointer; font-size: 1.05rem; font-weight: 900; list-style: none; }
.inspection-faq summary::after { content: "+"; position: absolute; right: 22px; top: 14px; color: var(--red); font-size: 1.8rem; }
.inspection-faq details[open] summary::after { content: "−"; }
.inspection-faq p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
.news-home-section { background: linear-gradient(135deg,#f6f2e8,#fffaf0); border-bottom: 1px solid var(--line); }
.news-home-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.news-home-head .section-head { margin-bottom: 28px; }
.news-home-head .text-link { margin-bottom: 34px; }
.news-home-grid { display: grid; grid-template-columns: 1.55fr .75fr; gap: 22px; }
.news-feature-card { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; background: #fffdf8; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 34px rgba(82,67,49,.12); }
.news-thumb { position: relative; min-height: 310px; overflow: hidden; background: var(--soft); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-thumb>span { position: absolute; top: 14px; left: 14px; padding: 5px 10px; color: #fff; background: var(--red); border-radius: 999px; font-size: .75rem; font-weight: 900; }
.news-card-copy { padding: 30px; }
.news-card-copy time { color: var(--muted); font-size: .85rem; font-weight: 700; }
.news-category { display: inline-block; margin: 8px 0 10px; padding: 4px 10px; color: var(--green-deep); background: #e8eee3; border-radius: 999px; font-size: .78rem; font-weight: 900; }
.news-card-copy h3,.news-card-copy h2 { margin: 0 0 10px; font-size: 1.45rem; line-height: 1.45; }
.news-card-copy>p:not(.news-category) { margin: 0 0 16px; color: var(--muted); }
.news-card-copy strong { color: var(--red); }
.news-howto-card { padding: 30px; color: #fff; background: var(--green-deep); border-top: 7px solid var(--orange); border-radius: 16px; }
.news-howto-card>span { display: inline-block; padding: 5px 10px; color: var(--green-deep); background: #fff; border-radius: 999px; font-size: .78rem; font-weight: 900; }
.news-howto-card h3 { margin: 18px 0; font-size: 1.55rem; line-height: 1.45; }
.news-howto-card ol { display: grid; gap: 10px; margin: 0; padding-left: 24px; }
.news-list-intro { margin-bottom: 28px; padding: 20px 24px; background: #eef2e9; border-left: 6px solid var(--green); }
.news-list-intro p { margin: 0; }
.news-archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.news-archive-card { overflow: hidden; background: #fffdf8; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 10px 26px rgba(82,67,49,.08); }
.news-archive-card .news-thumb { min-height: 240px; }
.news-placeholder { display: grid; min-height: 400px; place-items: end start; padding: 28px; color: #fff; background: linear-gradient(145deg,var(--green-deep),var(--green)); }
.news-placeholder:nth-child(3) { background: linear-gradient(145deg,var(--wood),var(--orange)); }
.news-placeholder span { display: inline-block; padding: 5px 10px; color: var(--ink); background: #fff; border-radius: 999px; font-size: .78rem; font-weight: 900; }
.news-placeholder h2 { margin: 14px 0 8px; font-size: 1.45rem; }
.news-placeholder p { margin: 0; }
.store-network-lead { max-width: 820px; margin: -12px auto 32px; text-align: center; }
.store-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.store-card { overflow: hidden; background: #fffdf8; border: 2px solid var(--line); border-radius: 16px; box-shadow: 0 12px 28px rgba(82,67,49,.09); }
.store-card.featured-store { border-color: var(--green); box-shadow: 0 14px 34px rgba(76,90,68,.16); }
.store-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.store-card>div { padding: 25px; }
.store-card span { display: inline-block; padding: 5px 11px; color: #fff; background: var(--green); border-radius: 999px; font-size: .8rem; font-weight: 900; }
.store-card.featured-store span { background: var(--red); }
.store-card h3 { margin: 14px 0 8px; font-size: 1.4rem; }
.store-card p { margin: 0; color: var(--muted); }
.store-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 0; padding: 0; list-style: none; }
.store-card li { padding: 5px 9px; color: var(--green-deep); background: #edf1e8; border-radius: 6px; font-size: .78rem; font-weight: 800; }
.store-card-grid.compact .store-card>div { min-height: 210px; }
.store-network-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 22px 26px; background: #fffdf8; border: 1px solid var(--line); border-radius: 14px; }
.store-network-note p,.store-contact-note { margin: 0; }
.store-contact-note { margin-top: 20px; color: var(--muted); text-align: center; font-size: .9rem; }
.narrow { width: min(860px,calc(100% - 40px)); }
.steps { display: grid; gap: 18px; counter-reset: step; }
.step { display: grid; grid-template-columns: 70px 1fr; gap: 20px; align-items: start; padding: 24px; background: #fffdf8; border: 1px solid var(--line); border-radius: 12px; }
.step::before { counter-increment: step; content: counter(step,decimal-leading-zero); display: grid; place-items: center; width: 62px; height: 62px; color: #fff; background: var(--orange); border-radius: 50%; font-weight: 900; font-size: 1.3rem; }
.step h3 { margin: 2px 0 5px; font-size: 1.25rem; }
.step p { margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.feature { padding: 28px; background: #fffdf8; border-left: 6px solid var(--green); border-radius: 12px; box-shadow: 0 10px 26px rgba(82,67,49,.08); }
.feature h3 { margin: 0 0 8px; font-size: 1.25rem; }
.feature p { margin: 0; }
.bring-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 24px; }
.bring-grid div { padding: 24px 20px; background: #fffdf8; border-top: 5px solid var(--green); border-radius: 10px; }
.bring-grid span { color: var(--red); font-weight: 900; }
.bring-grid h3 { margin: 8px 0 0; font-size: 1.05rem; }
.notice { padding: 18px 22px; border: 1px solid #e7b25e; border-radius: 2px; background: #fff7e6; }
.lease-intro { max-width: 820px; margin: -10px auto 34px; text-align: center; font-size: 1.08rem; }
.lease-featured-offer { padding-top: 12px; }
.featured-offer-grid { display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; background: #fffdf8; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 44px rgba(76,90,68,.12); }
.offer-car { margin: 0; background: #e8eee5; }
.offer-car img { display: block; width: 100%; height: 100%; min-height: 470px; object-fit: cover; }
.offer-car figcaption { padding: 9px 14px; color: var(--muted); background: #f7f3e9; font-size: .72rem; line-height: 1.5; }
.offer-copy { display: flex; flex-direction: column; justify-content: center; padding: 42px; }
.offer-badge { align-self: flex-start; margin: 0 0 12px; padding: 6px 14px; color: #fff; background: var(--green); border-radius: 999px; font-size: .88rem; font-weight: 900; }
.offer-copy h2 { margin: 0; font-size: clamp(1.8rem,3vw,2.6rem); }
.offer-lead { margin: 10px 0 20px; color: var(--muted); }
.monthly-price { display: flex; align-items: baseline; flex-wrap: wrap; color: var(--green-deep); line-height: 1; }
.monthly-price small { margin-right: 8px; font-size: 1.05rem; font-weight: 900; }
.monthly-price strong { color: var(--red); font-family: Georgia,serif; font-size: clamp(3.3rem,6vw,5.4rem); letter-spacing: -.04em; }
.monthly-price span { margin-left: 5px; font-size: 1.15rem; font-weight: 900; }
.offer-conditions { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; padding: 0; list-style: none; }
.offer-conditions li { padding: 7px 11px; color: var(--green-deep); background: #eef2e9; border-radius: 8px; font-weight: 800; }
.offer-copy .button { align-self: flex-start; }
.offer-note { margin: 18px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.lease-plan-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.lease-plan-card { position: relative; padding: 28px; background: #fffdf8; border: 2px solid var(--line); border-radius: 16px; }
.lease-plan-card.featured { border-color: var(--green); box-shadow: 0 14px 34px rgba(76,90,68,.15); }
.recommend-label { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); padding: 5px 14px; color: #fff; background: var(--green); border-radius: 999px; font-size: .82rem; font-weight: 900; white-space: nowrap; }
.lease-years { display: flex; align-items: baseline; justify-content: center; gap: 6px; color: var(--green-deep); }
.lease-years strong { font-size: 4.6rem; line-height: 1; font-family: Georgia,serif; }
.lease-years span { font-weight: 900; }
.plan-kicker { margin: 12px 0 3px; color: var(--red); text-align: center; font-weight: 900; }
.lease-plan-card h3 { margin: 0 0 18px; text-align: center; font-size: 1.55rem; }
.lease-plan-card ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.lease-plan-card li { position: relative; padding-left: 25px; }
.lease-plan-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.lease-plan-card b { color: var(--green-deep); }
.lease-benefits .feature { border-left-color: var(--orange); }
.lease-caution { margin-top: 28px; padding: 22px 24px; background: #fff7e8; border: 1px solid #dbc392; border-radius: 12px; }
.lease-caution h3 { margin: 0 0 8px; font-size: 1.1rem; }
.lease-caution p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.8; }
.company-table { width: 100%; border-collapse: collapse; background: #fffdf8; border-top: 4px solid var(--green); }
.company-table th,.company-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.company-table th { width: 28%; background: var(--soft); }
.map-card { display: grid; gap: 18px; padding: 28px; color: #fff; background: var(--green-deep); border-radius: 14px; }
.map-card h3 { margin: 0; font-size: 1.5rem; }
.map-card .button { width: fit-content; background: var(--red); color: #fff; }

.reservation-section { padding-block: 78px; color: #fff; background: linear-gradient(120deg,var(--green-deep),var(--green)); }
.reservation-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.reservation-section h2 { margin: 0 0 16px; font-size: clamp(2rem,4vw,3.3rem); line-height: 1.25; }
.reservation-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.reservation-points span { padding: 7px 12px; color: var(--red); background: #fff; border-radius: 2px; font-size: .88rem; font-weight: 900; }
.reservation-card { padding: 30px; color: var(--ink); background: #fffdf8; border-radius: 16px; box-shadow: 0 22px 54px rgba(61,57,45,.2); text-align: center; }
.reservation-card small { display: block; color: var(--muted); font-weight: 800; }
.reservation-phone { display: block; margin: 6px 0 0; color: var(--red); font-size: clamp(2rem,5vw,3.3rem); line-height: 1.2; font-weight: 900; }
.reservation-card>p { margin: 5px 0 18px; }
.reservation-card .form-prep { margin: 15px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }

.cta { color: #fff; background: var(--wood); border-top: 7px solid var(--orange); }
.cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding-block: 56px; }
.cta h2 { margin: 0; font-size: clamp(1.8rem,4vw,3rem); }
.cta p { margin: 8px 0 0; }
.cta-phone { color: #fff; font-size: clamp(2rem,5vw,4rem); font-weight: 900; white-space: nowrap; }
.site-footer { padding: 42px 0 100px; color: #fff; background: var(--green-deep); border-top: 12px solid var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; }
.footer-name { font-size: 1.4rem; font-weight: 900; }
.footer-note { color: #ccc; }
.photo-credit { margin-top: 12px; color: #aaa; font-size: .78rem; }
.photo-credit a { text-decoration: underline; text-underline-offset: 3px; }
.mobile-call,.mobile-actions { display: none; }

@media (max-width: 880px) {
  .header-inner { min-height: 78px; padding-top: 0; flex-wrap: nowrap; justify-content: space-between; }
  .brand { width: auto; justify-content: flex-start; font-size: 1rem; }
  .brand::before { display: none; }
  .brand-mark { width: 42px; height: 42px; }
  .menu-button { display: block; }
  .nav { position: absolute; inset: 78px 20px auto; display: none; width: auto; min-height: 0; padding: 18px; background: #fffdf8; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
  .nav.open { display: grid; }
  .phone-mini { position: static; padding: 10px 16px !important; color: #fff !important; background: var(--green); border-radius: 999px; text-align: center; font-size: 1rem; }
  .phone-mini small { color: #fff; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 38px; padding-block: 62px 82px; }
  .trustbar-inner,.cards,.worry-grid,.flow-grid,.reason-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid #555; }
  .cta-inner,.footer-grid,.reservation-grid { grid-template-columns: 1fr; }
  .lead-grid,.feature-grid { grid-template-columns: 1fr; }
  .inspection-hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 30px; padding-block: 58px; }
  .inspection-hero { background-position: 60% center; }
  .inspection-quickbar .container { flex-wrap: wrap; }
  .inspection-quickbar a { margin-left: 0; }
  .inspection-concern-grid,.inspection-price-grid,.inspection-reason-grid { grid-template-columns: 1fr; }
  .inspection-price-note { grid-template-columns: 1fr; }
  .inspection-price-note span,.inspection-price-note .button { grid-column: 1; grid-row: auto; }
  .inspection-mid-cta .container { grid-template-columns: 1fr; }
  .inspection-mid-cta .button { justify-self: start; }
  .news-home-head { align-items: start; flex-direction: column; }
  .news-home-head .text-link { margin: -18px 0 24px; }
  .news-home-grid,.news-feature-card,.news-archive-grid { grid-template-columns: 1fr; }
  .news-thumb { min-height: 250px; }
  .store-card-grid { grid-template-columns: 1fr; }
  .store-network-note { align-items: start; flex-direction: column; }
  .shop-photo-grid { grid-template-columns: 1fr; }
  .shop-photo-grid img { aspect-ratio: 16/10; }
  .wide-photo-band .container { grid-template-columns: 1fr; gap: 24px; }
  .featured-offer-grid { grid-template-columns: 1fr; }
  .offer-car img { min-height: 0; aspect-ratio: 4/3; }
  .offer-copy { padding: 28px 22px; }
  .lease-plan-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-phone { white-space: normal; }
  .flow-grid article:not(:last-child)::after { content: "↓"; right: 24px; top: auto; bottom: -20px; }
  .bring-grid { grid-template-columns: repeat(2,1fr); }
  .mobile-actions { display: grid; grid-template-columns: repeat(auto-fit,minmax(0,1fr)); position: fixed; inset: auto 12px 12px; z-index: 30; overflow: hidden; border-radius: 3px; box-shadow: 0 10px 26px rgba(0,0,0,.28); }
  .mobile-actions a { padding: 14px 8px; color: #fff; background: var(--green-deep); text-align: center; font-weight: 900; }
  .mobile-actions a.line-action { background: #06c755; }
  .mobile-actions a.reservation-action { background: var(--red); }
}

@media (max-width: 540px) {
  .container { width: min(100% - 28px,1120px); }
  .header-inner { min-height: 70px; }
  .brand { font-size: .9rem; }
  .brand-mark { width: 38px; height: 38px; }
  .nav { inset: 70px 14px auto; }
  h1 { font-size: 2.65rem; }
  .hero-copy { font-size: 1rem; }
  .hero-panel { padding: 22px; }
  .section { padding-block: 62px; }
  .step { grid-template-columns: 54px 1fr; padding: 20px; }
  .step::before { width: 48px; height: 48px; }
  .company-table th,.company-table td { display: block; width: 100%; }
  .company-table th { padding-bottom: 8px; }
  .company-table td { padding-top: 8px; }
  .bring-grid { grid-template-columns: 1fr; }
  .reservation-card { padding: 24px 18px; }
}

/* 2.0: white-and-red brand refresh */
.site-header { background: rgba(255,255,255,.98); }
.header-inner { min-height: 124px; }
.nav { gap: 17px; font-size: .94rem; }
.reserve-mini { background: var(--green-deep); }
.button-line { color: #fff; background: #06c755; box-shadow: 0 10px 24px rgba(6,199,85,.2); }
.button-light { color: var(--red); background: #fff; }
.button-reservation { color:#fff; background:var(--green-deep); box-shadow:0 10px 24px rgba(18,101,54,.24); }
.page-hero.vivid { background: linear-gradient(115deg,var(--red-deep),var(--red)); border-bottom-color: var(--red-deep); }
.page-hero.vivid::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%,rgba(255,255,255,.22),transparent 28%); }
.home-launcher { position: relative; z-index: 5; background: #fff; border-bottom: 1px solid var(--line); }
.home-launcher .container { display: grid; grid-template-columns: repeat(8,1fr); }
.home-launcher a { padding: 16px 8px; color: var(--red); border-right: 1px solid var(--line); text-align: center; font-weight: 900; }
.home-launcher a:first-child { border-left: 1px solid var(--line); }
.home-launcher a:hover { color: #fff; background: var(--red); }
.home-hero { display: grid; grid-template-columns: 1.15fr .85fr; background: #fff; border-bottom: 8px solid var(--red); }
.home-hero-photo { align-self: stretch; background: #dceaf2; }
.home-hero-photo img { width: 100%; height: 100%; object-fit: contain; }
.home-hero-copy { display: grid; align-items: center; padding: 54px 0; background: linear-gradient(145deg,#fff 0 72%,#fff0f1 72%); }
.home-hero-copy .container { width: min(600px,calc(100% - 56px)); }
.english-kicker { margin: 0 0 4px; color: var(--red); font-size: 1.03rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.hero-question { margin: 0 0 12px; font-size: 1.12rem; font-weight: 900; }
.home-hero h1 { color: var(--red); font-size: clamp(2.25rem,4vw,4.1rem); }
.home-hero-copy>div>p:not(.english-kicker):not(.hero-question) { margin: 18px 0 14px; }
.home-hero-copy strong { display: block; margin-bottom: 24px; color: var(--red); letter-spacing: .08em; }
.section-soft,.news-home-section { background: var(--soft); }
.section-head p { color: var(--red-deep); background: #ffe9ea; }
.service-link-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.service-link-grid a { display: grid; gap: 4px; padding: 28px; color: var(--ink); background: #fff; border: 2px solid var(--line); border-top: 7px solid var(--red); border-radius: 14px; }
.service-link-grid b { color: var(--red); font-size: 1.4rem; }
.service-link-grid span { color: var(--muted); }
.branded-stores .store-card { background: #fff; border-width: 3px; }
.branded-stores .store-card span { color: #fff; }
.store-orange { border-color: var(--orange) !important; }.store-orange span { background: var(--orange) !important; }.store-orange h3 { color: #be6508; }
.store-green { border-color: var(--green) !important; }.store-green span { background: var(--green) !important; }.store-green h3 { color: var(--green-deep); }
.store-blue { border-color: var(--blue) !important; }.store-blue span { background: var(--blue) !important; }.store-blue h3 { color: #0b5799; }
.detailed .store-card>div { min-height: 285px; }
.external-card,.asset-note { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 34px; padding: 28px 30px; background: #fff; border: 2px solid var(--line); border-radius: 14px; }
.external-card strong,.asset-note strong { color: var(--red); font-size: 1.35rem; }.external-card p,.asset-note p { margin: 5px 0 0; }
.asset-note { border-style: dashed; }
.contact-band { padding: 42px 0; color: #fff; background: linear-gradient(110deg,var(--red-deep),var(--red)); }
.contact-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact-band p,.contact-band h2 { margin: 0; }.contact-band h2 { font-size: clamp(1.6rem,3vw,2.5rem); }
.voice-grid,.coupon-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.voice-grid article { padding: 27px; background: #fff; border: 2px solid var(--line); border-top: 7px solid var(--red); border-radius: 14px; }
.voice-grid p { min-height: 92px; margin: 0 0 15px; color: var(--muted); }.voice-grid strong { color: var(--red); font-size: 1.2rem; }
.lease-steps .step { grid-template-columns: 64px 1fr; }.lease-steps ul { margin: 8px 0 0; padding-left: 1.2em; }
.coupon-grid { grid-template-columns: repeat(2,1fr); }.coupon-grid article { padding: 32px; background: #fff; border: 2px solid var(--red); border-radius: 16px; }.coupon-grid span { display: inline-grid; place-items: center; width: 72px; height: 72px; color: #fff; background: var(--red); border-radius: 50%; font-weight: 900; }.coupon-grid h3 { color: var(--red); font-size: 1.45rem; }
.inspection-hero.compact .container { min-height: 580px; display: flex; flex-direction: column; justify-content: center; padding-block: 60px; }.inspection-hero.compact { background: linear-gradient(90deg,rgba(23,28,34,.91),rgba(23,28,34,.6)),url('assets/mechanic-engine-inspection.png') center/cover no-repeat; }.inspection-hero.compact .inspection-hero-copy { max-width: 800px; }
.instagram-panel { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 28px; padding: 30px; color: #fff; background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); border-radius: 16px; }.instagram-panel span { font-weight: 900; letter-spacing: .12em; }.instagram-panel h2 { margin: 8px 0 10px; }.instagram-qr { width: 190px; aspect-ratio: 1; object-fit: cover; border: 8px solid #fff; border-radius: 14px; }.instagram-home-card { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 24px; margin-top: 26px; padding: 24px; color: #fff; background: linear-gradient(135deg,#833ab4,#fd1d1d 62%,#fcb045); border-radius: 16px; box-shadow: 0 12px 28px rgba(131,58,180,.18); }.instagram-home-card:hover { color: #fff; transform: translateY(-2px); }.instagram-home-card img { width: 150px; aspect-ratio: 1; object-fit: cover; border: 7px solid #fff; border-radius: 12px; }.instagram-home-card span { font-weight: 900; letter-spacing: .08em; }.instagram-home-card h3 { margin: 6px 0 8px; color: #fff; font-size: 1.7rem; }.instagram-home-card p { margin: 0 0 12px; }.instagram-home-card strong { color: #fff; }
@media (max-width: 880px) { .instagram-panel { grid-template-columns: 140px 1fr; }.instagram-qr { width: 140px; } }
@media (max-width: 540px) { .instagram-panel,.instagram-home-card { grid-template-columns: 96px 1fr; gap: 14px; padding: 18px; }.instagram-qr,.instagram-home-card img { width: 96px; border-width: 5px; }.instagram-home-card h3 { font-size: 1.3rem; } }
.site-footer { background: #252a30; border-top-color: var(--red); }
@media (max-width: 1020px) { .home-hero { grid-template-columns: 1fr; }.home-hero-photo img { height: auto; object-fit: contain; }.nav { gap: 12px; font-size: .84rem; }.home-launcher .container { grid-template-columns: repeat(4,1fr); }.home-launcher a { border-bottom: 1px solid var(--line); } }
@media (max-width: 880px) { .header-inner { min-height: 78px; }.home-launcher .container { width: 100%; grid-template-columns: repeat(4,1fr); }.home-launcher a { padding: 11px 4px; font-size: .78rem; }.home-hero-copy { padding: 38px 0; }.service-link-grid,.voice-grid,.coupon-grid { grid-template-columns: 1fr; }.contact-band .container,.external-card,.asset-note { align-items: flex-start; flex-direction: column; }.detailed .store-card>div { min-height: 0; } }
@media (max-width: 540px) { .home-launcher .container { grid-template-columns: repeat(2,1fr); }.home-hero-copy .container { width: min(100% - 28px,600px); }.home-hero h1 { font-size: 2.5rem; }.voice-grid p { min-height: 0; }.contact-band { padding-bottom: 92px; } }

/* Full Kirara view with the introduction on the photograph */
.home-hero { display: block; border-bottom: 0; }
.home-hero-photo { position: relative; width: 100%; }
.home-hero-photo img { width: 100%; height: auto; display: block; object-fit: contain; }
.home-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(20,36,54,.72),rgba(20,36,54,.24) 58%,transparent 82%); pointer-events: none; }
.home-hero-title { position: absolute; z-index: 1; top: 13%; left: max(5%,calc((100% - 1120px)/2)); width: min(57%,760px); color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.home-hero-title .english-kicker { color: #fff; font-size: clamp(1.75rem,3.4vw,3.5rem); line-height: 1.15; letter-spacing: .035em; }
.home-hero-title .hero-question { margin: 16px 0 12px; font-size: clamp(1.1rem,2vw,1.65rem); }
.home-hero-title h1 { color: #fff; font-size: clamp(2rem,4.3vw,4.5rem); line-height: 1.2; }
.home-hero-copy { display: block; padding: 28px 0 36px; color: #fff; background: var(--red); }
.home-hero-copy .container { width: min(1120px,calc(100% - 40px)); }
.home-hero-copy .container>p { margin: 0 0 16px; font-size: 1.12rem; font-weight: 700; }
.daihatsu-badge { display:inline-flex !important; align-items:center; gap:14px; margin:0 0 18px !important; padding:9px 16px; color:var(--ink) !important; background:#fff; border-radius:8px; font-size:1.05rem; }
.daihatsu-badge img { width:150px; height:auto; }
.daihatsu-badge span { color:#111; font-weight:900; letter-spacing:.04em; }
.location-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.location-card { overflow: hidden; background: #fff; border: 2px solid var(--line); border-radius: 16px; }
.location-card>img { width: 100%; height: 280px; object-fit: cover; }
.location-card>img.location-logo { padding: 14px; object-fit: contain; background: #fff; }
.location-card>div { padding: 26px; }
.location-card span { color: var(--red); font-weight: 900; }
.location-card h3 { margin: 6px 0 10px; font-size: 1.5rem; }
.location-card p { margin: 0; }
.location-card .location-badge { width: 64px; height: 64px; object-fit: contain; display: inline-block; vertical-align: middle; margin: 0 .65rem .35rem 0; }
.location-duo-images { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; height: 280px; margin: 0; background: #fff; }
.location-duo-images img { width: 100%; height: 100%; object-fit: cover; }
.used-location-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.used-location-card { padding: 26px; background: #fff; border: 2px solid var(--line); border-radius: 18px; box-shadow: 0 12px 30px rgba(38,57,68,.08); }
.used-location-main { border-top: 7px solid var(--orange); }
.used-location-ube { border-top: 7px solid var(--green); }
.used-location-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.used-location-heading .store-logo { width: 78px; height: 78px; object-fit: contain; }
.used-location-heading span, .used-brand span { color: var(--red); font-weight: 900; font-size: .86rem; }
.used-location-heading h3, .used-brand h4 { margin: 4px 0 0; }
.used-location-card>img:not(.store-logo) { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; }
.used-location-card>p { margin: 16px 0 0; }
.used-brand-pair { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.used-brand { display: flex; flex-direction: column; padding: 18px; background: #fbfaf6; border-radius: 14px; }
.used-brand>img { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
.used-brand>img.store-logo { object-fit: contain; background: #fff; }
.used-brand p { flex: 1; margin: 8px 0 0; font-size: .94rem; }
.store-stock-button { width: 100%; margin-top: 16px; padding: 11px 14px; font-size: .9rem; text-align: center; }
.lease-concern-section { background: linear-gradient(180deg,#fff 0,#fff8f0 100%); }
.section-lead { display: block; margin-top: 10px; color: var(--muted); }
.lease-life-photo { max-width: 760px; box-shadow: 0 16px 34px rgba(38,57,68,.13); }
.lease-concern-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.lease-concern-grid article { padding: 24px; background: #fff; border: 2px solid var(--line); border-radius: 16px; box-shadow: 0 10px 22px rgba(38,57,68,.07); }
.concern-label { display: inline-block; padding: 5px 12px; color: #fff; background: var(--orange); border-radius: 999px; font-size: .8rem; font-weight: 900; }
.lease-concern-grid article:nth-child(2) .concern-label { background: var(--green); }
.lease-concern-grid article:nth-child(3) .concern-label { background: #3e7fb0; }
.lease-concern-grid p { min-height: 52px; margin: 16px 0; font-weight: 700; }
.lease-answer { padding: 15px; background: #fff8e9; border-radius: 10px; }
.lease-answer b, .lease-answer small { display: block; }
.lease-answer b { color: var(--red); font-size: 1.1rem; }
.lease-answer small { margin-top: 6px; color: var(--muted); line-height: 1.6; }
.home-hero-photo { overflow: hidden; }
.home-hero-photo img { filter: blur(2px); transform: scale(1.015); }
.company-photo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 0 0 30px; }
.company-photo-grid figure { margin: 0; overflow: hidden; background: #fff; border-radius: 14px; box-shadow: 0 8px 22px rgba(38,57,68,.08); }
.company-photo-grid img { width: 100%; height: 210px; object-fit: cover; }
.company-photo-grid figcaption { padding: 10px 14px; font-weight: 800; }
.company-duo-images { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 100%; height: 190px; margin: 0 0 16px; overflow: hidden; border-radius: 10px; }
.company-location-grid .company-duo-images img { width: 100%; height: 100%; margin: 0; object-fit: cover; }

/* 各ページ共通の写真付き見出し */
.page-hero.hero-new,.page-hero.hero-used,.page-hero.hero-lease,.page-hero.hero-inspection,.page-hero.hero-news,.page-hero.hero-company,.page-hero:not([class*="hero-"]) { position:relative; isolation:isolate; display:flex; align-items:center; min-height:340px; padding:55px 0; overflow:hidden; color:#fff; background:#243445; border-bottom:6px solid var(--red); }
.page-hero.hero-inspection { min-height:340px; }
.page-hero.hero-inspection .container { min-height:0; padding:0; }
.page-hero.hero-new::before,.page-hero.hero-used::before,.page-hero.hero-lease::before,.page-hero.hero-inspection::before,.page-hero.hero-news::before,.page-hero.hero-company::before,.page-hero:not([class*="hero-"])::before { content:""; position:absolute; z-index:-2; inset:-8px; background:center/cover no-repeat; filter:blur(2px); }
.page-hero.hero-new::before { background-image:url('assets/new-car-hero-ajisu.jpeg'); background-position:center 52%; }
.page-hero.hero-used::before { background-image:url('assets/ys-auto-stock.jpeg'); background-position:center 52%; }
.page-hero.hero-lease::before { background-image:url('assets/new-car-consultation-tanto-custom.jpg'); background-position:center 48%; }
.page-hero.hero-inspection::before { background-image:url('assets/mechanic-engine-inspection.png'); }
.page-hero.hero-news::before,.page-hero:not([class*="hero-"])::before { background-image:url('assets/ys-auto-showroom.jpeg'); }
.page-hero.hero-company::before { background-image:url('assets/ys-auto-building.jpeg'); }
.page-hero.hero-new::after,.page-hero.hero-used::after,.page-hero.hero-lease::after,.page-hero.hero-inspection::after,.page-hero.hero-news::after,.page-hero.hero-company::after,.page-hero:not([class*="hero-"])::after { display:block; content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,rgba(19,28,37,.82),rgba(19,28,37,.52) 70%,rgba(19,28,37,.3)); }
.page-hero .container { position:relative; z-index:1; }
.page-hero h1 { color:#fff; margin:0; }
.page-hero .eyebrow { color:#fff; }
@media(max-width:680px) { .page-hero.hero-new,.page-hero.hero-used,.page-hero.hero-lease,.page-hero.hero-inspection,.page-hero.hero-news,.page-hero.hero-company,.page-hero:not([class*="hero-"]) { min-height:300px; padding:38px 0; } }
.lease-life-photo { margin: 28px auto 36px; max-width: 1000px; overflow: hidden; border-radius: 16px; }
.lease-life-photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.lease-life-photo figcaption { padding: 8px 14px; color: var(--muted); background: #fff; font-size: .78rem; }
.company-map { margin: 24px 0 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.company-map iframe { display: block; width: 100%; height: 340px; border: 0; }
.company-map figcaption { padding: 12px 20px; }
.company-map a { color: var(--red); font-weight: 900; }
.company-location-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.company-location-grid article { padding: 26px; background: #fff; border-top: 6px solid var(--red); border-radius: 12px; }
.company-location-grid article:nth-child(2) { border-top-color: var(--green); }
.company-location-grid h3 { margin: 0 0 8px; }.company-location-grid p { margin: 0 0 14px; }
.company-location-grid img { width: 140px; height: 140px; object-fit: contain; margin: 0 0 10px; }
.branded-stores .store-card>img.store-logo { width: 126px; height: 126px; aspect-ratio: 1; margin: 16px auto; object-fit: contain; }
.brand-mark { width: 60px; height: 60px; background: #fff; border-radius: 0; box-shadow: none; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 880px) { .home-hero-title { top: 10%; left: 4%; width: 76%; }.home-hero-title .english-kicker { font-size: clamp(1.4rem,4.2vw,2.3rem); }.home-hero-title h1 { font-size: clamp(1.5rem,4vw,2.6rem); }.home-hero-title .hero-question { margin: 6px 0; font-size: .96rem; }.location-grid,.company-location-grid { grid-template-columns: 1fr; } }
@media (max-width: 880px) { .used-location-grid,.lease-concern-grid { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .used-brand-pair { grid-template-columns: 1fr; } .used-location-card { padding: 18px; } }
@media (max-width: 680px) { .company-photo-grid { grid-template-columns: 1fr; } .company-photo-grid img { height: 220px; } }
@media (max-width: 540px) { .home-hero-photo img { min-height: 370px; object-fit: cover; object-position: 56% center; }.home-hero-title { top: 8%; width: 91%; }.home-hero-title .english-kicker { font-size: 1.45rem; }.home-hero-title h1 { font-size: 1.6rem; }.home-hero-copy .container { width: min(100% - 28px,1120px); }.home-hero-copy { padding: 26px 0; } }

.home-video-section { background: linear-gradient(135deg,#fff 0%,#fff8ef 100%); }
.home-video-layout { display:grid; grid-template-columns:.7fr 1.3fr; align-items:center; gap:48px; }
.home-video-copy h2 { margin:8px 0 18px; color:var(--red); font-size:clamp(2rem,3.5vw,3rem); }
.home-video-copy>p:not(.eyebrow) { line-height:1.9; }
.home-video-player { overflow:hidden; border-radius:18px; box-shadow:0 18px 42px rgba(27,39,51,.18); background:#17202b; }
.home-video-player video { display:block; width:100%; height:auto; aspect-ratio:682 / 512; }
@media(max-width:800px) { .home-video-layout { grid-template-columns:1fr; gap:24px; } }

/* 事故対応 */
.page-hero.hero-accident { position:relative; isolation:isolate; display:flex; align-items:center; min-height:340px; padding:55px 0; overflow:hidden; color:#fff; background:#243445; border-bottom:6px solid var(--red); }
.page-hero.hero-accident::before { content:""; position:absolute; z-index:-2; inset:-8px; background:url('assets/mechanic-brake-inspection.png') center 55%/cover no-repeat; filter:blur(2px); }
.page-hero.hero-accident::after { display:block; content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,rgba(65,8,12,.92),rgba(19,28,37,.67) 70%,rgba(19,28,37,.38)); }
.accident-call-band { color:#fff; background:#b70f17; }
.accident-call-inner { display:grid; grid-template-columns:1fr auto; align-items:center; gap:30px; padding-block:30px; }
.accident-call-inner span { font-weight:900; }
.accident-call-inner h2 { margin:2px 0 0; font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:clamp(1.45rem,3vw,2.25rem); line-height:1.35; }
.accident-call-inner>a { min-width:300px; padding:14px 28px; color:var(--red); background:#fff; border-radius:14px; text-align:center; font-size:clamp(1.75rem,3vw,2.45rem); line-height:1.2; font-weight:900; box-shadow:0 12px 26px rgba(0,0,0,.2); }
.accident-call-inner>a small { display:block; margin-bottom:4px; color:var(--ink); font-size:.8rem; }
.accident-copy { display:grid; gap:18px; padding:30px 34px; background:#fff; border-left:7px solid var(--red); border-radius:0 14px 14px 0; box-shadow:0 12px 30px rgba(38,57,68,.09); }
.accident-copy p { margin:0; }
.accident-case-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.accident-case-grid article { position:relative; min-height:220px; padding:28px 24px; overflow:hidden; background:#fff; border:2px solid var(--line); border-top:7px solid var(--red); border-radius:14px; }
.accident-case-grid b { position:absolute; right:15px; top:3px; color:#f4d8da; font-size:3.7rem; line-height:1; }
.accident-case-grid h3 { position:relative; margin:38px 0 10px; color:var(--red); font-size:1.3rem; }
.accident-case-grid p { position:relative; margin:0; font-weight:700; }
.accident-support-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.accident-support-grid article { position:relative; padding:32px 28px; background:#fff; border:2px solid var(--line); border-radius:14px; text-align:center; }
.accident-support-grid article:not(:last-child)::after { content:"→"; position:absolute; z-index:2; right:-22px; top:44%; display:grid; place-items:center; width:42px; height:42px; color:#fff; background:var(--red); border-radius:50%; font-weight:900; }
.accident-support-grid span { display:grid; place-items:center; width:52px; height:52px; margin:0 auto 15px; color:#fff; background:var(--red); border-radius:50%; font-size:1.25rem; font-weight:900; }
.accident-support-grid h3 { margin:0 0 8px; font-size:1.3rem; }
.accident-support-grid p { margin:0; color:var(--muted); }
.accident-note { margin:24px 0 0; padding:18px 22px; color:var(--muted); background:var(--soft); border-radius:10px; font-size:.9rem; }
@media(max-width:880px) {
  .page-hero.hero-accident { min-height:300px; padding:38px 0; }
  .accident-call-inner { grid-template-columns:1fr; }
  .accident-call-inner>a { width:100%; min-width:0; }
  .accident-case-grid,.accident-support-grid { grid-template-columns:1fr; }
  .accident-case-grid article { min-height:0; }
 .accident-support-grid article:not(:last-child)::after { content:"↓"; right:calc(50% - 21px); top:auto; bottom:-22px; }
}

/* 車検料金表 */
.inspection-fee-section { background:linear-gradient(180deg,#fff 0%,#fff6f6 100%); }
.fee-status { width:max-content; max-width:100%; margin:26px auto 18px; padding:7px 16px; color:#fff; background:var(--red); border-radius:999px; font-size:.9rem; font-weight:900; }
.inspection-fee-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:16px; box-shadow:0 14px 34px rgba(38,57,68,.09); background:#fff; }
.inspection-fee-table { width:100%; min-width:760px; border-collapse:collapse; }
.inspection-fee-table th,.inspection-fee-table td { padding:19px 16px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); text-align:center; vertical-align:middle; }
.inspection-fee-table thead th { color:#fff; background:var(--red); font-size:1rem; }
.inspection-fee-table thead th:first-child { min-width:190px; }
.inspection-fee-table tbody th { color:var(--red); background:#fff7f7; text-align:left; font-size:1.08rem; }
.inspection-fee-table tbody th small { display:block; margin-top:4px; color:var(--muted); font-size:.8rem; font-weight:700; }
.inspection-fee-table tbody tr:last-child th,.inspection-fee-table tbody tr:last-child td { border-bottom:0; }
.inspection-fee-table th:last-child,.inspection-fee-table td:last-child { border-right:0; }
.inspection-fee-table td strong { color:var(--red); font-size:1.25rem; }
.inspection-fee-table td small { display:block; margin-top:5px; color:var(--muted); font-size:.78rem; line-height:1.45; font-weight:600; }
.inspection-fee-notes { margin-top:18px; padding:18px 22px; color:var(--muted); background:#fff; border-left:5px solid var(--orange); border-radius:8px; font-size:.88rem; }
.inspection-fee-notes p { margin:3px 0; }
.fee-featured th,.fee-featured td { background:#fff0f1; }
.fee-featured td:last-child strong { font-size:1.16rem; }
.kei-fee-breakdown { max-width:780px; margin:28px auto 0; overflow:hidden; background:#fff; border:2px solid var(--red); border-radius:16px; box-shadow:0 12px 30px rgba(48,22,24,.1); }
.kei-fee-head { display:flex; justify-content:space-between; gap:24px; align-items:center; padding:20px 24px; color:#fff; background:linear-gradient(110deg,var(--red-deep),var(--red)); }
.kei-fee-head div { display:flex; align-items:baseline; gap:16px; }.kei-fee-head span { font-weight:900; }.kei-fee-head strong { font-size:1.6rem; }.kei-fee-head p { margin:0; font-size:.82rem; }
.kei-fee-breakdown dl { margin:0; padding:10px 24px; }.kei-fee-breakdown dl div { display:flex; justify-content:space-between; gap:20px; padding:13px 0; border-bottom:1px solid var(--line); }.kei-fee-breakdown dl div:last-child { border-bottom:0; }.kei-fee-breakdown dt { font-weight:800; }.kei-fee-breakdown dd { margin:0; font-weight:900; }
.kei-fee-total { display:flex; justify-content:space-between; gap:20px; align-items:center; padding:18px 24px; background:#fff5df; }.kei-fee-total span { font-size:.9rem; }.kei-fee-total strong { color:var(--red); font-size:1.45rem; }
@media(max-width:680px) { .kei-fee-head,.kei-fee-total { align-items:flex-start; flex-direction:column; gap:8px; }.kei-fee-head,.kei-fee-breakdown dl,.kei-fee-total { padding-left:18px; padding-right:18px; } }
.payment-section { background:linear-gradient(135deg,#f5f9ff,#fff 52%,#fff4f4); }
.payment-card { display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center; padding:42px; background:#fff; border:1px solid #dfe5ec; border-radius:20px; box-shadow:0 16px 40px rgba(26,42,60,.11); }
.payment-kicker { display:inline-block; margin-bottom:12px; color:var(--red); font-size:.8rem; font-weight:900; letter-spacing:.14em; }
.payment-copy h2 { margin:0 0 18px; font-size:clamp(1.8rem,3.2vw,2.8rem); line-height:1.35; }.payment-copy p { margin:0 0 15px; }.payment-copy small { color:var(--muted); line-height:1.65; }
.payment-methods { display:grid; gap:22px; padding:26px; background:#f7f9fb; border-radius:14px; }.payment-methods strong { display:block; margin-bottom:12px; color:#27394b; }
.payment-brand-list { display:flex; flex-wrap:wrap; gap:9px; }.payment-brand-list span { padding:8px 12px; color:#263747; background:#fff; border:1px solid #cfd7df; border-radius:7px; font-size:.84rem; font-weight:900; box-shadow:0 3px 9px rgba(23,40,56,.06); }.payment-brand-list.payment-qr span { color:#fff; background:#1670a7; border-color:#1670a7; font-size:1rem; }
@media(max-width:800px) { .payment-card { grid-template-columns:1fr; gap:28px; padding:28px 22px; } }
@media(max-width:680px) { .inspection-fee-wrap { margin-inline:-4px; }.inspection-fee-table th,.inspection-fee-table td { padding:15px 12px; }.inspection-fee-notes { padding:15px 17px; } }
.estimate-hub-section { position:relative; overflow:hidden; background:linear-gradient(135deg,#fff 0 52%,#fff4f4 52%); }
.estimate-hub-section::before { content:""; position:absolute; width:260px; height:260px; right:-90px; top:-100px; border:42px solid rgba(218,22,35,.08); border-radius:50%; }
.estimate-card-grid { position:relative; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; max-width:960px; margin:36px auto 0; }
.estimate-card { padding:34px; background:#fff; border:1px solid #e3e6ea; border-top:8px solid var(--red); border-radius:18px; box-shadow:0 16px 38px rgba(20,30,40,.12); }
.estimate-card.estimate-purchase { border-top-color:#1670a7; }
.estimate-label { display:inline-block; margin-bottom:14px; padding:6px 14px; color:#fff; background:var(--red); border-radius:999px; font-size:.84rem; font-weight:900; letter-spacing:.08em; }
.estimate-purchase .estimate-label { background:#1670a7; }
.estimate-card h3 { margin:0 0 16px; font-size:clamp(1.8rem,3vw,2.55rem); line-height:1.25; }
.estimate-card p { min-height:3.4em; margin:0 0 22px; }
.estimate-card small,.estimate-wide-action small { display:block; margin-top:15px; color:#68707a; font-size:.78rem; line-height:1.65; }
.estimate-button { width:100%; justify-content:center; color:#fff; background:#06c755; border-color:#06c755; }
.estimate-button.is-pending { color:#62676d; background:#e5e7e9; border-color:#e5e7e9; cursor:not-allowed; box-shadow:none; }
.estimate-detail-section { background:#f6f8fa; }
.estimate-wide-card { display:grid; grid-template-columns:1.25fr .75fr; align-items:center; gap:42px; padding:38px 42px; color:#202932; background:#fff; border-left:9px solid var(--red); border-radius:18px; box-shadow:0 15px 38px rgba(20,30,40,.11); }
.estimate-wide-card.estimate-purchase { border-left-color:#1670a7; }
.estimate-wide-card h2 { margin:0 0 14px; font-size:clamp(1.7rem,3.3vw,2.75rem); line-height:1.35; }
.estimate-wide-card p { margin:0; }
.estimate-wide-action { text-align:center; }
@media(max-width:760px) { .estimate-card-grid,.estimate-wide-card { grid-template-columns:1fr; }.estimate-card { padding:26px 22px; }.estimate-card p { min-height:0; }.estimate-wide-card { gap:24px; padding:28px 22px; border-left-width:0; border-top:8px solid var(--red); }.estimate-wide-card.estimate-purchase { border-top-color:#1670a7; } }

.daihatsu-page-logo{width:min(260px,70vw);height:auto;margin:0 0 16px;padding:8px 12px;background:rgba(255,255,255,.94);border-radius:8px;}
.dai-card-copy{display:grid;gap:8px;}
.daihatsu-external-logo{width:190px;height:auto;margin-bottom:2px;}
.kei-fee-photo{margin:0;background:#f7f7f7;}
.kei-fee-photo img{width:100%;max-height:220px;object-fit:cover;}
.kei-fee-photo figcaption{padding:7px 14px;color:var(--muted);font-size:.78rem;background:#fff;text-align:right;}
@media(max-width:680px){.header-daihatsu-logo{width:120px}.daihatsu-badge{flex-wrap:wrap}.daihatsu-badge img{width:130px}.kei-fee-photo img{max-height:170px}}

/* 店舗ブランド表示：ワイエスワークス / YS SELECT */
.subbrand-row { display:flex; align-items:center; gap:18px; margin:0 0 18px; padding:12px 14px; background:#f7faf7; border:1px solid var(--line); border-radius:14px; }
.subbrand-item { display:flex; align-items:center; gap:8px; min-width:0; }
.subbrand-item small,.subbrand-item strong { display:block; color:var(--ink); font-size:.88rem; font-weight:900; line-height:1.25; }
.subbrand-logo { width:62px; height:62px; object-fit:contain; flex:0 0 auto; }
.ys-select-green { filter:hue-rotate(73deg) saturate(1.25) brightness(.92); }
.select-brand strong { color:#17763f; letter-spacing:.06em; }
.used-brand-identity { display:flex; align-items:center; justify-content:center; min-height:82px; margin:0 0 12px; padding:8px 12px; background:#fff; border:1px solid var(--line); border-radius:12px; }
.used-brand-identity.select-brand { gap:10px; }
.used-brand-logo { width:76px; height:76px; object-fit:contain; }
.used-brand-identity.select-brand .used-brand-logo { width:68px; height:68px; }
.used-brand-identity.select-brand strong { font-size:1rem; }
.company-subbrands { margin:0 0 18px; }
@media (max-width:540px) { .subbrand-row { gap:10px; padding:10px; } .subbrand-logo { width:48px; height:48px; } .subbrand-item small,.subbrand-item strong { font-size:.76rem; } }

/* 2.9.14: official logos, workshop photo, cashless update */
.header-daihatsu-logo{width:92px;max-height:82px;object-fit:contain;}
.payment-card-with-photo{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:32px;align-items:center;}
.payment-card-with-photo .payment-copy{min-width:0;}
.payment-photo{margin:0;text-align:center;}
.payment-photo img{display:block;width:100%;max-width:390px;margin:0 auto;border-radius:14px;box-shadow:0 12px 32px rgba(30,45,55,.14);}
.payment-photo figcaption{margin-top:8px;font-size:.82rem;color:#667;}
.payment-methods small{display:block;margin-top:8px;line-height:1.6;color:#666;}
.payment-note{display:block;margin-top:18px;}
@media(max-width:760px){.payment-card-with-photo{grid-template-columns:1fr}.payment-photo img{max-width:320px}.header-daihatsu-logo{width:76px;max-height:68px}}

/* 2.9.23: show the complete YS Works exterior artwork without cropping */
.location-duo-images img:first-child, .company-duo-images img:first-child { object-fit: contain; background:#fff; }
.used-brand img[src*="ys-works-exterior"] { object-fit: contain; background:#fff; }
/* v2.9.28: fit the complete Mira e:S photograph inside its card. */
.featured-offer-grid > .offer-car { min-width:0; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.featured-offer-grid > .offer-car img { display:block; width:100%; height:auto; min-height:0; max-width:100%; object-fit:contain; aspect-ratio:auto; }

/* 2.9.30: show complete storefront and full promotional lettering without cropping. */
.location-grid > .location-card > img:not(.location-badge) {
  display: block; width: 100%; height: 280px; object-fit: contain; object-position: center; background: #f6f7f5;
}
.location-duo-images { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 3px; height: 280px; background: #f6f7f5; }
.location-duo-images img, .location-duo-images img:first-child {
  display: block; width: 100%; height: 100%; min-width: 0; object-fit: contain; object-position: center; background: #f6f7f5;
}

/* v2.9.31: Ajisu main-office card only. Zoom to remove side gaps and excess asphalt. */
.location-grid > .location-card:first-child > img:not(.location-badge) {
  width:100%; height:280px; object-fit:cover; object-position:center 43%; background:transparent;
}

/* v2.9.32: keep the replacement car lineup photo visible without clipping */
.kei-fee-photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;}
@media(max-width:680px){.kei-fee-photo img{max-height:none;}}
