/* ============================================================
   COCO AUTO - style.css
   カラーテーマ：グリーン基調 × オレンジアクセント
   フォント：英数字=Inter / 日本語=Noto Sans JP（各500/700のみ）
   方針：地域密着・相談しやすさ・現場感、スマホ優先
   ============================================================ */


/* ============================================================
   CSS変数
   ============================================================ */
:root {
  /* カラー
   * 方針：自然で清潔なグリーン × 温かみのあるオレンジ × 暖かみある背景
   * "家族の車を安心して任せられる地域のかかりつけ車屋" の空気感
   * 男性向けのかっこよさより、相談しやすさ・親しみを優先
   */
  --color-green:        #22c066;   /* メイン：自然で清潔な親しみやすいグリーン */
  --color-green-dark:   #145a31;   /* 濃色：ボタンhover・見出しアクセント */
  --color-green-light:  #e4efe7;   /* 淡色：背景・バッジ（柔らかく温かみ） */
  --color-green-mid:    #5b9a73;   /* 中間：ボーダーhover・アイコン */
  --color-orange:       #f08d0c;   /* アクセント：温かみ・人間味のあるオレンジ */
  --color-orange-dark:  #bf6b20;   /* 濃オレンジ：hover */
  --color-orange-light: #fbf1e7;   /* 淡オレンジ：aboutセクション背景（彩度控えめ） */
  --color-text:         #1e1e1e;   /* 本文：ほぼ黒 */
  --color-text-sub:     #2e2e2e;   /* サブ：ほぼ黒に近いグレー・全グレーテキストはこれで統一 */
  --color-bg:           #f7f5f1;   /* サイト背景：わずかに暖かいオフホワイト */
  --color-white:        #ffffff;
  --color-border:       #d7e1d8;   /* ボーダー：グリーン寄りで自然・温かい */

  /*
   * フォント設計：
   *   英数字グリフ → Inter が先に処理
   *   日本語グリフ → Noto Sans JP にフォールバック
   */
  --font-base: 'Inter', 'Noto Sans JP', sans-serif;

  /* 角丸：「少し面取り」程度。これ以上削らない */
  --radius-sm:  3px;
  --radius-md:  5px;
  --radius-lg:  8px;

  /* レイアウト */
  --container-width: 1080px;
  --section-padding: 4rem 0;
}


/* ============================================================
   リセット・ベース
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 120%;
  scroll-padding-top: 78px;
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-base);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 左右ベール：スポットライト効果 */
body::before,
body::after {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  width: 1%;
  z-index: 9999;
  pointer-events: none;
}

body::before {
  left: 0;
  background: rgba(0,0,0,0.03);
}

body::after {
  right: 0;
  background: rgba(0,0,0,0.03);
}

@media (max-width: 768px) {
  body::before,
  body::after {
    width: 1%;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }


/* ============================================================
   ユーティリティ
   ============================================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sp-only { display: none; }
.pc-only { display: inline; }

@media (max-width: 768px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }
}


/* ============================================================
   セクション共通
   ============================================================ */
section {
  padding: var(--section-padding);
  position: relative;
}

/* --- 全セクション背景：薄い斜線パターン --- */
section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -60deg,
    rgba(0,0,0,0.03) 0px,
    rgba(0,0,0,0.03) 1px,
    transparent 1px,
    transparent 6px
  );
  pointer-events: none;
  z-index: 2; /* キャラより前・コンテンツより後ろ */
}



.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 3;
}

.section-label {
  display: inline-block;
  font-family: var(--font-base);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--color-green);
  background: #ffffff;
  border: 1px solid var(--color-green);
  border-radius: 100px;
  padding: 0.24em 1.44em;
  margin-bottom: 1.1rem;
}

.section-title {
  font-size: clamp(34px, 4vw, 45px);
  font-weight: 700;
  color: var(--color-green);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.section-desc {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--color-text-sub);
}


/* ============================================================
   ボタン
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  font-family: var(--font-base);
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.15s, transform 0.12s;
  cursor: pointer;
  border: none;
  line-height: 1.3;
  text-align: center;
}

.btn:active {
  transform: scale(0.97);
}

/* 電話ボタン（グリーン） */
.btn-phone {
  background: var(--color-green);
  color: var(--color-white);
}
.btn-phone:hover {
  background: var(--color-green-dark);
}

/* マップボタン（オレンジ） */
.btn-map {
  background: var(--color-orange);
  color: var(--color-white);
}
.btn-map:hover {
  background: var(--color-orange-dark);
}

/* サイズ */
.btn-header {
  font-size: 0.82rem;
  padding: 0.75em 1em;
  border-radius: var(--radius-sm);
}

.btn-md {
  font-size: 0.95rem;
  padding: 0.7em 1.5em;
}

.btn-lg {
  font-size: 1rem;
  padding: 1.16em 1.3em;
}

.btn-xl {
  font-size: 1.05rem;
  padding: 1em 2em;
  flex-direction: row;
  gap: 0.5em;
}

.btn-sub {
  font-family: var(--font-base);
  font-size: 1.15em;
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* bottom-cta電話ボタン内テキスト：ラベルと電話番号を縦積み */
.btn-tel-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05em;
}

.btn-tel-label {
  font-size: 0.85em;
  line-height: 1.2;
}

/* Phosphor アイコンのボタン内サイズ調整 */
.btn i {
  font-size: 1.32em;
  line-height: 1;
  flex-shrink: 0;
}


/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 2px solid var(--color-green-light);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}

.site-header.scrolled {
  box-shadow: 0 2px 6px rgba(0,0,0,0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 60px;
}

/* ロゴ */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ヘッダーロゴ画像：元サイズ400×75を高さ基準で表示 */
.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

/* フッターロゴ画像：少し小さめ */
.logo-img-footer {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .logo-img {
    height: 30px;
  }
}

/* グローバルナビ */
.global-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.global-nav ul {
  display: flex;
  gap: 1.1rem;
}

.global-nav ul li a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-green);
  padding: 0.25em 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.global-nav ul li a:hover {
  color: var(--color-green-dark);
  border-bottom-color: var(--color-green-dark);
}

/* --- PC版ハンバーガー＆ドロワー（PCのみ） --- */
.pc-drawer-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.pc-drawer-toggle span {
  display: block;
  height: 2px;
  background: var(--color-green);
  border-radius: 2px;
  width: 100%;
  transition: transform 0.22s, opacity 0.22s;
}

.pc-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  height: 100vh;
  background: var(--color-green);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.pc-drawer.open {
  transform: translateX(0);
}

.pc-drawer-inner {
  padding: 2rem 2rem 3rem;
}

.pc-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-white);
  font-size: 1.3rem;
  margin-left: auto;
  margin-bottom: 2rem;
  transition: background 0.15s;
}

.pc-drawer-close:hover {
  background: rgba(255,255,255,0.35);
}

.pc-drawer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
}

.pc-drawer-nav ul li a {
  display: block;
  color: var(--color-white);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.9em 0;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  transition: opacity 0.15s;
  letter-spacing: 0.04em;
}

.pc-drawer-nav ul li a:hover {
  opacity: 0.75;
}

.pc-drawer-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
}

.pc-drawer-company {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-white);
}

.pc-drawer-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--color-white);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0.5rem 0;
  letter-spacing: 0.04em;
}

.pc-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.pc-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* SPではPC版ドロワー関連を全て非表示 */
@media (max-width: 768px) {
  .pc-drawer,
  .pc-drawer-overlay,
  .pc-drawer-toggle {
    display: none !important;
  }
}

.global-nav ul li.sp-only { display: none; }

/* ハンバーガー */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-green);
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.22s;
  width: 100%;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }
  .hero {
    margin-top: 65px;
  }
  .header-inner { height: 65px; }

  .logo-img { height: 40px; }

  .nav-toggle {
    display: flex;
    width: 43px;
    height: 43px;
    gap: 6px;
  }

  .nav-toggle span {
    height: 3px;
  }

  .nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  .global-nav {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    border-top: 1px solid var(--color-border);
    display: none;
  }

  .global-nav.open { display: flex; }

  .global-nav ul {
    flex-direction: column;
    gap: 0;
  }

  /* SP：pc-only項目を非表示、sp-only項目を表示 */
  .global-nav ul li.pc-only { display: none; }
  .global-nav ul li.sp-only { display: block; }

  .global-nav ul li a {
    display: block;
    padding: 0.85em 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
  }

  .btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.95rem;
    padding: 0.85em;
    border-radius: var(--radius-md);
  }
}


/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: visible;
  padding: 0;
  z-index: 8;
}

.hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #1e5c39;
  overflow: hidden;
}

/* スライダー */
.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide picture {
  position: absolute;
  inset: 0;
  display: block;
}

/* ドットナビ */
.hero-dots {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
  background: var(--color-white);
  transform: scale(1.3);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to right,
    rgba(10, 32, 18, 0.52) 0%,
    rgba(10, 32, 18, 0.28) 55%,
    rgba(10, 32, 18, 0.06) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 4;
  padding: 1.2rem 1.25rem 3.75rem;
  color: var(--color-white);
  width: 100%;
  padding-left: calc(1.25rem + 100px);
}

.hero-area {
  font-size: 0.82rem;
  font-weight: 400;
  background: var(--color-white);
  color: var(--color-green);
  border: 1px solid var(--color-green);
  display: inline-block;
  padding: 0.2em 0.8em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.hero-catch {
  font-size: clamp(40px, 6vw, 67px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.1rem;
  color: var(--color-white);
}

.hero-sub {
  font-size: clamp(0.88rem, 2.2vw, 1rem);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--color-white);
  max-width: 460px;
}

@media (max-width: 768px) {
  .hero-content {
    padding-top: 0.6rem;
    padding-left: 1.25rem;
  }
  .hero-area {
    margin-top: 20px;
    margin-bottom: 0.4rem;
  }
  .hero-catch {
    margin-bottom: 0.4rem;
  }
  .hero-sub {
    font-size: clamp(0.8rem, 3.5vw, 0.95rem);
    margin-bottom: 3.6rem;
    line-height: 1.6;
  }
}

.hero-cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}

/* --- ここちゃんキャラクター --- */
.hero-cocochan {
  position: absolute;
  bottom: -25px;
  right: calc(-2% + 300px);
  width: 457px;
  height: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}

/* SP --- */
@media (max-width: 1100px) {
  .hero-cocochan {
    width: 308px;
    bottom: -60px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 65vh;
  }
  .hero-photo {
    object-position: center center;
  }
  .hero-cocochan {
    width: 286px;
    bottom: -20px;
    right: -57px;
  }
}


/* ============================================================
   NEWSバー（ヒーロー直下）
   ============================================================ */
.trust-bar {
  background: var(--color-green);
  padding: 1.5rem 0;
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
}

.trust-bar-zigzag {
  position: absolute;
  top: -9px;
  left: 0;
  width: 100%;
  height: 10px;
  color: var(--color-green);
  display: block;
  pointer-events: none;
}

.news-bar-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 120px;
  position: relative;
  justify-content: center;
  min-height: 100%;
}

.news-bar-list::before {
  content: 'NEWS';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-base);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--color-white);
  border: 1px solid var(--color-white);
  border-radius: 100px;
  padding: 0.24em 1.44em;
}

.news-bar-item {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  color: var(--color-white);
  font-size: 0.88rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 0.5rem;
}

.news-bar-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-bar-date {
  font-family: var(--font-base);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  flex-shrink: 0;
}

.news-bar-text {
  color: rgba(255,255,255,0.95);
}

@media (max-width: 768px) {
  .news-bar-list {
    padding-left: 0;
    padding-top: 2.4rem;
  }

  .news-bar-list::before {
    top: 0;
    transform: none;
    font-size: 0.65rem;
  }

  .news-bar-item {
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.82rem;
  }
}

/* PC幅縮小時もラベルと日付が被らないように */
@media (max-width: 900px) {
  .news-bar-list {
    padding-left: 0;
    padding-top: 2.4rem;
  }
  .news-bar-list::before {
    top: 0;
    transform: none;
  }
}


.voices {
  background: var(--color-orange-light);
  position: relative;
  z-index: 21;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.voice-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

/* 開き引用符 */
.voice-card::before {
  content: '\201C';
  font-size: 3rem;
  line-height: 0.6;
  color: var(--color-green-light);
  font-family: Georgia, serif;
  display: block;
  margin-bottom: -0.5rem;
}

.voice-text {
  font-size: 0.88rem;
  color: var(--color-text);
  line-height: 1.85;
}

.voice-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

.voice-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-green-dark);
}

.voice-area {
  font-size: 0.75rem;
  color: var(--color-text-sub);
}

@media (max-width: 768px) {
  .voice-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}


/* ============================================================
   サービス
   ============================================================ */
.services {
  background: var(--color-white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* 写真カード本体 */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  background: var(--color-green-dark);
  z-index: 1;
}

/* 背景写真 */
.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* 軽いhoverで写真が少し拡大 */
.service-card:hover img {
  transform: scale(1.04);
}

/* 深いグリーン系オーバーレイ：下に向かって濃くなり文字を読みやすく */
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 32, 18, 0.30) 0%,
    rgba(10, 32, 18, 0.72) 100%
  );
}

/* テキスト・アイコンを最前面に */
.service-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem 1rem;
}

/* アイコン */
.service-icon {
  margin-bottom: 0.4rem;
}

.service-icon i {
  font-size: 1.6rem;
  color: #fff;
  line-height: 1;
  opacity: 0.92;
}

/* 見出し */
.service-card h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

/* 本文 */
.service-card p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

/* 補助事業 */
.other-services {
  margin-top: 1.75rem;
  padding: 0.85rem 1.1rem;
  background: var(--color-orange-light);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-text-sub);
  position: relative;
  z-index: 3;
}

/* SP：2列 */
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .service-card {
    aspect-ratio: 16 / 10;
  }
}

/* 小さいSP：1列 */
@media (max-width: 420px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    aspect-ratio: 4 / 3;
  }
}


/* ============================================================
   はじめての方へ
   ============================================================ */
.reasons {
  background: var(--color-green-light);
}

.reason-list {
  display: grid;
  gap: 1rem;
}

.reason-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  position: relative;
  z-index: 1;
}

.reason-num {
  font-family: var(--font-base);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-green-light);
  -webkit-text-stroke: 1.5px var(--color-green-mid);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.2rem;
  text-align: center;
  margin-top: 0.1rem;
}

.reason-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 0.35rem;
  line-height: 1.45;
}

.reason-body p {
  font-size: 0.87rem;
  color: var(--color-text-sub);
  line-height: 1.75;
}


/* ============================================================
   中古車相談
   ============================================================ */
.usedcar {
  background: var(--color-white);
}

.usedcar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.usedcar-img {
  border-radius: var(--radius-lg);
  overflow: visible; /* はみ出し写真のためvisibleに */
  aspect-ratio: 4/3;
  background: #ddeee5;
  position: relative;
}

/* メイン写真はoverflow:hidden相当に見せる */
.usedcar-img > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  position: relative;
  z-index: 1;
}

/* 重なりサブ写真 */
.usedcar-sub-photo {
  position: absolute;
  right: -50px;
  bottom: -40px;
  width: 60%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  transform: rotate(2deg);
  z-index: 0; /* メイン写真より後ろ */
}

@media (max-width: 768px) {
  .usedcar-sub-photo {
    right: -10px;
    bottom: -30px;
    width: 55%;
  }
}

/* section-headのtext-align:centerをusedcar内だけ左寄せに上書き */
.usedcar-head {
  text-align: left;
  margin-bottom: 1rem;
}

.usedcar-text p:not(.section-label) {
  font-size: 0.9rem;
  color: var(--color-text-sub);
  margin-bottom: 0.8rem;
}

.usedcar-text strong {
  color: var(--color-orange);
  font-weight: 700;
}

@media (max-width: 768px) {
  .usedcar-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}


/* ============================================================
   COCO AUTOについて
   写真は .about-photos 内の .about-photo-item で管理
   写真が増えた場合：about-photos の grid-template-columns を調整
   例）3枚：repeat(3, 1fr)  ／  4枚：repeat(2, 1fr) × 2行
   ============================================================ */
.about {
  background: var(--color-orange-light);
}

.about-body {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-text p {
  font-size: 0.92rem;
  color: var(--color-text-sub);
  margin-bottom: 1rem;
  line-height: 1.85;
}

/* 写真グリッド：2列×2行で4枚表示 */
.about-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

/* --- 重なりレイアウト（PC専用） --- */
@media (min-width: 769px) {
  .about-photos--overlap {
    position: relative;
    display: block;
    min-height: 420px;
  }

  .about-photos--overlap .about-photo-item:nth-child(1) {
    width: 75%;
    position: relative;
    z-index: 0; /* 一番奥 */
    margin-left: 0;
  }

  .about-photos--overlap .about-photo-item:nth-child(2) {
    position: absolute;
    right: -30px;
    top: -28px;
    width: 55%;
    z-index: 1; /* 中間 */
    transform: rotate(1.5deg);
    box-shadow: 0 10px 32px rgba(0,0,0,0.16);
  }

  .about-photo-item--third {
    position: absolute;
    right: -30px;
    bottom: -36px;
    width: 46%;
    z-index: 2; /* 最前面 */
    transform: rotate(-2deg);
    box-shadow: 0 10px 32px rgba(0,0,0,0.16);
  }
}

.about-photo-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #c8dcd1;
  aspect-ratio: 8/9; /* 4/3の縦約1.5倍 */
}

.about-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* workshop-scene（写真②）：撮影が暗めのため軽く明るさ補正 */
.about-photo-item:nth-child(2) img {
  filter: brightness(1.1);
  object-position: center center;
}

@media (max-width: 768px) {
  .about-body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-photos {
    grid-template-columns: repeat(2, 1fr);
  }

  /* SP：簡略重なりレイアウト */
  .about-photos--overlap {
    position: relative;
    display: block;
    min-height: 200px;
  }

  .about-photos--overlap .about-photo-item:nth-child(1) {
    width: 72%;
    position: relative;
    z-index: 0; /* 一番奥 */
  }

  .about-photos--overlap .about-photo-item:nth-child(2) {
    position: absolute;
    right: 0;
    top: -12px;
    width: 46%;
    z-index: 1; /* 中間 */
    transform: rotate(1.5deg);
    box-shadow: 0 6px 16px rgba(0,0,0,0.14);
  }

  .about-photo-item--third {
    position: absolute;
    right: 0;
    bottom: -16px;
    width: 36%;
    z-index: 2; /* 最前面 */
    transform: rotate(-2deg);
    box-shadow: 0 6px 16px rgba(0,0,0,0.14);
  }
}


/* ============================================================
   アクセス
   ============================================================ */
.access {
  background: var(--color-white);
}

.access-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: start;
}

.access-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 0.9rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.access-info dt {
  font-weight: 700;
  color: var(--color-green-dark);
  white-space: nowrap;
  padding-top: 0.1em;
}

.access-info dd {
  color: var(--color-text-sub);
  line-height: 1.6;
}

.access-tel {
  font-family: var(--font-base);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-green);
  letter-spacing: 0.03em;
}

.access-tel:hover {
  color: var(--color-green-dark);
}

/* Google Map枠（本番はiframeに差し替え） */
.map-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  max-height: 340px;
  background: #dce8e0;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  color: var(--color-text-sub);
  font-size: 0.88rem;
  text-align: center;
  border: 2px dashed var(--color-border);
}

/* 本番 iframe 用（差し替え時に自動適用） */
.access-map iframe {
  width: 100%;
  aspect-ratio: 4/3;
  max-height: 340px;
  border-radius: var(--radius-lg);
  border: 0;
  display: block;
}

.map-link {
  font-weight: 700;
  color: var(--color-green);
  font-size: 0.88rem;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .access-inner {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   最下部 CTA
   ============================================================ */
.bottom-cta {
  background: var(--color-green);
  color: var(--color-white);
  text-align: center;
  padding: 3.5rem 0;
}

.bottom-cta h2 {
  font-size: clamp(21px, 3.5vw, 29px);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.bottom-cta p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.75rem;
}

.bottom-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}

.bottom-cta .btn-phone {
  background: var(--color-white);
  color: var(--color-green-dark);
}

.bottom-cta .btn-phone:hover {
  background: var(--color-green-light);
}


/* ============================================================
   フッター
   ============================================================ */
.site-footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.65);
  padding: 2.25rem 0 1.25rem;
  text-align: center;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -60deg,
    rgba(0,0,0,0.03) 0px,
    rgba(0,0,0,0.03) 1px,
    transparent 1px,
    transparent 6px
  );
  pointer-events: none;
  z-index: 0;
}

.footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.1em;
  font-family: var(--font-base);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.footer-logo .logo-coco {
  font-size: 1.3rem;
  color: var(--color-green-mid);
}

.footer-logo .logo-auto {
  font-size: 0.9rem;
  color: var(--color-orange);
}

.footer-info {
  font-size: 0.82rem;
  line-height: 2;
  margin-bottom: 0.75rem;
}

.footer-info a {
  color: rgba(255,255,255,0.65);
  text-decoration: underline;
}

.footer-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-top: 0.5rem;
}

.footer-credit {
  margin-top: 1.2rem;
}

.footer-credit img {
  width: 30px;
  height: auto;
  opacity: 0.55;
  display: block;
  margin: 0 auto;
  transition: opacity 0.15s ease;
}

.footer-credit a:hover img {
  opacity: 0.78;
}

.copyright {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.9rem;
}


/* ============================================================
   ヒーロー内ニュースフィード
   ============================================================ */
.hero-news {
  margin-top: 2rem;
  max-width: 560px;
  background: #ffffff;
  border: 2px solid var(--color-green);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
  position: relative;
  z-index: 5;
}

.news-label {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-green);
  margin-bottom: 0.5rem;
}

.news-label i {
  font-size: 0.9em;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 0.85em;
  font-size: 0.83rem;
  line-height: 1.55;
  padding: 0.45em 0;
}

.news-item + .news-item {
  border-top: 1px solid rgba(40, 175, 94, 0.25);
}

.news-date {
  font-family: var(--font-base);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--color-green);
  white-space: nowrap;
  flex-shrink: 0;
}

.news-text {
  color: var(--color-text);
}

@media (max-width: 768px) {
  .hero-news {
    max-width: 100%;
    margin-top: 1rem;
    margin-bottom: 0;
  }

  .news-item {
    flex-wrap: wrap;
    gap: 0.3em 0.7em;
  }
}


/* ============================================================
   スクロールフェードイン（JS連携）
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SP：ボタン横幅いっぱい（ヒーロー2つ・最下部CTA2つ）
   ============================================================ */
@media (max-width: 768px) {
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-cta .btn {
    width: 180px;
    justify-content: center;
    padding-top: 1.16em;
    padding-bottom: 1.16em;
    padding-left: 0.8em;
    padding-right: 0.8em;
    min-width: unset;
    white-space: nowrap;
  }

  .bottom-cta-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .bottom-cta-btns .btn {
    width: 100%;
    justify-content: center;
  }
}


/* ============================================================
   公開後の操作性補強
   ============================================================ */
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(240, 141, 12, 0.55);
  outline-offset: 3px;
}

.nav-toggle,
.pc-drawer-toggle,
.pc-drawer-close,
.hero-dot {
  -webkit-tap-highlight-color: transparent;
}
