/* 【会員施設】ウェルネス健康の森 ページ */

/* ---------- ヒーロー（写真・注意書き・STEP） ---------- */
.wellness-hero { padding-bottom: clamp(56px, 6vw, 88px); }
.hero-photo {
  margin: clamp(32px, 4vw, 56px) 0 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero-photo img { width: 100%; height: auto; aspect-ratio: 2210 / 662; object-fit: cover; }
.notice {
  margin-top: clamp(32px, 4vw, 48px);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.8;
  color: var(--pink);
  text-align: center;
}
.steps {
  margin: clamp(24px, 3vw, 36px) auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  flex-wrap: wrap;
}
.steps > li { display: flex; align-items: baseline; gap: 14px; }
.step-no { font-size: clamp(17px, 1.5vw, 22px); font-weight: 700; letter-spacing: 0.04em; color: var(--ink); }
.step-name { font-size: clamp(24px, 2.3vw, 33px); font-weight: 700; letter-spacing: 0.08em; color: var(--pink); line-height: 1.2; }
.step-arrow { align-self: center; }
.step-arrow svg { display: block; width: 30px; height: 30px; fill: var(--pink); }

/* ---------- 施設コンセプト ---------- */
.concept-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.concept-photo img { width: 100%; height: auto; border-radius: var(--radius); }
.concept-text h3 {
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.7;
}
.concept-text .text { margin-top: 28px; font-size: 15px; line-height: 2.1; letter-spacing: 0.14em; }
.concept-text .text + .text { margin-top: 1.2em; }

/* ---------- 施設MAP ---------- */
.fmap .container-wide { position: relative; }
/* MAP パネル: 淡い緑がかった台紙に置き、イラストを浮かせる */
.fmap-panel {
  margin-top: clamp(36px, 4vw, 56px);
  padding: clamp(20px, 3vw, 40px) clamp(16px, 3vw, 40px) clamp(20px, 3vw, 32px);
  border-radius: 28px;
  background:
    radial-gradient(60% 50% at 20% 0%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #f6f8f1 0%, #eef3e6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 18px 40px rgba(47, 43, 54, 0.06);
}
.fmap-stage { filter: drop-shadow(0 14px 22px rgba(47, 43, 54, 0.12)); }
/* 凡例チップ */
.fmap-legend {
  margin-top: clamp(18px, 2.5vw, 28px);
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 12px;
}
.fmap-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(47, 43, 54, 0.08);
  box-shadow: 0 2px 8px rgba(47, 43, 54, 0.06);
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.fmap-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); flex: none; }
.fmap-chip:hover, .fmap-chip:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(245, 58, 107, 0.18); color: var(--pink); }
.fmap-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1136 / 837;
}
.fmap-base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.fmap-part, .fmap-stage .fmap-spot { position: absolute; display: block; padding: 0; margin: 0; }
.fmap-part, .fmap-spot img { width: 100%; height: 100%; object-fit: contain; display: block; }
.fmap-stage .fmap-spot {
  cursor: pointer;
  border-radius: 12px;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.fmap-stage .fmap-spot:hover, .fmap-stage .fmap-spot:focus-visible { transform: translateY(-3px) scale(1.04); filter: drop-shadow(0 6px 10px rgba(47, 43, 54, 0.18)); outline: none; }
.fmap-spot:focus-visible { box-shadow: 0 0 0 3px rgba(245, 58, 107, 0.4); }

/* 各パーツの配置（元の1136x837コンテナに対する割合） */
.p-bubble   { left: 35.83%; top: 10.04%; width: 17.17%; height: 24.73%; }
.p-dog      { left: 58.89%; top: 21.51%; width: 9.86%;  height: 9.68%; }
.p-trailer  { left: 60.04%; top: 29.87%; width: 11.88%; height: 11.59%; }
.p-cabin    { left: 31.51%; top: 57.83%; width: 10.83%; height: 10.87%; }
.p-gomi     { left: 37.59%; top: 62.01%; width: 8.36%;  height: 10.63%; }
.p-honkan   { left: 27.90%; top: 34.41%; width: 16.46%; height: 16.13%; }
.p-sauna    { left: 48.77%; top: 37.04%; width: 14.08%; height: 11.95%; }
.p-honsha   { left: 17.78%; top: 54.12%; width: 12.41%; height: 15.41%; }
.p-tenji    { left: 5.63%;  top: 57.71%; width: 11.09%; height: 10.87%; }
.p-bbq      { left: 42.52%; top: 50.30%; width: 11.18%; height: 12.07%; }
.p-pool     { left: 53.70%; top: 47.79%; width: 11.27%; height: 11.11%; }
.p-tsuribori{ left: 63.82%; top: 41.46%; width: 12.68%; height: 12.43%; }
.p-golf     { left: 75.79%; top: 31.42%; width: 8.36%;  height: 10.04%; }
.p-kotetsu  { left: 53.08%; top: 60.93%; width: 12.50%; height: 11.35%; }

/* MAP ポップアップ */
.fmap-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity 0.25s ease; }
.fmap-modal[hidden] { display: none; }
.fmap-modal.is-open { opacity: 1; }
.fmap-modal-bg { position: absolute; inset: 0; background: rgba(47, 43, 54, 0.6); }
.fmap-dialog {
  position: relative;
  width: min(760px, 100%);
  background: #fff;
  border-radius: var(--radius-l);
  padding: clamp(48px, 6vw, 72px) clamp(24px, 5vw, 64px) clamp(36px, 4vw, 56px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(12px);
  transition: transform 0.25s ease;
}
.fmap-modal.is-open .fmap-dialog { transform: none; }
.fmap-close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.2s ease;
}
.fmap-close:hover { background: var(--pink-pale); color: var(--pink); }
.fmap-close svg { width: 22px; height: 22px; }
.fmap-pop { display: none; text-align: center; }
.fmap-pop.is-show { display: block; }
.fmap-pop img { width: min(560px, 100%); height: auto; margin: 0 auto; border-radius: var(--radius); }
.fmap-dialog:has(.fmap-pop.is-show .pop-pair) { width: min(1040px, 100%); }
.pop-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fmap-pop .pop-pair img { width: 100%; aspect-ratio: 920 / 588; object-fit: cover; }
.fmap-dialog:has(.fmap-pop.is-show .pop-viewer) { width: min(900px, 100%); }
.fmap-pop .pop-viewer-main { width: 100%; aspect-ratio: 920 / 588; object-fit: cover; }
.pop-thumbs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.pop-thumbs button { display: block; width: 100%; padding: 0; border-radius: 6px; overflow: hidden; opacity: 0.5; transition: opacity 0.2s ease, box-shadow 0.2s ease; }
.pop-thumbs button:hover { opacity: 0.85; }
.pop-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--pink); }
.pop-thumbs.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 420px; margin-left: auto; margin-right: auto; }
.fmap-pop .pop-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.fmap-pop .pop-title { margin-top: 24px; font-size: 20px; font-weight: 700; letter-spacing: 0.1em; line-height: 1.5; }
.fmap-pop .pop-note { margin-top: 8px; font-size: 15px; letter-spacing: 0.06em; line-height: 1.9; }

/* ---------- フォトギャラリー（自動スクロール） ---------- */
.gallery { overflow: hidden; padding: 0 0 var(--sec-pad); }
.gallery-track { display: flex; width: max-content; animation: gallery-slide 95s linear infinite; }
.gallery-set { display: flex; gap: 32px; padding-right: 32px; }
.gallery-set li { flex: 0 0 auto; width: 305px; }
.gallery-set img { width: 305px; height: 229px; object-fit: cover; }
@keyframes gallery-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .gallery-track { animation: none; } }

/* ---------- FAQ（アコーディオン） ---------- */
.faq { padding-top: 0; }
.acc { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 8px 26px 12px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.7;
  transition: color 0.2s ease;
}
.acc-q:hover { color: var(--pink); }
.acc-icon { flex: 0 0 auto; width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s ease; }
.is-open .acc-icon { transform: rotate(180deg); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.is-open > .acc-a { grid-template-rows: 1fr; }
.acc-a-inner { overflow: hidden; }
.acc-a-inner p { padding: 0 12px 28px; font-size: 15px; line-height: 2; letter-spacing: 0.06em; }
.acc-a-inner a { color: var(--pink); text-decoration: underline; text-underline-offset: 0.2em; }
.acc-a-inner a:hover { color: var(--pink-deep); }

/* ---------- アクセス ---------- */
.access-lead {
  margin-top: clamp(36px, 4vw, 56px);
  text-align: center;
  font-size: clamp(17px, 1.6vw, 24px);
  letter-spacing: 0.08em;
  line-height: 1.8;
}
.access-lead .em { font-weight: 700; }
.access-map { margin-top: clamp(32px, 4vw, 48px); border-radius: var(--radius-l); overflow: hidden; background: var(--bg2); }
.access-map iframe { display: block; width: 100%; height: 460px; border: 0; filter: saturate(0.9); }
.access-info {
  margin-top: 28px;
  text-align: center;
  font-size: clamp(15px, 1.4vw, 20px);
  letter-spacing: 0.1em;
  line-height: 1.9;
  color: var(--pink);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .concept-grid { grid-template-columns: 1fr; }
  .concept-photo { max-width: 560px; margin: 0 auto; }
  .fmap-panel { border-radius: 18px; padding: 14px 12px 16px; }
  .fmap-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: thin; }
  .fmap-stage { min-width: 720px; }
  .access-map iframe { height: 380px; }
}
@media (max-width: 760px) {
  /* スマホ: 看板が読めるよう 3:2 で大きく、画面幅いっぱいに */
  .hero-photo { margin-left: -20px; margin-right: -20px; max-width: none; border-radius: 0; }
  .hero-photo img { aspect-ratio: 3 / 2; object-position: 50% 62%; border-radius: 0; box-shadow: none; }
  .steps { flex-direction: column; gap: 4px; align-items: center; }
  .steps > li { gap: 10px; justify-content: center; }
  .steps li > a { justify-content: center; }
  .step-no { min-width: 0; font-size: 15px; }
  .step-name { font-size: 26px; }
  .step-arrow svg { width: 22px; height: 22px; transform: rotate(90deg); }
  .gallery-set { gap: 16px; padding-right: 16px; }
  .gallery-set li { width: 220px; }
  .gallery-set img { width: 220px; height: 165px; }
  .acc-q { padding: 20px 4px 20px 6px; font-size: 15px; }
  .acc-a-inner p { padding: 0 6px 22px; font-size: 14px; }
  .access-info .gap { display: block; height: 0; overflow: hidden; }
  .access-map iframe { height: 300px; }
  .fmap-dialog { padding: 56px 20px 32px; }
  .pop-pair { grid-template-columns: 1fr; gap: 12px; }
  .pop-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  /* スマホ: 画面下の固定バー */
  /* 画面下に固定・左右いっぱい・2ボタンを50%ずつ */
  .float-ico { width: 20px; height: 20px; }
  .float-label { align-items: center; }
  .float-label small { font-size: 9px; }
}

/* STEP をリンク化 */
.steps li > a { display: inline-flex; align-items: baseline; gap: 14px; color: inherit; }
.steps li > a:hover .step-name { color: var(--pink); }

/* サウナ: 研究実験中の表記 */

/* 完全予約制の強調ボックス（ページ上部） */
.reserve-box{max-width:520px;margin:clamp(28px,3.5vw,40px) auto 0;padding:clamp(18px,2.4vw,26px) 24px;background:#fff;border:2px solid var(--pink);border-radius:16px;text-align:center;box-shadow:0 10px 28px rgba(245,58,107,.12)}
.reserve-box-title{margin:0;font-size:clamp(22px,2.2vw,28px);font-weight:900;letter-spacing:.24em;text-indent:.24em;color:var(--pink);line-height:1.4}
.reserve-box-sub{margin:6px 0 0;font-size:clamp(13px,1.1vw,15px);font-weight:500;letter-spacing:.08em;color:var(--ink);line-height:1.8}
