@charset "utf-8";


@media (max-width: 1024px) {
    /* Tablet */

}

@media (max-width: 599px) {
    /* SP */

}


/* ---------------------------

基本

--------------------------- */
body {
    min-width: 1260px;
}

main {
    margin-bottom: 20px;
    padding-top: 80px;
    max-width: 1240px;
    margin: 0 auto;
}

.caption_wrapper {
    padding: 25px 0;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.caption {
    font-weight: 400;
    margin-left: 40px;
    font-size: 1.3rem;
    color: #585858;
}

section {
    width: 100%;
}

input,
select,
textarea {
    border: 1px solid #888888;
    width: 100%;
    border-radius: 2px;
    font-weight: 400;
    font-size: 1.4rem;
}

select {
    cursor: pointer;
}

input.num {
    font-family: 'Lato', sans-serif;
}

label {
    font-size: 1.4rem;
}

textarea {
    resize: none;
}

::placeholder {
    color: #a2a2a2;
}

/* ---------------------------

ヘッダー下の帯

--------------------------- */
.band {
    background-color: #fff;
    box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
    width: 100%;
    position: relative;
    top: 60px;
    padding: 10px 40px;
}


/* ---------------------------

table

--------------------------- */
table {
    background-color: #fff;
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #888888;
    max-width: 100%;
}

table th,
table td {
    padding: 6px 10px;
    line-height: 1;
    word-break: break-all;
}

table th,
table td {
    border-bottom: 1px solid #888888;
    border-right: 1px solid #888888;
}

table th:last-of-type,
table td:last-of-type {
    border-right: none;
}

table tr:last-of-type td {
    border-bottom: none;
}

table p {
    font-size: 1.4rem;
}

/* ----- thead ----- */
table thead {
    background-color: #FA8787;
    display: block;
}

table thead p {
    font-weight: 700;
    color: #fff;
}

/* ----- tbody ----- */
table tbody {
    background-color: #fff;
    max-height: 400px;
    overflow-y: scroll;
    display: block;
    min-height: 32px;
}

table tbody p {
    font-weight: 400;
}

/* ----- .num ----- */
table tbody tr th.num p,
table tbody tr td.num p {
    font-family: 'Lato', sans-serif;
    text-align: center;
}

/* ---------------------------
table.table2 幅調整
--------------------------- */
table.table2 th,
table.table2 td {
    padding: 4px 20px;
}

input[type=checkbox] {
    vertical-align: middle;
    position: relative;
    top: 3px;
}

table .btn-box {
    text-align: center;
    position: relative;
    padding-top: 6px;
}

/* ---------------------------
table hover設定
--------------------------- */
table tbody tr {
    background-color: #fff;
}

table tbody tr:nth-of-type(2n) {
    background-color: #EFF5FF;
}

table tbody tr:hover {
    background-color: #c2dbff;
}

table.hover-none tbody tr:hover {
    background-color: inherit;
}

table.check tbody tr.selected {
    background-color: #FFF688;
}

table.check tbody tr:hover {
    cursor: pointer;
}

table.check tbody tr input {
    cursor: pointer;
}

/* ---------------------------

section.edit

--------------------------- */
section.edit {
    font-size: 1.4rem;
    max-width: 500px;
    border: 1px solid #888888;
    padding: 30px 30px 40px 30px;
}

section.edit .item:not(:last-of-type) {
    margin-bottom: 25px;
    /* white-space: nowrap; */
    position: relative;
}

section.edit .item label {
    width: 120px;
    display: inline-block;
    white-space: nowrap;
    /* color: #72777A; */
    letter-spacing: 0;
    position: relative;
    top: 3px;
}

section.edit .item input,
section.edit .item select,
section.edit .item textarea {
    border: 1px solid #888888;
    width: calc(100% - 125px);
    border-radius: 0px;
    padding: 3px 5px;
    font-weight: 400;
}

section.edit .item .fas {
    position: absolute;
    right: 13px;
    top: 8px;
    pointer-events: none;
}

/* 改行するパターン */
section.edit .item.br {
    white-space: inherit;
}

section.edit .item.br label {
    width: 100%;
    margin-bottom: 5px;
}

section.edit .item.br textarea {
    width: 100%;
    height: 100px;
}



.need::after {
    content: '*';
    color: red;
    margin-left: 3px;
    font-weight: 700;
}


/* ---------------------------

section.filter

--------------------------- */

/* ---------------------------

検索枠

--------------------------- */
input.search {
    background-color: #EBEDED;
    height: 30px;
    width: 300px;
    border-radius: 20px;
    font-weight: 400;
    vertical-align: middle;
    padding: 0px 15px;
    border: 1px solid #D6D6D6;
    font-size: 13px;
}

input.search::placeholder {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
}

/* ----------------------------

ラジオボタン

---------------------------- */

.filter .item.radio-box {
    margin-bottom: 20px;
}

.filter .item.radio-box input[type=radio] {
    display: none;
}

.filter .item.radio-box label {
    letter-spacing: 0.05em;
    color: #fff;
    background-color: #AFAFAF;
    padding: 8px 25px;
    border-radius: 3px;
    font-weight: 700;
    box-shadow: 0px 2px 0px #5A6765;
}

.filter input:checked+label {
    background-color: #02B199 !important;
}

.filter .item.radio-box .fa-calendar {
    font-size: 1.6rem;
    padding-right: 10px;
    position: relative;
    top: 1px;
}

.filter .item.radio-box input[type=date] {
    border-radius: 2px;
    height: 30px;
    background-color: #fff;
    /* width: 180px;*/
    width: 160px;
    margin-left: 4px;
}

.filter .item.radio-box input[type=month] {
    border-radius: 2px;
    height: 30px;
    background-color: #fff;
    width: 160px;
    margin-left: 4px;
}



.filter .item .fas {
    position: absolute;
    right: 10px;
    top: 7px;
    pointer-events: none;
    /* プルダウン表示のための記述 */
}

.filter .btn-box {
    display: inline-block;
    margin-left: 50px;
}

.filter .fa-magnifying-glass {
    /* color: #72777A; */
}

.filter ::placeholder {
    color: #A7A7A7;
}

section.filter .item br {
    display: none;
}


/* ---------------------------

section.gray

--------------------------- */
section.gray .item {
    display: flex;
    border-bottom: 1px solid #888888;
    padding: 20px;
}

section.gray .item:last-of-type {
    border-bottom: none;
}

section.gray {
    padding: 0;
}

section.gray h3 {
    /* padding: 10px 20px; */
    /* color: #72777A; */
    font-size: 1.4rem;
    font-weight: 700;
    width: 200px;
    min-width: 200px;
    padding-right: 10px;
}

section.gray .content {
    /* padding: 15px 20px; */
}

section.gray input,
select {
    padding: 3px 10px;
}

/* ---------------------------

ページャー

--------------------------- */
.pager_wrapper {
    height: 40px;
    position: relative;
    display: inherit;
    text-align: center;
}

.pager_container {
    display: inline-block;
    padding-top: 5px;
}

.pager {
    margin: 3px;
    width: 22px;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    display: inline-block;
}

.pager.current {
    color: #02B199;
    border-bottom: 1px solid #02B199;
}

.pager:hover {
    cursor: pointer;
    opacity: 0.8;
}

/* ---------------------------

件数表示

--------------------------- */
.pager_count_container {
    font-size: 1.2rem;
}

/* ---------------------------

モーダル

--------------------------- */
.modal {
    display: none;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 10000;
}

.modal__bg {
    background: rgba(100, 100, 100, 0.9);
    height: 100vh;
    position: absolute;
    width: 100%;
}

.modal__content {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: calc(100% - 20px);
}

.modal__content::-webkit-scrollbar {
    display: none;
}

a.js-modal-close {
    font-size: 3.2rem;
    text-align: right;
    display: block;
    color: #fff;
}

.modal__content .content {
    background-color: #fff;
    padding: 20px;
    border-radius: 3px;
}

/* ---------------------------

モーダル/プレビュー

--------------------------- */
.modal-preview .content {
    border-top: 15px solid #02B199;
    overflow-y: scroll;
    max-height: 600px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-preview h5 {
    padding-bottom: 10px;
    border-bottom: 2px solid #5A6765;
    font-size: 1.6rem;
    font-weight: 700;
}

.modal-preview p {
    padding: 15px 0 0px;
    font-weight: 400;
}

.modal-preview .small {
    border-top: 2px solid #5A6765;
    display: block;
    font-size: 0.8em;
    color: #A2A2A2;
    font-weight: 400;
    padding-top: 10px;
    margin-top: 40px;
}

/* ---------------------------

common_sp.css

--------------------------- */

@media (max-width: 1024px) {

    /* SP */
    body {
        width: 100%;
        min-width: 350px;
    }

    main {
        width: 100%;
        padding: 80px 5px 0;
    }

    .caption_wrapper {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0px 20px;
    }

    h2 {
        font-size: 1.8rem;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .caption {
        position: absolute;
        width: 100%;
        bottom: -50px;
        margin: 0;
        left: 0;
        padding: 0 10px;
        font-size: 1.2rem;
        line-height: 1.5;
    }

    input {
        font-size: 1.3rem;
    }

    label {
        font-size: 1.3rem;
    }


    /* ---------------------------

    ヘッダー下の帯

    --------------------------- */
    .band {
        position: relative;
        top: 60px;
        padding: 8px 5px;
    }



    section.gray h3 {
        padding: 8px 10px;
        width: 100%;
    }

    section.gray .content {
        padding: 10px;
    }


    .pager_container {
        width: 100%;
    }

    .pager {
        width: 15px;
    }



    .table_container {
        overflow-x: scroll;
    }

    table tbody {
        min-height: 31px;
    }

    table th,
    table td {
        padding: 5px;
    }

    table p {
        font-size: 1.3rem;
    }

    table.table2 th,
    table.table2 td {
        padding: 5px;
    }

    input[type=checkbox] {
        top: 1px;
    }


    /* ---------------------------

    section.edit

    --------------------------- */
    section.edit {
        padding: 0px 20px 10px;
        border: none;
    }

    section.edit .item label {
        width: 100%;
    }

    section.edit .item:not(:last-of-type) {
        margin-bottom: 15px;
    }

    section.edit .item.br textarea {
        height: 60px;
    }




    .pager_wrapper {
        height: inherit;
    }

    .pager_container {
        padding-top: 5px;
        white-space: nowrap;
    }

    .pager {
        width: 22px;
        margin: 0;
        font-size: 1.2rem;
    }

    .pager_count_container {
        position: inherit;
        right: inherit;
        top: inherit;
        font-size: 1.1rem;
        text-align: right;
    }


    /* ---------------------------

    section.filter

    --------------------------- */
    section.filter {
        /* padding-top: 10px;
        padding-bottom: 10px; */
    }

    section.filter br {
        display: none;
    }

    section.filter .item br {
        display: block;
    }

    .filter .item {
        margin-bottom: 10px;
        margin-right: 0;
        display: block;
    }

    .filter label,
    .filter p {
        display: block;
    }

    .filter select,
    .filter input {
        width: 100%;
        border-radius: 5px;
        height: 32px;
    }


    .filter .btn-box {
        text-align: right;
        width: 100%;
        margin: 0;
    }

    .filter .item .fas {
        top: 32px;
    }



    input.search {
        width: 225px;
        font-size: 1.2rem;
        padding: 0 5px;
        height: 36px;
        line-height: 36px;
    }

    /* --------------------------
    
    ラジオボタン

    -------------------------- */
    .filter .item.radio-box {
        width: 100%;
        white-space: nowrap;
    }

    .filter .item.radio-box label {
        display: inline-block;
        padding: 4px 10px;
        font-size: 1.2rem;
    }

        .filter .item.radio-box input[type=date] {
            width: auto;
            margin-left: 0;
        }

        .filter .item.radio-box input[type=month] {
            width: 180px;
            margin-left: 0;
        }









    section.gray .item {
        flex-direction: column;
        padding: 10px;
    }

    section.gray h3 {
        padding: 0;
        padding-bottom: 10px;
    }

    section.gray .content {
        padding: 0;
    }





    .modal__content {
        width: 90%;
    }


}