/* =========================================================
   館内案内（index.html）だけのスタイル
   色・書体の設定は common.css にあります
   ========================================================= */
body{ line-height:1.75; font-size:16px; }

.page{ max-width:560px; margin:0 auto; }

/* ---------- ヒーロー ---------- */
.hero{
  background:var(--sea);
  color:#fff;
  padding:calc(18px + env(safe-area-inset-top,0px)) 22px 64px;
  position:relative;
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:46px;
  background:radial-gradient(60px 18px at 30px 46px, var(--paper) 99%, transparent 100%) 0 0 / 60px 46px repeat-x;
}
.hero-bar{ display:flex; justify-content:flex-end; }
/* ロゴ（assets/img/logo-white.svg） */
.logo{ margin-top:22px; color:#fff; }
.logo .logo-svg{ display:block; width:min(300px, 80%); height:auto; }

.room{ margin-top:30px; display:flex; align-items:flex-end; gap:12px; }
.room[hidden]{ display:none; }
.room-label{ font-size:13px; color:var(--foam); padding-bottom:14px; }
.room-no{
  font-family:var(--font-display); font-weight:900;
  font-size:clamp(72px, 24vw, 104px); line-height:.9; letter-spacing:.02em;
  border-bottom:4px solid var(--lamp); padding-bottom:6px;
}
.welcome{ white-space:pre-line; font-family:var(--font-display); font-weight:700; font-size:22px; line-height:1.5; margin-top:26px; }
.welcome-sub{ font-size:14px; color:var(--foam); margin-top:6px; max-width:32em; }

/* ---------- チェックイン・アウト ---------- */
.essentials{ margin:-34px 16px 0; position:relative; z-index:1; }
.times{ display:grid; grid-template-columns:1fr 1fr; box-shadow:0 8px 24px -14px rgba(20,60,114,.30); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.times div{ background:var(--surface); padding:12px 16px; }
.times span{ display:block; font-size:12px; color:var(--ink-soft); }
.times strong{ font-family:var(--font-display); font-size:24px; font-weight:700; }

/* ---------- 案内リスト ---------- */
.guide{ padding:24px 16px 0; }
.guide h2{ font-family:var(--font-display); font-size:18px; font-weight:700; margin:12px 4px 10px; }
.menu{ list-style:none; background:var(--surface); border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.menu li + li{ border-top:1px solid var(--line); }
.menu button{
  width:100%; display:flex; align-items:center; gap:14px;
  padding:14px 14px 14px 16px; background:transparent; border:0; text-align:left; cursor:pointer; min-height:68px;
}
.menu button:active{ background:rgba(20,60,114,.06); }
.ico{ flex:0 0 auto; width:40px; height:40px; border-radius:12px; background:var(--tint); display:grid; place-items:center; }
.ico svg{ width:22px; height:22px; stroke:var(--sea-2); fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
@media (prefers-color-scheme: dark){ .ico svg{ stroke:var(--lamp);} }
.m-text{ flex:1; min-width:0; }
.m-title{ display:block; font-weight:700; font-size:16px; }
.m-sub{ display:block; font-size:13px; color:var(--ink-soft); line-height:1.5; }
.chev{ width:18px; height:18px; stroke:var(--ink-soft); fill:none; stroke-width:2; flex:0 0 auto; }
.menu .key .m-sub{ color:var(--sea-2); font-weight:700; }
@media (prefers-color-scheme: dark){ .menu .key .m-sub{ color:var(--lamp);} }

/* ---------- フッター ---------- */
footer{ padding:28px 20px calc(120px + env(safe-area-inset-bottom,0px)); font-size:13px; color:var(--ink-soft); }
footer p + p{ margin-top:2px; }
footer .name{ color:var(--ink); margin-bottom:12px; }
footer .name .logo-svg{ display:block; width:190px; height:auto; }
footer .terms{ margin-top:14px; }
footer .terms a{ color:var(--ink); font-weight:700; text-underline-offset:3px; }

/* ---------- 電話ボタン（固定） ---------- */
.callbar{
  position:fixed; left:0; right:0; bottom:0; z-index:10;
  padding:10px 16px calc(12px + env(safe-area-inset-bottom,0px));
  background:linear-gradient(to top, var(--paper) 70%, transparent);
}
.call{
  max-width:528px; margin:0 auto;
  display:flex; align-items:center; justify-content:center; gap:10px;
  background:var(--sea); color:#fff; text-decoration:none;
  border-radius:14px; padding:14px 16px; font-weight:700; font-size:16px;
  box-shadow:0 10px 24px -12px rgba(20,60,114,.55);
}
.call svg{ width:20px; height:20px; stroke:#fff; fill:none; stroke-width:1.8; }
.call small{ font-weight:400; font-size:12px; opacity:.8; }

/* ---------- 詳細シート ---------- */
dialog{
  border:0; padding:0; margin:auto auto 0;
  width:100%; max-width:560px; max-height:90vh; max-height:90dvh;
  border-radius:20px 20px 0 0;
  background:var(--paper); color:var(--ink);
}
dialog::backdrop{ background:rgba(12,42,85,.55); }
dialog[open]{ animation:up .28s cubic-bezier(.2,.8,.2,1); }
@keyframes up{ from{ transform:translateY(40px); opacity:.4; } to{ transform:none; opacity:1; } }
.sheet-head{
  position:sticky; top:0; z-index:2;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:16px 16px 14px 20px; background:var(--paper); border-bottom:1px solid var(--line);
}
.sheet-head h2{ font-family:var(--font-display); font-size:20px; font-weight:700; }
.close{
  border:1px solid var(--line); background:var(--surface); border-radius:999px;
  padding:6px 14px; font-size:13px; font-weight:700; cursor:pointer; min-height:36px; white-space:nowrap; flex:0 0 auto;
}
.sheet-body{ padding:18px 20px calc(32px + env(safe-area-inset-bottom,0px)); font-size:15px; }
.sheet-body h3{ font-size:15px; font-weight:700; margin:24px 0 8px; color:var(--sea-2); }
@media (prefers-color-scheme: dark){ .sheet-body h3{ color:var(--lamp);} }
.sheet-body h3:first-child{ margin-top:0; }
.sheet-body p + p{ margin-top:8px; }
.mt{ margin-top:8px; }
.lead{
  background:var(--surface); border:1px solid var(--line); border-left:4px solid var(--lamp);
  border-radius:0 12px 12px 0; padding:12px 14px; font-weight:700; margin-bottom:6px;
}
.kv{ background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:4px 14px; }
.kv div{ padding:10px 0; }
.kv div + div{ border-top:1px solid var(--line); }
.kv dt{ font-weight:700; }
.kv dd{ font-size:14px; color:var(--ink-soft); }
.steps{ list-style:none; counter-reset:s; }
.steps li{ counter-increment:s; position:relative; padding:0 0 12px 38px; }
.steps li::before{
  content:counter(s); position:absolute; left:0; top:1px;
  width:26px; height:26px; border-radius:50%; background:var(--sea-2); color:#fff;
  display:grid; place-items:center; font-size:13px; font-weight:700;
}
.dots{ padding-left:1.2em; }
.dots li + li{ margin-top:4px; }

/* シート内のボタン */
.btn{
  display:flex; align-items:center; justify-content:center; gap:8px; width:100%;
  border:1px solid var(--line); background:var(--surface); border-radius:12px;
  padding:12px 14px; font-weight:700; font-size:15px; cursor:pointer; text-decoration:none; min-height:48px;
}
.btn.primary{ background:var(--sea); border-color:var(--sea); color:#fff; }
.btn svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.btn + .btn{ margin-top:8px; }

/* 未入力の箇所（【 】で囲んだ文字）を目立たせます */
.ph{ background:rgba(214,154,45,.16); border-bottom:1px dashed var(--mark); padding:0 2px; }

/* タブ（階・カテゴリの切り替え） */
.tabs{ display:flex; gap:6px; overflow-x:auto; padding:2px 0 12px; margin:0 -20px; padding-left:20px; padding-right:20px; scrollbar-width:none; }
.tabs::-webkit-scrollbar{ display:none; }
.tabs button{
  flex:0 0 auto; border:1px solid var(--line); background:var(--surface);
  border-radius:999px; padding:7px 14px; font-size:14px; font-weight:700; cursor:pointer; min-height:38px;
}
.tabs button[aria-pressed="true"]{ background:var(--sea); border-color:var(--sea); color:#fff; }

/* 画像（館内図・避難経路図） */
.figure{ background:var(--surface); border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.figure img{ width:100%; height:auto; }
.figure figcaption{ font-size:13px; color:var(--ink-soft); padding:10px 14px; border-top:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; gap:8px; }
.fig-link{ display:block; }
.zoom-hint svg{ width:20px; height:20px; display:block; stroke:var(--ink-soft); fill:none; stroke-width:2; stroke-linecap:round; }
.img-ph{
  aspect-ratio:4/3; display:grid; place-items:center; text-align:center; gap:6px;
  background:repeating-linear-gradient(45deg, transparent 0 10px, var(--tint) 10px 20px);
  color:var(--ink-soft); font-size:12px; padding:16px;
}
.img-ph svg{ width:36px; height:36px; stroke:var(--ink-soft); fill:none; stroke-width:1.5; }
.your-floor{ font-size:13px; font-weight:700; color:var(--sea-2); margin-bottom:8px; }
@media (prefers-color-scheme: dark){ .your-floor{ color:var(--lamp);} }

/* 周辺のお店 */
.places{ display:grid; gap:12px; }
.place{ background:var(--surface); border:1px solid var(--line); border-radius:14px; overflow:hidden; display:grid; grid-template-columns:112px 1fr; }
.place .photo{ background:var(--tint); display:grid; place-items:center; min-height:112px; }
.place .photo img{ width:100%; height:100%; object-fit:cover; }
.place .photo svg{ width:34px; height:34px; stroke:var(--sea-2); fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
@media (prefers-color-scheme: dark){ .place .photo svg{ stroke:var(--lamp);} }
.place .info{ padding:10px 12px; min-width:0; }
.place .pname{ font-weight:700; line-height:1.45; }
.place .meta{ font-size:13px; color:var(--ink-soft); line-height:1.5; margin-top:2px; }
.place .note{ font-size:13px; margin-top:4px; line-height:1.5; }
.place .maplink{ display:inline-flex; align-items:center; gap:4px; margin-top:6px; font-size:13px; font-weight:700; color:var(--sea-2); text-decoration:none; }
@media (prefers-color-scheme: dark){ .place .maplink{ color:var(--lamp);} }
.place .maplink svg{ width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2; }

/* アメニティ・貸し出し品 */
.amen{ display:grid; grid-template-columns:repeat(2, 1fr); gap:10px; }
.amen-item{ background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:12px; text-align:center; }
.amen-item .pic{ height:84px; display:grid; place-items:center; background:var(--tint); border-radius:10px; margin-bottom:8px; overflow:hidden; }
.amen-item .pic img{ width:100%; height:100%; object-fit:cover; }
.amen-item .pic svg{ width:52px; height:52px; stroke:var(--sea-2); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
@media (prefers-color-scheme: dark){ .amen-item .pic svg{ stroke:var(--lamp);} }
.amen-item b{ display:block; font-size:14px; line-height:1.4; }
.amen-item small{ display:block; font-size:12px; color:var(--ink-soft); line-height:1.4; margin-top:2px; }
.tags{ display:flex; flex-wrap:wrap; gap:6px; }
.tags span{ background:var(--surface); border:1px solid var(--line); border-radius:999px; padding:4px 12px; font-size:14px; }

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
}
