@charset "utf-8";

#kaiyu_banner {
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 90;
}
.kaiyu_box {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: end;
	    -ms-flex-align: end;
	        align-items: flex-end;
	gap: 20px;
	padding: 0 20px 20px;
}
.kaiyu_box::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: calc(100% - 30px);
	border-radius: 0 10px 0 0;
}
#kaiyu_banner.open .kaiyu_box::before {
	background-color: rgb(255 255 255 / .8);
}
.kaiyu_ttl {
	position: relative;
	-ms-flex-negative: 0;
	    flex-shrink: 0;
}
#btn_kaiyu_open {
	position: relative;
	width: 120px;
}
#btn_kaiyu_open::before,
#btn_kaiyu_open::after {
	content: "";
	position: absolute;
	bottom: 12px;
	left: 50%;
	translate: -50% 0;
	display: block;
	width: 60px;
	height: 18px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
#btn_kaiyu_open::before {
	background-image: url(/img/common/btn_kaiyu_open.png);
}
#kaiyu_banner.open #btn_kaiyu_open::before {
	display: none;
}
#btn_kaiyu_open::after {
	display: none;
	background-image: url(/img/common/btn_kaiyu_close.png);
}
#kaiyu_banner.open #btn_kaiyu_open::after {
	display: block;
}
.kaiyu_list {
	display: none;
	position: relative;
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
}
#kaiyu_banner.open .kaiyu_list {
	display: block;
}
.kaiyu_list_box2 {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: end;
	    -ms-flex-align: end;
	        align-items: flex-end;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	gap: 20px;
}
.kaiyu_list_box2 > * {
	max-width: 300px;
}
.kaiyu_list_box2 a {
	display: block;
}
.kaiyu_list_box2 img {
	display: block;
	border-radius: 5px;
	outline: 4px solid rgb(255 255 255 / .8);
}
#btn_kaiyu_close {
	display: none !important;
}

@media (hover: hover) {
	#btn_kaiyu_open {
		-webkit-transition: .5s opacity;
		transition: .5s opacity;
	}
	#btn_kaiyu_open:hover {
		opacity: .75;
	}
}

/* ==================================================
スマートフォン
================================================== */
@media screen and (max-width: 1080px) {

	#kaiyu_banner {
		bottom: auto;
		top: 100%;
		z-index: 100;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		width: 100%;
		height: 100vh;
		height: 100dvh;
		padding: 60px 22px calc(56px + 60px);
		background: #bfe0eb;
		overflow: auto;
		-ms-scroll-chaining: none;
		    overscroll-behavior: none;
		-webkit-transition: .5s translate;
		transition: .5s translate;
	}
	.spm_kaiyu_open #kaiyu_banner {
		translate: 0 -100%;
	}
	.kaiyu_box {
		position: static;
		display: block;
		padding: 0;
		margin: auto;
	}
	.kaiyu_box::before {
		content: none;
	}
	.kaiyu_ttl {
		display: none !important;
	}
	#btn_kaiyu_open {
		display: none !important;
	}
	.kaiyu_list {
		display: block;
		position: static;
	}
	.kaiyu_list_box2 {
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		gap: 30px 20px;
	}
	.kaiyu_list_box2 > * {
		max-width: 330px;
	}
}
/* ==================================================
スマートフォン ここまで
================================================== */