@charset "UTF-8";

/* CSS Document */

@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);

/* Scss Document */

html {
	height: 100%;
	}

body {
	display: flex;
	height: 100vh;
	flex-direction: column;
	padding: 50px 0 0 0;
	background: #fff;
}
@media screen and (max-width: 768.98px) {
body {
	padding: 60px 0 0 0;
	}
}

/* =============== nav =============== */

.inner {
	max-width: 1400px;
	margin: 0 auto;
}

.inner:after {
	content: "";
	clear: both;
	display: block;
}


/* header */

#top-head {
  position: absolute;
  top: -100px;
	width: 100%;
	height: 50px;
  margin: 100px auto 0;
	padding: 0;
	font-size: 14px;
	line-height: 1;
	z-index: 999;
	background: #fff;
}

#top-head a, #top-head {
	color: #333;
	text-decoration: none;
}

#top-head .inner {
	position: relative;
}

#top-head .logo {
	position: absolute;
	left: 10px;
	top: 5px;
	display: block;
	width: 200px;
	height: 40px;
	margin: 0;
	padding: 0;
}

#top-head .logo img {
	display: block;
}

#global-nav ul {
	list-style: none;
	position: absolute;
	right: 0rem;
	top: 1.25rem;
	font-size: 11px;
}

#global-nav ul li {
	float: left;
	position: relative;
	padding: 0 .5rem;
	border-right: 1px solid;
}

#global-nav ul li:last-of-type {
	border: none;
}

#global-nav ul li a {
	padding: 0;
}

#global-nav ul li a i {
	display: none;
}


/* Fixed */

@media screen and (max-width: 768.98px) {
#top-head {
	position: fixed;
	}
}

#top-head.fixed {
	position: fixed;
	margin-top: 0;
	top: 0;
	background: rgba(255, 255, 255, 0.8);
	transition: top 0.65s ease-in;
	-webkit-transition: top 0.65s ease-in;
	-moz-transition: top 0.65s ease-in;
	}

#top-head.fixed .logo img {
	max-height: 1.5rem;
}

#top-head.fixed #global-nav ul li a {
	color: #333;
	padding: 0;
}

/* Toggle Button */

#nav-toggle {
	display: none;
	position: absolute;
	right: 15px;
	top: 17px;
	width: 34px;
	height: 36px;
	cursor: pointer;
	z-index: 101;
}

#nav-toggle div {
	position: relative;
}

#nav-toggle span {
	display: block;
	position: absolute;
	height: 2px;
	width: 100%;
	background: #333;
	left: 0;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
	top: 0;
}

#nav-toggle span:nth-child(2) {
	top: 11px;
}

#nav-toggle span:nth-child(3) {
	top: 22px;
}

.fas, .far {
	display: none;
}

@media screen and (max-width: 980px) {
	article {
		padding: 0 30px;
	}
	.inner {
		width: 100%;
		padding: 0;
	}
	#global-nav ul li a {
		padding: 0 20px;
	}
	#top-head.fixed #global-nav ul li a {
		padding: 0 15px;
	}
	.fas, .far {
		font-size: 1.4rem;
		display: inline;
		margin: 0 1rem 0 0;
		vertical-align: text-top;
	}
	/* Fixed reset */
	#top-head.fixed {
		padding-top: 0;
		background: transparent;
	}
	#top-head.fixed #login {
		margin: 0;
	}
	#mobile-head {
		position: relative;
		background: #fff;
		width: 100%;
		height: 60px;
		z-index: 999;
	}
	#top-head.fixed .logo, #top-head .logo {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%,-50%);
		width: 263px;
		height: 40px;
		margin: 0;
		padding: 0;
	}
	#top-head.fixed .logo img, #top-head .logo img {
		max-height: 40px;
	}


	#global-nav {
		position: absolute;
		/* 開いてないときは画面外に配置 */
		top: -800px;
		background: rgba(88, 196, 224, 1);
		width: 100%;
		text-align: center;
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
	}
	.common-nav {
		background: #58c4e0;
	}
	#global-nav ul {
		list-style: none;
		position: static;
		left: 0;
		bottom: 0;
		padding: 10px 0;
		font-size: 1.2rem;
	}
	#global-nav ul li {
		float: none;
		font-size: 1rem;
		position: static;
		padding: 0;
	}
	#global-nav ul li:after {
		display: none;
	}
	#top-head #global-nav ul li a, #top-head.fixed #global-nav ul li a {
		color: #fff;
		display: block;
		padding: 1rem 0;
		margin: 0 5%;
		text-align: left;
		width: 90%;
		font-size: 5vw;
		border-bottom: 1px #FFF solid;
	}
	#nav-toggle {
		display: block;
	}
	/* #nav-toggle 切り替えアニメーション */
	.open #nav-toggle span:nth-child(1) {
		top: 11px;
		-webkit-transform: rotate(315deg);
		-moz-transform: rotate(315deg);
		transform: rotate(315deg);
	}
	.open #nav-toggle span:nth-child(2) {
		width: 0;
		left: 50%;
	}
	.open #nav-toggle span:nth-child(3) {
		top: 11px;
		-webkit-transform: rotate(-315deg);
		-moz-transform: rotate(-315deg);
		transform: rotate(-315deg);
	}
	/* #global-nav スライドアニメーション */
	.open #global-nav {
		/* #global-nav top + #mobile-head height */
		-moz-transform: translateY(860px);
		-webkit-transform: translateY(860px);
		transform: translateY(860px);
	}
	.open #global-nav ul li a i {
		display: inline-block;
		margin-right: 10px;
	}
	/* end Fixed reset */
}

@media screen and (max-width: 640px) {
	#main-visual {
		height: 300px;
	}
	#top-head, .inner {
		width: 100%;
		padding: 0;
	}
	#top-head {
		top: 0;
		/*		position: fixed;*/
		margin-top: 0;
	}
}


/* =============== enb nav =============== */


/* =============== footer =============== */

#footer {
	background-color: #333;
	color: #FFF;
	padding: 2rem 1rem;
}

#footer ul {
	max-width: 1400px;
	margin: 0 auto 1rem auto;
	text-align: center;
}

#footer ul li {
	display: inline;
}

#footer ul li a {
	color: #FFF;
	font-size: .8rem;
	text-decoration: none;
	white-space: nowrap;
}

#footer ul li:after {
	content: "　|　";
}

#footer ul li:last-child:after {
	content: "";
}

#footer .copy {
	margin: 0;
	text-align: center;
	font-size: .8rem;
}

@media screen and (max-width: 768.98px) {
#footer .copy span {
		display: none;
	}
}


/* =============== end footer =============== */


/* =============== #pagetop =============== */

#pagetop {
	bottom: 3em;
	font-size: .8rem;
	position: fixed;
	right: 1.5em;
	background: #1083BE;
	border-radius: 5px;
	color: #FFF;
	display: block;
	opacity: 0.7;
	padding: 1em;
	text-align: center;
	text-decoration: none;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

#pagetop:hover {
	background: #999;
	text-decoration: none;
}


/* =============== end #pagetop =============== */