
#header	{position: fixed;width: 100%;text-align: center;background: #fff;z-index: 20000;}

/*----------------------------
///　住所と電話番号　/////////
----------------------------*/

/*住所と電話番号 wrap*/
.headinfo	{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack: justify;-ms-flex-pack: justify;justify-content: space-between;-webkit-box-align: center;-ms-flex-align: center;align-items: center;max-width: 1360px;width: 100%;margin: 0 auto;height: 100px;transition: all 0.8s;}

.head-logo{-ms-flex-preferred-size: 430px;flex-basis: 430px;}
.adress-tel{-ms-flex-preferred-size: calc(100% - 720px);flex-basis: calc(100% - 720px);}
.head-contact-access{-ms-flex-preferred-size: 200px;flex-basis: 200px;}
.head-noudock	{-ms-flex-preferred-size: 90px;flex-basis: 90px;}

/*logo*/
.head-logo	{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;height: 100%;padding: 7px 0;line-height: 0;}

/*住所と電話番号*/
.headinfo	.adress-tel	{margin: 0;font-size: 1.1rem;letter-spacing: 1px;}
.headinfo	.adress-tel	.tel	{font-family: 'Oswald', sans-serif;font-size: 1.2rem;}
.headinfo	.adress-tel	.tel	a{font-size: 2rem;text-decoration: none;color: #333;letter-spacing: 0;}

/*お問い合わせと交通アクセス*/
.headinfo	.contactus{margin-bottom: 0.5em}
.headinfo	.contactus	a,.headinfo	.access	a{display:block;padding: 6px 0;font-size: 0.95rem;line-height: 1em;background: #72a6b3;border: 1px solid #72a6b3;color: #fff;font-family: 'Noto Sans JP', sans-serif;font-weight: 300;text-align: center;text-decoration: none;transition: all 0.5s;}
.headinfo	.head-contact-access	a i{margin-right: 0.5em;}
.headinfo	.head-contact-access	a:hover{background: #fff;color: #e73527;border: 1px solid #e73527;}

/*脳ドッグ予約*/
.head-noudock	{display:block;padding-left: 10px;text-align: center;}
.head-noudock	.icon{display:block;width: 27px;margin: 0 auto;}
.head-noudock	a{display:block;width: 80px;padding: 7px 0 4px 0;background:#22AD38;color: #fff;font-size: 0.80rem;font-family: 'Noto Sans JP', sans-serif;font-weight: 300;text-decoration: none;line-height: 120%;transition: all 0.5s;}
.head-noudock	a:hover{background: #e73527;}


@media only screen and (max-width: 1360px) {
.headinfo{max-width: auto;width: 92%;margin: 0 4%;}
.headinfo	.adress-tel	span	{display:block;}
}

@media only screen and (max-width: 1250px) {
.head-logo{-ms-flex-preferred-size: 25%;flex-basis: 25%;}
.adress-tel{-ms-flex-preferred-size: 48%;flex-basis: 48%;}
.head-contact-access{-ms-flex-preferred-size: 17%;flex-basis: 17%;}
}

@media only screen and (max-width: 1100px) {
.adress-tel{-ms-flex-preferred-size: 43%;flex-basis: 43%;}
.head-contact-access{-ms-flex-preferred-size: 20%;flex-basis: 20%;}
.headinfo	.adress-tel	.tel	a	{font-size: 1.5rem}
.head-noudock	{-ms-flex-preferred-size: 5%;flex-basis: 5%;}
}

@media only screen and (max-width: 980px) {
#header	{border-bottom: 1px solid #ccc;}
.headinfo	{flex-direction: column;height: 70px;}
.head-logo	{width: 230px}
.headinfo	.adress-tel	{padding-bottom: 0.5em;letter-spacing: 0px;line-height: 115%;}
.headinfo	.adress-tel	span	{display:inline;}
.head-contact-access{display: none}
.head-noudock	{display:none;}
/*文字サイズ指定はスクロールした時と合わせて下記で指定*/
}

@media only screen and (max-width: 460px) {
.headinfo	{flex-direction: column;}
.head-logo	{width: 270px;margin: 10px 40px 0 0;}
.headinfo	.adress-tel	{display: none}
}

/*スクロールしたら*/
#header.fix	{}
#header.fix	.head-logo{-ms-flex-preferred-size: 280px;flex-basis: 280px;}
#header.fix	.adress-tel{-ms-flex-preferred-size: calc(100% - 500px);flex-basis: calc(100% - 500px);}
#header.fix	.head-contact-access{-ms-flex-preferred-size: 400px;flex-basis: 400px;}
#header.fix	.head-noudock	{-ms-flex-preferred-size: 200px;flex-basis: 200px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;}
#header.fix	.head-noudock	.icon{display:none;}
#header.fix	.head-noudock	.icon	img{width: 18px;margin-right: 5px;}
#header.fix	.head-noudock	a{width: 100%;padding: 6px 0;}
#header.fix	.head-nodock-br	{display: none;}

#header.fix	.headinfo	{flex-direction: flex;height: 50px;}
#header.fix	.headinfo	.adress-tel	{font-size: 0.8rem;line-height: 150%;}
#header.fix	.headinfo	.adress-tel	.tel	{font-size: 1rem;}
#header.fix	.headinfo	.adress-tel	.tel	a{font-size: 1.2rem;}
#header.fix	.headinfo	.contactus	a,#header.fix	.headinfo	.access	a{font-size: 0.8rem;}
#header.fix	.head-contact-access{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack: justify;-ms-flex-pack: justify;justify-content: space-between;-webkit-box-align: center;-ms-flex-align: center;align-items: center;}
#header.fix	p{-ms-flex-preferred-size: 48%;flex-basis: 48%;margin: 0}

/*スクロールしたら　/　してない時*/
@media only screen and (max-width: 980px) {

.headinfo	.adress-tel,#header.fix	.headinfo	.adress-tel{font-size: 0.8rem;line-height: 115%;}
.headinfo	.adress-tel	.tel,#header.fix	.headinfo	.adress-tel	.tel	{font-size: 0.8rem}
.headinfo	.adress-tel	.tel	a,#header.fix	.headinfo	.adress-tel	.tel	a	{font-size: 1.2rem}
.head-contact-access,#header.fix	.head-contact-access{display: none}

#header.fix	.head-noudock	{display:none;}

}


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

.menu-container {margin: 0 auto;background: #007527;text-align: center;border-bottom: 1px solid rgba(0,0,0,0.1);font-family: 'Noto Sans JP', sans-serif;letter-spacing: 1px;border-top: #33be62}

.menu	{max-width: 1360px;width: 100%;margin: 0 auto;}
.menu	a	{position: relative;transition: all 0.5s;}

.global-nav{margin:0;position:relative;}
.global-nav .nav-list{display:flex;justify-content:space-between;list-style:none;margin:0;padding:0}
.global-nav .nav-list .nav-item{flex:1}
.global-nav .nav-list .nav-item a{border-right:1px solid rgba(255,255,255,0.3);color:#fff;display:block;padding:.6em .4em;font-size: 1.1rem;font-family: 'Noto Sans JP', sans-serif;font-weight: 300;text-align:center;text-decoration:none;transition: all 0.5s;}
.global-nav .nav-list .nav-item:first-child a{border-left:1px solid rgba(255,255,255,0.3);}
.global-nav .nav-list .nav-item a:hover{background: #22AD38}

.global-nav .nav-list .nav-item a	i{display: none}

/* SP時：ハンバーガーメニューボタン */
.global-nav-icon{display:none}

/*スクロールしたら*/
#header.fix	.global-nav .nav-list .nav-item a{padding:.4em .4em;font-size: 0.9rem;}

/* サブナビゲーション 980以上 */
@media screen and (min-width: 980px) {

.nav-list{position:relative;z-index: 10000}
.nav-item_sub{position:absolute;top:46px;left:0;display:flex;justify-content: center;align-items: center;width:100vw;margin:0 calc(50% - 50vw);background:#22AD38;opacity:0;transition:all .2s ease;visibility:hidden;}
.nav-item_sub .inner{display:flex;justify-content: center;align-items: center;max-width: 1360px;width: 100%;margin: 0 auto;}

.nav-item_sub .inner ul{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap: wrap;flex-wrap: wrap;width: calc(100% - 20px);box-sizing:border-box;margin:20px 10px 5px 10px;}

.nav-item_sub .inner ul li{flex-basis: calc(25% - 20px)}


.global-nav .nav-list .nav-item_sub a{border:none;display: block;padding: 0.8em 1.8em 0.8em 0.8em;border: 1px solid rgba(255,255,255,0.8);font-size: 0.9rem;font-weight: 400;text-align:center}
.global-nav .nav-list .nav-item_sub a:hover{color:#007527;border: 1px solid #007527;background: rgba(255,255,255,0.9);}
.nav-item:hover .nav-item_sub{opacity:1;visibility:visible}

.global-nav .nav-list .nav-item_sub a	.fa-chevron-right	{display: inline;position: absolute;top: 35%;right: 15px;font-size: 0.9rem;transition: all 0.5s;}
.global-nav .nav-list .nav-item_sub a:hover	.fa-chevron-right{right: 8px;}

/*スクロールしたら*/
#header.fix	.nav-item_sub{top:40px;}
#header.fix	.global-nav .nav-list .nav-item_sub a	.fa-chevron-right	{top: 28%;}
#header.fix	.global-nav .nav-list .nav-item_sub a	.fa-chevron-right	{right: 10px;font-size: 0.8rem;}
#header.fix	.global-nav .nav-list .nav-item_sub a:hover	.fa-chevron-right{right: 5px;}

}

@media only screen and (min-width: 980px) and (max-width: 1380px) {
.global-nav .nav-list .nav-item_sub a{padding: 0.8em 2.5em 0.8em 0.8em;}
}

@media only screen and (min-width: 980px) {
.nav-item_sub .inner 	li{-ms-flex-preferred-size: 32%;flex-basis: 32%;margin: 0 1% 1% 0;line-height: 1em;}
.nav-item_sub .inner	li:nth-child(4){margin: 0 1% 1% 0;}
.global-nav  a{font-size: 1.1rem;}
.nav-item_sub .inner 	a{font-size: 0.8rem;}
}

@media only screen and (min-width: 1360px) {
.nav-item_sub .inner 	li{-ms-flex-preferred-size: 24%;flex-basis: 24%;margin: 0 1.3% 1% 0;padding: 0;}
.nav-item_sub .inner 	li:nth-child(4){margin: 0 0 1% 0;}
}

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

/*humburger */
.global-nav-icon{display:inline-block;position:absolute;top:19px;right:18px;font-size:28px;color:#007527;cursor:pointer;z-index:1}
.global-nav-icon.open{color:#fff;}

.global-nav .nav-list{background:rgba(0,117,39,.8);display:none;left:50%;padding:10px;position:absolute;transform:translate(-50%,0);width:100%;border: none}

.global-nav .nav-list .nav-item a{position:relative;padding:1rem;border: 0;border-bottom:1px solid rgba(255,255,255,0.3);color:#fff;font-weight:400;font-size: 1rem;text-align:left}
.global-nav .nav-list .nav-item:first-child a{border-left:none;}
.global-nav .nav-list .nav-item:last-child a{border-bottom:0}


.global-nav .nav-list .submenu1 a	i.fa-window-minimize,
.global-nav .nav-list .submenu2 a	i.fa-window-minimize,
.global-nav .nav-list .submenu3 a	i.fa-window-minimize{position: absolute;top: 13px;right: 20px;display: inline;transition: all 0.3s;}
.global-nav .nav-list .submenu1 a	i.fa-window-minimize.open,
.global-nav .nav-list .submenu2 a	i.fa-window-minimize.open,
.global-nav .nav-list .submenu3 a	i.fa-window-minimize.open{top: 20px;right: 15px;transform: rotate(90deg);color:#ccc;}


.global-nav{position:fixed;top:-1px;left:0;width:100%;height:0;}/*メニューエリアの位置*/
.global-nav.open{top:0;height:100%;}

.nav-item_sub{display:none;}
.nav-item_sub	ul	{padding-left: 25px;}
.nav-list{overflow:auto;-webkit-overflow-scrolling:touch}

/*スクロールしたら*/
#header.fix	.headinfo	{height: 70px;}

}
