/**
 * Figma 13-募集ツアー詳しく見る 1:1 像素级还原
 * 设计稿: 1440px | 主色: #ff3600
 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: #fcfbfb;
  color: #212121;
}

/* 头部和底部使用 index.html 的 style.css 样式 */

/* ===== Hero ===== */
.page-hero {
  position: relative;
  height: 450px;
  margin-top: 85px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-bg .hero-bg-overlay {
  object-fit: cover;
  object-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 120px 75px 0;
}

.page-hero-title {
  font-size: 50px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.1;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.page-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

/* ===== Main ===== */
.page-main {
  max-width: 1290px;
  margin: 0 auto;
  padding: 45px 75px 100px;
}

.tour-wrap {
  display: grid;
  grid-template-columns: 1fr 384px;
  gap: 48px;
  align-items: start;
}

.tour-title {
  font-size: 32px;
  font-weight: 700;
  color: #212121;
  margin-bottom: 24px;
  line-height: 1.375;
}

.tour-info {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 24px;
}

.tour-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  color: #1c1c1c;
}

.tour-info-item img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

/* Gallery */
.tour-gallery {
  position: relative;
  width: 100%;
  max-width: 820px;
  height: 455px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 36px;
  background: #ebebeb;
}

.tour-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-gallery-prev,
.tour-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2;
}

.tour-gallery-prev img,
.tour-gallery-next img {
  position: absolute;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.tour-gallery-prev span,
.tour-gallery-next span {
  position: relative;
  z-index: 1;
  font-size: 20px;
  color: #161616;
}

.tour-gallery-prev {
  left: 15px;
}

.tour-gallery-next {
  right: 15px;
}

.tour-desc {
  font-size: 15px;
  line-height: 2.13;
  color: #282828;
  max-width: 820px;
}

/* ===== Sidebar ===== */
.tour-sidebar {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.tour-booking-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 0 13px rgba(82, 63, 105, 0.05);
}

.tour-booking-price {
  font-size: 32px;
  font-weight: 700;
  color: #c40000;
  margin-bottom: 24px;
}

.tour-booking-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #242424;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ff3600;
}

.tour-booking-row {
  margin-bottom: 24px;
}

.tour-booking-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 17px;
  border: 1px solid #e5e5e5;
  border-radius: 0;
  background: #fff;
}

.tour-booking-input-wrap .input-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.tour-booking-input-wrap span {
  flex: 1;
  font-size: 14px;
  color: #545454;
}

.tour-booking-input-wrap .input-chevron {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.tour-booking-select-wrap .tour-departure-select {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #545454;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.tour-booking-select-wrap .tour-no-departure {
  flex: 1;
  font-size: 14px;
  color: #888;
}

.tour-booking-time-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tour-booking-time-row .input-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.tour-booking-time-row input {
  width: 125px;
  height: 60px;
  padding: 0 17px;
  font-size: 14px;
  font-weight: 500;
  color: #545454;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.tour-booking-time-row .time-sep {
  color: #999;
  font-size: 14px;
}

.tour-booking-qty {
  display: flex;
  align-items: center;
  width: fit-content;
  border: 1px solid #e5e5e5;
}

.tour-booking-qty .qty-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: none;
  font-size: 20px;
  color: #333;
  cursor: pointer;
}

.tour-booking-qty .qty-value {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #545454;
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
}

.tour-booking-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  margin-top: 16px;
  border-top: 1px solid #e5e5e5;
}

.tour-booking-total span {
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

.tour-booking-total .total-price {
  color: #c40000;
}

.tour-booking-btn {
  display: block;
  width: 100%;
  max-width: 271px;
  margin: 24px auto 0;
  height: 52px;
  background: #ff3600;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
}

/* Contact Card */
.tour-contact-card {
  background: #fff;
  border-radius: 10px;
  padding: 27px 30px;
  box-shadow: 0 0 13px rgba(82, 63, 105, 0.05);
}

.tour-contact-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin-bottom: 24px;
}

.tour-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.tour-contact-item:last-of-type {
  margin-bottom: 0;
}

.tour-contact-item img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.tour-contact-item span {
  font-size: 18px;
  color: #000;
}

.tour-contact-btn {
  display: block;
  width: 100%;
  max-width: 271px;
  margin: 24px auto 0;
  height: 52px;
  background: #ff3600;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
  .page-main { padding: 40px 40px 80px; }
  .tour-wrap { gap: 36px; }
}

@media (max-width: 1100px) {
  .tour-wrap {
    grid-template-columns: 1fr;
  }

  .tour-sidebar {
    order: -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }

  .tour-booking-card,
  .tour-contact-card {
    flex: 1;
    min-width: 320px;
  }
}

@media (max-width: 900px) {
  .page-hero { height: 350px; margin-top: 60px; }
  .page-hero-content { padding: 80px 24px 0; }
  .page-hero-title { font-size: 36px; }
  .page-breadcrumb { font-size: 14px; }

  .page-main { padding: 30px 24px 60px; }
  .tour-title { font-size: 24px; }
  .tour-gallery { height: 320px; margin-bottom: 24px; }
  .tour-desc { font-size: 14px; }

  .tour-sidebar { flex-direction: column; }
  .tour-booking-card, .tour-contact-card { min-width: 0; }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .header-inner { padding: 0 16px; }
  .page-hero { height: 280px; margin-top: 56px; }
  .page-hero-content { padding: 60px 16px 0; }
  .page-hero-title { font-size: 28px; }
  .page-breadcrumb { font-size: 13px; flex-wrap: wrap; }

  .page-main { padding: 24px 16px 48px; }
  .tour-title { font-size: 22px; }
  .tour-info { flex-wrap: wrap; gap: 16px; }
  .tour-gallery { height: 260px; }
  .tour-gallery-prev, .tour-gallery-next { width: 38px; height: 38px; }
  .tour-gallery-prev img, .tour-gallery-next img { width: 38px; height: 38px; }

  .tour-booking-time-row { flex-wrap: wrap; }
  .tour-booking-time-row input { width: 100%; max-width: 120px; }

}

@media (max-width: 480px) {
  .page-hero { height: 240px; margin-top: 52px; }
  .page-hero-title { font-size: 24px; }
  .page-breadcrumb { font-size: 12px; }

  .tour-title { font-size: 20px; }
  .tour-gallery { height: 220px; }
  .tour-booking-btn, .tour-contact-btn { max-width: 100%; }
}
