@charset "utf-8";

/* Google Fonts
========================================================================== */

@import url('https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i,900,900i');
@import url('https://fonts.googleapis.com/css?family=Be+Vietnam:100,300,400,500,600,700,800');



/* layout
========================================================================== */

html {
	overflow-y: scroll;
}

body {
	-webkit-text-size-adjust: 100%;
}

#wrap {
	width: 100%;
	min-height: 100%;
	font-size: 108%; /* 14px */
	position: relative;
}

/* phones */
@media only screen and (max-width: 767px) {
	body {
		position: relative;
		right: 0;
	}

	#wrap {
		min-width: none;
		padding-top: 50px;
		font-size: 100%; /* 13px */
	}
}


/* selected text
-------------------------------------------------------------------------- */

::selection {
	background: #dddddd; /* Safari */
}
::-moz-selection {
	background: #dddddd; /* Firefox */
}



/* anchor
========================================================================== */

a {
	color: #333;
	text-decoration: none;
}

a:hover {
	color: #ccc;
}

a:link,
a:visited,
a:active,
a:hover {
	outline: none;
}



/* header
========================================================================== */

header {
	max-width: 1206px;
	height: 135px;
	margin: 0 auto;
	padding: 0 80px;
	text-align: left;
	position: relative;
	zoom: 1;
}
header:after {
	content:"";
	display: block;
	clear: both;
}

header h1,
header div#logo {
	margin-top: 15px;
/*	margin-top: 50px;*/
	font-family: 'Be Vietnam', sans-serif;
	font-size: 214%; /* 30px */
	line-height: 1;
	float: left;
}
header h1 a,	
header h1 a:hover,
header div#logo a,	
header div#logo a:hover {
	color: #00458d;
}

/* pc small */
@media only screen and (max-width: 1266px) {
	header {
		padding: 0 30px;
	}
}

/* tablets */
@media only screen and (min-width: 768px) and (max-width: 959px) {
	header {
		text-align: center;
	}

	header h1,
	header div#logo {
		float: none;
	}
}

/* phones */
@media only screen and (max-width: 767px) {
	header {
		width: 100%;
		height: 100px;
		padding: 0;
		background: #fff;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 1000;
	}

	header h1,
	header div#logo {
		margin: 20px 0 0 30px;
/*		margin: 35px 0 0 30px;*/
	}
}



/* navi
========================================================================== */

#nav {
	text-align: center;
	position: relative;
}

#nav button.slide_nav_trigger {
	display: none;
}

/* phones */
@media only screen and (max-width: 767px) {
	#nav {
		position: absolute;
		top: 10px;
/*		top: 25px;*/
		right: 0;
	}

	#nav button.slide_nav_trigger {
		width: 48px;
		height: 48px;
		background: #fff;
		border: none;
		position: absolute;
		top: 1px;
		right: 15px;
		display: inherit;
		cursor: pointer;
	}
	#nav button.slide_nav_trigger:focus,
	#nav button.slide_nav_trigger:active {
		outline: none;
	}

	#nav button.slide_nav_trigger span {
		width: 24px;
		height: 24px;
		background: url(../img/common/nav_open.svg) no-repeat center center;
		display: block;
		position: absolute;
		top: 12px;
		left: 12px;
	}
	#nav button.slide_nav_trigger.close span {
		background: url(../img/common/nav_close.svg) no-repeat center center;
	}
}


/* slide navi
-------------------------------------------------------------------------- */

/* phones */
@media only screen and (max-width: 767px) {
	#slide_nav {
		width: 100%;
		height: 100%;
		background: #fff;
		text-align: left;
		overflow-x: hidden;
		position: fixed;
/*		top: 80px;*/
		top: 100px;
		left: 0;
		z-index: 1000;
		display: none;
	}
}


/* global navi
-------------------------------------------------------------------------- */

#gnav {
	margin-top: 15px;
/*	margin-top: 45px;*/
	font-family: 'Be Vietnam', sans-serif;
	font-size: 108%; /* 15px */
	font-weight: bold;
	float: right;
	zoom: 1;
}
#gnav:after {
	content:"";
	display: block;
	clear: both;
}

#gnav > ul > li {
	margin-left: 40px;
	line-height: 1;
	float: left;
	position: relative;
	z-index: 100;
}

#gnav > ul > li > a {
	 padding: 1em 0 0.5em 0;
/*	padding: 1em 0;*/
	display: block;
}
#gnav > ul > li > a.current,
#gnav > ul > li > a:hover {
	color: #00458d;
}

/* tablets */
@media only screen and (min-width: 768px) and (max-width: 959px) {
	#gnav {
		margin-top: 35px;
		float: none;
	}

	#gnav > ul > li {
		margin: 0 20px;
		float: none;
		display: inline-block;
	}

	#gnav > ul > li > a {
	 padding: 1em 0 0.5em 0;
/*	padding: 1em 0;*/
		display: block;
	}
	#gnav > ul > li > a.current,
	#gnav > ul > li > a:hover {
		color: #00458d;
	}
}

/* phones */
@media only screen and (max-width: 767px) {
	#gnav {
		margin-top: 0;
		border-top: 1px solid #edefec;
		font-size: 124%; /* 16px */
		float: none;
	}

	#gnav > ul > li {
		margin-left: 0;
		float: none;
	}

	#gnav > ul > li > a {
		padding: 1.25em 0 0.5em 0;
/*		padding: 1.25em;*/
		border-bottom: 1px solid #edefec;
	}
}



/* footer
========================================================================== */

footer {
	max-width: 1266px;
	margin: 0 auto;
	padding: 40px 0 50px;
	border-top: 1px solid #000;
}

/* pc small */
@media only screen and (max-width: 1266px) {
	footer {
		margin: 0 30px;
		padding: 20px 0 70px;
	}
}


/* copyright
-------------------------------------------------------------------------- */

#copyright {
	font-size: 86%; /* 12px */
}


/* page up
-------------------------------------------------------------------------- */

#pageup {
	display: none;
	position: fixed;
	bottom: 0;
	right: 0;
}

#pageup a {
	width: 120px;
	height: 40px;
	background: #fff;
	font-size: 86%; /* 12px */
	line-height: 40px;
	text-align: center;
	display: block;
}
#pageup a:after {
	margin-left: .25em;
	content: "\f106";
	color: #999;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 117%; /* 14px */
	display: inline-block;
}

/* phones */
@media only screen and (max-width: 767px) {
	#pageup {
		width: 100%;
		bottom: 0;
		right: 0;
	}

	#pageup a {
		width: 100%;
	}
}



/* print
========================================================================== */

@media only print {
	body {
		background: #fff;
		color: #000;
	}
}