@charset "utf-8";

.lity-close {
	background-color: #000!important;
	z-index: 9999!important;
}

a {
	text-decoration: none;
}

body {
	position: relative;
	z-index: 1;
}
body::after {
	z-index: -2;
	position: fixed;
	content: '';
	width: 100%;
	height: 100vh;
	background-image: url("../img/bg1.png"), url("../img/bg2.png"), radial-gradient(rgba(159,233,255,.8), rgba(76,190,255,.2)), linear-gradient(180deg, rgba(168, 202, 240, 1), rgba(233, 240, 250, 1));
	background-repeat: no-repeat;
	background-position: left top, right top;
	background-size: contain;
	display: block;
	top: 0;
	left: 0;
}
/*body::after {
	z-index: -2;
	position: fixed;
	content: '';
	width: 100%;
	height: 100vh;
	background-image: url("../img/bg.png"), radial-gradient(rgba(159,233,255,.8), rgba(76,190,255,.2)), linear-gradient(180deg, rgba(168, 202, 240, 1), rgba(233, 240, 250, 1));
	background-repeat: no-repeat;
	background-position: left top;
	background-size: contain;
	display: block;
	top: 0;
	left: 0;
}*/
body::before {
	z-index: -1;
	position: fixed;
	content: '';
	display: block;
	width: 1000px;
	height: 100vh;
	background-color: rgba(255,255,255,.8);
	top: 0;
	left: calc(50% - 500px);
}
body.top2::after {
	z-index: -2;
	position: fixed;
	content: '';
	width: 100%;
	height: 100vh;
	background-image: url("../img/bg1.png"), url("../img/bg2.png"), radial-gradient(rgba(159,233,255,.8), rgba(76,190,255,.2)), linear-gradient(180deg, rgba(168, 202, 240, 1), rgba(233, 240, 250, 1));
	background-repeat: no-repeat;
	background-position: left top, right top;
	background-size: contain;
	display: block;
	top: 0;
	left: 0;
}
.ct {
	width: 100%;
	max-width:1000px;
	margin: 0 auto;
	padding: 0 50px;
	/*background-color: rgba(255,255,255,.8);*/
}
#topnav .ct {
	background-color: transparent;
}
#main .ct {
	padding: 30px 50px 1px;
}
#footer .ct {
	background-color: transparent;
}
@media (max-width:480px) {
	.ct,#main .ct {
		padding-left: 20px;
		padding-right: 20px;
	}
}


#nav .btnbox {
	position: fixed;
	right: 0;
	top: 0;
	z-index: 95;
}
#popup {
	background-color: #fff;
	padding: 30px 30px 60px;
}
#popup h1 img {
	max-height: 20vh;
}
#popup ul li {
	text-align: center;
	padding: 40px 20px 0;
}
#popup ul li a {
	font-size: 200%;
	line-height: 1;
	font-weight: 900;
	letter-spacing: -0.05em;
	color: #111;
}



#hdlogo {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	background-color: #000;
	height: 60px;
	padding-left: 5px;
	z-index: 90;
}
#hdlogo h1 img {
	max-height: 60px;
}



#header {
	border-bottom: 4px solid #000;
}
#header:not(.top) {
	padding-top: 60px;
	background-repeat: no-repeat;
	background-position: center center;
}
#header:not(.top) .ct {
	min-height: 150px;
	position: relative;
	overflow-x: visible;
	padding: 0 50px;
}
#header.header01 {
	background-image: url("../img/hdbg1.png");
}
#header.header02 {
	background-image: url("../img/hdbg2.png");
}
#header.header03 {
	background-image: url("../img/hdbg3.png");
}
#header.header04 {
	background-image: url("../img/hdbg4.png");
}
#header.header05 {
	background-image: url("../img/hdbg5.png");
}

@media (max-width:1000px) {
	#header:not(.top) {
		background-position: center right -100px;
	}
}
@media (max-width:767px) {
	#header:not(.top) {
		background-position: center right -120px;
	}
}
@media (max-width:640px) {
}
@media (max-width:320px) {
}
#header:not(.top) p {
	position: absolute;
	bottom: 10px;
	left: 30px;
	font-size: 240%;
	font-weight: 900;
	color: #111;
}



#topnav {
	background-color: #000;
	border-bottom: 4px solid #000;
}
#topnav ul {
	display: flex;
	justify-content: center;
}
#topnav ul li {
	/*width: calc(100% / 5);*/
}
#topnav ul li a {
	display: block;
	color: #fff;
	text-align: center;
	font-weight: 600;
	text-decoration: none;
	border-right: 1px solid #666;
	padding: 0 30px;
}
#topnav ul li a:first-child {
	border-left: 1px solid #666;
}


#main article > div {
	margin-bottom: 60px;
}
@media (max-width:480px) {
	#main article > div {
		margin-bottom: 30px;
	}
	#topnav ul { 
		display: none;
	}
}




#footer {
	background-color: #000;
	font-size: 80%;
	color: #eee;
}
#footer .ct {
	padding-bottom: 30px;
}
#footer .ct p {
	text-align: center;
	margin-bottom: 1em;
}
@media(max-width:480px) {
	#footer .ct p.attention {
		text-align: left;
	}
}
.social {
	display: flex;
	justify-content: center;
	padding: 30px 0;
}
.social li {
	width: 80px;
}
#bnrbox {
	margin-bottom: 30px;
}
#bnrbox ul {
	display: flex;
	justify-content: center;
}
#bnrbox ul li {
	width: calc(100% / 3);
	text-align: center;
	padding: 0 10px;
}
@media (max-width:480px) {
	#bnrbox ul {
		flex-wrap: wrap;
	}
	#bnrbox ul li {
		width: calc(100% / 1);
		padding: 5px 10px;
	}
}
#bnrbox ul li a {
	color: #eee;
	display: block;
	border: 1px solid #666;
	border-radius: 3px;
	text-align: center;
	padding: 5px 0;
}


.attention {
	font-size: 80%;
}
.attention li {
	margin-left: 1.2em;
}
.attention li::before {
	content: '※';
	display: inline-block;
	width: 1.2em;
	margin-left: -1.2em;
	text-align: left;
}



.navi ul {
	padding: 60px 0;
	display: flex;
	justify-content: space-between;
}
.navi ul.single {
	justify-content: center;
}
.navi ul li a {
	display: block;
	text-align: center;
	text-decoration: none;
	line-height: 1;
	background-color: #111;
	color: #fff;
	border-radius: 3px;
}
.navi ul li span {
	display: block;
	text-align: center;
	text-decoration: none;
	line-height: 1;
	color: #ccc;
}
@media screen and (min-width:1024px) {
	.navi ul {
		padding: 60px 0;
	}
	.navi ul li a,
	.navi ul li span {
		padding: .5em 15px;
	}
}
@media screen and (min-width:640px) and (max-width:1023px) {
	.navi ul {
		padding: 60px 0;
	}
	.navi ul li a,
	.navi ul li span {
		padding: .5em 10px;
	}
}
@media screen and (max-width:639px) {
	.navi ul {
		padding: 60px 0;
	}
	.navi ul li a,
	.navi ul li span {
		padding: .5em 10px;
	}
}
@media screen and (max-width:319px) {
	.navi ul {
		flex-wrap: wrap;
	}
	.navi ul li.home {
		order:2;
		width: 100%;
		margin-top: 20px;
	}
}
a.bnrlink {
	display: block;
	padding: 3px 10px;
	text-align: center;
	border-radius: 2em;
	width: 100%;
	margin: 0 auto;
	font-weight: 600;
}
