@charset "utf-8";

/* おすすめ情報（回遊ボタン） */
#kaiyu_banner {
	position: fixed;
	left: 0px;
	bottom: 0px;
	z-index: 10000;
	width: 100%;
	pointer-events: none;
}

.kaiyu_box {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: nowrap;
	    flex-wrap: nowrap;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: end;
	    -ms-flex-align: end;
	        align-items: flex-end;
}

.kaiyu_ttl {
	display: block;
	width: 100%;
	pointer-events: none;
	margin-inline: auto;
	position: fixed;
	z-index: 10001;
}

.open .kaiyu_ttl{
	display: none;
}

#btn_kaiyu_open {
	display: block;
	width: 250px;
	height: auto;
	min-height: 60px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	border: none;
	border-radius: 0;
	background: #3c9eb3;
	color: #000;
	font-size: 2rem;
	font-weight: bold;
	line-height: 1;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	-webkit-transition: opacity 0.5s;
	-o-transition: opacity 0.5s;
	transition: opacity 0.5s;
	border-radius: 15px 15px 0px 0px;
	margin-inline: auto;
	pointer-events: auto;
	position: relative;
}
#btn_kaiyu_open::after{
	content: '';
	display: block;
	width: 31px;
	height: 26px;
	background: url(/img/common/icon-kaiyu-open.png);
	position: absolute;
	top: -15px;
	right: 0px;
}
#btn_kaiyu_open:hover {
	opacity: 0.75;
}
#btn_kaiyu_open span{
	filter: invert(1) drop-shadow(0px 0px 1px black);
}

.kaiyu_list {
	display: none;
	background: rgba(51,51,51,0.6);
	color: #fff;
	padding: 0;
	/* padding-bottom: 80px; */
	width: 100%;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	pointer-events: auto;
}
#kaiyu_banner.open .kaiyu_list {
	display: block;
}

.kaiyu_list_box {
	position: relative;
	padding: 20px 20px 80px;
	text-align: center;
}
.kaiyu_list_box2 {
	margin: 0px;
	padding: 0px;
	display: flex;
	    flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}
.kaiyu_list_box2 a {
	display: block;
	width: 300px;
	margin: 0;
}
.kaiyu_list_box2 img {
	display: block;
	width: 100%;
	height: auto;
}

#btn_kaiyu_close {
	display: grid;
	place-content: center center;
	width: 250px;
	height: 60px;
	margin: 0px;
	padding: 0px;
	border: none;
	background: #333;
	color: #ffffff;
	cursor: pointer;
	position: absolute;
	bottom: 0;
	left: calc(50% - 125px);
	border-radius: 30px 30px 0px 0px;
}
#btn_kaiyu_close span{
	display: grid;
	grid-template-columns: auto 13px;
	align-items: center;
	gap: 10px;
}
#btn_kaiyu_close span::after{
	content: '';
	display: block;
	width: 13px;
	height: 13px;
	background: url(/img/common/icon-close-w.png);
}

/* 背景色変更時 */
.color_change #kaiyu_banner {
	outline: 1px solid rgba(255, 255, 255, 0.5);
}

.color_change{
	& #btn_kaiyu_open span{
		filter: none;
	}
}

/* ==================================================
スマートフォン
================================================== */
@media screen and (max-width: 670px) {

	.kaiyu_box{
		display: block;
		width: 100%;
		height: 100%;
	}
	.kaiyu_list_box{
		height: 100%;
		box-sizing: border-box;
		/* display: grid; */
		/* place-content: center center; */
		overflow-y: auto;
		margin-block: auto;
	}
	.kaiyu_list_box2 {
		height: 100%;
		align-items: safe center;
		align-content: center;
		overflow-y: auto;	
	}
	.kaiyu_ttl {
		width: 25vw;
		right: 0;
		bottom: 0;
		left: auto;
		top: auto;
	}
	#btn_kaiyu_close{
		position: fixed;
		top: auto;
		right: auto;
		bottom: 0;
		left: 0;
		width: 100%;
		border-radius: 0;
		height: 70px;
	}
	#btn_kaiyu_close span{
		display: grid;
		grid-template-columns: auto;
		grid-template-rows: auto auto;
	}
	#btn_kaiyu_close span::before{
		content: '';
		display: block;
		width: 20px;
		height: 20px;
		background: url(/img/common/icon-close-white.png) no-repeat center center;
		background-size: 20px 20px;
		margin-inline: auto;
	}
	#btn_kaiyu_close span::after{
		display: none;
	}

	#btn_kaiyu_open {
		font-size: 1.2rem;
		line-height: 1.6rem;
		padding: 14px 0px;
		/* border-radius: 0; */
		width: 25vw;
		height: 70px;
		border-radius: 15px 0px 0px 0px;
	}
	#btn_kaiyu_open span{
		/* display: none; */
	}

	#kaiyu_banner.open .kaiyu_list {
		display: block;
		max-width: none;
		height: 100%;
	}
	.kaiyu_list {
	}

}
/* ==================================================
スマートフォン ここまで
================================================== */