/* ============================================
   店舗詳細
   【要確認】数値はモック（1440基準）からの実測
============================================ */

/* --------------------------------------------
   セクション見出し（このページ共通）
   英字 → 日本語 → 装飾線 の順
-------------------------------------------- */
.store-single_head__en {
  width: fit-content;
  font-size: 4.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.store-single_head__ja {
  margin-top: 1.2rem;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--color-gold-dark);
}

/* 店舗紹介の見出しだけ、店舗名が入るぶん少し大きい */
.store-single_head__ja--name {
  font-size: 1.8rem;
}

.store-single_head__mark {
  display: block;
  width: 24.8rem;
  height: 1.6rem;
  max-width: none;
  margin-top: 1.6rem;
  opacity: .5;
}

/* --------------------------------------------
   店舗紹介（左：テキスト / 右：ギャラリー）
-------------------------------------------- */
.store-single_intro {
  padding: 14rem 0;
}

.store-single_intro__inner {
  display: flex;
  align-items: flex-start;
  gap: 4rem; /* 510 + 40 + 550 = 1100 */
}

.store-single_intro__body {
  flex: 0 0 51rem;
  min-width: 0;
}

.store-single_intro__text {
  margin-top: 3.2rem;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

/* SNS */
.store-single_sns {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  margin-top: 3rem;
  padding-top: 2.8rem;
  border-top: 1px solid var(--color-border);
}

.store-single_sns__label {
  flex-shrink: 0;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1; /* 100% */
  letter-spacing: 0.05em;
  color: var(--color-gold-dark); /* #83552E */
}

.store-single_sns__list {
  display: flex;
  align-items: center;
  gap: 1.6rem; /* 32px * 4 + 16px * 3 = 176px */
  list-style: none;
  margin: 0;
  padding: 0;
}

/* アイコンは白抜きのグリフなので、地の茶丸はCSS側で敷く */
.store-single_sns__link {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--color-gold-dark);
  transition: opacity 0.2s;
}

a.store-single_sns__link:hover {
  opacity: 0.75;
}

.store-single_sns__icon {
  display: block;
  width: 3.2rem;
  height: 3.2rem;
}

/* SNS名に対応するアイコンが無いときの保険 */
.store-single_sns__initial {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

/* 予約ボタン（SNSの下） */
.store-single_reserve {
  margin-top: 3rem;
}

/* SNSが無い店舗でも、本文との間隔は同じに見えるようにしておく */
.store-single_sns + .store-single_reserve {
  margin-top: 2.4rem;
}

.store-single_reserve__btn {
  min-width: 24rem;
}

/* --------------------------------------------
   ギャラリー（メイン1枚 + サムネ4枚）
-------------------------------------------- */
.store-single_gallery {
  flex: 0 0 55rem;
  min-width: 0;
}

.store-single_gallery__main {
  position: relative;
  aspect-ratio: 550 / 302;
  overflow: hidden;
  background: var(--color-thumb-bg);
}

.store-single_gallery__slides {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.store-single_gallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.store-single_gallery__slide.is-current {
  opacity: 1;
}

.store-single_gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* 前後ボタン：支給SVGは左向きなので、次へは反転して使う */
.store-single_gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 0;
  background: none;
  transform: translateY(-50%);
  cursor: pointer;
  filter: drop-shadow(0 0 0.4rem rgb(0 0 0 / 25%));
  transition: opacity 0.2s;
}

.store-single_gallery__nav:hover {
  opacity: 0.75;
}

.store-single_gallery__nav--prev { left: 1.2rem; }
.store-single_gallery__nav--next { right: 1.2rem; }

.store-single_gallery__nav img {
  display: block;
  width: 2.6rem;
  height: 2.6rem;
}

.store-single_gallery__nav--next img {
  transform: scaleX(-1);
}

.store-single_gallery__counter {
  position: absolute;
  right: 2rem;
  bottom: 1.6rem;
  z-index: 2;
  min-width: 5.6rem;
  padding: 0.3rem 1.2rem;
  border-radius: 99.9rem;
  background: rgb(255 255 255 / 90%);
  backdrop-filter: blur(1rem);
  color: var(--color-gold-dark);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: center;
}

/* サムネ一覧: 5枚以上はSwiperスライダー / 4枚以下は左詰めグリッド */
.store-single_gallery__thumbs {
  margin: 0;
  list-style: none;
  padding: 0;
}

.store-single_gallery__thumbs-slider {
  margin-top: 1rem;
}

.store-single_gallery__thumbs--static {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.store-single_gallery__thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.2s;
}

.store-single_gallery__thumb.is-current,
.store-single_gallery__thumb:hover {
  opacity: 1;
}

.store-single_gallery__thumb img {
  display: block;
  width: 100%;
  height: auto; /* width/height属性が height を固定してしまうので解除 */
  max-width: none;
  aspect-ratio: 65 / 61;
  object-fit: cover;
  background: var(--color-thumb-bg);
}

/* --------------------------------------------
   店舗情報 ＋ メニュー（背景色つきのまとまり）
-------------------------------------------- */
.store-single_detail {
  --inner-max: 92rem;
  padding: 14rem 0;
  background: #FAF4ED;
}

/* 項目表：横罫線のみで区切る */
.store-single_info__table {
  margin-top: 4.8rem;
}

.store-single_info__row {
  display: flex;
  align-items: center;
  gap: 2.8rem; /* ラベル120 + 28 = 値の開始位置148 */
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--color-border);
}

.store-single_info__label {
  width: 12rem;
  flex-shrink: 0;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

.store-single_info__value {
  flex: 1;
  min-width: 0;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

/* 関連リンク（予約・メニュー・掲載媒体など） */
.store-single_info__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
}

.store-single_info__link {
  color: var(--color-gold-dark);
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  transition: opacity 0.2s;
  word-break: break-all;
}

.store-single_info__link:hover {
  opacity: 0.7;
}

.store-single_info__map {
  margin-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.store-single_info__map iframe {
  display: block;
  width: 100%;
  height: 26rem;
  border: 0;
}

/* 料金案内（宿泊カテゴリーの店舗のみ）：表組みは店舗情報と同じものを使う */
.store-single_price {
  margin-top: 10rem; /* 【要確認】店舗情報との間隔。MENUと同じ値で揃えた */
}

/* 料金は1項目が複数行になりやすいので、ラベルは上揃え */
.store-single_price__table .store-single_info__row {
  align-items: flex-start;
}

/* 「チェックイン・アウト」など長めの項目名が折り返さない幅 */
.store-single_price__table .store-single_info__label {
  width: 16rem;
}

/* メニュー */
.store-single_menu {
  margin-top: 10rem; /* 【要確認】店舗情報との間隔 */
}

/* メニュー写真: 5枚以上はSwiperスライダー / 4枚以下は左詰めグリッド */
.store-single_menu__list {
  margin: 0;
  list-style: none;
  padding: 0;
}

.store-single_menu__slider {
  margin-top: 4.8rem;
}

.store-single_menu__list--static {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 4.8rem;
}

.store-single_menu__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.store-single_menu__btn:hover {
  opacity: 0.85;
}

.store-single_menu__btn > img {
  display: block;
  width: 100%;
  height: auto; /* width/height属性が height を固定してしまうので解除 */
  max-width: none;
  aspect-ratio: 222 / 268;
  border-radius: 1rem;
  object-fit: cover;
  background: var(--color-thumb-bg);
}

/* 拡大アイコン：白90%の円 + 背景ぼかし10 */
.store-single_menu__zoom {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 90%);
  backdrop-filter: blur(1rem);
}

.store-single_menu__zoom img {
  display: block;
  width: 2.6rem;
  height: 2.6rem;
}

.store-single_menu__note {
  /* インラインの行送りで高さが増えないよう flex で中央に置く */
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  padding: 1.7rem;
  border-radius: 1rem;
  background: #fff;
}

/* 文字はゴールドのグラデ。背景と塗り分けたいので中の span に掛ける */
.store-single_menu__note-text {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1; /* 100% */
  letter-spacing: 0;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------
   その他の店舗
-------------------------------------------- */
.store-single_other {
  padding: 14rem 0 0;
  overflow: hidden; /* 右にはみ出したスライドをページ幅で切る */
}

.store-single_other__head {
  display: flex;
  align-items: flex-end; /* 見出しと右のボタンの下端を揃える */
  justify-content: space-between;
  gap: 4rem;
}

.store-single_other__swiper {
  margin-top: 4rem;
  overflow: visible; /* 4枚目以降を見切れさせる */
}

/* 一覧ボタンは PC=見出し右 / SP=スライダーの下 に出し分ける */
.store-single_other__foot-action {
  display: none;
}

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

.store-single_other__item {
  width: 35rem; /* 350 * 3 + 20 * 2 = 1090 */
  height: auto;
}

.store-single_other__link {
  position: relative;
  display: block;
  box-sizing: border-box;
  border-left: 0.4rem solid var(--color-accent); /* #768B62・左のみ4px */
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

/* 写真の上に重ねるベタ（#362F29 30%） */
.store-single_other__link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(54 47 41 / 30%);
  pointer-events: none;
}

.store-single_other__image {
  display: block;
  width: 100%;
  height: auto; /* width/height属性が height を固定してしまうので解除 */
  max-width: none;
  aspect-ratio: 346 / 302; /* 左の枠線4pxを含めてカード全体で350×302 */
  object-fit: cover;
  background: var(--color-thumb-bg);
  transition: transform 0.4s ease;
}

.store-single_other__link:hover .store-single_other__image {
  transform: scale(1.04);
}

.store-single_other__body {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.6rem;
}

.store-single_other__name {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em; /* 店舗一覧カードと同じ理由（長い店名を1行に収める） */
}

/* c-btn--gold c-btn--sm と同じ見た目。カードごとリンクなので入れ子にせず span で作る */
.store-single_other__more {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-width: 21rem;
  padding: 1.2rem 2rem;
  box-sizing: border-box;
  background: var(--gradient-gold);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.store-single_other__more::before {
  content: "";
  position: absolute;
  inset: 0.4rem;
  border: 1px solid rgb(255 255 255 / 60%);
  pointer-events: none;
}

.store-single_other__more::after {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.store-single_other__link:hover .store-single_other__more {
  opacity: 0.85;
}

/* ============================================
   Responsive（768〜414px の専用指定）
============================================ */
@media (max-width: 768px) {
  /* PCの改行位置指定（<br>）はSPでは幅に合わず段落ちするので無効化 */
  .store-single_intro__text br {
    display: none;
  }

  .store-single_head__en {
    font-size: 3rem;
  }

  .store-single_head__ja--name {
    font-size: 1.6rem;
  }

  .store-single_head__mark {
    width: 18rem;
    height: auto;
  }

  /* 店舗紹介 */
  .store-single_intro {
    padding: 8rem 0;
  }

  .store-single_intro__inner {
    flex-direction: column;
    gap: 3.2rem;
  }

  .store-single_intro__body,
  .store-single_gallery {
    flex: 0 0 auto;
    width: 100%;
  }

  .store-single_intro__text {
    margin-top: 2.4rem;
    font-size: 1.5rem;
    line-height: 1.8;
  }

  .store-single_sns {
    gap: 1.6rem;
    margin-top: 2.4rem;
    padding-top: 2rem;
  }

  .store-single_sns__label {
    font-size: 2rem;
  }

  .store-single_reserve {
    margin-top: 2.4rem;
  }

  .store-single_sns + .store-single_reserve {
    margin-top: 2rem;
  }

  .store-single_reserve__btn {
    min-width: 0;
    width: 100%;
  }

  .store-single_gallery__counter {
    right: 1.2rem;
    bottom: 1.2rem;
  }

  /* 店舗情報 ＋ メニュー */
  .store-single_detail {
    padding: 8rem 0;
  }

  .store-single_info__table {
    margin-top: 3.2rem;
  }

  /* 狭い幅ではラベルと内容を縦積みに */
  .store-single_info__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .store-single_info__label {
    width: 100%;
    font-size: 1.5rem;
  }

  .store-single_info__value {
    font-size: 1.5rem;
  }

  .store-single_info__map iframe {
    height: 22rem;
  }

  .store-single_price {
    margin-top: 8rem;
  }

  /* 縦積みになるのでラベル幅の指定は戻す */
  .store-single_price__table .store-single_info__label {
    width: 100%;
  }

  .store-single_menu {
    margin-top: 8rem;
  }

  .store-single_menu__slider {
    margin-top: 3.2rem;
  }

  /* SPの左詰めグリッドは2列 */
  .store-single_menu__list--static {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 3.2rem;
  }

  /* その他の店舗 */
  .store-single_other {
    padding: 8rem 0 0;
  }

  .store-single_other__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.4rem;
  }

  .store-single_other__action {
    display: none;
  }

  .store-single_other__foot-action {
    display: block;
    margin-top: 3.2rem;
  }

  .store-single_other__swiper {
    margin-top: 3.2rem;
  }

  .store-single_other__item {
    width: 26rem;
  }

  .store-single_other__body {
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
    gap: 1rem;
  }

  .store-single_other__name {
    font-size: 1.7rem;
  }

  .store-single_other__more {
    min-width: 0;
    width: 100%;
    padding: 1rem 1.4rem;
    font-size: 1.3rem;
  }
}
