@charset "utf-8";
/* CSS Document */

@import url(//fonts.googleapis.com/earlyaccess/notosansjapanese.css);

html {
	height: 100%;
}

body {
	 background-color: #fff;
	 display: flex;
	 height: 100vh;
	 flex-direction: column;
}

h1.logo {
	margin: -.3rem 0 0 0;
}

/* =============== nav =============== */
.inner {
	max-width: 1400px;
	margin: 0 auto;
}
.inner:after {
	content: "";
	clear: both;
	display: block;
}

/* header */
#top-head {
	font-size: 14px;
	top: -100px;
	position: absolute;
	width: 100%;
	margin: 100px auto 0;
	padding: 0;
	line-height: 1;
	z-index: 999;
	background-color: #FFF;
}
#top-head a,
#top-head {
	color: #333;
	text-decoration: none;
}
#top-head .inner {
	position: relative;
}

#top-head .logo {
	float: left;
}

#top-head .logo img {
	max-height: 1.5rem;
}

#global-nav ul {
	list-style: none;
	position: absolute;
	right: 0rem;
	top: 1rem;
	font-size: 12px;
}

#global-nav ul li {
	float: left;
	position: relative;
	padding: 0 .5rem;
	border-right: 1px solid;
}

#global-nav ul li .mg-r-1{
	margin: 0 1rem 0 0;
}

#global-nav ul li.payment {
	background: url(../img/ico-payment.png) no-repeat 8% 50%;
	background-size: 1.5rem;
}

#global-nav ul li.payment a {
	padding: .5rem .5rem .5rem 2.5rem;
	margin: 0 0 0 2.5rem;
}

#global-nav ul li:last-of-type {
	border: none;
}

#global-nav ul li a {
	padding: 0;
}

#global-nav ul li a:after {
}

#global-nav ul.submenu {
	display: none;
}

/* Btn Hover */
#global-nav ul li:after {
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 3px;
	bottom: -20px;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
#global-nav ul li:hover:after {
	background: #fff;
	bottom: -30px;
}


/* Fixed */
#top-head.fixed {
	margin-top: 0;
	top: 0;
	position: fixed;
	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 {
	color: #333;
}
#top-head.fixed .logo img {
	max-height: 1.5rem;
}

#top-head.fixed #global-nav ul li a {
	color: #333;
	padding: 0;
}

/* Fixed Btn Hover */
#top-head.fixed #global-nav ul li:after {
	bottom: -10px;
}
#top-head.fixed #global-nav ul li:hover:after {
	background: #0062B8;
	bottom: -20px;
}

/* Transition */
/*
#top-head,
#top-head .logo,
#global-nav ul li,
#global-nav ul li a {
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
*/

/* Toggle Button */
#nav-toggle {
	display: none;
	position: absolute;
	right: 12px;
	top: 1.2rem;
	width: 34px;
	height: 36px;
	cursor: pointer;
	z-index: 101;
}

#nav-toggle div {
	position: relative;
}
#nav-toggle span {
	display: block;
	position: absolute;
	height: 4px;
	width: 100%;
	background: #AACF53;
	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 {
		background: #fff;
		width: 100%;
		height: 63px;
		z-index: 999;
		position: relative;
	}
	#top-head.fixed .logo,
	#top-head .logo {
		position: absolute;
		left: 15%;
		top: .3rem;
		width: 70%;
		text-align: center;
	}
	
	#top-head.fixed .logo img,
	#top-head .logo img {
		max-height: 3rem;
		margin: .3rem 0 0 0;
	}

	#global-nav {
		position: absolute;
		/* 開いてないときは画面外に配置 */
		top: -800px;
		background: #AACF53;
		width: 100%;
		text-align: center;
		padding: 10px 0;
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
	}
	#global-nav ul {
		list-style: none;
		position: static;
		left: 0;
		bottom: 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 {
		border-bottom: 1px #FFF solid;
		color: #fff;
		display: block;
		padding: 1rem 0;
		margin: 0 5%;
		text-align: left;
		width: 90%;
		font-size: 1rem;
	}
	#global-nav ul li.payment {
		background: url(../img/ico-payment-white.png) no-repeat 8% 50%;
		background-size: 2.3rem;
	}
	#top-head #global-nav ul li.payment a {
		padding: 1rem 0 1rem 3.3rem;
	}
	#top-head #global-nav ul li a:hover {
	}
	
	#nav-toggle {
		display: block;
	}
	
/*-- ico setting --*/	
	#global-nav ul li a img {
		display: inline;
		max-height: 2rem;
		padding: 0 1rem 0 0;
	}
/*-- submenu setting --*/	
	#global-nav ul.submenu {
		display: block;
	}
	#top-head #global-nav ul.submenu li a {
		border: none;
		font-size: 1rem;
		padding: .3rem;
	}
/*--  --*/
	
	/* #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(863px);
		-webkit-transform: translateY(863px);
		transform: translateY(863px);
	}
	/* end Fixed reset */
	
}

@media screen and (max-width: 767px) {
}

@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: #AACF53;
	color: #FFF;
	padding: 2rem 1rem;
	flex-shrink: 0;
}

#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 {
	text-align: center;
	font-size: .8rem;
}

@media screen and (max-width: 980px) {
	#footer ul li:nth-last-child(2):after {
		content: "";
	}
	#footer ul li:nth-last-child(1) {
		display: none;
	}
}

@media screen and (max-width: 767px) {
	#footer ul {
		text-align:left;
	}
}

/* =============== end footer =============== */

/* =============== #pagetop =============== */

#pagetop {
  bottom: 3em;
  font-size: .8rem;
  position: fixed;
  right: 1.5em;
  background: #AACF53;
  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 =============== */