/* 法人予約フォーム。テーマの見た目を壊さないよう .corp-booking 配下に閉じる */
.corp-booking { max-width: 720px; margin: 0 auto; line-height: 1.7; }
.corp-booking * { box-sizing: border-box; }

.corp-progress {
	display: flex; flex-wrap: wrap; gap: 8px;
	list-style: none; margin: 0 0 28px; padding: 0;
	font-size: 13px; counter-reset: corp-step;
}
.corp-progress li {
	flex: 1 1 0; min-width: 110px; padding: 8px 4px;
	text-align: center; color: #999;
	border-top: 3px solid #e0e0e0;
}
.corp-progress li::before { counter-increment: corp-step; content: counter(corp-step) ". "; }
.corp-progress .is-current { color: #1a1a1a; font-weight: 700; border-top-color: #2b6cb0; }
.corp-progress .is-done { color: #2b6cb0; border-top-color: #2b6cb0; }

.corp-title { font-size: 20px; margin: 32px 0 8px; }
.corp-subtitle { font-size: 16px; margin: 24px 0 8px; }
.corp-lead { margin: 0 0 16px; color: #555; font-size: 14px; }
.corp-help { margin: 6px 0 10px; color: #777; font-size: 13px; }
.corp-req { font-size: 11px; color: #c0392b; margin-left: 4px; }

.corp-summary {
	background: #f5f7fa; border-radius: 6px;
	padding: 14px 16px; margin-bottom: 8px; font-size: 14px;
}
.corp-summary p { margin: 0 0 4px; }
.corp-summary code {
	background: #fff; border: 1px solid #d8dee6; border-radius: 3px;
	padding: 1px 6px; font-size: 13px;
}

.corp-notice { padding: 12px 16px; border-radius: 6px; margin: 0 0 20px; font-size: 14px; }
.corp-notice p { margin: 0 0 6px; }
.corp-notice p:last-child { margin-bottom: 0; }
.corp-notice--error { background: #fdecea; border-left: 4px solid #c0392b; color: #7a2119; }
.corp-notice--info { background: #eef4fb; border-left: 4px solid #2b6cb0; color: #234e73; }

.corp-form { margin-bottom: 8px; }
.corp-field { margin-bottom: 18px; }
.corp-field > label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.corp-row { display: flex; gap: 16px; flex-wrap: wrap; }
.corp-row .corp-field { flex: 1 1 220px; }

.corp-input {
	width: 100%; padding: 10px 12px; font-size: 16px;
	border: 1px solid #c8cfd8; border-radius: 4px; background: #fff;
}
.corp-input:focus { outline: 2px solid #2b6cb0; outline-offset: 1px; border-color: #2b6cb0; }
.corp-code { margin-bottom: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }

.corp-btn {
	display: inline-block; padding: 12px 24px; font-size: 15px; font-weight: 700;
	border: none; border-radius: 4px; cursor: pointer;
}
.corp-btn--primary { background: #2b6cb0; color: #fff; }
.corp-btn--primary:hover { background: #24578c; }
.corp-btn--ghost { background: #fff; color: #2b6cb0; border: 1px solid #2b6cb0; padding: 8px 16px; font-size: 14px; }
.corp-link-btn { background: none; border: none; color: #2b6cb0; cursor: pointer; padding: 0; font-size: 13px; text-decoration: underline; }
.corp-inline-form { margin-top: 16px; }

.corp-cards { display: grid; gap: 10px; margin-bottom: 8px; }
.corp-card {
	display: flex; align-items: center; gap: 12px;
	border: 1px solid #d8dee6; border-radius: 6px; padding: 14px 16px; cursor: pointer;
}
.corp-card:hover { border-color: #2b6cb0; background: #fafcff; }
.corp-card__body { display: flex; flex-direction: column; }
.corp-card__name { font-weight: 700; }
.corp-card__meta { font-size: 13px; color: #666; }

.corp-choices { display: grid; gap: 8px; margin-bottom: 8px; }
.corp-choice {
	display: flex; align-items: flex-start; gap: 10px;
	border: 1px solid #d8dee6; border-radius: 6px; padding: 12px 14px; cursor: pointer;
}
.corp-choice:hover { border-color: #2b6cb0; background: #fafcff; }
.corp-price { display: block; font-size: 13px; color: #666; }

.corp-options { border: 1px solid #e2e6eb; border-radius: 6px; overflow: hidden; }
.corp-option {
	display: grid; grid-template-columns: 1fr auto 80px; align-items: center; gap: 12px;
	padding: 10px 14px; border-bottom: 1px solid #eef1f4; font-size: 14px;
}
.corp-option:last-child { border-bottom: none; }
.corp-option__price { color: #666; font-size: 13px; }
.corp-option__qty select { width: 100%; padding: 6px; border: 1px solid #c8cfd8; border-radius: 4px; }

.corp-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 14px; }
.corp-table th, .corp-table td { padding: 10px 12px; border-bottom: 1px solid #e6eaee; text-align: left; vertical-align: top; }
.corp-table th { width: 38%; background: #f7f9fb; font-weight: 700; }
.corp-table--price td { text-align: right; }
.corp-total th, .corp-total td { font-size: 17px; font-weight: 700; background: #eef4fb; border-bottom: none; }
.corp-strike { text-decoration: line-through; color: #999; }
.corp-badge {
	display: inline-block; background: #e6f4ea; color: #1e7e34;
	border-radius: 3px; padding: 1px 8px; font-size: 12px; font-weight: 700; margin-left: 6px;
}

@media (max-width: 600px) {
	.corp-progress li { font-size: 11px; min-width: 0; }
	.corp-option { grid-template-columns: 1fr 70px; }
	.corp-option__price { grid-column: 1; }
	.corp-table th { width: 42%; }
}

/* ---------------------------------------------------------------- カレンダー */
.corp-dp-wrap { position: relative; }
.corp-dp-input { cursor: pointer; background: #fff; }

.corp-dp {
	position: absolute; z-index: 999; top: calc(100% + 6px); left: 0;
	background: #fff; border: 1px solid #d0d7de; border-radius: 8px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .16);
	padding: 12px 14px 14px;
}
.corp-dp[hidden] { display: none; }

.corp-dp-head { position: relative; height: 0; }
.corp-dp-prev, .corp-dp-next {
	position: absolute; top: 2px; width: 30px; height: 30px;
	border: 1px solid #d0d7de; border-radius: 50%; background: #fff;
	font-size: 16px; line-height: 1; cursor: pointer; color: #333; padding: 0;
}
.corp-dp-prev { left: 0; }
.corp-dp-next { right: 0; }
.corp-dp-prev:hover, .corp-dp-next:hover { background: #f2f5f8; }

.corp-dp-months { display: flex; gap: 22px; }
.corp-dp-month { min-width: 232px; }
.corp-dp-caption { text-align: center; font-weight: 700; font-size: 15px; margin-bottom: 10px; }

.corp-dp-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.corp-dp-table th, .corp-dp-table td { padding: 1px; text-align: center; border: none; }
.corp-dp-dow { font-size: 12px; font-weight: 400; color: #666; padding-bottom: 6px !important; }
.corp-dp-dow.is-sun { color: #c0392b; }
.corp-dp-dow.is-sat { color: #2b6cb0; }

.corp-dp-day {
	display: block; padding: 7px 0; font-size: 14px; border-radius: 4px;
	cursor: pointer; color: #1a1a1a; background: #fff;
}
.corp-dp-day:hover { background: #e6eef8; }
.corp-dp-day.is-sun { color: #c0392b; }
.corp-dp-day.is-sat { color: #2b6cb0; }
.corp-dp-day.is-disabled {
	color: #c4c4c4; background: #f4f5f6; cursor: default;
}
.corp-dp-day.is-disabled:hover { background: #f4f5f6; }
.corp-dp-day.is-selected,
.corp-dp-day.is-selected:hover { background: #2b6cb0; color: #fff; font-weight: 700; }

.corp-hr { border: none; border-top: 1px solid #e6eaee; margin: 24px 0; }

@media (max-width: 700px) {
	.corp-dp { left: 0; right: 0; padding: 12px; }
	.corp-dp-months { gap: 0; }
	.corp-dp-month { min-width: 0; width: 100%; }
}

/* ---------------------------------------------------------------- 完了画面 */
.corp-done-head { text-align: center; padding: 8px 0 20px; }
.corp-done-title {
	font-size: 22px; margin: 0 0 8px; color: #1e7e34;
}
.corp-done-title::before { content: "✓ "; }
.corp-done-num { margin: 0; font-size: 14px; color: #555; }
.corp-done-num strong { font-size: 19px; color: #1a1a1a; letter-spacing: .04em; }

/* 次の手続きを見逃されないよう、予約内容より前に大きく置く */
.corp-next-action {
	border: 2px solid #dba617; border-radius: 8px; background: #fffaf0;
	padding: 22px 24px 24px; margin: 0 0 32px; text-align: center;
}
.corp-next-action__label {
	display: inline-block; margin: 0 0 10px; padding: 3px 12px;
	background: #dba617; color: #fff; border-radius: 12px;
	font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.corp-next-action__title { margin: 0 0 12px; font-size: 19px; }
.corp-next-action__text { margin: 0 0 20px; font-size: 14px; color: #444; text-align: left; }
.corp-next-action__note { margin: 14px 0 0; font-size: 12px; color: #8a6d1f; }
.corp-next-action a.corp-btn { text-decoration: none; color: #fff; display: inline-block; }

.corp-btn--lg { padding: 16px 40px; font-size: 17px; }

@media (max-width: 600px) {
	.corp-next-action { padding: 18px 16px 20px; }
	.corp-next-action__title { font-size: 17px; }
	.corp-btn--lg { padding: 14px 24px; font-size: 16px; width: 100%; }
}

.corp-redirect { text-align: center; padding: 40px 20px; }
.corp-redirect__title { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.corp-redirect a.corp-btn { text-decoration: none; color: #fff; display: inline-block; margin: 12px 0; }

.corp-policies {
	border: 1px solid #d8dee6; border-radius: 6px;
	padding: 16px 18px; margin: 24px 0 8px; background: #fafbfc;
}
.corp-policies .corp-subtitle { margin-top: 0; }
.corp-policy { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; font-size: 14px; }
.corp-policy input { margin-top: 4px; }
.corp-policy a { text-decoration: underline; }

.corp-fixed-value {
	margin: 0; padding: 10px 12px; font-size: 16px;
	background: #f2f4f7; border: 1px solid #e2e6eb; border-radius: 4px;
}

.corp-dates-notice { margin: 0 0 20px; font-size: 14px; color: #444; }
.corp-dates-notice p { margin: 0 0 6px; }
.corp-dates-notice a { text-decoration: underline; }

/* ---------------------------------------------------------------- 折りたたみ説明 */
.corp-details { margin: 12px 0 4px; }
.corp-details summary {
	cursor: pointer;
	font-size: 13.5px;
	font-weight: 700;
	color: #2b6cb0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid #2b6cb0;
	border-radius: 4px;
	background: #fff;
	/* display を変えるとブラウザ既定の三角が消えるため、自前で付ける */
	list-style: none;
}
.corp-details summary::-webkit-details-marker { display: none; }
.corp-details summary::before {
	content: "▶";
	font-size: 10px;
	line-height: 1;
}
.corp-details[open] summary::before { content: "▼"; }
.corp-details summary:hover { background: #eef4fb; }
.corp-details summary:focus-visible { outline: 2px solid #2b6cb0; outline-offset: 2px; }
.corp-details[open] summary { margin-bottom: 12px; }
.corp-details .corp-table { background: #fff; }

.corp-table--compact th, .corp-table--compact td { padding: 6px 12px; font-size: 13.5px; }
.corp-table--compact th { width: 40%; }

/* 泊ごとの内訳 */
.corp-table--nights th { width: 55%; font-weight: 400; background: transparent; }
.corp-table--nights td { text-align: right; }

.corp-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
.corp-actions a.corp-btn { text-decoration: none; display: inline-block; }
.corp-btn--ghost { text-decoration: none; }
