/* 商品ページ・商品説明共通スタイル。親テーマの既存構造は変更しません。 */

/* ----------------------------------------------------
  商品ページ・商品説明全体
  4種類の商品ページで共通利用するレイアウト
----------------------------------------------------- */

/* ----------------------------------------------------
  商品ページ・商品説明の基本
----------------------------------------------------- */

.refresh-product {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  box-sizing: border-box;
  color: #3d342f;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.9;
  font-size: 16px;
}

/* ----------------------------------------------------
  商品説明欄の外側も商品全体の幅に合わせる
----------------------------------------------------- */

.single_product_content {
  width: 100%;
  max-width: none;
}

/* ----------------------------------------------------
  商品説明ブロック
----------------------------------------------------- */

.refresh-product .refresh-product__intro,
.refresh-product .refresh-product__card,
.refresh-product .refresh-product__product,
.refresh-product .refresh-product__room,
.refresh-product .refresh-product__place,
.refresh-product .refresh-product__flow {
  margin: 0 0 24px;
  padding: 20px 24px;
  border-radius: 9px;
}

.refresh-product .refresh-product__intro {
  padding: 22px 24px;
  background: #fcfaf7;
  border-left: 5px solid #0c6074;
  border-radius: 5px;
}

.refresh-product .refresh-product__intro-label {
  margin: 0 0 10px;
  color: #0c6074;
  font-size: 14px;
  letter-spacing: .08em;
}

.refresh-product .refresh-product__intro-title {
  margin: 0;
  color: #4b3734;
  font-size: 21px;
  line-height: 1.7;
}

.refresh-product .refresh-product__card {
  background: #fff;
  border: 1px solid #eadfdb;
}

.refresh-product .refresh-product__product {
  background: #f7f3ed;
  border: 1px solid #e5d7c6;
}

.refresh-product .refresh-product__room {
  background: #fff;
  border: 1px solid #eadfdb;
}

.refresh-product .refresh-product__place {
  background: linear-gradient(135deg, #f7f1e9, #fffaf5);
  border: 1px solid #e7d8c7;
}

.refresh-product .refresh-product__flow {
  margin-bottom: 0;
  background: #fff;
  border: 1px solid #eadfdb;
}

/* ----------------------------------------------------
  見出し
----------------------------------------------------- */

.refresh-product h3 {
  margin: 0 0 12px;
  padding: 0 0 9px;
  color: #694c3d;
  font-size: 20px;
  border-bottom: 2px solid #b99472;
}

.refresh-product .refresh-product__room h3 {
  color: #0c6074;
  border-bottom-color: #0c6074;
}

.refresh-product .refresh-product__place h3 {
  margin-bottom: 18px;
  color: #694c3d;
  font-size: 22px;
  line-height: 1.6;
  text-align: center;
  border-bottom: 0;
}

.refresh-product p { margin: 0; }
.refresh-product .refresh-product__intro-label { margin-bottom: 10px; }
.refresh-product .refresh-product__card p + p,
.refresh-product .refresh-product__room p + p { margin-top: 10px; }

/* ----------------------------------------------------
  商品情報バッジ
----------------------------------------------------- */

.refresh-product__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}

.refresh-product__badge {
  display: inline-block;
  padding: 7px 15px;
  color: #694c3d;
  background: #ead8c4;
  border-radius: 999px;
  font-weight: 600;
}

/* ----------------------------------------------------
  ボックス内部画像
----------------------------------------------------- */

.refresh-product__box-photo {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  float: left;
  margin: 0 28px 16px 0;
  border-radius: 7px;
}

.refresh-product__room::after {
  content: "";
  display: table;
  clear: both;
}

.refresh-product__blue-emphasis {
  color: #0c6074;
  font-weight: 700;
}

/* ----------------------------------------------------
  店舗・利用場所の説明
----------------------------------------------------- */

.refresh-product__place-layout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.refresh-product__place-images {
  flex: 0 0 220px;
  width: 220px;
  max-width: 100%;
}

.refresh-product__place-images img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
}

.refresh-product__place-images img + img { margin-top: 12px; }

.refresh-product__place-copy {
  flex: 1;
  min-width: 240px;
  padding-top: 2px;
}

.refresh-product__place-copy p + p { margin-top: 12px; }
.refresh-product__place-copy p:nth-child(2) { margin-bottom: 14px; }

/* ----------------------------------------------------
  説明メッセージ
----------------------------------------------------- */

.refresh-product__message {
  padding: 13px 15px;
  background: rgba(255, 255, 255, .72);
  border-left: 3px solid #b99472;
  border-radius: 4px;
}

.refresh-product__message-title {
  margin-bottom: 6px !important;
  color: #694c3d;
  font-weight: 600;
}

.refresh-product__message p {
  font-size: 14px;
  line-height: 1.8;
}

.refresh-product__message p + p { margin-top: 8px; }

/* ----------------------------------------------------
  ご利用の流れ
----------------------------------------------------- */

.refresh-product__flow ol {
  margin: 0;
  padding-left: 24px;
}

.refresh-product__flow li { margin-bottom: 8px; }
.refresh-product__flow li:last-child { margin-bottom: 0; }

.refresh-product__booking-link {
  display: inline-block;
  color: #8a5c45;
  text-decoration: none;
  font-size: 22px;
  line-height: 1;
  vertical-align: -2px;
}

.refresh-product__map-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
  color: #8a5c45;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.refresh-product__map-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ----------------------------------------------------
  スマートフォン表示
----------------------------------------------------- */

@media screen and (max-width: 600px) {
  .refresh-product .refresh-product__intro,
  .refresh-product .refresh-product__card,
  .refresh-product .refresh-product__product,
  .refresh-product .refresh-product__room,
  .refresh-product .refresh-product__place,
  .refresh-product .refresh-product__flow {
    padding: 18px 16px;
  }

  .refresh-product__place-images {
    flex: 1 1 100%;
    width: 100%;
  }

  .refresh-product__place-images img {
    width: 100%;
  }

  .refresh-product__place-copy { min-width: 0; }

  .refresh-product__box-photo {
    float: none;
    margin: 0 auto 18px;
  }
}
