@charset "utf-8";
/* CSS Document */

html {overflow-x: hidden;}

body { 
	overflow-x: hidden;
	text-align: center;
	font-size: 16px;
	font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
	font-style: normal;
	font-weight: normal;
	line-height: 1.6;
	color: #333;
	-webkit-tap-highlight-color: transparent;
}
img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}
figure {margin: 0;}

* {outline: none;}

.pc {display: block;}
img.pc {display: inline;}
.sp {display: none;}
img.sp {display: none;}

button {
	padding: 0;
	border: none;
	background: transparent;
}


@media screen and (min-width: 501px) {

	a, button {transition: opacity 0.5s;}
	a:hover, button:hover {opacity: 0.6;}

}

@media screen and (max-width: 500px) {

	body {font-size: 14px;}

	.pc {display: none;}
	img.pc {display: none;}
	.sp {display: block;}
	img.sp {display: inline;}

}

#wrap {
	overflow: hidden;
	position: relative;
}

/* header */
header{
	background: #ba0d68;
}

/* main */
main {
	display:block;
	max-width: 1029px;
	margin: 0 auto;
	background: #fff url(../img/bg.png) repeat-y 50% 0;
	background-size: 100%;
}
.terms {
	padding: 0 3em 1em;
}
.terms > div {
	overflow-y: auto;
	max-width: 790px;
	max-height: 540px;
	margin: 0 auto;
	padding: 0.5em;
	border: solid 2px #c6c6c6;
	text-align: left;
}
.terms p {
	margin-bottom: 2em;
}
.terms p.hl {
	margin-bottom: 0.5em;
	font-weight: bold;
}
.terms p.ld {
	margin-bottom: 0.5em;
}
.terms ul.num {
	margin-bottom: 2em;
	padding-left: 3em;
	text-indent: -3em;
}
.terms ul.num2 {
	margin-bottom: 2em;
	padding-left: 1em;
	text-indent: -1em;
}
.terms > div > ul ul {
	padding-left: 1em;
	text-indent: -1em;
}
.terms li {
	margin: 0.5em 0;
}
.check {
	padding: 1em;
}
.check input {
	margin-right: 0.75em;
}
.btn1 {
	position: relative;
	padding: 1em 2em;
}
.btn1::after {
	content: '';
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: calc(100% - 4em);
	height: calc(100% - 2em);
	margin: 1em 2em;
	background: rgba(255,255,255,0.75);
}
.btn1.on::after {
	content: none;
}
.btn1 button {
	width: 100%;
}
.att {
	padding: 0 1em 1.5em;
	font-size: 0.875em;
	color: #f00;
}
.btn2 {
	text-align: left;
	margin-left: 5em;
}

@media screen and (max-width: 500px) {

	main {
		background: #fff url(../img/bg_sp.png) repeat-y 50% 0;
		background-size: 100%;
	}
	.terms {
		padding: 0 1.5em;
		font-size: 0.9em;
	}
	.terms > div {
		max-height: 240px;
	}
	.btn2 {
		text-align: center;
		margin-left: 0;
	}

}

/* footer */
footer {
	background: #ed63a0;
}

/* overlay */
.overlay {
	position: fixed;
	display: none;
	justify-content: center;
	align-items: center;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,0.5);
}
.overlay > div {
	opacity: 0;
	max-width: 1168px;
	width: 100%;
	margin: 0 2em;
	background: #fff url(../img/bg2.png) repeat-y 50% 0;
	background-size: 100%;
}
.overlay ul {
	display: flex;
	justify-content: center;
	margin: 0 5em;
}
.overlay ul li {
	width: 100%;
}

@media screen and (max-width: 500px) {

	.overlay ul {
		flex-wrap: wrap;
	}
	.overlay li {
		flex-basis: 50%;
		max-width: 50%; /* ie */
		margin: 0.5em 0;
	}


}