@charset "utf-8";
/*
 * 口コミ（2026-10-27・白ホリ custom.css の .c-stars / .p-reviews / .c-review / .sc-rating の写し。色はホワイトパンダの文字色）。
 * 読むページ: スタジオ詳細（site/studio）・口コミ一覧（site/studio-reviews）・一覧のカードがあるページ（site/list/assets・site/wp/head）。
 * 旧テーマの CSS のあとに読む。区切りは余白と淡い面で作り、枠線は使わない。星は塗りの幅（0.5星ごとのクラス）で表す＝インライン style なし。
 * ⚠️ スタジオ詳細は旧テーマの「.single .container ul / h3」が強く当たるので、口コミの部品は ul と h3 を使っていない
 */

/* 星 */
.c-stars { position: relative; display: inline-block; flex: none; font-size: 1em; line-height: 1; letter-spacing: 0; white-space: nowrap; font-family: 'Noto Sans JP', sans-serif; vertical-align: middle; }
.c-stars__base { color: #d4d4d4; }
.c-stars__fill { position: absolute; top: 0; left: 0; overflow: hidden; color: #1a1a1a; }
.c-stars--lg { font-size: 1.25em; }
.c-stars__fill.is-r0 { width: 0; }
.c-stars__fill.is-r1 { width: 0.5em; }
.c-stars__fill.is-r2 { width: 1em; }
.c-stars__fill.is-r3 { width: 1.5em; }
.c-stars__fill.is-r4 { width: 2em; }
.c-stars__fill.is-r5 { width: 2.5em; }
.c-stars__fill.is-r6 { width: 3em; }
.c-stars__fill.is-r7 { width: 3.5em; }
.c-stars__fill.is-r8 { width: 4em; }
.c-stars__fill.is-r9 { width: 4.5em; }
.c-stars__fill.is-r10 { width: 5em; }

/* 一覧のカード（.column の中の名前・最寄り駅の下）と、スタジオ詳細のエリアの行の下 */
.c-rating, .c-studio-rating { display: flex; align-items: center; gap: 0.375em; margin: 0 0 0.5em; font-size: 0.8125em; line-height: 1; color: #1a1a1a; }
.c-rating__avg { font-weight: 700; }
.c-rating__count { white-space: nowrap; }
.c-studio-rating { margin: 0.5em 0; font-size: 0.875em; }
.c-studio-rating a { display: inline-flex; align-items: center; gap: 0.375em; color: inherit; text-decoration: none; }
.c-studio-rating a:hover .c-rating__count { text-decoration: underline; }

/* スタジオ詳細の「口コミ」（左の列・お問い合わせの前）と口コミ一覧 */
section.p-reviews { margin: 2.5em 0 0; color: #1a1a1a; }
section.p-reviews .p-reviews__title { margin: 0 0 0.75em; font-size: 1.125em; font-weight: 700; line-height: 1.4; }
.p-reviews__summary { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em 0.75em; margin: 0 0 0.5em; }
.p-reviews__average { font-size: 2em; font-weight: 700; line-height: 1; }
.p-reviews__count { font-size: 0.875em; }
section.p-reviews p.p-reviews__note { margin: 0 0 1.5em; font-size: 0.75em; line-height: 1.7; }
.p-reviews__list { display: grid; gap: 1em; }
section.p-reviews p.p-reviews__more { margin: 1.5em 0 0; font-size: 0.875em; }
.p-reviews__more a, .p-reviews__pager a { color: #1a1a1a; text-decoration: underline; text-underline-offset: 0.1875em; }
.p-reviews__empty { font-size: 0.875em; }
.p-reviews__pager { display: flex; justify-content: center; align-items: center; gap: 1.5em; margin: 2em 0 0; font-size: 0.875em; }

/* 口コミ1件 */
.c-review { padding: 1.25em 1.5em; border-radius: 0.75em; background: #f5f5f5; color: #1a1a1a; }
.c-review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25em 0.75em; }
.c-review__name { font-size: 0.875em; font-weight: 700; }
.c-review__date { font-size: 0.75em; }
.c-review p.c-review__tags { display: flex; flex-wrap: wrap; gap: 0.375em; margin: 0.625em 0 0; }
.c-review__tags span { padding: 0.25em 0.75em; border-radius: 999em; background: #fff; font-size: 0.75em; white-space: nowrap; }
.c-review p.c-review__body { margin: 0.75em 0 0; font-size: 0.875em; line-height: 1.8; overflow-wrap: anywhere; }
.c-review__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 7.5em)); gap: 0.5em; margin: 0.875em 0 0; }
.c-review__photos a { display: block; }
.c-review__photos img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 0.375em; }
.c-review__reply { margin: 1em 0 0; padding: 0.875em 1.125em; border-radius: 0.5em; background: #fff; }
.c-review p.c-review__reply-title { margin: 0 0 0.25em; font-size: 0.8125em; font-weight: 700; }
.c-review p.c-review__reply-body { margin: 0; font-size: 0.8125em; line-height: 1.8; overflow-wrap: anywhere; }

/* 口コミ一覧のページ（旧テーマの固定ヘッダーの下から始める） */
.p-reviews-page__main { width: min(92%, 45em); margin: 0 auto; padding: 6.5em 0 4em; font-family: 'Google Sans', 'Noto Sans JP', sans-serif; color: #1a1a1a; }
.p-reviews-page__crumb { margin: 0 0 1.5em; font-size: 0.8125em; }
.p-reviews-page__crumb a { color: inherit; }
section.p-reviews--page { margin: 0; }
section.p-reviews--page .p-reviews__title { font-size: 1.5em; }

@media (max-width: 769px) {
    .c-review { padding: 1em 1.125em; }
    .c-review__photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .p-reviews-page__main { padding: 5em 0 4em; }
    section.p-reviews--page .p-reviews__title { font-size: 1.25em; }
}
