@charset "utf-8";
/* CSS Document */
/********************************
                  ナ ビ ゲ ー シ ョ ン
********************************/
.navbar { position: fixed; top: 0; left: 0; z-index: +1; margin: 0 auto; padding: 0; font-size: 0px; height: 80px; background-color: #FFF; box-shadow: 0px 0px 5px #EAEAEA;}

.gnav { height: 100%; display: flex; justify-content: space-between; align-items: center; }
.gnav .potal {display: flex; align-items: center;}

.gnav .potal .logo { width: 60px; }
.gnav .potal .logo img { width: 100%;}
	@media(min-width:768px){.gnav .potal .logo { width: 70px; }}

.gnav .potal p { font-family: 'Raleway', 'Noto Sans JP', sans-serif; font-size: 1.2rem; font-weight: 700; line-height: 1.4rem; margin-left: 1.0rem; color: #444;}
.gnav .potal p span { font-size: 0.8rem; font-weight: 500;}

/***SP用ナビ開閉ボタン***/
.gnav_btn { font-size: 0px; display: flex; justify-content: space-between; align-items: center; padding: 0;}
#panel-btn{ display: inline-block; position: relative; width: 4.0rem; height: 4.0rem; transition: 0.6s;}

#panel-btn-icon{ display: block; position: absolute; top: 50%; left: 50%; width: 15px; height: 2px; margin: -1px 0 0 -7.5px; background: #333; transition: .2s; }
#panel-btn-icon:before, #panel-btn-icon:after{ display: block; content: ""; position: absolute; top: 50%; left: 0; width: 15px; height: 2px; background: #333; transition: .3s; }
#panel-btn-icon:before{ margin-top: -7.5px; }
#panel-btn-icon:after{ margin-top: 5px; }

#panel-btn:hover #panel-btn-icon.close { background-color: transparent;}
#panel-btn.close #panel-btn-icon:before, #panel-btn.close #panel-btn-icon:after{ background: #333; }

#panel-btn .close { background: transparent; }
#panel-btn .close:before, #panel-btn .close:after{ margin-top: 0; }
#panel-btn .close:before{ transform: rotate(-45deg); }
#panel-btn .close:after{ transform: rotate(-135deg); }

/***ナビゲーション***/
.gnav ul { display: none; position: absolute; top: 80px; right: 0; z-index: +1; width: 100%; height: calc(100vh - 80px); overflow-y: auto;}
.gnav ul li { padding: 0 1.0rem; margin: 0 ; font-size: 0.8rem; line-height: 4.0rem; font-weight: 700; width: 100%;  background-color: #EEE; border-bottom: solid 1px #DDD;  position: relative; letter-spacing: 1px;}
.gnav ul li a { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; text-indent: -9999px; }
.gnav ul li:hover { cursor: pointer;}
    @media (min-width:1200px){
        .gnav_btn { display: none;}
        .gnav ul { display: inline-flex; position: relative; top: auto; right: auto; align-items: center;  width: auto; height: 60px; overflow-y: auto;}
        .gnav ul li { line-height: normal; border-bottom: none; background-color: transparent; margin: 0 0.5rem; padding: 0 0.75rem; width: auto; text-align: center; }
        .gnav ul li div { text-align: center; width: auto; position: relative;}
        .gnav ul li div::after {content: ""; display: block; position: absolute; bottom: -10px; width: 100%; height: 2px; border-radius: 1px; background-color: #333; transform-origin: center center;   transform: scale(0, 1);   transition: transform .3s;}
        .gnav ul li:hover div::after {transform: scale(1, 1); }
    }
