@charset "UTF-8";
/* =========================================================
   ReFa GINZA - GIFT & SERVICE 専用
     INTRO / 帯見出し（写真＋タイトル）/ 商品カード（写真ギャラリー・タグ・色・More Details）/ POUCH
   ※アコーディオン（.acc）は common/css/common.css
   ========================================================= */

/* ---------- INTRO ---------- */
.gs_intro {
  padding: calc(220 * var(--p)) 0 calc(170 * var(--p));
  color: var(--brown);
}
.gs_intro_lead {
  font-size: calc(26 * var(--p));
  line-height: 1.9;
  letter-spacing: .14em;
}
.gs_intro_txt {
  margin-top: calc(34 * var(--p));
  font-family: var(--font-ja); font-weight: 600;   /* 11/05：他ページと同じ Shippori Mincho に */
  font-size: max(calc(13 * var(--p)), 12px);
  line-height: 2.2;
  letter-spacing: .08em;
}
@media (max-width: 767px) {
  .gs_intro { padding: calc(80 * var(--p)) calc(34 * var(--p)) calc(70 * var(--p)); }
  .gs_intro_lead { font-size: calc(21 * var(--p)); line-height: 1.7; }
  .gs_intro_txt { margin-top: calc(26 * var(--p)); font-size: calc(12.5 * var(--p)); line-height: 1.9; letter-spacing: .1em; }
}

/* ---------- 帯見出し（写真＋左下にタイトル） ---------- */
.band {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 1920 / 800;
  padding: 0 calc(100 * var(--pw)) calc(70 * var(--pw));
  color: #fff;
  overflow: hidden;
}
.band_img {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.band_img picture { display: block; width: 100%; height: 100%; }   /* SP はスマホ用の画像に切り替え（10/26） */
.band_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);   /* 書き出した画像の外周 10px が半透明のため、少し拡大して隠す */
}
.band_img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .3), transparent 50%);
}
.band { isolation: isolate; }
.band_ttl {
  font-size: calc(48 * var(--p));
  line-height: 1.15;
  letter-spacing: .06em;
}
.band_sub {
  margin-top: calc(18 * var(--p));
  font-size: max(calc(20 * var(--p)), 12px);
  letter-spacing: .1em;
}
@media (max-width: 767px) {
  .band { aspect-ratio: 414 / 620; padding: 0 calc(20 * var(--p)) calc(32 * var(--p)); }
  .band_ttl { font-size: calc(36 * var(--p)); line-height: 1.1; }
  .band_sub { margin-top: calc(12 * var(--p)); font-size: calc(15 * var(--p)); }
}

/* ---------- 商品カード ---------- */
.items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(32 * var(--p));
  align-items: start;
  padding: calc(56 * var(--p)) 0 calc(60 * var(--p));
}
.items--service { padding-bottom: calc(150 * var(--p)); }
.item_tags {
  display: flex;
  flex-wrap: wrap;
  gap: calc(8 * var(--p));
  margin-top: calc(18 * var(--p));
}
.tag {
  padding: .2em .7em;
  border: 1px solid var(--brown);
  font-family: var(--font-sans); font-weight: 400;
  font-size: max(calc(11 * var(--p)), 10px);
  letter-spacing: .04em;
  color: var(--brown);
}
.tag--fill {
  border-color: transparent;
  background: linear-gradient(90deg, #ead9c6, #f6ede4);
}
.item_ttl {
  margin-top: calc(28 * var(--p));
  font-size: calc(28 * var(--p));
  line-height: 1.3;
  letter-spacing: .02em;
  color: var(--brown);
}
.item_txt {
  margin-top: calc(16 * var(--p));
  font-family: var(--font-sans); font-weight: 400;
  font-size: max(calc(13 * var(--p)), 12px);
  line-height: 1.7;
  color: var(--brown);
}
.item_note {
  margin-top: calc(20 * var(--p));
  font-family: var(--font-sans); font-weight: 400;
  font-size: max(calc(11.5 * var(--p)), 10px);
  line-height: 1.7;
  color: var(--brown);
}
.item .acc { margin-top: calc(24 * var(--p)); }

/* 色の選択 */
.item_colors {
  display: flex;
  align-items: center;
  gap: calc(14 * var(--p));
  margin-top: calc(22 * var(--p));
  font-family: var(--font-sans); font-weight: 400;
  font-size: max(calc(12 * var(--p)), 11px);
  color: #b9a592;
}
.swatch {
  position: relative;
  width: calc(10 * var(--p));
  height: calc(10 * var(--p));
  min-width: 9px;
  min-height: 9px;
  border-radius: 50%;
  background: var(--c);
}
/* 押せる範囲を広げる（見た目は変えない） */
.swatch::before {
  content: "";
  position: absolute;
  inset: -9px;
}
/* 選択中は外側にリング */
.swatch::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--brown);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.swatch[aria-pressed="true"]::after { opacity: 1; transform: none; }

/* ---------- 写真ギャラリー（メイン＋サムネイル・前後ボタン） ---------- */
.gal_main {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
/* 切り替えは左右のスライド（JS が transform をアニメーション） */
.gal_slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
}
.gal_slide.is-active { visibility: visible; }
.gal--single .gal_arrow,
.gal--single:not([data-single-thumb]) .gal_thumbs { display: none; }
.gal--single .gal_thumb { pointer-events: none; }   /* 1 枚なので押しても何も起きない */
.gal_slide img,
.gal_slide video { width: 100%; height: 100%; object-fit: cover; }
.gal_arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: calc(42 * var(--p));
  height: calc(42 * var(--p));
  min-width: 28px;
  min-height: 28px;
  background: rgba(60, 50, 45, .45);
  transform: translateY(-50%);
  transition: background-color .4s var(--ease), opacity .4s var(--ease);
}
.gal_arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: translate(-70%, -50%) rotate(45deg);
}
.gal_arrow--prev { left: 0; }
.gal_arrow--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.gal_arrow--next { right: 0; }
.gal_thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: calc(8 * var(--p));
  margin-top: calc(8 * var(--p));
}
.gal_thumb {
  position: relative;
  width: calc(55 * var(--p));
  aspect-ratio: 1;
  opacity: .55;
  transition: opacity .4s var(--ease);
}
.gal_thumb::before {
  /* 選択中の枠 */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 2px solid var(--brown);   /* 10/27：1px → 2px */
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.gal_thumb[aria-current="true"] { opacity: 1; }
.gal_thumb[aria-current="true"]::before { opacity: 1; }
.gal_thumb > .ph,
.gal_thumb > img { width: 100%; height: 100%; object-fit: cover; }
/* 動画のサムネイル（▶） */
.gal_thumb--movie::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 44%;
  aspect-ratio: 1;
  border: 1px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.gal_play {
  /* メインの動画スライド中央の ▶ */
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(64 * var(--p));
  aspect-ratio: 1;
  border: 1px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.gal_play::before,
.gal_thumb--movie > .ph::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-50%, -50%);
}
.gal_thumb--movie > .ph::before { z-index: 2; border-width: 4px 0 4px 6px; }

@media (hover: hover) and (pointer: fine) {
  .gal_arrow:hover { background: rgba(60, 50, 45, .7); }
  .gal_thumb:hover { opacity: 1; }
  .swatch { transition: transform .4s var(--ease); }
  .swatch:hover { transform: scale(1.15); }
}

@media (max-width: 767px) {
  .items {
    grid-template-columns: 1fr;
    gap: calc(60 * var(--p));
    padding: calc(34 * var(--p)) calc(20 * var(--p)) calc(60 * var(--p));
  }
  .items--service { padding-bottom: calc(80 * var(--p)); }
  .items { gap: calc(90 * var(--p)); padding-top: calc(26 * var(--p)); }
  .gal_main { aspect-ratio: 1; }
  .gal_thumbs { gap: calc(7 * var(--p)); margin-top: calc(7 * var(--p)); }
  .gal_thumb { width: calc(46 * var(--p)); }
  .gal_play { width: calc(50 * var(--p)); }
  .gal_arrow { width: calc(28 * var(--p)); height: calc(28 * var(--p)); }
  .item_tags { margin-top: calc(20 * var(--p)); gap: calc(7 * var(--p)); }
  .tag { padding: .3em .9em; font-size: calc(9 * var(--p)); }
  .item_ttl { margin-top: calc(20 * var(--p)); font-size: calc(26 * var(--p)); letter-spacing: .04em; }
  .item_txt { margin-top: calc(8 * var(--p)); font-size: calc(11 * var(--p)); line-height: 1.8; letter-spacing: .04em; }
  .item_note { margin-top: calc(14 * var(--p)); font-size: calc(9.5 * var(--p)); }
  .item_colors { margin-top: calc(26 * var(--p)); gap: calc(18 * var(--p)); font-size: calc(13 * var(--p)); }
  .swatch { width: calc(12 * var(--p)); height: calc(12 * var(--p)); }
  .item .acc { margin-top: calc(20 * var(--p)); }
  .item .acc_head { font-size: calc(11 * var(--p)); }
  .item .acc_body { font-size: calc(11 * var(--p)); line-height: 1.8; }
}

/* ---------- Ginza Limited Pouch ---------- */
.pouch {
  width: calc(1020 * var(--p));
  margin: calc(30 * var(--p)) auto calc(180 * var(--p));
  padding: calc(50 * var(--p)) calc(50 * var(--p)) calc(40 * var(--p));
  background: var(--beige);
  color: var(--brown);
}
.pouch_ttl {
  text-align: center;
  font-size: calc(32 * var(--p));
  letter-spacing: .02em;
}
.pouch_lead {
  margin-top: calc(14 * var(--p));
  text-align: center;
  font-family: var(--font-sans); font-weight: 400;
  font-size: max(calc(12.5 * var(--p)), 11px);
}
.pouch_box {
  display: grid;
  grid-template-columns: calc(445 * var(--p)) 1fr;
  gap: calc(38 * var(--p));
  align-items: start;
  margin-top: calc(30 * var(--p));
}
.pouch_img { aspect-ratio: 445 / 285; }
.pouch_list {
  font-family: var(--font-sans); font-weight: 400;
  font-size: max(calc(12.5 * var(--p)), 11px);
  line-height: 1.75;
}
.pouch_list li {
  display: flex;
  gap: .6em;
  padding: calc(14 * var(--p)) 0;
  border-bottom: 1px solid var(--line);
}
.pouch_list li:first-child { padding-top: 0; }
.pouch_list b { flex: none; font-weight: 600; }
.pouch_note {
  margin-top: calc(14 * var(--p));
  font-family: var(--font-sans); font-weight: 400;
  font-size: max(calc(10.5 * var(--p)), 9px);
}
@media (max-width: 767px) {
  .pouch {
    width: auto;
    margin: calc(50 * var(--p)) calc(20 * var(--p)) calc(90 * var(--p));
    padding: calc(40 * var(--p)) calc(30 * var(--p));
  }
  .pouch_ttl { font-size: calc(24 * var(--p)); }
  .pouch_lead { margin-top: calc(20 * var(--p)); font-size: calc(11 * var(--p)); line-height: 1.8; text-align: left; }
  .pouch_box { grid-template-columns: 1fr; gap: calc(26 * var(--p)); margin-top: calc(26 * var(--p)); }
  .pouch_list { font-size: calc(11 * var(--p)); line-height: 1.8; }
  .pouch_list li { padding: calc(14 * var(--p)) 0 calc(18 * var(--p)); }
  .pouch_note { margin-top: calc(16 * var(--p)); font-size: calc(9.5 * var(--p)); }
}

/* =========================================================
   10/25 デザイン反映（PC・デザイン実測）
   ========================================================= */
@media (min-width: 768px) {
  .gs_intro { padding-top: calc(200 * var(--p)); padding-bottom: calc(213 * var(--p)); }
  .gs_intro_lead { font-size: calc(30 * var(--p)); letter-spacing: .02em; }
  .band { padding-bottom: calc(57 * var(--pw)); }
  .band_ttl { font-size: calc(44 * var(--p)); line-height: calc(54 * var(--p)); letter-spacing: .125em; }
  .band_sub { margin-top: calc(5 * var(--p)); letter-spacing: 0; }
  .tag { font-size: calc(8.8 * var(--p)); }
  .item_ttl { margin-top: calc(28 * var(--p)); font-size: calc(25.3 * var(--p)); letter-spacing: .09em; }
  .gal_thumbs { padding-bottom: calc(7 * var(--p)); }
  .gal_thumb { opacity: 1; }   /* 選んでいないサムネイルも薄くしない（選択中は枠線） */
  .swatch { width: calc(13 * var(--p)); height: calc(13 * var(--p)); }
  .item_colors { margin-top: calc(28 * var(--p)); }
  .item_txt { margin-top: calc(9 * var(--p)); }
  .item .acc { margin-top: calc(14 * var(--p)); }
  .gs_intro_txt { margin-top: calc(30 * var(--p)); font-size: calc(13.65 * var(--p)); line-height: calc(29 * var(--p)); }
}
@media (min-width: 768px) {
  /* Ginza Limited Pouch：幅 920・高さ 442（デザイン実測） */
  .pouch { width: calc(920 * var(--p)); padding: calc(50 * var(--p)) calc(41 * var(--p)) calc(33 * var(--p)) calc(45 * var(--p)); }
  .pouch_ttl { font-size: calc(24.9 * var(--p)); line-height: 1.3; letter-spacing: 0; }
  .pouch_lead { margin-top: calc(22 * var(--p)); font-size: calc(11.6 * var(--p)); letter-spacing: 0; }
  .pouch_box { grid-template-columns: calc(398 * var(--p)) 1fr; gap: calc(34 * var(--p)); margin-top: calc(28 * var(--p)); }
  .pouch_list { margin-top: calc(-4 * var(--p)); font-size: calc(12 * var(--p)); line-height: calc(20 * var(--p)); letter-spacing: -.01em; }
  .pouch_list li { padding: calc(20 * var(--p)) 0 calc(16 * var(--p)); }
  .pouch_list li:last-child { border-bottom: 0; }
  .pouch { margin-bottom: calc(167 * var(--p)); }
  /* サービスのカード：タイトルの字間は狭め（Shopping Bag も 1 行）、タグは商品より大きめ */
  .items--service .item_ttl { letter-spacing: .03em; }
  .items--service .item_tags { margin-top: calc(29 * var(--p)); }
  .items--service .tag { font-size: max(calc(11 * var(--p)), 10px); }
}

/* 10/26：KV 下の本文を EXPERIENCE・GIFT & SERVICE・About で同じ大きさに（3 ページ共通の値） */
@media (min-width: 768px) {
  .gs_intro_txt { font-size: max(calc(13.5 * var(--p)), 12px); line-height: 2.22; letter-spacing: .08em; }   /* 1920 で 13.5px／行 30px。TB でも 12px より小さくしない */
}
@media (max-width: 767px) {
  .gs_intro_txt { font-size: calc(12.5 * var(--p)); line-height: 1.95; letter-spacing: .06em; }
}

/* 10/26：文字は最小 12px（PC・TB のみ。SP はデザインの値のまま）。Ginza Limited Pouch */
@media (min-width: 768px) {
  .pouch_ttl  { font-size: max(calc(24.9 * var(--p)), 12px); }
  .pouch_lead { font-size: max(calc(11.6 * var(--p)), 12px); }
  .pouch_list { font-size: max(calc(12 * var(--p)), 12px); line-height: max(calc(20 * var(--p)), 20px); }   /* 行の高さも縮みすぎないように */
  .pouch_note { font-size: max(calc(10.5 * var(--p)), 12px); }
}

/* 10/26：SP の導入（白いエリア）… 文字の上端・下端から白いエリアの端まで、上下とも 97（デザイン実測） */
@media (max-width: 767px) {
  .gs_intro { padding-top: calc(89 * var(--p)); padding-bottom: calc(91 * var(--p)); }
}

/* 10/27：動画のあるスライド … スライドが表示されたら ▶ をふわっと出す。押すとモーダルで再生（gift-service.js） */
.gal_play { z-index: 1; background: rgba(0, 0, 0, .15); cursor: pointer; transition: background-color .4s var(--ease); }
.gal_slide.is-active .gal_play { animation: galPlayIn .5s var(--ease) .5s both; }   /* スライドの移動（.65s）がほぼ終わってから */
@keyframes galPlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (hover: hover) and (pointer: fine) {
  .gal_play:hover { background: rgba(0, 0, 0, .3); }
}

/* 動画のモーダル */
.vmodal {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.vmodal.is-open { opacity: 1; }
.vmodal::backdrop { background: rgba(0, 0, 0, .8); }
.vmodal_body {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(90vw, calc(85svh * 9 / 16));   /* 動画は縦長 9:16（607.5×1080）。画面の高さの 85% に収まる大きさ */
  transform: translate(-50%, -50%);
}
.vmodal_video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: #000; }
.vmodal_close {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 36px;
  height: 36px;
}
.vmodal_close::before,
.vmodal_close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 1px;
  background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}
.vmodal_close::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* 10/27：動画のある写真のサムネイルにも再生マーク（白い丸＋▶。丸は既存の .gal_thumb--movie::after） */
.gal_thumb--movie::after {
  background: rgba(0, 0, 0, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M0 0L10 6L0 12Z' fill='%23fff'/%3E%3C/svg%3E") 56% 50% / 30% auto no-repeat;
}

/* 10/27：帯の見出し・サブは一文字ずつをやめ、ふわっと（.fx）。サブは見出しより少し遅らせる */
.js .band_sub.fx { transition-delay: .2s; }

/* 11/05：冒頭の本文を PC・SP とも 2px 大きく（PC 13.5 → 15.5px・下限 12 → 14px／SP 12.5 → 14.5） */
@media (min-width: 768px) {
  .gs_intro_txt { font-size: max(calc(15.5 * var(--p)), 14px); }
}
@media (max-width: 767px) {
  .gs_intro_txt { font-size: calc(14.5 * var(--p)); }
}

/* 11/05：SP（414px 基準）… 文字の最小サイズを見直し。本文などは 12px 以上、注意書き・日付などは 10px 以上（ヘッダー・フッターは対象外） */
@media (max-width: 767px) {
  .tag { font-size: calc(12 * var(--p)); }                                    /* 限定・発売日のタグ（9 → 12） */
  .item_txt { font-size: calc(12 * var(--p)); }                               /* 11 → 12 */
  .item .acc_head,
  .item .acc_body { font-size: calc(12 * var(--p)); }                         /* More Details（11 → 12） */
  .pouch_lead,
  .pouch_list { font-size: calc(12 * var(--p)); }                             /* 11 → 12 */
  .item_note,
  .pouch_note { font-size: calc(10 * var(--p)); }                             /* ※の注意書き（9.5 → 10） */
}
