@charset "UTF-8";

/*------------------------------------------------*/
#bg {
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	z-index: 0;
	background: var(--color_base);
}
#bg picture {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--color_base);
}
#bg picture img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}
/*------------------------------------------------*/
main#main-contents {
	min-height: 100dvh;
	position: relative;
	z-index: 5;
	text-align: center;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}
#sec-main {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 65px 0 0;
}
#sec-main .logo {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	max-height: 60dvh;
	min-height: 350px;
}
@media screen and (max-width: 750px) {
	#sec-main {
		padding-top: 0;
	}
	#sec-main .logo {
		transform:scale(0.75);/*0.82*/
		transform-origin: center top;
		max-height: none;
		margin-bottom: -80px;
	}
}
#sec-main .logo .s1 {
	margin-bottom: -6px;
}
#sec-main .logo h1 {
	width: 274px;
	height: 234px;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}
#sec-main .logo h1::after {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
	background: url("/assets/images/logo_m2.svg") center center no-repeat;
}
#sec-main .logo .s2 {
	margin-top: 6px;
}

/*------------------------------------------------*/
#sec-main .wrap-text {
	margin-top: 40px;
	margin-bottom: 20px;
}
#sec-main .text {
	font-size: 16px;
	line-height: 2;
}
#sec-main #days {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 20px;
	margin-bottom: 15px;
}
#sec-main #days > div {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	line-height: 1;
	background: url("/assets/images/days.svg") center center no-repeat;
	transform: rotate(-5deg);
	width: 227px;
	height: 46px;
	padding: 0 0 2px 7px;
}
#sec-main #days > div span {
	font-size: 40px;
	line-height: 1;
	margin: 0 5px 5px;
}
#sec-main #days > div p {
	font-size: 22px;
	line-height: 1;
	white-space: nowrap;
	margin: 0 0 3px;
}
#sec-main .text .spv1 {
	display: none;
}
#sec-main .text .spv2 {
	display: none;
}
@media screen and (max-width: 750px) {
	#sec-main #days {
		transform: scale(0.95);
		transform-origin: center bottom;
		margin-bottom: 0;
	}
	#sec-main .wrap-text {
		margin-top: 0;
		margin-bottom: 0;
	}
	#sec-main .text {
		font-size: 13px;
		line-height: 1.8;
	}
}
/*------------------------------------------------*/
#sec-bottom {
	overflow-y: hidden;
}
#sec-bottom .inner {
	width: 354px;
	height: 90px;
}
#sec-bottom #message {
	position: absolute;
	right: 40px;
	bottom: 20px;
	min-width: 270px;
	min-height: 53px;
	padding: 5px 15px;
	background: #fff;
	color: var(--color_base);
	border: 1px solid #000;
	border-radius: 27px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 12px;
	line-height: 1.4;
}
#sec-bottom #message::after {
	content: '';
	width: 14px;
	height: 14px;
	position: absolute;
	right: -3px;
	bottom: 4px;
	z-index: 1;
	background: url("/assets/images/bal.png") right bottom/contain no-repeat;
}
#sec-bottom #hapi {
	position: absolute;
	right: 0;
	bottom: -12px;
	width: 40px;
	height: 61px;
	overflow: hidden;
}
#sec-bottom #hapi img {
	display: none;
	width: 40px;
	position: absolute;
}
#sec-bottom #hapi img.show {
	display: block;
}
@media screen and (max-width: 750px) {
	#sec-bottom #message {
		min-height: 45px;
	}
	#sec-bottom #message::after {
		right: -4px;
		bottom: 2px;
	}
}
/*------------------------------------------------*/
#copyright {
	position: fixed;
	z-index: 3;
	right: 21px;
	top: 0;
	bottom: 0;
	height: 11px;
	margin: auto 0;
	transform: translateX(50%) rotate(-90deg);
	font-size: 11px;
	font-weight: 400;
	color: #fff;
}
/*------------------------------------------------*/
/*------------------------------------------------*/
#bg > ul,
#copyright {
	opacity: 0;
	transition: opacity 1.5s 2.2s;
}
.start #bg > ul,
.start #copyright {
	opacity: 1;
}
#bg picture img {
	opacity: 1;
	transition: opacity 1.5s 3.5s;
}
.start #bg picture img {
	opacity: 0.75;
}
#sec-main .logo .s1 {
	opacity: 0;
	transform: scale(0.6) translateY(50%);
	transform-origin: center bottom;
	transition: 0.4s 1.6s;
}
.ready #sec-main .logo .s1 {
	opacity: 1;
	transform: scale(1) translateY(0%);
}
#sec-main .logo .s2 {
	opacity: 0;
	transform: scale(0.4) translateY(-50%);
	transform-origin: center top;
	transition: 0.4s 1.6s;
}
.ready #sec-main .logo .s2 {
	opacity: 1;
	transform: scale(1) translateY(0%);
}
#sec-main .logo h1 img {
	opacity: 0;
}
.ready #sec-main .logo h1 img {
	opacity: 1;
	transition: opacity 0.6s 1.2s;
}
#sec-main .logo h1::after {
	opacity: 0;
	will-change: transform;
}
.ready #sec-main .logo h1::after {
	animation: bounce1 1.4s 0.5s forwards;
}
@keyframes bounce1 {
	0% {
		transform: scale(0.27);
		opacity: 0;
	}
	10% {
		opacity: 1;
		transform: scale(0.3);
	}
	20% {
		transform: scale(0.27);
	}
	30% {
		transform: scale(0.3);
	}
	50% {
		transform: scale(0.27);
	}
	65% {
		transform: scale(1.3,1.2);
	}
	75% {
		transform: scale(0.96);
	}
	85% {
		transform: scale(1.03,1.01);
	}
	95% {
		transform: scale(0.99);
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

/*@keyframes bounce1 {
	0% {
		transform: scale(0.2);
		opacity: 0;
	}
	15% {
		opacity: 1;
	}
	25% {
		transform: scale(1.3,1.2);
	}
	45% {
		transform: scale(0.96);
	}
	65% {
		transform: scale(1.03,1.01);
	}
	85% {
		transform: scale(0.99);
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}*/

#hapi-fall {
	position: fixed;
	z-index: 10;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 350px;
	pointer-events: none;
	transform: translateY(-100vh);
	will-change: transform;
}
#hapi-fall img {
	display: block;
	margin-left: auto;
	width: 37px;
}
.start #hapi-fall {
	animation: fall 3s 4.8s ease-out forwards;
}
@keyframes fall {
	0% {
		transform: translateY(-100vh);
	}
	99.99% {
		transform: translateY(70px);
		opacity: 1;
	}
	100% {
		transform: translateY(70px);
		opacity: 0;
	}
}
/*------------------------------------------------*/
#sec-main .wrap-text {
	opacity: 0;
	transition: opacity 1.3s 3.7s;
}
.start #sec-main .wrap-text {
	opacity: 1;
}

#sec-bottom #hapi {
	transform: translateY(100%);
	transition: transform 0.5s;
}
#sec-bottom #hapi.view {
	animation: hapi_view 0.7s forwards;
}
@keyframes hapi_view {
	0% {
		transform: translateY(100%);
		transition-timing-function: ease-out;
	}
	50% {
		transform: translateY(-8px);
		transition-timing-function: ease-out;
	}
	100% {
		transform: translateY(0);
		transition-timing-function: ease-in;
	}
}

#sec-bottom #message {
	transform: scale(0);
	transform-origin: right bottom;
	transition: transform 0.2s;
}
#sec-bottom #message.open {
	transform: scale(1);
	transition: transform 0.3s;
}
#sec-bottom #message ul li {
	display: none;
}
#sec-bottom #message ul li.on {
	display: block;
}
/*------------------------------------------------*/


