﻿/*####################################################################################################*/
/* カスタムプロパティ */
/*####################################################################################################*/
:root {
    --MAIN-FONT-COLOR: #555555;
    --MAIN-BACKGROUND-COLOR: #F7F9FC;
    --ITEM-HOVER-COLOR: #FFF9D7;
    --SYSTEM-RED: #C11A33;
    --SYSTEM-OK: #198754;
    --SYSTEM-NG: #C11A33;
    --SYSTEM-ALERT-BG: #FFF1FC;
    --WDW-COLOR: #D14CE0;
    --WDW-COLOR-LIGHT: #F8BFFF;
    --DLR-COLOR: #F69047;
    --DLR-COLOR-LIGHT: #FFD0AE;
    --AUL-COLOR: #BB7F35;
    --AUL-COLOR-LIGHT: #EFC99A;
    --DCL-COLOR: #009CEF;
    --DCL-COLOR-LIGHT: #B5E5FF;
    --OTHER-COLOR: #AAAAAA;
    --OTHER-COLOR-LIGHT: #DDDDDD;
    --BOX-SHADOW-MAIN: 0 12px 14px #0000000a;
    --NUMERIC-FONT: "Noto Sans JP", sans-serif !important;
}

/*####################################################################################################*/
/* 共通 */
/*####################################################################################################*/
body {
    font-family: 'Kosugi Maru', -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif !important;
    font-optical-sizing: auto !important;
    font-style: normal !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    color: var(--MAIN-FONT-COLOR);
    background: var(--MAIN-BACKGROUND-COLOR);
    min-width: 320px;
}

    body.ScrollLock {
        overflow: hidden;
        /*padding-right: 15px;*/
    }

main {
    padding: 30px 10px 50px;
}

.row {
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 32px;
    margin: 24px 0;
}

h2 {
    font-size: 24px;
    margin: 20px 0;
}

h3 {
    font-size: 20px;
    margin: 16px 0;
}

h4 {
    font-size: 16px;
    margin: 12px 0;
}

h5 {
    font-size: 14px;
    margin: 8px 0;
}

h6 {
    font-size: 12px;
    margin: 8px 0;
}

/*ページヘッダー*/
#MainPageHeader {
    height: 90px;
    background: #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
}

    #MainPageHeader .Logo {
    }

        #MainPageHeader .Logo img {
            width: 100px;
        }

    #MainPageHeader .Title {
        color: #ffffff;
    }

        #MainPageHeader .Title .Company {
            font-size: 18px;
            font-weight: bold;
        }

        #MainPageHeader .Title .PageTitle {
            font-size: 24px;
            font-weight: bold;
            margin: 0;
        }

/*ページ上部移動ボタン*/
#MainMoveToTop {
    position: fixed;
    right: 20px;
    z-index: 10;
    transition: all .5s;
    z-index: 1;
}

    #MainMoveToTop #btnMoveToTop {
        border-radius: 100%;
        border: none;
        width: 70px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 0 5px 0;
        transition: all .2s;
        box-shadow: 1px 1px 5px #555555;
    }

        #MainMoveToTop #btnMoveToTop:hover {
            padding: 0 0 10px 0;
            background: #dddddd;
            /*text-shadow: 0px 2px 3px #555555;*/
            /*box-shadow: 0px 2px 3px #555555;*/
            transition: all .2s;
            opacity: .8;
        }

/*ページフッター*/
#MainPageFooter {
    padding: 50px 0 200px;
    width: 100%;
    border-top: solid 1px #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
}

    #MainPageFooter img {
        width: 150px;
    }

/*リンク＆ボタン*/
a {
    color: #0000ff;
    text-decoration: none;
}

#MainPageHeader a,
#MainPageFooter a {
    color: #ffffff;
    text-decoration: none;
}

    #MainPageHeader a:hover,
    #MainPageFooter a:hover {
        text-decoration: none;
    }

main a:hover {
    color: var(--SYSTEM-RED);
    text-decoration: underline;
}

.btn-light {
    background: #efefef;
}

    .btn-light:hover {
        background: var(--ITEM-HOVER-COLOR);
    }

.btn-link {
    text-decoration: none;
    padding: 0;
}

    .btn-link:hover {
        color: var(--SYSTEM-RED);
        text-decoration: underline;
    }

/* モーダル */
.modal {
    --bs-modal-width: 700px;
}

.modal-header {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    padding: 10px 15px;
}

    .modal-header .modal-title {
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .modal-header .modal-title img {
            height: 30px;
            filter: brightness(0) invert(1);
        }

/*####################################################################################################*/
/* スマホ表示 */
/*####################################################################################################*/
@media screen and (max-width: 767px) {
    /*ページヘッダー*/
    #MainPageHeader {
        height: 70px;
        justify-content: flex-start;
        gap: 5px;
    }

        #MainPageHeader .Logo img {
            width: 80px;
            margin-left: 10px;
        }

        #MainPageHeader .Title .Company {
            font-size: 14px;
        }

        #MainPageHeader .Title .PageTitle {
            font-size: 16px;
        }
}
