@charset "UTF-8";

/*
 * 予約ファネル（/reservation/）
 *
 * このリポジトリに SCSS は入っていないので、このファイルを直接編集する。
 * html の font-size は 62.5%（reset.css）なので 1rem = 10px。
 * 色はデザインカンプ（Figma node-id=5378-2）から実測した値。
 * ステップインジケーターだけは仕様書指定の #f9688f で、それ以外のピンクは #e14a81。
 */

.rsv {
	/*
	 * 見出し・ボタンの丸ゴシック。
	 * "M PLUS Rounded 1c" はサイト共通で読んでいる（includes/font-unify.php、FW_RC-5）。
	 * 読めなかったときのために端末の丸ゴシックを後ろに並べる（既存ページと同じ指定）。
	 */
	--rsv-font-round: "M PLUS Rounded 1c", "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO", sans-serif;
	/* ステップインジケーター・必須バッジ */
	--rsv-pink: #f9688f;
	/* 表ヘッダー・主ボタン・合計エリア */
	--rsv-magenta: #e14a81;
	/* 数量スピナーの＋ */
	--rsv-lightblue: #9cfeff;
	/* 主ボタンの文字の影（縁取りは黒。カンプは右下に 5px 4px ずらした水色の影） */
	--rsv-btn-shadow: #08e5d9;
	/* 注意事項の見出し */
	--rsv-caution-shadow: #fca4a4;
	--rsv-caution-en: #f15a24;
	/* カレンダーの配色はおそうじパンダ（cart.scss の .table_reservation）に合わせる */
	--rsv-cal-mark: #ff3251;
	--rsv-cal-none: #d6d6d6;
	--rsv-cal-border: #e6e6e6;
	--rsv-cal-sat-text: #54c3ff;
	--rsv-cal-sat-bg: #eefaff;
	--rsv-cal-sun-text: #ff5498;
	--rsv-cal-sun-bg: #ffeef5;
	--rsv-pink-dark: #e04f78;
	--rsv-blue: #48b8e0;
	/* 入力欄のフォーカス時の背景（仕様書「フォーカス時に背景を水色へ変更」） */
	--rsv-focus-bg: #eefaff;
	--rsv-gray: #b4b4b4;
	--rsv-gray-light: #f2f2f2;
	--rsv-border: #d9d9d9;
	--rsv-text: #1a1a1a;
	padding-top: 2.4rem;
	/* フッターの固定CTA（.l-footer_contact）に最後の要素が隠れないようにする */
	padding-bottom: 16rem;
	color: var(--rsv-text);
}

.rsv__inner {
	max-width: 1056px;
	width: 100%;
	padding-left: 1.6rem;
	padding-right: 1.6rem;
	margin: 0 auto;
}

.rsv__heading {
	font-family: var(--rsv-font-round);
	font-size: 2.4rem;
	font-weight: bold;
	text-align: center;
	margin-top: 2.4rem;
}

.rsv__lead {
	font-size: 1.4rem;
	text-align: center;
	margin-top: 1.2rem;
	line-height: 1.6;
}

.rsv__error {
	font-size: 1.4rem;
	font-weight: bold;
	color: #c0392b;
	background-color: #fdecea;
	border: 1px solid #f5c6c2;
	border-radius: 0.4rem;
	padding: 1.2rem 1.6rem;
	margin-top: 2rem;
	line-height: 1.6;
}

/* ---------- 進行インジケーター ---------- */

.rsv-steps {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 0.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rsv-steps__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1 1 0;
	max-width: 12rem;
	position: relative;
	font-size: 1.1rem;
	text-align: center;
	color: var(--rsv-gray);
}

/* 項目のあいだを結ぶ線 */
.rsv-steps__item + .rsv-steps__item::before {
	content: "";
	position: absolute;
	top: 1.4rem;
	left: -50%;
	width: 100%;
	height: 2px;
	background-color: var(--rsv-gray);
	z-index: 0;
}

.rsv-steps__item--done::before,
.rsv-steps__item--current::before {
	background-color: var(--rsv-pink);
}

.rsv-steps__mark {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.8rem;
	height: 2.8rem;
	border-radius: 50%;
	background-color: var(--rsv-gray);
	color: #fff;
	font-size: 1.3rem;
	font-weight: bold;
	line-height: 1;
}

.rsv-steps__item--done .rsv-steps__mark,
.rsv-steps__item--current .rsv-steps__mark {
	background-color: var(--rsv-pink);
}

.rsv-steps__label {
	margin-top: 0.6rem;
	line-height: 1.3;
}

.rsv-steps__item--done .rsv-steps__label,
.rsv-steps__item--current .rsv-steps__label {
	color: var(--rsv-pink);
	font-weight: bold;
}

/* ---------- メニューテーブル ---------- */

.rsv-menu__section {
	margin-top: 3.2rem;
}

.rsv-menu__section-heading {
	/* カンプは見出しが中央で、開閉ボタンだけが右端にある */
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 3.2rem;
	padding: 0 4.4rem;
	font-family: var(--rsv-font-round);
	font-size: 1.8rem;
	font-weight: bold;
	text-align: center;
	margin-bottom: 1.2rem;
}

/* ちょこっとプランの説明文（表の上） */
.rsv-menu__section-lead {
	font-size: 1.3rem;
	line-height: 1.7;
	margin: 0 0 1.2rem;
}

.rsv-menu__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1.3rem;
	table-layout: fixed;
}

/* reset.css の table th / table td が 1.6rem をセルに直接当てるので、表の文字サイズを継承させる */
.rsv-menu__table th,
.rsv-menu__table td {
	font-size: inherit;
}

.rsv-menu__table thead th {
	background-color: var(--rsv-magenta);
	color: #fff;
	font-weight: bold;
	padding: 1rem 0.4rem;
	text-align: center;
	border: 1px solid var(--rsv-magenta);
}

/*
 * 金額列は 320px 幅でも「10,780円」が1行で収まる幅、
 * 数量列はスピナーの実寸（ボタン2つ＋入力欄）が入る幅を確保する
 */
.rsv-menu__table thead th:first-child {
	width: 31%;
}

.rsv-menu__table thead th:nth-child(2) {
	width: 14%;
}

.rsv-menu__table thead th:nth-child(3) {
	width: 25%;
}

.rsv-menu__table tbody th,
.rsv-menu__table tbody td {
	border: 1px solid var(--rsv-border);
	padding: 1rem 0.4rem;
	vertical-align: middle;
}

.rsv-menu__name {
	text-align: left;
	font-weight: normal;
	line-height: 1.4;
	word-break: break-word;
}

.rsv-menu__time,
.rsv-menu__price {
	text-align: center;
	white-space: nowrap;
}

.rsv-menu__row--selected {
	background-color: #fff5f8;
}

/* ---------- 数量スピナー ---------- */

.rsv-spinner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.3rem;
}

.rsv-spinner__btn {
	width: 2.6rem;
	height: 2.6rem;
	border: none;
	border-radius: 0.4rem;
	color: #fff;
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1;
	cursor: pointer;
	flex: 0 0 auto;
}

.rsv-spinner__btn--minus {
	background-color: var(--rsv-gray);
}

.rsv-spinner__btn--plus {
	background-color: var(--rsv-lightblue);
}

.rsv-spinner__btn:disabled {
	opacity: 0.4;
	cursor: default;
}

.rsv-spinner__input {
	width: 3.4rem;
	height: 2.6rem;
	min-width: 0;
	text-align: center;
	font-size: 1.4rem;
	border: 1px solid var(--rsv-border);
	border-radius: 0.4rem;
	background-color: #fff;
	-moz-appearance: textfield;
}

.rsv-spinner__input::-webkit-outer-spin-button,
.rsv-spinner__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ---------- オプションのアコーディオン ---------- */

.rsv-accordion__toggle {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.2rem;
	height: 3.2rem;
	border: none;
	border-radius: 50%;
	background-color: var(--rsv-magenta);
	cursor: pointer;
	flex: 0 0 auto;
}

.rsv-accordion__icon {
	display: block;
	width: 1rem;
	height: 1rem;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg) translate(-0.2rem, -0.2rem);
	transition: transform 0.2s;
}

.rsv-accordion__toggle[aria-expanded="false"] .rsv-accordion__icon {
	transform: rotate(-135deg) translate(-0.2rem, -0.2rem);
}

.rsv-accordion__text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.rsv-accordion__body[hidden] {
	display: none;
}

/* ---------- 見積合計 ---------- */

.rsv-total {
	margin-top: 2.4rem;
	border: 1px solid var(--rsv-border);
	border-radius: 0.6rem;
	padding: 1.6rem;
	background-color: #fff;
}

.rsv-total__time {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem;
	padding-bottom: 1.2rem;
	border-bottom: 1px dashed var(--rsv-border);
}

.rsv-total__time-label {
	font-size: 1.2rem;
	line-height: 1.4;
}

.rsv-total__time-value {
	font-size: 2.4rem;
	font-weight: bold;
	color: var(--rsv-magenta);
	white-space: nowrap;
}

.rsv-total__price {
	margin: 0;
	padding-top: 1.2rem;
}

.rsv-total__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem;
	margin-top: 0.8rem;
}

.rsv-total__row[hidden] {
	display: none;
}

.rsv-total__tag {
	font-size: 1.2rem;
	font-weight: bold;
	padding: 0.4rem 0.8rem;
	border-radius: 0.3rem;
	line-height: 1.2;
}

.rsv-total__tag--normal {
	border: 1px solid var(--rsv-text);
	color: var(--rsv-text);
}

.rsv-total__tag--discount {
	border: 1px solid var(--rsv-magenta);
	color: var(--rsv-magenta);
}

.rsv-total__tag--final {
	background-color: var(--rsv-magenta);
	border: 1px solid var(--rsv-magenta);
	color: #fff;
}

.rsv-total__value {
	margin: 0;
	font-size: 1.6rem;
	font-weight: bold;
	white-space: nowrap;
}

.rsv-total__value--discount {
	color: var(--rsv-magenta);
}

.rsv-total__value--final {
	font-size: 2.4rem;
}

/* ---------- ボタン ---------- */

.rsv-actions {
	margin-top: 2.4rem;
	text-align: center;
}

.rsv-actions__error {
	font-size: 1.3rem;
	font-weight: bold;
	color: #c0392b;
	margin-bottom: 1.2rem;
}

.rsv-actions__error[hidden] {
	display: none;
}

.rsv-actions__note {
	font-size: 1.1rem;
	line-height: 1.6;
	margin-top: 1.2rem;
	margin-bottom: 2rem;
}

.rsv-btn {
	display: inline-block;
	min-width: 26rem;
	max-width: 100%;
	padding: 1.6rem 2.4rem;
	border: 0.4rem solid #000;
	border-radius: 2.8rem;
	box-shadow: 0.4rem 0.5rem 0 #000;
	font-family: var(--rsv-font-round);
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.35;
	text-align: center;
	cursor: pointer;
}

.rsv-btn--primary {
	background-color: var(--rsv-magenta);
	color: #fff;
}

/*
 * 主ボタンの文字は白抜き黒縁取り＋水色の影。
 * カンプ（幅750pxのSPフレーム）は縁取り5px・影 5px 4px なので、実寸はその半分。
 *
 * 影は text-shadow ではなく filter: drop-shadow で落とす。text-shadow は
 * 縁取りを含まない字形から影を作るので、黒縁の下に隠れてしまうため。
 * drop-shadow なら縁取りまで含めた見た目の形から落ちる。
 * ボタンそのものに掛けると枠まで水色の影が付くので、文字を包む span に掛ける。
 */
.rsv-btn--primary .rsv-btn__label,
.rsv .r_send button[type="submit"] .rsv-btn__label {
	display: inline-block;
	color: #fff;
	-webkit-text-stroke: 0.5rem #000;
	paint-order: stroke fill;
	filter: drop-shadow(0.25rem 0.2rem 0 var(--rsv-btn-shadow));
}

/* 押せないときは縁取りと影を外して、ただの灰色のボタンに見せる */
.rsv-btn:disabled .rsv-btn__label,
.rsv .r_send button[type="submit"]:disabled .rsv-btn__label {
	-webkit-text-stroke-width: 0;
	filter: none;
}

.rsv-btn--back {
	background-color: #fff;
	color: var(--rsv-text);
}

.rsv-btn:active {
	transform: translate(2px, 2px);
	box-shadow: 0.2rem 0.3rem 0 #000;
}

/* ---------- 注意事項 ---------- */

.rsv-caution {
	margin-top: 6.4rem;
}

.rsv-caution__heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 2.4rem;
}

.rsv-caution__icon {
	display: block;
	width: 3.8rem;
	height: 4rem;
}

.rsv-caution__title {
	font-family: var(--rsv-font-round);
	font-size: 3.3rem;
	font-weight: 800;
	line-height: 1.1;
	color: #fff;
	/* letter-spacing は最後の文字の右にも入るので、その分だけ左に寄せて中央に見せる */
	letter-spacing: 0.14em;
	text-indent: 0.14em;
	/*
	 * 白抜き黒縁取り＋赤シャドウ。
	 * カンプは 66px / 縁取り 8px / text-shadow 5px 4px 0 #FCA4A4（幅750pxのSPフレーム）なので、
	 * 実寸はその半分。縁取りは paint-order で塗りの下へ回すため、
	 * 外に見えるのは指定の半分になる。見た目 4px にしたいので 0.8rem を指定する。
	 *
	 * 影は filter: drop-shadow。text-shadow だと縁取りを含まない字形から
	 * 影が落ちて、黒縁の下に隠れてしまう。
	 */
	display: inline-block;
	-webkit-text-stroke: 0.8rem #000;
	paint-order: stroke fill;
	filter: drop-shadow(0.25rem 0.2rem 0 var(--rsv-caution-shadow));
}

.rsv-caution__en {
	font-size: 1.4rem;
	font-weight: bold;
	color: var(--rsv-caution-en);
	letter-spacing: 0.2em;
	text-indent: 0.2em;
}

.rsv-caution__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rsv-caution__list li {
	position: relative;
	padding-left: 1.6rem;
	font-size: 1.4rem;
	line-height: 1.9;
	margin-top: 0.8rem;
}

.rsv-caution__list li::before {
	content: "※";
	position: absolute;
	left: 0;
}

.rsv-caution__policy {
	margin-top: 0.8rem;
}

/* キャンセルポリシーの2行はカンプでは ※ が付かない */
.rsv-caution__policy .rsv-caution__list li {
	padding-left: 0;
}

.rsv-caution__policy .rsv-caution__list li::before {
	content: none;
}

.rsv-caution__policy-heading {
	font-size: 1.4rem;
	font-weight: bold;
	margin-top: 0.8rem;
}

/* ---------- PC ---------- */

@media only screen and (min-width: 769px) {
	.rsv__heading {
		font-size: 3.2rem;
	}

	.rsv__lead {
		font-size: 1.6rem;
	}

	.rsv-steps__item {
		font-size: 1.4rem;
	}

	.rsv-menu__table {
		font-size: 1.5rem;
	}

	.rsv-menu__table thead th,
	.rsv-menu__table tbody th,
	.rsv-menu__table tbody td {
		padding: 1.4rem 1.2rem;
	}

	.rsv-menu__table thead th:first-child {
		width: 40%;
	}

	.rsv-menu__table thead th:nth-child(2) {
		width: 14%;
	}

	.rsv-menu__table thead th:nth-child(3) {
		width: 22%;
	}

	.rsv-spinner {
		gap: 0.6rem;
	}

	.rsv-spinner__btn {
		width: 3.2rem;
		height: 3.2rem;
	}

	.rsv-spinner__input {
		width: 4.4rem;
		height: 3.2rem;
	}

	.rsv-total {
		padding: 2.4rem;
	}

	.rsv-total__time-label {
		font-size: 1.4rem;
	}

	.rsv-total__value {
		font-size: 1.8rem;
	}

	.rsv-total__value--final {
		font-size: 3.2rem;
	}

	.rsv-caution__icon {
		width: 4.8rem;
		height: 5rem;
	}

	.rsv-caution__title {
		font-size: 4.2rem;
		-webkit-text-stroke-width: 1rem;
		filter: drop-shadow(0.3rem 0.25rem 0 var(--rsv-caution-shadow));
	}

	.rsv-caution__en {
		font-size: 1.6rem;
	}

	.rsv-caution__list li {
		font-size: 1.5rem;
	}
}

/* ==========================================================================
   Step2 日時選択
   ========================================================================== */

.rsv-link {
	display: inline;
	padding: 0;
	border: none;
	background: none;
	color: var(--rsv-text);
	font-size: 1.2rem;
	text-decoration: underline;
	cursor: pointer;
}

.rsv-cal__address {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 2rem;
	font-size: 1.3rem;
	line-height: 1.5;
}

/* ---------- カレンダー上下のバー ---------- */

.rsv-cal {
	margin-top: 1.6rem;
}

.rsv-cal__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	margin-bottom: 1.2rem;
}

.rsv-cal__bar--bottom {
	margin-top: 1.2rem;
	margin-bottom: 0;
	justify-content: space-between;
}

.rsv-cal__nav {
	border: 1px solid var(--rsv-border);
	border-radius: 0.4rem;
	background-color: #fff;
	padding: 0.8rem 1.2rem;
	font-size: 1.2rem;
	cursor: pointer;
	white-space: nowrap;
}

.rsv-cal__nav:disabled {
	opacity: 0.4;
	cursor: default;
}

.rsv-cal__month {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	border: none;
	background: none;
	font-size: 1.3rem;
	font-weight: 400;
	letter-spacing: 0.12em;
	line-height: 1;
	cursor: pointer;
}

/* ピンクの▼。おそうじパンダの .year-month .text::after と同じ作り */
.rsv-cal__month-arrow {
	display: block;
	width: 0;
	height: 0;
	border: 0.5rem solid transparent;
	border-top: 0.6rem solid var(--rsv-cal-mark);
	border-bottom: none;
}

.rsv-cal__status {
	font-size: 1.3rem;
	text-align: center;
	padding: 2.4rem 0;
}

.rsv-cal__status[hidden] {
	display: none;
}

/* ---------- カレンダー本体 ---------- */

/* 読み込み中の覆いを重ねるための箱。中身が空でも高さを保つ */
.rsv-cal__viewport {
	position: relative;
	min-height: 20rem;
}

.rsv-cal__grid-wrap {
	position: relative;
	/* セルの sticky（z-index 1〜3）をこの中に閉じ込め、覆いが必ず上に来るようにする */
	z-index: 0;
	overflow: auto;
	max-height: 60vh;
	border: 1px solid var(--rsv-cal-border);
	background-color: #fff;
	-webkit-overflow-scrolling: touch;
}

.rsv-cal__loading {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.2rem;
	background-color: rgba(255, 255, 255, 0.8);
}

.rsv-cal__loading[hidden] {
	display: none;
}

.rsv-cal__loading-mark {
	width: 3.2rem;
	height: 3.2rem;
	border: 3px solid var(--rsv-cal-border);
	border-top-color: var(--rsv-cal-mark);
	border-radius: 50%;
	animation: rsv-cal-spin 0.8s linear infinite;
}

.rsv-cal__loading-text {
	font-size: 1.3rem;
	font-weight: bold;
}

@keyframes rsv-cal-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.rsv-cal__loading-mark {
		animation: none;
	}
}

.rsv-cal__grid-wrap[hidden] {
	display: none;
}

.rsv-cal__grid {
	display: grid;
	grid-template-columns: 4.6rem repeat(var(--rsv-cal-days, 7), minmax(5.4rem, 1fr));
	font-size: 1.2rem;
}

.rsv-cal__cell {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 3.4rem;
	border-right: 1px solid var(--rsv-cal-border);
	border-bottom: 1px solid var(--rsv-cal-border);
	background-color: #fff;
	line-height: 1.2;
}

/* 見出し行は上、時間軸は左に貼り付ける */
.rsv-cal__cell--day,
.rsv-cal__cell--corner {
	position: sticky;
	top: 0;
	z-index: 2;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.6rem 0.2rem;
	background-color: #fff;
}

.rsv-cal__cell--corner {
	left: 0;
	z-index: 3;
}

.rsv-cal__cell--time {
	position: sticky;
	left: 0;
	z-index: 1;
	padding: 0 0.6rem;
	font-size: 1.3rem;
	font-weight: 700;
	white-space: nowrap;
	background-color: #fff;
}

.rsv-cal__cell--sat {
	background-color: var(--rsv-cal-sat-bg);
}

.rsv-cal__cell--sun {
	background-color: var(--rsv-cal-sun-bg);
}

.rsv-cal__cell--day.rsv-cal__cell--sat {
	color: var(--rsv-cal-sat-text);
}

.rsv-cal__cell--day.rsv-cal__cell--sun {
	color: var(--rsv-cal-sun-text);
}

.rsv-cal__day-date {
	font-size: 1.4rem;
	font-weight: 700;
}

.rsv-cal__day-dow {
	font-size: 1.1rem;
	font-weight: 500;
}

.rsv-cal__cell--slot {
	border-left: none;
	font-size: 1.4rem;
}

/* 空きあり。〇（U+3007）は ○ より字面が大きく、小さいセルでも見分けやすい */
button.rsv-cal__cell--open {
	border-top: none;
	padding: 0;
	color: var(--rsv-cal-mark);
	font-size: 1.8rem;
	font-weight: 400;
	cursor: pointer;
}

button.rsv-cal__cell--open:hover {
	opacity: 0.6;
}

/*
 * × は U+00D7 で、同じ font-size でも 〇（U+3007）より字面が小さく出る。
 * 並べたときの見た目をそろえるため、こちらだけ一段大きくする。
 */
.rsv-cal__cell--full,
.rsv-cal__cell--past {
	color: var(--rsv-cal-none);
	font-size: 2.2rem;
}

/*
 * 選択した枠。button.rsv-cal__cell--open の色指定より詳細度を上げておかないと、
 * 赤地に赤の〇になって見えなくなる（ホバー時だけ白くなる状態になってしまう）。
 */
.rsv-cal__cell--selected,
button.rsv-cal__cell--open.rsv-cal__cell--selected,
button.rsv-cal__cell--open.rsv-cal__cell--selected:hover {
	background-color: var(--rsv-cal-mark);
	color: #fff;
	opacity: 1;
}

.rsv-cal__note {
	font-size: 1.1rem;
	line-height: 1.7;
	margin-top: 1.2rem;
}

/* ---------- 選択情報 ---------- */

.rsv-selected {
	margin-top: 2.4rem;
}

.rsv-selected__heading {
	font-size: 1.4rem;
	font-weight: bold;
	margin-bottom: 0.8rem;
}

.rsv-selected__value {
	border: 1px solid #bfe2f2;
	border-radius: 0.4rem;
	background-color: #eaf6fc;
	padding: 1.2rem 1.6rem;
	font-size: 1.5rem;
	font-weight: bold;
	text-align: center;
}

/* ---------- メール認証 ---------- */

.rsv-mailauth {
	margin-top: 2.4rem;
	border: 1px solid var(--rsv-border);
	border-radius: 0.6rem;
	padding: 1.6rem;
	/* JS が動かないときは ?sent=1#rsv-mailauth に着地する。固定ヘッダーの下に隠れないようにする */
	scroll-margin-top: 12rem;
}

/* 認証メールを送ったあとの案内（仕様書 No.26） */
.rsv-mailauth__sent {
	margin-bottom: 1.6rem;
	padding: 1.2rem 1.4rem;
	border: 1px solid var(--rsv-magenta);
	border-radius: 0.6rem;
	background-color: #fff5f8;
}

.rsv-mailauth__sent-heading {
	font-family: var(--rsv-font-round);
	font-size: 1.6rem;
	font-weight: bold;
	color: var(--rsv-magenta);
	margin-bottom: 0.8rem;
}

.rsv-mailauth__sent-text {
	font-size: 1.4rem;
	line-height: 1.7;
}

.rsv-mailauth__heading {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 1.2rem;
}

.rsv-mailauth__label {
	display: block;
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 0.4rem;
}

.rsv-mailauth__input {
	width: 100%;
	padding: 1rem 1.2rem;
	border: 1px solid var(--rsv-border);
	border-radius: 0.4rem;
	font-size: 1.5rem;
}

.rsv-mailauth__note {
	font-size: 1.1rem;
	line-height: 1.6;
	margin-top: 0.8rem;
}

/* 送れなかったときの文言。欄のすぐ下に出す */
.rsv-mailauth__error {
	font-size: 1.3rem;
	font-weight: bold;
	color: #c0392b;
	line-height: 1.6;
	margin-top: 0.8rem;
}

.rsv-mailauth__sent[hidden],
.rsv-mailauth__error[hidden] {
	display: none;
}

.rsv-btn:disabled {
	opacity: 0.4;
	cursor: default;
	box-shadow: 0.4rem 0.5rem 0 #000;
	transform: none;
}

/* もどるボタンがリンクのときも同じ見た目にする */
a.rsv-btn {
	text-decoration: none;
	margin-top: 0.4rem;
}

/* ---------- モーダル ---------- */

.rsv-modal {
	position: fixed;
	inset: 0;
	z-index: 2147482000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.6rem;
}

.rsv-modal[hidden] {
	display: none;
}

.rsv-modal__backdrop {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.55);
}

.rsv-modal__panel {
	position: relative;
	width: 100%;
	max-width: 44rem;
	max-height: 86vh;
	overflow-y: auto;
	background-color: #fff;
	border-radius: 0.8rem;
	padding: 2.4rem 1.6rem;
	text-align: center;
}

.rsv-modal__title {
	font-family: var(--rsv-font-round);
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1.4;
}

.rsv-modal__text {
	font-size: 1.3rem;
	line-height: 1.7;
	margin-top: 1.2rem;
}

.rsv-modal__input {
	width: 100%;
	margin-top: 1.6rem;
	padding: 1.2rem;
	border: 1px solid var(--rsv-border);
	border-radius: 0.4rem;
	font-size: 1.6rem;
	text-align: center;
}

.rsv-modal__note {
	font-size: 1.1rem;
	margin-top: 0.8rem;
	text-align: left;
}

.rsv-modal__error {
	font-size: 1.3rem;
	font-weight: bold;
	color: #c0392b;
	margin-top: 0.8rem;
}

.rsv-modal__error[hidden] {
	display: none;
}

.rsv-modal__submit {
	display: block;
	width: 100%;
	margin-top: 1.6rem;
	padding: 1.3rem;
	border: none;
	border-radius: 0.4rem;
	background-color: #1a1a1a;
	color: #fff;
	font-size: 1.5rem;
	font-weight: bold;
	cursor: pointer;
}

.rsv-modal__submit:hover {
	opacity: 0.8;
}

.rsv-modal__cancel {
	margin-top: 1.6rem;
	border: 1px solid var(--rsv-border);
	border-radius: 0.4rem;
	background-color: #fff;
	padding: 0.8rem 2.4rem;
	font-size: 1.3rem;
	cursor: pointer;
}

.rsv-modal__link {
	display: inline-block;
	margin-top: 1.6rem;
}

/* ---------- 郵便番号モーダル：地名から検索 ---------- */

.rsv-area__title {
	margin-top: 3.2rem;
}

.rsv-area__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	margin-top: 1.6rem;
	border-top: 1px solid var(--rsv-border);
	border-left: 1px solid var(--rsv-border);
}

.rsv-area__list:empty {
	display: none;
}

.rsv-area__list li {
	border-right: 1px solid var(--rsv-border);
	border-bottom: 1px solid var(--rsv-border);
}

.rsv-area__item {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	min-height: 4.8rem;
	padding: 0.8rem 3.4rem 0.8rem 1rem;
	border: none;
	background-color: #fff;
	color: var(--rsv-text);
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
}

.rsv-area__item:hover {
	opacity: 0.7;
}

/* 右端の「＞」 */
.rsv-area__item::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1.4rem;
	width: 0.8rem;
	height: 0.8rem;
	border-top: 2px solid var(--rsv-text);
	border-right: 2px solid var(--rsv-text);
	transform: translateY(-50%) rotate(45deg);
}

.rsv-area {
	text-align: left;
}

.rsv-area__back {
	font-size: 1.3rem;
}

.rsv-area__heading {
	font-family: var(--rsv-font-round);
	margin-top: 1.6rem;
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1.3;
	text-align: center;
}

.rsv-area__tabs {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.6rem;
	margin-top: 1.6rem;
}

.rsv-area__tab {
	width: 100%;
	height: 3.6rem;
	border: 1px solid var(--rsv-border);
	background-color: #fff;
	color: var(--rsv-text);
	font-size: 1.3rem;
	font-weight: 500;
	cursor: pointer;
}

.rsv-area__tab[aria-pressed="true"] {
	background-color: var(--rsv-focus-bg);
	border-color: var(--rsv-text);
}

.rsv-area__tab:disabled {
	color: var(--rsv-gray);
	cursor: default;
}

.rsv-area__row-name {
	margin-top: 2rem;
	font-size: 1.3rem;
	font-weight: 500;
}

.rsv-area__row-name:empty {
	display: none;
}

.rsv-area__row-name + .rsv-area__list {
	margin-top: 0.8rem;
}

.rsv-area__loading {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 24rem;
}

.rsv-area__loading[hidden] {
	display: none;
}

/* ---------- ミニカレンダー ---------- */

.rsv-mini__bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	margin-top: 1.6rem;
}

.rsv-mini__nav {
	width: 3.2rem;
	height: 3.2rem;
	border: 1px solid var(--rsv-border);
	border-radius: 50%;
	background-color: #fff;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}

.rsv-mini__nav:disabled {
	opacity: 0.4;
	cursor: default;
}

.rsv-mini__select {
	padding: 0.6rem 0.8rem;
	border: 1px solid var(--rsv-border);
	border-radius: 0.4rem;
	font-size: 1.4rem;
}

.rsv-mini__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 0.2rem;
	margin-top: 1.6rem;
}

.rsv-mini__dow {
	font-size: 1.1rem;
	font-weight: bold;
	padding: 0.4rem 0;
}

.rsv-mini__cell {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 3.4rem;
	border: none;
	background: none;
	font-size: 1.3rem;
}

.rsv-mini__cell--day {
	border: 1px solid var(--rsv-border);
	border-radius: 0.4rem;
	background-color: #fff;
	cursor: pointer;
}

.rsv-mini__cell--day:hover {
	background-color: #fff0f4;
}

.rsv-mini__cell--disabled {
	color: #c4c4c4;
}

/* ---------- PC ---------- */

@media only screen and (min-width: 769px) {
	.rsv-cal__address {
		font-size: 1.5rem;
	}

	.rsv-cal__grid {
		grid-template-columns: 6rem repeat(var(--rsv-cal-days, 7), minmax(7rem, 1fr));
		font-size: 1.4rem;
	}

	.rsv-cal__cell {
		min-height: 3.6rem;
	}

	.rsv-cal__nav {
		font-size: 1.4rem;
	}

	.rsv-cal__month {
		font-size: 1.4rem;
	}

	.rsv-cal__cell--time {
		font-size: 1.4rem;
	}

	button.rsv-cal__cell--open {
		font-size: 2rem;
	}

	.rsv-cal__cell--full,
	.rsv-cal__cell--past {
		font-size: 2.4rem;
	}

	.rsv-cal__day-date {
		font-size: 1.6rem;
	}

	.rsv-selected__value {
		font-size: 1.8rem;
	}

	.rsv-modal__panel {
		padding: 3.2rem 2.4rem;
	}
}

/* ==========================================================================
   Step3 個人情報入力 / Step4 確認画面
   お問い合わせフォーム（contact.css の .r_contact_form）の見た目をそのまま使い、
   予約ファネル固有の分だけここで足す。contact.css は header.php が全ページで
   読んでいるので、同じクラス名を書けば同じ見た目になる。
   ========================================================================== */

.rsv .page-contact-form {
	text-align: left;
}

/*
 * .page_contact .common-inner が中央寄せなので、本文として読ませるものは左へ戻す。
 * 中央寄せのままにするのは見出し・リード文・ボタンだけ。
 */
.rsv .rsv-caution,
.rsv .rsv__error {
	text-align: left;
}

/* 姓・名、セイ・メイの小見出し */
.rsv .rsv-sub-label {
	display: block;
	font-size: 1.3rem;
	color: #555;
	margin-bottom: 0.4rem;
}

/* 入力欄。フォーカス時に背景を水色へ（仕様書の指定） */
.rsv .r_contact_form-table-tr td input:focus,
.rsv .r_contact_form-table-tr td textarea:focus {
	outline: none;
	border-color: var(--rsv-blue);
	background-color: var(--rsv-focus-bg);
}

/* 日時選択で確定した郵便番号・住所。編集できないことを見た目でも示す。 */
.rsv .r_contact_form-table-tr td input[readonly] {
	background-color: #f5f5f5;
	color: #555;
	cursor: default;
}

.rsv .r_contact_form-table-tr td input.rsv-form__input--invalid,
.rsv .r_contact_form-table-tr td textarea.rsv-form__input--invalid {
	border-color: #c0392b;
	background-color: #fdecea;
}

.rsv .footnote {
	display: block;
	font-size: 1.3rem;
	line-height: 1.6;
	margin-top: 0.6rem;
	color: #555;
}

.rsv .rsv-form__error {
	font-size: 1.3rem;
	font-weight: bold;
	line-height: 1.6;
	margin-top: 0.6rem;
	color: #c0392b;
}

.rsv .rsv-form__error[hidden] {
	display: none;
}

/* 作業をお断りする回答のときに出す警告 */
.rsv .rsv-form__warn {
	font-size: 1.3rem;
	font-weight: bold;
	line-height: 1.6;
	margin-top: 0.8rem;
	padding: 1rem 1.2rem;
	border: 1px solid #f5c6c2;
	background-color: #fdecea;
	color: #c0392b;
}

.rsv .rsv-form__warn[hidden] {
	display: none;
}

/* ---------- 条件分岐の設問 ---------- */

.rsv .rsv-radio-group {
	display: flex;
	flex-wrap: wrap;
	gap: 1.2rem 2.4rem;
}

.rsv .rsv-radio-field label {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	cursor: pointer;
}

.rsv .r_contact_form-table-tr td .rsv-radio-field input[type="radio"] {
	width: auto;
	margin: 0;
	padding: 0;
	accent-color: var(--rsv-pink);
}

.rsv .rsv-radio-field .mwform-radio-field-text {
	font-size: 1.4rem;
	line-height: 1.3;
}

/* ---------- 同意チェック ---------- */

.rsv .check_text {
	margin-top: 1.6rem;
	text-align: center;
}

.rsv .check_text span.mwform-checkbox-field.horizontal-item label {
	gap: 0.6rem;
}

.rsv .r_contact_form-table-tr td .check_text input[type="checkbox"] {
	width: 1.8rem;
	height: 1.8rem;
	margin: 0;
	padding: 0;
	accent-color: var(--rsv-pink);
}

/* ---------- 送信ボタン ---------- */

/*
 * 表組みはお問い合わせフォームのままだが、ボタンだけはカンプ（node-id=5378-2）に合わせる。
 * 主ボタンが上、戻るボタンが下の縦並びで、Step1・Step2 の .rsv-btn と同じ見た目にする。
 */
/*
 * contact.css は SP 幅で .r_send を display:block に戻すので、ここで flex を指定し直す。
 * 親の .common-inner が overflow: hidden なので、最後のボタンの影（下 0.5rem）が切れない分の余白を下に取る。
 */
.rsv .r_send {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.6rem;
	padding-bottom: 1rem;
}

.rsv .r_send button[type="submit"],
.rsv .r_send button[type="button"].backButton {
	order: 1;
	width: auto;
	min-width: 26rem;
	max-width: 100%;
	margin: 0;
	padding: 1.6rem 2.4rem;
	border: 0.4rem solid #000;
	border-radius: 2.8rem;
	box-shadow: 0.4rem 0.5rem 0 #000;
	font-family: var(--rsv-font-round);
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: normal;
}

.rsv .r_send button[type="submit"] {
	background-color: var(--rsv-magenta);
	color: #fff;
}

.rsv .r_send button[type="submit"]:hover {
	background-color: var(--rsv-magenta);
}

/* 戻るボタンはカンプどおり白地。順序は主ボタンの下にする。 */
.rsv .r_send button[type="button"].backButton {
	order: 2;
	background-color: #fff;
	color: var(--rsv-text);
}

.rsv .r_send button[type="button"].backButton:hover {
	background-color: #fff;
	color: var(--rsv-text);
}

.rsv .r_send button[type="submit"]:active,
.rsv .r_send button[type="button"].backButton:active {
	transform: translate(2px, 2px);
	box-shadow: 0.2rem 0.3rem 0 #000;
}

.rsv .r_send button[type="submit"]:disabled,
.rsv .r_send button[type="submit"]:disabled:hover {
	background-color: #adacaa;
	cursor: default;
	transform: none;
	box-shadow: 0.4rem 0.5rem 0 #000;
}

/* ==========================================================================
   Step4 確認画面 / Step5 完了
   ========================================================================== */

/*
 * ご注文内容・ご予約日時・お客様情報の箱。
 * 入力フォームと並ぶので、お問い合わせフォームの表（.r_contact_form-table）と
 * 同じ枠線・同じ見出し帯にそろえる。
 */
.rsv-order,
.rsv-schedule,
.rsv-confirm {
	margin: 0 0 4rem;
	padding: 1.6rem;
	border: 1px solid #c3c4c4;
	background-color: #fff;
	text-align: left;
}

.rsv-order__heading,
.rsv-schedule__heading,
.rsv-confirm__heading,
.rsv-confirm__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem;
	margin: -1.6rem -1.6rem 1.6rem;
	padding: 1.6rem;
	border-bottom: 1px solid #c3c4c4;
	background: #f5f5f5;
	font-size: 1.6rem;
	font-weight: bold;
}

/* 見出しの右に「修正する」が並ぶときは、帯は親側が持つ */
.rsv-confirm__head .rsv-order__heading,
.rsv-confirm__head .rsv-confirm__heading {
	display: block;
	margin: 0;
	padding: 0;
	border-bottom: 0;
	background: none;
}

.rsv-confirm__row {
	padding: 1.2rem 0;
	border-top: 1px dashed #d9d9d9;
}

.rsv-confirm__row:first-of-type {
	border-top: 0;
	padding-top: 0;
}

/* 姓・名、セイ・メイ。SPは1列に積み、PCで2列にする */
.rsv-confirm__cell + .rsv-confirm__cell {
	margin-top: 1.2rem;
}

.rsv-confirm__label {
	font-size: 1.3rem;
	font-weight: bold;
	color: #666;
}

.rsv-confirm__value {
	font-size: 1.5rem;
	line-height: 1.7;
	margin-top: 0.4rem;
	word-break: break-word;
}

/* ---------- 完了 ---------- */

.rsv-complete__ticket {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.8rem;
	/* 下の「ご予約日時」との間は、ブロック同士と同じ空きにする */
	margin: 2.4rem 0 4rem;
	padding: 1.6rem;
	border: 2px solid var(--rsv-pink);
	border-radius: 0.6rem;
	background-color: #fff;
}

.rsv-complete__ticket-label {
	font-size: 1.3rem;
	font-weight: bold;
	color: #666;
}

.rsv-complete__ticket-value {
	font-family: var(--rsv-font-round);
	font-size: 2.4rem;
	font-weight: bold;
	color: var(--rsv-pink);
	letter-spacing: 0.04em;
}

/* ---------- PC ---------- */

@media only screen and (min-width: 769px) {
	.rsv-order,
	.rsv-schedule,
	.rsv-confirm {
		padding: 2.4rem;
	}

	.rsv-order__heading,
	.rsv-schedule__heading,
	.rsv-confirm__heading,
	.rsv-confirm__head {
		margin: -2.4rem -2.4rem 2.4rem;
	}

	.rsv-confirm__row--split {
		display: flex;
		gap: 2.4rem;
	}

	.rsv-confirm__row--split .rsv-confirm__cell {
		flex: 1 1 0;
		min-width: 0;
	}

	.rsv-confirm__cell + .rsv-confirm__cell {
		margin-top: 0;
	}

	.rsv-confirm__label {
		font-size: 1.4rem;
	}

	.rsv-confirm__value {
		font-size: 1.6rem;
	}

	.rsv-complete__ticket-value {
		font-size: 3.2rem;
	}
}


/* ---------- ご注文内容の中身 ---------- */

.rsv-order__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rsv-order__item {
	padding: 1.2rem;
	border: 1px solid #e6e6e6;
	background-color: #fff;
}

.rsv-order__item + .rsv-order__item {
	margin-top: 0.8rem;
}

.rsv-order__name {
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 1.4;
}

.rsv-order__detail {
	margin-top: 0.8rem;
}

.rsv-order__detail-row {
	display: flex;
	justify-content: space-between;
	gap: 1.2rem;
	font-size: 1.3rem;
	line-height: 1.8;
}

.rsv-order__detail-row dt {
	color: #666;
}

.rsv-order__total {
	margin-top: 1.6rem;
	padding-top: 1.2rem;
	border-top: 1px dashed #d9d9d9;
}

.rsv-order__total-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1.2rem;
	font-size: 1.4rem;
	line-height: 1.8;
}

.rsv-order__total-row--discount dd {
	color: var(--rsv-pink);
}

.rsv-order__total-row--final {
	margin-top: 0.8rem;
	padding-top: 0.8rem;
	border-top: 1px solid #c3c4c4;
	font-weight: bold;
}

.rsv-order__total-row--final dd {
	font-size: 2.4rem;
	font-weight: bold;
	color: var(--rsv-cal-mark);
}

/* ---------- ご予約日時の中身 ---------- */

.rsv-schedule__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1.2rem;
	font-size: 1.4rem;
	line-height: 1.8;
}

.rsv-schedule__value {
	font-weight: bold;
}

.rsv-schedule__change {
	margin-top: 0.8rem;
	text-align: right;
}

.rsv-schedule__note {
	font-size: 1.2rem;
	line-height: 1.7;
	margin-top: 1.2rem;
	color: #666;
}

/* ---------- ポップアップの閉じるボタン ---------- */

.rsv-modal__close {
	position: absolute;
	top: 0.8rem;
	right: 0.8rem;
	width: 3.2rem;
	height: 3.2rem;
	border: 0;
	background: none;
	font-size: 1.8rem;
	line-height: 1;
	color: #666;
	cursor: pointer;
}

/* ---------- 完了画面のボタン ---------- */

.rsv--complete .rsv-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.6rem;
	margin-top: 3.2rem;
}

/* ---------- PC ---------- */

@media only screen and (min-width: 769px) {
	.rsv-order__detail-row {
		font-size: 1.4rem;
	}

	.rsv-order__total-row {
		font-size: 1.5rem;
	}

	.rsv-order__total-row--final dd {
		font-size: 3.2rem;
	}

	.rsv-schedule__row {
		font-size: 1.5rem;
	}
}
