@charset "utf-8";
/*
 * スタジオ詳細の新しい形（?v=new・resources/views/site/studio-v2.blade.php）。2026-10-29 児島依頼「コンテナ幅を含めたデザインを白ホリに合わせて」。
 * 白ホリドットコムのスタジオ詳細（theme/assets/css/studio.css の .single-studio … と custom.css の .p-gallery・.p-studio ほか）の寸法を写し、
 * 色だけホワイトパンダ（ブランドのグラデーション #2af598→#009efd・文字は白）にした。
 * ⚠️ すべて .p-sd の下に書く（ヘッダー・フッターの旧テーマの CSS と混ざらないように）。旧テーマの studio.css はこのページでは読まない。
 * 単位は em（基底の font-size と clamp/min の中だけ px・%）。メディアクエリは max-width: 769px だけ。
 */
.p-sd {
	--sd-ink: #1a1a1a;
	--sd-gray: #f5f5f5;
	--sd-chip: #f3f3f3;
	--sd-line: #ebebeb;
	--sd-brand: #0abab5;
	--sd-brand-gradient: linear-gradient(135deg, #2af598 0%, #009efd 100%);
	display: block;
	/* 白ホリと同じ基底の文字の大きさ（ヘッダー・フッターは旧テーマの 16px／スマホ 14px のまま） */
	font-size: clamp(0px, calc(100vw / 80), 16px);
	font-family: 'Google Sans', 'Noto Sans JP', sans-serif;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: normal;
	color: var(--sd-ink);
	background: #fff;
}
html:has(.p-sd) { scroll-behavior: smooth; }
.p-sd *, .p-sd *::before, .p-sd *::after { box-sizing: border-box; }
/* 旧テーマ common.css の「* { palt }」（字詰め）を戻す。白ホリの本文と同じ字間にする */
.p-sd, .p-sd * { font-feature-settings: normal; }
.p-sd :where(h1, h2, h3, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
.p-sd :where(ul, ol) { list-style: none; }
.p-sd :where(a) { color: inherit; }
.p-sd :where(img) { max-width: 100%; }
.p-sd :where(button) { font: inherit; color: inherit; }

/* コンテナ（白ホリと同じ min(92%, 80em)＝PC で 1280px）。上は固定ヘッダーの分を空ける */
.p-sd__container { width: min(92%, 80em); margin: 0 auto; padding: 4.75em 0 4em; }

/* パンくず（白ホリ .crumbs）。長い現在地は折り返さず横にスクロール */
.p-sd-crumbs { margin: 0 0 1.75em; font-size: 0.75em; line-height: 1.5; overflow-x: auto; scrollbar-width: none; }
.p-sd-crumbs::-webkit-scrollbar { display: none; }
.p-sd-crumbs ol { display: flex; align-items: center; white-space: nowrap; }
.p-sd-crumbs li { display: flex; align-items: center; }
.p-sd-crumbs li:not(:last-child)::after { content: ""; display: inline-block; width: 0.375em; height: 0.375em; margin: 0 0.75em; border-top: 0.09375em solid #b4b4b4; border-right: 0.09375em solid #b4b4b4; transform: rotate(45deg); }
.p-sd-crumbs a { text-decoration: none; }
.p-sd-crumbs a:hover { text-decoration: underline; }
.p-sd-crumbs li[aria-current="page"] { font-weight: 700; }

/* 写真（白ホリ .p-gallery）: 大1枚＋小4枚。枚数が少ないときは並べ方を変える */
.p-sd-gallery { position: relative; margin: 1em 0 0; }
.p-sd-gallery__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 0.5em; aspect-ratio: 2.1 / 1; border-radius: 0.75em; overflow: hidden; }
.p-sd-gallery__item { display: block; min-width: 0; min-height: 0; padding: 0; border: none; background: var(--sd-gray); cursor: zoom-in; }
.p-sd-gallery__item:nth-child(n+6) { display: none; }
.p-sd-gallery__item:first-child { grid-row: 1 / 3; }
.p-sd-gallery__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.p-sd-gallery__item:hover .p-sd-gallery__img { opacity: 0.9; }
.p-sd-gallery.is-n0 .p-sd-gallery__grid, .p-sd-gallery.is-n1 .p-sd-gallery__grid { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.p-sd-gallery.is-n0 .p-sd-gallery__img { object-fit: contain; background: var(--sd-gray); }
.p-sd-gallery.is-n2 .p-sd-gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.p-sd-gallery.is-n2 .p-sd-gallery__item:first-child { grid-row: auto; }
.p-sd-gallery.is-n3 .p-sd-gallery__grid, .p-sd-gallery.is-n4 .p-sd-gallery__grid { grid-template-columns: 2fr 1fr; }
.p-sd-gallery.is-n4 .p-sd-gallery__item:nth-child(4) { display: none; }
.p-sd-gallery__all { position: absolute; right: 1em; bottom: 1em; padding: 0.5em 1em; border: none; border-radius: 0.375em; background: #fff; font-size: 0.8125em; font-weight: 700; white-space: nowrap; cursor: pointer; }
.p-sd-gallery__count { display: none; }
.p-sd-gallery__source { margin: 0.75em 0 0; font-size: 0.75em; }

/* 写真の一覧（全画面のモーダル） */
.p-sd-gallery-modal { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: none; background: #fff; color: var(--sd-ink); }
.p-sd-gallery-modal::backdrop { background: rgba(26, 26, 26, 0.6); }
.p-sd-gallery-modal__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 0.75em max(1em, calc((100% - 50em) / 2)); background: #fff; }
.p-sd-gallery-modal__title { font-size: 0.9375em; font-weight: 700; }
.p-sd-gallery-modal__close { border: none; background: none; font-size: 1.75em; line-height: 1; cursor: pointer; }
.p-sd-gallery-modal__list { display: grid; gap: 0.75em; width: min(92%, 50em); margin: 0 auto; padding: 0 0 3em; }
.p-sd-gallery-modal__list li { scroll-margin-top: 4em; }
.p-sd-gallery-modal__list img { display: block; width: 100%; height: auto; border-radius: 0.375em; }
html.is-sd-modal-open, html.is-floorplan-open { overflow: hidden; }

/* 2カラム（白ホリ .p-studio）: 左＝内容（PC で 832px）／右＝25em（400px）・間は 3em */
.p-sd__layout { display: grid; grid-template-columns: minmax(0, 1fr) 25em; gap: 3em; align-items: start; margin: 2em 0 0; }
.p-sd__main { min-width: 0; }
.p-sd__side { position: sticky; top: calc(var(--sd-hh, 3.75em) + 1.5em); min-width: 0; }

/* 名前のまわり（白ホリ .catchphrase・h1・.area） */
.p-sd__catch { font-size: 0.875em; line-height: 1.4; }
.p-sd__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1em; }
.p-sd .p-sd__name { flex: 1; min-width: 0; margin: 0.25em 0; font-size: 1.5em; font-weight: 700; line-height: 1.4; color: var(--sd-ink); }
.p-sd .p-sd__title-row .fav-btn--detail { flex: none; width: 2.75em; height: 2.75em; }
.p-sd .p-sd__title-row .fav-btn--detail .fav-btn__icon { width: 1.75em; height: 1.75em; }
.p-sd__area { margin: 0 0 1.5em; padding: 0 0 0 1.375em; font-size: 0.875em; background: url(/assets/theme/assets/images/icon/map.svg) left 0.3em / auto 1.125em no-repeat; }
.p-sd__area a { text-decoration: none; }
.p-sd__area a:hover { text-decoration: underline; }
.p-sd__area-sep { margin: 0 0.25em; color: #b4b4b4; }
.p-sd__station { margin-left: 1em; white-space: nowrap; }
.p-sd__rating { margin: -1em 0 1.5em; font-size: 0.875em; line-height: 1; }
.p-sd__rating a { display: inline-flex; align-items: center; gap: 0.375em; text-decoration: none; }
.p-sd__rating a:hover .c-rating__count { text-decoration: underline; }
.p-sd__closed { display: inline-block; margin: 0 0 1.5em; padding: 0.375em 0.875em; border-radius: 0.25em; background: var(--sd-ink); color: #fff; font-size: 0.875em; font-weight: 700; }
.p-sd__desc { margin: 0 0 2em; }
.p-sd__desc-text { overflow-wrap: anywhere; }
.p-sd__chips { display: flex; flex-wrap: wrap; gap: 0.5em; margin: -1em 0 2em; }
.p-sd__chips li { padding: 0.375em 0.875em; border-radius: 999em; background: var(--sd-chip); font-size: 0.8125em; font-weight: 500; line-height: 1.4; }

/* 編集部のコメント（白ホリ .p-editor-comment） */
.p-sd-comment { margin: 0 0 2em; padding: 1.25em 1.5em; border-radius: 0.75em; background: var(--sd-gray); }
.p-sd .p-sd-comment__title { margin: 0 0 0.5em; font-size: 0.9375em; font-weight: 700; line-height: 1.5; }
.p-sd-comment__body { font-size: 0.875em; line-height: 1.8; overflow-wrap: anywhere; }

/* 見出しナビ（白ホリ #js_nav）: 外枠は高さ0で追従、スペックを読み終えたら出す（.is-shown はページのスクリプト） */
.p-sd-nav { position: sticky; top: var(--sd-hh, 3.75em); z-index: 20; height: 0; margin: 0 0 2em; }
.p-sd-nav__inner { position: relative; display: flex; overflow-x: auto; scrollbar-width: none; background: #fff; box-shadow: inset 0 -0.0625em 0 #eee; opacity: 0; visibility: hidden; transform: translateY(-0.5em); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; }
.p-sd-nav__inner::-webkit-scrollbar { display: none; }
.p-sd-nav.is-shown .p-sd-nav__inner { opacity: 1; visibility: visible; transform: none; }
.p-sd-nav__inner::after { content: ""; position: sticky; right: 0; flex: 0 0 3em; margin: 0 0 0.1875em -3em; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff); }
.p-sd-nav__inner ul { display: flex; flex: 0 0 auto; flex-wrap: nowrap; }
.p-sd-nav__inner li:last-child { padding-right: 3em; }
.p-sd-nav__inner a { display: block; padding: 0.9em 1em; font-size: 0.875em; font-weight: 700; white-space: nowrap; text-decoration: none; border-bottom: 0.1875em solid transparent; }
.p-sd-nav__inner a.is-current { border-bottom-color: var(--sd-ink); }

/* 見出し（白ホリ .single .container h3＝左に墨の輪・1.375em）。区切りは白ホリと同じ細い線 */
.p-sd-sec { padding: 2em 0; border-bottom: 0.0625em solid var(--sd-line); }
.p-sd-spec { padding-top: 0; }
.p-sd .p-sd-h { margin: 0 0 0.5em; padding: 0 0 0 1.5em; font-size: 1.375em; font-weight: 700; line-height: 1.6; color: var(--sd-ink); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%231a1a1a' d='m50,100C22.43,100,0,77.57,0,50S22.43,0,50,0s50,22.43,50,50-22.43,50-50,50Zm0-82.35c-17.84,0-32.35,14.51-32.35,32.35s14.51,32.35,32.35,32.35,32.35-14.51,32.35-32.35-14.51-32.35-32.35-32.35Z'/%3E%3C/svg%3E") left center / auto 0.75em no-repeat; }
.p-sd .p-sd-h3 { margin: 0 0 0.5em; font-size: 1.125em; font-weight: 700; line-height: 1.5; color: var(--sd-ink); }
/* 白ホリの ◯-表の小見出し（.tags .tag h5）と同じ左の線 */
.p-sd .p-sd-h3--bar { margin: 1.5em 0 0.75em; padding-left: 1em; font-size: 1em; border-left: 0.125em solid var(--sd-ink); }
.p-sd .p-sd-h + .p-sd-h3--bar { margin-top: 1em; }
.p-sd-text { font-size: 0.9375em; line-height: 1.8; overflow-wrap: anywhere; }

/* 定義リスト（白ホリ .spec dl・.info dl）: 項目名 8em＋内容 */
.p-sd-dl > div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 0 1em; padding: 0.5em 0; }
.p-sd-dl dt { font-weight: 700; }
.p-sd-dl dd { overflow-wrap: anywhere; }
.p-sd-dl address { font-style: normal; }

/* スペック（白ホリ .spec）: 左＝大きな数字、右＝文章の項目 */
.p-sd-spec__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1em 2%; margin: 1em 0 0; }
.p-sd-spec__size { width: 49%; text-align: center; }
.p-sd-spec__list { width: 49%; }
.p-sd-spec__list > div { grid-template-columns: 7em minmax(0, 1fr); }
.p-sd-spec__kind { margin: 0 0 1em; font-size: 0.875em; font-weight: 700; }
.p-sd-spec__nums { display: flex; justify-content: center; align-items: flex-end; gap: 1.25em; }
.p-sd-spec__num { font-size: 2em; line-height: 1.4; }
.p-sd-spec__key { display: block; margin: 0 0 0.5em; font-size: 0.375em; line-height: 1; }
.p-sd-spec__unit { padding-left: 0.25em; font-size: 0.5em; }

/* 特徴・動画（白ホリ .p-feature・.p-movie） */
.p-sd-feature { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5em 1.25em; margin: 1em 0 0; }
.p-sd-feature li { min-width: 0; }
.p-sd-feature img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0.5em; }
.p-sd-feature figcaption { margin: 0.625em 0 0; font-size: 0.875em; line-height: 1.7; overflow-wrap: anywhere; }
.p-sd-movie { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 1em 0 0; border: 0; border-radius: 0.5em; }

/* 料金（白ホリ .price）。スチール／ムービーのタブは白ホリの「スチール撮影｜ムービー撮影」の切り替えと同じ見た目 */
.p-sd-tabs { display: flex; flex-wrap: wrap; gap: 0 0.25em; margin: 1em 0 0; }
.p-sd-tabs__radio { position: absolute; opacity: 0; pointer-events: none; }
.p-sd-tabs__tab { flex: 1; max-width: 12em; padding: 0.5em 1em; border-radius: 0.375em; background: var(--sd-gray); font-size: 0.8125em; font-weight: 700; text-align: center; white-space: nowrap; cursor: pointer; }
.p-sd-tabs__radio:checked + .p-sd-tabs__tab { background: var(--sd-ink); color: #fff; }
.p-sd-tabs__radio:focus-visible + .p-sd-tabs__tab { outline: 0.125em solid var(--sd-ink); outline-offset: 0.125em; }
.p-sd-tabs__panel { display: none; width: 100%; margin: 1.25em 0 0; }
#sd-price-photo:checked ~ .p-sd-tabs__panel--photo, #sd-price-video:checked ~ .p-sd-tabs__panel--video { display: block; }
.p-sd-price__unit { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.25em; margin: 0 0 1.25em; }
.p-sd-price__unit strong { font-size: 1.75em; line-height: 1.2; }
.p-sd-price__unit small { font-size: 0.875em; }
.p-sd-price__unit span { width: 100%; font-size: 0.75em; }
.p-sd-price__blocks, .p-sd-price__cols { display: flex; flex-wrap: wrap; justify-content: space-between; }
.p-sd-price__blocks > *, .p-sd-price__col { width: 49%; }
.p-sd-price__cols { margin: 1em 0 0; }
.p-sd-price__col { margin: 0 0 1em; }
.p-sd-price__block { margin: 0 0 1em; overflow-wrap: anywhere; }
.p-sd-price__name { font-weight: 700; }
.p-sd-price__note { font-size: 0.875em; }
.p-sd-price__value small { font-size: 0.75em; }
.p-sd-price__none { font-size: 0.9375em; }
.p-sd-policy-links { display: flex; flex-wrap: wrap; gap: 0.5em 1.5em; margin: 0.5em 0 0; }
.p-sd-policy-links button { padding: 0; border: none; background: none; font-size: 0.875em; text-decoration: underline; text-underline-offset: 0.1875em; cursor: pointer; }

/* 設備・サービス（ホワイトパンダのアイコン）。アイコンの無い分類は丸いチップ */
.p-sd-amenity__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5em, 1fr)); gap: 1em 0.5em; }
.p-sd-amenity__list li.has-icon { display: flex; flex-direction: column; align-items: center; gap: 0.375em; text-align: center; }
.p-sd-amenity__list li.has-icon img { display: block; width: 2.5em; height: 2.5em; }
.p-sd-amenity__list li.has-icon span { font-size: 0.75em; line-height: 1.4; }
.p-sd-amenity__list:has(li.is-chip) { display: flex; flex-wrap: wrap; gap: 0.5em; }
.p-sd-amenity__list li.is-chip { padding: 0.375em 0.875em; border-radius: 999em; background: var(--sd-chip); font-size: 0.8125em; font-weight: 500; line-height: 1.4; }

/* 機材・備品（白ホリ .equipment-grid。左の列では4列） */
.p-sd-equipment { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75em 1.25em; margin: 0 0 2em; }
.p-sd .p-sd-h + .p-sd-h3 { margin-top: 0.75em; }
.p-sd-equipment li { display: flex; flex-direction: column; align-items: center; gap: 0.125em; min-width: 0; text-align: center; }
.p-sd-equipment__image { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 3 / 2; margin-bottom: 0.75em; border-radius: 0.75em; background: #fff; }
.p-sd-equipment__image img { width: 100%; height: 100%; object-fit: contain; }
.p-sd-equipment__qty { position: absolute; top: 0; right: 0; display: flex; align-items: center; justify-content: center; min-width: 2.5em; height: 2.5em; padding: 0 0.375em; border-radius: 999em; background: var(--sd-ink); color: #fff; font-size: 0.8125em; font-weight: 700; }
.p-sd-equipment__name { max-width: 100%; font-size: 0.9375em; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.p-sd-equipment__count { margin-left: 0.375em; font-weight: 500; }
.p-sd-equipment__model { max-width: 100%; font-size: 0.8125em; line-height: 1.5; overflow-wrap: anywhere; }
.p-sd-equipment__price { margin: 0.375em 0 0; font-size: 0.8125em; font-weight: 700; }

/* 口コミ（部品は review.css。並びと余白だけ白ホリ .p-reviews に合わせる） */
.p-sd-reviews .p-reviews__summary { margin: 1em 0 0.5em; }
.p-sd-reviews__note { margin: 0 0 1.5em; font-size: 0.75em; line-height: 1.7; }
.p-sd-reviews .p-reviews__list { gap: 1.25em; }
.p-sd-reviews__more { margin: 1.5em 0 0; font-size: 0.875em; }
.p-sd-reviews__more a { text-underline-offset: 0.1875em; }

/* よくある質問（白ホリ .faq＋.menu__item__link の ▼）。details で開閉 */
.p-sd-faq__item { padding: 0 0 0.5em; }
.p-sd-faq__item summary { position: relative; display: flex; align-items: baseline; padding: 0 2.25em 0 0; cursor: pointer; list-style: none; }
.p-sd-faq__item summary::-webkit-details-marker { display: none; }
.p-sd-faq__item summary::after { content: "▼"; position: absolute; top: 0.3em; right: 0; width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--sd-ink); color: #fff; font-size: 0.625em; line-height: 2.4em; text-align: center; }
.p-sd-faq__item[open] summary::after { content: "▲"; }
.p-sd-faq__mark { flex: none; padding: 0 0.5em 0 0; font-size: 1.25em; line-height: 1.2; }
.p-sd-faq__q { overflow-wrap: anywhere; }
.p-sd-faq__a { display: flex; align-items: baseline; padding: 0.25em 0 0.5em; overflow-wrap: anywhere; }

/* アクセス（白ホリ .p-access） */
.p-sd-access__list li { display: grid; grid-template-columns: 8em minmax(0, 1fr); align-items: baseline; padding: 0.5em 0; }
.p-sd-access__walk { font-weight: 700; white-space: nowrap; }
.p-sd-access__lines { display: block; font-size: 0.8125em; }
.p-sd-access__note { margin: 1em 0 0; font-size: 0.75em; line-height: 1.6; }
.p-sd-access__route { margin: 0.5em 0 0; font-size: 0.875em; }

/* 基本情報（白ホリ .info）・平面図（.p-floorplan）・地図 */
.p-sd-info { border-bottom: none; }
.p-sd-info .p-sd-dl { margin: 1em 0 0; }
.p-sd-info__report { margin: 0.75em 0 0; font-size: 0.8125em; text-align: right; }
.p-sd-floorplan { margin: 2em 0 0; }
.p-sd-floorplan__title { margin: 0 0 0.75em; font-size: 0.9375em; font-weight: 700; }
.p-sd-floorplan__link { display: block; margin: 0 0 0.75em; cursor: zoom-in; }
.p-sd-floorplan__link img { display: block; width: 100%; height: auto; }
.p-sd-floorplan__note { font-size: 0.75em; }
.p-sd-info__map { margin: 2em 0 0; }
.p-sd-info__map iframe { display: block; width: 100%; height: 25em; border: 0; }
/* 平面図の拡大（site/studio/floorplan-modal・白ホリ .p-floorplan-modal と同じ） */
.p-floorplan-modal { width: min(94vw, 72em); max-width: none; max-height: 92vh; margin: auto; padding: 2.5em 1.5em 1.5em; border: 0; border-radius: 0.75em; background: #fff; overflow: auto; }
.p-floorplan-modal::backdrop { background: rgba(0, 0, 0, 0.5); }
.p-floorplan-modal__img { display: block; width: 100%; height: auto; max-height: calc(92vh - 4em); object-fit: contain; }
.p-floorplan-modal__close { position: absolute; top: 0.5em; right: 0.5em; width: 2em; height: 2em; border: 0; border-radius: 50%; background: var(--sd-gray); color: var(--sd-ink); font-size: 1.125em; line-height: 1; cursor: pointer; }

/* 免責事項・運営者様へ（淡い面に置く） */
.p-sd-note { margin: 2em 0 0; padding: 1.25em 1.5em; border-radius: 0.75em; background: var(--sd-gray); }
.p-sd .p-sd-note__title { margin: 0 0 0.375em; font-size: 0.9375em; font-weight: 700; line-height: 1.5; }
.p-sd-note__text { font-size: 0.8125em; line-height: 1.8; }
.p-sd-note__text a { padding: 0 0.125em; text-decoration: underline; }

/* 予約前のお問い合わせ（白ホリ .p-studio-inquiry） */
.p-sd-inquiry { margin: 2.5em 0 0; padding: 1.5em; border-radius: 0.75em; background: var(--sd-gray); }
.p-sd .p-sd-inquiry__title { margin: 0 0 0.5em; font-size: 1.125em; font-weight: 700; }
.p-sd-inquiry__text { margin: 0 0 1em; font-size: 0.875em; line-height: 1.7; }

/* ボタン（右の列・お問い合わせ・スマホの固定バー）。いちばん大事なボタンはブランドのグラデーション＋白文字 */
.p-sd-btn { display: block; margin: 0.5em 0 0; padding: 0.875em 1em; border-radius: 0.375em; background: var(--sd-gray); color: var(--sd-ink); font-size: 0.875em; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer; }
.p-sd-btn:hover { opacity: 0.85; }
.p-sd-btn.is-primary { background: var(--sd-brand-gradient); color: #fff; }
.p-sd-btn.is-ink { display: inline-block; margin: 0; padding: 0.875em 1.5em; background: var(--sd-ink); color: #fff; white-space: nowrap; }
.p-sd-btn.is-disabled { opacity: 0.375; cursor: default; }

/* 右の列のカード（白ホリ .p-studio-card） */
.p-sd-card { padding: 1.5em; border-radius: 0.75em; background: #fff; box-shadow: 0 0.25em 1.5em rgba(26, 26, 26, 0.12); }
.p-sd-card__price { font-size: 0.875em; }
.p-sd-card__price strong { font-size: 1.5em; }
.p-sd-card__sub { margin: 0.125em 0 0; font-size: 0.75em; }
.p-sd-card__fees { display: flex; flex-wrap: wrap; gap: 0.25em 1em; margin: 0.75em 0 0; font-size: 0.8125em; }
.p-sd-card__response { margin: 0.75em 0 0; font-size: 0.8125em; }
.p-sd-card .p-sd-btn:first-of-type { margin-top: 1em; }
.p-sd-policy-links--card { justify-content: center; margin: 1em 0 0; }
.p-sd-policy-links--card button { font-size: 0.8125em; }

/* 右の列のクーポン・オーナーインタビュー・QR */
.p-sd-coupon, .p-sd-interview { margin: 1.5em 0 0; padding: 1.25em 1.5em; border-radius: 0.75em; background: var(--sd-gray); }
.p-sd .p-sd-coupon__title, .p-sd .p-sd-interview__title { margin: 0 0 0.5em; font-size: 0.9375em; font-weight: 700; }
.p-sd-coupon__text { font-size: 0.875em; }
.p-sd-coupon__meta { margin: 0.5em 0 0; font-size: 0.75em; }
.p-sd-interview__item { display: flex; align-items: center; gap: 0.75em; margin: 0.75em 0 0; font-size: 0.8125em; font-weight: 700; text-decoration: none; }
.p-sd-interview__item img { flex: none; width: 5em; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0.375em; }
.p-sd-interview__item:hover span { text-decoration: underline; }
.p-sd-qr { display: flex; flex-direction: column; align-items: center; gap: 0.5em; margin: 1.5em 0 0; font-size: 0.75em; }
.p-sd-qr img, .p-sd-qr canvas { width: 8em; height: 8em; }

/* このスタジオの条件で他のスタジオを探す（白ホリ .tag-links） */
.p-sd-links { margin: 3em 0 0; }
.p-sd-links__groups { display: flex; flex-direction: column; gap: 1.25em; margin: 1em 0 0; }
.p-sd-links__group { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 0.5em 1.5em; align-items: baseline; }
.p-sd-links__group dt { font-size: 0.8125em; font-weight: 700; }
.p-sd-links__group dd { display: flex; flex-wrap: wrap; gap: 0.5em; }
.p-sd-links__group dd a, .p-sd-arealinks__list a { display: inline-block; padding: 0.375em 0.875em; border-radius: 999em; background: var(--sd-chip); font-size: 0.8125em; font-weight: 500; line-height: 1.4; text-decoration: none; transition: background-color 0.15s, color 0.15s; }
.p-sd-links__group dd a:hover, .p-sd-arealinks__list a:hover { background: var(--sd-ink); color: #fff; }
.p-sd__modified { margin: 3em 0 0; font-size: 0.875em; text-align: center; }

/* 関連スタジオ（白ホリ .related-studios・.mini-card）。写真は4:3でそろえる */
.p-sd-related { margin: 4em 0 0; }
.p-sd .p-sd-related__title { margin: 0 0 1em; font-size: 1.2em; font-weight: 700; line-height: 1.4; }
.p-sd-related__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5em 1.25em; }
.p-sd-mini { position: relative; min-width: 0; }
.p-sd-mini > a { display: block; text-decoration: none; }
.p-sd .p-sd-mini .fav-btn.fav-btn--card { position: absolute; top: 0.5em; right: 0.5em; z-index: 2; width: 2.25em; height: 2.25em; border-radius: 50%; background: #fff; box-shadow: 0 0.125em 0.5em rgba(0, 0, 0, 0.15); }
.p-sd-mini__image { aspect-ratio: 4 / 3; border-radius: 0.5em; overflow: hidden; background: var(--sd-chip); }
.p-sd-mini__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.p-sd-mini > a:hover .p-sd-mini__image img { transform: scale(1.04); }
.p-sd-mini__loc { margin: 0.6em 0 0; padding: 0 0 0 1.25em; font-size: 0.8125em; background: url(/assets/theme/assets/images/icon/map.svg) left center / auto 1em no-repeat; }
.p-sd .p-sd-mini__name { margin: 0.2em 0 0.35em; font-size: 1.0625em; font-weight: 700; line-height: 1.45; color: var(--sd-ink); }
.p-sd-mini > a:hover .p-sd-mini__name { text-decoration: underline; }
.p-sd-mini__station { margin: -0.15em 0 0.35em; font-size: 0.8125em; line-height: 1.4; }
.p-sd-mini .c-rating { margin: 0 0 0.35em; }
.p-sd-mini__desc { display: -webkit-box; margin: 0 0 0.6em; font-size: 0.8125em; line-height: 1.6; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-sd-mini__meta { display: flex; flex-wrap: wrap; gap: 0.4em 1.2em; font-size: 0.8125em; }
.p-sd-mini__meta span:first-child { padding-left: 1.25em; background: url(/assets/theme/assets/images/icon/yen.svg) left center / auto 1em no-repeat; }
.p-sd-mini__meta span:last-child { padding-left: 1.25em; background: url(/assets/theme/assets/images/icon/ruler.svg) left center / auto 1em no-repeat; }

/* 周辺のエリアから探す */
.p-sd-arealinks__list { display: flex; flex-wrap: wrap; gap: 0.5em; margin: 0.75em 0; }
.p-sd-arealinks__list span { margin-left: 0.375em; font-size: 0.875em; }
.p-sd-arealinks__more { margin: 0.5em 0 0; font-size: 0.875em; }

/* 似た条件のスタジオ（条件の自動生成の一覧へ・2026-11-10 C案）。区切りは塗りだけ・件数は右に寄せて折り返さない */
.p-sd-axis__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(16em, 1fr)); gap: 0.75em; margin: 0; padding: 0; list-style: none; }
.p-sd-axis__list a { display: flex; align-items: center; gap: 1em; height: 100%; padding: 1em 1.25em; border-radius: 0.5em; background: var(--sd-chip); color: var(--sd-ink); text-decoration: none; transition: background-color 0.15s, color 0.15s; }
.p-sd-axis__list a:hover { background: var(--sd-ink); color: #fff; }
.p-sd-axis__text { flex: 1; min-width: 0; }
.p-sd-axis__name { display: block; font-size: 0.9375em; font-weight: 700; line-height: 1.5; }
.p-sd-axis__detail { display: block; margin-top: 0.125em; font-size: 0.8125em; }
.p-sd-axis__count { font-size: 0.9375em; font-weight: 700; white-space: nowrap; }
.p-sd-axis__count::after { content: " →"; }
@media (max-width: 769px) {
    .p-sd-axis__list { grid-template-columns: minmax(0, 1fr); }
}

/* キャンセルポリシー・利用規約のモーダル */
.p-sd-modal { width: min(92vw, 40em); max-height: 85vh; margin: auto; padding: 2.5em 1.5em 1.5em; border: 0; border-radius: 0.75em; background: #fff; color: var(--sd-ink); overflow: auto; }
.p-sd-modal::backdrop { background: rgba(26, 26, 26, 0.6); }
.p-sd-modal__close { position: absolute; top: 0.5em; right: 0.5em; width: 2em; height: 2em; border: 0; border-radius: 50%; background: var(--sd-gray); font-size: 1.125em; line-height: 1; cursor: pointer; }
.p-sd .p-sd-modal__title { margin: 0 0 0.75em; font-size: 1.125em; font-weight: 700; }
.p-sd-modal__body { font-size: 0.875em; line-height: 1.8; overflow-wrap: anywhere; }

/* 「日時を選ぶ」パネル（2026-11-14 白ホリ #327 の .c-datepanel の写し・site/studio/v2/date-panel）。右の列のカードの中に置く。
   色は白黒＋ブランドの1色（選んだ時間はティール・予約できない時間は墨・営業時間外は淡いグレー）。曜日の赤・紺はフォームの日付と同じ例外 */
.p-sd__side.has-datepanel { max-height: calc(100vh - var(--sd-hh, 3.75em) - 2.5em); margin: -0.5em -0.75em 0; padding: 0.5em 0.75em 1.5em; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.p-sd-datepanel { margin: 1.25em 0 0; }
.p-sd-datepanel__head { display: flex; align-items: center; gap: 0.5em; margin: 0 0 0.75em; }
.p-sd .p-sd-datepanel__title { flex: 1; font-size: 1em; font-weight: 700; }
.p-sd-datepanel__close { display: none; padding: 0; border: none; background: none; font-size: 1.5em; line-height: 1; cursor: pointer; }
.p-sd-datepanel__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.p-sd-datepanel__usage { display: flex; gap: 0.25em; margin: 0 0 0.75em; padding: 0.25em; border-radius: 0.5em; background: var(--sd-gray); }
.p-sd-datepanel__usage[hidden] { display: none; }
.p-sd-datepanel__usage button { flex: 1; padding: 0.375em 0.5em; border: none; border-radius: 0.375em; background: none; font-size: 0.8125em; font-weight: 700; white-space: nowrap; cursor: pointer; }
.p-sd-datepanel__usage button.is-current { background: var(--sd-ink); color: #fff; }
.p-sd-datepanel__loading, .p-sd-datepanel__note { margin: 0.75em 0 0; font-size: 0.8125em; }
.p-sd-datepanel__cal.is-loading { opacity: 0.4; }
.p-sd-datepanel__month { display: flex; align-items: center; justify-content: space-between; margin: 0 0 0.25em; font-weight: 700; font-variant-numeric: tabular-nums; }
.p-sd-datepanel__month button { padding: 0 0.5em; border: none; background: none; font-size: 1.25em; line-height: 1; cursor: pointer; }
.p-sd-datepanel__month button:disabled { opacity: 0.25; cursor: default; }
.p-sd-datepanel__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; }
.p-sd-datepanel__wd { padding: 0.25em 0; font-size: 0.75em; font-weight: 700; }
.p-sd-datepanel__wd.is-sun, .p-sd-datepanel__date.is-sun .n { color: #c0392b; }
.p-sd-datepanel__wd.is-sat, .p-sd-datepanel__date.is-sat .n { color: #2b4a8b; }
.p-sd-datepanel__date { padding: 0.125em 0 0.25em; border: none; background: none; cursor: pointer; }
.p-sd-datepanel__date .n { display: inline-flex; align-items: center; justify-content: center; width: 2em; height: 2em; border-radius: 50%; font-size: 0.875em; font-variant-numeric: tabular-nums; }
.p-sd-datepanel__date .m { display: block; font-size: 0.75em; line-height: 1; }
.p-sd-datepanel__date:disabled { opacity: 0.3; cursor: default; }
.p-sd-datepanel__date.is-sel .n, .p-sd-datepanel__date.is-sel.is-sun .n, .p-sd-datepanel__date.is-sel.is-sat .n { background: var(--sd-ink); color: #fff; }
.p-sd .p-sd-datepanel__h { margin: 1em 0 0.375em; font-size: 0.875em; font-weight: 700; }
.p-sd-datepanel__min { font-weight: 400; }
.p-sd-datepanel__ticks { display: flex; justify-content: space-between; font-size: 0.6875em; font-variant-numeric: tabular-nums; }
.p-sd-datepanel__bar { display: grid; grid-template-columns: repeat(48, minmax(0, 1fr)); height: 2em; margin: 0.125em 0 0; border-radius: 0.25em; overflow: hidden; box-shadow: inset 0 0 0 0.0625em #e6e6e6; }
.p-sd-datepanel__bar > * { display: block; min-width: 0; padding: 0; border: none; border-left: 0.0625em solid #eee; background: #fff; }
.p-sd-datepanel__bar > :first-child { border-left: none; }
.p-sd-datepanel__bar .is-busy { background: var(--sd-ink); }
.p-sd-datepanel__bar .is-closed { background: var(--sd-gray); }
.p-sd-datepanel__bar .is-pick { background: var(--sd-brand); }
.p-sd-datepanel__bar button { cursor: pointer; }
.p-sd-datepanel__bar button:hover { background: var(--sd-brand); }
.p-sd-datepanel__legend { display: flex; flex-wrap: wrap; gap: 0.125em 0.875em; margin: 0.375em 0 0; font-size: 0.6875em; }
.p-sd-datepanel__legend i { display: inline-block; width: 0.875em; height: 0.875em; margin-right: 0.25em; vertical-align: -0.0625em; border-radius: 0.125em; box-shadow: inset 0 0 0 0.0625em #e6e6e6; }
.p-sd-datepanel__legend .is-free { background: #fff; }
.p-sd-datepanel__legend .is-busy { background: var(--sd-ink); }
.p-sd-datepanel__legend .is-closed { background: var(--sd-gray); }
.p-sd-datepanel__legend .is-pick { background: var(--sd-brand); }
.p-sd-datepanel__time { display: flex; align-items: center; gap: 0.5em; }
.p-sd-datepanel__time select { flex: 1; min-width: 0; padding: 0.625em 0.75em; border: none; border-radius: 0.25em; background: var(--sd-gray); color: var(--sd-ink); font-size: 0.9375em; font-variant-numeric: tabular-nums; -webkit-appearance: none; appearance: none; }
.p-sd-datepanel__msg { margin: 0.5em 0 0; color: #8b1a1a; font-size: 0.75em; }
.p-sd-datepanel__msg[hidden] { display: none; }
.p-sd-datepanel__foot { margin: 1em 0 0; padding: 0.75em 0 0; border-top: 0.0625em solid #eee; background: #fff; }
.p-sd__side.has-datepanel .p-sd-datepanel__foot { position: sticky; bottom: -1.5em; z-index: 1; padding-bottom: 1.5em; }
.p-sd-datepanel__sum { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 0.75em; font-size: 0.8125em; font-variant-numeric: tabular-nums; }
.p-sd-datepanel__price { font-size: 1.25em; white-space: nowrap; }
.p-sd .p-sd-datepanel__go { margin: 0.5em 0 0; white-space: nowrap; }
.p-sd .p-sd-datepanel__go.is-disabled { background: #c8c8c8; opacity: 1; cursor: not-allowed; }

/* スマホの下の固定バー（白ホリ #sp_reserve.is-book と同じ形）。PC では出さない */
.p-sd-spbar { display: none; }

@media (max-width: 769px) {
	.p-sd { font-size: clamp(0px, calc(100vw / 25), 16px); }
	/* スマホは旧テーマの .inner がヘッダーの分（48px）を空けている */
	.p-sd__container { padding: 1em 0 2em; }
	.p-sd-crumbs { margin-bottom: 1.25em; font-size: 0.6875em; -webkit-mask-image: linear-gradient(to right, #000 85%, transparent 100%); mask-image: linear-gradient(to right, #000 85%, transparent 100%); }

	/* 写真は画面幅いっぱいで横にめくる（コンテナ 92% の外へ 4% ずつはみ出す） */
	.p-sd-gallery { margin: 0.75em -4.3478% 0; }
	.p-sd-gallery__grid { display: flex; aspect-ratio: auto; gap: 0; border-radius: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.p-sd-gallery__grid::-webkit-scrollbar { display: none; }
	.p-sd-gallery__item, .p-sd-gallery__item:nth-child(n+6), .p-sd-gallery.is-n4 .p-sd-gallery__item:nth-child(4) { display: block; flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: start; }
	.p-sd-gallery.is-n0 .p-sd-gallery__img { aspect-ratio: 4 / 3; }
	.p-sd-gallery__all { display: none; }
	.p-sd-gallery__count { display: block; position: absolute; right: 1em; bottom: 0.75em; padding: 0.125em 0.625em; border-radius: 999em; background: rgba(26, 26, 26, 0.7); color: #fff; font-size: 0.75em; font-variant-numeric: tabular-nums; }

	/* 1カラム。右の列（料金と予約）は内容のあとに続け、画面の下に固定バーを出す */
	.p-sd__layout { display: block; margin: 1.5em 0 0; }
	.p-sd__side { position: static; margin: 2.5em 0 0; }
	.p-sd-qr { display: none; }
	.p-sd .p-sd__name { font-size: 1.375em; }
	.p-sd__catch { font-size: 0.75em; }
	.p-sd__station { display: inline-block; margin-left: 0.5em; }
	.p-sd-nav { margin: 0 0 1.5em; }
	.p-sd-nav__inner a { padding: 0.8em 0.875em; }

	.p-sd-spec__size, .p-sd-spec__list { width: 100%; }
	.p-sd-spec__size { margin: 0 0 1em; }
	.p-sd-price__blocks > *, .p-sd-price__col { width: 100%; }
	.p-sd-tabs__tab { max-width: none; }
	.p-sd-feature { grid-template-columns: minmax(0, 1fr); gap: 1.5em; }
	.p-sd-equipment { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5em 1em; }
	.p-sd-amenity__list { grid-template-columns: repeat(auto-fill, minmax(5.5em, 1fr)); }
	.p-sd-dl > div, .p-sd-spec__list > div { grid-template-columns: 6.5em minmax(0, 1fr); }
	.p-sd-access__list li { grid-template-columns: 6em minmax(0, 1fr); }
	.p-sd-info__map iframe { height: 18.75em; }
	.p-sd-links__group { grid-template-columns: minmax(0, 1fr); gap: 0.5em; }
	.p-sd-btn.is-ink { display: block; text-align: center; }
	.p-sd-related { margin: 3em 0 0; }
	.p-sd-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2em 1em; }
	.p-sd-comment, .p-sd-note { padding: 1em 1.125em; }
	.p-floorplan-modal { width: 100vw; height: 100vh; max-height: none; border-radius: 0; padding: 3em 0.75em 0.75em; }
	.p-floorplan-modal[open] { display: flex; align-items: center; }
	.p-floorplan-modal__img { max-height: none; }

	/* 日時を選ぶパネル: 内容のあとのカードの中にそのまま出し、固定バーの［日時を選んで予約する］で全画面に開く */
	.p-sd__side.has-datepanel { max-height: none; margin: 2.5em 0 0; padding: 0; overflow: visible; }
	.p-sd-datepanel.is-open { position: fixed; inset: 0; z-index: 1000000000; /* 旧テーマの固定ヘッダー（z-index が大きい）より上 */ display: flex; flex-direction: column; margin: 0; background: #fff; }
	.p-sd-datepanel.is-open .p-sd-datepanel__head { margin: 0; padding: 1em 4% 0.75em; border-bottom: 0.0625em solid #eee; }
	.p-sd-datepanel.is-open .p-sd-datepanel__title { text-align: center; font-size: 1.0625em; }
	.p-sd-datepanel.is-open .p-sd-datepanel__close { display: block; position: absolute; right: 4%; top: 0.5em; }
	.p-sd-datepanel.is-open .p-sd-datepanel__body { flex: 1; min-height: 0; overflow-y: auto; padding: 0.75em 4%; }
	.p-sd-datepanel.is-open .p-sd-datepanel__foot { margin: 0; padding: 0.75em 4% calc(0.75em + env(safe-area-inset-bottom)); }
	.p-sd-datepanel__date .n { width: 2.25em; height: 2.25em; font-size: 1em; }
	/* iOS は 16px 未満の入力欄で拡大するので 1em 以上 */
	.p-sd-datepanel__time select { font-size: 1em; }
	html.is-datepanel-open, html.is-datepanel-open body { overflow: hidden; }
	html.is-datepanel-open .p-sd-spbar { display: none; }

	.p-sd-spbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; display: flex; align-items: center; justify-content: space-between; gap: 0.75em; padding: 0.75em 4% calc(0.75em + env(safe-area-inset-bottom)); background: #fff; border-top: 0.0625em solid #eee; }
	.p-sd-spbar__price { flex: none; font-size: 0.8125em; white-space: nowrap; }
	.p-sd-spbar__price strong { font-size: 1.25em; }
	.p-sd-spbar__btns { display: flex; flex: 1; justify-content: flex-end; gap: 0.5em; min-width: 0; }
	.p-sd-spbar .p-sd-btn { margin: 0; padding: 0.875em 1em; white-space: nowrap; }
	/* 固定バーでフッターの最後が隠れないように */
	body.p-sd-page { padding-bottom: 5em; }
}
