@charset "utf-8";
/*------------------------------------------------------------
	タイアップ　ウィンドウ表示
------------------------------------------------------------*/
/* ポップアップ CSS START*/
.tmb {
	width: 100%;
}

.tmb_img {
	width: 100%;
	height: auto;
}

.tmb_img:hover {
	cursor: pointer;
}

.popup {
	z-index: 10;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: scale(0);
	background-color: rgba(0, 0, 0, 0.8);
	opacity: 0;
	transition: opacity 0.3s, transform 0s 0.3s;
}

.popup__btn {
	display: block;
	z-index: 13;
	position: absolute;
	top: 1vh;
	right: 1vh;
	width: 5vh;
	height: 5vh;
	cursor: pointer;
}

.popup__btn::before,
.popup__btn::after {
	position: absolute;
	top: 50%;
	width: 100%;
	height: 2px;
	margin-top: -1px;
	background-color: #fff;
	content: '';
}

.popup__btn::before {
	transform: rotate(45deg);
}

.popup__btn::after {
	transform: rotate(-45deg);
}

.popup__btnarea {
	z-index: 12;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.popup__img {
	z-index: 11;
	position: absolute;
	top: 5%;
	left: 5%;
	width: 90%;
	height: 90%;
}

.popup__img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

input[type="checkbox"] {
	display: none;
}

input[type="checkbox"]:checked ~ .popup {
	transform: scale(1);
	opacity: 1;
	transition: opacity 0.3s;
}
/* ポップアップ CSS END*/
