.clinic-booking-widget {
	--cb-color: #216e62;
	--cb-color-dark: #18564d;
	--cb-border: #d7dddb;
	--cb-bg-soft: #f5f8f7;
	--cb-text: #202624;
	box-sizing: border-box;
	color: var(--cb-text);
	font-size: 16px;
	line-height: 1.6;
	margin: 24px auto;
	max-width: 720px;
}

.clinic-booking-widget *,
.clinic-booking-widget *::before,
.clinic-booking-widget *::after { box-sizing: inherit; }
.clinic-booking-widget [hidden] { display: none !important; }
.clinic-booking-widget button,
.clinic-booking-widget input { font: inherit; }
.clinic-booking-widget h2 { font-size: 1.35rem; margin: 0 0 8px; }

.cb-progress {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 4px;
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.cb-progress li {
	background: var(--cb-bg-soft);
	border-radius: 6px;
	color: #66706d;
	font-size: 13px;
	padding: 7px 3px;
	text-align: center;
}
.cb-progress li span { display: block; }
.cb-progress li.is-current { background: var(--cb-color); color: #fff; font-weight: 700; }

.cb-step {
	background: #fff;
	border: 1px solid var(--cb-border);
	border-radius: 10px;
	padding: clamp(18px, 4vw, 30px);
}

.cb-card-list { display: grid; gap: 12px; margin: 20px 0; }
.cb-card {
	align-items: center;
	background: #fff;
	border: 2px solid var(--cb-border);
	border-radius: 9px;
	color: inherit;
	cursor: pointer;
	display: flex;
	gap: 14px;
	min-height: 68px;
	padding: 14px;
	text-align: left;
	width: 100%;
}
.cb-card:hover, .cb-card:focus { border-color: var(--cb-color); outline: none; }
.cb-card.is-selected { background: var(--cb-bg-soft); border-color: var(--cb-color); }
.cb-card img { border-radius: 50%; flex: 0 0 56px; height: 56px; object-fit: cover; width: 56px; }
.cb-card-body { display: block; flex: 1; }
.cb-card-title { display: block; font-size: 1.05rem; font-weight: 700; }
.cb-card-meta, .cb-card-description { display: block; font-size: .9rem; margin-top: 3px; }
.cb-card-description { color: #59615f; }

.cb-field { display: block; margin: 0 0 18px; }
.cb-field > span { display: block; font-weight: 700; margin-bottom: 5px; }
.cb-field em { background: #b32d2e; border-radius: 3px; color: #fff; font-size: 11px; font-style: normal; padding: 2px 5px; }
.cb-field small { color: #66706d; font-weight: 400; }
.cb-field input {
	background: #fff;
	border: 1px solid #8c9693;
	border-radius: 6px;
	font-size: 16px;
	min-height: 48px;
	padding: 9px 11px;
	width: 100%;
}
.cb-fieldset { border: 0; margin: 0 0 20px; padding: 0; }
.cb-fieldset legend { font-weight: 700; margin-bottom: 8px; }
.cb-fieldset label { display: block; margin: 9px 0; }
.cb-fieldset input { height: 20px; vertical-align: middle; width: 20px; }

.cb-button {
	background: var(--cb-color);
	border: 0;
	border-radius: 7px;
	color: #fff;
	cursor: pointer;
	font-weight: 700;
	min-height: 48px;
	padding: 11px 18px;
}
.cb-button:hover, .cb-button:focus { background: var(--cb-color-dark); color: #fff; }
.cb-button:disabled { cursor: wait; opacity: .6; }
.cb-button-secondary { background: #eef1f0; color: var(--cb-text); }
.cb-button-secondary:hover, .cb-button-secondary:focus { background: #dfe5e3; color: var(--cb-text); }
.cb-actions { display: flex; gap: 10px; justify-content: space-between; margin-top: 22px; }

.cb-time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 18px 0; }
.cb-time { background: #fff; border: 2px solid var(--cb-color); border-radius: 7px; color: var(--cb-color-dark); cursor: pointer; min-height: 46px; }
.cb-time:hover, .cb-time:focus, .cb-time.is-selected { background: var(--cb-color); color: #fff; }
.cb-week-nav {
	align-items: center;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 10px;
	margin: 16px 0;
	text-align: center;
}
.cb-week-nav .cb-button { min-height: 42px; padding: 8px 12px; }
.cb-week-scroll {
	border: 1px solid var(--cb-border);
	margin: 14px 0 20px;
	max-height: min(65vh, 680px);
	overflow: auto;
}
.cb-week-table {
	background: #fff;
	border-collapse: separate;
	border-spacing: 0;
	min-width: 590px;
	width: 100%;
}
.cb-week-table th,
.cb-week-table td {
	border-bottom: 1px solid var(--cb-border);
	border-right: 1px solid var(--cb-border);
	height: 52px;
	min-width: 68px;
	padding: 3px;
	text-align: center;
}
.cb-week-table thead th {
	background: var(--cb-bg-soft);
	position: sticky;
	top: 0;
	z-index: 3;
}
.cb-week-time-head,
.cb-week-time {
	background: var(--cb-bg-soft);
	left: 0;
	min-width: 70px !important;
	position: sticky;
	z-index: 2;
}
.cb-week-time-head { z-index: 4 !important; }
.cb-week-date strong,
.cb-week-date span { display: block; line-height: 1.2; }
.cb-week-date.is-today { box-shadow: inset 0 3px 0 var(--cb-color); }
.cb-week-date.is-saturday { color: #2768a8; }
.cb-week-date.is-sunday { color: #b32d2e; }
.cb-week-open {
	background: #fff;
	border: 2px solid var(--cb-color);
	border-radius: 50%;
	color: var(--cb-color-dark);
	cursor: pointer;
	font-size: 20px;
	font-weight: 700;
	height: 42px;
	line-height: 1;
	width: 42px;
}
.cb-week-open:hover,
.cb-week-open:focus,
.cb-week-open.is-selected { background: var(--cb-color); color: #fff; outline: none; }
.cb-week-tel {
	align-items: center;
	background: #fff3cd;
	border: 2px solid #d39e00;
	border-radius: 7px;
	color: #5f4700;
	cursor: pointer;
	display: inline-flex;
	flex-direction: column;
	font-weight: 700;
	height: 44px;
	justify-content: center;
	line-height: 1;
	min-width: 48px;
	padding: 3px 7px;
}
.cb-week-tel:hover,
.cb-week-tel:focus { background: #ffe69c; border-color: #a77b00; outline: 2px solid transparent; }
.cb-week-tel-mark { font-size: 17px; }
.cb-week-tel-label { font-size: 10px; letter-spacing: .04em; margin-top: 2px; }
.cb-week-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	list-style: none;
	margin: 10px 0;
	padding: 0;
}
.cb-week-legend li { align-items: center; display: inline-flex; font-size: 13px; gap: 5px; }
.cb-legend-open { color: var(--cb-color-dark); font-size: 18px; font-weight: 700; }
.cb-legend-tel { background: #fff3cd; border: 1px solid #d39e00; border-radius: 4px; color: #5f4700; font-size: 11px; font-weight: 700; padding: 2px 5px; }
.cb-legend-unavailable { color: #7b3334; font-size: 18px; }
.cb-legend-outside { color: #9ba29f; font-size: 18px; }
.cb-tel-dialog {
	background: #fff;
	border: 0;
	border-radius: 12px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
	color: var(--cb-text);
	max-width: min(440px, calc(100vw - 32px));
	padding: 24px;
	text-align: center;
}
.cb-tel-dialog::backdrop { background: rgba(20, 28, 26, .55); }
.cb-tel-dialog h2 { margin-bottom: 12px; }
.cb-tel-dialog [data-tel-dialog-time] { font-weight: 700; }
.cb-tel-dialog .cb-button { min-width: 120px; }
.cb-week-unavailable { color: #7b3334; font-size: 19px; }
.cb-week-outside { color: #9ba29f; }
.cb-loading, .cb-empty { background: var(--cb-bg-soft); border-radius: 6px; margin: 15px 0; padding: 12px; }
.cb-message { border-radius: 7px; margin-bottom: 14px; padding: 12px 14px; }
.cb-message.is-error { background: #fcf0f1; border: 1px solid #d63638; color: #8a2424; }
.cb-message.is-success { background: #edfaef; border: 1px solid #00a32a; color: #155724; }
.cb-button-danger { background: #b32d2e; }
.cb-button-danger:hover, .cb-button-danger:focus { background: #8a2424; }
.cb-manage-link { display: inline-block; text-decoration: none; }
.cb-policy { background: var(--cb-bg-soft); border-left: 4px solid var(--cb-color); padding: 12px; white-space: pre-wrap; }

.cb-confirm, .cb-complete dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; }
.cb-confirm dt, .cb-complete dt { font-weight: 700; }
.cb-confirm dd, .cb-complete dd { margin: 0; overflow-wrap: anywhere; }
.cb-complete { text-align: center; }
.cb-complete dl { margin: 22px auto; max-width: 480px; text-align: left; }

@media (max-width: 520px) {
	.clinic-booking-widget { font-size: 15px; margin: 14px auto; }
	.cb-progress li { font-size: 11px; }
	.cb-progress li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.cb-step { border-left: 0; border-radius: 0; border-right: 0; padding-left: 14px; padding-right: 14px; }
	.cb-time-grid { grid-template-columns: repeat(3, 1fr); }
	.cb-week-nav { grid-template-columns: 1fr 1fr; }
	.cb-week-nav strong { grid-column: 1 / -1; grid-row: 1; }
	.cb-week-nav [data-week-prev] { grid-column: 1; grid-row: 2; }
	.cb-week-nav [data-week-next] { grid-column: 2; grid-row: 2; }
	.cb-week-scroll { margin-left: -14px; margin-right: -14px; max-height: 62vh; }
	.cb-week-legend { gap: 5px 10px; }
	.cb-week-legend li { font-size: 12px; }
	.cb-actions { flex-direction: column-reverse; }
	.cb-actions .cb-button { width: 100%; }
	.cb-confirm, .cb-complete dl { grid-template-columns: 90px 1fr; }
}
.cb-ancillary-options { display: grid; gap: 12px; margin-top: 12px; }
.cb-ancillary-option { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 16px; border: 1px solid #ccd5dc; border-radius: 10px; background: #fff; cursor: pointer; font-size: 1rem; }
.cb-ancillary-option input { width: 22px; height: 22px; flex: 0 0 auto; }
.cb-symptom-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.cb-symptom-option { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1px solid #ccd5dc; border-radius: 8px; background: #fff; cursor: pointer; }
.cb-symptom-option input { width: 22px; height: 22px; flex: 0 0 auto; }
.cb-symptom-other-field { margin-top: 16px; }
.cb-symptom-other-field textarea { background: #fff; border: 1px solid #8c9693; border-radius: 6px; box-sizing: border-box; font-size: 16px; line-height: 1.6; min-height: 96px; padding: 9px 11px; resize: vertical; width: 100%; }
.cb-symptom-other-field > small { display: block; margin-top: 6px; }
.cb-preserve-lines { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 520px) { .cb-symptom-options { grid-template-columns: 1fr; } }

/* ============================================================
   v0.49.0：患者向け予約画面（入力 → 確認 → 完了）。スマートフォン優先。
   .cb-form の中だけに効かせる（予約確認・変更ページの見た目は変えない）
   ============================================================ */
.cb-form { max-width: 760px; }
.cb-form .cb-message { white-space: pre-line; }
.cb-form .cb-f-progress { display: flex; gap: 6px; list-style: none; margin: 0 0 16px; padding: 0; }
.cb-form .cb-f-progress li { align-items: center; background: var(--cb-bg-soft); border-radius: 999px; color: #66706d; display: flex; flex: 1; font-size: 14px; gap: 6px; justify-content: center; padding: 7px 4px; }
.cb-form .cb-f-progress li span { align-items: center; background: #fff; border-radius: 50%; display: inline-flex; font-size: 12px; font-weight: 700; height: 20px; justify-content: center; width: 20px; }
.cb-form .cb-f-progress li.is-current { background: var(--cb-color); color: #fff; font-weight: 700; }
.cb-form .cb-f-progress li.is-current span { color: var(--cb-color); }
.cb-form .cb-f-progress li.is-done { color: var(--cb-color); }

.cb-form .cb-f-section { background: #fff; border: 1px solid var(--cb-border); border-radius: 12px; margin: 0 0 12px; padding: 16px; }
.cb-form .cb-f-section[aria-disabled="true"] .cb-f-body { opacity: .55; }
.cb-form .cb-f-section.is-done { background: var(--cb-bg-soft); }
.cb-form .cb-f-title { align-items: center; display: flex; flex-wrap: wrap; font-size: 1.05rem; gap: 8px; margin: 0 0 12px; }
.cb-form .cb-f-title small { color: #66706d; font-size: .8rem; font-weight: 400; }
.cb-form .cb-f-num { align-items: center; background: var(--cb-color); border-radius: 50%; color: #fff; display: inline-flex; flex: 0 0 26px; font-size: 14px; height: 26px; justify-content: center; width: 26px; }
.cb-form .cb-f-num-sub { background: #8c9693; }
.cb-form .cb-f-section.is-done .cb-f-title { margin-bottom: 4px; }
.cb-form .cb-f-summary { align-items: center; display: flex; gap: 10px; justify-content: space-between; }
.cb-form .cb-f-summary [data-summary-text] { font-weight: 700; }
.cb-form .cb-f-change { background: #fff; border: 1px solid var(--cb-color); border-radius: 999px; color: var(--cb-color); cursor: pointer; flex: 0 0 auto; font-size: 13px; min-height: 32px; padding: 3px 14px; }
.cb-form .cb-f-hint { color: #66706d; font-size: .9rem; margin: 0; }
.cb-form .cb-f-link { background: none; border: 0; color: var(--cb-color); cursor: pointer; font-weight: 700; padding: 4px 0; text-decoration: underline; }

/* 来院区分・モード */
.cb-form .cb-f-choices { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.cb-form .cb-f-choice, .cb-form .cb-f-mode-option { cursor: pointer; display: block; position: relative; }
.cb-form .cb-f-choice input, .cb-form .cb-f-mode-option input { opacity: 0; position: absolute; }
.cb-form .cb-f-choice span { align-items: center; border: 2px solid var(--cb-border); border-radius: 10px; display: flex; font-weight: 700; justify-content: center; min-height: 52px; padding: 8px; text-align: center; }
.cb-form .cb-f-choice input:checked + span, .cb-form .cb-f-mode-option input:checked + span { background: var(--cb-bg-soft); border-color: var(--cb-color); color: var(--cb-color-dark); }
.cb-form .cb-f-choice input:focus-visible + span, .cb-form .cb-f-mode-option input:focus-visible + span { outline: 3px solid rgba(33,110,98,.35); }
.cb-form .cb-f-mode { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; margin-bottom: 12px; }
.cb-form .cb-f-mode-option span { border: 2px solid var(--cb-border); border-radius: 10px; display: block; min-height: 64px; padding: 8px 10px; }
.cb-form .cb-f-mode-option strong { display: block; }
.cb-form .cb-f-mode-option small { color: #59615f; display: block; font-size: 12px; line-height: 1.4; }
.cb-form .cb-f-request-note, .cb-form .cb-f-request-warning { background: #fff7e0; border-left: 4px solid #d9a400; border-radius: 6px; font-size: .9rem; margin: 0 0 12px; padding: 8px 12px; }
.cb-form .cb-f-request-warning { font-weight: 700; }

/* メニュー */
.cb-form .cb-f-menu-list { display: grid; gap: 8px; }
.cb-form .cb-f-menu { background: #fff; border: 2px solid var(--cb-border); border-radius: 10px; color: inherit; cursor: pointer; display: block; min-height: 56px; padding: 10px 14px; text-align: left; width: 100%; }
.cb-form .cb-f-menu:hover, .cb-form .cb-f-menu:focus-visible { border-color: var(--cb-color); outline: none; }
.cb-form .cb-f-menu.is-selected { background: var(--cb-bg-soft); border-color: var(--cb-color); }
.cb-form .cb-f-menu-name { display: block; font-weight: 700; }
.cb-form .cb-f-menu-meta { color: var(--cb-color-dark); display: block; font-size: .88rem; }
.cb-form .cb-f-menu-desc { color: #59615f; display: block; font-size: .85rem; margin-top: 2px; }

/* 付帯対応 */
.cb-form .cb-f-checks { display: grid; gap: 6px; }
.cb-form .cb-f-check { align-items: center; display: flex; gap: 8px; min-height: 40px; }
.cb-form .cb-f-check input { height: 20px; width: 20px; }

/* 日付（横スクロール） */
.cb-form .cb-f-pref-tabs { align-items: stretch; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.cb-form .cb-f-pref-tab { background: #fff; border: 2px solid var(--cb-border); border-radius: 10px; cursor: pointer; flex: 1 1 40%; font-weight: 700; min-height: 52px; padding: 6px 8px; }
.cb-form .cb-f-pref-tab small { display: block; font-size: 12px; font-weight: 400; }
.cb-form .cb-f-pref-tab.is-current { border-color: var(--cb-color); color: var(--cb-color-dark); }
.cb-form .cb-f-pref-clear { flex: 1 1 100%; font-size: 13px; text-align: right; }
.cb-form .cb-f-week-nav { align-items: center; display: flex; gap: 8px; justify-content: space-between; margin-bottom: 8px; }
.cb-form .cb-f-week-nav strong { font-size: .92rem; text-align: center; }
.cb-form .cb-f-arrow { background: #fff; border: 1px solid var(--cb-border); border-radius: 50%; cursor: pointer; font-size: 20px; height: 40px; line-height: 1; width: 40px; }
.cb-form .cb-f-arrow:disabled { cursor: default; opacity: .35; }
.cb-form .cb-f-dates { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.cb-form .cb-f-date { align-items: center; background: #fff; border: 2px solid var(--cb-border); border-radius: 10px; color: inherit; cursor: pointer; display: flex; flex: 0 0 64px; flex-direction: column; min-height: 76px; padding: 6px 2px; scroll-snap-align: start; }
.cb-form .cb-f-date-md { font-size: 15px; font-weight: 700; }
.cb-form .cb-f-date-w { font-size: 12px; }
.cb-form .cb-f-date.is-sun .cb-f-date-w { color: #c0392b; }
.cb-form .cb-f-date.is-sat .cb-f-date-w { color: #2563a8; }
.cb-form .cb-f-date-mark { font-size: 15px; font-weight: 700; }
.cb-form .cb-f-date.is-open .cb-f-date-mark { color: var(--cb-color); }
.cb-form .cb-f-date.is-tel .cb-f-date-mark { color: #b7791f; }
.cb-form .cb-f-date.is-full { background: #f3f4f4; color: #8c9693; }
.cb-form .cb-f-date.is-selected { background: var(--cb-color); border-color: var(--cb-color); color: #fff; }
.cb-form .cb-f-date.is-selected .cb-f-date-w, .cb-form .cb-f-date.is-selected .cb-f-date-mark { color: #fff; }
.cb-form .cb-f-date:disabled { cursor: default; opacity: .4; }
.cb-form .cb-f-legend { display: flex; flex-wrap: wrap; font-size: 12px; gap: 4px 14px; list-style: none; margin: 0 0 8px; padding: 0; }
.cb-form .cb-f-legend span { font-weight: 700; margin-right: 3px; }
.cb-form .cb-f-legend .is-open { color: var(--cb-color); }
.cb-form .cb-f-legend .is-tel { color: #b7791f; }
.cb-form .cb-f-legend .is-full { color: #8c9693; }

/* 時間（タップしやすいボタン） */
.cb-form .cb-f-times-title { font-weight: 700; margin: 8px 0; }
.cb-form .cb-f-times { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
.cb-form .cb-f-time { background: #fff; border: 2px solid var(--cb-color); border-radius: 8px; color: var(--cb-color-dark); cursor: pointer; font-size: 16px; font-weight: 700; min-height: 48px; padding: 4px; }
.cb-form .cb-f-time small { display: block; font-size: 11px; font-weight: 400; }
.cb-form .cb-f-time.is-tel { border-color: #d9a400; color: #8a5a00; }
.cb-form .cb-f-time.is-selected { background: var(--cb-color); color: #fff; }
.cb-form .cb-f-time.is-other-pref { border-style: dashed; }
/* v0.54.0：メニュー未選択時の空き状況（目安）。選べない見た目にする */
.cb-form .cb-f-time.is-preview { background: #f6f7f7; border-color: #c3c9c7; border-style: dashed; color: #5f6b67; font-weight: 400; }
.cb-form .cb-f-preview-note { background: #f6f7f7; border-left: 4px solid #c3c9c7; border-radius: 4px; color: #3c4643; font-size: 14px; margin: 8px 0; padding: 8px 12px; }
.cb-form .cb-f-no-times { color: #59615f; margin: 8px 0 0; }
.cb-form .cb-f-selected { background: var(--cb-bg-soft); border-radius: 8px; font-weight: 700; margin: 12px 0 0; padding: 8px 12px; }

/* 担当者 */
.cb-form .cb-f-staff-list { display: grid; gap: 8px; }
.cb-form .cb-f-staff { align-items: center; border: 2px solid var(--cb-border); border-radius: 10px; cursor: pointer; display: flex; gap: 10px; min-height: 52px; padding: 8px 12px; }
.cb-form .cb-f-staff:has(input:checked) { background: var(--cb-bg-soft); border-color: var(--cb-color); }
.cb-form .cb-f-staff input { flex: 0 0 auto; height: 20px; width: 20px; }
.cb-form .cb-f-staff img { border-radius: 50%; height: 40px; object-fit: cover; width: 40px; }
.cb-form .cb-f-staff-body strong, .cb-form .cb-f-staff-body small { display: block; }
.cb-form .cb-f-staff-body small { color: #59615f; }
.cb-form .cb-f-auto-staff { font-weight: 700; margin: 0; }

/* お客様情報 */
.cb-form .cb-field textarea { background: #fff; border: 1px solid #8c9693; border-radius: 6px; font: inherit; min-height: 44px; padding: 10px 12px; width: 100%; }

/* 確認・完了 */
.cb-form .cb-f-confirm { display: grid; gap: 0; grid-template-columns: 1fr; margin: 0 0 12px; }
.cb-form .cb-f-confirm dt { color: #59615f; font-size: .85rem; padding-top: 10px; }
.cb-form .cb-f-confirm dd { align-items: flex-start; border-bottom: 1px solid var(--cb-border); display: flex; gap: 10px; justify-content: space-between; margin: 0; padding: 2px 0 10px; }
.cb-form .cb-f-confirm dd span { font-weight: 700; overflow-wrap: anywhere; }
.cb-form .cb-f-confirm dd.cb-preserve-lines span { white-space: pre-line; }
.cb-form .cb-f-footer { margin: 16px 0 8px; }
.cb-form .cb-f-footer .cb-button { min-height: 52px; width: 100%; }
.cb-form .cb-f-footer-two { display: grid; gap: 8px; grid-template-columns: 1fr; }
.cb-form .cb-f-footer-two [data-submit-booking] { order: -1; }

@media (min-width: 640px) {
	.cb-form .cb-f-section { padding: 20px 24px; }
	.cb-form .cb-f-dates { flex-wrap: nowrap; }
	.cb-form .cb-f-date { flex: 1 0 72px; }
	.cb-form .cb-f-confirm { grid-template-columns: 9em 1fr; }
	.cb-form .cb-f-confirm dt { border-bottom: 1px solid var(--cb-border); padding: 10px 0; }
	.cb-form .cb-f-confirm dd { padding: 10px 0; }
	.cb-form .cb-f-footer-two { grid-template-columns: 1fr 2fr; }
	.cb-form .cb-f-footer-two [data-submit-booking] { order: 0; }
}
/* テーマの見出し・リスト装飾が入り込まないようにする */
.cb-form .cb-f-section h2.cb-f-title { background: none !important; border: 0 !important; box-shadow: none !important; font-family: inherit; letter-spacing: normal; line-height: 1.4; padding: 0 !important; text-align: left; }
.cb-form .cb-f-section h2.cb-f-title::before, .cb-form .cb-f-section h2.cb-f-title::after { content: none !important; display: none !important; }
.cb-form .cb-f-legend li, .cb-form .cb-f-progress li { margin: 0; padding-left: 0; }
.cb-form .cb-f-legend li::before, .cb-form .cb-f-legend li::after, .cb-form .cb-f-progress li::before, .cb-form .cb-f-progress li::after { content: none !important; display: none !important; }
.cb-form .cb-f-progress li { padding: 7px 4px; }
.cb-form .cb-f-times { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
.cb-form .cb-f-time { font-size: 15px; min-height: 46px; }
.cb-form .cb-f-legend li, .cb-form .cb-f-progress li { list-style: none !important; }

/* ============================================================
   v0.50.0：予約リクエスト（補助機能）— 通常予約フォーム下の小さなボタンとモーダル
   ============================================================ */
.cb-form .cb-f-request-entry { margin: 4px 0 16px; text-align: center; }
.cb-form .cb-f-request-open { background: #fff; border: 1px solid #8c9693; border-radius: 4px; color: #3c4442; cursor: pointer; font: inherit; font-size: 13px; line-height: 1.4; min-height: 40px; padding: 8px 16px; }
.cb-form .cb-f-request-open:hover, .cb-form .cb-f-request-open:focus-visible { border-color: var(--cb-color); color: var(--cb-color-dark); outline: none; }
html.cb-rq-open, html.cb-rq-open body { overflow: hidden; }
.cb-form .cb-rq-modal { background: #fff; border: 0; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.25); color: var(--cb-text); display: none; flex-direction: column; margin: auto; max-height: calc(100dvh - 32px); max-width: 640px; overflow: hidden; padding: 0; width: calc(100% - 32px); }
.cb-form .cb-rq-modal[open] { display: flex; }
.cb-form .cb-rq-modal::backdrop { background: rgba(20, 28, 26, .55); }
.cb-form .cb-rq-head { align-items: center; background: #fff; border-bottom: 1px solid var(--cb-border); display: flex; flex: 0 0 auto; gap: 8px; justify-content: space-between; padding: 10px 10px 10px 16px; }
.cb-form .cb-rq-modal h2.cb-rq-title { background: none !important; border: 0 !important; font-family: inherit; font-size: 1.05rem; margin: 0; padding: 0 !important; }
.cb-form .cb-rq-modal h2.cb-rq-title::before, .cb-form .cb-rq-modal h2.cb-rq-title::after { content: none !important; display: none !important; }
.cb-form .cb-rq-close { background: #fff; border: 1px solid var(--cb-border); border-radius: 50%; color: #3c4442; cursor: pointer; flex: 0 0 44px; font-size: 22px; height: 44px; line-height: 1; padding: 0; width: 44px; }
.cb-form .cb-rq-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px; -webkit-overflow-scrolling: touch; }
.cb-form .cb-rq-field { border: 0; margin: 0 0 18px; min-width: 0; padding: 0; }
.cb-form .cb-rq-field legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.cb-form .cb-rq-field legend em, .cb-form .cb-rq-modal .cb-field em { background: #b32d2e; border-radius: 3px; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; padding: 2px 5px; }
.cb-form .cb-rq-field legend small { color: #66706d; font-weight: 400; }
.cb-form .cb-rq-pref { background: var(--cb-bg-soft); border-radius: 10px; padding: 12px; }
.cb-form .cb-rq-pref legend { float: left; margin-bottom: 8px; width: 100%; }
.cb-form .cb-rq-pref > * { clear: both; }
.cb-form .cb-rq-modal select { background: #fff; border: 1px solid #8c9693; border-radius: 6px; font: inherit; min-height: 44px; padding: 8px 10px; width: 100%; }
.cb-form .cb-rq-modal .cb-f-time:disabled { background: #f3f4f4; border-style: dashed; color: #8c9693; cursor: not-allowed; }
.cb-form .cb-rq-actions { margin-top: 16px; }
.cb-form .cb-rq-actions .cb-button { min-height: 50px; width: 100%; }
@media (max-width: 639px) {
	.cb-form .cb-rq-modal { border-radius: 0; height: 100dvh; max-height: 100dvh; max-width: none; width: 100%; }
}
/* v0.51.0：予約リクエストへの導線は ③日時 の下部に控えめなテキストリンクで置く */
.cb-form .cb-f-request-entry { border-top: 1px dashed var(--cb-border); margin: 16px 0 0; padding-top: 10px; text-align: right; }
.cb-form .cb-f-request-open { background: none; border: 0; border-radius: 0; color: #59615f; cursor: pointer; font: inherit; font-size: 13px; line-height: 1.5; min-height: 32px; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; }
.cb-form .cb-f-request-open::after { content: " ›"; text-decoration: none; }
.cb-form .cb-f-request-open:hover, .cb-form .cb-f-request-open:focus-visible { color: var(--cb-color-dark); outline: none; }
.cb-form .cb-f-request-open:focus-visible { box-shadow: 0 0 0 2px rgba(33,110,98,.35); }

/* v0.52.0：使えない専用予約リンクの案内 */
.cb-link-unavailable { max-width: 560px; margin: 24px auto; padding: 24px 20px; border: 1px solid #dcdcde; border-radius: 8px; background: #fff; text-align: center; color: #1d2327; line-height: 1.8; }
.cb-link-unavailable__title { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.cb-link-unavailable p { margin: 0 0 12px; }
.cb-link-unavailable__btn { display: inline-block; padding: 12px 24px; border-radius: 6px; background: #2271b1; color: #fff !important; text-decoration: none; font-weight: 700; }
.cb-link-unavailable__btn:focus-visible { outline: 3px solid #72aee6; outline-offset: 2px; }

/* v0.53.0：「ご質問・事前に伝えておきたいこと」（お客様情報の一番下・任意） */
.cb-note-field { margin-top: 20px; }
.cb-note-field .cb-note-label { display: block; margin-bottom: 4px; font-weight: 700; }
.cb-note-field .cb-note-label small { font-weight: 400; }
.cb-note-help { margin: 0 0 8px; color: #50575e; font-size: 0.9rem; line-height: 1.6; }
.cb-note-field textarea { display: block; box-sizing: border-box; width: 100%; min-height: 132px; padding: 10px 12px; border: 1px solid #8c9693; border-radius: 6px; background: #fff; font: inherit; font-size: 16px; line-height: 1.7; resize: vertical; }
.cb-note-field textarea::placeholder { color: #9aa1a7; opacity: 1; }
.cb-note-field textarea:focus { outline: 2px solid #2271b1; outline-offset: 1px; border-color: #2271b1; }
.cb-note-count { display: block; margin-top: 6px; color: #646970; font-size: 0.8rem; }
