@charset "utf-8";

/*========*/
/* ヘッダ */
/*========*/
header {
	width: 100%;
	border-top: 4px solid #E60021;
	background-color: #FFF;
	z-index: 9999999;
	box-shadow:0px 0px 6px 5px rgba(0,0,0,0.4);
}

header.fixed {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
}

header::before {
	content: '';
	width: 100%;
	display: block;
	height: 2px;
	background-color: #000;
}

header a {
	display: block;
}

header a img:hover {
	opacity: .7;
	filter: alpha(opacity=70);
	text-decoration: none;
}

header .header-inner {
	display: table;
	width: 100%;
	overflow: hidden;
}

header .h-logo01 {
	display: table-cell;
	width: 18.75%;
	padding: 0 4px;
	text-align: center;
	vertical-align: middle;
}

header .h-logo01 img {
	width: 100%;
	max-width: 345px;
}

@media screen and (max-width: 767px) {

header .header-inner {
	height: 60px;
}

header .h-logo01 {
	display: block;
	width: 232px;
	margin: 16px 8px;
}

header .header-recruit .h-logo01 {
	width: 170px;
	top: auto;
	bottom: -29px;
}

header .h-logo01 img {
	width: 100%;
	max-width: 100%;
}

}


/* ナビゲーション
--------------------------------*/

header nav {
	display: table-cell;
	width: 81.25%;
	vertical-align: middle;
}

header .nv-cts {
	display: table;
	width: 100%;
}

header .menu-nav {
	display: table-cell;
	width: 72.28915%;
	margin: 0 auto;
	font-size: 0;
	vertical-align: middle;
}

header .menu-nav > li {
	display: inline-block;
	width: 25%;
	font-size: 1.16rem;
	text-align: center;
}

header .menu-nav > li > a {
	display: block;
	position: relative;
	color: #333;
	font-weight: bold;
	line-height: 1;
	padding: 10% 0;
}

header .menu-nav > li > a::before {
	content: '';
	display: block;
	position: absolute;
	width: 2px;
	height: 60%;
	left: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	background-color: #000;
}

header .menu-nav.open > li > a {
	color: #888;
	text-decoration: none;
}

header .menu-nav.open > li:hover > a {
	color: #E4001F;
}

header .menu-nav > li > a span {
	display: block;
	font-family: Georgia, "游明朝体", "YuMincho", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
	font-size: 0.75rem;
	font-weight: normal;
	color: #E4001F;
}

header .sub-menu {
	position: absolute;
	display: table;
	width: 58.75%;
	top: auto;
	left: 18.75%;
	text-align: left;
	padding: 0;
	margin: 0 auto;
	background-color: #FFF;
	z-index: 1000001;
}

header .sub-menu dt {
	display: table-cell;
	width: 30%;
	vertical-align: middle;
	background-color: #FFF788;
	font-size: 1.6rem;
	text-align: center;
	font-weight: bold;
}

header .sub-menu dd {
	display: table-cell;
	width: 70%;
	background-color: #fff;
	overflow: hidden;
}

header .sub-menu .list-sub {
	width: 50%;
	float: left;
}

header .sub-menu .col3 .list-sub {
	width: 33.3333%;
}

header .sub-menu .list-sub li {
	padding: 16px 16px 16px 40px;
	background: url(/images/common/com_ic01.png) no-repeat;
	background-position: 16px 20px;
}

header .sub-menu .list-sub li.top {
	font-weight: bold;
}

header .btn-reserve {
	width: 27.71085%;
	display: table-cell;
	text-align: center;
	padding: 0 4px;
	background-color: #E60021;
	vertical-align: middle;
}

header .btn-reserve img {
	width: 100%;
	max-width: 320px;
}

@media screen and (max-width: 1300px) {

header .sub-menu .list-sub li {
	padding: 8px 0 8px 24px;
	background-position: 8px 12px;
	background-size: auto 16px;
}

}

@media screen and (min-width: 768px) {

header .g-nv {
	display: block !important;
}

header .menu-nav > li:hover .sub-menu { 
	display: table !important;
}
	
header .menu-nav > li:not(:hover) .sub-menu { 
	display: none !important;
}

#bg-menu {
	display: none;
}

#bg-menu.open {
	display: block;
	position: absolute;
	width: 100%;
	height: 100vh;
	left: 0;
	top: auto;
	margin: 0 auto;
	background-color: rgba(0,0,0,0.8);
	z-index: 999;
}

#bg-menu.open.fixed {
	position: fixed;
	left: 0;
	top: 0;
}

}


@media screen and (max-width: 767px) {

header {
	position: relative;
}

header .nv-cts {
	display: block;
}

header .g-nv {
	display: none;
	position: absolute;
	width: 100%;
	top: 65px;
	left: 0;
	padding: 0 16px 40px;
	background-color: #000;
	z-index: 1000000;
}

header .menu {
	position: absolute;
	width: 40px;
	height: 28px;
	top: 20px;
	right: 16px;
}

header .menu-inner {
	position: relative;
	width: 100%;
	height: 100%;
}

header .menu-inner span {
	position: absolute;
	width: 40px;
	height: 2px;
	background-color: #000;
	transition: all .5s;
}

header .menu-inner span:nth-child(1) {
	top: 0;
}

header .menu-inner span:nth-child(2) {
	top: 13px;
}

header .menu-inner span:nth-child(3) {
	top: 26px;
}

header .open .menu-inner span:nth-child(1) {
	top: 13px;
	transform: rotate(45deg);
}

header .open .menu-inner span:nth-child(2) {
	transform: rotate(-45deg);
}

header .open .menu-inner span:nth-child(3) {
	display: none;
}

header .menu-nav {
	position: static;
	display: block;
	width: 100%;
	right: 0;
	padding: 0;
	text-align: left;
}

header .header-recruit .menu-nav {
	width: 100%;
}

header .menu-nav > li {
	display: block;
	width: 100%;
	margin-left: 0;
	padding-bottom: 0;
	text-align: left;
}

header .menu-nav > li > a {
	padding: 16px;
	border-bottom: 1px solid #FFF;
	font-size: 1.2rem;
	color: #FFF;
}

header .menu-nav > li:hover > a {
	color: #FFF;
}

header .menu-nav:hover > li > a {
	color: #FFF;
}

header .menu-nav > li > a span {
	display: none;
}


header .menu-nav li > a {
	position: relative;
	color: #FFF;
}

header .menu-nav .ac-menu > a::before {
	width: 32px;
	height: 2px;
	background-color: #FFF;
	top: 27px;
	left: auto;
	right: 16px;
	margin: 0;
}

header .menu-nav .ac-menu > a::after {
	content: '';
	position: absolute;
	width: 2px;
	height: 32px;
	background-color: #FFF;
	top: 12px;
	right: 32px;
}

header .menu-nav .ac-menu .open::after {
	display: none;
}

header .menu-nav > li:hover::after {
	content: none;
}

header .sub-menu {
	display: none;
	width: 100%;
	position: static;
	border-bottom: none;
	background-color: transparent;
}

header .sub-menu dt {
	display: none;
}

header .sub-menu dd {
	display: block;
	width: 100%;
	padding: 0 16px;
	background-color: transparent;
	font-size: 2rem;
	color: #FFF;
	text-align: left;
}

header .sub-menu .list-sub,
header .sub-menu .col3 .list-sub {
	width: 100%;
	float: none;
}

header .sub-menu .list-sub a {
	color: #FFF;
	font-size: 1rem;
}

header .sub-menu li {
	border-bottom: 1px solid #FFF;
}

header .sub-menu .list-sub li {
	background-position: 8px 16px;
}

header .btn-reserve {
	width: 100%;
	display: block;
	padding: 16px;
	margin-top: 40px;
}

}
