@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;
}

.terms-policy-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);
}

.terms-policy-accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em;
  color: var(--color-gray);
  font-weight: bold;
  cursor: pointer;
}

.terms-policy-accordion summary::before,
.terms-policy-accordion summary::after {
  width: 3px;
  height: .9em;
  border-radius: 5px;
  background-color: var(--color-main);
  content: '';
}

.terms-policy-accordion summary::before {
  position: absolute;
  right: 2em;
  rotate: 90deg;
}

.terms-policy-accordion summary::after {
  transition: rotate .3s;
}

.terms-policy-accordion[open] summary::after {
  rotate: 45deg;
  transform: rotate(45deg);
}

.terms-policy-accordion p {
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: .3em 2em 1.5em;
  color: var(--color-aharacter);
  transition: transform .5s, opacity .5s;
}

.terms-policy-accordion[open] p {
  transform: none;
  opacity: 1;
}

.terms-policy-accordion a {
  color: var(--color-sub2);
  text-decoration: underline;
}

/* アコーディオンのスタイル */
.accordion-container {
  font-size: 15px;
  padding: 0;
  margin: 30px 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: bold;
  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-main);
  transition: transform .5s, opacity .5s;
  text-align: left;
}

.accident-accordion[open] p {
  transform: none;
  opacity: 1;
  text-align: left;
}


/* 基本料金 */
/* 料金表 */
.basic-fee-section {
  text-align: center;
  margin-bottom: 40px;
}

.tax-included {
  font-size: 18px;
}

/* 基本料金テーブル */
.basic-fee.table {
  width: 100%;
  max-width: 600px;
  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;
}

/* 各列の幅を指定 */
.basic-fee.table colgroup col:nth-child(1) {
  width: 50%;
  /* プラン名 */
}

.basic-fee.table colgroup col:nth-child(2) {
  width: 30%;
  /* 価格 */
}

.basic-fee.table colgroup col:nth-child(3) {
  width: 20%;
  /* BOKUNボタン */
}

/* BOKUN予約ボタン */
.bokun-button-container {
  text-align: center;
}

.basic-fee.table td {
  padding: 12px 15px;
  border: none;
  border-bottom: 1px solid var(--color-sub3);
  text-align: center;
}

.basic-fee.table td.price {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-sub1);
}

.basic-fee-notes {
  font-size: 13px;
  color: var(--color-gray);
  margin-top: 30px;
}

/* プラン名（左端の列）に下線を追加 */
.basic-fee.table th {
  border-bottom: 1px solid var(--color-sub3);
}

/* 最後の行の下線を削除 */
.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;
}

.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: 700px;
  }

  .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: -8px;
  left: -58px;
  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: 600px;
  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%;
}


@media screen and (max-width: 768px) {

  .accordion-container {
    max-width: 100%;
    margin-top: 30px;
  }

  .terms-policy-container {
    margin: 0;
  }

  .terms-policy-section h2 {
    margin-top: 0px;
  }

  /* 基本料金 */
  .basic-fee.table {
    width: 90%;
    max-width: 100%;
    margin: 20px auto;
  }

  .basic-fee.table th,
  .basic-fee.table td {
    display: table-cell;
    padding: 12px 10px;
    border: none;
    text-align: center;
    font-size: 14px;
  }

  /* 価格を常に表示 */
  .basic-fee.table td.price {
    display: flow;
  }

  .basic-fee.table th {
    font-size: 18px;
    color: var(--color-gray);
  }

  .basic-fee-notes {
    font-size: 13px;
    color: var(--color-gray);
  }

  /* おすすめバッジ */
  .basic-fee.table tr.recommend {
    padding-top: 0;
    box-sizing: border-box;
  }

  .basic-fee.table tr.recommend th {
    position: relative;
    padding-left: 12px;
  }

  .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: 11px;
    padding: 4px 6px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: -30px;
    transform: rotate(-10deg);
    z-index: 2;
    line-height: 1.2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  }

  .basic-fee.table tr.recommend.recommend-support th::before {
    top: -2px;
  }

  /* 注意書き */
  .basic-fee-notes {
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
    font-size: 11px;
    line-height: 1.6;
    color: var(--color-gray);
    padding: 10px 35px 0;
    text-align: left;
    font-weight: normal;
  }

  .fee-details-container {
    max-width: 90%;
  }

  /* オプション品 */
  .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;
  }

  .basic-fee.table td.price {
    font-size: 18px;
    font-weight: bold;
    padding: 10px 5px;
    background-color: var(--color-main);
    color: var(--color-white);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
  }

  /* 「おすすめ」行 (tr.recommend) の価格セル (td.price) にのみ適用するスタイル */
  .basic-fee.table tr.recommend td.price {
    transform: translateY(15px);
  }

  /* ボタンを非表示にする */
  .basic-fee.table td:nth-child(3) {
    display: none;
  }


  .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;
  }

}

@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;
    width: 100%;
  }

  .accident-accordion[open] p {
    padding: 20px;
  }

  .basic-fee.table tr.recommend th::before {
    left: -40px;
  }
}