@charset "UTF-8";
/* CSS Document */

.sp-menu-box {
	display: none;
}
/*-----------------------------*/
/*スマホヘッダー画像
/*-----------------------------*/

.title-head {
	display: none;
}
/*-----------------------------*/
/*フルスクリーンナビゲーション
/*-----------------------------*/
.gnav {
	display: none;

}




/* 画面サイズが870以下の場合に適用 */
@media only screen and (max-width: 768px) {
/*-----------------------------*/
/*スマホヘッダー 870
/*-----------------------------*/

.sp-menu-box {
	position: fixed;
	height: 50px;
	width: 100%;
	display: flex;
	top: -50px;
	align-items: center;  /* 子要素をflexboxにより中央に配置する */
	transition: .5s;
	z-index: 98;
	background-image: url(../img/back-blue-mini.jpg);
	background-repeat: repeat;
}
.sp-menu-box.fixed{
    position: fixed;
    top: 0;
}
/*----------ヘッダー画像---------------*/

.title-head {
	margin: 0px;
	padding: 0px;
	width: 100%;
	display: block;
}
.title-head img {
	height: 50px;
	width: auto;
	margin-left: 20px;
}

/*----------ハンバーガーメニュー---------------*/

.menu {
	height: 20px;
    position: absolute;
	right: 20px;
    top: 15px;
	width: 30px;
	z-index: 99;
	display: block;
	cursor: pointer;
}
.menu__line {
	display: block;
	height: 2px;
	position: absolute;
	transition: transform .3s;
	width: 100%;
	background-color: #D8CBAD;
}
.menu__line--center {
	top: 9px;
}
.menu__line--bottom {
	bottom: 0;
}
.menu__line--top.active {
	top: 8px;
	transform: rotate(45deg);
	background: #D8CBAD;
}
.menu__line--center.active {
	transform: scaleX(0);
	background: #D8CBAD;
}
.menu__line--bottom.active {
	bottom: 10px;
	transform: rotate(135deg);
	background: #D8CBAD;
}
/*-----------------------------*/
/*フルスクリーンナビゲーション870
/*-----------------------------*/
.gnav {
	display: none;
	height: 100%;
	position: fixed;
	width: 100%;
	z-index: 97;
	background-image: url(../img/back-gray-mini.jpg);
	background-repeat: repeat;
}
.gnav__wrap {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 100%;
	top: 0px;
}
.gnav__menu__item {
	text-align: center;
	margin-top: 40px;
	margin-right: auto;
	margin-bottom: 40px;
	margin-left: auto;
}
.gnav__menu__item a {
	font-family: "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	color: #031C3C;
	font-size: 1.5em;
	font-weight: 700;
	text-decoration: none;
	transition: .5s;
	margin-right: auto;
	margin-left: auto;
}
.gnav__menu__item a:hover {
	color: #419400;
}
}


/* 画面サイズが480以下の場合に適用 */
@media only screen and (max-width: 550px) {

/*-----------------------------*/
/*スマホヘッダー 550
/*-----------------------------*/
.title-head img {
	height: auto;
	width: 290px;
	margin-left: 20px;
}
}


/* 画面サイズが480以下の場合に適用 */
@media only screen and (max-width: 480px) {



/*-----------------------------*/
/*フルスクリーンナビゲーション480
/*-----------------------------*/
.gnav {
	display: none;
	height: 100%;
	position: fixed;
	width: 100%;
}
.gnav__wrap {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	position: absolute;
	width: 100%;
}
.gnav__menu__item {
	margin: 25px 0;
}
.gnav__menu__item a {
	font-size: 18px;
	letter-spacing: 0.1em;
	font-weight: 700;
}

}



/* 画面サイズが374以下の場合に適用 */
@media only screen and (max-width: 374px) {

/*-----------------------------*/
/*スマホヘッダー 374
/*-----------------------------*/
.title-head img {
	height: auto;
	width: 240px;
	margin-left: 20px;
}
}
