@charset "UTF-8";

/* menu open scroll none */
body.fixed {
  position: fixed;
  width: 100%;
  height: 100%;
}
header {
	color: #333;
	height: 100px;
}
header a {
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}
/* head-menu */
.w-nav {
	height: 0;
	overflow: hidden;
	transition: 0.3s ease-in-out;
}
.base {
	display: table;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background-color: transparent;
	height: 100px;
	transition: 0.3s ease-in-out;
	z-index: 102;
}
.base .head-menu {
	display: table-cell;
	vertical-align: middle;
	box-sizing: border-box;
	position: relative;
	transition: 0.3s ease-in-out;
}
.base .head-menu.change {
	height: 60px;
	line-height: 60px;
	transition: 0.3s ease-in-out;
}
.base .head-menu .container {
	position: relative;
}
.base .head-menu a {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	letter-spacing: 0.2rem;
}
.base .head-menu h1 {
	display: inline-block;
}
.base .head-menu h1 a {
	font-size: 2.4rem;
}
.base .head-menu h1 a:hover {
	color: #333;
}
h1 img {
    width: 272px;
    height: auto;
}
/* Jquery */
.base.change {
	background-color: #fff;
	height: 60px;
	transition: 0.3s ease-in-out;
}
.base.change .head-menu h1 a {
	font-size: 2rem;
}
.base.change .head-menu p {
	max-width: 100px;
}
.base.change .head-menu p a {
	font-size: 1.6rem;
	padding: 7px;
}
.base .head-menu.close h1,
.base .head-menu.close p {
	opacity: 0;
	transition: 0.3s;
}
.base.change .head-menu .menu-btn {
	width: 20px;
	height: 20px;
}
.base.change .head-menu .menu-btn span, .base.change .head-menu .menu-btn span:before, .base.change .head-menu .menu-btn span:after {
	height: 2px;
}
.base.change .head-menu .menu-btn span:before {
	content: "";
	top: -7px;
}
.base.change .head-menu .menu-btn span:after {
	content: "";
	top: -23px;
}
.base.change .head-menu .menu-btn.close-btn span:after {
	top: -16px;
}
.base .head-menu.close {
	background-color: #1eb9ee;
}
/* btn */
.head-menu .menu-btn {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translate(0, -50%);
	-webkit-transform: translate(0%, -50%);
	width: 40px;
	height: 40px;
	cursor: pointer;
	z-index: 103;
}
.head-menu .menu-btn span,  .head-menu .menu-btn span:before,  .head-menu .menu-btn span:after {
	width: 100%;
	height: 4px;
	background-color: #333;
	position: relative;
	display: inline-block;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-webkit-transition: 0.3s;
	transition: 0.3s;
	left: 0;
}
.head-menu .menu-btn span:before {
	content: "";
	top: 4px;
}
.head-menu .menu-btn span:after {
	content: "";
	top: -3px;
}
.head-menu .menu-btn.close-btn span,  .head-menu .menu-btn.close-btn span:before,  .head-menu .menu-btn.close-btn span:after {
	transition: 0.3s;
}
.head-menu .menu-btn.close-btn span,  .head-menu .menu-btn.close-btn span:after {
	transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	top: 6px;
	background-color: #fff;
}
.head-menu .menu-btn.close-btn span:before {
	display: none;
}
.head-menu .menu-btn.close-btn span:after {
	transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	top: -14px;
}
/* nav */
.nav {
	display: block;
	width: 100%;
	position: relative;
	transition: 0.3s ease-in-out;
	top: -150%;
	background-color: #1eb9ee;
	z-index: 101;
}
.nav.m-open {
	overflow-y: scroll;
	height: 100%;
	display: block;
	transition: 0.3s ease-in-out;
	padding: 2% 4% 0 4%;
}
.nav.m-close {
	top: -150%;
	transition: 0.3s ease-in-out;
}
.nav .gnav {
	max-width: 1120px;
	margin: 0 auto;
	width: 100%;
	height: auto;
	text-align: center;
}
.nav.m-open .gnav {
	height: 100%;
	border: none;
}
.nav .gnav span.link-wrap {
    display: block;
	max-width: 1000px;
	margin: 0 auto;
	padding-bottom: 200px;
}
.nav .gnav li.box {
    width: 22%;
	padding: 0!important;
}
.nav .gnav li.box a span.middle {
	font-size: 1.8rem;
	line-height: 1.1;
	font-weight: 700;
	color: #fff;
    letter-spacing: 0.4rem;
}
.nav .gnav li.box a span.jp {
    font-size: 1.2rem;
	letter-spacing: 0.3em;
}
.nav .gnav  li.m-x {
	margin: 0 2%;
}
.nav .gnav  span.box {
	height: 50px;
    width: 790px;
    display: block;
    position: relative;
    margin: 0 auto 20px auto;
}
.nav .gnav  li.home,
.nav .gnav  li.entry {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	width: 50%;
	position: absolute;
	top: 50%;
	transform: translate(0,-50%);
	-webkit-transform: translate(0%, -50%);
	margin: 0;
}
.nav .gnav  li.home {
	text-align: left;
	left: 0;
}
.nav .gnav  li.home a {
	font-size: 2rem;
	letter-spacing: 0.2rem;
	position: relative;
	padding-left: 33px;
	color:  #fff !important;
}
.nav .gnav  li.home a:hover {
	color: #fff;
}
.nav .gnav  li.home a:before {
	content: url(../images/icon_home.png);
	position: absolute;
	left: 0;
	top: 2px;
}
.nav .gnav  li.entry {
	text-align: right;
	right: 0;
	height: 100%;
}
.nav .gnav  li.entry div {
	display: inline-block;
	width: 100%;
	max-width: 160px;
	text-align: center;
}
.nav .gnav  li.entry div a {
	font-size: 2rem;
	letter-spacing: 0.2rem;
	padding: 9px 10px;
    height: 100%;
	width: 100%;
	box-sizing: border-box;
	background-color: #fff;
	color: #1eb9ee;
	font-weight: bold;
}

/* ====================================================================================
         SP時
  ==================================================================================== */
@media screen and (max-width: 768px) {
	
	header {
		height: 60px;
	}

/* head-menu */
	.base {
		height: 60px!important;
	}
	.base .head-menu {
		height: 60px!important;
	}
	.base .head-menu h1 {
		position: static;
		transform: none; 
		transition: 0.3s;
		width: 100%;
	}
	h1 img {
		width: 180px;
	}
	.base .head-menu h1 a {
		font-size: 1.4rem!important;
	}
	.base .head-menu p {
		display: none;
	}
/* Jquery */
	.base.change .head-menu h1 a {
		font-size: 1.6rem;
	}
	.base.change .head-menu .menu-btn span:before {
		top: -3px;
	}
	.base.change .head-menu .menu-btn span:after {
		top: -13px;
	}
	.head-menu .menu-btn.close-btn span:after {
		top: -12px;
	}
	.base.change .head-menu .menu-btn.close-btn span:after {
		top: -12px;
	}
/* btn */
	.head-menu .menu-btn {
		width: 20px;
		height: 20px;
	}
	.head-menu .menu-btn span,  .head-menu .menu-btn span:before,  .head-menu .menu-btn span:after {
		height: 2px;
	}
	.head-menu .menu-btn span:before {
		top: -3px;
	}
	.head-menu .menu-btn span:after {
		top: -13px;
	}
/* nav */
	.nav {
		top: -150%!important;
	}
	.nav.m-open {
		top: 60px!important;
		overflow-y: scroll;
		padding-top: 0;
	}
	.nav.m-close {
		top: -150%!important;
	}
	.nav .gnav  span.box {
		width: 83%;
		margin-bottom: 0px;
	}
	.nav .gnav  li.home a {
		font-size: 1.4rem;
		padding-left: 26px;
		color: #fff;
	}
	.nav .gnav  li.home a:before {
		content: "";
		background-image: url(../images/icon_home.png);
		background-repeat: no-repeat;
		background-size: contain;
		width: 20px;
		height: 20px;
	}
	.nav .gnav  li.entry {
		height: auto;
	}
	.nav .gnav  li.entry div {
		max-width: 100px;
	}
	.nav .gnav  li.entry div a {
		font-size: 1.4rem;
		padding: 5px 10px;
	}

/* header link-box */	
	.nav .gnav li.box {
		width: 40%;
		margin-top: 0!important;
		margin-right: 2%!important;
		margin-bottom: 2%!important;
	}
	header .link-box  li.box:nth-of-type(even) {
		margin-right: 0!important;
	}
	header .link-box  li.box:hover {
		width: 40%;
	}
	header .link-box  li.box a:after {
		width: 50px;
		height: 10px;
		background-size: contain;
	}
	header .nav .gnav li.m-x {
		margin: 0;
	}
	.nav .gnav li.box a span.middle {
		font-size: 1.4rem;
		padding: 0 10px;
		line-height: 1;
		letter-spacing: 0.3rem;
	}
	.nav .gnav li.box a span.jp {
		font-size: 1.4rem;
		letter-spacing: normal;
	}
	
}