/* =========================================================
   山﨑タクシー 車両紹介ページ
   トップページの yamazaki-taxi.css（変数・ボタン・見出し・余白）を再利用。
   Cocoon のヘッダー/サイドバー抑止もこのファイルに集約する。
   style.css を上書きしなくても車両ページが表示できる。
   ========================================================= */

body.yt-wp-vehicle #sidebar,
body.yt-wp-vehicle .sidebar,
body.yt-wp-vehicle .breadcrumb,
body.yt-wp-vehicle .article-header .entry-title,
body.yt-wp-vehicle .eye-catch,
body.yt-wp-vehicle #header,
body.yt-wp-vehicle .header,
body.yt-wp-vehicle .navi,
body.yt-wp-vehicle .mobile-menu-buttons,
body.yt-wp-vehicle #footer {
  display: none !important;
}

body.yt-wp-vehicle #main,
body.yt-wp-vehicle .main,
body.yt-wp-vehicle .content,
body.yt-wp-vehicle .article,
body.yt-wp-vehicle .entry-content,
body.yt-wp-vehicle #container,
body.yt-wp-vehicle .container,
body.yt-wp-vehicle #content,
body.yt-wp-vehicle .content-in,
body.yt-wp-vehicle .wrap {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.yt-wp-vehicle {
  background: #0b1220;
}

body.yt-wp-vehicle .entry-content > *:first-child {
  margin-top: 0;
}

.yt-vehicle-page {
  overflow-x: hidden;
  max-width: 100%;
}

.ytv-photo {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #162033;
  border-radius: var(--yt-radius-lg);
}

.ytv-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ytv-photo-placeholder {
  min-height: 240px;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--yt-gold-text);
  font-size: 14px;
  letter-spacing: 0.08em;
  background:
    linear-gradient(180deg, rgba(22, 32, 51, 0.4), rgba(11, 18, 32, 0.85)),
    repeating-linear-gradient(135deg, rgba(201, 169, 98, 0.08) 0 12px, transparent 12px 24px);
}

/* ---------- Hero ---------- */
/* 実車写真はすべて 3:4 縦位置。PCでは写真カラムを縦長にして寺院＋車両を残す。 */
.ytv-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  color: #fff;
  background: var(--yt-navy);
  overflow: hidden;
}

.ytv-hero-bg,
.ytv-hero-overlay,
.ytv-hero-inner {
  grid-area: 1 / 1;
}

.ytv-hero-bg .ytv-photo,
.ytv-hero-bg .ytv-photo--hero {
  height: min(78vh, 720px);
  min-height: 520px;
  border-radius: 0;
}

.ytv-hero-bg .ytv-photo--hero img {
  object-position: center 40%;
}

.ytv-hero-bg .ytv-photo-placeholder {
  min-height: 520px;
}

.ytv-hero-overlay {
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.06) 0%, rgba(11, 18, 32, 0.18) 42%, rgba(11, 18, 32, 0.78) 100%);
  pointer-events: none;
}

.ytv-hero-inner {
  position: relative;
  z-index: 2;
  align-self: end;
  width: min(100% - 40px, var(--yt-max));
  margin: 0 auto;
  padding: 72px 0 40px;
}

.ytv-hero .yt-hero-seo-title {
  margin: 0 0 10px;
  color: var(--yt-gold-text, #c9a962);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.ytv-hero .yt-hero-title {
  font-size: clamp(24px, 6.4vw, 32px);
  line-height: 1.45;
  letter-spacing: 0.03em;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: normal;
}

.ytv-hero-line2 {
  white-space: nowrap;
}

.ytv-vehicle-data {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--yt-gold-text, #c9a962);
}

.ytv-hero-note {
  margin: -12px 0 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.02em;
}

.ytv-hero .yt-cta-row {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .ytv-hero {
    grid-template-columns: 1.08fr 0.92fr;
    min-height: min(88vh, 860px);
  }

  .ytv-hero-bg {
    grid-area: 1 / 1;
  }

  .ytv-hero-overlay {
    display: none;
  }

  .ytv-hero-inner {
    grid-area: 1 / 2;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
    margin: 0;
    padding: 56px 40px 56px 36px;
    background: var(--yt-navy);
  }

  .ytv-hero .yt-hero-title {
    font-size: clamp(26px, 2.15vw, 36px);
    letter-spacing: 0.03em;
  }

  .ytv-hero-bg .ytv-photo,
  .ytv-hero-bg .ytv-photo--hero {
    height: 100%;
    min-height: min(88vh, 860px);
  }

  .ytv-hero-bg .ytv-photo--hero img {
    object-position: center 38%;
  }
}

/* ---------- Split (photo + copy) ---------- */
.ytv-split {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px;
  align-items: center;
}

.ytv-split--reverse {
  grid-template-columns: 0.88fr 1.12fr;
}

.ytv-split--reverse .ytv-split-media {
  order: 2;
}

.ytv-split--reverse .ytv-split-copy {
  order: 1;
}

.ytv-split-media .ytv-photo {
  aspect-ratio: 3 / 4;
  box-shadow: 0 16px 36px rgba(11, 18, 32, 0.18);
}

.yt-section-dark .ytv-split-media .ytv-photo {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.ytv-split-copy h2 {
  font-family: var(--yt-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0 0 18px;
  color: var(--yt-text-dark);
}

.ytv-split-copy p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.9;
}

.yt-section-light .ytv-split-copy p {
  color: var(--yt-text-dark);
}

.ytv-split-copy p:last-child {
  margin-bottom: 0;
}

.ytv-split-copy--light h2 {
  color: #fff;
}

.ytv-split-copy--light p {
  color: rgba(255, 255, 255, 0.86);
}

.yt-section-dark .yt-eyebrow {
  color: var(--yt-gold-text);
}

.yt-section-light .yt-eyebrow {
  color: var(--yt-gold-dark);
}

/* ---------- Wi-Fi ---------- */
.ytv-wifi {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  align-items: start;
  max-width: 820px;
  margin: 0 auto 28px;
}

.ytv-wifi-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--yt-gold-dark);
  background: rgba(201, 169, 98, 0.12);
  border: 1px solid var(--yt-border-gold);
}

.ytv-wifi-icon svg {
  width: 42px;
  height: 42px;
}

.ytv-wifi-copy p {
  margin: 0 0 10px;
  color: var(--yt-text-gray);
  font-size: 15px;
  line-height: 1.9;
}

.ytv-wifi-copy p:last-child {
  margin-bottom: 0;
}

.ytv-wifi-uses {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ytv-wifi-uses li {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--yt-radius);
  padding: 18px 16px;
  box-shadow: 0 8px 20px rgba(11, 18, 32, 0.06);
}

.ytv-wifi-uses strong {
  display: block;
  color: var(--yt-navy);
  font-size: 14px;
  margin-bottom: 4px;
}

.ytv-wifi-uses span {
  display: block;
  color: var(--yt-text-gray);
  font-size: 13px;
}

/* ---------- Scenes ---------- */
.ytv-scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ytv-scene-card {
  background: var(--yt-card);
  color: var(--yt-text-dark);
  border-radius: var(--yt-radius-lg);
  padding: 22px 20px 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ytv-scene-card .yt-ico-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0d1626;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ytv-scene-card .yt-ico-circle svg {
  width: 20px;
  height: 20px;
}

.ytv-scene-card h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.ytv-scene-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--yt-text-gray);
  flex: 1;
}

.ytv-scene-card .yt-btn {
  width: 100%;
  background: #152033;
  color: #fff;
  margin-top: 6px;
}

/* ---------- Equipment ---------- */
.ytv-equip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ytv-equip-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 10px;
  box-shadow: none;
}

.ytv-equip-card::before {
  content: "";
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--yt-gold);
}

.ytv-equip-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--yt-navy);
  line-height: 1.5;
}

/* ---------- Gallery ---------- */
.ytv-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ytv-gallery-item {
  margin: 0;
}

.ytv-photo--gallery {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
}

/* ---------- Tablet / Phone ---------- */
@media (max-width: 1023px) {
  .ytv-split,
  .ytv-split--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ytv-split--reverse .ytv-split-media,
  .ytv-split--reverse .ytv-split-copy {
    order: unset;
  }

  .ytv-split--reverse .ytv-split-media {
    order: -1;
  }

  .ytv-scene-grid,
  .ytv-equip-grid,
  .ytv-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 720px) {
  .ytv-hero-bg .ytv-photo,
  .ytv-hero-bg .ytv-photo--hero,
  .ytv-hero-bg .ytv-photo-placeholder {
    height: min(74vh, 640px);
    min-height: 460px;
  }

  .ytv-hero-inner {
    padding: 56px 0 32px;
  }

  .ytv-hero .yt-hero-title {
    font-size: clamp(22px, 6.2vw, 28px);
  }

  .ytv-wifi {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .ytv-wifi-uses {
    grid-template-columns: 1fr;
  }

  .ytv-scene-grid,
  .ytv-gallery {
    grid-template-columns: 1fr;
  }

  .ytv-equip-grid {
    grid-template-columns: 1fr;
  }

  .ytv-photo--gallery,
  .ytv-split-media .ytv-photo {
    aspect-ratio: 3 / 4;
  }

  .ytv-equip-card {
    min-height: 64px;
  }

  .yt-vehicle-page .yt-cta-row .yt-btn {
    min-height: 48px;
  }
}
