/* =========================================================
   山﨑タクシー ビジネス送迎ページ
   共通見た目は medical-study-transport.css（.yt-medical / .ytm-*）を利用。
   本ファイルは Cocoon 非表示とビジネスページ固有レイアウトのみ。
   ========================================================= */

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

body.yt-wp-business #main,
body.yt-wp-business .main,
body.yt-wp-business .content,
body.yt-wp-business .article,
body.yt-wp-business .entry-content,
body.yt-wp-business #container,
body.yt-wp-business .container,
body.yt-wp-business #content,
body.yt-wp-business .content-in,
body.yt-wp-business .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-business {
  background: #f4f5f7;
  overflow-x: hidden;
}

.yt-business {
  overflow-x: hidden;
}

.yt-business .ytm-hero-photo--left img {
  object-position: center 38%;
}

.ytb-lead-text {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.95;
  color: #2a2a2a;
}

.ytb-lead-text:last-child {
  margin-bottom: 0;
}

.ytb-cabin {
  display: grid;
  gap: 18px;
}

.ytb-cabin-photo {
  overflow: hidden;
  border-radius: 14px;
  background: #121826;
  aspect-ratio: 4 / 5;
}

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

.ytb-cabin-grid {
  grid-template-columns: 1fr !important;
}

.ytb-scene-grid {
  display: grid;
  gap: 14px;
}

.ytb-scene {
  background: #fff;
  border: 1px solid #d8d8d4;
  border-radius: 14px;
  padding: 20px 18px 18px;
  box-shadow: 0 8px 20px rgba(11, 18, 32, 0.04);
}

.ytb-scene-no {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #b8964a;
}

.ytb-scene h3 {
  margin: 0 0 10px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.ytb-scene p {
  margin: 0;
  color: #5c5c5c;
  font-size: 14px;
  line-height: 1.75;
}

.ytb-scene-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #8a6e32;
}

.ytb-vehicle-cta {
  margin: 22px 0 0;
  text-align: center;
}

.ytb-btn-on-light {
  color: #0b1220 !important;
  border-color: rgba(11, 18, 32, 0.28) !important;
}

.ytb-split {
  display: grid;
  gap: 22px;
  align-items: center;
}

.ytb-split-media {
  overflow: hidden;
  border-radius: 14px;
  background: #121826;
  aspect-ratio: 16 / 11;
}

.ytb-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ytb-split-copy h2 {
  margin: 0 0 12px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.ytb-split-copy p {
  margin: 0 0 12px;
  color: #3a3a3a;
  font-size: 15px;
  line-height: 1.9;
}

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

.ytb-route {
  background: #fff;
}

.ytb-route-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.ytb-route-list li {
  position: relative;
  padding: 16px 16px 16px 56px;
  margin: 0;
  background: #f7f7f5;
  border: 1px solid #d8d8d4;
  font-size: 16px;
  font-weight: 600;
}

.ytb-route-list li:first-child {
  border-radius: 12px 12px 0 0;
}

.ytb-route-list li:last-child {
  border-radius: 0 0 12px 12px;
}

.ytb-route-list li + li {
  border-top: 0;
}

.ytb-route-list li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: #b8964a;
}

.ytb-route-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 27px;
  top: calc(50% + 8px);
  bottom: -8px;
  width: 2px;
  background: #d4bc7a;
}

.ytb-route-note {
  margin: 0;
  color: #5c5c5c;
  font-size: 14.5px;
  line-height: 1.85;
}

.yt-business .ytm-bottom-cta {
  background: linear-gradient(180deg, #0b1220 0%, #14110c 100%);
}

.yt-business .ytm-bottom-cta h2,
.yt-business .ytm-bottom-cta p {
  color: #fff;
}

.yt-business .ytm-bottom-cta p {
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 420px) {
  .yt-business .ytm-nav a:not(.ytm-nav-cta) {
    display: none;
  }

  .yt-business .ytm-btn {
    min-height: 52px;
    width: 100%;
  }
}

@media (min-width: 700px) {
  .ytb-cabin {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }

  .ytb-cabin-photo {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .ytb-cabin-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .ytb-scene-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ytb-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 32px;
  }
}

@media (min-width: 1100px) {
  .ytb-scene-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
