/* =========================================================
   山﨑タクシー 空港定額送迎ページ専用
   ※ style.css は変更しない。このファイルのみで完結。
   空港ページ（body.yt-wp-airport）でのみ enqueue される。
   ========================================================= */

/* Cocoon chrome hide — scoped to airport page only */
body.yt-wp-airport #sidebar,
body.yt-wp-airport .sidebar,
body.yt-wp-airport .breadcrumb,
body.yt-wp-airport .article-header .entry-title,
body.yt-wp-airport .eye-catch,
body.yt-wp-airport #header,
body.yt-wp-airport .header,
body.yt-wp-airport .navi,
body.yt-wp-airport .mobile-menu-buttons,
body.yt-wp-airport #footer {
  display: none !important;
}

body.yt-wp-airport #main,
body.yt-wp-airport .main,
body.yt-wp-airport .content,
body.yt-wp-airport .article,
body.yt-wp-airport .entry-content,
body.yt-wp-airport #container,
body.yt-wp-airport .container,
body.yt-wp-airport #content,
body.yt-wp-airport .content-in,
body.yt-wp-airport .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-airport {
  background: #f7f7f5;
}

.yt-airport {
  --yta-bg: #f7f7f5;
  --yta-bg-soft: #efefed;
  --yta-ink: #141414;
  --yta-charcoal: #2a2a2a;
  --yta-muted: #5c5c5c;
  --yta-line: #d8d8d4;
  --yta-white: #ffffff;
  --yta-gold: #b8964a;
  --yta-gold-soft: #d4bc7a;
  --yta-gold-dark: #8a6e32;
  --yta-blue: #3a6ea5;
  --yta-blue-soft: #5b8fc4;
  --yta-navy: #0b1220;
  --yta-serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --yta-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --yta-max: 1120px;
  --yta-radius: 14px;
  box-sizing: border-box;
  margin: 0;
  color: var(--yta-ink);
  background: var(--yta-bg);
  font-family: var(--yta-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.yt-airport *,
.yt-airport *::before,
.yt-airport *::after {
  box-sizing: border-box;
}

.yt-airport img {
  max-width: 100%;
  height: auto;
  display: block;
}

.yt-airport a {
  color: inherit;
  text-decoration: none;
}

.yta-container {
  width: min(100% - 32px, var(--yta-max));
  margin: 0 auto;
}

.yta-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.yta-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.yta-header-inner {
  width: min(100% - 24px, 1180px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

.yta-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.yta-logo img {
  width: 40px;
  height: 40px;
}

.yta-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 14px;
}

.yta-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  white-space: nowrap;
}

.yta-nav a:hover {
  color: var(--yta-gold-soft);
}

.yta-nav-cta {
  padding: 8px 14px !important;
  border-radius: 8px;
  background: linear-gradient(180deg, #d8bc78 0%, #b8924a 55%, #9a7a3c 100%);
  color: #fff !important;
  font-weight: 700;
}

/* Hero — mobile first: photo top, copy below */
.yta-hero {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--yta-navy);
  color: #fff;
}

.yta-hero-media {
  min-height: 280px;
}

.yta-hero-copy {
  padding: 26px 18px 34px;
  width: min(100%, 640px);
  margin: 0 auto;
}

.yta-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--yta-gold-soft);
  font-weight: 600;
}

.yta-hero-copy h1 {
  margin: 0 0 14px;
  font-family: var(--yta-serif);
  font-size: clamp(26px, 7vw, 40px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.yta-lead {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.yta-meta {
  margin: 0 0 20px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
}

.yta-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.yta-cta-row--center {
  align-items: stretch;
}

.yta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  transition: transform 0.15s ease, opacity 0.15s ease;
  text-align: center;
}

.yta-btn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.yta-btn-primary {
  background: linear-gradient(180deg, #d8bc78 0%, #b8924a 55%, #9a7a3c 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(154, 122, 60, 0.28);
}

.yta-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.yta-btn-lg {
  min-height: 54px;
  font-size: 16px;
}

@media (min-width: 560px) {
  .yta-cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .yta-cta-row--center {
    justify-content: center;
  }

  .yta-btn {
    min-width: 180px;
  }
}

@media (min-width: 900px) {
  .yta-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    min-height: 0;
    align-items: center;
  }

  .yta-hero-media {
    min-height: 0;
    align-self: stretch;
    display: flex;
  }

  .yta-hero-media .yta-photo--hero {
    width: 100%;
  }

  .yta-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 48px 56px 36px;
    margin: 0;
    width: auto;
    min-height: 520px;
  }
}

/* Photo / andon / plate */
.yta-photo {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  width: 100%;
  height: 100%;
}

.yta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yta-photo--hero {
  /* match portrait originals so cover does not zoom-crop the Alphard */
  min-height: 280px;
  aspect-ratio: 3 / 4;
}

.yta-photo--hero img {
  object-fit: cover;
  object-position: center 55%;
}

@media (min-width: 900px) {
  .yta-photo--hero {
    /* keep near-native portrait framing in the hero column */
    min-height: 0;
    height: auto;
    aspect-ratio: 3 / 4;
    max-height: min(72vh, 720px);
  }
}

.yta-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  height: 100%;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #1c2433 0%, #0b1220 55%, #2a2418 100%);
}

/* Sections */
.yta-section {
  padding: 48px 0;
}

.yta-section-head {
  margin-bottom: 24px;
}

.yta-section-head h2 {
  margin: 0 0 10px;
  font-family: var(--yta-serif);
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.yta-section-head p {
  margin: 0;
  color: var(--yta-muted);
  font-size: 14.5px;
}

.yta-section-head .yta-eyebrow {
  color: var(--yta-gold-dark);
}

/* Fares — official multi-area tables */
.yta-fares {
  background: var(--yta-white);
}

.yta-fare-effective {
  margin-top: 10px !important;
  font-size: 13px !important;
  color: var(--yta-gold-dark) !important;
  font-weight: 600;
}

.yta-fare-block {
  margin: 0 0 28px;
  padding: 18px 14px 16px;
  border: 1px solid var(--yta-line);
  border-radius: var(--yta-radius);
  background: var(--yta-bg);
  border-top: 3px solid var(--yta-gold);
}

.yta-fare-block.yta-accent-blue {
  border-top-color: var(--yta-blue);
}

.yta-fare-block.yta-accent-gold {
  border-top-color: var(--yta-gold);
}

.yta-fare-block.yta-accent-navy {
  border-top-color: var(--yta-navy);
}

.yta-fare-block-head {
  margin-bottom: 14px;
}

.yta-fare-block-head h3 {
  margin: 0 0 6px;
  font-family: var(--yta-serif);
  font-size: clamp(18px, 4.5vw, 24px);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.yta-fare-block-head p {
  margin: 0;
  color: var(--yta-muted);
  font-size: 13.5px;
}

.yta-fare-excluded {
  margin-top: 8px !important;
  font-size: 12.5px !important;
  color: #6a5a3a !important;
  line-height: 1.55;
}

.yta-fare-scroll {
  display: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--yta-line);
  border-radius: 12px;
  background: #fff;
}

.yta-official-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.yta-official-table th,
.yta-official-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--yta-line);
  text-align: left;
  vertical-align: top;
}

.yta-official-table thead th {
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.yta-official-table thead th span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.yta-official-table .yta-col-area {
  min-width: 140px;
}

.yta-official-table tbody th {
  background: #fafaf8;
  font-size: 14px;
  font-weight: 700;
  color: var(--yta-charcoal);
  white-space: nowrap;
}

.yta-official-table .yta-area-detail {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--yta-muted);
  white-space: normal;
  line-height: 1.45;
  max-width: 280px;
}

.yta-official-table td strong {
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--yta-ink);
  white-space: nowrap;
}

.yta-official-table td strong span {
  font-size: 12px;
  margin-left: 2px;
  font-weight: 600;
  color: var(--yta-muted);
}

.yta-official-table tbody tr:nth-child(even) td {
  background: #fcfcfb;
}

.yta-official-table tbody tr:last-child th,
.yta-official-table tbody tr:last-child td {
  border-bottom: none;
}

.yta-fare-block.yta-accent-blue .yta-official-table thead th {
  box-shadow: inset 0 -3px 0 var(--yta-blue-soft);
}

.yta-fare-block.yta-accent-gold .yta-official-table thead th {
  box-shadow: inset 0 -3px 0 var(--yta-gold);
}

.yta-fare-block.yta-accent-navy .yta-official-table thead th {
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.35);
}

/* Mobile: stacked area cards */
.yta-fare-mobile {
  display: grid;
  gap: 12px;
}

.yta-area-card {
  background: #fff;
  border: 1px solid var(--yta-line);
  border-radius: 12px;
  padding: 14px 12px;
}

.yta-area-card h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-family: var(--yta-serif);
  font-weight: 600;
}

.yta-area-card > .yta-area-detail {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--yta-muted);
  line-height: 1.5;
}

.yta-area-prices {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.yta-area-prices li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  background: var(--yta-bg);
  border-radius: 10px;
}

.yta-area-prices strong {
  display: block;
  font-size: 13px;
  color: var(--yta-charcoal);
}

.yta-area-prices span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--yta-muted);
}

.yta-area-prices em {
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  color: var(--yta-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.yta-area-prices em span {
  display: inline;
  font-size: 12px;
  margin-left: 2px;
  color: var(--yta-muted);
}

/* Tablet+: show scrollable table, hide stacked cards */
@media (min-width: 768px) {
  .yta-fare-mobile {
    display: none;
  }

  .yta-fare-scroll {
    display: block;
  }

  .yta-fare-block {
    padding: 20px 18px 18px;
  }
}

@media (min-width: 1100px) {
  .yta-official-table {
    min-width: 0;
  }

  .yta-official-table th,
  .yta-official-table td {
    padding: 14px 16px;
  }

  .yta-official-table td strong {
    font-size: 18px;
  }
}

/* Notes */
.yta-notes {
  margin-top: 22px;
  padding: 18px 16px;
  border-radius: 12px;
  background: #f3f1ea;
  border: 1px solid rgba(184, 150, 74, 0.28);
}

.yta-notes h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--yta-charcoal);
}

.yta-notes ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.yta-notes li {
  font-size: 14px;
  line-height: 1.65;
  color: #3a3a3a;
}

/* Features */
.yta-features {
  background: var(--yta-bg-soft);
}

.yta-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.yta-feature {
  background: #fff;
  border: 1px solid var(--yta-line);
  border-radius: 12px;
  padding: 18px 16px;
}

.yta-feature-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: rgba(184, 150, 74, 0.12);
  color: var(--yta-gold-dark);
}

.yta-feature-ico svg {
  width: 22px;
  height: 22px;
}

.yta-related-note {
  margin: 18px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--yta-muted, #5c5c5c);
}

.yta-related-note a {
  color: var(--yta-gold-dark, #8a6e32);
  font-weight: 700;
}

.yta-feature h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-family: var(--yta-serif);
  line-height: 1.45;
}

.yta-feature p {
  margin: 0;
  color: var(--yta-muted);
  font-size: 14px;
}

@media (min-width: 700px) {
  .yta-feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

@media (min-width: 1024px) {
  .yta-feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Gallery */
.yta-gallery {
  background: #fff;
}

.yta-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 12px;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.yta-gallery-item {
  margin: 0;
  flex: 0 0 min(84vw, 320px);
  scroll-snap-align: start;
}

.yta-photo--gallery {
  /* originals ≈ 3/4 — keep near-native ratio so cover does not chop the Alphard */
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background: #0f172a;
}

.yta-photo--gallery img {
  /* Prefer full car; fall back to slight contain feel if cover would clip hard */
  object-fit: cover;
  object-position: center 48%;
}

@media (max-width: 767px) {
  .yta-photo--gallery {
    aspect-ratio: 4 / 5;
  }
  .yta-photo--gallery img {
    object-position: center 45%;
  }
}

@media (min-width: 768px) {
  .yta-gallery-track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: visible;
    gap: 16px;
  }

  .yta-gallery-item {
    flex: none;
  }
}

@media (min-width: 1100px) {
  .yta-gallery-track {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Bottom CTA */
.yta-bottom-cta {
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.94), rgba(11, 18, 32, 0.98));
  color: #fff;
}

.yta-bottom-cta-inner {
  text-align: center;
  max-width: 720px;
}

.yta-bottom-cta h2 {
  margin: 0 0 12px;
  font-family: var(--yta-serif);
  font-size: clamp(22px, 5vw, 32px);
}

.yta-bottom-cta p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.yta-footer {
  background: #05080f;
  color: rgba(255, 255, 255, 0.78);
  padding: 22px 0 28px;
}

.yta-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.yta-footer strong {
  display: block;
  color: #fff;
  margin-bottom: 2px;
}

.yta-footer a:hover {
  color: var(--yta-gold-soft);
}

@media (max-width: 420px) {
  .yta-nav a:not(.yta-nav-cta) {
    display: none;
  }

  .yta-notes li {
    font-size: 13.5px;
  }
}

@media (min-width: 1200px) {
  .yta-section {
    padding: 64px 0;
  }
}
