/* CTB Review Hub — フロント最低限のスタイル */

.ctb-review-hub-msg {
	margin: 1em 0;
	padding: 0.75em 1em;
	border-radius: 4px;
}

.ctb-review-hub-msg--success {
	background: #ecf7ed;
	border: 1px solid #46b450;
}

.ctb-review-hub-msg--error,
.ctb-review-hub-msg--blocked {
	background: #D5336919;
	border: 1px solid #dc3232;
}

.ctb-review-hub-msg--warn {
	background: #fff8e5;
	border: 1px solid #ffb900;
}

/* ボット対策ハニーポット（視覚・キーボードから外す。display:none は送信用に残すため使わない） */
.ctb-review-hub-antispam-hp {
	position: absolute !important;
	left: -9999px !important;
	top: 0 !important;
	width: 1px !important;
	height: 1px !important;
	max-width: 1px !important;
	max-height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
	padding: 0 !important;
	margin: -1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* 投稿拒否（IP 等）：フォーム非表示メッセージ */
.ctb-review-hub-blocked {
	margin: 1.25em 0;
	border-radius: 14px;
	background: #D5336919;
	overflow: hidden;
}

.ctb-review-hub-blocked__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem 1.5rem 1.3rem 1.25rem;
}

.ctb-review-hub-blocked__icon {
	flex: 0 0 auto;
	width: 2.75rem;
	height: 2.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #D36;
	color: #fff;
	font-size: 1.35rem;
	line-height: 1;
}

.ctb-review-hub-blocked__content {
	flex: 1 1 auto;
	min-width: 0;
}

.ctb-review-hub-blocked__text {
	margin: 0;
	padding: 0;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.7;
	color: #333;
}

@media screen and (max-width: 480px) {
	.ctb-review-hub-blocked__inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 1.1rem 1.1rem 1.2rem;
	}

	.ctb-review-hub-blocked__icon {
		margin-bottom: 0.1rem;
	}
}

.ctb-review-hub-form table {
	width: 100%;
	border-collapse: collapse;
}

.ctb-review-hub-form th,
.ctb-review-hub-form td {
	padding: 0.5em 0.75em;
	vertical-align: top;
	border-bottom: 1px solid #e5e5e5;
}

.ctb-review-hub-form th {
	width: 14em;
	font-weight: 600;
	text-align: left;
}

.ctb-review-hub-rating-label__sub {
	font-size: 0.85em;
	font-weight: inherit;
}

/* お問い合わせ #contact_form ul.form 入力欄と同系（theme css/contact.css） */
.ctb-review-hub-form__inner input[type="text"],
.ctb-review-hub-form__inner input[type="email"],
.ctb-review-hub-form__inner input[type="date"],
.ctb-review-hub-form__inner select,
.ctb-review-hub-form__inner textarea {
	max-width: 100%;
	box-sizing: border-box;
	width: 100%;
	background: #fff;
	color: #1e1e1e;
	font-size: 16px;
	border: 2px solid #fff;
	letter-spacing: 1px;
	border-radius: 10px;
	font-family: 'Noto Sans JP', sans-serif !important;
	transition: 0.3s;
}

.ctb-review-hub-form__inner input[type="text"],
.ctb-review-hub-form__inner input[type="email"],
.ctb-review-hub-form__inner input[type="date"],
.ctb-review-hub-form__inner select {
	height: 50px;
	padding: 0 12px;
}

.ctb-review-hub-form__inner textarea {
	height: auto;
	min-height: 200px;
	padding: 15px;
}

.ctb-review-hub-form__inner input[type="text"]:focus,
.ctb-review-hub-form__inner input[type="email"]:focus,
.ctb-review-hub-form__inner input[type="date"]:focus,
.ctb-review-hub-form__inner select:focus,
.ctb-review-hub-form__inner textarea:focus {
	border-color: #f60;
	box-shadow: 0 6px 18px rgb(0 0 0 / 15%);
	outline: none;
}

.ctb-review-hub-form select,
.ctb-review-hub-form input[type="date"] {
	cursor: pointer;
}

.ctb-review-hub-form select:disabled,
.ctb-review-hub-form input[type="date"]:disabled {
	cursor: not-allowed;
}

.ctb-review-hub-form input::placeholder,
.ctb-review-hub-form textarea::placeholder {
	color: #1e1e1e;
	opacity: 1;
}

.ctb-review-hub-form__textarea-wrap {
	position: relative;
	display: block;
	width: 100%;
}

.ctb-review-hub-form__inner .ctb-review-hub-form__textarea-wrap textarea {
	width: 100%;
	padding: 15px 15px 1.75rem;
}

.ctb-review-hub-form__char-count {
	position: absolute;
	right: 0.4rem;
	bottom: -8px;
	font-size: 0.8rem;
	line-height: 1.2;
	color: #6b6b6b;
	pointer-events: none;
	white-space: nowrap;
}

.ctb-review-hub-form__help,
.ctb-review-hub-form-page-form__help {
	margin-top: -6px;
	font-size: 13px !important;
	color: #6b6b6b;
}
.ctb-review-hub-form__error-summary,
.ctb-review-hub-form-page-form__error-summary {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border: 1px solid #dc3232;
	border-radius: 8px;
	background: #D5336919;
	color: #b42318;
	font-weight: 700;
}

.ctb-review-hub-field-error {
	margin: -4px 0 0;
	color: #c80101;
	font-size: 0.9rem;
	font-weight: 700;
}
.ctb-review-hub-form-page-form__guide .ctb-review-hub-field-error {
	text-align: center !important;
	margin-top: 10px !important;
}

.ctb-review-hub-form input.is-error,
.ctb-review-hub-form select.is-error,
.ctb-review-hub-form textarea.is-error,
.ctb-review-hub-form-page-form input.is-error,
.ctb-review-hub-form-page-form select.is-error,
.ctb-review-hub-form-page-form textarea.is-error {
	border-color: #dc3232 !important;
	background: #fff;
}

.ctb-review-rating.is-error {
	margin: 0 0 10px;
	padding: 2px 10px 4px !important;
	border-radius: 10px;
	background: #fff;
	border: 2px solid #dc3232;
}

.ctb-review-rating.is-error .ctb-review-rating__stars label {
	line-height: 1;
	margin: 5px 0 0;
}

.ctb-review-hub-form-page-form__guide.is-error .ctb-review-hub-form-page-form__guide-label {
	padding: 0.75rem 1rem;
	outline: 1px solid #dc3232;
	background: #fff;
	border-radius: 10px;
}

.ctb-review-hub-form .required,
.ctb-review-hub-form .optional,
.ctb-review-hub-form-page-form__field .required,
.ctb-review-hub-form-page-form__field .optional {
	display: inline-block;
	margin-left: 0.4rem;
	padding: 0.05rem 0.45rem;
	border-radius: 999px;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	vertical-align: middle;
}

.ctb-review-hub-form .required,
.ctb-review-hub-form-page-form__field .required {
	background: #d53369;
}

.ctb-review-hub-form .optional,
.ctb-review-hub-form-page-form__field .optional {
	background: #9aa0a6;
}

.ctb-review-rating {
	margin: 0;
	padding: 0;
	border: 0;
}

.ctb-review-rating__stars {
	display: inline-flex;
	gap: 0.15rem;
}

.ctb-review-rating__input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ctb-review-rating__label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #ebb1c4;
	font-size: 1.9rem;
	line-height: 1;
	transition: color 0.15s ease;
}

.ctb-review-rating__label::before {
	content: "\f004";
	font-family: "Font Awesome 5 Free";
	font-weight: 400;
}

.ctb-review-rating__label.is-active {
	color: #d53369;
}

.ctb-review-rating__label.is-active::before {
	font-weight: 900;
}

/* 口コミカード一覧：rem はルート（html）基準のため、検索結果とクリニックページで解釈がズレる。主に px で統一。 */
/* 太さ：テーマの p strong / 見出し継承に左右されないよう 400 ベース＋各クラスで明示 */
.ctb-review-hub-clinic-section,
.ctb-review-hub-clinic-section--search-embed,
.ctb-review-hub-list {
	color: #222;
	-webkit-text-size-adjust: 100%;
	font-style: normal;
	font-weight: 400;
}

.ctb-review-hub-clinic-section p,
.ctb-review-hub-list p {
	font-weight: 400;
}

.ctb-review-hub-list article.ctb-review-hub-list__item b,
.ctb-review-hub-list article.ctb-review-hub-list__item strong {
	font-weight: 700;
}

.ctb-review-hub-list {
	display: grid;
	gap: 20px;
}

.ctb-review-hub-list.is-clinic-summary {
	padding: 20px;
	border-radius: 20px;
	background: #fff2f7;
}

/* 承認0件：クリニック詳細 [ctb_review_clinic] — 専用フォームとトーンを揃える（背景は薄ピンク単色） */
.ctb-review-hub-clinic-section .ctb-review-hub-no-reviews {
	border-radius: 20px;
	background: #fff2f7;
	padding: 1.75rem 1.5rem 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.ctb-review-hub-clinic-section .ctb-review-hub-no-reviews__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 1rem;
	color: #d53369;
	/* フォーム review_title アイコン（~52px）に近い強調 */
	font-size: clamp(2.5rem, 4vw, 3.25rem);
	line-height: 1;
}

.ctb-review-hub-clinic-section .ctb-review-hub-no-reviews__icon i {
	font-weight: 400;
}

.ctb-review-hub-clinic-section .ctb-review-hub-no-reviews__title {
	margin: 0 0 1.1rem;
	padding: 0;
	border: none;
	background: none;
	color: #d53369;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.55;
	letter-spacing: 0.02em;
	text-align: center;
}

.ctb-review-hub-clinic-section .ctb-review-hub-no-reviews__lead {
	margin: 0 auto 1.25rem;
	padding: 0;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	font-size: 0.9375rem;
	line-height: 1.75;
	color: #d53369;
	text-align: center;
	word-break: keep-all;
    overflow-wrap: anywhere;
	max-width: 460px;
}

.ctb-review-hub-clinic-section .ctb-review-hub-no-reviews__lead a {
	color: #d53369;
	text-decoration: underline;
	font-weight: 600;
}

.ctb-review-hub-clinic-section .ctb-review-hub-no-reviews__meta,
.ctb-review-hub-clinic-section .ctb-review-hub-no-reviews p.review_time {
	display: inline-block;
	margin: 0 0 1.35rem;
	padding: 0.4rem 1.1rem;
	background: #fff;
	border: none;
	border-radius: 999px;
	font-size: 0.8125rem;
	color: #1e1e1e;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.4;
	text-align: center;
}

.ctb-review-hub-clinic-section .ctb-review-hub-no-reviews__action.btn1 {
	margin-top: 0.15rem;
	align-self: center;
}

/* 口コミ平均点（承認済み5項目の集計。`list` / `form-page__card` の外に配置。件数0のときは出さない） */
.ctb-review-hub-rating-avg {
	margin: 0 0 20px;
	padding: 0;
}

/* 専用一覧: 見出しと「口コミ投稿する」を横並び */
.ctb-review-hub-rating-avg__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	flex-wrap: wrap;
	margin: 0 0 10px;
}

.ctb-review-hub-rating-avg__head .ctb-review-hub-rating-avg__title {
	margin-bottom: 0;
	flex: 1 1 auto;
	min-width: 0;
}

.ctb-review-hub-rating-avg__action {
	margin: 0;
	flex: 0 0 auto;
}

/* 専用一覧: 口コミ0件でも表示する投稿ボタン枠 */
.ctb-review-hub-reviews-top-actions {
	display: flex;
	justify-content: flex-end;
}

/* テーマ #post_content h2「口コミ」に合わせる（h3 既定の下線は無効化） */
.ctb-review-hub-rating-avg__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	padding: 4px 0 4px 10px;
	border: none;
	border-left: 8px solid #d53369;
	border-bottom: none !important;
	background: none;
	color: #d53369;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.5px;
	text-align: justify;
}

.ctb-review-hub-rating-avg__title .fa-heart,
.ctb-review-hub-rating-avg__title .far,
.ctb-review-hub-rating-avg__title .fas,
.ctb-review-hub-rating-avg__title i {
	color: #d53369;
	font-size: 20px;
	line-height: 1;
}

/* Font Awesome ハート：平均ブロック内はピンク系（fas / far とも） */
.ctb-review-hub-rating-avg .ctb-review-hub-rating-hearts i.fas.fa-heart {
	color: #d53369;
}

.ctb-review-hub-rating-avg .ctb-review-hub-rating-hearts i.far.fa-heart {
	color: #e890ab;
}

/* 子要素顺序: ラベル → ハート(左2行) / 数値(右1列でラベル+ハートの高さに合わせて垂直中央) */
.ctb-review-hub-rating-avg__overall {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	align-items: start;
	column-gap: 14px;
	row-gap: 6px;
	padding: 12px 18px 18px;
	border-radius: 16px;
	background: #D5336919;
}

@media screen and (max-width: 430px) {
	.ctb-review-hub-rating-avg__overall {
		margin-top: 10px;
	}
}

.ctb-review-hub-rating-avg__overall-label {
	grid-column: 1;
	grid-row: 1;
	margin: 0;
	color: #b82d5c;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
}

.ctb-review-hub-rating-avg__overall .ctb-review-hub-rating-avg__hearts {
	grid-column: 1;
	grid-row: 2;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.ctb-review-hub-rating-avg__overall-score {
	grid-column: 2;
	grid-row: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	align-self: stretch;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.ctb-review-hub-rating-avg__score-num {
	color: #b82d5c;
	font-size: 36px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.02em;
}

.ctb-review-hub-rating-avg__overall-score .ctb-review-hub-rating-avg__score-num {
	margin: 0;
	padding: 0;
}

.ctb-review-hub-rating-avg__score-num--sm {
	font-size: 20px;
	font-weight: 800;
	white-space: nowrap;
}

.ctb-review-hub-rating-avg__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 10px 12px;
	margin-top: 12px;
}

.ctb-review-hub-rating-avg__cell {
	padding: 10px 12px 11px;
	border-radius: 12px;
	background: #f5f5f5;
}

.ctb-review-hub-rating-avg__cell-label {
	margin: 0 0 8px;
	color: #444;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

.ctb-review-hub-rating-avg__cell-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
	flex-wrap: wrap;
}

.ctb-review-hub-rating-avg__cell .ctb-review-hub-rating-avg__hearts {
	display: flex;
	align-items: center;
	flex: 0 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.ctb-review-hub-rating-avg__cell-score {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
}

/* 総合行のハートのみ 26px（4項目は下で小さめ） */
.ctb-review-hub-rating-avg__overall .ctb-review-hub-rating-avg__hearts .ctb-review-hub-rating-hearts {
	font-size: 26px;
	gap: 4px;
}

.ctb-review-hub-rating-avg__cell .ctb-review-hub-rating-avg__hearts .ctb-review-hub-rating-hearts {
	font-size: 19px;
	gap: 4px;
}

@media (max-width: 600px) {
	.ctb-review-hub-rating-avg__grid {
		grid-template-columns: 1fr;
	}

	.ctb-review-hub-rating-avg__score-num {
		font-size: 30px;
	}

	.ctb-review-hub-rating-avg__score-num--sm {
		font-size: 18px;
	}

	.ctb-review-hub-rating-avg__overall .ctb-review-hub-rating-avg__hearts .ctb-review-hub-rating-hearts {
		font-size: 26px;
	}

	.ctb-review-hub-rating-avg__cell .ctb-review-hub-rating-avg__hearts .ctb-review-hub-rating-hearts {
		font-size: 19px;
	}
}

/* テーマの検索結果（search-filter/results.php 等）へ埋め込んだ口コミブロック */
.ctb-review-hub-clinic-section--search-embed {
	margin-top: 20px;
	margin-bottom: 24px;
}

.ctb-review-hub-clinic-section__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.ctb-review-hub-clinic-section__heading {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

/* h3：検索結果テンプレ等の h3 全般指定より優先 */
.ctb-review-hub-list .ctb-review-hub-clinic-section__header h3.ctb-review-hub-clinic-section__title,
.ctb-review-hub-clinic-section__title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	color: #d53369;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	border: none;
	background: none;
}

.ctb-review-hub-clinic-section__title .fa-comments,
.ctb-review-hub-clinic-section__title .far {
	font-size: 18px;
	line-height: 1;
}

.ctb-review-hub-list .ctb-review-hub-msg {
	margin: 0;
	padding: 12px 0 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	color: #555;
}

.ctb-review-hub-clinic-section__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 12px;
	border-radius: 999px;
	background: #c73766;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

.ctb-review-hub-clinic-section__action {
	margin: 0;
}

.ctb-review-hub-clinic-section__button:not(.btn1),
.ctb-review-hub-list__all a,
.ctb-review-hub-list__more a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.3;
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

/* クリニック単一・専用シェル（テーマの .btn1 を併用する「口コミ投稿する」は除外） */
.ctb-review-hub-clinic-section__button:not(.btn1) {
	min-width: 180px;
	padding: 10px 18px;
	background: #d53369;
	color: #fff;
}

/* 検索/エリア埋め込み: 帯同系のトーンでフラット化 */
.ctb-review-hub-clinic-section--search-embed .ctb-review-hub-clinic-section__button {
	background: #d53369;
}

/* クリニック詳細・口コミブロック見出し行：狭い幅で見出し中央・ボタンは下段中央 */
@media screen and (max-width: 500px) {
	.ctb-review-hub-clinic-section__header {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.ctb-review-hub-clinic-section__heading {
		justify-content: center;
		width: 100%;
		text-align: center;
	}

	.ctb-review-hub-clinic-section__header h3.ctb-review-hub-clinic-section__title,
	.ctb-review-hub-clinic-section__title {
		font-size: 20px;
	}

	.ctb-review-hub-clinic-section__header a.ctb-review-hub-clinic-section__button {
		margin-left: auto;
		margin-right: auto;
	}
}

.ctb-review-hub-list__item {
	padding: 16px 18px 15px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(213, 51, 105, 0.06);
}

.ctb-review-hub-list__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 14px;
	border-bottom: 1px solid #f1e5ea;
}

.ctb-review-hub-list__identity {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.ctb-review-hub-list__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 50px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #d53369;
	color: #fff;
	font-size: 20px;
	line-height: 1;
}

.ctb-review-hub-list__avatar .fas {
	font-weight: 900;
}

.ctb-review-hub-list__identity-text {
	min-width: 0;
}

.ctb-review-hub-list__demographic,
.ctb-review-hub-list__author,
.ctb-review-hub-list__date,
.ctb-review-hub-list__excerpt,
.ctb-review-hub-list__excerpt-label,
.ctb-review-hub-list__excerpt-block,
.ctb-review-hub-list__excerpt-title-row {
	margin: 0;
}

.ctb-review-hub-list p.ctb-review-hub-list__demographic {
	color: #444;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.ctb-review-hub-list p.ctb-review-hub-list__author {
	margin-top: 4px;
	color: #111;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.ctb-review-hub-list p.ctb-review-hub-list__author small {
	margin-left: 2px;
	font-size: 12px;
	font-weight: 400;
}

.ctb-review-hub-list__summary {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
}

.ctb-review-hub-list p.ctb-review-hub-list__date {
	color: #333;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	white-space: nowrap;
}

.ctb-review-hub-list__rating {
	color: #d53369;
}

.ctb-review-hub-rating-hearts {
	display: inline-flex;
	gap: 2px;
	font-size: 16px;
	line-height: 1;
}

.ctb-review-hub-rating-hearts i {
	font-size: inherit;
}

/* Font Awesome 5：テーマの i { font-weight } 上書きを防ぐ */
.ctb-review-hub-rating-hearts i.fas {
	font-weight: 900;
}

.ctb-review-hub-rating-hearts i.far {
	font-weight: 400;
}

.ctb-review-hub-list__body {
	padding-top: 14px;
}

/* 施術カテゴリ・施術名（一覧のピル） */
.ctb-review-hub-treatment-pill {
	display: inline-block;
	box-sizing: border-box;
	padding: 1px 8px;
	border: 1px solid #c8c8c8;
	background: #f5f5f5;
	border-radius: 20px;
	color: #222;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
}

.ctb-review-hub-list__treatment-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
}

.ctb-review-hub-list__excerpt-block {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.ctb-review-hub-list__excerpt-block + .ctb-review-hub-list__excerpt-block {
	margin-top: 10px;
}

.ctb-review-hub-list__excerpt-title-row {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	max-width: 100%;
	margin: 0 0 6px;
}

.ctb-review-hub-list p.ctb-review-hub-list__excerpt-label {
	flex: 0 1 auto;
	color: #111;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
	margin: 0;
	min-width: 0;
}

.ctb-review-hub-list__excerpt-title-line {
	flex: 1 1 0;
	min-width: 8px;
	height: 1px;
	margin: 0;
	background-color: #c8c8c8;
	align-self: center;
}

.ctb-review-hub-list p.ctb-review-hub-list__excerpt {
	width: 100%;
	max-width: 100%;
	margin: 0;
	color: #222;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.7;
}

.ctb-review-hub-list p.ctb-review-hub-list__more {
	margin: 12px 0 0;
	font-weight: 400;
}

.ctb-review-hub-list p.ctb-review-hub-list__more a {
	min-width: 110px;
	padding: 8px 16px;
	background: #d53369;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.ctb-review-hub-list__all {
	margin: 8px 0 0;
	text-align: center;
}

.ctb-review-hub-list p.ctb-review-hub-list__all a {
	min-width: 200px;
	padding: 12px 22px;
	background: #d53369;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}

.ctb-review-hub-clinic-section__button:hover:not(.btn1),
.ctb-review-hub-list__all a:hover,
.ctb-review-hub-list__more a:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 20px rgba(213, 51, 105, 0.18);
	opacity: 0.92;
}

.ctb-review-hub-pagination {
	margin-top: 1em;
}

.ctb-review-hub-detail__card {
	min-width: 0;
	padding: 1.2rem 1.3rem;
	border-radius: 22px;
	background: #fff;
}

.ctb-review-hub-detail__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 0.8rem;
	border-bottom: 1px solid #f1e5ea;
}

.ctb-review-hub-detail__identity {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-width: 0;
}

.ctb-review-hub-detail__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 3.75rem;
	width: 3.75rem;
	height: 3.75rem;
	border-radius: 50%;
	background: #d53369;
	color: #fff;
	font-size: 1.75rem;
}

.ctb-review-hub-detail__demographic,
.ctb-review-hub-detail__author,
.ctb-review-hub-detail__posted,
.ctb-review-hub-detail__date {
	margin: 0;
}

.ctb-review-hub-detail__demographic {
	color: #444;
	font-size: 1rem;
	font-weight: 700;
}

.ctb-review-hub-detail__author {
	margin-top: 4px;
	color: #111;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.ctb-review-hub-detail__author small {
	margin-left: 2px;
	font-size: 12px;
	font-weight: 400;
}

.ctb-review-hub-detail__posted {
	color: #333;
	font-size: 0.95rem;
	font-weight: 700;
	white-space: nowrap;
}

.ctb-review-hub-detail__basic {
	padding: 0.75rem 0 0.2rem;
}

.ctb-review-hub-detail__basic-list,
.ctb-review-hub-detail__rating-list {
	margin: 0;
}

.ctb-review-hub-detail__basic-list div {
	display: grid;
	grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr);
	gap: 0.75rem 1rem;
	padding: 0.35rem 0;
}

.ctb-review-hub-detail__rating-list div {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.5rem 0;
	/* 親幅が狭いときに中身が押し出されないよう（長いラベル＋dt の min-width:0 で折り返し） */
	min-width: 0;
}

.ctb-review-hub-detail__rating-list div::after {
	content: "";
	order: 2;
	flex: 1 1 0;
	min-width: 0.75rem;
	align-self: center;
	border-bottom: 1px solid #f1dfe7;
}

.ctb-review-hub-detail__basic-list dt,
.ctb-review-hub-detail__basic-list dd,
.ctb-review-hub-detail__rating-list dt,
.ctb-review-hub-detail__rating-list dd {
	margin: 0;
}

.ctb-review-hub-detail__basic-list dt,
.ctb-review-hub-detail__rating-list dt {
	color: #111;
	font-weight: 700;
}
.ctb-review-hub-detail__rating-list dt {
	order: 1;
	/* 0 0 auto だと長文が 1 行のまま幅を取り、ハート列が外へ押し出す。折り返し可能にする */
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
	white-space: normal;
	overflow-wrap: break-word;
	word-break: break-word;
}

.ctb-review-hub-detail__basic-list dd {
	color: #222;
	font-weight: 400;
}

.ctb-review-hub-detail__ratings {
	padding-top: 0.75rem;
}

.ctb-review-hub-detail__rating-list dd {
	order: 3;
	display: flex;
	flex: 0 0 auto;
	justify-content: flex-end;
}

.ctb-review-hub-detail__hearts {
	display: inline-flex;
	gap: 0.18rem;
	color: #d53369;
	font-size: 1.5rem;
	line-height: 1;
}

.ctb-review-hub-detail__body {
	padding-top: 15px;
}

.ctb-review-hub-detail__section {
	padding-top: 0;
	margin-top: 15px;
}

.ctb-review-hub-detail__title-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	width: 100%;
	max-width: 100%;
	margin: 0 0 0.4rem;
	box-sizing: border-box;
}

/* 右側：タイトル文字の高さ基準の垂直中央（ flex align-items: center ） */
.ctb-review-hub-detail__title-line {
	flex: 1 1 0;
	min-width: 8px;
	height: 1px;
	margin: 0;
	border: 0;
	border-radius: 0;
	background-color: #c8c8c8;
	align-self: center;
}

.ctb-review-hub-detail__label {
	margin: 0 0 0.3rem;
	color: #111;
	font-size: 1.18rem;
	font-weight: 700;
	line-height: 1.5;
}

.ctb-review-hub-detail__title-row .ctb-review-hub-detail__label {
	flex: 0 1 auto;
	margin: 0;
	padding: 0;
	min-width: 0;
	text-align: left;
	border: 0;
	border-bottom: 0;
	background: transparent;
	box-shadow: none;
}

.ctb-review-hub-detail__body .ctb-review-hub-detail__section .ctb-review-hub-detail__label,
.ctb-review-hub-detail__body .ctb-review-hub-detail__section .ctb-review-hub-detail__text,
.ctb-review-hub-detail__body .ctb-review-hub-detail__section .ctb-review-hub-detail__text p {
	font-size: 15px;
}

.ctb-review-hub-detail__text {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	color: #222;
	font-size: 1.02rem;
	line-height: 1.85;
}

.ctb-review-hub-detail__body .ctb-review-hub-detail__section .ctb-review-hub-detail__text {
	line-height: 1.7;
}

.ctb-review-hub-detail__text p {
	margin: 0;
}

.ctb-review-hub-detail__text p + p {
	margin-top: 0.55rem;
}

.ctb-review-hub-detail__date {
	display: none;
}

.ctb-review-hub-detail__all {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 1.1rem 0 0;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.ctb-review-hub-detail__all a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	padding: 12px 22px;
	border-radius: 999px;
	background: #d53369;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.ctb-review-hub-detail__all a:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 20px rgba(213, 51, 105, 0.18);
	opacity: 0.92;
}

@media screen and (max-width: 767px) {
	.ctb-review-hub-list.is-clinic-summary {
		padding: 16px;
		border-radius: 18px;
	}

	.ctb-review-hub-list .ctb-review-hub-clinic-section__header h3.ctb-review-hub-clinic-section__title,
	.ctb-review-hub-clinic-section__title {
		font-size: 18px;
		font-weight: 700;
	}

	.ctb-review-hub-list__item {
		padding: 14px 14px 13px;
	}

	.ctb-review-hub-list__top {
		flex-direction: column;
	}

	.ctb-review-hub-list__summary {
		width: 100%;
		align-items: flex-start;
	}

	.ctb-review-hub-list p.ctb-review-hub-list__author {
		font-size: 15px;
		font-weight: 700;
	}

	.ctb-review-hub-rating-hearts {
		font-size: 15px;
	}

	.ctb-review-hub-list p.ctb-review-hub-list__all a,
	.ctb-review-hub-clinic-section__button:not(.btn1) {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}
}

.ctb-review-hub-form-page {
	max-width: 860px;
	margin: 0 auto;
	padding: 1.5rem 0 0;
}

.ctb-review-hub-form-page__head {
	margin-bottom: 1.5rem;
}

/* 専用一覧：平均点をカード外（`form-page__card` の上）に置く */
.ctb-review-hub-form-page__before-card {
	margin: 0 0 1.5rem;
}

.ctb-review-hub-form-page__head-main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.ctb-review-hub-form-page__head-text {
	flex: 1 1 auto;
	min-width: 0;
	text-align: center;
}

.ctb-review-hub-form-page__action {
	flex: 0 0 auto;
	margin: 0;
}

/* 口コミ詳細: 大見出し + 「口コミ投稿する」同一行 */
.ctb-review-hub-form-page__head-text--detail {
	width: 100%;
}

.ctb-review-hub-form-page__title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	width: 100%;
	margin: 0 0 0.75rem;
	box-sizing: border-box;
}

.ctb-review-hub-form-page__title-row .ctb-review-hub-form-page__title {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	text-align: start;
}

/* 口コミ詳細ページ（/review/…）専用見出し */
.ctb-review-hub-form-page__head-text--detail .ctb-review-hub-form-page__title-row .ctb-review-hub-form-page__title {
	margin-top: 10px;
}

.ctb-review-hub-form-page__title-row .ctb-review-hub-form-page__action {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.ctb-review-hub-form-page__eyebrow {
	margin: 0 0 0.5rem;
	color: #d53369;
	font-size: 0.95rem;
	font-weight: 700;
}

.ctb-review-hub-form-page__title {
	margin: 0 0 0.75rem;
	color: #d53369;
	font-size: 2rem;
	line-height: 1.3;
}

.ctb-review-hub-form-page__lead {
	margin: 0.5rem 0 0;
	text-align: center;
}

.ctb-review-hub-form-page__back {
	margin: 0.75rem 0 0;
	text-align: center;
}

/* 口コミ詳細ヘッダー「クリニック詳細へ戻る」— ピンクの角丸ボタン */
.ctb-review-hub-form-page__back a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0.55rem 1.35rem;
	background: #d53369;
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none !important;
	border: none;
	border-radius: 20px;
	box-sizing: border-box;
	box-shadow: 0 4px 12px rgba(213, 51, 105, 0.25);
	transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.ctb-review-hub-form-page__back a:hover,
.ctb-review-hub-form-page__back a:focus {
	color: #fff !important;
	opacity: 0.95;
}

.ctb-review-hub-form-page__back a:hover {
	box-shadow: 0 6px 16px rgba(213, 51, 105, 0.32);
}

.ctb-review-hub-form-page__card {
	background: #D5336919;
	border-radius: 20px;
	padding: 20px;
}
.ctb-review-hub-form-page .ctb-review-hub-form--confirm
/* 専用フォーム：ステップバー上の案内 */
#post_content .ctb-review-hub-form-page .ctb-review-hub-form-page__review_title,
.ctb-review-hub-form-page .ctb-review-hub-form-page__review_title {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0 0 1.25rem;
	padding: 0;
	border-radius: 12px;
	text-align: center;
	color: #d6336c;
}

#post_content .ctb-review-hub-form-page .review_title__icon,
.ctb-review-hub-form-page .review_title__icon {
	margin: 0 0 0.6rem;
	padding: 0;
	font-size: 52px;
	font-weight: 400;
	line-height: 1;
	border: 0;
	background: none;
	text-align: center;
}

#post_content .ctb-review-hub-form-page .review_title__icon i,
.ctb-review-hub-form-page .review_title__icon i {
	font-size: inherit;
	line-height: 1;
	color: #d6336c;
}

#post_content .ctb-review-hub-form-page .review_title__heading,
.ctb-review-hub-form-page .review_title__heading {
	margin: 0 0 0.65rem;
	padding: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.02em;
	color: #d6336c;
	text-align: center;
	border: none;
	background: none;
}

#post_content .ctb-review-hub-form-page .review_title__guide,
.ctb-review-hub-form-page .review_title__guide {
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 1.7;
	font-weight: 400;
	color: #c14d6f;
	text-align: center;
}

#post_content .ctb-review-hub-form-page .review_title__guide-approval,
.ctb-review-hub-form-page .review_title__guide-approval {
	display: block;
	margin-top: 0.4em;
	font-size: 0.95em;
	line-height: 1.65;
	color: #c14d6f;
}

#post_content .ctb-review-hub-form-page .review_title__guide a.review_title__guide-link,
.ctb-review-hub-form-page .review_title__guide a.review_title__guide-link,
#post_content .ctb-review-hub-form-page .review_title__guide-nolink,
.ctb-review-hub-form-page .review_title__guide-nolink {
	color: #c14d6f;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

#post_content .ctb-review-hub-form-page .review_title__guide a.review_title__guide-link:hover,
.ctb-review-hub-form-page .review_title__guide a.review_title__guide-link:hover {
	color: #d6336c;
	text-decoration-thickness: 2px;
}

#post_content .ctb-review-hub-form-page__card .ctb-review-hub-form-page__review_title + .ctb-review-hub-form-page__steps,
.ctb-review-hub-form-page__card .ctb-review-hub-form-page__review_title + .ctb-review-hub-form-page__steps,
#post_content .ctb-review-hub-form-page__card .review_title + .ctb-review-hub-form-page__steps,
.ctb-review-hub-form-page__card .review_title + .ctb-review-hub-form-page__steps {
	margin-top: 30px;
}

#post_content .ctb-review-hub-form-page__steps,
.ctb-review-hub-form-page__steps {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	list-style: none;
	margin: 30px 0 30px;
	padding: 0 30px;
}

#post_content .ctb-review-hub-form-page__steps li,
.ctb-review-hub-form-page__steps li {
	display: flex;
	flex-flow: column;
	justify-content: center;
	text-align: center;
	width: auto;
	flex: 0 0 auto;
	line-height: 1;
}

.ctb-review-hub-form-page__steps li.step {
	margin: 0;
	padding: 13px 16px 15px 18px;
	border-radius: 10px;
	background: rgba(254, 204, 127, 1);
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 1px;
	line-height: 1;
}

.ctb-review-hub-form-page__steps li.point {
	margin: 0 16px;
	color: #c8c8c8;
}

.ctb-review-hub-form-page__steps li.point i {
	display: inline-block;
}

.ctb-review-hub-form-page__steps li.current {
	background: #d53369;
}

/* ステップ「内容入力」活性時：テーマ .btn1 と同じオレンジ→ピンクのグラデ */
.ctb-review-hub-form-page__steps.is-input li.step.current {
	background: #ff9900;
	background: -moz-linear-gradient(-45deg, #ff9900 0%, #d53369 100%);
	background: -webkit-linear-gradient(-45deg, #ff9900 0%, #d53369 100%);
	background: linear-gradient(135deg, #ff9900 0%, #d53369 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff9900', endColorstr='#d53369', GradientType=1);
}

.ctb-review-hub-form-page__steps.is-confirm li.step {
	background: #c8c8c8;
}

.ctb-review-hub-form-page__steps.is-confirm li.step.current {
	background: #2aa239;
}

.ctb-review-hub-form-page__steps.is-success li.step {
	background: #c8c8c8;
}

.ctb-review-hub-form-page__steps.is-success li.step.current {
	background: #2aa239;
}

@media only screen and (max-width: 850px) {
	#post_content .ctb-review-hub-form-page__steps,
	.ctb-review-hub-form-page__steps {
		margin: 50px 0;
	}
}

/* クリニック名：表示専用（他入力欄と同じ白背景・枠なし・全幅） */
.ctb-review-hub-form-page-form__field--clinic {
	margin-bottom: 1.5rem;
	width: 100%;
}

.ctb-review-hub-form-page-form input[readonly] {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	height: 50px;
	padding: 0 12px;
	background: #fff;
	color: #1e1e1e;
	font-size: 16px;
	letter-spacing: 1px;
	border: none;
	border-radius: 10px;
	font-family: 'Noto Sans JP', sans-serif !important;
	box-shadow: none;
	opacity: 1;
	cursor: not-allowed;
}

.ctb-review-hub-form-page-form input[readonly]:focus {
	border: none;
	box-shadow: none;
	outline: none;
}

/* 施術名：施術カテゴリ未選択（select が disabled）の見た目 */
#ctb_tdev_page:disabled,
#ctb_tdev:disabled {
	opacity: 0.3;
}

.ctb-review-hub-form-page-form__section {
	margin-bottom: 1.5rem;
}

.ctb-review-hub-form-page-form__section-title {
	margin: 0 0 0.85rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #e7bccc;
	color: #7a3751;
	font-size: 1.1rem;
}

/* お問い合わせフォーム #contact_form h3 と同型（左右罫線・中央見出し）— theme css/contact.css 準拠 */
#post_content .ctb-review-hub-form-page .ctb-review-hub-form-page-form__section-title.customer_info,
#post_content .ctb-review-hub-form-page h3.ctb-review-hub-form-page-form__section-title.customer_info,
.ctb-review-hub-form-page .ctb-review-hub-form-page-form__section-title.customer_info {
	display: flex;
	align-items: center;
	width: 100%;
	margin: 50px 0 30px;
	padding: 0;
	border: none;
	border-bottom: none;
	color: #1e1e1e;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.3;
	text-align: center;
}

#post_content .ctb-review-hub-form-page .ctb-review-hub-form-page-form__section-title.customer_info::before,
#post_content .ctb-review-hub-form-page .ctb-review-hub-form-page-form__section-title.customer_info::after,
.ctb-review-hub-form-page .ctb-review-hub-form-page-form__section-title.customer_info::before,
.ctb-review-hub-form-page .ctb-review-hub-form-page-form__section-title.customer_info::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: #333;
}

#post_content .ctb-review-hub-form-page .ctb-review-hub-form-page-form__section-title.customer_info::before,
.ctb-review-hub-form-page .ctb-review-hub-form-page-form__section-title.customer_info::before {
	margin-right: 20px;
}

#post_content .ctb-review-hub-form-page .ctb-review-hub-form-page-form__section-title.customer_info::after,
.ctb-review-hub-form-page .ctb-review-hub-form-page-form__section-title.customer_info::after {
	margin-left: 20px;
}

/* カード先頭の「基本情報」は上余白を詰める */
.ctb-review-hub-form-page-form__grid {
	display: grid;
	gap: 1rem;
}

.ctb-review-hub-form-page-form__grid--2col {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ctb-review-hub-form-page-form__field label {
	display: block;
	margin-bottom: 0.45rem;
	font-weight: 700;
	line-height: 1.5;
}

.ctb-review-rating .ctb-review-rating__stars label {
	margin-right: 2px !important;
}

.ctb-review-hub-form-page-form__field--full {
	grid-column: 1 / -1;
}

/* 上記 .ctb-review-hub-form__inner と同系（#contact_form ul.form） */
.ctb-review-hub-form-page-form input[type="text"]:not([readonly]),
.ctb-review-hub-form-page-form input[type="email"],
.ctb-review-hub-form-page-form input[type="date"],
.ctb-review-hub-form-page-form select,
.ctb-review-hub-form-page-form textarea {
	width: 100%;
	box-sizing: border-box;
	background: #fff;
	color: #1e1e1e;
	font-size: 16px;
	border: 2px solid #fff;
	letter-spacing: 1px;
	border-radius: 10px;
	font-family: 'Noto Sans JP', sans-serif !important;
	transition: 0.3s;
}

.ctb-review-hub-form-page-form input[type="text"]:not([readonly]),
.ctb-review-hub-form-page-form input[type="email"],
.ctb-review-hub-form-page-form input[type="date"],
.ctb-review-hub-form-page-form select {
	height: 50px;
	padding: 0 12px;
}

.ctb-review-hub-form-page-form input[type="text"]:not([readonly]):focus,
.ctb-review-hub-form-page-form input[type="email"]:focus,
.ctb-review-hub-form-page-form input[type="date"]:focus,
.ctb-review-hub-form-page-form select:focus,
.ctb-review-hub-form-page-form textarea:focus {
	border-color: #d53369;
	box-shadow: 0 6px 18px rgb(0 0 0 / 15%);
	outline: none;
}

.ctb-review-hub-form-page-form select,
.ctb-review-hub-form-page-form input[type="date"] {
	cursor: pointer;
}

.ctb-review-hub-form-page-form select:disabled,
.ctb-review-hub-form-page-form input[type="date"]:disabled {
	cursor: not-allowed;
}

.ctb-review-hub-form-page-form input::placeholder,
.ctb-review-hub-form-page-form textarea::placeholder {
	color: #1e1e1e;
	opacity: 1;
}

.ctb-review-hub-form-page-form textarea {
	height: auto;
	min-height: 200px;
	padding: 15px;
	resize: vertical;
}

.ctb-review-hub-form-page-form .ctb-review-hub-form__textarea-wrap textarea {
	padding: 15px 15px 2rem;
}

/* ガイドライン同意：枠なし・中央寄せ。チェックは専用スタイル */
.ctb-review-hub-form-page-form__section--guide .ctb-review-hub-form-page-form__guide {
	padding: 0.5rem 0 0;
	margin: 0 auto;
	max-width: 44rem;
	background: none;
	border: none;
	text-align: center;
}

.ctb-review-hub-form-page-form__section--guide .ctb-review-hub-form-page-form__guide-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin: 0 auto;
	padding: 0.5rem 0.25rem;
	text-align: left;
	cursor: pointer;
	font-weight: 600;
	line-height: 1.5;
	color: #1e1e1e;
}

.ctb-review-hub-form-page-form__section--guide .ctb-review-hub-form-page-form__guide-text {
	flex: 0 1 auto;
}

.ctb-review-hub-form-page-form__section--guide .ctb-review-hub-form-page-form__guide input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 1.4rem;
	height: 1.4rem;
	min-width: 1.4rem;
	margin: 0;
	border: 2px solid #1e1e1e;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
	cursor: pointer;
	flex-shrink: 0;
	position: relative;
	vertical-align: middle;
	box-sizing: border-box;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ctb-review-hub-form-page-form__section--guide .ctb-review-hub-form-page-form__guide input[type="checkbox"]:hover {
	border-color: #d53369;
	box-shadow: 0 0 0 3px rgba(213, 51, 105, 0.18);
}

.ctb-review-hub-form-page-form__section--guide .ctb-review-hub-form-page-form__guide input[type="checkbox"]:focus {
	outline: none;
}

.ctb-review-hub-form-page-form__section--guide .ctb-review-hub-form-page-form__guide input[type="checkbox"]:focus-visible {
	border-color: #d53369;
	box-shadow: 0 0 0 3px rgba(213, 51, 105, 0.35);
}

.ctb-review-hub-form-page-form__section--guide .ctb-review-hub-form-page-form__guide input[type="checkbox"]:checked {
	background: #d53369;
	border-color: #d53369;
}

.ctb-review-hub-form-page-form__section--guide .ctb-review-hub-form-page-form__guide input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 0.4rem;
	top: 0.15rem;
	width: 0.35rem;
	height: 0.65rem;
	border: solid #fff;
	border-width: 0 0.2rem 0.2rem 0;
	transform: rotate(45deg);
	box-sizing: border-box;
}

.ctb-review-hub-form-page-form__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	margin-top: 1.5rem;
	text-align: center;
}

.ctb-review-hub-form-page-form__actions-primary {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* 送信：テーマ .btn1 と併用。確認の「送信する」に max-width !important を常時当てると 600px 以下用ルールに負けるため 769px 以上のみ併用 */
.ctb-review-hub-form-page-form__submit.btn1,
a.ctb-review-hub-form-page__success-button.btn1 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	min-height: 40px;
	padding: 0.55rem 20px;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	max-width: min(100%, 400px) !important;
	white-space: normal;
	text-decoration: none;
	color: #fff;
	transition: 0.3s;
}

@media screen and (min-width: 769px) {
	.ctb-review-hub-confirm-actions__button.btn1 {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		margin-left: auto;
		margin-right: auto;
		border: none;
		cursor: pointer;
		font-family: inherit;
		font-size: 18px;
		font-weight: 700;
		line-height: 1.35;
		min-height: 40px;
		padding: 0.55rem 20px;
		box-sizing: border-box;
		-webkit-appearance: none;
		appearance: none;
		max-width: min(100%, 400px) !important;
		white-space: normal;
		text-decoration: none;
		color: #fff;
		transition: 0.3s;
	}
}

.ctb-review-hub-form-page .ctb-review-hub-form--confirm {
	padding: 1rem 1.2rem;
	background: #fff;
	border-radius: 14px;
}

.ctb-review-hub-confirm-lead {
	margin: 0 0 1.25rem;
	color: #333;
	line-height: 1.8;
}

.ctb-review-hub-confirm-section + .ctb-review-hub-confirm-section {
	margin-top: 1.5rem;
}

.ctb-review-hub-confirm-section__title {
	margin: 0 0 0.8rem;
	color: #7a3751;
	font-size: 1rem;
	font-weight: 700;
}

.ctb-review-hub-confirm-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
	margin: 0;
}

.ctb-review-hub-confirm-grid--full {
	grid-template-columns: 1fr;
}

.ctb-review-hub-confirm-grid__item {
	margin: 0;
	padding: 1rem 1.1rem;
	background: #fffafc;
	border: 1px solid #f1d3df;
	border-radius: 12px;
}

.ctb-review-hub-confirm-grid__item dt {
	margin: 0 0 0.45rem;
	color: #98506a;
	font-size: 0.88rem;
	font-weight: 700;
}

.ctb-review-hub-confirm-grid__item dd {
	margin: 0;
	color: #1e1e1e;
	line-height: 1.8;
	word-break: break-word;
}

.ctb-review-hub-confirm-empty {
	color: #999;
}

.ctb-review-hub-confirm-rating {
	display: inline-flex;
	align-items: center;
	gap: 0.18rem;
}

.ctb-review-hub-confirm-rating__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #ebb1c4;
	font-size: 1.3rem;
	line-height: 1;
}

.ctb-review-hub-confirm-rating__icon::before {
	content: "\f004";
	font-family: "Font Awesome 5 Free";
	font-weight: 400;
}

.ctb-review-hub-confirm-rating__icon.is-active {
	color: #d53369;
}

.ctb-review-hub-confirm-rating__icon.is-active::before {
	font-weight: 900;
}

.ctb-review-hub-confirm-rating__score {
	margin-left: 0.45rem;
	color: #98506a;
	font-size: 0.95rem;
	font-weight: 700;
}

.ctb-review-hub-confirm-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	align-items: center;
	margin-top: 1.75rem;
}

.ctb-review-hub-confirm-actions__form {
	display: inline-flex;
	margin: 0;
}

.ctb-review-hub-confirm-actions__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 11rem;
	padding: 0.85rem 1.5rem;
	border: 0;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* プライマリは .btn1（テーマ）推奨。未付与時は base.css .btn1 と同系のオレンジ→ピンク */
.ctb-review-hub-confirm-actions__button.is-primary:not(.btn1) {
	background: #ff9900;
	background: linear-gradient(135deg, #ff9900 0%, #d53369 100%);
	color: #fff;
	box-shadow: 0 6px 18px rgb(0 0 0 / 20%);
}

/* 修正する／クリニック詳細へ戻る：同系のセカンダリ（ホバーは .btn1 に近い持ち上げ + 影） */
.ctb-review-hub-confirm-actions__button.is-secondary,
.ctb-review-hub-form-page__success-button.is-secondary {
	min-height: 40px;
	padding: 0.55rem 1.5rem;
	box-sizing: border-box;
	font-size: 18px;
	line-height: 1.35;
	background: #f2f2f2;
	color: #555;
	border: none;
	border-radius: 999px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.ctb-review-hub-confirm-actions__button.is-secondary:hover,
.ctb-review-hub-confirm-actions__button.is-secondary:focus-visible,
.ctb-review-hub-form-page__success-button.is-secondary:hover,
.ctb-review-hub-form-page__success-button.is-secondary:focus-visible {
	transform: translateY(-4px);
	/* 送信 .btn1（public-theme-override の通常時）と同じ 20% */
	box-shadow: 0 6px 18px rgb(0 0 0 / 20%);
}

.ctb-review-hub-form-page__success-actions .ctb-review-hub-form-page__success-button.is-secondary:hover,
.ctb-review-hub-form-page__success-actions .ctb-review-hub-form-page__success-button.is-secondary:focus-visible {
	background: #fff;
}

.ctb-review-hub-form-page__success {
	padding: 2.2rem 1.5rem;
	background: #fff2f7;
	border-radius: 16px;
	text-align: center;
}

.ctb-review-hub-form-page__success-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4.5rem;
	height: 4.5rem;
	margin-bottom: 1rem;
	border-radius: 999px;
	background: #ecf7ed;
	color: #2aa239;
	font-size: 2rem;
}

.ctb-review-hub-form-page__success-title {
	margin: 0 0 0.85rem;
	color: #7a3751;
	font-size: 1.5rem;
}

.ctb-review-hub-form-page__success-text {
	max-width: 36rem;
	margin: 0 auto;
	color: #555;
	line-height: 1.8;
}

.ctb-review-hub-form-page__success-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	align-items: center;
	margin-top: 0;
}

/* .btn1 の margin:auto が2并びで左右端に寄るのを防ぐ */
.ctb-review-hub-form-page__success-actions .btn1.ctb-review-hub-form-page__success-button,
.ctb-review-hub-form-page__success-actions .ctb-review-hub-form-page__success-button.is-secondary {
	margin-left: 0;
	margin-right: 0;
}

/* 送信完了「口コミ一覧へ戻る」（.success-actions 内のセカンダリのみ白背景。確認の「修正する」は従来の #f2f2f2） */
.ctb-review-hub-form-page__success-actions .ctb-review-hub-form-page__success-button.is-secondary {
	background: #fff;
}

.ctb-review-hub-form-page__success-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 12rem;
	font-weight: 700;
	text-decoration: none;
}

/* プライマリ（送信完了）は .btn1。未付与時のフォールバック */
.ctb-review-hub-form-page__success-button.is-primary:not(.btn1) {
	padding: 0.55rem 1.5rem;
	border-radius: 999px;
	background: #ff9900;
	background: linear-gradient(135deg, #ff9900 0%, #d53369 100%);
	color: #fff;
}

@media (max-width: 768px) {
	.ctb-review-hub-form-page__title {
		font-size: 1.6rem;
	}

	.ctb-review-hub-form-page__head-main {
		flex-direction: column;
	}

	.ctb-review-hub-form-page__head-text,
	.ctb-review-hub-form-page__action {
		width: 100%;
	}

	.ctb-review-hub-form-page__head-text--detail {
		text-align: start;
	}

	.ctb-review-hub-form-page__head-text--detail .ctb-review-hub-form-page__lead {
		text-align: start;
	}

	.ctb-review-hub-form-page__back {
		text-align: start;
	}

	/* 口コミ詳細のみ：「口コミ投稿する」を改行して下に回し左寄せ（横並びだとボタンが欠けるのを防ぐ） */
	.ctb-review-hub-form-page__head-text--detail .ctb-review-hub-form-page__title-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.ctb-review-hub-form-page__head-text--detail .ctb-review-hub-form-page__title-row .ctb-review-hub-form-page__title {
		flex: 0 1 auto;
		width: 100%;
		text-align: start;
		writing-mode: horizontal-tb;
		word-break: normal;
		overflow-wrap: break-word;
	}

	.ctb-review-hub-form-page__head-text--detail .ctb-review-hub-form-page__title-row .ctb-review-hub-form-page__action {
		justify-content: flex-start;
		width: 100%;
	}

	.ctb-review-hub-form-page__head-text--detail .ctb-review-hub-form-page__title-row a.ctb-review-hub-clinic-section__button.btn1 {
		max-width: 100%;
		box-sizing: border-box;
	}

	.ctb-review-hub-form-page__card {
		padding: 1rem;
		border-radius: 16px;
	}

	.ctb-review-hub-form-page-form__grid--2col {
		grid-template-columns: 1fr;
	}

	.ctb-review-hub-form-page-form__field--full {
		grid-column: auto;
	}

	.ctb-review-hub-confirm-grid {
		grid-template-columns: 1fr;
	}

	.ctb-review-hub-detail__card {
		padding: 1rem;
	}

	.ctb-review-hub-detail__head {
		flex-direction: column;
	}

	.ctb-review-hub-detail p.ctb-review-hub-detail__author {
		font-size: 15px;
	}

	.ctb-review-hub-detail__basic-list div {
		grid-template-columns: 1fr;
		gap: 0.3rem;
	}

	.ctb-review-hub-detail__rating-list div {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0.3rem;
	}

	.ctb-review-hub-detail__rating-list div::after {
		display: none;
	}

	.ctb-review-hub-detail__rating-list dd {
		justify-content: flex-start;
	}

	.ctb-review-hub-detail__hearts {
		font-size: 1.35rem;
	}

	.ctb-review-hub-detail__all a {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}

	/* 内容入力「確認画面へ」・送信完了（theme-override の #post_content と同趣旨） */
	.ctb-review-hub-form-page-form__actions {
		width: 100%;
		max-width: 300px;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}

	.ctb-review-hub-form-page-form__actions-primary {
		width: 100%;
		align-items: stretch;
	}

	.ctb-review-hub-form-page-form__submit.btn1 {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.ctb-review-hub-form-page__success-actions {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		width: 100%;
		max-width: 300px;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}

	.ctb-review-hub-form-page__success-actions .ctb-review-hub-form-page__success-button {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		box-sizing: border-box;
	}
}

@media screen and (max-width: 600px) {
	#post_content .ctb-review-hub-form-page__steps,
	.ctb-review-hub-form-page__steps {
		display: block;
		margin: 30px 0;
	}

	#post_content .ctb-review-hub-form-page__steps li,
	.ctb-review-hub-form-page__steps li {
		display: block;
		width: 100% !important;
		flex: none;
		padding: 10px 20px;
		margin: 0 !important;
		box-sizing: border-box;
	}

	.ctb-review-hub-form-page__steps li.point i {
		transform: rotate(90deg);
	}

	/* 内容確認：行全体を max-width に抑え中央（子の 100% がカード全幅にならない） */
	.ctb-review-hub-form--confirm .ctb-review-hub-confirm-actions {
		flex-direction: column-reverse;
		flex-wrap: nowrap;
		align-items: stretch;
		width: 100%;
		max-width: 300px;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}

	.ctb-review-hub-form--confirm .ctb-review-hub-confirm-actions a.ctb-review-hub-confirm-actions__button,
	.ctb-review-hub-form--confirm .ctb-review-hub-confirm-actions__form {
		width: 100%;
		max-width: none;
		margin-left: 0;
		margin-right: 0;
		box-sizing: border-box;
	}

	.ctb-review-hub-form--confirm .ctb-review-hub-confirm-actions__form {
		display: block;
	}

	.ctb-review-hub-form--confirm .ctb-review-hub-confirm-actions__form .ctb-review-hub-confirm-actions__button {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box;
	}

	.ctb-review-hub-form-page-form__actions {
		max-width: 300px;
	}

	.ctb-review-hub-form-page__success-actions {
		flex-direction: column;
		align-items: stretch;
		max-width: 300px;
	}

	.ctb-review-hub-form-page__success-button {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}
}
