@charset "utf-8";

/* ========================================
   予約ページ共通
======================================== */

.booking-page {
	width: min(100% - 40px, 900px);
	margin: 0 auto;
	padding-bottom: 40px;
	color: #463a33;
	line-height: 1.9;
}

/* ========================================
   ページタイトル
======================================== */

.booking-header,
.booking-page-header {
	position: relative;
	max-width: 850px;
	margin: 25px auto 60px;
	padding: 42px 30px;
	overflow: hidden;
	border: 3px solid var(--cosryu-border);
	border-radius: 26px;
	background:
		radial-gradient(
			circle at 90% 10%,
			rgba(255, 150, 56, 0.14),
			transparent 27%
		),
		#fffaf3;
	box-shadow: 0 8px 20px rgba(91, 38, 5, 0.08);
	text-align: center;
}

.booking-header::before,
.booking-page-header::before {
	position: absolute;
	top: -38px;
	right: -38px;
	width: 125px;
	height: 125px;
	border-radius: 50%;
	background-color: rgba(255, 87, 0, 0.08);
	content: "";
}

.booking-header::after,
.booking-page-header::after {
	position: absolute;
	bottom: -48px;
	left: -48px;
	width: 145px;
	height: 145px;
	border-radius: 50%;
	background-color: rgba(255, 150, 56, 0.09);
	content: "";
}

.booking-label {
	position: relative;
	z-index: 1;
	margin: 0 0 10px;
	color: var(--cosryu-orange);
	font-family:
		"M PLUS Rounded 1c",
		"Meiryo",
		sans-serif;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: 0.16em;
}

.booking-header h1,
.booking-page-header h1,
.booking-complete h1 {
	position: relative;
	z-index: 1;
	margin: 0;
	color: var(--cosryu-brown);
	font-family:
		"M PLUS Rounded 1c",
		"Meiryo",
		sans-serif;
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.04em;
}

.booking-header h1::after,
.booking-page-header h1::after {
	display: block;
	width: 90px;
	height: 6px;
	margin: 18px auto 0;
	border-radius: 999px;
	background:
		linear-gradient(
			to right,
			var(--cosryu-orange),
			var(--cosryu-light-orange)
		);
	content: "";
}

.booking-header-lead,
.booking-page-lead {
	position: relative;
	z-index: 1;
	max-width: 650px;
	margin: 24px auto 0;
	color: #4d4038;
	font-size: 1rem;
	font-weight: 700;
	line-height: 2;
}

/* ========================================
   各セクション
======================================== */

.booking-section {
	max-width: 850px;
	margin: 60px auto 0;
}

.booking-section:first-of-type {
	margin-top: 0;
}

.booking-section h2 {
	position: relative;
	margin: 0 0 28px;
	padding: 10px 20px 12px 25px;
	border-bottom: 4px dotted #ffb679;
	color: var(--cosryu-brown);
	font-family:
		"M PLUS Rounded 1c",
		"Meiryo",
		sans-serif;
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.5;
}

.booking-section h2::before {
	position: absolute;
	top: 50%;
	left: 0;
	width: 10px;
	height: 32px;
	border-radius: 999px;
	background:
		linear-gradient(
			to bottom,
			var(--cosryu-light-orange),
			var(--cosryu-orange)
		);
	content: "";
	transform: translateY(-50%);
}

/* ========================================
   入力欄
======================================== */

.booking-fields {
	overflow: hidden;
	border: 2px solid var(--cosryu-border);
	border-radius: 20px;
	background-color: #fff;
	box-shadow: 0 6px 18px rgba(91, 38, 5, 0.07);
}

.booking-field {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	border-bottom: 1px solid #f0c9a7;
}

.booking-field:last-child {
	border-bottom: 0;
}

.booking-field-label,
.booking-field-control {
	box-sizing: border-box;
	margin: 0;
	padding: 18px 22px;
}

.booking-field-label {
	display: flex;
	align-items: center;
	gap: 7px;
	background:
		linear-gradient(
			to right,
			#fff1de,
			#fff7eb
		);
	color: var(--cosryu-brown);
	font-family:
		"M PLUS Rounded 1c",
		"Meiryo",
		sans-serif;
	font-weight: 800;
	line-height: 1.7;
}

.booking-field-control {
	min-width: 0;
	background-color: #fff;
}

.booking-field-control input,
.booking-field-control select,
.booking-field-control textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 12px 14px;
	border: 2px solid #dfc2aa;
	border-radius: 10px;
	background-color: #fff;
	color: #3f342e;
	font: inherit;
	line-height: 1.5;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background-color 0.2s ease;
}

.booking-field-control textarea {
	min-height: 160px;
	resize: vertical;
}

.booking-field-control input:hover,
.booking-field-control select:hover,
.booking-field-control textarea:hover {
	border-color: #f2a56a;
}

.booking-field-control input:focus,
.booking-field-control select:focus,
.booking-field-control textarea:focus {
	border-color: var(--cosryu-light-orange);
	background-color: #fffdf9;
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 150, 56, 0.2);
}

.booking-field-control input::placeholder,
.booking-field-control textarea::placeholder {
	color: #a38e82;
}

.booking-field-note {
	margin: 8px 0 0;
	color: #74645b;
	font-size: 0.85rem;
	line-height: 1.7;
}

.booking-static-value {
	margin: 0;
	color: var(--cosryu-brown);
	font-weight: 700;
	overflow-wrap: anywhere;
}

/* ========================================
   必須表示
======================================== */

.required-label {
	display: inline-block;
	flex-shrink: 0;
	margin-left: 5px;
	padding: 2px 7px;
	border: 1px solid #d84c00;
	border-radius: 999px;
	background-color: #fff;
	color: #d84c00;
	font-size: 0.7rem;
	font-weight: 800;
	line-height: 1.4;
	vertical-align: middle;
}

/* ========================================
   チェックボックス・ラジオボタン
======================================== */

.booking-choice-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.booking-choice-list label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.booking-choice-list input[type="checkbox"],
.booking-choice-list input[type="radio"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--cosryu-orange);
}

/* ========================================
   規約同意
======================================== */

.booking-agreement {
	max-width: 850px;
	margin: 40px auto 0;
	padding: 24px 26px;
	border: 2px solid var(--cosryu-border);
	border-radius: 16px;
	background-color: #fffaf3;
	box-shadow: 0 4px 12px rgba(91, 38, 5, 0.05);
}

.booking-agreement p {
	margin: 0 0 14px;
	line-height: 1.8;
}

.booking-agreement p:last-child {
	margin-bottom: 0;
}

.booking-agreement label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
}

.booking-agreement input[type="checkbox"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0.35em 0 0;
	accent-color: var(--cosryu-orange);
}

.booking-agreement a {
	color: #b44300;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(180, 67, 0, 0.45);
	text-underline-offset: 3px;
}

.booking-agreement a:hover,
.booking-agreement a:focus-visible {
	color: var(--cosryu-orange);
	text-decoration-thickness: 2px;
	outline: none;
}

/* ========================================
   ボタン配置
======================================== */

.booking-submit-area {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 18px;
	max-width: 850px;
	margin: 45px auto 0;
}

/* ========================================
   確認用画像ボタン
======================================== */

.booking-submit-image-button {
	display: block;
	box-sizing: border-box;
	width: 380px;
	max-width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	line-height: 0;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: transform 0.2s ease;
}

.booking-submit-image-button img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
	pointer-events: none;
}

.booking-submit-image-button:hover,
.booking-submit-image-button:focus-visible {
	transform: translateY(-2px);
	outline: none;
}

.booking-submit-image-button:focus-visible {
	border-radius: 18px;
	box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.3);
}

.booking-submit-image-button:active {
	transform: translateY(0);
}

.booking-submit-image-button:disabled {
	cursor: not-allowed;
	opacity: 0.55;
	transform: none;
}

/* ========================================
   通常テキストボタン
======================================== */

.booking-submit-button,
.booking-back-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 250px;
	min-height: 56px;
	padding: 12px 26px;
	border-radius: 14px;
	font-family:
		"M PLUS Rounded 1c",
		"Meiryo",
		sans-serif;
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition:
		transform 0.2s ease,
		filter 0.2s ease,
		box-shadow 0.2s ease,
		background-color 0.2s ease,
		color 0.2s ease;
}

.booking-submit-button {
	border: 2px solid #d94a00;
	background:
		linear-gradient(
			to bottom,
			#ff973f,
			var(--cosryu-orange)
		);
	color: #fff;
	text-shadow: 0 1px 1px rgba(58, 25, 8, 0.35);
	box-shadow:
		0 4px 0 #a93600,
		0 7px 14px rgba(91, 38, 5, 0.14);
}

.booking-submit-button:hover,
.booking-submit-button:focus-visible {
	color: #fff;
	filter: brightness(1.06);
	transform: translateY(-2px);
	outline: none;
	box-shadow:
		0 6px 0 #a93600,
		0 10px 18px rgba(91, 38, 5, 0.18);
}

.booking-submit-button:active {
	transform: translateY(2px);
	box-shadow:
		0 2px 0 #a93600,
		0 4px 8px rgba(91, 38, 5, 0.13);
}

.booking-back-button {
	border: 2px solid #cbb3a2;
	background:
		linear-gradient(
			to bottom,
			#fff,
			#f6eee8
		);
	color: var(--cosryu-brown);
	box-shadow:
		0 4px 0 #aa9485,
		0 7px 14px rgba(91, 38, 5, 0.08);
}

.booking-back-button:hover,
.booking-back-button:focus-visible {
	border-color: var(--cosryu-light-orange);
	background:
		linear-gradient(
			to bottom,
			#fffaf3,
			#ffe7cc
		);
	color: var(--cosryu-orange);
	transform: translateY(-2px);
	outline: none;
	box-shadow:
		0 6px 0 #aa9485,
		0 10px 18px rgba(91, 38, 5, 0.12);
}

.booking-back-button:active {
	transform: translateY(2px);
	box-shadow:
		0 2px 0 #aa9485,
		0 4px 8px rgba(91, 38, 5, 0.08);
}

.booking-submit-button:disabled {
	border-color: #c5b6ac;
	background: #ddd4ce;
	color: #8e8178;
	text-shadow: none;
	box-shadow: none;
	cursor: not-allowed;
	transform: none;
	filter: none;
}

/* ========================================
   完了ページ・受付終了ページ 戻る画像ボタン
======================================== */

.booking-navigation-buttons {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	gap: 24px;
	max-width: 850px;
	margin: 45px auto 0;
}

.booking-image-link {
	display: block;
	flex: 0 1 280px;
	width: 280px;
	max-width: 100%;
	margin: 0;
	padding: 0;
	line-height: 0;
	text-decoration: none;
	transition: transform 0.2s ease;
}

.booking-image-link img {
	display: block;
	width: 100%;
	height: auto;
}

.booking-image-link:hover,
.booking-image-link:focus-visible {
	transform: translateY(-2px);
	outline: none;
}

.booking-image-link:focus-visible {
	border-radius: 18px;
	box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.3);
}

.booking-image-link:active {
	transform: translateY(0);
}

/* ========================================
   エラー表示
======================================== */

.booking-errors {
	max-width: 850px;
	margin: 0 auto 35px;
	padding: 22px 24px;
	border: 2px solid #d45a45;
	border-radius: 14px;
	background-color: #fff4f1;
	color: #8d2d20;
}

.booking-errors p {
	margin: 0 0 10px;
	font-weight: 800;
}

.booking-errors ul {
	margin: 0;
	padding-left: 1.4em;
}

.booking-errors li {
	margin-bottom: 6px;
	line-height: 1.7;
}

.booking-errors li:last-child {
	margin-bottom: 0;
}

.booking-field-error {
	margin: 8px 0 0;
	color: #b12c2c;
	font-size: 0.85rem;
	font-weight: 700;
}

.has-error input,
.has-error select,
.has-error textarea {
	border-color: #d45a45;
	background-color: #fff8f6;
}

/* ========================================
   確認画面
======================================== */

.booking-confirm-table {
	max-width: 850px;
	margin: 0 auto;
	overflow: hidden;
	border: 2px solid var(--cosryu-border);
	border-radius: 18px;
	background-color: #fff;
	box-shadow: 0 5px 15px rgba(91, 38, 5, 0.06);
}

.booking-confirm-table dl {
	margin: 0;
}

.booking-confirm-table dl > div {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	border-bottom: 1px solid #f0c9a7;
}

.booking-confirm-table dl > div:last-child {
	border-bottom: 0;
}

.booking-confirm-table dt,
.booking-confirm-table dd {
	box-sizing: border-box;
	margin: 0;
	padding: 17px 20px;
	line-height: 1.8;
}

.booking-confirm-table dt {
	display: flex;
	align-items: center;
	background:
		linear-gradient(
			to right,
			#fff1de,
			#fff7eb
		);
	color: var(--cosryu-brown);
	font-family:
		"M PLUS Rounded 1c",
		"Meiryo",
		sans-serif;
	font-weight: 800;
}

.booking-confirm-table dd {
	min-width: 0;
	background-color: #fff;
	overflow-wrap: anywhere;
}

/* ========================================
   受付終了ページ
======================================== */

.booking-closed {
	width: 100%;
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.booking-closed-message {
	margin-top: 40px;
	padding: 35px 40px;
	border: 2px solid var(--cosryu-border);
	border-radius: 18px;
	background-color: #fffaf3;
	box-shadow: 0 5px 15px rgba(91, 38, 5, 0.06);
}

.booking-closed-message h2 {
	margin: 0 0 22px;
	color: var(--cosryu-brown);
	font-family:
		"M PLUS Rounded 1c",
		"Meiryo",
		sans-serif;
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1.6;
}

.booking-closed-message p {
	margin: 0 0 16px;
	line-height: 1.9;
}

.booking-closed-message p:last-child {
	margin-bottom: 0;
}

/* ========================================
   予約完了ページ
======================================== */

.booking-complete {
	width: 100%;
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.booking-complete-message {
	margin-top: 40px;
	padding: 35px 40px;
	border: 2px solid var(--cosryu-border);
	border-radius: 18px;
	background-color: #fffaf3;
	box-shadow: 0 5px 15px rgba(91, 38, 5, 0.06);
}

.booking-complete-message p {
	margin: 0 0 16px;
	line-height: 1.9;
}

.booking-complete-message p:last-child {
	margin-bottom: 0;
}

.booking-complete-message a {
	color: #b44300;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(180, 67, 0, 0.45);
	text-underline-offset: 3px;
}

.booking-complete-message a:hover,
.booking-complete-message a:focus-visible {
	color: var(--cosryu-orange);
	text-decoration-thickness: 2px;
	outline: none;
}

/* ========================================
   タブレット
======================================== */

@media screen and (max-width: 768px) {

	.booking-page {
		width: min(100% - 30px, 900px);
		padding-bottom: 20px;
	}

	.booking-header,
	.booking-page-header {
		margin: 15px auto 45px;
		padding: 34px 20px;
		border-radius: 20px;
	}

	.booking-header h1,
	.booking-page-header h1,
	.booking-complete h1 {
		font-size: 2rem;
	}

	.booking-header-lead,
	.booking-page-lead {
		margin-top: 20px;
	}

	.booking-section {
		margin-top: 50px;
	}

	.booking-section h2 {
		font-size: 1.2rem;
	}

	.booking-field {
		grid-template-columns: 180px minmax(0, 1fr);
	}

	.booking-confirm-table dl > div {
		grid-template-columns: 180px minmax(0, 1fr);
	}

	.booking-field-label,
	.booking-field-control,
	.booking-confirm-table dt,
	.booking-confirm-table dd {
		padding: 16px 18px;
	}

	.booking-submit-image-button {
		width: 360px;
	}

	.booking-complete-message,
	.booking-closed-message {
		padding: 28px 24px;
	}

	.booking-navigation-buttons {
		gap: 18px;
	}

	.booking-image-link {
		flex-basis: 260px;
		width: 260px;
		max-width: calc(50% - 9px);
	}
}

/* ========================================
   スマートフォン
======================================== */

@media screen and (max-width: 650px) {

	.booking-fields,
	.booking-confirm-table {
		overflow: visible;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.booking-field,
	.booking-confirm-table dl > div {
		display: block;
		margin-bottom: 14px;
		overflow: hidden;
		border: 2px solid var(--cosryu-border);
		border-radius: 14px;
		background-color: #fff;
		box-shadow: 0 4px 12px rgba(91, 38, 5, 0.06);
	}

	.booking-field:last-child,
	.booking-confirm-table dl > div:last-child {
		margin-bottom: 0;
		border-bottom: 2px solid var(--cosryu-border);
	}

	.booking-field-label,
	.booking-confirm-table dt {
		display: block;
		padding: 12px 16px;
		border-bottom: 1px solid #f0c9a7;
	}

	.booking-field-control,
	.booking-confirm-table dd {
		padding: 15px 16px 18px;
	}

	.booking-submit-button,
	.booking-back-button {
		width: 100%;
		min-width: 0;
	}

	.booking-submit-image-button {
		width: 340px;
		max-width: 100%;
	}

	.booking-navigation-buttons {
		flex-wrap: wrap;
		gap: 18px;
	}

	.booking-image-link {
		flex-basis: 260px;
		width: 260px;
		max-width: 100%;
	}
}

/* ========================================
   小さいスマートフォン
======================================== */

@media screen and (max-width: 480px) {

	.booking-page {
		width: min(100% - 24px, 900px);
	}

	.booking-header,
	.booking-page-header {
		padding: 28px 16px;
		text-align: center;
	}

	.booking-label {
		font-size: 0.72rem;
	}

	.booking-header h1,
	.booking-page-header h1,
	.booking-complete h1 {
		font-size: 1.6rem;
	}

	.booking-header-lead,
	.booking-page-lead {
		font-size: 0.93rem;
		line-height: 1.8;
	}

	.booking-header-lead br,
	.booking-page-lead br,
	.booking-complete-message br {
		display: none;
	}

	.booking-section {
		margin-top: 44px;
	}

	.booking-section h2 {
		font-size: 1.05rem;
	}

	.booking-agreement {
		padding: 20px 18px;
		font-size: 0.92rem;
	}

	.booking-complete,
	.booking-closed {
		text-align: center;
	}

	.booking-complete-message,
	.booking-closed-message {
		margin-top: 30px;
		padding: 24px 18px;
		text-align: left;
	}

	.booking-closed-message h2 {
		font-size: 1.15rem;
		text-align: center;
	}

	.booking-submit-area {
		margin-top: 35px;
	}

	.booking-submit-image-button {
		width: 320px;
		max-width: 100%;
	}

	.booking-submit-button,
	.booking-back-button {
		min-height: 54px;
	}

	.booking-navigation-buttons {
		display: block;
		margin-top: 35px;
	}

	.booking-image-link {
		width: 280px;
		max-width: 100%;
		margin: 0 auto 18px;
	}

	.booking-image-link:last-child {
		margin-bottom: 0;
	}
}

/* ========================================
   送迎時間ごとの人数
======================================== */

.shuttle-time-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 16px;
}

.shuttle-time-item {
	display: grid;
	grid-template-columns: 70px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	font-weight: 700;
}

.shuttle-time-item select {
	width: 100%;
}

@media screen and (max-width: 480px) {
	.shuttle-time-grid {
		grid-template-columns: 1fr;
	}
}
