@charset "utf-8";

/* ======================================= */
/* ▼ Base Page Structure                 */
/* ======================================= */
.tour-page-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 20px;
}

.tour-section {
  margin-bottom: 40px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-top: -30px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ======================================= */
/* ▼ Page Title Block Style              */
/* ======================================= */
.title {
  height: auto;
  display: block;
  text-align: center;
  padding: 40px 20px 20px;
  margin-bottom: 80px;
}

.title h1 {
  margin: 0 0 15px 0;
}

.title .tax-note {
  color: var(--color-white);
  opacity: 0.9;
  font-size: 0.9em;
  margin: 0;
}

/* ======================================= */
/* ▼ Page Sections                         */
/* ======================================= */

/* --- Hero Section --- */
.tour-hero {
  text-align: center;
  margin-bottom: 60px;
}

.tour-hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.tour-hero .tagline {
  font-size: 18px;
  color: #555;
}

/* --- Features Section --- */
.features-grid {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  text-align: center;
}

.feature-item {
  flex: 1;
  max-width: 320px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.feature-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text {
  padding: 20px;
}

.feature-text h3 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 10px;
}

.feature-text p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* --- BOKUN Widget Container --- */
.bokun-widget-container {
  padding: 20px 20px 5px;
  border-radius: 10px;
  overflow: hidden;
}

/* --- Custom Tours Table --- */
.summary-table-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.summary-table-container table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.summary-table-container th,
.summary-table-container td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.summary-table-container th {
  font-weight: 600;
  color: #333;
}

.summary-table-container td {
  color: #555;
}

.summary-table-container tbody tr:last-child td {
  border-bottom: none;
}

.summary-table-container .table-intro {
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.7;
}

.summary-table-container .basic-fee-notes {
  text-align: left;
  max-width: 100%;
  margin-top: 15px;
  padding: 0 15px;
}

.summary-table-container .basic-fee-notes p {
  margin: 0;
}

.summary-table-container td.tour-price {
  text-align: center;
  font-weight: 600;
}

/* --- Included/Excluded Section --- */
.fee-details-container {
  display: flex;
  width: 100%;
  margin: 40px auto;
  gap: 40px;
  max-width: 800px;
  align-items: stretch;
}

.fee-details.box {
  position: relative;
  border: 2px solid;
  color: var(--color-gray);
  border-radius: 15px;
  flex: 1;
}

.fee-details.box .box-title {
  position: absolute;
  display: inline-block;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  background-color: var(--color-base);
  color: var(--color-gray);
  font-size: 18px;
  white-space: nowrap;
}

.fee-details.box .box-body {
  text-align: left;
  padding: 2rem 1.5rem 1.5rem;
  line-height: 1.5;
}

.fee-details.box .box-body ul {
  list-style-type: disc;
  padding-left: 30px;
  color: var(--color-gray);
}

.fee-details.included {
  border-color: #FFB74D;
}

.fee-details.excluded {
  border-color: #FF8A65;
}

/* --- Model Course (Timeline) Section --- */
.course-example-section {
  margin-top: 60px;
}

.course-example-title {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--color-main);
  display: inline-block;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
}

.course-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.course-map {
  flex: 1;
  width: 50%;
  position: sticky;
  top: 120px;
}

.course-map iframe {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: none;
  height: 650px;
}

.course-timeline {
  flex: 1;
  width: 50%;
}

.timeline-item {
  position: relative;
  padding-left: 30px;
  padding-bottom: 40px;
  border-left: 3px solid #eee;
}

.timeline-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -11px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-main);
  border: 3px solid var(--color-white);
  z-index: 1;
}

.timeline-time {
  font-size: 14px;
  font-weight: bold;
  color: #888;
  margin: 0 0 5px 0;
}

.timeline-topic {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.timeline-description {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.timeline-photo {
  margin-top: 15px;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
}

.timeline-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ======================================= */
/* ▼ Guide Section Width Override         */
/* ======================================= */
.guide-section-wrapper {
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

/* --- Guide Profile Section --- */
.guidegradient-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(to bottom,
      #ffffff 0%,
      #ffffff 60%,
      #e0f0ff 100%);
  width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
  border-radius: 20px;
  margin-bottom: 40px;
  padding-bottom: 40px !important;
}

.guideleft-part {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.image-container {
  width: 100%;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.image-container img {
  width: 100% !important;
  height: auto;
  display: block;
  padding: 20px 0;
  border-radius: 8px;
}

.guide-text-overlay {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  max-width: 60%;
  padding: 10px;
  color: #000;
  border-radius: 8px;
  text-align: left !important;
  z-index: 10;
}

.guide-text-overlay .big-title {
  font-size: 15px !important;
  font-weight: bold;
  text-align: left !important;
  margin: 0;
}

.guide-name {
  margin-left: 10px;
  text-align: left;
  margin-top: -8px;
}

.guide-name .ja-name {
  display: block;
  font-weight: bold;
  font-size: 18px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.guide-name .en-name {
  display: block;
  font-weight: 300;
  font-size: 12px;
  color: #000;
  text-transform: none;
}

.small-line-box {
  margin-top: 0;
  padding-left: 10px;
}

.small-line-box {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  width: 100%;
}

.small-orange {
  font-size: 14px !important;
  color: orange;
  font-weight: bold;
  white-space: nowrap;
}

.orange-line {
  flex-grow: 1;
  border: none;
  height: 1px;
  background-color: orange;
  margin: 0;
}

.guideleft-part .description {
  font-size: 14px !important;
  color: #000;
  text-align: left;
  width: 95%;
  margin: 5px auto 0 auto;
  white-space: pre-line;
}

.guideright-part {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  margin-top: 30px;
  gap: 12px;
}

.guideright-part>.small-orange {
  font-size: 16px !important;
  margin-top: 10px;
}

.skill-row,
.feature-row {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 280px;
  justify-content: flex-start;
}

.flag-icon {
  width: 35px;
  height: 25px;
  object-fit: cover;
  flex-shrink: 0;
}

.skill-name,
.feature-name {
  font-size: 12px;
  white-space: nowrap;
  width: 80px;
  flex-shrink: 0;
}

.skill-bar,
.feature-bar {
  flex-grow: 1;
  width: 220px;
  height: 8px;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.skill-fill {
  height: 100%;
  border-radius: 8px 0 0 3px;
  background: orange;
  transition: width 0.3s ease;
}

.feature-fill {
  height: 100%;
  border-radius: 8px 0 0 3px;
  background: #71c7d5;
  transition: width 0.3s ease;
}

.guideright-part .feature-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.guideright-part .feature-name {
  width: 160px;
  white-space: nowrap;
  text-align: left;
  flex-shrink: 0;
}

.guideright-part .feature-bar {
  width: 100px !important;
  flex-grow: 0 !important;
  height: 8px;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
}

.guide-comment1 {
  font-size: 12px !important;
  margin: 0 !important;
  color: #000;
}

@media (min-width: 790px) {
  .guidegradient-section {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px;
    background: linear-gradient(to bottom,
        #ffffff 0%,
        #ffffff 60%,
        #e0f0ff 100%);
  }

  .guideleft-part {
    width: 60%;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
  }

  .image-container {
    width: 100%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
  }

  .image-container img {
    width: 100% !important;
    height: auto;
    display: block;
  }

  .guide-text-overlay {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    max-width: 60%;
    padding: 10px;
    text-align: left !important;
  }

  .guide-text-overlay .big-title {
    font-size: 15px !important;
    font-weight: bold;
    margin: 0;
  }

  .guide-name {
    margin-left: 10px;
    text-align: left;
    margin-top: 10px;
  }

  .guide-name .ja-name {
    font-weight: bold;
    font-size: 20px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .guide-name .en-name {
    font-weight: 300;
    font-size: 14px;
    color: #000;
  }

  .small-line-box {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    width: 100%;
    padding-left: 10px;
  }

  .small-orange {
    font-size: 14px !important;
    color: orange;
    font-weight: bold;
    white-space: nowrap;
  }

  .orange-line {
    flex-grow: 1;
    border: none;
    height: 1px;
    background-color: orange;
  }

  .guideleft-part .description {
    font-size: 13px !important;
    color: #000;
    text-align: left;
    width: 93%;
    margin: 5px auto 0 auto;
    white-space: pre-line;
  }

  .guideright-part {
    width: 38% !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    margin-top: 0;
    gap: 12px;
  }

  .guideright-part>.small-orange {
    font-size: 16px !important;
    margin-top: 10px;
  }

  .skill-row,
  .feature-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .skill-bar,
  .feature-bar {
    flex-grow: 1;
    width: auto;
    height: 8px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
  }

  .skill-fill {
    height: 100%;
    border-radius: 8px 0 0 3px;
    background: orange;
    transition: width 0.3s ease;
  }

  .feature-fill {
    height: 100%;
    border-radius: 8px 0 0 3px;
    background: #71c7d5;
    transition: width 0.3s ease;
  }

  .guide-comment {
    font-size: 12px !important;
    margin-top: 1px;
    color: #000;
  }
}

@media (min-width: 1025px) {
  .guide-text-overlay .big-title {
    font-size: 17px !important;
  }
}

/* --- Options Section --- */
.options-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.option-card {
  flex: 1;
  max-width: 350px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  overflow: hidden;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.option-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.option-card h3 {
  font-size: 20px;
  margin: 20px 0 10px;
}

.option-card .option-description {
  font-size: 18px;
  padding: 0 20px;
  color: #666;
  line-height: 1.6;
  min-height: 60px;
  flex-grow: 1;
}

.option-card .option-price {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
  color: var(--color-sub1);
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
}

.cta-section p {
  margin-bottom: 30px;
}

/* ======================================= */
/* ▼ Responsive (Mobile) Styles          */
/* ======================================= */
@media screen and (max-width: 768px) {
  .tour-page-container {
    padding: 0 20px 40px;
  }

  .tour-hero h1 {
    font-size: 32px;
  }

  .features-grid,
  .options-grid {
    flex-direction: column;
    align-items: center;
  }

  .fee-details-container {
    flex-direction: column;
  }

  .course-layout {
    flex-direction: column;
  }

  .course-map {
    position: static;
    width: 100%;
    margin-bottom: 30px;
    height: 400px;
  }

  .course-timeline {
    width: 100%;
  }

  /* --- Guide Profile on Mobile --- */
  .guide-card {
    flex-direction: column;
    /* スマホでは縦並びに */
    gap: 30px;
    padding: 20px;
    min-height: auto;
    background-image: none !important;
    background-color: var(--color-base);
  }

  .guide-column-left,
  .guide-column-right {
    flex-basis: auto;
    width: 100%;
  }

  .guide-text-overlay .big-title {
    font-size: 11px !important;
  }

  .guide-text-overlay {
    left: 0;
  }

  .guide-catchphrase {
    font-size: 20px;
  }

  .guide-name {
    font-size: 18px;
  }

  .guide-bio {
    font-size: 14px;
  }

  .feature-list li>span {
    width: 140px;
  }

  /* --- Other Mobile Styles --- */
  .summary-table-container td,
  .summary-table-container th {
    padding: 12px 8px;
  }

  .summary-table-container td:last-child {
    text-align: right;
  }

  .summary-table-container td.tour-price {
    text-align: right;
  }

  .guide-section-wrapper {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  /* ガイドのスキルバーの調整 */
  .skill-row,
  .feature-row {
    width: 100%;
  }

  .guideright-part .feature-bar {
    width: 100px !important;
  }
}