/* ==========================================================================
   ベストレート保証ページ専用スタイル (高級和モダン・ダークテーマ最適化)
   和空 成田山門前の高級感あふれる宿のイメージに合わせたデザイン
   ========================================================================== */

/* ページ全体の余白調整 */
.page-bestrate {
  padding: 80px 0 150px;
  background-color: #1C1C1C; /* ヘッダーや他ページと共通の背景色に統一 */
}
@media screen and (max-width: 768px) {
  .page-bestrate {
    padding: 50px 0 100px;
  }
}

/* --------------------------------------------------------------------------
   ① タイトルエリアの高級化
   -------------------------------------------------------------------------- */
.page-bestrate .page-title {
  text-align: center;
  position: relative;
  padding: 80px 0;
  margin-bottom: 80px;
  /* 薄いゴールドの円形光彩背景 */
  background: radial-gradient(circle, rgba(180, 157, 61, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
}
@media screen and (max-width: 768px) {
  .page-bestrate .page-title {
    padding: 50px 0;
    margin-bottom: 50px;
  }
}

/* 上下の極細ゴールドデコレーションライン */
.page-bestrate .page-title::before,
.page-bestrate .page-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 1px;
}
.page-bestrate .page-title::before {
  top: 0;
  background: linear-gradient(90deg, transparent, rgba(180, 157, 61, 0.6), transparent);
}
.page-bestrate .page-title::after {
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(180, 157, 61, 0.6), transparent);
}

.page-bestrate .page-title .eng-ttl {
  font-family: "Catamaran", sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #b49d3d; /* ゴールド */
  letter-spacing: 0.25em;
  margin-bottom: 15px;
  line-height: 1;
}
.page-bestrate .page-title .ja-ttl {
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.15em;
  line-height: 1.2;
}
@media screen and (max-width: 768px) {
  .page-bestrate .page-title .eng-ttl {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .page-bestrate .page-title .ja-ttl {
    font-size: 24px;
  }
}

/* キャッチコピーの装飾 */
.bestrate-catch {
  text-align: center;
  margin-top: -30px;
  margin-bottom: 80px;
}
.bestrate-catch p {
  display: inline-block;
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 600;
  color: #b49d3d; /* ゴールドカラー */
  letter-spacing: 0.1em;
  line-height: 1.6;
  position: relative;
  padding: 0 45px;
}
/* 左右の和風デコレーションライン */
.bestrate-catch p::before,
.bestrate-catch p::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 1px;
}
.bestrate-catch p::before {
  left: 0;
  background: linear-gradient(90deg, transparent, #b49d3d);
}
.bestrate-catch p::after {
  right: 0;
  background: linear-gradient(90deg, #b49d3d, transparent);
}
@media screen and (max-width: 768px) {
  .bestrate-catch {
    margin-top: -20px;
    margin-bottom: 50px;
    padding: 0 15px;
  }
  .bestrate-catch p {
    font-size: 15px;
    padding: 0 25px;
    line-height: 1.8;
  }
  .bestrate-catch p::before,
  .bestrate-catch p::after {
    width: 15px;
  }
}

/* --------------------------------------------------------------------------
   ② ベストレートバッジ (ゴールドエンブレムの洗練)
   -------------------------------------------------------------------------- */
.bestrate-intro {
  text-align: center;
  margin-bottom: 100px;
}
@media screen and (max-width: 768px) {
  .bestrate-intro {
    margin-bottom: 70px;
  }
}

/* --------------------------------------------------------------------------
   ② ベストレートバナー (画像の組み込みと最適化)
   -------------------------------------------------------------------------- */
.bestrate-intro-banner {
  text-align: center;
  max-width: 760px; /* トップページのバナーサイズと統一 */
  margin: 0 auto 40px;
  box-shadow: 0 0 40px rgba(180, 157, 61, 0.25); /* 金色の柔らかな光彩 */
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(180, 157, 61, 0.2);
}
.bestrate-intro-banner img {
  width: 100%;
  height: auto;
  display: block;
}
@media screen and (max-width: 768px) {
  .bestrate-intro-banner {
    max-width: 90%;
    margin-bottom: 30px;
  }
}

.bestrate-intro__txt {
  font-size: 16px;
  line-height: 2.4;
  letter-spacing: 0.06em;
  color: #ddd; /* やや明るめの白に近いグレー */
  max-width: 800px;
  margin: 40px auto 0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
@media screen and (max-width: 768px) {
  .bestrate-intro__txt {
    font-size: 14px;
    line-height: 1.9;
    margin-top: 30px;
    padding: 0 15px;
  }
  .bestrate-intro__txt br.pc-only {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   ③ 各セクションと高級見出し
   -------------------------------------------------------------------------- */
.bestrate-section {
  margin-bottom: 120px;
}
@media screen and (max-width: 768px) {
  .bestrate-section {
    margin-bottom: 80px;
  }
}

.bestrate-section__caption {
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  padding-left: 20px;
  border-left: 4px solid #b49d3d; /* 左側に太めのゴールド縦線 */
  margin-bottom: 40px;
  letter-spacing: 0.08em;
  position: relative;
  line-height: 1.4;
}
/* 見出しの下にフェードアウトするゴールド極細ラインを追加 */
.bestrate-section__caption::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(180, 157, 61, 0.5) 0%, rgba(180, 157, 61, 0.1) 70%, transparent 100%);
}
@media screen and (max-width: 768px) {
  .bestrate-section__caption {
    font-size: 20px;
    padding-left: 15px;
    margin-bottom: 30px;
  }
}
.bestrate-section__caption .eng {
  display: block;
  font-family: "Catamaran", sans-serif;
  font-size: 13px;
  color: #b49d3d;
  font-weight: 600;
  padding-bottom: 6px;
  letter-spacing: 0.2em;
}

.bestrate-section__txt {
  font-size: 15px;
  line-height: 1.8;
  color: #bbb;
  margin-bottom: 30px;
  letter-spacing: 0.03em;
}
@media screen and (max-width: 768px) {
  .bestrate-section__txt {
    font-size: 14px;
    margin-bottom: 20px;
    padding: 0 5px;
  }
  .bestrate-section__txt br.pc-only {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   ④ 和風リスト表示 (箇条書きの高級化)
   -------------------------------------------------------------------------- */
.bestrate-list {
  padding-left: 5px;
  margin-top: 25px;
}
.bestrate-list li {
  list-style: none;
  position: relative;
  padding-left: 25px;
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.9;
  color: #eee;
  letter-spacing: 0.02em;
}
@media screen and (max-width: 768px) {
  .bestrate-list li {
    font-size: 14px;
    margin-bottom: 12px;
  }
}
/* 金色の小さな和風の菱形をアイコンとして採用 */
.bestrate-list li::before {
  content: "◆";
  font-size: 10px;
  color: #b49d3d;
  position: absolute;
  left: 2px;
  top: 1px;
}

/* --------------------------------------------------------------------------
   ⑤ 独自設計アコーディオン (高級感あふれる和モダンアコーディオン)
   -------------------------------------------------------------------------- */
.bestrate-qa-list {
  margin-top: 35px;
  padding-left: 0;
}

.bestrate-qa-item {
  list-style: none;
  border: 1px solid rgba(180, 157, 61, 0.2);
  background-color: rgba(255, 255, 255, 0.02);
  margin-bottom: 20px;
  transition: all 0.35s ease;
  border-radius: 2px;
}
/* ホバー時に枠線が金色に輝き、少し浮き上がるインタラクティブ演出 */
.bestrate-qa-item:hover {
  border-color: rgba(180, 157, 61, 0.6);
  background-color: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.bestrate-qa-ques {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .bestrate-qa-ques {
    padding: 16px 20px;
  }
}

/* 金色の「Q」アイコン */
.bestrate-qa-ques-q {
  font-family: "Catamaran", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #b49d3d;
  margin-right: 20px;
  line-height: 1;
  flex-shrink: 0;
}
@media screen and (max-width: 768px) {
  .bestrate-qa-ques-q {
    font-size: 20px;
    margin-right: 15px;
  }
}

.bestrate-qa-ques-text {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: #fff;
  flex-grow: 1;
  letter-spacing: 0.03em;
}
@media screen and (max-width: 768px) {
  .bestrate-qa-ques-text {
    font-size: 14px;
  }
}

/* 高級感のある開閉プラス/マインスアイコン (CSS3トランジション) */
.bestrate-qa-ques-icon {
  display: block;
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: 20px;
  transition: transform 0.4s ease;
}
@media screen and (max-width: 768px) {
  .bestrate-qa-ques-icon {
    width: 18px;
    height: 18px;
    margin-left: 10px;
  }
}
/* プラス記号の縦横線を引く */
.bestrate-qa-ques-icon::before,
.bestrate-qa-ques-icon::after {
  content: "";
  position: absolute;
  background-color: #b49d3d;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
/* 横線 */
.bestrate-qa-ques-icon::before {
  width: 16px;
  height: 2px;
}
/* 縦線 */
.bestrate-qa-ques-icon::after {
  width: 2px;
  height: 16px;
}
@media screen and (max-width: 768px) {
  .bestrate-qa-ques-icon::before { width: 12px; height: 1.5px; }
  .bestrate-qa-ques-icon::after { width: 1.5px; height: 12px; }
}

/* 開いたときのプラス/マイナスアニメーション */
.bestrate-qa-item.open .bestrate-qa-ques-icon {
  transform: rotate(135deg); /* 45度回転させてバツ印からマイナスのような見栄えへ */
}
.bestrate-qa-item.open .bestrate-qa-ques-icon::after {
  opacity: 0; /* 縦線を消して完全なマイナスにする */
}

/* 滑らかなCSS3トランジションアコーディオンパネル */
.bestrate-qa-ans {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

/* アコーディオン展開時のスタイル定義 */
.bestrate-qa-item.open .bestrate-qa-ans {
  max-height: 400px; /* 回答テキストが十分に収まる最大高さ */
  opacity: 1;
}

.bestrate-qa-ans-inner {
  padding: 0 30px 25px 76px; /* Qアイコンとテキストの開始位置に揃える */
}
@media screen and (max-width: 768px) {
  .bestrate-qa-ans-inner {
    padding: 0 20px 20px 53px;
  }
}

.bestrate-qa-ans-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #fff; /* 回答文の視認性を考慮して白に変更 */
  letter-spacing: 0.02em;
}
@media screen and (max-width: 768px) {
  .bestrate-qa-ans-text {
    font-size: 13.5px;
  }
}

/* --------------------------------------------------------------------------
   ⑥ 予約コンタクトボタン
   -------------------------------------------------------------------------- */
.bestrate-reserve {
  text-align: center;
  margin: 80px auto 50px;
}
@media screen and (max-width: 768px) {
  .bestrate-reserve {
    margin: 50px auto 30px;
  }
}

.bestrate-reserve__btn {
  display: inline-block;
  border: 2px solid #b49d3d;
  background-color: transparent;
  color: #b49d3d;
  padding: 20px 60px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: all 0.35s ease;
  box-sizing: border-box;
  box-shadow: 0 0 15px rgba(180, 157, 61, 0.1);
}
@media screen and (max-width: 768px) {
  .bestrate-reserve__btn {
    display: block;
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
  }
}

.bestrate-reserve__btn:hover {
  background-color: #b49d3d;
  color: #000; /* ホバー時は文字が黒、背景が金色 */
  box-shadow: 0 0 25px rgba(180, 157, 61, 0.4);
  transform: translateY(-1px);
}
.bestrate-reserve__btn span {
  position: relative;
  padding-right: 25px;
}
.bestrate-reserve__btn span::after {
  content: "▶";
  font-size: 10px;
  position: absolute;
  right: 0;
  top: 52%;
  transform: translateY(-50%);
}
