/* ===== 平成自動車工業 採用サイト グローバルスタイル ===== */
/* 配色案A: ネイビー×オレンジ */

:root {
  --white: #ffffff;
  --off: #f5f7fa;
  --navy: #0d2436;
  --navy-2: #123049;
  --orange: #f26522;
  --orange-dark: #d9531a;
  --gray: #5b6b7a;
  --line: #e3e8ee;
  --text: #1c2833;

  --container: 1200px;
  --radius: 10px;
  --sp: clamp(64px, 9vw, 120px); /* セクション上下余白 */
  --font-jp: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-en: "Oswald", var(--font-jp);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header { top: 32px; }

.heisei-editor-content:empty::before {
  content: "このページの本文はまだ登録されていません。";
  display: block;
  width: min(92%, var(--container));
  margin: 48px auto;
  color: var(--gray);
  text-align: center;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---- レイアウト共通 ---- */
.container { width: min(92%, var(--container)); margin-inline: auto; }
.section { padding-block: var(--sp); }
.bg-off { background: var(--off); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-orange { background: var(--orange); color: var(--white); }
.txt-ctr { text-align: center; }

.section-en {
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--orange);
  font-size: clamp(13px, 1.4vw, 15px);
  margin-bottom: 10px;
}
.bg-navy .section-en, .bg-orange .section-en { color: inherit; opacity: .85; }
.bg-orange .section-en { color: var(--navy); opacity: 1; }

.section-jp {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .02em;
}
.section-desc { margin-top: 18px; max-width: 760px; margin-left: auto; margin-right: auto; color: var(--gray); font-size: clamp(14px, 1.6vw, 17px); line-height: 1.9; }
.bg-navy .section-desc { color: rgba(255,255,255,.75); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }

/* ---- ボタン ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(242,101,34,.3); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #f0f0f0; }

/* ---- 写真プレースホルダー ---- */
.ph {
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: repeating-linear-gradient(45deg, #dfe5ec, #dfe5ec 12px, #e8edf3 12px, #e8edf3 24px);
  color: var(--gray);
  font-size: 13px;
  letter-spacing: .04em;
  padding: 16px;
  border-radius: var(--radius);
  min-height: 200px;
}
.ph-inline { color: var(--gray); font-size: .82em; font-weight: 400; }

/* ---- 生成画像スロット（比率はスロットごとに指定）---- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--off); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* ポートレートは顔（上部）を優先して表示 */
.iv-photo img, .message-photo img { object-position: top center; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(94%, var(--container)); margin-inline: auto;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; line-height: 1; }
.logo-mark { flex: 0 0 auto; width: 42px; height: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-group { margin-bottom: 4px; color: var(--gray); font-size: 9px; letter-spacing: .04em; }
.logo-name { color: var(--navy); font-size: 17px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.gnav { display: flex; align-items: center; gap: clamp(14px, 1.65vw, 24px); }
.gnav a { font-weight: 500; font-size: 14px; color: var(--navy); white-space: nowrap; }
.gnav a:hover { color: var(--orange); }
.gnav a.active:not(.gnav-cta) { color: var(--orange); font-weight: 700; }
.gnav .gnav-cta { background: var(--orange); color: #fff; padding: 10px 22px; border-radius: 999px; }
.gnav .gnav-cta:hover { background: var(--orange-dark); color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); display: block; transition: .2s; }

/* 車両販売・採用情報のドロップダウン */
.gnav-dd { position: relative; display: flex; align-items: center; height: 68px; }
.gnav-dd-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 180px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(13,36,54,.12);
  padding: 8px 0;
  opacity: 0; visibility: hidden; translate: 0 6px;
  transition: opacity .18s ease, visibility .18s ease, translate .18s ease;
}
.gnav-dd:hover .gnav-dd-menu, .gnav-dd:focus-within .gnav-dd-menu { opacity: 1; visibility: visible; translate: 0 0; }
.gnav-dd-menu a { display: block; padding: 9px 20px; font-size: 14px; white-space: nowrap; }
.gnav-dd-menu a:hover { background: var(--off); color: var(--orange); }

/* ===== 下層ページ共通ヒーロー ===== */
.page-hero { padding: calc(68px + clamp(48px, 7vw, 88px)) 0 clamp(48px, 7vw, 88px); }
.page-hero-title { font-size: clamp(24px, 3.6vw, 40px); font-weight: 900; line-height: 1.45; max-width: 900px; }
.page-hero-desc { margin-top: 16px; color: rgba(255,255,255,.75); font-size: clamp(14px, 1.6vw, 17px); }

/* ===== 1. HERO ===== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-photo {
  position: absolute; inset: 0;
  background-color: #0d2436;
  background-size: cover;
  background-position: center;
}
.hero-photo-real { background-position: center 48%; }
.hero-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,36,54,.85) 0%, rgba(13,36,54,.55) 60%, rgba(13,36,54,.35) 100%); }
.hero-content { position: relative; width: min(92%, var(--container)); margin-inline: auto; padding-top: 68px; }
.hero-lead { font-size: clamp(14px, 1.8vw, 18px); font-weight: 500; letter-spacing: .04em; margin-bottom: 20px; opacity: .9; }
.hero-copy { font-size: clamp(30px, 6vw, 62px); font-weight: 900; line-height: 1.35; letter-spacing: .01em; }
.hero-copy .accent { color: var(--orange); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.scroll-down { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); }
.scroll-down span { display: block; width: 22px; height: 22px; border-right: 2px solid rgba(255,255,255,.7); border-bottom: 2px solid rgba(255,255,255,.7); transform: rotate(45deg); animation: bounce 1.8s infinite; }
@keyframes bounce { 0%,100%{transform:rotate(45deg) translate(0,0);opacity:.4} 50%{transform:rotate(45deg) translate(5px,5px);opacity:1} }

/* ===== 2. STRENGTH ===== */
.str-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.str-card { padding: clamp(28px, 3.5vw, 44px); border-radius: var(--radius); background: var(--off); border-top: 4px solid var(--orange); transition: box-shadow .2s, transform .2s; }
.str-card:hover { box-shadow: 0 14px 32px rgba(13,36,54,.1); transform: translateY(-3px); }
.str-head { display: flex; align-items: baseline; gap: 14px; }
.str-num { font-family: var(--font-en); font-weight: 700; font-size: clamp(38px, 4.5vw, 52px); color: var(--orange); line-height: 1; }
.str-en { font-family: var(--font-en); font-weight: 600; letter-spacing: .16em; color: var(--gray); font-size: 13px; }
.str-card h3 { margin: 16px 0 12px; font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; line-height: 1.4; }
.str-card p { font-size: 15px; color: var(--gray); }

/* ===== 実写素材: 強み ===== */
.motion-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.motion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  max-width: 980px;
  margin-inline: auto;
}
.motion-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #071722;
  aspect-ratio: 9 / 15;
}
.motion-card::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(7,23,34,.9));
  pointer-events: none;
}
.motion-card figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #fff;
  font-weight: 700;
  font-size: clamp(14px, 1.8vw, 17px);
}

/* ===== 実写素材: 採用・整備 ===== */
.culture-gallery {
  display: grid;
  grid-template-columns: 1.25fr .8fr .8fr;
  grid-template-rows: 220px 220px;
  gap: 16px;
}
.culture-gallery figure { min-height: 0; }
.culture-gallery figure:first-child { grid-row: 1 / 3; }
.culture-gallery figure:nth-child(2) { grid-column: 2 / 4; }
.caption-photo::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(7,23,34,.88));
  pointer-events: none;
}
.caption-photo figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.recruit-scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.recruit-scene-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.recruit-scene-photo { aspect-ratio: 4 / 3; border-radius: 0; }
.recruit-scene-body { padding: 22px 22px 26px; }
.recruit-scene-body h3 { margin-bottom: 10px; color: var(--navy); font-size: 18px; }
.recruit-scene-body p { color: var(--gray); font-size: 14px; }

.job-role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.job-role-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.job-role-photo { aspect-ratio: 4 / 3; border-radius: 0; }
.job-role-body { padding: 24px; }
.job-role-en {
  margin-bottom: 6px;
  color: var(--orange);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}
.job-role-body h3 { margin-bottom: 12px; color: var(--navy); font-size: 20px; }
.job-role-body > p:not(.job-role-en) { color: var(--gray); font-size: 14px; }
.job-role-card-text {
  display: flex;
  align-items: center;
  border: 0;
  background: var(--navy);
}
.job-role-card-text .job-role-body { padding: clamp(28px, 4vw, 42px); }
.job-role-card-text h3 { color: #fff; }
.job-role-card-text .job-role-body > p:not(.job-role-en) { color: rgba(255,255,255,.78); }
.job-role-note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: 12px !important;
}
.job-workplace {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  overflow: hidden;
  margin-top: 28px;
  border-radius: var(--radius);
  background: var(--off);
}
.job-workplace-video { min-height: 320px; background: #071722; }
.job-workplace-video video { width: 100%; height: 100%; display: block; object-fit: cover; }
.job-workplace-body { align-self: center; padding: clamp(28px, 4vw, 48px); }
.job-workplace-body h3 { margin: 8px 0 14px; color: var(--navy); font-size: clamp(22px, 2.6vw, 30px); }
.job-workplace-body > p:last-child { color: var(--gray); font-size: 15px; }

.maintenance-gallery {
  display: grid;
  grid-template-columns: 1.55fr .65fr;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto clamp(36px, 5vw, 60px);
}
.maintenance-main { aspect-ratio: 16 / 9; }
.maintenance-sub { min-height: 100%; }
.str-detail { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; }

/* ===== 3. NUMBERS ===== */
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.num-grid li { text-align: center; }
.num { font-family: var(--font-en); font-weight: 700; font-size: clamp(52px, 8vw, 84px); color: var(--navy); line-height: 1; }
.num-unit { font-family: var(--font-en); font-weight: 600; font-size: 22px; color: var(--orange); margin-left: 4px; }
.num-label { display: block; margin-top: 12px; font-size: 14px; color: var(--gray); }
.num-note { margin-top: 48px; text-align: center; font-size: 13px; color: var(--gray); }

/* ===== 5. RECRUIT DIGEST ===== */
.rd-copy { font-size: clamp(24px, 3.6vw, 38px); font-weight: 900; line-height: 1.45; letter-spacing: .01em; }
.rd-copy .accent { color: var(--orange); }
.concept-copy { color: var(--navy); }
.rd-interviews { max-width: 920px; margin-inline: auto; }
.rd-carousel { max-width: 1060px; margin-inline: auto; }
.rd-carousel-shell { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; gap: 16px; align-items: stretch; }
.rd-carousel-viewport { overflow: hidden; }
.rd-carousel-track { display: flex; transition: transform .45s ease; }
.rd-carousel-page { flex: 0 0 100%; min-width: 0; }
.rd-carousel-arrow {
  display: grid; width: 52px; min-height: 100%; place-items: center;
  border: 1px solid rgba(255,255,255,.38); border-radius: 8px;
  background: rgba(255,255,255,.06); color: #fff; font-size: 24px; cursor: pointer;
  transition: background .2s, border-color .2s, opacity .2s;
}
.rd-carousel-arrow:hover:not(:disabled) { border-color: var(--orange); background: var(--orange); }
.rd-carousel-arrow:disabled { opacity: .3; cursor: default; }
.rd-carousel.is-light .rd-carousel-arrow { border-color: var(--line); background: var(--off); color: var(--navy); }
.rd-carousel.is-light .rd-carousel-arrow:hover:not(:disabled) { border-color: var(--orange); background: var(--orange); color: #fff; }
.rd-carousel-dots { display: flex; justify-content: center; gap: 9px; margin-top: 20px; }
.rd-carousel-dots button {
  width: 9px; height: 9px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.35); cursor: pointer; transition: width .2s, background .2s;
}
.rd-carousel-dots button.is-active { width: 24px; border-radius: 999px; background: var(--orange); }
.rd-carousel.is-light .rd-carousel-dots button { background: #c7d0d7; }
.rd-carousel.is-light .rd-carousel-dots button.is-active { background: var(--orange); }
.rd-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: clamp(32px, 4vw, 48px) 0; }
.rd-chip { border: 1px solid rgba(255,255,255,.35); color: rgba(255,255,255,.9); border-radius: 999px; padding: 8px 20px; font-size: 14px; font-weight: 700; }

.interview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.iv-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); color: var(--text); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.iv-card:hover { box-shadow: 0 14px 32px rgba(13,36,54,.1); transform: translateY(-3px); }
.iv-photo { aspect-ratio: 1 / 1; border-radius: 0; }
.iv-tag { display: inline-block; align-self: flex-start; margin: 20px 24px 0; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.iv-text { padding: 16px 24px 28px; font-size: 15px; }
.iv-common { margin-top: 40px; text-align: center; font-weight: 700; font-size: clamp(15px,1.8vw,19px); color: var(--navy); }

/* ===== 採用: 社長メッセージ ===== */
.message-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.message-photo { aspect-ratio: 3 / 4; }
.message-body .section-en { color: var(--orange); }
.message-copy { font-size: clamp(28px, 4vw, 44px); font-weight: 900; line-height: 1.35; margin: 8px 0 28px; }
.message-body p { color: rgba(255,255,255,.85); margin-bottom: 18px; font-size: clamp(15px,1.6vw,17px); }
.message-sign { margin-top: 32px; font-weight: 700; color: #fff; }

/* ===== 採用: 教育ロードマップ ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step { position: relative; padding: 0 16px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 20px; right: -8px; width: 16px; height: 16px; border-top: 3px solid var(--orange); border-right: 3px solid var(--orange); transform: rotate(45deg); }
.step-badge { display: inline-block; font-family: var(--font-en); font-weight: 700; background: var(--orange); color: #fff; padding: 8px 18px; border-radius: 999px; font-size: 15px; letter-spacing: .04em; margin-bottom: 16px; }
.step-text { font-size: 15px; color: var(--text); }

/* ===== 採用: 辞めない仕組み ===== */
.system-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sys-card { padding: 32px 24px; border-radius: var(--radius); background: var(--off); border-top: 4px solid var(--orange); }
.sys-num { font-family: var(--font-en); font-weight: 700; font-size: 34px; color: var(--orange); line-height: 1; }
.sys-card h3 { margin: 12px 0 12px; font-size: 18px; font-weight: 700; }
.sys-card p { font-size: 14px; color: var(--gray); }

/* ===== 採用: 4拠点の働き方 ===== */
.wp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.wp-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.wp-photo { aspect-ratio: 4 / 3; border-radius: 0; }
.wp-photo.is-empty { background: #d5d8dc; }
.wp-card h3 { padding: 18px 20px 0; font-size: 18px; font-weight: 700; }
.wp-addr { padding: 10px 20px 0; font-size: 13px; color: var(--gray); }
.wp-tel { display: block; padding: 8px 20px 0; font-family: var(--font-en); font-weight: 700; font-size: 20px; color: var(--navy); }
.wp-tel:last-child { padding-bottom: 20px; }
.wp-tel:hover { color: var(--orange); }

/* ===== 採用: 求人トップの子ページカード ===== */
.rc-card { display: block; padding-bottom: 22px; }
.rc-en { padding: 20px 22px 0; font-family: var(--font-en); font-weight: 600; letter-spacing: .14em; color: var(--orange); font-size: 12px; }
.rc-card h3 { padding-top: 6px; }
.rc-more { display: inline-block; margin: 4px 22px 0; font-weight: 700; font-size: 14px; color: var(--navy); border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.rc-card:hover .rc-more { color: var(--orange); }

/* ===== 採用: 募集要項テーブル ===== */
.req-table { width: 100%; max-width: 860px; margin-inline: auto; border-collapse: collapse; table-layout: fixed; }
.req-table th, .req-table td { border-bottom: 1px solid var(--line); padding: 18px 16px; text-align: left; vertical-align: top; font-size: 15px; line-height: 1.8; }
.req-table th { width: 160px; color: var(--navy); font-weight: 700; background: var(--off); white-space: nowrap; }
.req-table td { overflow-wrap: anywhere; }

/* ===== 採用: FAQ ===== */
.faq-list { max-width: 860px; margin-inline: auto; display: grid; gap: 16px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.faq-item .heisei-term { display: block; font-weight: 700; font-size: 16px; color: var(--navy); position: relative; padding-left: 34px; }
.faq-item .heisei-term::before { content: "Q"; position: absolute; left: 0; top: 0; font-family: var(--font-en); font-weight: 700; color: var(--orange); font-size: 18px; }
.faq-item .heisei-description { display: block; margin-top: 10px; font-size: 15px; color: var(--gray); position: relative; padding-left: 34px; }
.faq-item .heisei-description::before { content: "A"; position: absolute; left: 0; top: 0; font-family: var(--font-en); font-weight: 700; color: var(--navy); font-size: 18px; }

/* ===== スタブ ===== */
.stub-note { color: var(--gray); font-size: clamp(15px, 1.7vw, 17px); margin-bottom: 40px; }

/* ===== 企業情報: 沿革 ===== */
.history-list { max-width: 860px; margin-inline: auto; }
.history-list li { display: flex; gap: 24px; padding: 18px 4px; border-bottom: 1px solid var(--line); align-items: baseline; }
.history-year { font-weight: 700; color: var(--navy); white-space: nowrap; min-width: 200px; }
.history-list p { font-size: 15px; }
.history-list p span { display: block; }

/* ===== 新車: 取扱メーカー ===== */
.new-car-intro { padding-bottom: clamp(38px, 6vw, 72px); }
.new-car-intro-inner { max-width: 900px; text-align: center; }
.new-car-intro .section-jp { margin-top: 8px; }
.new-car-intro .section-desc { margin-top: 20px; }
.new-car-intro .section-desc + .section-desc { margin-top: 12px; }
/* 乗用車／トラックの2カラム */
.newcar-2col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 40px); }
.newcar-col h3 { margin: 16px 0 8px; font-size: 19px; font-weight: 700; color: var(--navy); }
.newcar-col p { color: var(--gray); font-size: 15px; line-height: 1.9; }
.newcar-photo { aspect-ratio: 4 / 3; }

/* 納車記念写真ギャラリー */
.delivery-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.delivery-photo { aspect-ratio: 4 / 3; }

.new-maker-groups { display: grid; gap: clamp(42px, 6vw, 72px); }
.new-maker-group h3 {
  margin-bottom: 22px; padding-left: 14px; border-left: 4px solid var(--orange);
  color: var(--navy); font-size: 18px; font-weight: 700;
}
.maker-logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.new-maker-group:first-child .maker-logo-grid { grid-template-columns: repeat(6, 1fr); }
.maker-logo-card {
  display: grid; grid-template-rows: 92px auto; align-items: center;
  padding: 22px 18px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); text-align: center;
}
.maker-logo-card img {
  width: 100%; height: 68px; object-fit: contain;
  filter: saturate(.92); transition: transform .2s ease;
}
.maker-logo-card:hover img { transform: scale(1.035); }
.maker-logo-card span { color: var(--navy); font-size: 12px; font-weight: 700; }

/* ===== 中古車: 在庫カード ===== */
.used-contact { background: var(--white); border-bottom: 1px solid var(--line); }
.used-contact-inner {
  min-height: 88px; display: flex; align-items: center; justify-content: center;
  gap: clamp(18px, 3vw, 42px);
}
.used-contact-label { color: var(--navy); font-size: 14px; font-weight: 700; }
.used-contact-tel {
  color: var(--orange); font-family: var(--font-en); font-size: clamp(24px, 3vw, 34px);
  font-weight: 700; letter-spacing: .02em;
}
.used-contact-hours { color: var(--gray); font-size: 13px; }

/* カテゴリフィルタ・カテゴリ見出し */
.uc-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: clamp(32px, 4vw, 48px); }
.uc-filter-btn {
  border: 1px solid var(--line); background: var(--white); color: var(--navy);
  border-radius: 999px; padding: 9px 22px; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.uc-filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.uc-filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.uc-category { margin-bottom: clamp(40px, 5vw, 64px); }
.uc-category:last-child { margin-bottom: 0; }
.uc-category-head {
  font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; color: var(--navy);
  border-left: 4px solid var(--orange); padding-left: 12px; margin-bottom: 24px;
}

.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.uc-card {
  display: flex; flex-direction: column; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white); overflow: hidden;
}
.uc-image-button {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3;
  padding: 0; border: 0; background: #e9ebed; overflow: hidden;
}
.uc-image-empty { display: grid; width: 100%; height: 100%; place-items: center; color: var(--gray); font-size: 13px; }
.uc-image-button img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease;
}
.uc-image-button:hover img { transform: scale(1.025); }
.uc-sold-badge {
  position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 13px;
  border-radius: 4px; background: rgba(13,36,54,.92); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
}
.uc-gallery-count {
  position: absolute; right: 12px; bottom: 12px; padding: 5px 10px;
  border-radius: 999px; background: rgba(0,0,0,.68); color: #fff;
  font-size: 11px; font-weight: 700;
}
.uc-body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.uc-card h3 { min-height: 3em; font-size: 17px; font-weight: 700; line-height: 1.5; }
.uc-card h3 a { color: inherit; }
.uc-card h3 a:hover { color: var(--orange); }
.uc-price {
  min-height: 3.1em; margin: 8px 0 14px; color: var(--orange);
  font-size: 16px; font-weight: 700; line-height: 1.55;
}
.uc-price.is-sold { color: var(--navy); font-size: 18px; }
.uc-spec { margin-bottom: 12px; }
.uc-spec div { display: grid; grid-template-columns: 68px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.uc-spec .heisei-term { color: var(--gray); }
.uc-spec .heisei-description { min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.uc-note {
  margin-bottom: 15px; color: var(--orange); font-size: 12px;
  font-weight: 700; line-height: 1.65; white-space: pre-line;
}
.uc-gallery-button {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  margin-top: auto; padding: 13px 0 0; border: 0; border-top: 1px solid var(--line);
  background: transparent; color: var(--navy); font-family: var(--font-jp);
  font-size: 13px; font-weight: 700; cursor: pointer;
}
.uc-gallery-button span { color: var(--orange); font-size: 18px; transition: transform .2s ease; }
.uc-gallery-button:hover span { transform: translateX(4px); }

/* ===== 中古車詳細 ===== */
.vehicle-detail-back { margin-bottom: 24px; }
.vehicle-detail-back a { color: var(--navy); font-size: 14px; font-weight: 700; }
.vehicle-detail-back a:hover { color: var(--orange); }
.vehicle-detail-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: clamp(32px, 5vw, 68px); align-items: start; }
.vehicle-detail-main { position: relative; aspect-ratio: 4 / 3; background: #111; overflow: hidden; }
.vehicle-detail-main img { display: block; width: 100%; height: 100%; object-fit: contain; }
.vehicle-detail-main.is-empty { display: grid; place-items: center; background: #e9ebed; color: var(--gray); font-size: 14px; }
.vehicle-detail-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.vehicle-detail-thumb { aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; background: #e9ebed; opacity: .65; overflow: hidden; cursor: pointer; }
.vehicle-detail-thumb.is-active { border-color: var(--orange); opacity: 1; }
.vehicle-detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-detail-info h2 { margin-top: 6px; color: var(--navy); font-size: clamp(24px, 3vw, 36px); font-weight: 700; line-height: 1.4; }
.vehicle-detail-category { color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.vehicle-detail-status { display: inline-block; margin-bottom: 12px; padding: 6px 14px; border-radius: 4px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; }
.vehicle-detail-price { margin: 18px 0 22px; color: var(--orange); font-size: clamp(20px, 2.8vw, 30px); font-weight: 700; }
.vehicle-detail-price.is-sold { color: var(--navy); }
.vehicle-detail-spec { border-top: 1px solid var(--line); }
.vehicle-detail-spec div { display: grid; grid-template-columns: 120px 1fr; border-bottom: 1px solid var(--line); }
.vehicle-detail-spec dt, .vehicle-detail-spec dd { padding: 13px 14px; font-size: 14px; }
.vehicle-detail-spec dt { background: var(--off); color: var(--gray); font-weight: 700; }
.vehicle-detail-spec dd { font-weight: 700; overflow-wrap: anywhere; }
.vehicle-detail-spec dd small { display: block; margin-top: 4px; color: var(--gray); font-size: 11px; font-weight: 400; }
.vehicle-detail-contact { width: 100%; margin-top: 26px; text-align: center; }
.vehicle-detail-description { max-width: 880px; margin: clamp(48px, 7vw, 84px) auto 0; padding-top: 32px; border-top: 1px solid var(--line); }
.vehicle-detail-description > h2 { margin-bottom: 20px; color: var(--navy); font-size: clamp(21px, 2.6vw, 28px); font-weight: 700; }
.vehicle-detail-copy { line-height: 2; }
.vehicle-detail-copy > * + * { margin-top: 1em; }
.vehicle-detail-note { margin-top: 24px; padding: 20px 22px; background: var(--off); }
.vehicle-detail-note strong { display: block; margin-bottom: 6px; color: var(--navy); font-size: 13px; }
.vehicle-detail-note p { line-height: 1.8; }

.used-shop { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.used-shop .section-jp { margin-top: 6px; }
.used-shop-address { margin-top: 14px; color: var(--gray); font-size: 14px; }
.used-shop-contact {
  min-width: 360px; padding: 26px 30px; border-left: 4px solid var(--orange);
  background: var(--white);
}
.used-shop-contact p { color: var(--navy); font-size: 13px; font-weight: 700; }
.used-shop-contact a {
  display: block; margin-top: 3px; color: var(--orange); font-family: var(--font-en);
  font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.2;
}
.used-shop-contact span { display: block; margin-top: 5px; color: var(--gray); font-size: 12px; }

.used-gallery {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  padding: clamp(12px, 3vw, 36px);
}
.used-gallery-backdrop {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0;
  background: rgba(4,13,20,.88); cursor: zoom-out;
}
.used-gallery-panel {
  position: relative; width: min(960px, 100%); max-height: 100%;
  padding: clamp(16px, 2.5vw, 28px); border-radius: var(--radius);
  background: var(--white); overflow-y: auto;
}
.used-gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.used-gallery-kicker { color: var(--orange); font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.used-gallery-heading h2 { color: var(--navy); font-size: clamp(18px, 2.4vw, 25px); font-weight: 700; }
.used-gallery-close {
  flex: 0 0 42px; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line);
  border-radius: 50%; background: var(--white); color: var(--navy); font-size: 28px;
  line-height: 1; cursor: pointer;
}
.used-gallery-main { position: relative; min-height: 260px; background: #111; overflow: hidden; }
.used-gallery-main img { display: block; width: 100%; height: min(62vh, 620px); object-fit: contain; }
.used-gallery-nav {
  position: absolute; top: 50%; width: 46px; height: 62px; padding: 0; border: 0;
  background: rgba(0,0,0,.58); color: #fff; font-size: 42px; line-height: 1;
  transform: translateY(-50%); cursor: pointer;
}
.used-gallery-nav.is-prev { left: 0; }
.used-gallery-nav.is-next { right: 0; }
.used-gallery-position {
  position: absolute; right: 12px; bottom: 10px; padding: 4px 9px;
  border-radius: 999px; background: rgba(0,0,0,.62); color: #fff; font-size: 11px;
}
.used-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.used-gallery-thumb {
  aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent;
  background: #e9ebed; opacity: .65; overflow: hidden; cursor: pointer;
}
.used-gallery-thumb.is-active { border-color: var(--orange); opacity: 1; }
.used-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ===== 霊柩車: スペック表 ===== */
.hearse-scroll { overflow-x: auto; }
.hearse-table { min-width: 720px; }
.hearse-table thead th { background: var(--navy); color: #fff; font-size: 14px; white-space: nowrap; width: auto; }
.hearse-table tbody th { width: auto; }
.hearse-table td { white-space: nowrap; }

/* ===== 霊柩車: 制作事例 ===== */
.hearse-intro { padding-bottom: clamp(28px, 5vw, 56px); }
.hearse-intro-inner { max-width: 900px; text-align: center; }
.hearse-intro .section-jp { margin-top: 8px; line-height: 1.55; }
.hearse-intro .section-desc { margin-top: 20px; }
.hearse-works { display: grid; gap: clamp(28px, 4vw, 52px); }
.hearse-work {
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  overflow: hidden;
}
.hearse-work.is-reverse { grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr); }
.hearse-work-image {
  position: relative; display: block; width: 100%; min-height: 100%; aspect-ratio: 4 / 3;
  padding: 0; border: 0; background: #e9ebed; overflow: hidden; cursor: zoom-in;
}
.hearse-work-image img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease;
}
.hearse-work-image:hover img { transform: scale(1.025); }
.hearse-work.is-reverse .hearse-work-image { order: 2; }
.hearse-work.is-reverse .hearse-work-body { order: 1; }
.hearse-work-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 52px); }
.hearse-work-number {
  margin-bottom: 8px; color: var(--orange); font-family: var(--font-en);
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
}
.hearse-work h3 { color: var(--navy); font-size: clamp(21px, 2.5vw, 29px); font-weight: 700; line-height: 1.5; }
.hearse-spec { margin-top: 24px; }
.hearse-spec div {
  display: grid; grid-template-columns: 90px 1fr; gap: 14px;
  padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px;
}
.hearse-spec .heisei-term { color: var(--gray); }
.hearse-spec .heisei-description { color: var(--navy); font-weight: 700; }
.hearse-spec .heisei-description span { display: block; margin-top: 2px; color: var(--gray); font-size: 11px; font-weight: 400; }
.hearse-spec .hearse-price { color: var(--orange); }
.hearse-gallery-button {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  margin-top: 24px; padding: 13px 0 0; border: 0; border-top: 1px solid var(--line);
  background: transparent; color: var(--navy); font-family: var(--font-jp);
  font-size: 13px; font-weight: 700; cursor: pointer;
}
.hearse-gallery-button span { color: var(--orange); font-size: 18px; transition: transform .2s ease; }
.hearse-gallery-button:hover span { transform: translateX(4px); }

/* ===== 車両販売: 料金表・保険 ===== */
.price-table td { text-align: right; font-family: var(--font-en); font-weight: 600; }
.hoken-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hoken-photo { aspect-ratio: 4 / 3; }
.hoken-text { margin-top: 16px; color: var(--gray); font-size: 15px; line-height: 1.9; }

/* ===== お問い合わせ ===== */
.tel-grid { max-width: 860px; margin-inline: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.tel-grid li { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding: 12px 4px; }
.tel-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.tel-grid .wp-tel { padding: 0; }

.contact-form { max-width: 720px; margin-inline: auto; }
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 8px; }
.form-row .req { display: inline-block; margin-left: 8px; background: var(--orange); color: #fff; font-size: 11px; border-radius: 4px; padding: 2px 8px; vertical-align: middle; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px;
  padding: 13px 16px; font-size: 15px; font-family: var(--font-jp);
  background: var(--white); color: var(--text);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: transparent; }
.contact-form .cta-actions { margin-top: 32px; }
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; }
.contact-form .wpcf7-acceptance input { width: auto; margin-top: .35em; }
.contact-form .wpcf7-not-valid-tip { margin-top: 6px; color: #b42318; font-size: 12px; }
.contact-form .wpcf7-response-output { margin: 24px 0 0 !important; border-radius: 8px; padding: 12px 16px !important; }
.contact-form .wpcf7-spinner { vertical-align: middle; }

/* ===== プライバシーポリシー ===== */
.privacy-body { max-width: 780px; font-size: 15px; }
.privacy-body > p { margin-bottom: 32px; color: var(--text); }
.privacy-sec { margin-bottom: 28px; }
.privacy-sec h2 { font-size: 17px; font-weight: 700; color: var(--navy); border-left: 4px solid var(--orange); padding-left: 12px; margin-bottom: 10px; }
.privacy-sec p { color: var(--gray); }
.privacy-date { margin-top: 40px; text-align: right; color: var(--gray); }

/* ---- 拠点カテゴリ・電話ラベル（Access で使用）---- */
.wp-cat { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; color: var(--orange); border: 1px solid var(--orange); border-radius: 4px; padding: 2px 8px; vertical-align: middle; }
.tel-label { display: inline-block; margin-right: 8px; font-family: var(--font-jp); font-weight: 700; font-size: 11px; color: var(--orange); border: 1px solid var(--orange); border-radius: 4px; padding: 1px 7px; vertical-align: middle; }

/* ===== 13. ENTRY CTA ===== */
.entry { padding-block: clamp(56px, 8vw, 96px); }
.entry-copy { font-size: clamp(28px, 5vw, 48px); font-weight: 900; line-height: 1.3; }
.entry-sub { margin: 18px 0 36px; font-size: clamp(15px,1.7vw,18px); opacity: .9; }
.entry-sub { color: rgba(255,255,255,.95); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.bg-orange .entry-copy { color: #fff; }

/* ===== 10. SERVICE ===== */
.sv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sv-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: box-shadow .2s, transform .2s; }
.sv-card:hover { box-shadow: 0 12px 28px rgba(13,36,54,.09); transform: translateY(-3px); }
.sv-photo { aspect-ratio: 3 / 2; border-radius: 0; }
.sv-card h3 { padding: 20px 22px 0; font-size: 19px; font-weight: 700; }
.sv-card p { padding: 10px 22px 26px; font-size: 14px; color: var(--gray); }

/* ===== 11. NEWS ===== */
.news-list { max-width: 820px; margin-inline: auto; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 20px 4px; }
.news-row:hover p, .news-row:hover .news-arrow { color: var(--orange); }
.news-list time { font-family: var(--font-en); font-weight: 600; color: var(--gray); font-size: 15px; white-space: nowrap; }
.news-cat { font-size: 12px; font-weight: 700; color: #fff; background: var(--navy); border-radius: 4px; padding: 3px 10px; white-space: nowrap; }
.news-list p { font-size: 15px; }
.news-arrow { color: var(--navy); font-size: 20px; transition: color .2s, transform .2s; }
.news-row:hover .news-arrow { transform: translateX(3px); }

.news-detail-inner { max-width: 860px; }
.news-detail-meta { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.news-detail-meta time { font-family: var(--font-en); color: var(--gray); font-weight: 600; }
.news-detail-body { padding-block: clamp(32px, 5vw, 56px); }
.news-detail-body p { font-size: clamp(15px, 1.7vw, 17px); line-height: 2; }
.news-detail-body p + p { margin-top: 24px; }
.news-detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.news-back { color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--navy); }
.news-back:hover { color: var(--orange); border-color: var(--orange); }

/* ===== 12. ACCESS ===== */
.access-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.access-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.access-head { padding: 16px 20px; }
.access-head h3 { font-size: 18px; font-weight: 700; }
.access-addr { margin-top: 6px; font-size: 13px; color: var(--gray); }
.access-tel { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.access-tel a { font-family: var(--font-en); font-weight: 600; font-size: 15px; color: var(--navy); }
.access-tel a:hover { color: var(--orange); }
.access-card iframe { width: 100%; height: 300px; border: 0; display: block; }
.access-photo { border-radius: 0; aspect-ratio: 16 / 9; min-height: 0; }
.access-photo.is-empty { background: #d5d8dc; }
.access-intro { margin-top: 12px; font-size: 14px; color: var(--text); line-height: 1.9; }
.location-category { margin-bottom: 5px; color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.location-hours { margin-top: 8px; color: var(--gray); font-size: 12px; }
.location-link { margin-top: 14px; }
.location-link a { color: var(--navy); font-size: 13px; font-weight: 700; }
.location-link a span { color: var(--orange); }
.cms-empty { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--gray); text-align: center; }

.vehicle-gallery-modal[hidden] { display: none !important; }
.vehicle-gallery-modal {
  position: fixed; inset: 0; z-index: 10000; display: grid; grid-template-columns: 56px minmax(0, 960px) 56px;
  align-items: center; justify-content: center; gap: 16px; padding: 72px 24px 28px; background: rgba(7, 20, 30, .92);
}
.vehicle-gallery-modal figure { max-height: calc(100vh - 120px); margin: 0; text-align: center; }
.vehicle-gallery-modal figure img { max-width: 100%; max-height: calc(100vh - 170px); border-radius: 8px; object-fit: contain; }
.vehicle-gallery-modal figcaption { margin-top: 12px; color: #fff; font-size: 14px; }
.vehicle-gallery-close, .vehicle-gallery-prev, .vehicle-gallery-next {
  border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer;
}
.vehicle-gallery-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; font-size: 30px; }
.vehicle-gallery-prev, .vehicle-gallery-next { width: 52px; height: 64px; border-radius: 8px; font-size: 38px; }
.vehicle-gallery-prev:disabled, .vehicle-gallery-next:disabled { opacity: .35; cursor: default; }
.vehicle-gallery-dots { position: absolute; bottom: 14px; left: 50%; display: flex; gap: 7px; transform: translateX(-50%); }
.vehicle-gallery-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.4); }
.vehicle-gallery-dots button.is-active { background: var(--orange); }
body.is-modal-open { overflow: hidden; }

.delivery-photo { position: relative; overflow: hidden; }
.delivery-photo img { width: 100%; height: 100%; object-fit: cover; }
.delivery-photo span { position: absolute; right: 0; bottom: 0; left: 0; padding: 28px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: #fff; font-size: 12px; }

@media (max-width: 680px) {
  .vehicle-gallery-modal { grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 6px; padding: 68px 8px 34px; }
  .vehicle-gallery-prev, .vehicle-gallery-next { width: 40px; height: 52px; font-size: 30px; }
  .vehicle-gallery-modal figure img { max-height: calc(100vh - 180px); }
}

/* ===== 14. FOOTER ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,.85); padding-top: clamp(56px, 7vw, 80px); }
.footer-inner { display: grid; grid-template-columns: 1.05fr .9fr 1.75fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 18px; font-weight: 700; }
.footer-logo-mark { display: grid; flex: 0 0 52px; width: 52px; height: 44px; place-items: center; padding: 6px; border-radius: 6px; background: #fff; }
.footer-logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.footer-co { margin: 14px 0 12px; font-weight: 700; color: #fff; }
.footer-co small { font-weight: 400; color: rgba(255,255,255,.6); font-size: 12px; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,.65); max-width: 320px; }
.footer-contacts h4, .footer-nav h4 { font-size: 14px; color: #fff; margin-bottom: 16px; letter-spacing: .06em; }
.footer-contacts ul li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.footer-contacts a { font-family: var(--font-en); font-weight: 600; color: #fff; }
.footer-contacts a:hover, .footer-nav a:hover { color: var(--orange); }
.footer-nav ul li { padding: 7px 0; font-size: 14px; }
.footer-menu-grid { display: grid; grid-template-columns: 1.15fr .9fr 1.1fr; gap: 24px; }
.footer-menu-label {
  margin-bottom: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.footer-sns { margin-top: 18px; }
.copyright { text-align: center; font-size: 12px; color: rgba(255,255,255,.5); padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); }

/* ===== レスポンシブ ===== */
@media (max-width: 1000px) {
  .gnav { display: none; }
  .nav-toggle { display: flex; }

  .site-header.menu-open .gnav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(13,36,54,.12);
    padding: 8px 0 16px;
  }
  .site-header.menu-open .gnav > a, .site-header.menu-open .gnav-dd > a {
    display: block; padding: 14px 24px; font-size: 16px; border-bottom: 1px solid var(--off);
  }
  .site-header.menu-open .gnav-dd { display: block; height: auto; }
  .site-header.menu-open .gnav-dd-menu {
    position: static; transform: none; translate: 0 0;
    opacity: 1; visibility: visible;
    border: 0; box-shadow: none; border-radius: 0; padding: 0;
    background: var(--off);
  }
  .site-header.menu-open .gnav-dd-menu a { padding: 12px 24px 12px 40px; border-bottom: 1px solid #fff; }
  .site-header.menu-open .gnav .gnav-cta { margin: 14px 24px 0; text-align: center; border-radius: 999px; border-bottom: 0; }
  .site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 900px) {
  .sv-grid { grid-template-columns: repeat(2, 1fr); }
  .system-grid, .wp-grid, .uc-grid, .recruit-scene-grid, .job-role-grid, .delivery-gallery { grid-template-columns: repeat(2, 1fr); }
  .newcar-2col { grid-template-columns: 1fr; }
  .job-role-card-text { grid-column: 1 / -1; }
  .job-workplace { grid-template-columns: 1fr; }
  .message-inner { grid-template-columns: 1fr; }
  .message-photo { min-height: 240px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-nav { grid-column: 1 / -1; }
  .hoken-inner { grid-template-columns: 1fr; }
  .used-shop { align-items: stretch; flex-direction: column; gap: 28px; }
  .used-shop-contact { min-width: 0; }
  .hearse-work, .hearse-work.is-reverse { grid-template-columns: 1fr; }
  .hearse-work-image { min-height: 0; }
  .hearse-work.is-reverse .hearse-work-image, .hearse-work.is-reverse .hearse-work-body { order: initial; }
  .maker-logo-grid, .new-maker-group:first-child .maker-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .vehicle-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body.admin-bar .site-header { top: 46px; }
  .str-grid, .num-grid, .steps, .system-grid, .wp-grid, .interview-grid, .sv-grid, .access-grid, .uc-grid, .tel-grid, .recruit-scene-grid, .job-role-grid, .delivery-gallery { grid-template-columns: 1fr; }
  .rd-carousel-shell { grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 8px; }
  .rd-carousel-arrow { width: 36px; border-radius: 6px; font-size: 18px; }
  .job-role-card-text { grid-column: auto; min-height: 280px; }
  .job-workplace-video { min-height: 220px; }
  .motion-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .motion-card figcaption {
    left: 8px;
    right: 8px;
    bottom: 8px;
    font-size: 11px;
    line-height: 1.45;
  }
  .culture-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 190px; }
  .culture-gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .culture-gallery figure:nth-child(2) { grid-column: auto; }
  .maintenance-gallery { grid-template-columns: 1fr; }
  .maintenance-main { aspect-ratio: 4 / 3; }
  .maintenance-sub { aspect-ratio: 4 / 3; }
  .history-list li { flex-direction: column; gap: 4px; }
  .news-row { grid-template-columns: auto 1fr auto; gap: 10px 12px; }
  .news-row p { grid-column: 1 / 3; }
  .news-arrow { grid-column: 3; grid-row: 1 / 3; }
  .num-grid { gap: 36px; }
  .step { padding: 0 0 28px; }
  .step:not(:last-child)::after { top: auto; right: 50%; bottom: 4px; transform: translateX(50%) rotate(135deg); }
  .hero-cta .btn, .cta-actions .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { grid-column: auto; }
  .footer-menu-grid { grid-template-columns: 1fr; gap: 20px; }
  .req-table th { width: 110px; white-space: normal; }
  .used-contact-inner { flex-direction: column; gap: 2px; min-height: 0; padding-block: 18px; }
  .used-contact-tel { line-height: 1.2; }
  .uc-card h3, .uc-price { min-height: 0; }
  .vehicle-detail-thumbs { grid-template-columns: repeat(3, 1fr); }
  .vehicle-detail-spec div { grid-template-columns: 105px 1fr; }
  .vehicle-detail-spec dt, .vehicle-detail-spec dd { padding: 11px 12px; }
  .used-shop-contact { padding: 22px 20px; }
  .used-gallery { padding: 8px; }
  .used-gallery-panel { padding: 14px; }
  .used-gallery-heading { margin-bottom: 10px; }
  .used-gallery-main { min-height: 190px; }
  .used-gallery-main img { height: min(56vh, 460px); }
  .used-gallery-nav { width: 40px; height: 54px; }
  .hearse-intro .section-jp br, .hearse-intro .section-desc br { display: none; }
  .hearse-work-body { padding: 25px 22px 28px; }
  .maker-logo-grid, .new-maker-group:first-child .maker-logo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .maker-logo-card { grid-template-rows: 68px auto; padding: 16px 10px 12px; }
  .maker-logo-card img { height: 52px; }
}


/* Location offices and separately incorporated group companies. */
.access-group + .access-group { margin-top: 64px; }
.access-group-title { font-size: 24px; font-weight: 700; color: var(--navy); padding-bottom: 12px; margin-bottom: 24px; border-bottom: 2px solid var(--orange); }
.access-group-description { margin: -10px 0 24px; color: var(--gray); font-size: 14px; }
.location-company { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--navy); }
.location-fax { margin-top: 6px; font-size: 13px; color: var(--gray); }
.access-shop-heading { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; background: var(--navy); color: #fff; }
.access-shop-heading span { font-family: var(--font-en); font-size: 42px; font-weight: 700; letter-spacing: .06em; }
.access-shop-heading small { font-size: 12px; letter-spacing: .12em; }
.footer-contact-group { margin-top: 20px; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: #fff; }
.footer-contacts li small { font-size: 11px; opacity: .8; }
.footer-contacts li a { flex-shrink: 0; }
@media (min-width: 900px) { .access-group--main .access-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
