﻿
#body0120 {
    padding-top: 7px;
    white-space: nowrap;
    z-index: 200;
}

    #body0120 label._system-title {
        font-size: 19px;
        font-weight: bold;
        color: #ffffff;
        margin-top: 13px;
        margin-left: 70px;
    }

    #body0120 select._shirei-group-list {
        height: 30px;
        width: clamp(150px, 20vw, 200px);
        margin-top: -3px;
        margin-right: 30px;
    }

    #body0120 .home-select-arrow .select-label {
        display: none;
    }

    #body0120 div._menu-front,
    #body0120 div._menu-back {
        position: absolute;
        top: 16px;
        right: 3%;
        text-align: right;
        width: 97%;
    }

    #body0120 div._menu-front {
        z-index: 120;
    }

    #body0120 div._menu-back {
        z-index: 110;
    }

    #body0120 #_KanriMenu ul {
        z-index: -1;
    }

    #body0120 #_SosaMenu ul {
        z-index: 1000;
    }

    #body0120 img._account-img {
        height: 24px;
        width: 24px;
    }

#b_account-img {
    margin-top: -120px;
}

#body0120 label._account-mei {
    color: #FFFFFF;
    font-size: 16px;
    white-space: nowrap;
    margin-top: 0px;
}

#body0120 label._account-menu {
    color: #FFFFFF;
    font-size: 10px;
    white-space: nowrap;
    margin-top: 3px;
    width: 10px
}


#body0120 div._menu div {
    position: absolute;
    left: 4px;
    height: 4px;
    width: 24px;
    background-color: #ffffff;
    border-radius: 2px;
    display: inline-block;
    box-sizing: border-box;
}

#body0120 div.menu-area {
    position: fixed;
    overflow-y: scroll;
    height: calc(100% - 65px);
    width: 100%
}

    #body0120 div.menu-area ul {
        margin-top: 0px;
        margin-bottom: 0px;
    }

        #body0120 div.menu-area ul label {
            font-size: 1.3em;
        }

        #body0120 div.menu-area ul input[type="submit"] {
            margin-top: 10px;
            height: 160px;
            width: 300px;
            border-radius: 0em;
            border: solid 1px #5588ff;
            border-left: solid 10px #5588ff;
            background-color: #ffffff;
            color: #000000;
            font-weight: bold;
            box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.29);
        }

#body0120 #_KanriMenu {
    display: inline-block;
    border: none;
    height: 25px;
    width: 25px;
    margin-top: 0px;
    margin-bottom: 25px;
    margin-right: 15px;
    cursor: pointer;
}

    #body0120 #_KanriMenu > ul > li {
        position: relative;
    }

    #body0120 #_KanriMenu .hide-en {
        margin-left: 2px;
    }

    #body0120 #_KanriMenu ul {
        position: absolute;
        margin-top: 25px;
        background-color: #fff;
        border: 2px solid;
        text-align: left;
        display: none;
        overflow: hidden;
        z-index:1000;
    }

#_KanriMenu ul li {
    display: inline-block;
    padding-left: 8px;
    height: 22px;
    text-align: left;
    vertical-align: bottom;
    text-decoration: none;
    padding-top: 5px;
    color: #373a3c;
    padding-right: 8px;
    width: 100%;
  
}

#body0120 #_KanriMenu li:hover {
    background-color: #cccccc;
    width: 100%;
    
}

#body0120 #_SosaMenu {
    display: inline-block;
    margin-right: -2px;
    height: 25px;
    width: 25px;
    margin-left: 20px;
    margin-bottom: 25px;
    cursor: pointer;
}

    #body0120 #_SosaMenu > ul > li {
        position: relative;
    }

    #body0120 #_SosaMenu li {
        text-decoration: none;
    }

    #body0120 #_SosaMenu ul {
        position: absolute;
        margin-left: -50px;
        border: 2px solid black;
        background-color: #ffffff;
        margin-top: 20px;
        height: 20px;
        width: 70px;
        padding: 2px 0;
        display: none;
        z-index:1000;
    }

    #body0120 #_SosaMenu li {
        display: inline-block;
        width: 65px;
        text-align: left;
        text-decoration: none;
        height: 20px;
        margin-top: -10px;
        font-family: Meiryo;
        font-size: 13px;
        color: #373a3c;
        padding-left: 8px;
        padding-right: 7px;
        padding-bottom: 2px;
    }

        #body0120 #_SosaMenu li:hover {
            background-color: #cccccc;
            width: 55px;
            height: 18px;
        }

#body0120 select._kanri-list {
    border: none;
    height: 22px;
    width: 20px;
    margin-right: 5px;
}

    #body0120 select._kanri-list option:checked,
    #body0120 select._menu-list option:checked {
        color: #000000;
        background-color: #ffffff;
    }

    #body0120 select._kanri-list option:hover,
    #body0120 select._menu-list option:hover {
        color: #000000;
        background-color: #eeffff;
    }

#body0120 input[type="submit"]#_home {
    display: none;
}

#body0120 input[type="submit"]#_logout {
    display: none;
}

@media(min-width: 768px) {
    .hamburger-container {
        display: none;
    }

    #body0120 .select-arrow::after {
        display: none;
    }
}

@media(max-width: 830px) {
    #body0120 label._system-title {
        margin-left: 3.5vw;
    }
}

@media(max-width: 767px) {
    #body0120 label._system-title {
        left: 10px;
    }

    #body0120 {
        padding-top: 0px;
    }

    #body0120 #_SosaMenu {
        display: none;
    }

    ._menu-back {
        display: none;
    }

    #body0120 #_KanriMenu {
        display: none;
    }

    #body0120 .home-select-arrow {
        width: 35%;
        min-width: 120px;
        right: 35px;
        display: inline-block;
        position: relative;
        vertical-align: top;
    }

    /* select本体 */
    #body0120 .home-select-arrow select {
        width: 100%;
        height: 30px;
        box-sizing: border-box;
        padding: 0 30px 0 10px;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 4px;
        line-height: 28px;
        color: transparent;
        position: relative;
        z-index: 1;
    }

    #body0120 .home-select-arrow select option {
        color: #000;
    }

    /* 表示用ラベル */
    #body0120 .home-select-arrow .select-label {
        position: absolute;
        left: 10px;
        right: 25px;
        top: 2px;
        box-sizing: border-box;
        display: block;
        align-items: center;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        pointer-events: none;
        user-select: none;
        background: transparent;
        z-index: 2;
        text-align: left;
    }

    /* 矢印 */
    #body0120 .home-select-arrow::before {
        content: "";
        position: absolute;
        right: 12px;
        top: 40%;
        width: 6px;
        height: 6px;
        border-right: 2px solid #6b7280;
        border-bottom: 2px solid #6b7280;
        transform: translateY(-50%) rotate(45deg);
        pointer-events: none;
        z-index: 3;
    }

    #body9130 .readonly {
        color: #8e8e93;
    }

    #body0120 label._account-mei {
        display: none;
    }

    .hamburger-menu {
        width: 30px;
        height: 25px;
        position: absolute;
        top: 15px;
        right: 10px;
        cursor: pointer;
        user-select: none;
        z-index: 1000;
    }

    .line {
        background-color: white;
        height: 4px;
        width: 100%;
        position: absolute;
        transition: all 0.3s;
    }

        .line:nth-of-type(1) {
            top: 0;
        }

        .line:nth-of-type(2) {
            top: 50%;
            transform: translateY(-50%);
        }

        .line:nth-of-type(3) {
            bottom: 0;
        }

    .modal-overlay {
        /* 初期は非表示（開閉によって表示） */
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.4);
        z-index: 999;
    }

    .shirei-modal {
        /* 初期は非表示（開閉によって表示） */
        display: none;
        width: 65vw;
        top: 0px;
        right: 0px;
        z-index: 1000;
    }
     /* モーダル表示用クラス（JSで付与）*/
    .modal-open .modal-overlay,
    .modal-open .shirei-modal {
        display: block;
    }

    .modal-content {
        background: #fff;
        height: 220px;
        box-shadow: 0 2px 7px rgba(0,0,0,0.3);
        position: relative;
    }

    button.modal-option {
        background: none;
        border: none;
        color: black;
        text-align: left;
        cursor: pointer;
        box-shadow: none;
        width: 100%;
        height: 55px;
        border-radius: 0;
        border-bottom: 1px solid #2c3e59;
        padding-left: 15px;
        font-size: 15px;
    }

        button.modal-option:focus {
            outline: none;
            text-decoration: underline;
        }

    .modal-common {
        background: #2c3e59;
        border: none;
        color: white;
        font: inherit;
        text-align: left;
        box-shadow: none;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 15px;
    }

    .modal-name {
        /* テキストがコンテナの幅を超えた場合に三点リーダーで表示 */
        text-overflow: ellipsis;
        /* テキスト折り返さない */
        white-space: nowrap;
        /* はみ出した要素を非表示 */
        overflow: hidden;
        font-size: 17px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .modal-logoff {
        display: flex;
        cursor: pointer;
    }

    .logoff-image {
        width: 16px;
        height: 16px;
        padding-right: 5px;
    }

    .modal-container {
        display: none;
        justify-content: flex-end;
        height: 60vw;
    }

    .close {
        display: none;
        font-size: 40px;
        cursor: pointer;
        color: white;
        z-index: 1001;
    }

    /* ▼ ここからが「画面種別」での差分 */

    /* スマホメニューを使う画面（use-sp-menu）：
       → PCメニューは消したまま / ハンバーガーは使う */
    body.use-sp-menu .hamburger-container {
        display: block;
    }

    /* PCメニューだけ出したい画面（pc-menu-only）：
       → PCメニューを再表示 / ハンバーガー関連を全部消す */
    body.pc-menu-only #body0120 #_SosaMenu {
        display: inline-block;
    }

    body.pc-menu-only ._menu-back {
        display: block;
    }

    body.pc-menu-only #body0120 #_KanriMenu {
        display: inline-block;
    }

    body.pc-menu-only #body0120 label._account-mei {
        display: inline-block;
    }

    body.pc-menu-only .hamburger-container,
    body.pc-menu-only .hamburger-menu,
    body.pc-menu-only .modal-overlay,
    body.pc-menu-only .modal-container,
    body.pc-menu-only .shirei-modal {
        display: none !important;
    }
}
