﻿@charset "utf-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Lugrasimo&family=Noto+Sans+JP:wght@100..900&family=Shippori+Mincho&display=swap');

body{
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 0;
	}


body:before{
	content: '';
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	background-image: url("../images/estpolis/teaser_mainVisual_sky.webp");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	}

@media screen and (max-width: 640px) {
	body:before{background-image: url("../images/estpolis/teaser_mainVisual_sky_sp.webp");}
	}


/*---common---*/
header li{font-family: "Lugrasimo", cursive;}
img{max-width: 100%;}
a{outline: none; text-decoration: none;}
a:hover{transition: all  0.5s ease;}

main p, main li, main table{
	font-size: clamp(0.8rem, 3.7vw, 1rem);
	color: #FFF;
	font-family: "Noto Sans JP", sans-serif;
	}

.small{font-size: 0.8em;}


/*loading_Animation*/
#splash_logo {
    position: absolute;
    top: 47%;
    left: 55%;
    transform: translate(-50%, -50%);
    }

#fountainTextG{width:234px; margin:auto;}

.fountainTextG{
	color:rgb(0,0,0);
	font-family:'DotGothic16', sans-serif;
	font-size:24px;
	text-decoration:none;
	font-weight:normal;
	font-style:normal;
	float:left;
	animation-name:bounce_fountainTextG;
	animation-duration:2.09s;
	animation-iteration-count:infinite;
	animation-direction:normal;
	transform:scale(.5);
    }

#fountainTextG_1{animation-delay:0.75s;}
#fountainTextG_2{animation-delay:0.9s;}
#fountainTextG_3{animation-delay:1.05s;}
#fountainTextG_4{animation-delay:1.2s;}
#fountainTextG_5{animation-delay:1.35s;}
#fountainTextG_6{animation-delay:1.5s;}
#fountainTextG_7{animation-delay:1.64s;}
#fountainTextG_8{animation-delay:1.79s;}
#fountainTextG_9{animation-delay:1.94s;}
#fountainTextG_10{animation-delay:2.09s;}

@keyframes bounce_fountainTextG{
	0%{transform:scale(1); color:rgb(0,0,0);}
	100%{transform:scale(.5); color:rgb(255,255,255);}
    }


/*---animation---*/
.fadein {
    opacity: 0;
    transform: translate(0,0);
    transition: all 0.5s;
	
	&.fadein-left{transform: translate(-30px,0);}
	&.fadein-right{transform: translate(30px,0);}
	&.fadein-up{transform: translate(0,-30px);}
	&.fadein-bottom{transform: translate(0,30px);}
	&.scrollin{opacity: 1 !important; transform: translate(0, 0) !important;}
	}


.fadeUP{
	animation-name:fadeUpAnime;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	opacity: 0;
	}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  	transform: translateY(20px);
  	}

  to {
    opacity: 1;
  	transform: translateY(0);
  	}
}


/*island*/
@keyframes island {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12.5px); }
	}

.island {animation: island 4.5s ease-in-out infinite;}



/*---navi---*/
.hamburger-overlay {
	position: fixed;
	top: 25px;
	right: 25px;
	z-index: 1000;
	width: 50px;
	height: 50px;
	border: none;
	background: transparent;
	cursor: pointer;
	}

.hamburger-overlay__line {
	position: absolute;
	left: 18px;
	width: 30px;
	height: 2px;
	background-color: #FFF;
	transition: all .6s;
	}

.hamburger-overlay__line:nth-of-type(1) {top: 14px;}
.hamburger-overlay__line:nth-of-type(2) {top: 26px;}
.hamburger-overlay__line:nth-of-type(3) {top: 38px;}

.hamburger-overlay.active .hamburger-overlay__line {background-color: #fff;}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {transform: translateY(12px) rotate(-45deg);}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {opacity: 0;}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {transform: translateY(-12px) rotate(45deg);}

.nav-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 40, 0.9);
	visibility: hidden;
	opacity: 0;
	transition: all .6s;
	z-index: 900;
	}

.nav-overlay.active {
	visibility: visible;
	opacity: 1;
	}

.nav-overlay__content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	text-align: center;
	}

.nav-overlay__list {
	margin: 0;
	padding: 0;
	list-style: none;
	}

.nav-overlay__item {
	opacity: 0;
	transform: translateY(20px);
	transition: all .6s;
	}

.nav-overlay.active .nav-overlay__item {
	opacity: 1;
	transform: translateY(0);
	}

.nav-overlay.active .nav-overlay__item:nth-child(1) {transition-delay: 0.1s;}
.nav-overlay.active .nav-overlay__item:nth-child(2) {transition-delay: 0.2s;}
.nav-overlay.active .nav-overlay__item:nth-child(3) {transition-delay: 0.3s;}
.nav-overlay.active .nav-overlay__item:nth-child(4) {transition-delay: 0.4s;}

.nav-overlay__link {
	display: inline-block;
	padding: 20px;
	color: #fff;
	font-size: 24px;
	text-decoration: none;
	transition: color .3s;
	}

.nav-overlay__link:hover {color: #b49a00;}


.lang{
	max-width: 200px;
	margin: 2em auto 0;
	padding: 1.5em 1em;
	border: 2px solid #FFF;
	border-radius: 10px;
	background: rgba(0,0,0,0.35);
	color: #FFF;
	}

.lang p{margin: 0 0 1em; font-size: 1.1em;  color: #ffde00; font-family: "Lugrasimo", cursive;}
.lang ul{max-width: 100px; margin: 1em auto 0; padding: 0; list-style: none; text-align: left!important;}
.lang li{margin: 0; padding: 0.35em 0.5em 0.35em 1em; font-family: "Shippori Mincho", serif!important; font-weight: 600;}
.lang li:before{color:#ffde00; content:"▶"; font-size: 0.75em; margin-left: -1em; margin-right: 0.5em;}
.lang li a{color: #FFF;}
.lang p,.lang li{font-size: clamp(0.6rem, 3.7vw, 0.8rem);}



/*---main visual---*/
#mainVisual{
	margin: auto;
	padding: 0 1em;
	}

#mainVisual > div{
	width: 100%;
	max-width: 1000px;
	min-height: 1200px;
	margin: auto;
	position: relative;
	}


#mainVisual .logo{
	width: 100%;
	padding-top: 20vh;
	display: block;
	position: relative;
	z-index: 2;
	}

#mainVisual .obj{
	width: 25%;
	max-width: 250px;
	position: absolute;
	top: 10vh;
	left: 37%;
	}

#mainVisual h1{
	width: 100%;
    margin: 0;
	height: 0;
	padding-top: 30%;
	background-repeat: no-repeat;
	background-size: contain!important;
	overflow: hidden;
	display: block;
    background-image: url("../images/estpolis/estpolis_logo.webp");
	background-position: top center;
    }

	.en #mainVisual h1{padding-top: 35%; background-image: url("../images/estpolis/lufia_logo.webp");}

#mainVisual h1 + p{
	width: 100%;
    margin: 1em 0 3em;
	height: 0;
	padding-top: 10%;
	background-repeat: no-repeat;
	background-size: contain!important;
	overflow: hidden;
	display: block;
    background-image: url("../images/estpolis/teaser_mainVisual_date.webp");
	background-position: top center;
	}

	.en #mainVisual h1 + p{background-image: url("../images/estpolis/teaser_mainVisual_date_en.webp");}


.platformLogo{max-width: 600px; margin: 1em auto;}


@media screen and (max-width: 640px) {
	#mainVisual > div{min-height: 750px;}
	#mainVisual .logo{padding-top: 25vh;}
	#mainVisual .obj{width: 30%; top: 16.5vh;}
	}



/*StoreLink*/
.StoreLink{
	padding: 1em;
	border-radius: 10px;
	background: rgba(255,255,255,0.25);
	}

.StoreLink h3{
	margin: 1em 0 2em;
	font-size: clamp(0.8rem, 3.7vw, 1rem);
	text-align: center;
	color: rgba(0,0,40,1);
	}

.StoreLink h3, .LinkButton{font-family: "Shippori Mincho", serif!important;}


/*moreLink*/
.LinkButton{margin: 1em 0;}

.LinkButton a {
    max-width: 320px;
    margin: 0 auto;
    padding: 1rem;
    border-radius: 50px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: clamp(1rem, 3.7vw, 1.4rem);
	line-height: 1.5em;
    color: #FFF;
    transition: 0.3s ease-in-out;
    font-weight: bold;
    }

.LinkButton a:after {
    content: "";
    position: absolute;
    top: 50%;
    bottom: 0;
    right: 1.5rem;
    font-size: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s;
    width: 6px;
    height: 6px;
    border-top: solid 3px currentColor;
    border-right: solid 3px currentColor;
    transform: translateY(-50%) rotate(45deg);
    }

.steam a{background: #000;}
.steam a:hover {background: #3e3e3e;}

.LinkButton a:hover:after {right: 1rem;}




/*---contents---*/
#Contents{
	padding: 2em 0;
	background: linear-gradient(to bottom, rgba(0,0,40,0) 0%, rgba(0,0,40,0.65) 38%, rgba(0,0,40,0.85) 100%);
	}

#Contents > div{max-width: 1480px; margin: auto;}
#Contents > div > div{padding-bottom: 10em;}


h2 {
	font-size: clamp(1.8rem, 3.7vw, 2.4rem);
	position: relative;
	padding: 1.5rem;
	margin: 1em 0 2em;
	text-align: center;
	color: #FFF;
	font-family: "Lugrasimo", cursive;
	}

h2 span {
	font-size: clamp(0.5rem, 3.7vw, 1.2rem)!important;
	display: block;
	font-family: "Shippori Mincho", serif!important;
	}

h2:before {
	position: absolute;
	bottom: -10px;
	left: calc(50% - 30px);
	width: 60px;
	height: 3px;
	content: '';
	background: linear-gradient(to right, rgba(187,154,0,0) 0%,rgba(187,154,0,1) 50%,rgba(187,154,0,0) 100%);
	}


/*NEWS*/
.cs-scroll-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 2em;
	}

.cs-scroll-container {max-height: 280px; overflow-y: auto;}

.cs-scroll-list {list-style: none; padding: 0; margin: 0 1em;}

.cs-scroll-item {border-bottom: 1px dashed rgba(255,255,255,0.5);}
.cs-scroll-item:last-child {border-bottom: none;}

.cs-scroll-link {
	display: flex;
	align-items: center;
    padding: 1em 1.5em;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
	}

.cs-scroll-link:hover {background-color: rgba(0,0,40,0.35);}

.cs-scroll-date {
    font-size: 0.9rem;
    color: #FFF;
    margin-right: 20px;
    white-space: nowrap;
	}

.cs-scroll-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFF;
    line-height: 1.5;
	}

.cs-scroll-container::-webkit-scrollbar {width: 8px;}
.cs-scroll-container::-webkit-scrollbar-track {background-color: #f8fafc;}
.cs-scroll-container::-webkit-scrollbar-thumb {background-color: #cbd5e1; border-radius: 4px;}
.cs-scroll-container::-webkit-scrollbar-thumb:hover {background-color: #94a3b8;}

@media screen and (max-width: 640px) {
	.cs-scroll-header {padding: 12px 16px;}
    .cs-scroll-link {flex-direction: column; align-items: flex-start; padding: 16px;}
    .cs-scroll-date {margin-bottom: 6px;}
	}


/*message*/
.MessageList{display: flex; flex-wrap: wrap;}

.Item_Detail{
	flex: 0 1 27%;
	margin: 1em 1.5%;
	padding: 1.5em 1.5%;
	position: relative;
	border-radius: 4px;
	background: radial-gradient(circle, #fbf4e7 0%, #f3dcbc 60%, #dfb887 90%, #bd9361 100%);
	background-image:　linear-gradient(to right, transparent 48%, rgba(94, 61, 29, 0.15) 50%, transparent 52%),radial-gradient(circle, #fbf4e7 0%, #f3dcbc 60%, #dfb887 90%, #bd9361 100%);
	box-shadow: inset 0 0 60px rgba(101, 67, 33, 0.35), inset 0 0 20px rgba(74, 48, 22, 0.25), 0 10px 25px rgba(0, 0, 0, 0.2);
	color: #4a3b2c;
	}

.envelope-border {
	border: 1px solid rgba(101, 67, 33, 0.6);
	outline: 3px double rgba(101, 67, 33, 0.6);
	outline-offset: -8px;
	min-height: 300px;
	padding: 30px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	}

.address-center {width: 90%; text-align: center;}
.address-center p{color: #4e4130; font-family: "Shippori Mincho", serif !important;}

.to-name {
	font-size: clamp(0.8rem, 3.7vw, 1rem);
	font-weight: 600;
	margin: 0 0 12px 0;
	border-bottom: 1px solid rgba(139, 115, 85, 0.4);
	padding-bottom: 8px;
	display: inline-block;
	}

	.to-name br.pc{display: inline-block;}
	.to-name br.sp{display: none;}

.address-text {
	font-size: clamp(0.5rem, 3.7vw, 0.6rem);
	font-style: italic;
	margin: 0 0 30px 0;
	opacity: 0.8;
	line-height: 1.4;
	}


.detail_popup{padding: 1em; font-size: 0.9em;}
.detail_popup > div{
	width: 80vw;
    max-width: 800px;
    margin: auto;
    padding: 1em 1.5em;
    }

.detail_popup h5{
    margin: 1em 0;
    padding: 0.35em 1em;
    font-size: 1em;
    color: #2e66e6;
    }

.parchment {
	position: relative;
	padding: 30px;
	color: #3d2612;
	line-height: 1.8;
	background: radial-gradient(circle, #fbf4e7 0%, #f3dcbc 60%, #dfb887 90%, #bd9361 100%);
	background-image:　linear-gradient(to right, transparent 48%, rgba(94, 61, 29, 0.15) 50%, transparent 52%),radial-gradient(circle, #fbf4e7 0%, #f3dcbc 60%, #dfb887 90%, #bd9361 100%);
	box-shadow: inset 0 0 60px rgba(101, 67, 33, 0.35), inset 0 0 20px rgba(74, 48, 22, 0.25), 0 10px 25px rgba(0, 0, 0, 0.2);
	clip-path: polygon(
		0% 2%, 15% 0%, 30% 1%, 45% 0%, 60% 2%, 75% 1%, 90% 3%, 100% 1%,
		99% 15%, 100% 30%, 98% 45%, 99% 60%, 98% 75%, 100% 90%, 99% 100%,
		90% 98%, 75% 99%, 60% 97%, 45% 99%, 30% 98%, 15% 99%, 0% 97%,
		1% 85%, 0% 70%, 2% 55%, 1% 40%, 0% 25%, 1% 10%
	);}

.letter-frame {
	border: 1px solid rgba(101, 67, 33, 0.4);
	padding: 30px 25px;
	position: relative;
	overflow-y: scroll;
	}

.letter-frame::before {
	content: '';
	position: absolute;
	top: 4px; left: 4px; right: 4px; bottom: 4px;
	border: 2px solid rgba(101, 67, 33, 0.6);
	pointer-events: none;
	}

.letter-content {
	height: 100%;
	padding: 30px 15px;
	overflow-y: auto;
	box-sizing: border-box;
	scrollbar-width: none;
	-ms-overflow-style: none;
	font-family: "Shippori Mincho", serif;
	font-weight: 500;
	}

.letter-content::-webkit-scrollbar {display: none;}

.letter-date {
	text-align: right;
	font-size: 0.75rem;
	opacity: 0.8;
	margin-bottom: 15px;
	}

.letter-signature {
	text-align: right;
	margin-top: 30px;
	font-size: 0.85rem;
	}

.letter-date, .letter-signature{font-family: 'Georgia', 'Times New Roman', 'Shippori Mincho', serif;}


/*moreLink*/
.moreLink{margin: 1em 0;}

.moreLink a {
    max-width: 320px;
    margin: 0;
    padding: 0.75em 1em;
    background: #4e4130;
    border-radius: 30px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 0.9em;
	line-height: 1.5em;
    color: #FFF;
    transition: 0.3s ease-in-out;
    font-weight: bold;
    }

.moreLink a:after {
    content: "";
    position: absolute;
    top: 50%;
    bottom: 0;
    right: 1.5rem;
    font-size: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s;
    width: 6px;
    height: 6px;
    border-top: solid 3px currentColor;
    border-right: solid 3px currentColor;
    transform: translateY(-50%) rotate(45deg);
    }

.moreLink a:hover {background: #64533e; color:#FFF;}
.moreLink a:hover:after {right: 1rem;}

@media screen and (max-width: 1300px) {.Item_Detail{flex: 0 1 44%;}}
@media screen and (max-width: 600px) {.lity-container{vertical-align: inherit; padding-top: 15%;} .MessageList{display: block; padding: 0 2em;}.Item_Detail{padding:1.5em;}}
@media screen and (max-width: 500px) {
	.lity-container{padding-top: 8%;}
	.detail_popup > div{margin: 0 auto; height: 70vh;}
	.envelope-border{min-height: 280px; padding: 20px 20px 15px 20px;}
	.to-name br.pc{display: none;}
	.to-name br.sp{display: inline-block;}
	}



/*---Products---*/
table{
    width: 94%;
    max-width: 960px;
    margin: 2em auto 0;
    border: solid 1px #eee;
    }

th,td{
    padding: 1em;
    border-bottom: solid 1px #eee;
    }

    th{width: 180px; font-weight: normal; border-right: solid 1px #eee; background: rgba(255,255,255,0.15);}
    td > p{margin: 0;}
	tr:last-child th, tr:last-child td{border-bottom: none;}

table ul{margin: 0.25em 0 0.25em 1em; padding: 0;}
table ul > li{padding-bottom: 0.5em;}

@media only screen and (max-width: 500px) {
	table{width: 86%;}
    th, td{display: block;}
    th{width: 93.5%; padding: 0.75em 1em; border-right:none; border-bottom: dotted 1px #eee;}
    td{padding: 1.25em 1em;}
    tr:last-child > td{border-bottom: none;}
    }


/*---footer---*/
footer{
	padding: 2em;
	background: rgba(0,0,40,0.85);
	}

footer > div{
	width: 100%;
	max-width: 1480px;
	margin: auto;
	}

/*SNS*/
#shareBox {
    margin: 10% auto;
	padding: 1em 1em 7em;
	text-align: center;
	position: relative;
	}

	.shareButtons {
		position: absolute;
        top: 0;
		bottom: 0;
		left: calc(45% - 60px);
		display: flex;
		justify-content: space-between;
		width: 270px;
		height: auto;
		margin: 0 auto;
		padding: 0 0 50px;
		clear: none;
		z-index: 88;
		}

    .mainVisual #shareBox {margin-top: 3em;}

	.shareButtons > div > a {
		display: block;
		width: 50px;
		height: 50px;
        margin: 0 20px;
		background-size: contain;
		background: no-repeat top center;
		}

	.shareButtons > div.fbBtn a {background-image: url("https://www.taito.co.jp/Content/images/sns_ico_01_fb.svg");}
	.shareButtons > div.tweetBtn a {background-image: url("https://www.taito.co.jp/Content/images/sns_ico_02_tw.svg");}
	.shareButtons > div.lineBtn a {background-image: url("https://www.taito.co.jp/Content/images/sns_ico_03_line.svg");}

@media only screen and (max-width: 860px) {.shareButtons {left: calc(40% - 60px);}}
@media only screen and (max-width: 480px) {#shareBox {padding: 1em 1em 8em;}.shareButtons {left: calc(30% - 60px);}}


ul.taitoLink{margin: 1em 0 0; padding: 0 0 2em; border-bottom: solid 1px #828282;}
	
ul.taitoLink li{
	font-size: clamp(0.6rem, 3.7vw, 0.9rem);
	margin-right: 1.0em;
	display: inline-block;
	}
	
ul.taitoLink a{color: #FFF;}
ul.taitoLink a:hover{color: #7ecef4;}

.taito{max-width: 150px;}
.platform{padding-bottom: 3em;}
.platform p{margin: 0.25em 0; font-size: 0.7em; color: #FFF;}
.platform p img{width: auto; height: 10px; margin-bottom: -1px; padding: 0 2px; display: inline-block;}
.platform p:last-child{margin-top: 0;  text-align: left!important;}

footer p:last-child{
	margin-top: 2em;
	font-size: 0.8em;
	color: #FFF;
	text-align: center;
	}

@media only screen and (max-width: 480px) {footer{padding: 10% 1.5em;}}


