@charset "utf-8";

.fee-note {
  max-width: 700px;
  width: 90%;
  margin: auto;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  color: var(--color-main);
  background-color: var(--color-base2);
  border: 2px solid var(--color-main);
  border-radius: 12px;
  line-height: 1.5;
  padding: 10px;
}

.fee-note-comment {
  font-size: 13px;
  color: var(--color-sub2);
  font-weight: normal;
}

.policy-link {
  text-decoration: underline;
}

/* 利用規約・ポリシーセクション */
.terms-policy-section {
  padding: 20px;
  margin: 20px auto;
  max-width: 700px;
  width: 90%;
}

.terms-policy-container {
  margin: 20px;
}

.terms-policy-section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.terms-policy-container {
  padding: 0;
}

/* 基本料金 */
/* 料金表 */
.basic-fee-section {
  text-align: center;
  margin-bottom: 40px;
}

.tax-included {
  font-size: 18px;
}

/* 基本料金テーブル */
.basic-fee.table {
  width: 100%;
  max-width: 800px;
  padding: 20px 0;
  margin: 20px auto;
  border-collapse: collapse;
  table-layout: fixed;
  background-color: var(--color-white);
  border-radius: 10px;
}

.basic-fee.table table {
  width: 80%;
  margin: auto;
  font-size: 16px;
}

/* BOKUN予約ボタン */
.bokun-button-container {
  text-align: center;
}

.basic-fee.table td,
.basic-fee.table th {
  padding: 12px 15px;
  border: none;
  border-bottom: 1px solid var(--color-sub3);
  text-align: center;
  vertical-align: middle;
}

/* 最後の行の下線を削除 */
.basic-fee.table tr:last-child th,
.basic-fee.table tr:last-child td {
  border-bottom: none;
}

/* Basic fee details */
.fee-details-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
  margin: 40px auto;
}

.fee-details {
  margin-bottom: 15px;
}

.fee-details.box {
  position: relative;
  border: 2px solid var(--color-main);
  color: var(--color-gray);
  margin-bottom: 25px;
  border-radius: 15px;
}

.fee-details.box .box-title {
  position: absolute;
  display: inline-block;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0rem 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: 1rem;
  line-height: 1.5;
}

.fee-details.box .box-body ul {
  list-style-type: disc;
  padding-left: 30px;
  color: var(--color-gray);
}

.fee-details.included {
  margin-top: 20px;
  border-color: #FFB74D;
}

.fee-details.excluded {
  margin-top: 20px;
  border-color: var(--color-main);
}

.fee-details p.note {
  font-size: 0.8em;
  color: var(--color-gray);
  margin-top: 5px;
  margin-left: 30px;
}

.long-term-plan {
  display: none;
}

/* もっと見るボタンのスタイル */
.toggle-button-cell {
  border-bottom: none !important;
  padding: 15px 0 !important;
  text-align: center;
}

.toggle-plans-btn {
  background-color: transparent;
  border: 2px solid var(--color-main);
  color: var(--color-main);
  font-weight: bold;
  font-size: 16px;
  padding: 10px 30px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-plans-btn:hover {
  background-color: var(--color-main);
  color: var(--color-white);
}

.plan-note {
  font-weight: normal;
  font-size: 14px;
}

/* PC表示の場合のみ横並びにする */
@media screen and (min-width: 769px) {
  .fee-details-container {
    flex-direction: row;
    justify-content: space-between;
    max-width: 800px;
  }

  .fee-details.box {
    width: 48%;
    margin-bottom: 0;
    height: auto;
    align-self: flex-start;
  }
}


/* おすすめバッジ */
.basic-fee.table tr.recommend {
  position: relative;
}

.basic-fee.table tr.recommend th::before {
  content: "Top Pick";
  font-weight: bold;
  white-space: pre-wrap;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--color-main);
  color: var(--color-white);
  font-size: 12px;
  padding: 4px 8px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  position: absolute;
  top: -5px;
  left: -51px;
  transform: rotate(-15deg);
  z-index: 2;
  line-height: 1.2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 連泊プラン含まれるもの */
.multiple-night-item {
  color: var(--color-sub1);
}

.multiple-night-item::marker {
  color: var(--color-sub1);
}

/* オプション料金 */
.option {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  margin: 20px auto;
}

.option .basic-fee.table {
  max-width: 800px;
  margin: 30px auto;
}

.option .basic-fee td.price {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-sub1);
}

.option .basic-fee td .quantity {
  font-size: 14px;
  color: var(--color-gray);
  font-weight: normal;
}

.option .basic-fee.table td {
  text-align: center;
}


/* サービス */
.service-section {
  padding: 0 20px 60px;
  color: var(--color-aharacter);
  text-align: center;
}

/* ガイド */
.guide-section {
  position: relative;
  border-radius: 20px;
  padding: 20px 20px 30px;
  overflow: hidden;
}

.guide-title-wrapper {
  position: relative;
  width: 330px;
  margin: 80px auto 38px;
}

.guide-title {
  margin: 0;
  text-align: center;
}

.guide-images {
  width: 80px;
  height: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.guide-images-left {
  left: 350px;
}

.guide-images-right {
  right: 350px;
}

.guide-images {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
  z-index: 1;
}

.guide-images img {
  width: 80px;
  height: auto;
  border-radius: 10%;
  object-fit: cover;
}

.guide-text h2,
.support-section h2 {
  margin-bottom: 40px;
}

.guide-text p,
.support-section p {
  line-height: 1.6;
  margin: 10px 0;
  padding: 20px;
}

/* アコーディオンのスタイル */
.accordion-container {
  padding: 0 10px;
  margin: auto;
  max-width: 600px;
}

.accident-accordion {
  max-width: 100%;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.5);
  background-color: var(--color-white);
}

.accident-accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em;
  color: var(--color-gray);
  font-weight: 600;
  cursor: pointer;
}

.accident-accordion summary::before,
.accident-accordion summary::after {
  width: 3px;
  height: .9em;
  border-radius: 5px;
  background-color: var(--color-main);
  content: '';
}

.accident-accordion summary::before {
  position: absolute;
  right: 2em;
  rotate: 90deg;
}

.accident-accordion summary::after {
  transition: rotate .3s;
}

.accident-accordion[open] summary::after {
  rotate: 45deg;
  transform: rotate(45deg);
}

.accident-accordion p {
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: .3em 2em 1.5em;
  color: var(--color-table);
  transition: transform .5s, opacity .5s;
}

.accident-accordion[open] p {
  transform: none;
  opacity: 1;
  text-align: left;
}

/* サポートカー */
.support-section {
  margin-top: 60px;
  text-align: center;
}

.support-image-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}

.support-image {
  position: relative;
  display: inline-block;
}

.support-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
}

.support-sticker {
  position: absolute;
  width: 104px !important;
  height: auto;
  bottom: -12px;
  right: -38px;
  z-index: 2;
}


/* お支払い方法セクション */
.payment-section {
  text-align: center;
  padding: 20px;
  margin: 40px auto;
  max-width: 600px;
  width: 90%;
  background-color: var(--color-white);
  border-radius: 10px;
}

.payment-section h2 {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

.payment-method {
  margin-bottom: 30px;
}

.payment-method h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--color-gray);
}

.payment-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.payment-card {
  text-align: center;
  padding: 15px;
  border: 2px solid var(--color-main);
  border-radius: 5px;
  width: 200px;
}

.payment-card h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--color-gray);
}

.payment-card img {
  max-width: 50%;
  height: auto;
  margin-bottom: 10px;
}

.note-text {
  font-size: 12px;
  color: var(--color-gray);
}


/* 下部ボタン */
.contact-button-section {
  text-align: center;
}

.payment-card .e-money-img {
  max-width: 100%;
}


/* --- セール用の共通スタイル（PC・モバイル共通） --- */
.sale-header {
  background: linear-gradient(45deg, #FFC107, #FF7043);
  color: var(--color-white);
  padding: 15px;
  margin: 20px auto 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sale-header p {
  font-size: 22px;
  font-weight: 900;
  margin: 0;
  line-height: 1.2;
}

.sale-header span {
  font-size: 14px;
  font-weight: bold;
}

span.original-price {
  display: block;
  font-size: 16px;
  color: var(--color-gray);
  text-decoration: line-through;
  font-weight: normal;
}

span.sale-price {
  display: block;
  font-size: 22px;
  font-weight: bold;
  color: #E53935;
}

.basic-fee.table tr.sale-item td:last-child {
  position: relative;
}

.basic-fee.table tr.sale-item td:last-child::after {
  content: "SALE!";
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #E53935;
  color: var(--color-white);
  font-size: 12px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: absolute;
  top: -5px;
  right: 30px;
  transform: rotate(15deg);
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  line-height: 1;
}

/* === 料金・予約ページ専用スタイル === */

/* ナビゲーションバー全体 */
.price-nav-menu {
  background-color: var(--color-base);
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.price-nav-menu .container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

/* 各ボタンのスタイル */
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--color-sub1);
  font-weight: bold;
  font-size: 1em;
  /* 文字サイズを少し大きく */
  transition: all 0.2s ease;
  padding: 10px;
  border-radius: 6px;
  width: 130px;
  /* 幅を少し広げる */
  text-align: center;
}

.nav-item:hover {
  background-color: #fff;
  transform: translateY(-3px);
}

.nav-item-text {
  margin-top: 10px;
  line-height: 1.4;
}

/* ボタン内の写真（アイコン） */
.nav-item-photo {
  width: 120px;
  height: 120px;
  background-color: #fff;
  padding: 10px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nav-item-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}


/* === 「メニューへ戻る」ボタン === */
#page_top {
  display: none !important;
}

.back-to-menu-button {
  position: fixed;
  /* 画面に固定 */
  bottom: 20px;
  left: 20px;
  z-index: 50;

  width: 50px;
  height: 50px;
  background-color: var(--color-headline);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;

  /* 最初は非表示 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

/* スクロールしたら表示 */
.back-to-menu-button.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ボタンの矢印 */
.back-to-menu-button .arrow-up {
  width: 12px;
  height: 12px;
  border: solid var(--color-white);
  border-width: 3px 3px 0 0;
  transform: translateY(2px) rotate(-45deg);
}

/* --- 各料金セクションの共通スタイル --- */
.price-section .section-title {
  text-align: center;
  font-size: 2em;
  margin-bottom: 40px;
}

/* BESVの料金表など、値下げ後の価格のみ表示する場合のスタイル */
.price-table-wrapper .single-sale-price {
  font-size: 1.5em;
  font-weight: bold;
  color: #E53935;
  /* Vektronのセール価格と同じ赤色 */
}

/* --- 3. BESVのセール注釈 --- */
.sales-note {
  max-width: 800px;
  margin: -20px auto 40px auto;
  padding: 15px 20px;
  background-color: var(--color-base2);
  border: 1px solid var(--color-headline);
  border-radius: 6px;
  text-align: center;
}

.sales-note p {
  margin: 0;
  line-height: 1.6;
  color: var(--color-sub2);
}

.sales-note strong {
  font-weight: bold;
}

/* --- 料金表のラッパー --- */
.price-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* === 料金表のレイアウト修正（テーブルレイアウト版） === */

.price-table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  /* 隣接するボーダーを重ねる */
  table-layout: fixed;
  /* テーブルのレイアウトを固定 */
}

.price-table-wrapper tr {
  /* display: flex; は削除します */
  border-bottom: 1px solid #eee;
}

.price-table-wrapper tr:last-child {
  border-bottom: none;
}

/* thとtdに共通のスタイル */
.price-table-wrapper th,
.price-table-wrapper td {
  padding: 25px 10px;
  vertical-align: middle;
  /* 上下中央揃え */
  text-align: left;
}

/* 1列目：時間 */
.price-table-wrapper th:first-child {
  width: 35%;
  /* 幅を35%に指定 */
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
}

/* 2列目：価格 */
.price-table-wrapper td.price {
  width: 35%;
  /* 幅を35%に指定 */
}

/* 3列目：ボタン */
.price-table-wrapper td:last-child {
  width: 30%;
  /* 幅を30%に指定 */
  text-align: center;
  /* ボタンを右に寄せる */
}


/* --- テキストやボタンの細かいスタイル調整 --- */

.price-table-wrapper .plan-note {
  display: block;
  font-size: 0.8em;
  font-weight: normal;
  color: #777;
}

.price-table-wrapper .original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9em;
  margin-left: 10px;
}

.price-table-wrapper .sale-price {
  font-size: 1.5em;
  font-weight: bold;
  color: #E53935;
  display: block;
  margin-top: 5px;
}

.price-table-wrapper .button {
  display: inline-block;
  background-color: var(--color-main);
  color: var(--color-white);
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: opacity 0.3s;
}

.price-table-wrapper .button:hover {
  opacity: 0.8;
}

/* === ガイドツアー紹介セクション（新デザイン） === */

.guide-intro-text {
  text-align: center;
  max-width: 800px;
  margin: -20px auto 40px auto;
  line-height: 1.8;
}

.guide-plan-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  /* モバイル表示で縦並びにする */
}

.plan-card {
  background-color: var(--color-white);
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 420px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.plan-card h3 {
  font-size: 1.6em;
  color: var(--color-main);
  margin-top: 0;
  margin-bottom: 15px;
}

.plan-card .plan-description {
  line-height: 1.7;
  color: var(--color-sub1);
  flex-grow: 1;
  /* ← 説明文の高さを揃えるための指定 */
}

.plan-card .plan-price {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--color-headline);
  margin: 20px 0;
}

.plan-card .universal-button {
  /* 必要に応じてボタンのスタイルを調整 */
  margin-top: auto;
  /* ← ボタンをカードの下端に配置 */
}

/* === カスタムツアーカードの料金表示スタイル === */

.custom-price-display {
  margin: 20px 0;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.custom-price-display .price-label {
  font-size: 1em;
  font-weight: bold;
  color: var(--color-sub1);
  margin: 0 0 5px 0;
}

.custom-price-display .price-value {
  font-size: 2em;
  font-weight: bold;
  color: var(--color-headline);
  margin: 0;
  line-height: 1.2;
}

.custom-price-display .price-unit {
  font-size: 0.5em;
  font-weight: normal;
  color: var(--color-sub1);
}

.custom-price-display .price-plus {
  font-size: 1.2em;
  margin: 8px 0;
  color: #888;
}

.custom-price-display .price-additional {
  font-size: 0.9em;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* ボタンの文言変更に伴う微調整 */
.plan-card .universal-button {
  margin-top: auto;
}

/* --- モバイル用のスタイル --- */
@media screen and (max-width: 768px) {
  .basic-fee.table {
    width: 95%;
  }

  .basic-fee.table table {
    width: 90%;
  }

  .basic-fee.table tr.recommend th::before {
    display: none;
  }

  .basic-fee.table th,
  .basic-fee.table td {
    padding: 14px 4px;
  }

  .basic-fee.table th:first-child,
  .basic-fee.table td:first-child {
    width: 30%;
    text-align: center;
  }

  .basic-fee.table td:nth-child(2) {
    width: 35%;
    text-align: left;
    padding-left: 20px;
  }

  .basic-fee.table td:nth-child(3) {
    width: 45%;
    text-align: center;
    display: table-cell;
    padding-right: 45px;
  }

  .basic-fee.table th {
    font-size: 16px;
  }

  .basic-fee.table td.price {
    line-height: 1.3;
  }

  .basic-fee.table td.price span.original-price {
    font-size: 13px;
    font-weight: normal;
    text-decoration: line-through;
    color: var(--color-gray);
  }

  .basic-fee.table td.price span.sale-price {
    font-size: 17px;
    font-weight: bold;
    color: #E53935;
  }

  .basic-fee.table tr.sale-item td:last-child::after {
    right: 4px;
  }

  .basic-fee-notes p {
    font-size: 13px;
  }

  .bokunButton {
    font-size: 14px !important;
    padding: 10px 8px !important;
    line-height: 1.3;
    width: 100%;
    box-sizing: border-box;
  }

  /* オプション品 */
  .option {
    width: calc(100% - 0px);
    max-width: 100%;
  }

  .option .basic-fee.table table th:nth-child(1),
  .option .basic-fee.table table td:nth-child(1) {
    width: 50%;
  }

  .option .basic-fee.table table th:nth-child(2),
  .option .basic-fee.table table td:nth-child(2) {
    width: 38%;
    font-size: 16px;
    text-align: center;
  }

  .guide-section {
    font-size: 14px;
  }

  .guide-images-left {
    left: 265px;
  }

  .guide-images-right {
    right: 265px;
  }

  /* サポートカー */
  .guide-text p,
  .support-section p {
    font-size: 14px;
  }

  .support-image-wrapper {
    max-width: 90%;
    margin: auto;
  }

  .support-image img {
    margin-bottom: 20px;
  }

  .support-image img.support-sticker {
    bottom: -12px;
    right: -23px;
  }

  .payment-section {
    text-align: center;
  }


  .guide-images-left,
  .guide-images-right {
    display: none;
  }

  .guide-title-wrapper {
    width: 100%;
  }
}

@media screen and (max-width: 320px) {
  .basic-fee.table td .price {
    font-size: 18px;
  }

  .fee-note {
    width: 90%;
    font-size: 13px;
  }

  .fee-note-comment {
    font-size: 12px;
  }

  .plan-note {
    font-size: 12px;
  }

  .guide-section {
    font-size: 13px;
    padding: 20px 0 30px;
  }

  .guide-text p,
  .support-section p {
    font-size: 13px;
    padding: 20px 0 30px;
  }

  .guide-images-left {
    display: none;
  }

  .guide-images-right {
    display: none;
  }

  .guide-title-wrapper {
    margin: 40px auto 20px;
  }
}