/*
    ＊＊「色まとめ」＊＊
    
    ・背景色
    　#fef6e7
    
    ・背景色・ヘッダー
    　#fcebcf

    ・文字色
    　#202020

    ・文字色・見出し
    　#75654d
    
    ・ボタン色
    　#75654d（濃）
    　#917c5e（薄）

    ・アクセントカラー
    　#add784（濃）
    　#e6f1da（薄）

    ・罫線色
    　#917c5e(145,124,94)（濃）
    　#808080（薄）

*/

html {
    font-size: 16px;
    font-family: "游ゴシック", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}

@media (max-width: 575px) {
    html {
        font-size: 15px !important;
    }
}

body, header, footer {
    background-color: #fef6e7 !important;
    color: #202020 !important;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0 !important;
    padding: 0 0.5rem !important;
    font-size: 0.75rem;
    text-align: center;
}

form {
    position: relative;
    min-height: 100vh;
    padding-top: 70px;
    padding-bottom: 5rem;
    box-sizing: border-box;
}

.baseform {
    margin: 1rem 0.5rem;
}

/*----------------------------------------

    ＊＊「ログイン」＊＊

----------------------------------------*/

.frame-login {
    padding: 1.5rem;
    border: 4px solid #add784;
    border-radius: 10px;
    background-color: #e6f1da;
}

/*----------------------------------------

    ＊＊「マスターページ」＊＊

----------------------------------------*/

/*--------------------
    メニューバー
--------------------*/

.menu nav {
    padding: 0.5rem !important;
    background-color: #fcebcf !important;
    box-shadow: 0 1px 3px #917c5e;
}

    /*会社名ロゴ画像*/
    .menu nav img {
        max-height: 3rem;
    }

@media (max-width: 400px) {
    .menu nav img {
        max-width: calc(100vw - 70px);
    }
}

.menu nav ul li {
    position: relative;
}

/* メニューボタン */
.menu .nav-item {
    margin: 0 0.25rem;
    padding: 0 !important;
}

.menu .nav-link {
    background: transparent;
    color: #917c5e !important;
    font-size: 1.3rem;
    font-weight: 700 !important;
}

    .menu .nav-link:hover,
    .menu .nav-link:focus {
        color: #ee8374 !important;
        opacity: 0.8;
    }

@media (min-width: 992px) and (max-width: 1199px) {
    .menu .nav-link {
        font-size: 1.25rem;
    }
}

/*--------------------
    ハンバーガーメニュー
--------------------*/

.menu-hum {
    position: relative;
    height: 50px;
    width: 50px;
    border-radius: 5px;
    background: #917c5e;
    cursor: pointer;
}

    .menu-hum span {
        display: inline-block;
        position: absolute;
        left: 14px;
        height: 2px;
        width: 45%;
        border-radius: 5px;
        background: #fff;
        transition: all 0.4s;
    }

        .menu-hum span:nth-of-type(1) {
            top: 13px;
        }

        .menu-hum span:nth-of-type(2) {
            top: 19px;
        }

        .menu-hum span:nth-of-type(3) {
            top: 25px;
        }

            .menu-hum span:nth-of-type(3)::after {
                position: absolute;
                top: 5px;
                left: -3px;
                color: #fff;
                font-size: 0.6rem;
                text-transform: uppercase;
                content: "Menu";
            }

    /*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
    .menu-hum.active span:nth-of-type(1) {
        top: 14px;
        left: 18px;
        width: 30%;
        transform: translateY(6px) rotate(-45deg);
    }

    .menu-hum.active span:nth-of-type(2) {
        opacity: 0;
    }

    .menu-hum.active span:nth-of-type(3) {
        top: 26px;
        left: 18px;
        width: 30%;
        transform: translateY(-6px) rotate(45deg);
    }

        .menu-hum.active span:nth-of-type(3)::after {
            top: 5px;
            left: 2px;
            content: "Close";
            transform: translateY(0) rotate(-45deg);
        }

/*--------------------
    ページ上部ボタン
--------------------*/

#pageTop {
    position: fixed;
    z-index: 2;
    right: 10px;
    bottom: -50px;
}

    #pageTop a {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 50px;
        width: 50px;
        border-radius: 5px;
        background-color: #917c5e;
        color: #fff;
        font-size: 0.75rem;
        text-align: center;
        text-transform: uppercase;
        text-decoration: none;
        transition: all 0.3s;
    }

        #pageTop a:hover {
            opacity: 0.8;
        }

/*--------------------
    検索画面
--------------------*/

.ui-widget-header {
    background-color: #fef6e7;
    border: none;
    border-bottom: 2px solid rgba(145,124,94,0.5);
}

.ui-dialog-title {
    color: #75654d;
}

button.ui-dialog-titlebar-close {
    display: none;
}

/*----------------------------------------

    ＊＊「メニュー画面」＊＊

----------------------------------------*/

/*--------------------
    メニューボタン
--------------------*/

.btn-menu {
    display: flex;
    align-items: center;
    padding: 1rem 2.5rem;
    width: 100%;
    border: 1px solid #75654d;
    border-radius: 5px;
    background-color: #75654d;
    color: #fff !important;
    font-size: 1.25rem;
    font-weight: 600;
    transition: 0.3s;
    justify-content: space-between;
}

    .btn-menu:not(:disabled):not(.disabled) {
        cursor: pointer;
    }

    .btn-menu::after {
        width: 12px;
        height: 12px;
        border-top: solid 3px #fff;
        border-right: solid 3px #fff;
        transform: rotate(45deg);
        content: '';
    }

    .btn-menu:hover {
        text-decoration: none;
        opacity: 0.7;
    }

/*--------------------
    サブメニューボタン
--------------------*/

.btn-menu-sub {
    display: flex;
    align-items: center;
    padding: 0.5rem 2.5rem;
    width: 100%;
    border: 3px solid #75654d;
    border-radius: 5px;
    background-color: transparent;
    color: #75654d !important;
    font-size: 1rem;
    font-weight: 600;
    transition: 0.3s;
    justify-content: space-between;
}

    .btn-menu-sub:not(:disabled):not(.disabled) {
        cursor: pointer;
    }

    .btn-menu-sub::after {
        width: 12px;
        height: 12px;
        border-top: solid 3px #75654d;
        border-right: solid 3px #75654d;
        transform: rotate(45deg);
        content: '';
    }

    .btn-menu-sub:hover {
        text-decoration: none;
        opacity: 0.7;
    }

@media (min-width: 576px) {
    .btn-menu, .btn-menu-sub {
        max-width: 300px;
    }
}

/*--------------------
    メニュー一覧
--------------------*/

.link-menu {
    padding: 0.5rem 1rem;
    color: #917c5e !important;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: underline !important;
    cursor: pointer;
}

    .link-menu:hover {
        color: #ee8374 !important;
        opacity: 0.8;
    }

    .link-menu:before {
        position: absolute;
        left: 0.5rem;
        color: #ee8374;
        font-size: 1rem;
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f0da";
    }

/*----------------------------------------

    ＊＊「共通」＊＊

----------------------------------------*/
/*--------------------
    見出し
--------------------*/
/* タイトル */
h3, .h3 {
    width: 100% !important;
    padding: 1rem;
    border-left: 10px solid #89c997;
    border-radius: 5px;
    background-color: #e6f1da;
    color: #75654d;
    font-size: 1.2rem;
    font-weight: 600;
}

/* サブタイトル */
h4, .h4 {
    width: 100% !important;
    padding: 0.75rem;
    border-bottom: 2px solid rgba(145,124,94,0.5);
    color: #75654d;
    font-size: 1rem;
    font-weight: 600;
}

h5, .h5 {
    color: #75654d;
}

/*--------------------
    リンク
--------------------*/
.link-base {
    color: #917c5e !important;
    text-decoration: underline !important;
    font-weight: 600;
    cursor: pointer;
}

    .link-base:hover {
        color: #ee8374 !important;
        opacity: 0.8;
    }

/*--------------------
    グリッド
--------------------*/
.grid-th {
    background-color: #fbeace;
    color: #75654d;
    font-weight: 700;
}

.grid-th, .grid-td {
    padding: 0.4rem;
    border: 1px solid #917c5e;
}

.grid-row.font-small .grid-th,
.grid-row.font-small .grid-td,
.grid-col.font-small .grid-th,
.grid-col.font-small .grid-td {
    padding: 0.1rem;
    font-size: 0.8rem;
}

/* １行毎 */
.grid-row .grid-th,
.grid-row .grid-td {
    border-bottom: none;
}

    .grid-row .grid-th.last,
    .grid-row .grid-td.last {
        border-bottom: 1px solid #917c5e;
    }

/* １コマ毎 */
.grid-col .grid-th {
    border-right: none;
    text-align: center;
}

    .grid-col .grid-th.last {
        border-right: 1px solid #917c5e;
    }

.grid-col .grid-td {
    border-top: none;
    border-right: none;
}

    .grid-col .grid-td.last {
        border-right: 1px solid #917c5e;
    }

/*--------------------
    ボタン
--------------------*/
/* メインボタン */
.btn-custom {
    color: #fff;
    background-color: #75654d;
    border-color: #75654d;
    font-weight: 600;
}

    .btn-custom:hover {
        color: #fff;
        background-color: #75654d;
        border-color: #75654d;
        opacity: 0.7;
    }

    .btn-custom:focus, .btn-custom.focus {
        color: #fff;
        background-color: #75654d;
        border-color: #75654d;
        box-shadow: 0 0 0 0.2rem rgba(145,124,94,0.3);
    }

    .btn-custom.disabled, .btn-custom:disabled {
        color: #fff;
        background-color: #75654d;
        border-color: #75654d;
    }

        .btn-custom.disabled:hover, .btn-custom:disabled:hover {
            opacity: 0.65;
        }

    .btn-custom:not(:disabled):not(.disabled):active, .btn-custom:not(:disabled):not(.disabled).active,
    .show > .btn-custom.dropdown-toggle {
        color: #fff;
        background-color: #756346;
        border-color: #756346;
    }

        .btn-custom:not(:disabled):not(.disabled):active:focus, .btn-custom:not(:disabled):not(.disabled).active:focus,
        .show > .btn-custom.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(145,124,94,0.3);
        }

/* サブボタン */
.btn-outline-custom {
    color: #75654d;
    border-color: #75654d;
}

    .btn-outline-custom:hover {
        color: #fff;
        background-color: #75654d;
        border-color: #75654d;
    }

    .btn-outline-custom:focus, .btn-outline-custom.focus {
        box-shadow: 0 0 0 0.2rem rgba(145,124,94,0.3);
    }

    .btn-outline-custom.disabled, .btn-outline-custom:disabled {
        color: #75654d;
        background-color: transparent;
        border-color: #75654d;
    }

        .btn-outline-custom.disabled:hover, .btn-outline-custom:disabled:hover {
            opacity: 0.65;
        }

    .btn-outline-custom:not(:disabled):not(.disabled):active, .btn-outline-custom:not(:disabled):not(.disabled).active,
    .show > .btn-outline-custom.dropdown-toggle {
        color: #fff;
        background-color: #75654d;
        border-color: #75654d;
    }

        .btn-outline-custom:not(:disabled):not(.disabled):active:focus, .btn-outline-custom:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-custom.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(145,124,94,0.3);
        }

/* 検索ボタン */
.btn-search {
    border: 0;
    border-radius: 5px;
    height: 2rem;
    width: 2rem;
    background-color: #917c5e;
    background-image: url(../Image/search.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 70%;
}

    .btn-search:hover {
        opacity: 0.7;
    }

    .btn-search:disabled {
        opacity: 0.5;
    }

        .btn-search:disabled:hover {
            opacity: 0.5;
        }

/* カレンダボタン */
.btn-calendar {
    border: 0;
    border-radius: 5px;
    height: 2rem;
    width: 2rem;
    background-color: #917c5e;
    background-image: url(../Image/calendar.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 70%;
}

    .btn-calendar:hover {
        opacity: 0.7;
    }

    .btn-calendar:disabled {
        opacity: 0.5;
    }

        .btn-calendar:disabled:hover {
            opacity: 0.5;
        }

/*--------------------
    テキストボックス
--------------------*/
/* テキストボックス */
.textbox {
    margin: 0.1rem;
    padding: 0.25rem;
    border: 1px solid #808080;
    border-radius: 3px;
    width: 100%;
}

    .textbox:focus {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(145,124,94,0.3);
    }

.grid-col .grid-td .textbox {
    margin: 0 !important;
    padding: 0.2rem 0.1rem !important;
    border: 0;
}

/* テキストボックス（表示のみ） */
.textbox-disp {
    margin: 0.1rem;
    padding: 0.25rem;
    border: 0;
    border-radius: 3px;
    width: 100%;
    background-color: transparent !important;
}

    .textbox-disp:focus {
        outline: none;
    }

.grid-col .grid-td .textbox-disp {
    margin: 0 !important;
    padding: 0.2rem 0.1rem !important;
}

/* ドロップダウン */
.dropdown {
    margin: 0.1rem;
    padding: 0.25rem;
    border: 1px solid #808080;
    border-radius: 3px;
    width: 100%;
}

    .dropdown:focus {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(145,124,94,0.3);
    }

/*--------------------
    入力項目
--------------------*/
.input-grp {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

    .input-grp .btn-search,
    .input-grp .btn-calendar {
        height: 1.8rem;
        width: 1.8rem;
    }

    .input-grp > .input-textbox,
    .input-grp > .input-dropdown {
        position: relative;
        flex: 1 1 auto;
        width: 1%;
        min-width: 0;
    }

.input-textbox {
    display: block;
    margin: auto 0 auto 0.25rem;
    padding: 0.2rem;
    color: #202020;
    font-size: 0.9rem;
    width: 100%;
}

.input-dropdown {
    display: block;
    margin: auto 0 auto 0.25rem;
    padding: 0.2rem;
    color: #202020;
    font-size: 0.9rem;
    width: 100%;
}

.input-label {
    padding: 0.2rem;
    border: 1px solid #917c5e;
    border-radius: 0.15rem;
    background-color: #fbeace;
    color: #75654d;
    font-size: 0.9rem;
    text-align: center;
    width: 6.5rem;
}

.input-label-big {
    padding: 0.2rem;
    border: 1px solid #917c5e;
    border-radius: 0.15rem;
    background-color: #fbeace;
    color: #75654d;
    font-size: 0.9rem;
    text-align: center;
    width: 8.5rem;
}

/*--------------------
    その他コントロール
--------------------*/
/* ラジオボタン */
.radiobtn {
    margin: 0.1rem 2rem 0.1rem 0.1rem;
}

    .radiobtn label {
        margin-bottom: 0 !important;
    }

/* 必須項目 */
.input-req {
    display: block;
    position: relative;
}

    .input-req:after {
        position: absolute;
        margin-left: 0.5rem;
        padding: 0 0.5rem;
        border-radius: 5px;
        color: #fff;
    }

    .input-req:after {
        background-color: #ee8374;
        content: "\5FC5\9808";
    }

/* 項目の説明 */
.input-exp {
    color: #696969;
    font-size: 0.8rem;
}

/*--------------------
    表示・非表示 制御
--------------------*/
@media (max-width: 575px) {
    .pc-sm {
        display: none;
    }
}

@media (min-width: 576px) {
    .sp-sm {
        display: none;
    }
}

@media (max-width: 767px) {
    .pc-md {
        display: none;
    }
}

@media (min-width: 768px) {
    .sp-md {
        display: none;
    }
}

@media (max-width: 991px) {
    .pc-lg {
        display: none;
    }
}

@media (min-width: 992px) {
    .sp-lg {
        display: none;
    }
}

/*--------------------
    罫線
--------------------*/
.border-custom {
    border: 1px solid #917c5e !important;
}

.border-custom-top {
    border-top: 1px solid #917c5e !important;
}

.border-custom-right {
    border-right: 1px solid #917c5e !important;
}

.border-custom-bottom {
    border-bottom: 1px solid #917c5e !important;
}

.border-custom-left {
    border-left: 1px solid #917c5e !important;
}

/*--------------------
    背景色
--------------------*/
.bg-gray {
    background-color: #c9c9c4 !important;
}

/*--------------------
    フォントサイズ
--------------------*/
.font-big {
    font-size: 1.1rem;
}

.font-small {
    font-size: 0.9rem;
}

/*--------------------
    フォント色
--------------------*/
.text-red {
    color: #ff0000 !important;
}

.text-blue {
    color: #0000ff !important;
}

/*--------------------
    IMEモード
--------------------*/
.ime-off {
    ime-mode: inactive;
}

.ime-on {
    ime-mode: active;
}

.ime-no {
    ime-mode: disabled;
}

/*--------------------
    横サイズ
--------------------*/
.w-10 {
    width: 10% !important;
}

.w-20 {
    width: 20% !important;
}

.w-30 {
    width: 30% !important;
}

.w-40 {
    width: 40% !important;
}

.w-60 {
    width: 60% !important;
}

.w-70 {
    width: 70% !important;
}

.w-80 {
    width: 80% !important;
}

.w-90 {
    width: 90% !important;
}

@media (min-width: 576px) {
    .w-sm-10 {
        width: 10% !important;
    }

    .w-sm-20 {
        width: 20% !important;
    }

    .w-sm-25 {
        width: 25% !important;
    }

    .w-sm-30 {
        width: 30% !important;
    }

    .w-sm-40 {
        width: 40% !important;
    }

    .w-sm-50 {
        width: 50% !important;
    }

    .w-sm-60 {
        width: 60% !important;
    }

    .w-sm-70 {
        width: 70% !important;
    }

    .w-sm-75 {
        width: 75% !important;
    }

    .w-sm-80 {
        width: 80% !important;
    }

    .w-sm-90 {
        width: 90% !important;
    }

    .w-sm-100 {
        width: 100% !important;
    }
}

@media (min-width: 768px) {
    .w-md-10 {
        width: 10% !important;
    }

    .w-md-20 {
        width: 20% !important;
    }

    .w-md-25 {
        width: 25% !important;
    }

    .w-md-30 {
        width: 30% !important;
    }

    .w-md-40 {
        width: 40% !important;
    }

    .w-md-50 {
        width: 50% !important;
    }

    .w-md-60 {
        width: 60% !important;
    }

    .w-md-70 {
        width: 70% !important;
    }

    .w-md-75 {
        width: 75% !important;
    }

    .w-md-80 {
        width: 80% !important;
    }

    .w-md-90 {
        width: 90% !important;
    }

    .w-md-100 {
        width: 100% !important;
    }
}

@media (min-width: 992px) {
    .w-lg-10 {
        width: 10% !important;
    }

    .w-lg-20 {
        width: 20% !important;
    }

    .w-lg-25 {
        width: 25% !important;
    }

    .w-lg-30 {
        width: 30% !important;
    }

    .w-lg-40 {
        width: 40% !important;
    }

    .w-lg-50 {
        width: 50% !important;
    }

    .w-lg-60 {
        width: 60% !important;
    }

    .w-lg-70 {
        width: 70% !important;
    }

    .w-lg-75 {
        width: 75% !important;
    }

    .w-lg-80 {
        width: 80% !important;
    }

    .w-lg-90 {
        width: 90% !important;
    }

    .w-lg-100 {
        width: 100% !important;
    }
}

@media (min-width: 1200px) {
    .w-xl-10 {
        width: 10% !important;
    }

    .w-xl-20 {
        width: 20% !important;
    }

    .w-xl-25 {
        width: 25% !important;
    }

    .w-xl-30 {
        width: 30% !important;
    }

    .w-xl-40 {
        width: 40% !important;
    }

    .w-xl-50 {
        width: 50% !important;
    }

    .w-xl-60 {
        width: 60% !important;
    }

    .w-xl-70 {
        width: 70% !important;
    }

    .w-xl-75 {
        width: 75% !important;
    }

    .w-xl-80 {
        width: 80% !important;
    }

    .w-xl-90 {
        width: 90% !important;
    }

    .w-xl-100 {
        width: 100% !important;
    }
}
