﻿.wrapper {
    height: 100%;
    position: relative;
    padding-top: 4em;
    box-sizing: border-box;
}

fieldset.fieldset-border {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0;
    padding-bottom: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    width: 100%;
}

fieldset.fieldset-border-boid {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0;
    padding-bottom: 0.5rem;
    border: 2px solid #b7282e;
    border-radius: 5px;
    width: 100%;
}

form {
    opacity: 0;
    transition: .06s;
}

    form.show {
        opacity: 1;
    }

li.nav-item-border-right {
    border-right: solid #c0c0c0 1px;
}

.navbar-text {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media screen and (min-width: 768px) and (max-width: 1179px) {
    .navbar-text {
        width: 12em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media screen and (min-width: 0px) and (max-width: 767px) {
    .navbar-text {
        width: 100%;
    }
}

.header-title {
    margin-top: 1em;
    margin-left: calc(-1 * (50% + 7em));
    z-index: 100;
    width: 20em;
}

@media only screen and (max-width: 992px) {

    .header-title {
        margin-left: calc(-1 * (50% + 9em));
    }

        .header-title > h4 {
            font-size: 95%;
        }
}

.b-w {
    background: #f4f4f4;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc {
    display: block !important;
}

.sp {
    display: none !important;
}
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 868px) {
    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }

    img.sp {
        max-width: 25%;
    }
}

table > tbody > tr {
    height: 3.2em;
}

table.table-min-5 > thead > th, table.table-min-5 > tbody > tr > td {
    min-width: 5em;
}

/*　BOXデザイン　*/

.box01 {
    padding: 0.5em 1em;
    margin: 1em 0;
    background: #f4f4f4;
    border-left: solid 6px #5bb7ae;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.33);
}

.box01-frame {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding-top: 0.5em;
    padding-left: 1.5em;
    padding-right: 1.5em;
    padding-bottom: 0.5em;
    background-color: rgba(255,255,255,0.6);
}

/*ボタンレイアウト*/

.btn-big {
    min-width: 16em;
    min-height: 7em;
    padding-top: 2.5em;
    padding-bottom: 2.5em;
    font-size: 12pt;
}

@media screen and (max-width:767px) {
    .btn-big {
        min-width: 14.5em;
        min-height: 3em;
        padding-top: 1em;
        padding-bottom: 1em;
        font-size: 12pt;
    }
}

/*タブデザイン*/

ul.link-tab-item {
    display: flex;
    margin: 0;
    padding: 0;
    font-size: 142.9%;
}

    ul.link-tab-item li {
        list-style: none;
        position: relative;
        float: none;
        margin: 0 10px 0 0;
        padding: 0;
        border-bottom: 3px solid #ccc;
        text-align: center;
        flex-grow: 1;
    }

        ul.link-tab-item li a {
            border: none;
            background: none;
            color: #808080;
        }

            ul.link-tab-item li a.active {
                border: none;
                background: none;
                color: #b7282e;
            }

        ul.link-tab-item li.li-dark a.active {
            border: none;
            background: none;
            color: #000000;
        }

        ul.link-tab-item li.active {
            border: none;
            background: rgba(244,244,244,0.8);
            color: #b7282e;
            border-bottom: 3px solid #b7282e;
        }

        ul.link-tab-item li.li-dark.active {
            border: none;
            background: rgba(244,244,244,0.8);
            color: #000000;
            border-bottom: 3px solid #000000;
        }

        ul.link-tab-item li.active:after {
            content: "";
            display: block;
            position: absolute;
            right: 0;
            bottom: -10px;
            left: 0;
            width: 0;
            height: 0;
            margin: auto;
            border-width: 10px 7px 0 7px;
            border-color: #b7282e transparent transparent transparent;
            border-style: solid;
        }

        ul.link-tab-item li.li-dark.active:after {
            content: "";
            display: block;
            position: absolute;
            right: 0;
            bottom: -10px;
            left: 0;
            width: 0;
            height: 0;
            margin: auto;
            border-width: 10px 7px 0 7px;
            border-color: #000000 transparent transparent transparent;
            border-style: solid;
        }

.modal-dialog {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    margin: auto;
    pointer-events: none;
}

.modal-content {
    pointer-events: all;
    background: #f4f4f4;
}

.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: solid 6px #5bb7ae;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
    border-top: solid 6px #5bb7ae;
    border-bottom-right-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
}

/*ボーダー*/
.ori_border {
    border-top: solid 6px #5bb7ae;
    margin-top: 5px;
    margin-bottom: 5px;
}

#loading {
    display: table;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    opacity: 0.8;
    z-index: 9999;
}

    #loading .loadingMsg {
        display: table-cell;
        text-align: center;
        vertical-align: middle;
        padding-top: 140px;
        background: url("../Content/images/body/loading.gif") center center no-repeat;
    }

#timeMsg {
    display: table;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    opacity: 0.8;
}

    #timeMsg .box02 {
        display: table-cell;
        text-align: center;
        vertical-align: middle;
        padding-top: 140px;
        background: url("../Content/images/body/loading.gif") center center no-repeat;
    }

        #timeMsg .box02 p {
            margin: 0;
            padding: 0;
            font-size: 110%;
            font-weight: 400;
            color: #0c0c33;
        }

.cmb-text {
    position: absolute;
    left: 0.1em;
    top: 0.15em;
    width: calc(100% - 1.15em);
    max-width: calc(100% - 1.5em);
    height: calc(1.4em + 0.75rem);
    padding: 0.25em 0.25em;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 0.1px solid #fff;
    border-radius: 0.25rem;
}

    .cmb-text:read-only {
        background-color: #e9ecef;
        border: 0.1px solid #e9ecef;
        opacity: 1;
    }

    .cmb-text:focus {
        outline: none;
    }

.cmb-box {
    width: 100%;
    max-width: 100%;
}

.cmb-box-like-focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0px 0px 0px 0.2rem rgba(0,123,255,0.25);
}

#page_top {
    width: 60px;
    height: 60px;
    position: fixed;
    left: calc(50% - 30px);
    bottom: -60px;
    opacity: 0.6;
    border: 3px solid red;
    border-radius: 50%;
}

    #page_top a {
        display: block;
        width: 60px;
        height: 60px;
        text-decoration: none;
    }

        #page_top a::before {
            font-family: 'FontAwesome';
            font-weight: 900;
            content: '\f077';
            font-size: 25px;
            color: red;
            position: absolute;
            width: 25px;
            height: 25px;
            top: -20px;
            bottom: 0;
            right: 0;
            left: 0;
            margin: auto;
            text-align: center;
        }
