@charset "utf-8";

header .btn {
	position: fixed;
	right: 80px;
	bottom: 20px;
	z-index: 1000;
}
.open-modal-btn i {
	margin-right: 1rem;
}
.open-modal-btn {
  display: block;
  width: 180px;
  padding: 10px 20px;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
	font-weight: 700;
	background: rgba(80, 190, 146, 0.8);
	background: -moz-rgba(80, 190, 146, 0.8);
	background: -webkit-rgba(80, 190, 146, 0.8);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	-moz-backdrop-filter: blur(10px);
	border-bottom: 5px solid #dcdcdc;
	box-shadow: 5px 6px 0 rgba(255, 255, 255, 0.5);
	border: 1px solid #fff;
}
.open-modal-btn:hover {
	opacity: 0.7;
	transition: all .6s ease;
	background: #262626;
}
.action-wrap .btn_wrap {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
}
.action-wrap .open-modal-btn {
	width: 300px;
	margin-top: 1rem;
	padding: 14px 32px;
}
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.78);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	padding: 40px 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}
.modal-overlay.is-active {
	opacity: 1;
	visibility: visible;
}
.modal-box {
	position: relative;
	width: min(80vw, 1120px);
	background: #fff;
	padding: 70px 70px 80px;
	box-sizing: border-box;
}
.modal-close {
	position: fixed;
	top: 0;
	right: 0;
	width: 72px;
	height: 72px;
	background: #1c171b;
	color: #fff;
	border: none;
	font-size: 48px;
	line-height: 1;
	cursor: pointer;
	z-index: 10000;
}
.modal-title {
	text-align: center;
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 40px;
	color: #000;
}
.clinic-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}
.clinic-link {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 80px;
	position: relative;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	text-decoration: none;
	background: #b59a63;
	box-shadow:0 5px 20px rgba(0,0,0,.25);
	transition: .3s ease;
}
.clinic-link::after {
	content: "▶";
	padding-left: 2px;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(120, 85, 20, 0.9);
	color: #e4ded3;
	border-radius: 50%;
	font-size: 16px;
}
.clinic-link:hover {
	opacity: 0.85;
}
@media (max-width: 768px) {
	header .btn {
		position: fixed;
		top: auto;
		bottom: 0;
		left: 0;
		width: 100%;
	}
  header .open-modal-btn {
		box-shadow: none;
	}
	.open-modal-btn {
		width: 100%;
		height: 45px;
		font-size: 16px;
		padding: 0;
	}
	.modal-box {
		width: 92vw;
		padding: 48px 18px 56px;
	}
.action-wrap .open-modal-btn {
	  width: 90%;
		margin: 0 auto;
		padding: 0;
		height: 50px;
	}
	.modal-title {
		font-size: 15px;
		line-height: 1.6;
		margin-bottom: 28px;
	}
	.clinic-list {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	.clinic-link {
		height: 60px;
		font-size: 20px;
	}
	.modal-close {
		width: 56px;
		height: 56px;
		font-size: 36px;
	}
}
