﻿/* ========================================================================================== */
/* ■ PC用のCSSはメディアクエリの外に記述する                                                 */
/* ========================================================================================== */

/**************************/
/* -----  ヘッダー  ----- */
/**************************/
.cont_header {
    background: url(../img/img/headtop.jpg);
    height: 230px;
    padding: 10px 0;
    position: relative;
}

h1:not(.cont_title) {
    color: #002E05;
    font-size: 48px;
    left: 50%;
    position: absolute;
    top: 70%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

#gMenu-pc {
    left: 0;
    position: fixed;
    top: 10px;
    transition: .5s;
    width: 100%;
    z-index: 3;
}

#gMenu-sp {
    display: none;
}

/****************************************/
/* -----  ナビゲーションメニュー  ----- */
/****************************************/
.menu {
    background: #fff; /* ナビの背景色 */
    border-radius: 20px;
    box-shadow: 0 0 6px #cecece;
    height: 100px;
    margin: 0 auto;
    max-width: 1000px;
    position: relative;
    text-align: center;
    width: 100%;
    *zoom: 1;
}

    /* floatクリア */
    .menu:before,
    .menu:after {
        content: " ";
        display: table;
    }

    .menu:after {
        clear: both;
    }

    .menu > li.gMenu_link-level1 {
        position: relative;
    }

.gMenu_list > li {
    float: left;
    height: 100px;
    line-height: 55px;
}

    .gMenu_list > li a {
        color: #111; /* ナビのリンク色 */
        display: block;
    }

        .gMenu_list > li a:hover {
            color: #111; /* ナビのリンク色）ホバー時 */
        }


.gMenu_link-logout {
    border-radius: 0 20px 20px 0;
}

    .gMenu_link-logout:hover {
        background: #ECFFEE; /* 1階層目ホバー時 */
        transition: all .5s;
        -webkit-transition: all .5s;
        border-radius: 0 20px 20px 0;
    }

.gMenu_size {
    width: 25%; /* グローバルナビ4つの場合 */
}

.gMenu_size-staff {
    width: 20%; /* グローバルナビ5つの場合 */
}

.gMenu_list > li.gMenu_link-level1 {
    position: relative;
}

.gMenu_list > li:hover:not(.gMenu_link-home):not(.menuFirst) {
    background: #ECFFEE; /* 1階層目ホバー時 */
    transition: all .5s;
    -webkit-transition: all .5s;
}

.gMenu_link-home:hover {
    background: #FFF;
    border-radius: 20px 0 0 20px;
}

.gMenu_link-level2 img {
    margin: -10px 3px 0 15px;
    vertical-align: middle;
}

.gMenu_link-level2 li {
    border-top: 1px solid #EBEBEB; /* 2階層目の線 */
    text-align: left;
    vertical-align: middle;
}

.gMenu_link-level2 li a:hover {
    background: #ECFFEE; /* 2階層目ホバー時 */
}

/* 2階層目スタイル */
li.gMenu_link-level1 ul.gMenu_link-level2 {
    background: #FFF;
    position: absolute;
    top: 40px;
    transition: all .2s ease;
    width: 100%;
    -webkit-transition: all .2s ease;
}

li.gMenu_link-level1:hover ul.gMenu_link-level2 {
    opacity: 1;
    top: 100px;
    visibility: visible;
}

ul.gMenu_link-level2 {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

/* ロゴスタイル */
.cont_logo-size90 {
    height: 90px;
    margin-top: 5px;
}

.cont_logo-size120 {
    height: 120px;
}

.cont_logo-size200 {
    height: 200px;
}

/* アイコンスタイル */
.cont_icon-size15 {
    height: 15px;
    width: 15px;
}

.cont_icon-size18 {
    height: 18px;
    width: 18px;
}

.cont_icon-size25 {
    height: 25px;
    width: 25px;
}

.cont_icon-size30 {
    height: 30px;
    width: 30px;
}

.cont_icon-size32 {
    height: 32px;
    width: 32px;
}

.cont_icon-size40 {
    height: 40px;
    width: 40px;
}

.cont_icon-size50 {
    height: 50px;
    width: 50px;
}

.gMenu_icon-ja {
    height: 50px;
    width: 87px;
}


/* ========================================================================================== */
/* ■ 959px以下に適用されるCSS（タブレット用）                                                */
/* ========================================================================================== */
@media screen and (max-width: 959px) {

    /**************************/
    /* -----  ヘッダー  ----- */
    /**************************/

    /* サイトロゴ */
    .siteLogo {
        align-items: center;
        position: relative;
        display: flex;
        justify-content: center;
        left: 50%;
        padding: 20px 0;
        transform: translateX(-50%);
        z-index: 4;
    }

    .cont_header {
        background: #FFF;
        height: 70px;
        padding: 0;
        position: fixed;
        width: 100%;
        z-index: 3;
    }

    .headerPadding {
        padding-top: 70px;
    }

    .page_title {
        display: none;
    }

    #gMenu-pc { /* PCメニュー非表示 */
        display: none;
    }

    #gMenu-sp { /* SPメニュー表示 */
        display: block;
    }

    /****************************************/
    /* -----  ナビゲーションメニュー  ----- */
    /****************************************/
    .menuTxt {
        display: block;
        font-size: 14px;
        left: 6px;
        position: absolute;
        top: 45px;
        transition: all .1s linear;
    }

        .menuTxt.is-close {
            font-size: 0px;
            left: 0;
            top: 55px;
        }

            .menuTxt.is-close:before {
                display: none;
                transition: all .2s .3s linear;
            }


    .gMenuHeader {
        background: #56BF56;
        border-bottom: 1px solid #FFF;
        height: 170px;
        width: 100%;
    }

    /* メニューリストのスタイル */
    .gMenu_list {
        border-bottom: 1px solid #EBEBEB;
        box-sizing: border-box;
        height: auto;
        padding: 20px 0;
        width: 100%;
    }

        .gMenu_list:first-child {
            border-top: 1px solid #FFF;
        }

    /* ボタンのスタイル */
    .gMenu_logout,
    .gMenu_menuBtn {
        display: block;
        justify-content: center;
        padding-top: 10px;
        position: fixed;
        text-align: center;
        transition: all .2s linear;
    }

    /* ログアウトボタン */
    .gMenu_logout {
        background: #56BF56;
        color: #FFF;
        font-size: 12px;
        height: 70px;
        right: 58px;
        top: 0;
        width: 60px;
    }

        .gMenu_logout img {
            margin-bottom: 6px;
        }

    .gMenu_logoutLink {
        height: 70px;
        width: 60px;
    }

    .gMenu_margin {
        margin-bottom: 120px;
    }

    /* 展開メニューのスタイル */
    .gMenu_menuArea {
        align-items: end;
        background: #FFF;
        display: flex;
        flex-direction: column;
        font-size: 18px;
        height: 100vh;
        opacity: 0.9;
        overflow-x: scroll;
        position: fixed;
        right: 0;
        top: 0;
        transform: translateX(100vw);
        transition: all .3s .1s linear;
        width: 85vw;
        z-index: 3;
    }

        /* メニューを閉じる */
        .gMenu_menuArea.is-active {
            transform: translateX(0);
            transition: all .2s linear;
        }

    /* メニューボタン */
    .gMenu_menuBtn {
        background: url(../img/icon/menu_30.png) center no-repeat;
        background-size: 30px;
        color: #56BF56;
        height: 50px;
        top: 0;
        right: 0;
        width: 60px;
        z-index: 3;
    }

        .gMenu_menuBtn img {
            margin-bottom: 2px;
        }

        /* 閉じるボタンのスタイル */
        .gMenu_menuBtn.is-close {
            background: url(../img/icon/close.png) no-repeat;
            background-size: 50px;
            top: 5px;
            right: 0px;
            transition: all .1s .2s linear;
            z-index: 4;
        }

    #gMenu_mask {
        display: none;
        transition: all .3s;
    }

        #gMenu_mask.is-active {
            display: block;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #FFF;
            opacity: 0.8;
            z-index: 2;
            cursor: pointer;
        }

    .cont_logo-size230 {
        height: 47px;
        margin: 11px 0 0 5px;
    }
}


/* ========================================================================================== */
/* ■ 480px以下に適用されるCSS（スマホ用）                                                    */
/* ========================================================================================== */
@media screen and (max-width: 480px) {

    .cont_logo-size230 {
        height: 41px !important;
        margin: 13px 0 0 5px !important;
    }
}
