@charset "utf-8";

@media screen and ( min-width:769px ) {

html{
	overflow:auto;
}
body {
	overflow: hidden;
}
.onlySp {
	display: none;
}


/* ----------------------------------------
	#page
---------------------------------------- */

#page {
	position: relative;
}
.inner {
	margin: 0 auto;
	padding: 0 10px;
	max-width: 1080px;
	min-width: 729px;
	width: 100%;
}

/* ----------------------------------------
	header
---------------------------------------- */

header#masthead {
	position: fixed;
	top:0;
	left:0;
	margin: 0;
	width:100%;
	height: 80px;
	background: #595757;
	color: #054561;
	z-index: 11;
	transition: all .25s ease-out;
}	
header#masthead a:link,
header#masthead a:visited,
header#masthead a:active {
	text-decoration: none;
}
header#masthead .site_title a {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	max-width: 300px;
	width: 100%;
	height: 80px;
	-js-display: flex;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	z-index: 2;
	background: #fff;
	/*transition: all .25s ease-out;*/
}
header#masthead.fixed .site_title a {
	height: 80px;
}
header#masthead .site_title img.logo {
	width: 80%;
	height: auto;
}


/* ---- #nav_global ------- */


header#masthead #nav_global {
    font-size:15px;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 1%;
	margin: 0;
	padding-left: 0px;
	max-width: 1000px;
	width: 100%;
	font-family: 'Lato', sans-serif;
	-js-display: flex;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	transition: all .25s ease-out;
}
header#masthead #navWrap {
	margin: 0 auto 5px;
	padding: 0 10px;
	max-width: 1000px;
	min-width: 729px;
	width: 100%;
}
header#masthead ul#nav_main {
	width: 100%;
	margin: auto;
	padding: 0;
	text-align: center;
	*zoom: 1;
	-js-display: flex;
	display: flex;
	justify-content: space-between;
	/*flex-wrap: wrap;*/
}
header#masthead ul#nav_main li {
	position: relative;
	width: 11.4%;
}
header#masthead ul#nav_main li.nav03 {
	width: 19%;
}
header#masthead ul#nav_main li a {
	line-height: 1.2;
	display: block;
	border-right: 1px solid #939292;
   color:#fff;
}
@media screen and (min-width: 768px) and (max-width: 1160px){
	header#masthead ul#nav_main li a {
		font-size: 14px;
	}
}
header#masthead ul#nav_main li:last-child a {
	border-right: none;
}
header#masthead ul#nav_main li a::after {
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	content: " ";
	width: 100%;
	height: 3px;
	background: rgba(231,0,18,0);
	transition: all .25s ease-out;
}
header#masthead ul#nav_main li a:hover::after {
	bottom: -5px;
	background: rgba(231,0,18,1);
}




/* ----------------------------------------
	#content
---------------------------------------- */

#content {
	margin: 0 auto;
	padding: 60px 10px 100px;
	max-width: 1080px;
	min-width: 729px;
	width: 100%;
}
#content .clear:after {
	content: "";
	display: block;
	clear: both;
	height: 1px;
	overflow: hidden;
}
/*#content a img {
	transition: all 0.2s linear;
}
#content a img:hover {
	filter:alpha(opacity=80);
	-moz-opacity: 0.8;
	opacity: 0.8;
}*/



/* ---------------------------------------- */

.flex_between {
	-js-display: flex;
	display: flex;
	justify-content: space-between;
}
.flex_center {
	-js-display: flex;
	display: flex;
	justify-content: center;
}



/* ----------------------------------------
	footer
---------------------------------------- */

footer#mastfoot {
	position: relative;
	padding-bottom: 60px;
	color: #939292;
	font-size: 0.875rem;
	text-align: center;
	background: #000000;
}
footer#mastfoot a:link,
footer#mastfoot a:visited,
footer#mastfoot a:active {
	color: #939292;
	text-decoration: none;
}
footer#mastfoot a:hover {
	text-decoration: underline;
}
footer#mastfoot #footLink ul {
	margin: 0 auto;
	padding: 100px 0 70px;
	max-width: 900px;
	width: 100%;
	-js-display: flex;
	display: flex;
	justify-content: space-between;
}
footer#mastfoot #footLink ul li {
	width: 13.5%;
	border-right: 1px solid #939292;
}
footer#mastfoot #footLink ul li.nav03 {
	width: 19%;
}
footer#mastfoot #footLink ul li:last-child {
	border-right: none;
}
footer#mastfoot #footLink ul li a {
	display: block;
}
footer#mastfoot img.logo {
	width: 375px;
	margin-bottom: 60px;
}
footer#mastfoot .zip {
	padding-right: 15px;
}
footer#mastfoot .info {
	padding: 20px 0 10px;
}
footer#mastfoot .info span {
	font-size: 0.8125rem;
}
footer#mastfoot .info .note,
footer#mastfoot .record {
	font-size: 0.8125rem;
	display: block;
	padding: 10px 0;
}
footer#mastfoot .info .tel,
footer#mastfoot .info .fax {
	display: block;
	font-family: 'Lato', sans-serif;
	font-size: 1.5rem;
	line-height: 1.2;
	letter-spacing: 0.05em;
}
footer#mastfoot .info .fax {
	padding-bottom: 10px;
}
footer#mastfoot .info .time {
	padding-right: 10px;
}

footer#mastfoot ul.banner {
	-js-display: flex;
	display: flex;
	justify-content: center;
}
footer#mastfoot ul.banner li {
	padding: 5px;
}

footer#mastfoot small {
	display: block;
	margin-top: 20px;
	padding: 15px 0;
	background: #000000;
}


#pagetop {
	position: absolute;
	top: 10px;
	left: 0;
	right: 0;
	margin: auto;
}
#pagetop a {
	font-size: 3rem;
	line-height: 1;
	color: #939292;
	z-index: 20;
	transition: all .25s ease-out;
}
#pagetop a:hover {
	color: #FFFFFF !important;
}


}




@media screen and (min-width: 768px) and (max-width: 919px){

header#masthead .site_title a {
	max-width: 150px;
	/*height: 150px;*/
}
header#masthead #nav_global {
	right: 0;
	padding-left: 150px;
}
header#masthead ul#nav_main li a {
	font-size: 0.75rem;
}

}

@media screen and (min-width: 920px) and (max-width: 1160px){

header#masthead .site_title a {
	max-width: 230px;
}
header#masthead #nav_global {
	right: 0;
	padding-left: 230px;
}
header#masthead ul#nav_main li a {
	font-size: 0.875rem;
}

}
