/*
 * WATCHNIAN 来店予約ページ(/reservation/)専用スタイル
 *
 * 見た目は本番の Gravity Forms 製「来店予約フォーム」(テーマ style02.css の .p-reservation ブロック)に合わせる。
 * ページ枠・見出し・注意文・フィールド行・ラベル・必須マーク・入力欄の枠線・主ボタン・利用規約ボタン・
 * 同意チェックは、テーマ(style.css / style02.css)が .p-reservation / .gform_wrapper / .gfield* / .c-eyebrow-heading /
 * .p-form-complete__* に当てているスタイルをそのまま利用するため、本ファイルでは定義しない。
 *
 * 本ファイルが担うのは次の 3 つ:
 *   1. GF 本体の CSS を読み込まないため欠ける部分の補完(入力欄の高さ・余白、ボタンのフォント、無効状態など)
 *   2. 本番フォームに相当物が無い UI(ステップ見出し・カレンダー・時間帯テーブル・確認/完了の内容一覧・エラー表示)
 *   3. 利用規約モーダル(<dialog>)
 *
 * テーマは html { font-size: 10px }(PC では 0.685vw で可変)なので、テーマに合わせて rem で指定する。
 * 入力欄の高さなど GF が px で固定していた値だけ px にしている。
 * テーマ側のセレクタ(.p-reservation .gform_wrapper …)より優先させるため、上書きは .wnr-reservation を先頭に付ける。
 *
 * 配色(テーマ準拠): 金 #c19500 / ラベル縦線 #c97619 / 文字 #1b1b1b / 補足 #757575 / 罫線 #d9d9dd /
 *                  注意 #c0392b / 背景ベージュ #ebe8e1 / 薄ベージュ #f5f3ee
 */

/* ===== 共通 ===== */
.wnr-reservation *,
.wnr-reservation *::before,
.wnr-reservation *::after {
	box-sizing: border-box;
}
.wnr-reservation [hidden] {
	display: none !important;
}

/* 複数セクション(入力 / 確認 / 完了)の間隔。表示されるのは常に 1 つなので見た目には影響しない */
.wnr-reservation .p-common__content > .p-reservation + .p-reservation {
	margin-top: 3rem;
}

/*
 * URLハッシュ直リンクなどブラウザネイティブのスクロールが起きたときの
 * ヘッダー被り防止用の保険。JS経由の遷移は reservation.js の
 * scrollToSection() が可視ヘッダー高さを実測して window.scrollTo するため影響しない。
 */
#reserve-section-store,
#reserve-section-date,
#reserve-section-time,
#reserve-section-form {
	scroll-margin-top: 71px;
}

/* 案内文のうち、途中で折り返したくない文節のまとまり(幅が足りない時だけ、まとまりの切れ目で改行される) */
.wnr-reservation .wnr-phrase {
	display: inline-block;
}

/* 見出し直下の案内文(本番の注意文 2 行に続けて旧HPのリード文を添える) */
.wnr-reservation .wnr-notes__lead {
	font-weight: 400;
	line-height: 1.8;
}
@media (min-width: 769px) {
	.wnr-reservation .wnr-notes__lead {
		margin-top: 0.6rem;
	}
}

/* ===== ステップ(店舗 / 日付 / 時間帯 / 入力)の区切りと見出し ===== */
.wnr-reservation .wnr-step {
	width: 100%;
}
.wnr-reservation .wnr-step + .wnr-step {
	margin-top: 4.8rem;
}
.wnr-reservation .wnr-step__head {
	margin-bottom: 1.6rem;
}
@media (min-width: 769px) {
	.wnr-reservation .wnr-step + .wnr-step {
		margin-top: 6rem;
	}
	.wnr-reservation .wnr-step__head {
		margin-bottom: 2rem;
	}
}
.wnr-reservation .wnr-step__head .c-eyebrow-heading__eyebrow {
	/* テーマ既定の金色は最下部の主ボタンと同色で紛らわしいため、ステップ番号は薄めのグレーにする */
	color: #a3a3a3;
	font-size: 1.2rem;
}
@media (min-width: 769px) {
	.wnr-reservation .wnr-step__head .c-eyebrow-heading__eyebrow {
		font-size: 1.4rem;
	}
}

/* ===== GF の CSS を読み込まないことで欠ける部分の補完 ===== */
/* お名前(fieldset)の見出し legend は、ブラウザ既定では fieldset の上辺(=区切り線の位置)に描かれ、
   padding の内側に入らない。スマホでは区切り線が「お名前」に重なるため、float で通常の要素として配置させる
   (flex コンテナ内では float 自体は無視され、他の項目のラベルと同じ位置に並ぶ。PC の配置は変わらない) */
.wnr-reservation .p-reservation .gform_wrapper fieldset.gfield > legend.gfield_label {
	float: left;
}
.wnr-reservation .p-reservation .gform_wrapper .gform_body {
	width: 100%;
}
/* ステップ1 の最後の行はフォーム末尾と同様に下罫線で閉じる */
.wnr-reservation .p-reservation .gform_wrapper .gfield.wnr-gfield--last {
	border-bottom: 0.1rem solid #d9d9dd;
}
.wnr-reservation .p-reservation .gform_wrapper fieldset.gfield {
	min-width: 0;
	margin: 0;
	padding-left: 0;
	padding-right: 0;
}
.wnr-reservation .p-reservation .gform_wrapper .gfield_label {
	line-height: 1.4;
}
/* 入力欄の高さ・余白(GF Orbital テーマ相当: 高さ 38px) */
.wnr-reservation .p-reservation .gform_wrapper input[type="text"],
.wnr-reservation .p-reservation .gform_wrapper input[type="tel"],
.wnr-reservation .p-reservation .gform_wrapper input[type="email"],
.wnr-reservation .p-reservation .gform_wrapper select {
	display: block;
	width: 100%;
	height: 38px;
	padding: 0 12px;
	margin: 0;
	border: 0.1rem solid #d9d9dd;
	border-radius: 0.6rem;
	background-color: #fff;
	color: #1b1b1b;
	font-family: inherit;
	font-size: 1.4rem;
	line-height: normal;
	letter-spacing: 0.14rem;
	-webkit-appearance: none;
	appearance: none;
}
.wnr-reservation .p-reservation .gform_wrapper select {
	padding-right: 3.5rem;
	cursor: pointer;
}
.wnr-reservation .p-reservation .gform_wrapper textarea {
	display: block;
	width: 100%;
	min-height: 126px;
	padding: 12px;
	margin: 0;
	background-color: #fff;
	font-family: inherit;
	line-height: 1.6;
	-webkit-appearance: none;
	appearance: none;
}
.wnr-reservation .p-reservation .gform_wrapper input[type="tel"]::placeholder {
	color: #757575;
}
.wnr-reservation .p-reservation .gform_wrapper input[type="tel"]:focus {
	outline: none;
	border-color: #c19500;
}
/* 入力エラー */
.wnr-reservation .p-reservation .gform_wrapper .js-required.is-error,
.wnr-reservation .p-reservation .gform_wrapper [data-rules].is-error {
	border-color: #c0392b;
	background-color: #fdf3f2;
}
.wnr-reservation .p-reservation .gform_wrapper input[type="checkbox"].is-error {
	border-color: #c0392b;
}
/* 補足文内のスクロール導線(button)をリンク風に揃える */
.wnr-reservation button.reserveForm_termLink {
	display: inline;
	padding: 0;
	border: none;
	background: none;
	font: inherit;
	color: #c19500;
	text-decoration: underline;
	cursor: pointer;
}
.wnr-reservation button.reserveForm_termLink:hover {
	opacity: 0.7;
}

/* 利用規約への同意(既定でチェック済み)。読まなければと身構えさせないよう、小さな1行に留める */
.wnr-reservation .p-reservation .gform_wrapper .wnr-terms {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
}
.wnr-reservation .p-reservation .gform_wrapper .wnr-terms input[type="checkbox"] {
	width: 1.4rem;
	height: 1.4rem;
	margin: 0;
	cursor: pointer;
}
.wnr-reservation .p-reservation .gform_wrapper .wnr-terms__label {
	margin: 0;
	color: #888;
	font-size: 1.2rem;
	font-weight: normal;
	line-height: 1.6;
	cursor: pointer;
}
.wnr-reservation .p-reservation .gform_wrapper .wnr-terms__label a {
	color: inherit;
	text-decoration: underline;
}
.wnr-reservation .p-reservation .gform_wrapper .wnr-terms .reserveForm_fieldError {
	width: 100%;
	text-align: center;
}

/* 「上記内容をご確認の上…」(本番の gfield_html p 相当) */
.wnr-reservation .wnr-agreeTxt {
	width: 100%;
	margin: 2rem 0 0;
	color: #000;
	font-size: 1.4rem;
	line-height: 1.8;
	letter-spacing: 0.16rem;
	text-align: center;
}

/* ボタン群(見た目はテーマの .gform_page_footer .gform_button / .gform_previous_button) */
.wnr-reservation .p-reservation .gform_page_footer {
	flex-wrap: wrap;
}
.wnr-reservation .p-reservation .gform_page_footer .gform_button,
.wnr-reservation .p-reservation .gform_page_footer .gform_previous_button {
	padding: 0 5.2rem !important;
	font-family: inherit !important;
	letter-spacing: 0.1rem !important;
	transition: opacity 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}
.wnr-reservation .p-reservation .gform_page_footer .gform_button:disabled,
.wnr-reservation .p-reservation .gform_page_footer .gform_previous_button:disabled {
	opacity: 0.5;
	cursor: not-allowed !important;
}
/* 戻るボタンは主ボタンと区別するため白地・金文字(本番の利用規約ボタンと同じトーン) */
.wnr-reservation .p-reservation .gform_page_footer .gform_previous_button {
	border: 0.1rem solid #d9d9dd !important;
	background: #fff !important;
	color: #c19500 !important;
}
.wnr-reservation .p-reservation .gform_page_footer .gform_previous_button::after {
	background-image: url("data:image/svg+xml,%3Csvg width='11' height='9' viewBox='0 0 11 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 4.5H1M1 4.5L4.5 1M1 4.5L4.5 8' stroke='%23c19500' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}
@media (max-width: 768px) {
	/* SP は縦積み。主ボタンを上に */
	.wnr-reservation .p-reservation .gform_page_footer {
		flex-direction: column-reverse;
		gap: 1.2rem;
	}
	.wnr-reservation .p-reservation .gform_page_footer .gform_button,
	.wnr-reservation .p-reservation .gform_page_footer .gform_previous_button {
		max-width: none !important;
	}
}

/* ===== エラー表示(通信エラー・入力エラー) ===== */
.wnr-reservation .reserveForm_error,
.wnr-reservation .reserveSlot_error {
	width: 100%;
	margin: 0 0 1.6rem;
	padding: 1.2rem 1.6rem;
	border: 0.1rem solid #c0392b;
	border-radius: 0.6rem;
	background: #fdf3f2;
	color: #c0392b;
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.6;
}
.wnr-reservation .reserveForm_fieldError {
	margin: 0.6rem 0 0;
	color: #c0392b;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.5;
}

/* ===== カレンダー ===== */
.wnr-reservation .reserveCalendar_box {
	width: 100%;
	border: 0.1rem solid #d9d9dd;
	border-radius: 0.8rem;
	overflow: hidden;
	background: #fff;
}
.wnr-reservation .reserveCalendar_head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.2rem 1.6rem;
	background: #9e9a95; /* 見出しの帯は最下部の主ボタン(金)と区別するため薄めのグレー */
	color: #fff;
}
.wnr-reservation .reserveCalendar_nav {
	color: #fff;
	font-size: 1.3rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}
.wnr-reservation button.reserveCalendar_nav {
	padding: 0.4rem 0.8rem;
	border: none;
	border-radius: 0.4rem;
	background: none;
	color: #fff;
	font: inherit;
	font-size: 1.3rem;
	font-weight: 700;
	cursor: pointer;
}
.wnr-reservation button.reserveCalendar_nav:hover {
	background: rgba(255, 255, 255, 0.18);
}
.wnr-reservation .reserveCalendar_nav.is-disabled {
	opacity: 0.45;
	pointer-events: none;
}
.wnr-reservation .reserveCalendar_title {
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: 0.1rem;
}

.wnr-reservation .reserveCalendar_table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}
.wnr-reservation .reserveCalendar_table th,
.wnr-reservation .reserveCalendar_table td {
	border: 0.1rem solid #ece9e3;
	text-align: center;
}
.wnr-reservation .reserveCalendar_table td[colspan] {
	padding: 2.4rem 1.2rem;
	color: #757575;
	font-size: 1.4rem;
}
.wnr-reservation .reserveCalendar_weekday {
	padding: 1rem 0;
	background: #f5f3ee;
	color: #1b1b1b;
	font-size: 1.3rem;
	font-weight: 700;
}
.wnr-reservation .reserveCalendar_weekday.is-sun { color: #c0392b; }
.wnr-reservation .reserveCalendar_weekday.is-sat { color: #31546d; }

.wnr-reservation .reserveCalendar_day {
	height: 64px;
	padding: 0;
	vertical-align: middle;
}
.wnr-reservation .reserveCalendar_day.is-today {
	background: #fbf8ee;
}
.wnr-reservation .reserveCalendar_dayNum {
	display: block;
	font-size: 1.4rem;
}
.wnr-reservation .reserveCalendar_button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 62px;
	margin: 0;
	padding: 0;
	border: 0.2rem solid transparent;
	border-radius: 0.6rem;
	background: none;
	color: #1b1b1b;
	cursor: pointer;
	font: inherit;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.2;
	opacity: 1 !important;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.wnr-reservation button.reserveCalendar_button:hover {
	background: #faf5e3;
}
.wnr-reservation .reserveCalendar_button.is-selected {
	border-color: #c19500;
	background: #faf5e3;
}
.wnr-reservation .reserveCalendar_button.is-disabled {
	background: #f2f1ee;
	color: #b5b5b5;
	cursor: default;
	pointer-events: none;
}
.wnr-reservation .reserveCalendar_button.is-busy,
.wnr-reservation .reserveCalendar_nav.is-busy {
	opacity: 0.5 !important;
	pointer-events: none;
}
.wnr-reservation .reserveCalendar_dayStatus {
	font-size: 1.8rem;
}
.wnr-reservation .reserveCalendar_dayStatus.is-good { color: #c19500; }
.wnr-reservation .reserveCalendar_dayStatus.is-ok { color: #4a7a4d; }
.wnr-reservation .reserveCalendar_dayStatus.is-few { color: #c97619; }
.wnr-reservation .reserveCalendar_dayStatus.is-full,
.wnr-reservation .reserveCalendar_dayStatus.is-closed {
	color: #b5b5b5;
}

.wnr-reservation .reserveCalendar_legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem 1.6rem;
	justify-content: center;
	padding: 1.2rem;
	background: #f5f3ee;
	color: #757575;
	font-size: 1.2rem;
}
.wnr-reservation .reserveCalendar_legend .is-good { color: #c19500; }
.wnr-reservation .reserveCalendar_legend .is-ok { color: #4a7a4d; }
.wnr-reservation .reserveCalendar_legend .is-few { color: #c97619; }
@media (max-width: 768px) {
	.wnr-reservation .reserveCalendar_legend {
		flex-wrap: nowrap;
		gap: 0.8rem;
		padding: 1rem;
		overflow-x: auto;
		font-size: 1.1rem;
	}
	.wnr-reservation .reserveCalendar_legend span {
		flex: none;
		white-space: nowrap;
	}
	.wnr-reservation .reserveCalendar_day {
		height: 52px;
	}
	.wnr-reservation .reserveCalendar_button {
		min-height: 50px;
	}
}
/* 当日予約は即時確定にならないことを、カレンダーの下に控えめに添える(テーマ .gfield_description の見た目) */
.wnr-reservation .p-reservation .gform_wrapper .reserveCalendar_note {
	margin: 1.2rem 0 0;
}

/* ===== 時間帯 ===== */
.wnr-reservation .reserveSlot_lead {
	margin: 0 0 1.6rem;
	color: #1b1b1b;
	font-size: 1.4rem;
	line-height: 1.6;
}
.wnr-reservation .reserveSlot_lead strong {
	font-weight: 700;
}
/* 日付未選択時の案内。選ぶ前から空テーブルと凡例を出しておくと、何をすべきか分かりにくいため */
.wnr-reservation .reserveSlot_empty {
	margin: 0;
	padding: 2.4rem 1.6rem;
	border: 0.1rem dashed #d9d9dd;
	border-radius: 0.8rem;
	background: #f5f3ee;
	color: #757575;
	font-size: 1.4rem;
	line-height: 1.6;
	text-align: center;
}
.wnr-reservation .reserveSlot_legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem 2rem;
	justify-content: center;
	margin: 0 0 1.2rem;
	color: #757575;
	font-size: 1.3rem;
}
.wnr-reservation .reserveSlot_legend .is-available { color: #c19500; }

.wnr-reservation .reserveSlot_tableWrap {
	overflow-x: auto;
	border: 0.1rem solid #d9d9dd;
	border-radius: 0.8rem;
	background: #fff;
}
.wnr-reservation .reserveSlot_table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1.4rem;
}
.wnr-reservation .reserveSlot_table th,
.wnr-reservation .reserveSlot_table td {
	padding: 1rem;
	border: 0.1rem solid #ece9e3;
	text-align: center;
}
.wnr-reservation .reserveSlot_table thead th {
	border-top: none;
}
.wnr-reservation .reserveSlot_table tr > :first-child {
	border-left: none;
}
.wnr-reservation .reserveSlot_table tr > :last-child {
	border-right: none;
}
.wnr-reservation .reserveSlot_table tbody tr:last-child > * {
	border-bottom: none;
}
.wnr-reservation .reserveSlot_hourHead,
.wnr-reservation .reserveSlot_statusHead {
	background: #9e9a95; /* カレンダー上部の帯と同じグレー */
	color: #fff;
	font-weight: 700;
}
.wnr-reservation .reserveSlot_hour {
	width: 25%;
	background: #f5f3ee;
	color: #1b1b1b;
	font-weight: 700;
	white-space: nowrap;
}
.wnr-reservation .reserveSlot_note {
	margin: 0 0 0.8rem;
	color: #757575;
	font-size: 1.2rem;
	text-align: center;
}
/* 予約可(button)/予約不可(div)/対応不可(div) の3状態すべてで同じ箱の大きさ・余白にし、
   行の高さが状態ごとにばらつかないようにする */
.wnr-reservation .reserveSlot_table td.is-available,
.wnr-reservation .reserveSlot_table td.is-full,
.wnr-reservation .reserveSlot_table td.is-closed {
	padding: 0.4rem;
}
.wnr-reservation .reserveSlot_cellBox {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	width: 100%;
	min-height: 48px;
	padding: 0.8rem 0;
	border: 0.1rem solid #d9d9dd;
	border-radius: 0.6rem;
	background: #fff;
	color: #1b1b1b;
	font: inherit;
	line-height: 1.2;
}
.wnr-reservation .reserveSlot_cellTime {
	font-size: 1.2rem;
	font-weight: 400;
}
.wnr-reservation .reserveSlot_cellIcon {
	font-size: 1.8rem;
	font-weight: 700;
}
.wnr-reservation .reserveSlot_table td.is-full .reserveSlot_cellBox {
	color: #c4c4c4;
	background: #f7f6f3;
}
.wnr-reservation .reserveSlot_table td.is-closed .reserveSlot_cellBox {
	color: #c4c4c4;
	border-style: dashed;
}
/* 選択/非選択の配色はカレンダー(.reserveCalendar_button)に揃える:
   非選択 = 白背景 + 薄グレー枠(.reserveSlot_cellBox の既定) / ホバー = ベージュ背景 / 選択 = ベージュ背景 + 金の太枠 */
.wnr-reservation .reserveSlot_cell {
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.wnr-reservation .reserveSlot_cell .reserveSlot_cellIcon {
	color: #c19500;
}
.wnr-reservation .reserveSlot_cell:hover {
	background: #faf5e3;
}
/* 枠は 0.1rem のまま内側に影を足して 0.2rem 相当にし、選択時にボタンの大きさが変わらないようにする */
.wnr-reservation .reserveSlot_cell.is-selected {
	border-color: #c19500;
	background: #faf5e3;
	box-shadow: inset 0 0 0 0.1rem #c19500;
}

/* ===== 確認・完了: 入力内容の一覧(本番のフィールド行と同じ 2 カラム構成) ===== */
.wnr-reservation .wnr-summary {
	width: 100%;
	margin: 0;
	border-bottom: 0.1rem solid #d9d9dd;
}
.wnr-reservation .wnr-summary__row {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	padding: 1.8rem 0;
	border-top: 0.1rem solid #d9d9dd;
}
.wnr-reservation .wnr-summary__th {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	color: #1b1b1b;
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.4;
}
.wnr-reservation .wnr-summary__th::before {
	content: "";
	flex-shrink: 0;
	width: 0.2rem;
	height: 1.4rem;
	background: #c97619;
}
.wnr-reservation .wnr-summary__td {
	margin: 0;
	color: #1b1b1b;
	font-size: 1.4rem;
	line-height: 1.7;
	letter-spacing: 0.06rem;
	overflow-wrap: anywhere;
}
.wnr-reservation .wnr-summary__td:empty::before {
	content: "－";
	color: #b5b5b5;
}
@media (min-width: 769px) {
	.wnr-reservation .wnr-summary__row {
		display: grid;
		grid-template-columns: 21rem 1fr;
		align-items: center;
		gap: 0;
	}
	.wnr-reservation .wnr-summary--compact .wnr-summary__row {
		grid-template-columns: 16rem 1fr;
	}
}
[data-confirm-summary="notes"] {
	white-space: pre-wrap;
}
/* 確認画面：満枠エラーからの復帰導線 */
.wnr-reservation .reserveConfirm_retry {
	margin: 0 0 1.6rem;
}
.wnr-reservation .reserveConfirm .gform_page_footer:last-child {
	margin-top: 3.2rem;
}

/* ===== 完了画面(テーマ .p-form-complete__* の補完) ===== */
.wnr-reservation .p-form-complete__box {
	gap: 2.4rem;
}
/* テーマは 1 行想定(line-height: 1)なので、複数行の案内文向けに行間を戻す */
.wnr-reservation .p-form-complete__lead {
	line-height: 1.8;
}
.wnr-reservation .reserveComplete_summary {
	width: 100%;
	max-width: 56rem;
}
.wnr-reservation .reserveComplete_summary .p-form-complete__note-ttl {
	margin-bottom: 0.8rem;
	font-size: 1.5rem;
}
/* 白カードの中に置くため、白い注意ボックスに枠線を足す */
.wnr-reservation .p-form-complete__note {
	border: 0.1rem solid #d9d9dd;
}
.wnr-reservation .p-form-complete__note .p-form-complete__note-ttl {
	color: #1b1b1b;
}
.wnr-reservation .p-form-complete .js-pendingNote {
	width: 100%;
	padding: 1.2rem 1.6rem;
	border: 0.1rem solid #c0392b;
	border-radius: 0.6rem;
	background: #fdf3f2;
	line-height: 1.6;
}
.wnr-reservation .p-form-complete > .inner > a {
	transition: opacity 0.2s ease;
}
.wnr-reservation .p-form-complete > .inner > a:hover {
	opacity: 0.75;
}

/* ===== ハニーポット(人間には見えない) ===== */
.wnr-hp {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* =====================================================================
 * 利用規約モーダル(<dialog>) — テーマ .p-terms-modal と同じトーン
 * ===================================================================== */
.wnrDialog {
	width: min(72rem, calc(100vw - 16px));
	max-width: none;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	border: none;
	border-radius: 0.4rem;
	background: #fff;
	color: #1b1b1b;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
	font-size: 1.4rem;
	line-height: 1.7;
}
.wnrDialog::backdrop {
	background: rgba(0, 0, 0, 0.6);
}
/* showModal() 非対応ブラウザ向けフォールバック(open 属性で表示) */
.wnrDialog.is-fallback[open] {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10000;
}
.wnrDialog_panel {
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
}
.wnrDialog_header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.6rem;
	padding: 1.6rem 2rem;
	border-bottom: 0.1rem solid #d9d9dd;
}
.wnrDialog_title {
	margin: 0;
	font-size: 1.8rem;
	font-weight: 700;
}
.wnrDialog_close {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: none;
	color: #112337;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}
.wnrDialog_close:hover {
	color: #c19500;
}
.wnrDialog_body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 2rem 1.6rem;
}
@media (min-width: 769px) {
	.wnrDialog_body {
		padding: 2.4rem 3.2rem;
	}
}
.wnrDialog_footer {
	padding: 1.2rem 2rem 2rem;
	border-top: 0.1rem solid #d9d9dd;
	text-align: center;
}
/* 閉じるボタン: 本番の「利用規約について」ボタンと同じ白地・金文字の枠線ボタン */
.wnrDialog_footer .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20rem;
	padding: 1.5rem 4.1rem;
	border: 0.1rem solid #d9d9dd;
	border-radius: 0.4rem;
	background: #fff;
	color: #c19500;
	font: inherit;
	font-size: 1.3rem;
	font-weight: 700;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.wnrDialog_footer .btn:hover {
	opacity: 0.75;
}
body.wnr-dialog-open {
	overflow: hidden;
}

/* --- 規約本文 --- */
.termsDetail p,
.termsDetail ol,
.termsDetail ul {
	margin: 0 0 1em;
}
.termsDetail ol,
.termsDetail ul {
	padding-left: 1.6em;
}
.termsDetail ol li {
	margin-bottom: 0.6em;
}
.termsDetail_header {
	margin-bottom: 1.6rem;
}
.termsDetail_docTitle {
	margin: 0 0 2rem;
	font-size: 1.8rem;
	font-weight: 700;
	text-align: center;
}
.termsDetail_currentDate {
	margin: 0;
	color: #757575;
	font-size: 1.2rem;
	text-align: right;
}
.termsDetail_section {
	margin: 2.4rem 0 0;
}
/* 条文見出し: テーマ .c-form-label と同じ「金色の縦線 + 見出し」 */
.termsDetail_title {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin: 0 0 0.8rem;
	font-size: 1.5rem;
	font-weight: 700;
}
.termsDetail_title::before {
	content: "";
	flex-shrink: 0;
	width: 0.3rem;
	height: 1.6rem;
	background: #c97619;
}
.termsDetail_title em {
	display: inline-block;
	margin-right: 0.5em;
	font-style: normal;
}
.termsDetail_body {
	margin: 0;
}
.termsDetail ul.termsDetail_subList {
	list-style: none;
	margin-top: 0.6rem;
	padding-left: 0;
}
.termsDetail ul.termsDetail_subList li {
	text-indent: -2.5em;
	padding-left: 2.5em;
}
.termsDetail_footer {
	margin-top: 2.4rem;
	font-size: 1.3rem;
	line-height: 1.8;
}
.termsDetail_signDate,
.termsDetail_sign {
	margin: 2.4rem 0 0.5em;
	text-align: right;
}
