@charset "utf-8";

#kaiyu_banner {
	position: fixed;
	left: 10px;
	bottom: 10px;
	z-index: 90;
}
.kaiyu_box {
	position: relative;
}
.kaiyu_ttl {
	position: relative;
	z-index: 2;
	width: 130px;
}
#btn_kaiyu_open {
	position: relative;
	display: block;
	color: #000;
	width: 130px;
	height: 130px;
	border-radius: 100%;
	background: #87ae3f;
}
#btn_kaiyu_open::before {
	content: "";
	position: absolute;
	bottom: 25px;
	left: 27px;
	z-index: 1;
	display: block;
	width: 97px;
	height: 154px;
	background: url(/img/common/nezucon.png) no-repeat center / contain;
}
#btn_kaiyu_open img {
	position: relative;
	z-index: 2;
}
.kaiyu_list {
	position: absolute;
	bottom: 0;
	left: 65px;
	z-index: 1;
	visibility: hidden;
	width: -webkit-max-content;
	width: -moz-max-content;
	width: max-content;
	max-width: calc(100vw - 20px - 65px - 25px - 17px);
}
#kaiyu_banner.open .kaiyu_list {
	visibility: visible;
}
.kaiyu_list_box {
	position: relative;
	background: #addf51;
	padding: 15px 50px 15px calc(65px + 20px);
}
.kaiyu_list_box::before {
	content: "";
	opacity: 0;
	position: absolute;
	bottom: 55px;
	right: 0;
	right: 66px;
	z-index: 1;
	display: block;
	width: 114px;
	height: 124px;
	background: url(/img/common/nezucon2.png) no-repeat center / contain;
}
.kaiyu_list_box2 {
	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: end;
	    -ms-flex-align: end;
	        align-items: flex-end;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	gap: 15px;
	max-height: calc(100vh - 20px);
	overflow: auto;
}
.kaiyu_list_box2 a {
	display: block;
}
.kaiyu_list_box2 img {
	border: 1px solid #b7b7b7;
	border-radius: 10px;
}
#btn_kaiyu_close {
	position: absolute;
	bottom: 0;
	right: -25px;
	z-index: 3;
	display: block;
	width: 50px;
	height: 50px;
	border-radius: 100%;
}
@-webkit-keyframes jumping {
	0%   {translate: 0 0;}
	50%  {translate: 0 -10px;}
	100% {translate: 0 0;}
}
@keyframes jumping {
	0%   {translate: 0 0;}
	50%  {translate: 0 -10px;}
	100% {translate: 0 0;}
}
@-webkit-keyframes teleport {
	0%   {opacity: 1; -webkit-transform: translateX(0); transform: translateX(0);}
	10%  {opacity: 0.3;}
	11%  {opacity: 0; -webkit-transform: translateX(100%); transform: translateX(100%);}
	100% {opacity: 0; -webkit-transform: translateX(100%); transform: translateX(100%);}
}
@keyframes teleport {
	0%   {opacity: 1; -webkit-transform: translateX(0); transform: translateX(0);}
	10%  {opacity: 0.3;}
	11%  {opacity: 0; -webkit-transform: translateX(100%); transform: translateX(100%);}
	100% {opacity: 0; -webkit-transform: translateX(100%); transform: translateX(100%);}
}
@-webkit-keyframes teleport2 {
	0%   {opacity: 0; -webkit-transform: translateX(0); transform: translateX(0);}
	10%  {opacity: 0.3;}
	11%  {opacity: 1; -webkit-transform: translateX(100px); transform: translateX(100px);}
	100% {opacity: 1; -webkit-transform: translateX(100px); transform: translateX(100px);}
}
@keyframes teleport2 {
	0%   {opacity: 0; -webkit-transform: translateX(0); transform: translateX(0);}
	10%  {opacity: 0.3;}
	11%  {opacity: 1; -webkit-transform: translateX(100px); transform: translateX(100px);}
	100% {opacity: 1; -webkit-transform: translateX(100px); transform: translateX(100px);}
}
@media (hover: hover) {
	#btn_kaiyu_open:hover::before {
		-webkit-animation: jumping .2s ease-out 0s 2 backwards;
		        animation: jumping .2s ease-out 0s 2 backwards;
	}
}
@media screen and (min-width: 1081px) {
	#kaiyu_banner.open .kaiyu_list_box::before {
		-webkit-animation: teleport2 1s ease-out forwards;
		        animation: teleport2 1s ease-out forwards;
	}
	#kaiyu_banner.open #btn_kaiyu_open::before {
		-webkit-animation: teleport 1s ease-out forwards;
		        animation: teleport 1s ease-out forwards;
	}
}

/* ==================================================
スマートフォン
================================================== */
@media screen and (max-width: 1080px) {
	#kaiyu_banner {
		left: 0;
		bottom: auto;
		top: 100%;
		z-index: 200;
		width: 100%;
		height: 100vh;
		height: 100dvh;
		background: #addf51;
		-webkit-transition: .5s translate;
		transition: .5s translate;
		overflow: auto;
		-ms-scroll-chaining: none;
		    overscroll-behavior: none;
	}
	.spm_kaiyu_open #kaiyu_banner {
		translate: 0 -100%;
	}
	.kaiyu_box {
		position: static;
		height: calc(100% + 1px);
		padding: 0 0 70px;
	}
	.kaiyu_ttl {
		display: none !important;
	}
	.kaiyu_list {
		position: static;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		visibility: visible;
		width: auto;
		max-width: none;
		height: 100%;
		overflow: auto;
	}
	.kaiyu_list_box {
		max-width: 300px;
		margin: 0 auto;
		background: none;
		padding: 90px 0 0;
		max-height: 100%;
	}
	.kaiyu_list_box::before {
		opacity: 1;
		bottom: auto;
		top: 0;
		right: -31px;
	}
	.kaiyu_list_box2 {
		display: block;
		max-height: none;
		overflow: visible;
	}
	.kaiyu_list_box2 a + a {
		margin-top: 20px;
	}
	.kaiyu_list_box2 a {
    	margin-top: 20px;
	}
	#btn_kaiyu_close {
		position: static;
		margin: 36px auto 0;
	}
}
/* ==================================================
スマートフォン ここまで
================================================== */

/* ==================================================
背景色変更
================================================== */