@charset "utf-8";

#kaiyu_banner {
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 90;
}
.kaiyu_box {
	position: static;
}
#btn_kaiyu_open {
	color: #fff;
	position: relative;
	z-index: 2;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	width: 200px;
	min-height: 60px;
	padding: 0 0 0 74px;
	border-radius: 0 20px 0 0;
	background: #008536;
}
#btn_kaiyu_open::before {
	content: "";
	position: absolute;
	bottom: -20px;
	left: 10px;
	display: block;
	width: 52px;
	height: 90px;
	background: url(/img/common/img_kaiyu01.png) no-repeat center / contain;
	-webkit-transition: .3s scale;
	transition: .3s scale;
}
@media (hover: hover) {
	#btn_kaiyu_open:hover::before {
		scale: -1 1;
	}
}
#kaiyu_banner.open #btn_kaiyu_open::before {
	scale: 1 1;
	background-image: url(/img/common/img_kaiyu02.png);
}
#btn_kaiyu_open::after {
	content: "";
	position: absolute;
	right: 19px;
	bottom: 10px;
	display: block;
	width: 28px;
	height: 10px;
	background: url(/img/common/img_3arrows.png) no-repeat center / contain;
	-webkit-transition: .3s scale;
	transition: .3s scale;
}
#kaiyu_banner.open #btn_kaiyu_open::after {
	scale: -1 1;
}
#btn_kaiyu_open img {
	display: block;
	width: 102px;
}
.kaiyu_list {
	display: none;
	position: absolute;
	bottom: 0;
	left: 170px;
	z-index: 1;
	width: -webkit-max-content;
	width: -moz-max-content;
	width: max-content;
	max-width: calc(100vw - 170px - 85px);
	max-height: 100vh;
}
#kaiyu_banner.open .kaiyu_list {
	display: block;
}
.kaiyu_list_box {
	position: relative;
	padding: 15px 30px 15px 45px;
	border-radius: 10px 10px 0 0;
	background: rgb(255 255 255 / .8);
}
.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: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	gap: 10px;
}
.kaiyu_list_box2 a {
	display: block;
	width: 180px;
	max-width: 100%;
}
.kaiyu_list_box2 img {
	display: block;
}
#btn_kaiyu_close {
	position: absolute;
	top: 50%;
	right: 0;
	translate: 50% -50%;
	display: block;
	width: 32px;
	height: 32px;
	border-radius: 100%;
	background: url(/img/common/icon_close.png) no-repeat center / 22px 22px #fff;
}

/* 背景色変更 */
.color_change #btn_kaiyu_open::before {
	display: none !important;
}
.color_change #btn_kaiyu_close {
	background-image: url(/img/common/icon_close_white.png);
}

/* ==================================================
スマートフォン
================================================== */
@media screen and (max-width: 1080px) {
	#kaiyu_banner {
		bottom: auto;
		top: 100%;
		z-index: 100;
		width: 100%;
		height: auto;
		-webkit-transition: .5s translate;
		transition: .5s translate;
	}
	.spm_kaiyu_open #kaiyu_banner {
		translate: 0 -100%;
	}
	.kaiyu_ttl {
		display: none !important;
	}
	#btn_kaiyu_open {
		display: none !important;
	}
	.kaiyu_list {
		display: block;
		position: static;
		width: auto;
		max-width: none;
		max-height: none;
	}
	.kaiyu_list_box {
		max-height: calc(100vh - 24px);
		max-height: calc(100vh - 24px);
		padding: 40px 40px  calc(50px + 60px);
		background: rgb(255 255 255 / .9);
		overflow: auto;
		-ms-scroll-chaining: none;
		    overscroll-behavior: none;
	}
	.kaiyu_list_box2 {
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
		gap: 20px;
	}
	.kaiyu_list_box2 a {
		width: 292px;
	}
	.kaiyu_list_box2 img {
		width: 100%;
	}
	#btn_kaiyu_close {
		top: -24px;
		right: 25px;
		translate: none;
		width: 48px;
		height: 48px;
		background-size: 38px 38px;
	}

	/* 背景色変更 */
	.color_change #kaiyu_banner,
	.color_change .kaiyu_box,
	.color_change .kaiyu_list {
		background-color: transparent !important;
	}
	.color_black .kaiyu_list_box {
		background-color: rgb(0 0 0 / .9) !important;
	}
	.color_blue .kaiyu_list_box {
		background-color: rgb(0 0 255 / .9) !important;
	}
}
/* ==================================================
スマートフォン ここまで
================================================== */