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

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

body.yt-wp-sightseeing #main,
body.yt-wp-sightseeing .main,
body.yt-wp-sightseeing .content,
body.yt-wp-sightseeing .article,
body.yt-wp-sightseeing .entry-content,
body.yt-wp-sightseeing #container,
body.yt-wp-sightseeing .container,
body.yt-wp-sightseeing #content,
body.yt-wp-sightseeing .content-in,
body.yt-wp-sightseeing .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-sightseeing {
  background: #f7f7f5;
}

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

.yts-breadcrumb {
  padding: 12px 0 0;
}

.yts-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: #5c5c5c;
}

.yts-breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 10px;
  color: #b8964a;
}

.yts-breadcrumb a {
  color: #2a2a2a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.yts-selected {
  margin: 0 0 28px;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid #d8d8d4;
  border-radius: 14px;
}

.yts-selected h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.yts-selected-count {
  margin: 0 0 10px;
  font-weight: 700;
  color: #8a6e32;
}

.yts-selected-list {
  margin: 0 0 12px;
  padding: 0 0 0 1.2em;
}

.yts-selected-list:empty,
.yts-selected.is-empty .yts-selected-list,
.yts-selected.is-empty .yts-cta-selected {
  display: none;
}

.yts-selected:not(.is-empty) .yts-selected-empty {
  display: none;
}

.yts-selected-empty {
  margin: 0;
  color: #5c5c5c;
  font-size: 14px;
}

.yts-cat {
  margin: 0 0 36px;
}

.yts-cat h3 {
  margin: 0 0 14px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 600;
}

.yts-card-grid {
  display: grid;
  gap: 14px;
}

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

.yts-card.is-selected {
  border-color: #b8964a;
  box-shadow: 0 0 0 2px rgba(184, 150, 74, 0.28);
}

.yts-card-media {
  aspect-ratio: 16 / 10;
  background: #eceae4;
  overflow: hidden;
}

.yts-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yts-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 140px;
  padding: 16px;
  text-align: center;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 18px;
  color: #8a6e32;
  background: linear-gradient(135deg, #f3efe6 0%, #e7e1d4 100%);
}

.yts-card-body {
  padding: 16px 16px 18px;
}

.yts-card-title {
  margin: 0 0 8px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 600;
}

.yts-card-text,
.yts-card-point {
  margin: 0 0 10px;
  color: #5c5c5c;
  font-size: 14px;
  line-height: 1.75;
}

.yts-card-point {
  color: #2a2a2a;
}

.yts-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 10px;
}

.yts-card-meta dt {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #8a6e32;
}

.yts-card-meta dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.yts-card-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.yts-card-cats span {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f7f7f5;
  border: 1px solid #d8d8d4;
  font-size: 11px;
}

.yts-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yts-select-btn {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #b8964a;
  border-radius: 10px;
  background: #fff;
  color: #8a6e32;
  font-weight: 700;
  cursor: pointer;
}

.yts-card.is-selected .yts-select-btn {
  background: #8a6e32;
  color: #fff;
  border-color: #8a6e32;
}

.yts-card-detail summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #2a2a2a;
}

.yts-card-detail div {
  margin-top: 8px;
  color: #5c5c5c;
  font-size: 14px;
  line-height: 1.7;
}

.yts-course {
  background: #fff;
}

.yts-course-grid {
  display: grid;
  gap: 16px;
}

.yts-course-card {
  padding: 18px 16px;
  border: 1px solid #d8d8d4;
  border-radius: 14px;
  background: #f7f7f5;
}

.yts-course-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.yts-course-list {
  list-style: none;
  margin: 12px 0 16px;
  padding: 0;
}

.yts-course-list li {
  position: relative;
  padding: 14px 16px 14px 56px;
  margin: 0;
  background: #fff;
  border: 1px solid #d8d8d4;
  font-size: 15px;
  font-weight: 600;
}

.yts-course-list li:first-child {
  border-radius: 12px 12px 0 0;
}

.yts-course-list li:last-child {
  border-radius: 0 0 12px 12px;
}

.yts-course-list li + li {
  border-top: 0;
}

.yts-course-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: #b8964a;
}

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

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

.yts-route-examples {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.yts-route-examples ol {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #d8d8d4;
  border-radius: 12px;
}

.yts-route-examples li {
  padding: 12px 16px;
  font-weight: 700;
}

.yts-route-examples li + li {
  border-top: 1px solid #eceae4;
}

.yts-hours-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.yts-hours-list li {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d8d8d4;
  font-weight: 700;
}

.yts-fare-note {
  padding: 16px;
  background: #fff;
  border: 1px solid #d8d8d4;
  border-radius: 12px;
}

.yts-fare-note h3 {
  margin: 0 0 8px;
}

.yts-fare-note p {
  margin: 0;
  color: #5c5c5c;
}

.yts-flow-list {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.yts-flow-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #d8d8d4;
  border-radius: 12px;
}

.yts-flow-n {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0b1220;
  color: #fff;
  font-weight: 700;
}

.yts-flow-list h3 {
  margin: 0;
  font-size: 16px;
}

.yts-flow-list p {
  margin: 0;
  color: #5c5c5c;
  font-size: 14px;
}

.yto-faq-list {
  display: grid;
  gap: 12px;
}

.yto-faq-item {
  background: #fff;
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: 12px;
  padding: 4px 18px 4px;
}

.yto-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
}

.yto-faq-item summary::-webkit-details-marker {
  display: none;
}

.yto-faq-item p {
  margin: 0 0 14px;
  color: #5c5c5c;
  line-height: 1.8;
}

.yt-sightseeing .yts-merit-grid {
  grid-template-columns: 1fr;
}

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

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

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

.yt-sightseeing .ytm-bottom-cta .ytm-btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.yts-mid-cta {
  padding-top: 8px;
  padding-bottom: 8px;
}

.yts-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(11, 18, 32, 0.96);
  color: #fff;
}

.yts-sticky[hidden] {
  display: none !important;
}

.yts-sticky-count {
  margin: 0;
  flex: 1;
  font-size: 13px;
  font-weight: 700;
}

.yts-sticky .ytm-btn {
  min-height: 46px;
  padding: 10px 14px;
  font-size: 14px;
  flex: 1.2;
}

body.yt-wp-sightseeing {
  padding-bottom: 76px;
}

@media (min-width: 700px) {
  .yts-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .yt-sightseeing .yts-merit-grid,
  .yts-course-grid,
  .yts-route-examples {
    grid-template-columns: 1fr 1fr;
  }

  .yts-sticky {
    display: none !important;
  }

  body.yt-wp-sightseeing {
    padding-bottom: 0;
  }
}

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

  .yt-sightseeing .yts-merit-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .yts-course-grid {
    grid-template-columns: 1fr 1fr;
  }
}
