/*
 * 電話受付時間外の案内モーダル（/share/js/phone-offhours-modal.js が生成する DOM 用）
 * 配色は templates/parts/cta-reserve.php に合わせる（WEB #137fd0 / LINE #06c755 / 角丸ボタン）
 */
.aoz-phm[hidden] { display: none !important; }
.aoz-phm {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	padding-bottom: calc(16px + env(safe-area-inset-bottom));
}
.aoz-phm__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 35, 55, .55);
}
.aoz-phm__dialog {
	position: relative;
	width: 100%;
	max-width: 420px;
	max-height: 100%;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 32px 20px 20px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
	color: #333;
	text-align: center;
	line-height: 1.6;
}
.aoz-phm__dialog:focus { outline: none; }
.aoz-phm__dialog:focus-visible { outline: 2px solid #137fd0; outline-offset: 2px; }
.aoz-phm__close {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #5b6b78;
	font-size: 28px;
	line-height: 44px;
	cursor: pointer;
}
.aoz-phm__close:hover { background: #f0f5f9; }
.aoz-phm__close:focus-visible { outline: 2px solid #137fd0; outline-offset: 0; }
.aoz-phm__title {
	margin: 0 0 14px;
	padding: 0;
	color: #137fd0;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.5;
}
.aoz-phm__hours {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #f5fbff;
	border: 1px solid #cfe2f0;
	text-align: left;
}
.aoz-phm__hours-head {
	margin: 0 0 6px;
	color: #137fd0;
	font-size: 13px;
	font-weight: 700;
}
.aoz-phm__hours-list { margin: 0; }
.aoz-phm__hours-row {
	display: flex;
	gap: 10px;
	font-size: 14px;
	line-height: 1.6;
}
.aoz-phm__hours-row + .aoz-phm__hours-row { margin-top: 2px; }
.aoz-phm__hours-row dt {
	flex: 0 0 3.5em;
	white-space: nowrap;
	margin: 0;
	font-weight: 700;
}
.aoz-phm__hours-row dd {
	flex: 1 1 auto;
	margin: 0;
}
.aoz-phm__slot { white-space: nowrap; }
.aoz-phm__hours-off {
	margin: 6px 0 0;
	color: #5b6b78;
	font-size: 13px;
}
.aoz-phm__lead {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 700;
}
.aoz-phm__lead span { display: inline-block; }
.aoz-phm__btns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin: 0 0 14px;
}
.aoz-phm__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	margin: 0;
	padding: 9px 14px;
	border-radius: 48px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
	color: #fff !important;
	text-decoration: none !important;
	transition: transform .15s ease, box-shadow .15s ease;
}
.aoz-phm__btn:hover { transform: translateY(-2px); }
.aoz-phm__btn:focus-visible { outline: 3px solid #333; outline-offset: 2px; }
.aoz-phm__btn-sub {
	display: block;
	margin-top: 2px;
	font-size: 11px;
	font-weight: 500;
	opacity: .9;
}
.aoz-phm__btn--web { background: #137fd0; box-shadow: 0 4px 12px rgba(19, 127, 208, .22); }
.aoz-phm__btn--web:hover { box-shadow: 0 8px 18px rgba(19, 127, 208, .3); }
.aoz-phm__btn--line { background: #06c755; box-shadow: 0 4px 12px rgba(6, 199, 85, .22); min-height: 52px; font-size: 16px; }
.aoz-phm__btn--line:hover { box-shadow: 0 8px 18px rgba(6, 199, 85, .3); }
.aoz-phm__tel { margin: 0; font-size: 13px; }
.aoz-phm__tel a {
	display: inline-block;
	margin: 0;
	padding: 8px 4px;
	color: #5b6b78 !important;
	text-decoration: underline;
}
@media (min-width: 600px) {
	.aoz-phm__dialog { padding: 36px 28px 24px; }
	.aoz-phm__title { font-size: 21px; }
}
