/*
Theme Name:  Welve Adapt
Theme URI:   https://welveadapt.studio.site/
Author:      Welve Adapt
Description: 中古車両×福祉車両改造 販売サイト専用WordPressテーマ
Version:     1.05
License:     GNU General Public License v2 or later
Text Domain: welve-adapt
*/

/* ========================================
   CSS Variables
======================================== */
:root {
  --c-primary:    #1a1a1a;
  --c-accent:     #43C7B0;   /* teal — WELVE ブランドカラー */
  --c-accent-dk:  #2DA08D;   /* hover/CTA 用ダーク */
  --c-accent-lt:  #E6F5EF;   /* イントロセクション用 ペールティール */
  --c-bg:         #ffffff;
  --c-surface:    #ffffff;
  --c-border:     #e2e6ea;
  --c-text:       #2a2a2a;
  --c-muted:      #6c7a89;
  --r-md:         4px;
  --r-lg:         8px;
  --shadow-sm:    0 1px 4px rgba(0,0,0,.06);
  --shadow-md:    0 4px 16px rgba(0,0,0,.10);
}

/* ========================================
   Reset & Base
======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); text-decoration: none; transition: opacity .15s; }
a:hover { opacity: .75; }
ul, ol { list-style: none; }

/* ========================================
   Header — ティール背景・白文字
======================================== */
.site-header {
  background: var(--c-accent);
  border-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.site-logo-img,
.site-logo .custom-logo {
  height: 30px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1); /* 白ロゴ */
}
.site-nav-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-nav { display: flex; gap: 22px; }
.site-nav a {
  font-size: 13px;
  color: rgba(255,255,255,.95);
  font-weight: 500;
  text-decoration: none;
  transition: opacity .15s;
}
.site-nav a:hover { opacity: .72; }
.site-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-accent-dk);
  color: #fff;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 2px;
  text-decoration: none;
  letter-spacing: .04em;
  transition: background .15s;
}
.site-phone:hover { background: #207867; opacity: 1; }
.site-phone::before {
  content: 'TEL';
  font-size: 11px;
  letter-spacing: .12em;
  opacity: .85;
}
.site-phone::after { content: ':'; opacity: .5; margin: 0 -2px 0 -4px; }

/* ========================================
   Hero
======================================== */
.hero {
  background: var(--c-primary);
  color: #fff;
  padding: 90px 24px;
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 420px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(67,199,176,.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero-has-image {
  background-size: cover;
  background-position: center;
}
.hero-has-image::before {
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,0) 100%);
}
.hero > div {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  padding-right: 18%;
  position: relative;
  z-index: 1;
}

/* --- ヒーロースライダー（grid-stack で全スライドを同一セルに重ねる）--- */
.hero-slider {
  position: relative;
  display: grid;
  grid-template-rows: 1fr;
}
.hero-slide {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility 0s linear .7s;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .7s ease, visibility 0s linear 0s;
}
.hero-slider.is-multi .hero { padding-bottom: 80px; }
.hero-dots {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  justify-self: center;
  margin-bottom: 24px;
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  padding: 0;
  transition: background .15s, width .2s, border-radius .2s;
}
.hero-dot:hover { background: rgba(255,255,255,.8); }
.hero-dot.is-active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}
.hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 12px;
  text-align: left;
}
.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}
.hero p {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin: 16px 0 0;
  line-height: 1.9;
}

/* ========================================
   Intro section（ヒーロー直下・ペールティール）
======================================== */
.intro-section {
  background: var(--c-accent-lt);
  padding: 84px 24px;
  text-align: center;
}
.intro-inner {
  max-width: 760px;
  margin: 0 auto;
}
.intro-title {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.85;
  margin: 0 0 24px;
}
.intro-body {
  font-size: 13px;
  line-height: 2;
  color: var(--c-muted);
  margin: 0;
}

/* ========================================
   Section
======================================== */
.section {
  padding: 96px 24px;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}
.sec-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 6px;
  display: block;
}
.sec-title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--c-primary);
  margin: 0 auto 48px;
  padding-bottom: 18px;
  position: relative;
  display: inline-block;
}
.sec-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--c-accent);
  transform: translateX(-50%);
}

/* ========================================
   Vehicles Grid
======================================== */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ========================================
   Status Badges
======================================== */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}
.stock-badge.in  { background: #e6f4ec; color: #1a7a3c; }
.stock-badge.in::before  { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #1a7a3c; flex-shrink: 0; }
.stock-badge.sold { background: #fef0e6; color: #b85c00; }
.stock-badge.sold::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #b85c00; flex-shrink: 0; }

/* ========================================
   SOLD Stamp
======================================== */
.sold-stamp {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.38);
}
.sold-stamp-inner {
  border: 3px solid #e05a00;
  border-radius: 6px;
  padding: 4px 16px;
  transform: rotate(-18deg);
}
.sold-stamp-inner span {
  font-size: 20px;
  font-weight: 700;
  color: #e05a00;
  letter-spacing: .1em;
  line-height: 1;
}

/* ========================================
   Vehicle Card
======================================== */
.vehicle-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.vehicle-card.clickable { cursor: pointer; }
.vehicle-card.clickable:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.vehicle-card.sold-out { opacity: .6; filter: grayscale(.45); }

.card-thumb {
  aspect-ratio: 16/10;
  background: #eef0f3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.vehicle-card.clickable:hover .card-thumb img { transform: scale(1.04); }
.card-year-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--c-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  z-index: 2;
}
.stock-pos { position: absolute; top: 10px; right: 10px; z-index: 2; }

.card-body { padding: 16px 18px 0; flex: 1; }
.card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag {
  font-size: 11px;
  color: var(--c-muted);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 2px 8px;
}
.pkg-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--c-accent-lt);
  border: 1px solid #c3dff4;
  border-radius: var(--r-md);
  padding: 7px 10px;
  font-size: 12px;
  margin-bottom: 4px;
}
.pkg-strip-name { flex: 1; font-weight: 700; padding-left: 8px; border-left: 3px solid var(--c-accent); }
.pkg-strip-price { font-weight: 700; color: var(--c-accent); }

.card-pricing { padding: 12px 18px 0; }
.price-item { display: flex; flex-direction: column; margin-bottom: 8px; }
.price-item-label { font-size: 10px; color: var(--c-muted); margin-bottom: 2px; }
.price-item-value { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.price-item-value.pkg { font-size: 18px; }
.price-divider { border: none; border-top: 1px solid var(--c-border); margin: 10px 0; }
.total-block { background: var(--c-primary); border-radius: var(--r-md); padding: 10px 14px; margin-bottom: 14px; }
.total-label { font-size: 10px; color: rgba(255,255,255,.5); margin-bottom: 3px; }
.total-amount { font-size: 28px; font-weight: 700; color: #fff; letter-spacing: -.02em; line-height: 1.1; }

.card-footer { padding: 0 18px 18px; }
.btn-detail {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--c-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--r-md);
  padding: 10px;
  border: none;
  cursor: pointer;
  transition: background .15s;
  font-family: inherit;
}
.btn-detail:hover { background: #005fa3; }
.btn-sold {
  display: block;
  width: 100%;
  text-align: center;
  background: #f0ece8;
  color: #a08878;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--r-md);
  padding: 10px;
  border: none;
  cursor: default;
  font-family: inherit;
}

/* ========================================
   Detail Page
======================================== */
.detail-page-wrap { padding: 40px 24px 80px; max-width: 1100px; margin: 0 auto; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--c-muted);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color .15s;
}
.back-link:hover { color: var(--c-accent); opacity: 1; }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

/* メイン画像 */
.main-img-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #eef0f3;
  aspect-ratio: 4/3;
  position: relative;
  cursor: zoom-in;
  display: block;
}
.main-img-wrap img.main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.main-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
  color: #ccc;
}
.main-counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 100px;
  pointer-events: none;
}
.main-sold-ov {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.38);
  pointer-events: none;
}
.main-sold-inner {
  border: 3px solid #e05a00;
  border-radius: 6px;
  padding: 6px 20px;
  transform: rotate(-18deg);
}
.main-sold-inner span { font-size: 24px; font-weight: 700; color: #e05a00; letter-spacing: .1em; line-height: 1; }

/* サムネイル */
.thumbs-row { display: flex; gap: 7px; margin-top: 8px; flex-wrap: wrap; }
.thumb {
  width: 72px;
  height: 54px;
  border-radius: 7px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: #eef0f3;
  flex-shrink: 0;
  transition: border-color .15s;
  position: relative;
}
.thumb:hover { opacity: .85; }
.thumb.active { border-color: var(--c-accent); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.28);
  opacity: 0;
  transition: opacity .15s;
  font-size: 18px;
  color: #fff;
}
.thumb:hover .thumb-hint { opacity: 1; }

/* スペック */
.detail-header { display: flex; align-items: center; gap: 12px; margin: 20px 0 8px; flex-wrap: wrap; }
.detail-name { font-size: 24px; font-weight: 700; line-height: 1.3; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 16px; }
.spec-table th, .spec-table td { padding: 10px 14px; border-bottom: 1px solid var(--c-border); text-align: left; }
.spec-table th { width: 36%; color: var(--c-muted); font-weight: 500; background: var(--c-bg); }

.ref-url-block {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ref-url-label { font-size: 12px; color: var(--c-muted); white-space: nowrap; font-weight: 600; }
.ref-url-link { font-size: 12px; color: var(--c-accent); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ref-url-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--c-accent);
  border: 1px solid var(--c-accent);
  border-radius: var(--r-md);
  padding: 5px 12px;
  white-space: nowrap;
  background: none;
  transition: background .15s;
}
.ref-url-btn:hover { background: var(--c-accent-lt); opacity: 1; }

/* 価格ボックス */
.pricing-box {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 76px;
}
.pricing-head { background: var(--c-primary); color: #fff; padding: 20px 22px; }
.pricing-head h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.pricing-head p { font-size: 12px; opacity: .45; }
.pricing-body { padding: 18px 22px; }
.pb-price-item { display: flex; flex-direction: column; margin-bottom: 12px; }
.pb-price-label { font-size: 11px; color: var(--c-muted); margin-bottom: 3px; font-weight: 600; }
.pb-price-val { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.pb-price-val.pkg { font-size: 24px; }
.pb-divider { border: none; border-top: 1px solid var(--c-border); margin: 12px 0; }
.pb-total-block { background: var(--c-primary); border-radius: var(--r-md); padding: 14px 16px; margin-bottom: 14px; }
.pb-total-label { font-size: 11px; color: rgba(255,255,255,.5); margin-bottom: 4px; font-weight: 600; }
.pb-total-amount { font-size: 36px; font-weight: 700; color: #fff; letter-spacing: -.02em; line-height: 1.1; }

.pkg-sel-title { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); margin: 14px 0 10px; }
.pkg-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 11px 13px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.pkg-opt.active { border-color: var(--c-accent); background: var(--c-accent-lt); }
.radio {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--c-border);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s;
}
.pkg-opt.active .radio { border-color: var(--c-accent); }
.radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); display: none; }
.pkg-opt.active .radio::after { display: block; }
.pkg-opt-name { font-size: 13px; font-weight: 700; }
.pkg-opt.active .pkg-opt-name { color: var(--c-accent); }
.pkg-opt-sub { font-size: 11px; color: var(--c-muted); margin-top: 2px; }
.pkg-opt-price { font-size: 13px; font-weight: 700; color: var(--c-accent); margin-left: auto; white-space: nowrap; }

.btn-inquiry {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--c-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--r-md);
  padding: 13px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  margin-top: 14px;
  transition: background .15s;
  text-decoration: none;
}
.btn-inquiry:hover { background: #005fa3; opacity: 1; color: #fff; }
.btn-inquiry.orange { background: #b85c00; }
.btn-inquiry.orange:hover { background: #9a4d00; }

.sold-notice {
  background: #fef6f0;
  border: 1px solid #f5c49a;
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-top: 14px;
  text-align: center;
}
.sold-notice p { font-size: 13px; color: #b85c00; line-height: 1.6; }

/* パッケージ内容 */
.features-box {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  margin-top: 16px;
  border-top: 3px solid var(--c-accent);
  display: none;
}
.features-box.visible { display: block; }
.features-box h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.features-box li {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0 5px 12px;
  border-left: 3px solid;
  margin-bottom: 5px;
  line-height: 1.5;
}

/* ========================================
   Lightbox
======================================== */
.lb {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 300;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lb.open { display: flex; }
.lb-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  padding: 50px 70px 10px;
}
.lb-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 8px;
  object-fit: contain;
  display: block;
  user-select: none;
  transition: opacity .18s;
}
.lb-img.fade { opacity: 0; }
.lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: .7;
  font-family: inherit;
}
.lb-close:hover { opacity: 1; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  background: rgba(255,255,255,.15);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: background .15s;
  font-family: inherit;
}
.lb-nav:hover { background: rgba(255,255,255,.3); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-counter { color: rgba(255,255,255,.6); font-size: 12px; margin-top: 6px; }
.lb-thumbs {
  display: flex;
  gap: 6px;
  padding: 10px 16px 16px;
  overflow-x: auto;
  max-width: 100%;
  justify-content: center;
}
.lb-thumbs::-webkit-scrollbar { height: 4px; }
.lb-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 2px; }
.lb-thumb {
  width: 58px;
  height: 44px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  opacity: .5;
  transition: opacity .15s, border-color .15s;
}
.lb-thumb.active { border-color: #fff; opacity: 1; }
.lb-thumb:hover { opacity: .8; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ========================================
   Page: Company（会社概要）
======================================== */
.hero-page {
  padding: 80px 24px 48px;
  text-align: center;
  background: linear-gradient(180deg, var(--c-accent-lt) 0%, var(--c-bg) 100%);
}
.hero-page .hero-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--c-accent);
  font-weight: 700;
  margin-bottom: 8px;
}
.hero-page h1 {
  font-size: 32px;
  color: var(--c-primary);
  margin: 0;
}
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: start;
}
.company-name {
  font-size: 22px;
  color: var(--c-primary);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--c-accent);
  font-weight: 700;
}
.info-table {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px 24px;
}
.info-table dt {
  font-weight: 700;
  color: var(--c-muted);
  font-size: 13px;
  padding-top: 4px;
}
.info-table dd {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text);
}
.info-table a { color: var(--c-accent); }
.link-arrow {
  display: inline-block;
  font-size: 13px;
  color: var(--c-accent);
  margin-top: 4px;
}
.company-map {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 360px;
  background: var(--c-surface);
}
.company-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}
.company-business {
  background: var(--c-surface);
  padding: 32px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}
.company-business-title {
  font-size: 18px;
  color: var(--c-primary);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-border);
}
.company-business ul { list-style: none; padding: 0; margin: 0; }
.company-business li {
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 15px;
  color: var(--c-text);
}
.company-business li:last-child { border-bottom: none; }
.company-business li::before {
  content: "▶";
  color: var(--c-accent);
  font-size: 10px;
  margin-right: 12px;
  vertical-align: middle;
}
.company-cta { text-align: center; padding: 16px 0 32px; }
.btn-primary {
  display: inline-block;
  padding: 16px 48px;
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: opacity .15s, transform .15s;
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }

/* ========================================
   Footer — ライト基調・会社情報グリッド
======================================== */
.site-footer {
  background: #fff;
  color: var(--c-muted);
  text-align: left;
  padding: 56px 24px 28px;
  font-size: 12px;
  border-top: 1px solid var(--c-border);
}
.site-footer a { color: var(--c-muted); }
.site-footer a:hover { color: var(--c-accent); opacity: 1; }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 12px;
}
.footer-top {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  font-size: 13px;
  margin-bottom: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px 56px;
  align-items: start;
}
.footer-logo {
  height: 36px;
  width: auto;
  display: block;
  margin: 0;
  filter: none;
}
.footer-company {
  font-size: 12.5px;
  line-height: 2;
  color: var(--c-muted);
}
.footer-company strong {
  display: block;
  color: var(--c-text);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
  font-size: 11px;
  color: var(--c-muted);
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; }
  .pricing-box { position: static; }
  .company-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .hero-page { padding: 56px 20px 36px; }
  .hero-page h1 { font-size: 26px; }
  .info-table { grid-template-columns: 90px 1fr; gap: 14px 16px; }
  .company-business { padding: 24px 20px; }
  .btn-primary { padding: 14px 36px; font-size: 14px; }
}
@media (max-width: 560px) {
  .vehicles-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .hero > div { padding-right: 24px; }
  .hero { padding: 64px 24px; min-height: 320px; }
  .intro-section { padding: 56px 24px; }
  .section { padding: 64px 24px; }
  .site-phone { padding: 6px 12px; font-size: 12px; }
  .site-phone::before { font-size: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-top { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ========================================
   Admin Meta Boxes
======================================== */
.welve-metabox table { width: 100%; border-collapse: collapse; }
.welve-metabox tr { border-bottom: 1px solid #f0f0f0; }
.welve-metabox th { width: 180px; padding: 10px 8px; font-weight: 600; text-align: left; vertical-align: top; color: #444; font-size: 13px; }
.welve-metabox td { padding: 8px; }
.welve-metabox input[type=text],
.welve-metabox input[type=number],
.welve-metabox input[type=url],
.welve-metabox textarea,
.welve-metabox select { width: 100%; padding: 7px 9px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; }
.welve-metabox .description { font-size: 11px; color: #888; margin-top: 4px; }
.welve-gallery-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.welve-gallery-item { position: relative; width: 80px; height: 60px; border-radius: 4px; overflow: hidden; border: 1px solid #ddd; }
.welve-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.welve-gallery-remove { position: absolute; top: 2px; right: 2px; background: rgba(0,0,0,.6); color: #fff; border: none; border-radius: 50%; width: 18px; height: 18px; cursor: pointer; font-size: 11px; line-height: 18px; text-align: center; padding: 0; }
