﻿/*--- ENTER ---*/
/* common */
html, body {
	width: 100%;
	height: 100%;
}
html {
	font-size: 62.5%;
}
body {
	text-align: center;
	color: #000;
	padding-bottom: 0;
	background: #FFF;
	font-size: 1.4rem;
	line-height: 2.4rem;
	font-family: 'Noto Sans JP', sans-serif;
	word-wrap: break-word; */
	-webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
img { width: 100%; }
a { color: #000; }
a:hover, a:focus { /* FireFox */
	overflow: hidden;
	outline: none;
}
.flex {
	display:-webkit-box;
	display:-moz-box;
	display:-webkit-flexbox;
	display:-moz-flexbox;
	display:-ms-flexbox;
	display:-webkit-flex;
	display:-moz-flex;
	display:flex;
	-webkit-box-lines:multiple;
	-moz-box-lines:multiple;
	-webkit-flex-wrap:wrap;
	-moz-flex-wrap:wrap;
	-ms-flex-wrap:wrap;
	flex-wrap:wrap;
}

header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 1;
}
.logo {
	width: 100%;
	align-items: center;
	justify-content: center;
}
.logo img {
	max-width: 500px;
	height: auto;
	animation: falsh 5s infinite;
}
@keyframes falsh {
	0% {filter: brightness(1);}
	49% {filter: brightness(1);}
	50% {filter: brightness(1.25);}
	65% {filter: brightness(1);}
	100% {filter: brightness(1);}
}

main {
	position: relative;
}

/* slide */
.infiniteslide ul,
.infiniteslide2 ul {
	flex-wrap: nowrap;
	overflow: hidden;
}
.infiniteslide li,
.infiniteslide2 li {
	display: block;
}
.infiniteslide li img,
.infiniteslide2 li img {
	width: auto;
}

.enterArea {
	position: absolute;
	width: 100%;
	color: #000;
	padding: 10px 0;
	background: rgba(255, 255, 255, .9);
}
.enterBtn a {
	justify-content: center;
	align-items: center;
	max-width: 600px;
	width: 90%;
	height: 50px;
	font-family: 'Cabin', sans-serif;
	font-weight: bold;
	font-size: 2.5rem;
	background: #ffafaf;
	letter-spacing: 1px;
	margin: 10px auto;
}
.cautionText {
	align-items: center;
	justify-content: center;
	text-align: left;
	font-size: 1.2rem;
	line-height: 1.25;
	width: 90%;
	margin: 0 auto;
}
.cautionText img {
	width: 50px;
	height: auto;
	margin-right: 10px;
}

.area {
	margin: 10px;
}
.area dl {
	position: relative;
	display: inline-block;
	max-width: 600px;
	border: 1px solid #000;
	border-radius: 10px;
	padding: 40px 20px 10px;
	margin-top: 10px;
	overflow: hidden;
}
.area h2 {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	color: #FFF;
	background: #000;
	height: 30px;
	line-height: 30px;
	font-weight: bold;
	letter-spacing: .5em;
}
.area dt {
	font-weight: bold;
	letter-spacing: .25em;
	border-bottom: 1px solid #000;
}
.area dd {
	text-align: left;
	margin-bottom: 10px;
}

/* banner box */
.bannerBox {
	position: relative;
	padding: 50px 0;
	background: #FFF;
	z-index: 3;
}
.bannerBox ul {
	align-items: center;
	justify-content: center;
	font-size: 0;
	max-width: 1100px;
	width: 90%;
	margin: 0 auto;
}
.banner_S {
	flex-direction: row;
}
.banner_M, .banner_L {
	flex-direction: column;
}
.bannerBox ul+ul {
	margin-top: 25px;
}
.bannerBox li {
	display: inline-block;
	width: fit-content;
	height: auto;
	line-height: 0;
}
.banner_M li + li, .banner_L li + li {
	margin-top: 10px;
}
.bannerBox img{
	width: 100%;
	height: auto;
}


/* FOOTER */
footer {
	position: relative;
	width: 100%;
	background: #000;
	z-index: 3;
}
footer * {
	color: #FFF;
}

/*--- PC style ---*/
@media screen and (min-width: 769px) {
	.banner_S li + li {
		margin-left: 10px;
	}
	.logo {
		height: 100vh;
	}
	/* slide */
	.infiniteslide ul {
		height: 100vh;
	}
	.infiniteslide li img {
		height: 100vh;
	}

	.enterArea {
		bottom: 0;
		z-index: 3;
	}

	.pc_tel {
		font-size: 2.5rem;
		font-weight: bold;
		padding: 10px;
	}

}

/*--- SP style ---*/
.sp_view { display: none; }
@media screen and (max-width: 768px) {
	/* common */
	.pc_view { display: none; }
	.sp_view { display: block; }
	.sp_block { width: 93.7%; margin: 0 auto; }

	/* slide */
	.infiniteslide2 ul {
		flex-direction: row-reverse;
	}
	.infiniteslide ul,
	.infiniteslide2 ul {
		height: 50vh;
	}
	.infiniteslide li img,
	.infiniteslide2 li img {
		height: 50vh;
	}
	.logo {
		align-items: flex-end;
		height: 50vh;
	}
	.logo img {
		width: 95vw;
	}
	.enterArea {
		top: calc(50% + 50px);
		width: calc(100vw - 20px);
		margin: 10px 10px;
		border-radius: 10px;
	}

	.pattern {
		background: none;
	}
	.cautionText span {
		font-size: 2.5vw;
	}
	.bannerBox {
		padding: 15px 0;
	}
	.bannerBox ul+ul {
			margin-top: 15px;
	}
	/* FOOTER */
	footer {
		font-size: 1rem;
	}
	.ffn {
		position: fixed;
		top: 5px;
		right: 5px;
		height: 60px;
		width: 60px;
		background: #ffe164;
		border-radius: 10px;
	}
	.ffn a ,.ffn i {
		font-size: 3rem;
		color: #000;
		line-height: 60px;
	}
}


/*モーダル*/
.modal-open{
	display: inline-block;
	background-color: #666;
	color: #fff;
	margin: 10px;
}

.modal-open a{
	display: inline-block;
	padding: 5px;
	text-decoration: none;
	color: #fff;
}
	.modal{
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
}
.modal:not(:target) {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s, visibility 0.5s;
}
.modal:target{
	opacity: 1;
	visibility: visible;
	transition: opacity 0.5s, visibility 0.5s;
	z-index: 10;
}
.modal .overlay{
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: #000;
	opacity: 0.7;
	top: 0;
	left: 0;
}
.modal-wrapper{
	width: 100%;
	max-width: 320px;
	min-width: 300px;
	max-height: 350px;
	background-color: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.modal-contents{
	overflow: auto;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	position: relative;
}
.modal-content{
	margin: 25px;
}
.modal-close{
	position: absolute;
	top: 5px;
	right: 10px;
	text-decoration: none;
}