

/* ----------------------------------------------------------------------
 ヘッダー
---------------------------------------------------------------------- */

.inner {
    margin: 0 auto;
    max-width: 1200px;
}

.header .container {
	position: relative;
}

.searchBox {
	position: absolute;
	top: 0;
	right: 0;
}

.searchBox form {
	float: left;
	position: relative;
	margin-right: 10px;
	margin-bottom: 10px;
}

.searchfield {
    width: 200px;
    padding: 5px;
	border: 1px solid #1a1a1a;
	border-radius: 4px;
}

#searchsubmit {
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    background: transparent;
    padding: 5px 10px;
}

.h-sns {
	float: left;
}

.h-sns li {
	display: inline-block;
	margin-left: 5px;
}

.h-sns li a {
	display: inline-block;
	width: 33px;
}

.logo {
	display: block;
	max-width: 200px;
	margin: 40px auto 0;
}

h1 {
	font-size: 10px;
	text-align: center;
	margin: 5px 0 0;
}

/* グローバルメニュー */

.global-nav {
	background: #FFF134;
}

.global-nav a {
	display: block;
}

.global-nav li {
	position: relative;
}

.global-nav > ul {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}

.global-nav > ul > li {
	width: 20%;
}

.global-nav > ul > li > a {
	padding: 0 5px;
	color: #1a1a1a;
	text-align: center;
	line-height: 50px;
	padding: 40px 0 10px;
	overflow: hidden;
	font-size: 15px;
	font-family: MyFont;
}

.global-nav > ul > li > a:after {
	opacity: 0;
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1a1a1a;
    -webkit-transform: translate(-50%,-10px);
    transform: translate(-50%,-10px);
}

.global-nav a:hover:after {
	opacity: 1;
}

.global-nav .sub-menu {
	display: none;
}

.global-nav .sub-menu a {
	background: #FFF134;
	color: #1a1a1a;
	display: block;
	padding: 15px 20px;
	font-family: MyFont;
	font-size: 14px;
}

.global-nav .sub-menu a:hover {
	background: #f5bf1e;
	color: #1a1a1a;
}

.nav01 {
    background: url(../img/nav01.png) no-repeat center 15px;
    background-size: 35px;
}

.nav02 {
    background: url(../img/nav02.png) no-repeat center 15px;
    background-size: 35px;
}

.nav03 {
    background: url(../img/nav03.png) no-repeat center 15px;
    background-size: 35px;
}

.nav04 {
    background: url(../img/nav04.png) no-repeat center 15px;
    background-size: 35px;
}

.nav05 {
    background: url(../img/nav05.png) no-repeat center 15px;
    background-size: 35px;
}

.nav06 {
    background: url(../img/nav06.png) no-repeat center 15px;
    background-size: 35px;
}

.nav07 {
    background: url(../img/nav07.png) no-repeat center 15px;
    background-size: 35px;
}

.nav08 {
    background: url(../img/nav08.png) no-repeat center 15px;
    background-size: 35px;
}

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

	.global-nav {
		display: block !important;
	}

	.global-nav > ul > li > a {
		width: 100%;
		z-index: 100;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-ms-box-sizing: border-box;
		-o-box-sizing: border-box;
		box-sizing: border-box;
	}

	.global-nav .menu-item-has-children:hover > .sub-menu {
		opacity: 1;
		visibility: visible;
		-webkit-transform: translateY(0);
		-moz-transform: translateY(0);
		-ms-transform: translateY(0);
		-o-transform: translateY(0);
		transform: translateY(0);
	}

	.global-nav .sub-menu {
		display: block;
		width: 100%;
		min-width: 220px;
		font-size: 12px;
		line-height: 1.4;
		opacity: 0;
		visibility: hidden;
		position: absolute;
		top: 100px;
		left: 0;
		-webkit-transform: translateY(-10px);
		-webkit-transition-property: opacity, transform, visibility;
		-webkit-transition-duration: .2s;
		-moz-transform: translateY(-10px);
		-moz-transition-property: opacity, transform, visibility;
		-moz-transition-duration: .2s;
		-ms-transform: translateY(-10px);
		-ms-transition-property: opacity, transform, visibility;
		-ms-transition-duration: .2s;
		-o-transform: translateY(-10px);
		-o-transition-property: opacity, transform, visibility;
		-o-transition-duration: .2s;
		transform: translateY(-10px);
		transition-property: opacity, transform, visibility;
		transition-duration: .2s;
		z-index: 99;
		box-shadow: 0 1px 3px -1px rgba(255, 255, 255, 0.2);
	}

	.global-nav .sub-menu .menu-item-has-children:after {
		font-family: "Font Awesome 5 Free";
	    content: "\f105";
	    font-weight: bold;
	    margin-right: 5px;
	    font: normal normal normal 14px/1 FontAwesome;
		display: block;
		margin-top: -0.5em;
		width: 40px;
		line-height: 1;
		color: #fff !important;
		text-align: center;
		position: absolute;
		top: 50%;
		right: 0;
	}
}

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

	.global-nav-button {
		display: block;
		width: 60px;
		height: 60px;
		position: absolute;
		top: 0;
		right: 0;
		z-index: 9;
	}

	.global-nav-button:before {
		content: "\f0c9";
		display: block;
		font-family: "design_plus";
		font-size: 18px;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		line-height: 24px;
		margin: auto;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		text-align: center;
		width: 24px;
		height: 24px;
	}

	.global-nav-button.active {
		background: #004b64;
	}

	.global-nav-button.active:before {
		color: #fff;
	}

	.global-nav {
		display: none;
		background: #000;
	}

	.global-nav .inner {
		margin: 0;
		padding: 0;
	}

	.global-nav a,
	.global-nav li:hover a,
	.global-nav a:before,
	.global-nav a:after {
		color: #fff !important;
		background: transparent;
	}

	.global-nav a:hover,
	.global-nav .current-menu-item > a {
		border-color: #004b64 !important;
		background: #004b64 !important;
	}

	.global-nav > ul > li {
		width: 100%;
		border-right: none;
		/*border-bottom: 1px solid #333;*/
	}

	.global-nav ul li a {
		border-top: 1px solid #333; /* add */
	}
	
	/* add */
	/* カレントメニューのサブメニューが展開中は、隣のliのborder-topの色を変えない */
	.global-nav /*> ul >*/ a:hover,
	.global-nav /*> ul >*/ a:hover + ul > li:first-child > a,
	.global-nav /*> ul >*/ li:hover:not(.active) + li > a {
		border-color: #004b64!important;
	}

	.global-nav > ul > li:first-child {
		border-left: none;
		/*border-top: none;*/ /* add */
		border-color: #004b64;
	}

	.global-nav > ul > li > a,
	.global-nav > ul > li.home > a {
		padding: 0 42px 0 20px;
		text-align: left;
		line-height: 42px;
		height: 42px;
		/*border-top: 1px solid #333;*/
	}

	.global-nav > ul > li > a:after {
		content: "\e910";
		display: inline-block;
		font-size: 13px;
		font-family: "design_plus";
		line-height: 42px;
		position: absolute;
		top: 0;
		right: 0;
		text-align: center;
		width: 42px;
		height: 42px;
	}

	.global-nav .sub-menu {
		display: none;
		background: rgba(255, 255, 255, 0.1);
	}

	.global-nav .sub-menu li {
		/*border-top: 1px solid #333;*/ /* add */
	}

	.global-nav .sub-menu a {
		line-height: 42px;
		padding: 0 42px 0 40px;
		width: 100%;
		background: transparent;
	}

	.global-nav .menu-item-has-children > a .child-menu-button {
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		width: 42px;
		height: 42px;
		z-index: 2;
		cursor: pointer;
	}

	.global-nav .menu-item-has-children > a .child-menu-button:after {
		content: "\e90e";
		display: block;
		font-size: 13px;
		font-family: "design_plus";
		line-height: 42px;
		text-align: center;
		width: 42px;
		height: 42px;
	}

	.global-nav .menu-item-has-children.active > a .child-menu-button:after {
		content: "\e911";
	}

	.global-nav .menu-item-has-children > a:after {
		content: "";
	}
}


/* ----------------------------------------------------------------------
 フッター
---------------------------------------------------------------------- */

.footer {
	padding: 50px 0;
	background: #1a1a1a;
}

.footer a:hover img {
	transform: inherit;
}

.footer p {
	color: #fff;
	line-height: 1.5;
	text-align: left;
	font-size: 12px;
}

.lavel-item {
	display: block;
	text-align: left;
}

.lavel-item img {
	width: 75%;
}

.adress {
	margin: 10px 0 0;
}

.mail {
	margin-bottom: 10px;
}

.mail a {
	color: #f5bf1e;
}

.footer h2 {
	color: #464646;
	font-size: 20px;
	font-weight: bold;
	text-align: left;
	margin: 0 0 10px;
	letter-spacing: 3px;
}

.footer ul.f-link li {
	display: block;
	text-align: left;
	padding: 0;
	line-height: normal;
}

.footer ul.f-link li a {
	color: #fff !important;
	font-size: 14px;
	padding: 5px 10px !important;
	display: block;
	font-family: MyFont;
}

.footer ul.f-link li a:before {
	content: "-";
	margin-right: 5px;
}

.footer ul.f-link li a:hover {
	color: #afafaf !important;
}

.f-sns {
	text-align: left;
}

.f-sns img {
	width: 30px;
}

.footer .copyright {
	color: #fff;
}
