@charset "utf-8";

/* ============================================================
   料金表（price.php / index.php のPRICEセクション共通）
   ホテルヘルス / デリバリーヘルス をタブで切り替える。
   既存の css/style.css は本番( ikenai.jp )と共用のため、このファイルに分離。
   ============================================================ */

.priceWrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
  color: #333;
}

/* ---- タブ -------------------------------------------------- */

.priceTabs__nav {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.priceTabs__tab {
  flex: 1 1 0;
  /* ボタン要素の既定スタイルを打ち消す */
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid #e0d7d5;
  background: #f7f4f3;
  color: #8a807e;
  font-family: inherit;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.3;
  padding: 14px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.priceTabs__tab:hover {
  background: #f0eae8;
}

.priceTabs__tab.is-active {
  background: #f17066;
  border-color: #f17066;
  color: #fff;
  box-shadow: 0 2px 6px rgba(241, 112, 102, 0.4);
}

.priceTabs__tab__sub {
  display: block;
  font-size: 11px;
  font-weight: normal;
  opacity: 0.8;
  margin-top: 3px;
}

/* JSが動かなかった場合に全パネルが縦に並ぶだけで済むよう、
   非表示は .is-hidden を付ける方式にしている（既定は表示） */
.priceTabs__panel.is-hidden {
  display: none;
}

/* ---- 料金グループ ------------------------------------------ */

.priceGroup {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  margin-bottom: 20px;
}

.priceGroup__title {
  margin: 0;
  padding: 13px 18px;
  background: linear-gradient(to bottom, #4a4342, #332e2d);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.04em;
}

/* 表以外（基本プレイ・オプション・交通費）の中身を入れる箱 */
.priceGroup__body {
  padding: 14px 18px;
}

.priceRows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.priceRow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px dashed #e8e2e0;
}

.priceRow:last-child {
  border-bottom: 0;
}

.priceRow__time {
  font-size: 16px;
  font-weight: bold;
  color: #555;
  flex: 0 0 auto;
}

/* 金額は等幅にして桁を揃える。数字が主役なので大きめ */
.priceRow__yen {
  font-size: 24px;
  font-weight: bold;
  color: #d94f43;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.priceRow__yen small {
  font-size: 14px;
  font-weight: bold;
  margin-left: 2px;
}

/* ---- 注記（指名料・基本プレイなど） ------------------------ */

.priceNote {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  padding: 16px 18px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.9;
}

.priceNote__head {
  font-size: 14px;
  font-weight: bold;
  color: #f17066;
  margin: 0 0 6px;
  padding-left: 10px;
  border-left: 3px solid #f17066;
}

.priceNote__head + .priceNote__list {
  margin-top: 0;
}

.priceNote__list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.priceNote__list:last-child {
  margin-bottom: 0;
}

/* 項目名と金額を左右に振り分ける */
.priceNote__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dotted #eee;
}

.priceNote__list li:last-child {
  border-bottom: 0;
}

.priceNote__list li span:last-child {
  font-weight: bold;
  color: #555;
  white-space: nowrap;
}

.priceNote__free {
  background: #fff6f5;
  border: 1px solid #f7ccc8;
  border-radius: 8px;
  color: #d94f43;
  font-weight: bold;
  text-align: center;
  padding: 12px;
  margin-bottom: 20px;
  font-size: 15px;
}

.priceNote__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

.priceNote__caution {
  margin: 8px 0 0;
  font-size: 13px;
  color: #d94f43;
  font-weight: bold;
}

/* ---- オプション -------------------------------------------- */

.priceOption {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dotted #eee;
  align-items: flex-start;
}

.priceOption:last-child {
  border-bottom: 0;
}

.priceOption__price {
  flex: 0 0 84px;
  background: #f17066;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  border-radius: 999px;
  padding: 5px 0;
  white-space: nowrap;
}

.priceOption__items {
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.8;
}

/* ---- 交通費 ------------------------------------------------ */
/* 元は2列テーブルだが、エリア名が長くスマホで潰れるため縦積みに変更 */

.priceArea {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dotted #eee;
  align-items: flex-start;
}

.priceArea:last-child {
  border-bottom: 0;
}

.priceArea__fee {
  flex: 0 0 105px;
  font-size: 14px;
  font-weight: bold;
  color: #d94f43;
  line-height: 1.5;
}

.priceArea__fee small {
  display: block;
  font-size: 11px;
  font-weight: normal;
  color: #999;
}

.priceArea__names {
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.8;
  color: #555;
}

/* ---- TOPからの導線 ----------------------------------------- */

.priceMoreWrap {
  margin-top: 6px;
}

@media (max-width: 600px) {
  .priceWrap {
    padding: 0 12px;
  }

  .priceTabs__tab {
    font-size: 14px;
    padding: 12px 4px;
  }

  .priceRow {
    padding: 12px 14px;
  }

  .priceRow__yen {
    font-size: 21px;
  }

  .priceGroup__title {
    font-size: 15px;
    padding: 11px 14px;
  }

  .priceNote {
    padding: 14px;
  }

  /* エリア名は幅が足りないので縦積みにする */
  .priceArea {
    display: block;
  }

  .priceArea__fee {
    margin-bottom: 4px;
  }

  .priceArea__fee small {
    display: inline;
    margin-left: 6px;
  }

  .priceOption__price {
    flex-basis: 76px;
  }
}
