@charset "UTF-8";
/* ==========================================================================
   「あなたに合う滞在を選ぶ」館別比較表
   - PC: ラベル列 + 3館の4カラムテーブル（CSS Grid）
   - SP: 館ごとの縦積みカード
   親要素を display:contents にして、DOM順は「館ごと」のまま
   PCでは1つのグリッドに流し込むことで行の高さを揃えている。
   ========================================================================== */

.rs-select {
  --sel-bg: #fceee4;
  --sel-card: #fdf8f4;
  --sel-label: #fbf3ec;
  --sel-line: #ebdfd3;
  --sel-ink: #5a4a3d;
  --sel-ink-soft: #7b6a5b;
  --sel-leaf: #a9a877;

  /* 館ごとのアクセント（見出し帯 / 日程ピル） */
  --honkan-head: #efe8d9;
  --honkan-pill: #e7dcc7;
  --kougen-head: #dfe5d8;
  --kougen-pill: #d5decb;
  --youjyou-head: #d9e3e8;
  --youjyou-pill: #cedde5;

  background-color: var(--sel-bg);
  color: var(--sel-ink);
  padding: 120px 40px 130px;
  font-family: "Shippori Mincho B1", "Zen Old Mincho", serif;
}

/* ---------- 見出し ---------- */
.rs-select-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 0 28px;
  font-family: "TsukuAntique", "Shippori Mincho B1", serif;
  font-size: clamp(26px, 3.6vw, 52px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
  text-wrap: balance;
}
.rs-select-leaf {
  flex: none;
  width: clamp(34px, 3.4vw, 62px);
  height: auto;
  color: var(--sel-leaf);
}
.rs-select-leaf--right {
  transform: scaleX(-1);
}

.rs-select-lead {
  margin: 0 auto 54px;
  font-size: clamp(14px, 1.35vw, 21px);
  line-height: 1.9;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--sel-ink-soft);
  text-wrap: pretty;
}

/* ---------- テーブル本体（PC） ---------- */
.rs-select-table {
  display: grid;
  grid-template-columns: minmax(120px, 168px) repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
  background-color: var(--sel-card);
  border: 1px solid var(--sel-line);
  border-radius: 18px;
  overflow: hidden;
}

/* 子要素を直接グリッドアイテムにする（DOM順は館ごとのまま行を揃える） */
.rs-select-labels,
.rs-select-col {
  display: contents;
}

/* 列の割り当て */
.rs-select-labels > * { grid-column: 1; }
.rs-select-col--honkan > * { grid-column: 2; }
.rs-select-col--kougen > * { grid-column: 3; }
.rs-select-col--youjyou > * { grid-column: 4; }

/* 行の割り当て（1:館名 2:写真 3:こんな方に 4:日程 5:特徴 6:予約ボタン） */
.rs-select-labels > *:nth-child(1),
.rs-select-col > *:nth-child(1) { grid-row: 1; }
.rs-select-labels > *:nth-child(2),
.rs-select-col > *:nth-child(2) { grid-row: 2; }
.rs-select-labels > *:nth-child(3),
.rs-select-col > *:nth-child(3) { grid-row: 3; }
.rs-select-labels > *:nth-child(4),
.rs-select-col > *:nth-child(4) { grid-row: 4; }
.rs-select-labels > *:nth-child(5),
.rs-select-col > *:nth-child(5) { grid-row: 5; }
.rs-select-labels > *:nth-child(6),
.rs-select-col > *:nth-child(6) { grid-row: 6; }

/* ---------- セル共通 ---------- */
.rs-select-lbl,
.rs-select-cell,
.rs-select-head,
.rs-select-photo,
.rs-select-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--sel-line);
}
/* 最終行は下線なし */
.rs-select-labels > *:nth-child(6),
.rs-select-col > *:nth-child(6) {
  border-bottom: 0;
}
/* 列の区切り線 */
.rs-select-col > * {
  border-left: 1px solid var(--sel-line);
}

/* ラベル列 */
.rs-select-lbl {
  background-color: var(--sel-label);
  padding: 24px 12px;
  font-size: clamp(13px, 1.15vw, 18px);
  letter-spacing: 0.1em;
  color: var(--sel-ink-soft);
  text-align: center;
}

/* 館名の帯 */
.rs-select-head {
  padding: 22px 12px;
  font-family: "TsukuAntique", "Shippori Mincho B1", serif;
  font-size: clamp(17px, 1.85vw, 28px);
  letter-spacing: 0.12em;
}
.rs-select-col--honkan .rs-select-head { background-color: var(--honkan-head); }
.rs-select-col--kougen .rs-select-head { background-color: var(--kougen-head); }
.rs-select-col--youjyou .rs-select-head { background-color: var(--youjyou-head); }

/* 写真 */
.rs-select-photo {
  padding: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}
.rs-select-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 本文セル */
.rs-select-cell {
  flex-direction: column;
  gap: 12px;
  padding: 26px 18px;
  font-size: clamp(13px, 1.25vw, 20px);
  line-height: 1.8;
  letter-spacing: 0.04em;
  text-align: center;
  text-wrap: balance;
}

/* 日程セル：ピットが縦に2つ並ぶので、ピル同士の間隔をここで確保する
   （.rs-select-cell の gap はラベルと本文の間にしか効かない） */
.rs-select-cell--schedule .rs-select-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* 日程ピル */
.rs-select-pill {
  display: inline-block;
  min-width: 8.5em;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: clamp(13px, 1.2vw, 19px);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.rs-select-col--honkan .rs-select-pill { background-color: var(--honkan-pill); }
.rs-select-col--kougen .rs-select-pill { background-color: var(--kougen-pill); }
.rs-select-col--youjyou .rs-select-pill { background-color: var(--youjyou-pill); }

/* ---------- 館ごとの予約ボタン ----------
   ページ主CTA（緑ベタの「空室状況とプランを見る」）より一段弱い
   セカンダリ表現にして、主導線を食わないようにする */
.rs-select-cta {
  padding: 24px 18px;
}
.rs-select-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 300px;
  min-height: 56px;
  padding: 12px 20px;
  border: 1px solid var(--rs-green, #0d6951);
  border-radius: 999px;
  background-color: #fff;
  color: var(--rs-green, #0d6951);
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(13px, 1.15vw, 18px);
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.rs-select-btn:hover,
.rs-select-btn:focus-visible {
  background-color: var(--rs-green, #0d6951);
  color: #fff;
}
.rs-select-btn svg {
  flex: none;
  width: 1.15em;
  height: 1.15em;
}

/* SPでのみ出すセル内ラベル */
.rs-select-inline-lbl {
  display: none;
}

/* ==========================================================================
   SP：館ごとの縦積みカード
   ========================================================================== */
@media screen and (max-width: 991px) {
  .rs-select {
    padding: 70px 20px 80px;
  }
  .rs-select-title {
    gap: 12px;
    margin-bottom: 18px;
  }
  .rs-select-lead {
    margin-bottom: 32px;
  }

  /* グリッドを解除してカードを縦に並べる */
  .rs-select-table {
    display: flex;
    flex-direction: column;
    gap: 22px;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }
  .rs-select-labels {
    display: none;
  }
  .rs-select-col {
    display: flex;
    flex-direction: column;
    background-color: var(--sel-card);
    border: 1px solid var(--sel-line);
    border-radius: 14px;
    overflow: hidden;
  }
  /* PC用のグリッド指定を無効化 */
  .rs-select-col > * {
    grid-column: auto;
    grid-row: auto;
    border-left: 0;
  }
  .rs-select-col > *:last-child {
    border-bottom: 0;
  }

  .rs-select-head {
    padding: 14px 12px;
    font-size: 20px;
  }
  .rs-select-photo {
    aspect-ratio: 16 / 9;
  }
  .rs-select-cell {
    align-items: stretch;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 16px 18px;
    font-size: 14px;
    text-align: left;
  }
  /* セル内ラベルを表示して「項目：内容」の形にする */
  .rs-select-inline-lbl {
    display: block;
    flex: none;
    width: 5.6em;
    color: var(--sel-ink-soft);
    font-size: 12px;
    letter-spacing: 0.04em;
    line-height: 2;
    white-space: nowrap;
  }
  .rs-select-cell > .rs-select-body {
    flex: 1;
    min-width: 0;
    line-height: 2;
  }
  .rs-select-cell--schedule .rs-select-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .rs-select-pill {
    min-width: 0;
    padding: 5px 16px;
    font-size: 13px;
  }

  .rs-select-cta {
    padding: 16px 18px 20px;
  }
  .rs-select-btn {
    max-width: none;
    min-height: 50px;
    font-size: 15px;
  }
}

@media screen and (max-width: 400px) {
  .rs-select-title {
    font-size: 23px;
  }
  .rs-select-inline-lbl {
    width: 5em;
  }
}
