/* 医療従事者ゲート（薬機法対応） */

/* ゲート表示中は背後をスクロールさせない */
.tmai-medgate-open,
.tmai-medgate-open body { overflow: hidden; }

.tmai-medgate {
	position: fixed;
	inset: 0;
	z-index: 2147483647;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.92);
}
.tmai-medgate[hidden] { display: none; }

.tmai-medgate__panel {
	width: 100%;
	max-width: 480px;
	background: #fff;
	padding: 32px 28px;
	text-align: center;
	border-top: 3px solid var(--darkblue);
}

.tmai-medgate__title {
	font-size: 18px;
	font-weight: 700;
	color: var(--darkblue);
	margin-bottom: 14px;
}

.tmai-medgate__lead {
	font-size: 14px;
	line-height: 1.9;
	color: var(--text-dark-gray);
}

.tmai-medgate__actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: 26px;
}
.tmai-medgate__actions .tmai-btn {
	width: 120px;
	height: 40px;
	font-size: 15px;
	border: 0;
	cursor: pointer;
	font-family: inherit;
}
.tmai-medgate__no {
	background: #fff;
	color: var(--text-dark-gray);
	border: 1px solid var(--borderbase) !important;
}

@media (max-width: 480px) {
	.tmai-medgate__panel { padding: 26px 20px; }
	.tmai-medgate__actions .tmai-btn { width: 50%; }
}
