/* ============================================================
   Studio detail page (design__studio.jpg 準拠)
   ============================================================ */

/* breadcrumb */
.crumb { font-size: 12px; color: var(--sub); padding-block: 12px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumb a { color: var(--gold-d); }
.crumb li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--line); }

/* hero */
.st-hero { position: relative; overflow: hidden; background: var(--light); }
.st-hero__media { position: absolute; inset: 0; }
.st-hero__media .ph { height: 100%; }
.st-hero__media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(247,246,242,.9) 0%, rgba(247,246,242,.4) 55%, rgba(247,246,242,.05) 100%); }
@media (min-width:768px){ .st-hero__media::after{ background: linear-gradient(100deg, rgba(247,246,242,.95) 0%, rgba(247,246,242,.6) 45%, rgba(247,246,242,0) 80%); } }
.st-hero__inner { position: relative; z-index: 1; padding-block: 36px 40px; min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
@media (min-width:768px){ .st-hero__inner{ max-width: 560px; min-height: 58vh; } }
.st-hero__en { font-family: var(--serif); font-size: clamp(26px,7vw,40px); letter-spacing: .06em; }
.st-hero__jp { font-family: var(--serif); font-size: clamp(20px,5.4vw,30px); margin-top: 2px; }
.st-hero__lead { margin-top: 14px; font-size: 14px; color: var(--sub); line-height: 1.9; }
.st-hero__badges { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.st-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; color: var(--ink); }
.st-badge svg { width: 15px; height: 15px; color: var(--gold-d); }

/* intro 2col */
.st-intro__grid { display: grid; gap: 18px; }
@media (min-width:768px){ .st-intro__grid{ grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; } }
.st-intro__h { font-size: clamp(20px,5.4vw,28px); line-height: 1.6; }
.st-intro__p { font-size: 14px; color: var(--sub); line-height: 1.95; }

/* space grid */
.st-space__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width:600px){ .st-space__grid{ grid-template-columns: 1fr 1fr; } }
@media (min-width:1000px){ .st-space__grid{ grid-template-columns: repeat(4,1fr); } }
.st-space .card__media { aspect-ratio: 4/3; }
.st-space .card__body { padding: 14px 16px 18px; }
.st-space__t { font-family: var(--serif); font-size: 15px; }
.st-space__d { font-size: 12.5px; color: var(--sub); margin-top: 4px; line-height: 1.7; }

/* price + options 2col */
.st-pricewrap { display: grid; gap: 36px; }
@media (min-width:900px){ .st-pricewrap{ grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; } }
.price-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
@media (max-width:460px){ .price-cards{ grid-template-columns: 1fr; } }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px 12px; text-align: center; position: relative; }
.price-card--featured { border-color: var(--gold); box-shadow: var(--sh-1); }
.price-card__tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg,var(--gold),var(--gold-d)); color:#fff; font-size: 11px; font-weight:700; padding: 3px 14px; border-radius: 999px; white-space: nowrap; }
.price-card__name { font-family: var(--serif); font-size: 15px; }
.price-card__sub { font-size: 11.5px; color: var(--sub); margin-top: 4px; }
.price-card__price { font-family: var(--serif); font-size: clamp(22px,6vw,28px); color: var(--gold-d); margin: 10px 0 8px; }
.price-card__note { font-size: 11px; color: var(--sub); border-top: 1px dashed var(--line); padding-top: 8px; }
.price-foot { font-size: 11.5px; color: var(--sub); margin-top: 14px; text-align: center; }
.price-foot a { color: var(--gold-d); border-bottom: 1px solid var(--gold); }

.options__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.opt { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 8px; text-align: center; }
.opt svg { width: 24px; height: 24px; color: var(--gold-d); margin: 0 auto 8px; }
.opt span { font-size: 11.5px; line-height: 1.4; display: block; }
.options__etc { font-size: 12px; color: var(--sub); margin-top: 12px; text-align: center; }

/* access */
.st-access__grid { display: grid; gap: 18px; }
@media (min-width:820px){ .st-access__grid{ grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; } }
.st-access__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.st-access__card h3 { font-size: 13px; color: var(--gold-d); letter-spacing: .08em; margin-bottom: 10px; font-family: var(--sans); }
.st-access__name { display: flex; gap: 10px; align-items: flex-start; }
.st-access__name svg { width: 22px; height: 22px; color: var(--gold-d); flex: none; margin-top: 2px; }
.st-access__name b { font-family: var(--serif); font-size: 15px; font-weight: 600; }
.st-access__addr { font-size: 12.5px; color: var(--sub); margin-top: 4px; }
.st-access__hl { color: var(--gold-d); font-size: 13px; font-weight: 700; margin-top: 8px; }
.st-access__list li { font-size: 12.5px; color: var(--sub); padding: 4px 0; border-bottom: 1px dashed var(--line); }
.st-access__list li:last-child { border-bottom: 0; }

/* other studios */
.other__grid { display: grid; gap: 14px; }
@media (min-width:760px){ .other__grid{ grid-template-columns: repeat(3,1fr); } }
.other-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-1); }
.other-card .card__media { aspect-ratio: 16/10; position: relative; }
.other-card--soon .card__media .ph { filter: grayscale(.5); }
.other-card__foot { padding: 14px 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.other-card__name { font-family: var(--serif); font-size: 15px; }
.other-card__name small { display:block; font-size: 11px; color: var(--sub); font-family: var(--sans); margin-top: 2px; }
.other-status { font-size: 10.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.other-status--open { background: var(--gold-d); color: #fff; }
.other-status--soon { background: var(--light); color: var(--sub); }
.other-card .btn { margin: 0 16px 16px; }

/* generic page (stubs / legal) */
.page-hero { background: var(--white); border-bottom: 1px solid var(--line); text-align: center; padding-block: 44px; }
.page-hero .en { font-family: var(--serif); font-size: clamp(24px,6vw,34px); letter-spacing: .1em; }
.page-hero .jp { display: block; font-size: 12px; color: var(--sub); letter-spacing: .16em; margin-top: 8px; }
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: 18px; margin: 28px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.prose h3 { font-size: 15px; margin: 20px 0 6px; }
.prose p, .prose li { font-size: 14px; color: #333; line-height: 1.9; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose ul li { padding: 2px 0; }
.prose dl { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width:640px){ .prose dl{ grid-template-columns: 200px 1fr; } }
.prose dt { font-weight: 700; padding: 12px 0 4px; }
.prose dd { padding: 0 0 12px; color: var(--sub); font-size: 13.5px; border-bottom: 1px solid var(--line); }
@media (min-width:640px){ .prose dt{ padding: 14px 0; border-bottom: 1px solid var(--line); } .prose dd{ padding: 14px 0; } }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 10px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 16px 18px; font-weight: 700; font-size: 14px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold-d); font-size: 20px; transition: transform var(--t); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 18px 16px; font-size: 13.5px; color: var(--sub); line-height: 1.9; }
.notice { background: var(--gold-soft); border-radius: var(--r-sm); padding: 14px 16px; font-size: 13px; color: var(--gold-d); }

/* ============================================================
   v2 additions — 間取り図 / 料金表(15分) / 空き状況カレンダー / マップ
   ============================================================ */

/* ---- 間取り図 ---- */
.floorplan__wrap { display: grid; gap: 18px; }
@media (min-width: 820px) { .floorplan__wrap { grid-template-columns: 240px 1fr; align-items: center; gap: 32px; } }
.floorplan__meta { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px 20px; }
@media (min-width: 820px) { .floorplan__meta { flex-direction: column; gap: 14px; } }
.floorplan__meta dt { font-size: 12px; color: var(--gold-d); letter-spacing: .08em; }
.floorplan__meta dd { font-family: var(--serif); font-size: clamp(20px,5vw,26px); white-space: nowrap; }
/* 寸法（約6.7m × 約3.1m）は文字数が多いので一段小さく＝240pxカラムに収める */
.floorplan__meta .fp-dim dd { font-size: clamp(15px,3.8vw,19px); }
.floorplan__img { background: #fbfaf7; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-1); text-align: center; }
.floorplan__img img { width: auto; max-width: 100%; max-height: 900px; margin-inline: auto; display: block; }
.floorplan__img .ph { width: 100%; aspect-ratio: 3 / 4; }

/* ---- 料金表（クライアント提供画像をそのまま掲載） ---- */
.price-img { max-width: 920px; margin-inline: auto; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-1); background: var(--white); }
.price-img img { width: 100%; height: auto; display: block; }

/* ---- 料金表（旧HTMLテーブル・未使用） ---- */
.ptable-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-card); border: 1px solid var(--line); }
.ptable { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--white); }
.ptable caption { caption-side: top; text-align: left; padding: 14px 16px; font-family: var(--serif); font-size: 15px; background: var(--light); border-bottom: 1px solid var(--line); }
.ptable th, .ptable td { padding: 12px 10px; text-align: center; border-right: 1px solid var(--line); white-space: nowrap; }
.ptable .stname { white-space: normal; }  /* スタジオ名セルのみ折返し可 */
.ptable th:last-child, .ptable td:last-child { border-right: 0; }
.ptable thead th { background: #faf8f4; border-bottom: 1px solid var(--line); }
.ptable .band { font-size: 11px; color: var(--sub); letter-spacing: .06em; }
.ptable .time { font-size: 12.5px; font-weight: 700; margin-top: 2px; }
.ptable .ic-row td { border-bottom: 1px dashed var(--line); padding: 10px; }
.ptable .ic-row svg { width: 22px; height: 22px; color: var(--gold-d); }
.ptable .per15 { font-family: var(--serif); font-size: clamp(18px,4.6vw,22px); color: var(--gold-d); }
.ptable .per15 small { font-size: 11px; color: var(--sub); font-family: var(--sans); }
.ptable .perhour { font-size: 11px; color: var(--sub); padding-top: 0; }
.price-notes { margin-top: 14px; display: grid; gap: 4px; }
.price-notes li { font-size: 12px; color: var(--sub); display: flex; gap: 6px; }
.price-notes li::before { content: "※"; color: var(--gold-d); }

/* ---- 空き状況カレンダー（週間/月間 トグル・Googleカレンダー埋め込み） ---- */
/* 「空き状況を見る（Googleカレンダー）」は .btn の nowrap が効くと 320px で桁溢れするため折返し許可 */
@media (max-width: 430px) {
  .cal-block .btn { white-space: normal; line-height: 1.45; padding: 10px 14px; text-align: center; }
}
.cal-toggle { display: inline-flex; gap: 4px; padding: 4px; background: var(--light); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 18px; }
.cal-tab { border: 0; background: transparent; color: var(--sub); font-size: 13px; font-weight: 700; letter-spacing: .06em; padding: 8px 22px; border-radius: 999px; transition: background var(--t), color var(--t); }
.cal-tab.is-active { background: linear-gradient(135deg, var(--gold), var(--gold-d)); color: #fff; box-shadow: var(--sh-1); }
.cal-panels { display: block; }
.calendars { display: grid; gap: 20px; }
.calendar-block h3 { font-size: 13px; color: var(--gold-d); letter-spacing: .08em; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.calendar-block h3 .tagpill { font-size: 11px; background: var(--gold-soft); color: var(--gold-d); padding: 2px 10px; border-radius: 999px; }
.embed-box { position: relative; width: 100%; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--white); }
/* クライアント提供の埋め込みコードが height=600 のため実高さで確保（内部スクロール防止） */
.embed-box--cal { height: 600px; }
@media (max-width: 767px) { .embed-box--cal { height: 480px; } }
.embed-box--map { aspect-ratio: 4 / 3; }
@media (min-width: 768px) { .embed-box--map { aspect-ratio: 16 / 9; } }
.embed-ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; gap: 6px;
  background: linear-gradient(135deg,#f3f1eb,#f8f6f1); color: #b3a98f; padding: 20px; }
.embed-ph b { font-family: var(--serif); font-size: 14px; color: var(--gold-d); }
.embed-ph span { font-size: 12px; color: var(--sub); }
.embed-box.is-loaded .embed-ph { display: none; }

/* ---- アクセス v2（マップ + フォーム） ---- */
/* デザイン準拠: 住所 / マップ / 予約導線 の3ブロック */
.access-v2 { display: grid; gap: 20px; }
/* grid item の min-width:auto を解除（住所の長い連文節がトラック幅を押し広げるのを防ぐ） */
.access-v2 > * { min-width: 0; }
@media (min-width: 980px) { .access-v2 { grid-template-columns: 1.1fr 1.2fr 1fr; gap: 26px; align-items: start; } }
.access-info__name { display: flex; gap: 10px; align-items: flex-start; }
.access-info__name svg { width: 22px; height: 22px; color: var(--gold-d); flex: none; margin-top: 2px; }
.access-info__name b { font-family: var(--serif); font-size: 16px; }
.access-info__addr { font-size: 13px; color: var(--sub); margin-top: 4px; }
.access-info__hl { color: var(--gold-d); font-size: 13.5px; font-weight: 700; margin-top: 8px; }
.access-info__list { margin-top: 12px; }
.access-info__list li { font-size: 13px; color: var(--sub); padding: 5px 0; border-bottom: 1px dashed var(--line); }
.access-info__list li:last-child { border-bottom: 0; }
.access-cta { margin-top: 18px; display: grid; gap: 10px; }

/* ============================================================
   fix-spec-1 補完（B-2 / B-4 / B-5 の新クラススタイル）
   ============================================================ */

/* ---- B-2 料金表: スタジオ名列・バンド見出し ---- */
.ptable .stname-h, .ptable .band-h { background: var(--gold-soft); color: var(--gold-d); font-size: 12.5px; letter-spacing: .08em; border-bottom: 1px solid var(--line); }
/* 料金表画像（03_板橋スタジオ_料金表.png）準拠: 土日祝バンドはゴールド塗り */
.ptable .band-h--holiday { background: linear-gradient(135deg, var(--gold), var(--gold-d)); color: #fff; }
.ptable caption small { font-family: var(--sans); font-size: 12px; color: var(--sub); margin-left: 6px; }
/* SP: 横スワイプなしで全4区分が収まるよう、スタジオ名列を畳んで詰める
   （店舗名・広さは H1 と FLOOR PLAN に出ているので重複情報） */
@media (max-width: 600px) {
  .ptable { min-width: 0; }
  .ptable .stname-h, .ptable .stname { display: none; }
  .ptable th, .ptable td { padding: 10px 3px; }
  .ptable caption { padding: 12px 12px; font-size: 14px; }
  .ptable caption small { display: block; margin-left: 0; font-size: 11px; }
  .ptable .time { font-size: 11px; letter-spacing: -.02em; }
  .ptable .band-h { font-size: 12px; }
  .ptable .per15 { font-size: 17px; }
  .ptable .per15 small { font-size: 10px; }
  .ptable .perhour { font-size: 10px; white-space: normal; line-height: 1.5; }
}
/* タブレット縦（601〜767px）: スタジオ名列は残したまま、横スワイプなしで収める */
@media (min-width: 601px) and (max-width: 880px) {
  .ptable { min-width: 0; }
  .ptable th, .ptable td { padding: 11px 6px; }
  .ptable .perhour { white-space: normal; line-height: 1.5; }
}
/* 320〜360px（iPhone SE等）でも横スワイプ不要にする詰め */
@media (max-width: 380px) {
  .ptable th, .ptable td { padding: 9px 2px; }
  .ptable .time { font-size: 10px; }
  .ptable .band-h { font-size: 11.5px; }
  .ptable .per15 { font-size: 15px; }
  .ptable .per15 small { font-size: 9px; }
  .ptable .perhour { font-size: 9px; }
}
.ptable .stname {
  background: #faf8f4; vertical-align: middle; font-family: var(--serif);
  font-size: 13px; line-height: 1.7; border-bottom: 0;
}
.ptable .stname b { font-size: 15px; letter-spacing: .06em; }
.ptable .stname small { color: var(--sub); font-family: var(--sans); font-size: 11px; }

/* ---- B-4 カレンダー×オプションの2カラム（デザイン準拠） ---- */
.cal-opt-grid { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .cal-opt-grid { grid-template-columns: 1.5fr 1fr; align-items: start; }
  .cal-opt-grid .options__grid { max-width: none !important; }  /* 右カラム幅にフィット */
}

/* ============================================================
   ALBUM / アルバムギャラリー（2026-08 追加・クライアント指示 design__fixing_02）
   PC 4列 × 3段 = 12枚表示 → 「アルバムをもっと見る」で残りを展開
   SP は 2列。サムネは白背景・薄い枠線・角丸、タップで拡大表示。
   ============================================================ */
.album__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 600px) { .album__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 900px) { .album__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.album-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--sh-1); }
.album-thumb { display: block; width: 100%; padding: 0; border: 0; background: var(--white); aspect-ratio: 4 / 3; cursor: zoom-in; }
.album-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--t); }
.album-item:hover .album-thumb img { transform: scale(1.04); }
/* JS有効時のみ13枚目以降を畳む（JS無効なら全16枚そのまま表示） */
html.js .album-item--more { display: none; }
html.js .album__grid.is-expanded .album-item--more { display: block; }
.album__more { text-align: center; margin-top: 22px; }
.album__more-count { font-size: 11.5px; font-weight: 500; color: var(--sub); margin-left: 6px; }
html:not(.js) .album__more { display: none; }

/* ---- 拡大表示（ライトボックス） ---- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; }
/* 拡大表示中は追従CTA・トップへ戻るを隠す（スクリム越しに透けないように） */
body.lb-open .floating-cta, body.lb-open .to-top { display: none; }
.lightbox.is-open { display: block; }
.lightbox__scrim { position: absolute; inset: 0; background: rgba(32,28,22,.84); }
.lightbox__fig { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 62px 58px; }
.lightbox__img { max-width: 100%; max-height: 76vh; width: auto; height: auto; border-radius: 12px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.lightbox__cap { margin-top: 14px; color: #fff; font-size: 13px; text-align: center; letter-spacing: .06em; }
.lightbox__cap span { display: block; font-size: 11.5px; color: rgba(255,255,255,.6); margin-top: 4px; letter-spacing: .12em; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.94); border: 0; border-radius: 50%;
  width: 46px; height: 46px; display: grid; place-items: center; color: var(--ink); box-shadow: var(--sh-1);
}
.lightbox__close { top: 14px; right: 14px; font-size: 24px; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); color: var(--gold-d); }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }
.lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__nav--prev svg { transform: rotate(180deg); }
@media (max-width: 560px) {
  .lightbox__fig { padding: 60px 12px; }
  .lightbox__nav { width: 40px; height: 40px; top: auto; bottom: 16px; transform: none; }
  .lightbox__nav--prev { left: 22%; }
  .lightbox__nav--next { right: 22%; }
}

/* ---- B-5 アクセス右ブロック（ご予約はこちら / Googleマップで見る） ---- */
.access-actions { display: grid; gap: 18px; align-content: start; }
.access-actions > * { min-width: 0; }
/* 320px では .btn の nowrap（「予約・お問い合わせフォームへ」）がカラム幅を押し広げるので折返し許可 */
@media (max-width: 430px) { .access-action .btn { white-space: normal; line-height: 1.45; padding: 10px 14px; } }
.access-action { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; }
.access-action h3 { font-size: 13px; color: var(--gold-d); letter-spacing: .06em; margin-bottom: 8px; font-family: var(--sans); font-weight: 700; }
.access-action p { font-size: 12.5px; color: var(--sub); line-height: 1.8; margin-bottom: 12px; }
