@charset "utf-8";

.open-modal-btn {
	display: block;
  position: relative;
	width: 85%;
	margin: auto;
  height: 70px;
  line-height: 70px;
  font-size: 1.1em;
  border-radius: 40px;
  text-decoration: none;
	background: linear-gradient(135deg, #FFB36B 0%, #FF5F8A 100%);
	background: -moz-linear-gradient(135deg, #FFB36B 0%, #FF5F8A 100%);
	background: -webkit-linear-gradient(135deg, #FFB36B 0%, #FF5F8A 100%);
  color: var(--white);
  transition: .2s;
	cursor: pointer;
	border:none;
}
.open-modal-btn span {
	color: #fff;
	filter: drop-shadow(3px 3px 2px #E01F57);
	display: inline-block;
	margin-bottom: 0;
	line-height: 3rem;
}
.open-modal-btn small {
	font-size: 0.65em;
	line-height: 3rem;
}
.open-modal-btn span i {
	margin-right: 0.8rem;
}
.action .open-modal-btn:before,
.action .open-modal-btn:after {
	content: "";
  position: absolute;
  z-index: -10;
  width: 100%;
  height: 70px;
  top: 0;
  left: 0;
  border-radius: 45px;
	background: linear-gradient(135deg, #FF5F8A 0%, #FFB36B 100%);
  transform: translate3d(0,0,0);
}
.action .open-modal-btn:before {
  animation: anime 1s ease-out infinite;
}
@keyframes anime {
	0%{transform:scale(.95); opacity:1}
	90%{opacity:.1}to{transform:scale(1.05,1.2); opacity:0}
}
.action .open-modal-btn:hover {
  background-color: var(--cc-sub);
}
.action .open-modal-btn .box-wrap {
	-webkit-box-align: baseline;
	align-items: baseline;
}
.sidenavi .open-modal-btn {
	display: block;
	position: relative;
	background: linear-gradient(135deg, #FF5F8A 0%, #FFB36B 100%);
	background: -moz-linear-gradient(135deg, #FF5F8A 0%, #FFB36B 100%);
	background: -webkit-linear-gradient(135deg, #FF5F8A 0%, #FFB36B 100%);
	box-shadow: 0 5px 0 #fff;
	overflow: hidden;
}
.sidenavi .open-modal-btn:hover {
	text-decoration: none;
	color: var(--white);
  box-shadow: none;
  transform: translateY(5px);
}
.sidenavi .open-modal-btn:before {
	position: absolute;
	content: '';
	display: inline-block;
	top: -180px;
	left: 0;
	width: 30px;
	height: 100%;
	background-color: var(--white);
	animation: btn_animation 2.5s ease-in-out infinite;
}
@-webkit-keyframes btn_animation {
	0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
	80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
	81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
	100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}
.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: 1250px) {
	.modal-box {
		width: 92vw;
		padding: 48px 24px 56px;
	}
	.sidenavi .open-modal-btn {
		position: fixed;
		right: 10px;
		bottom: 0;
		left: 0;
		z-index: 1000;
		width: 60%;
		height: 65px;
		box-shadow: none;
	}
	.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;
	}
}
@media only screen and (max-width: 768px) {
	.open-modal-btn small {
		margin-right: 1rem;
	}
	.sidenavi .open-modal-btn::before {
		animation: none;
	}
	.sidenavi .btn-wrap {
		display: block;
		left: 0;
		bottom: -5px;
		width: calc(100% - 45px);
	}
	.sidenavi .open-modal-btn {
		width: 100%;
		height: 45px;
    display: inline-block;
		border-radius: 0;
    padding: 2px 0;
    font-size: 2rem;
		line-height: 2;
	}
	.sidenavi .open-modal-btn span {
		vertical-align: middle;
		margin-bottom: 0;
		margin-right: 4rem;
	}
	/*.sidenavi .open-modal-btn {
		display: inline-flex;
		justify-content: space-around;
		margin-left: 1rem;
		padding-bottom: 0;
	}*/
	.sidenavi .open-modal-btn i {
		margin-right: 0.6rem;
    font-size: 2rem;
	}
}
