/*-----------------------------------------------
モーダル共通
-----------------------------------------------*/
.cmn_modal .modal-dialog {
    width: 100%;
    max-width: 700px;
}

.cmn_modal .modal-header {
    border: none;
    font-weight: 500;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.cmn_modal .modal-body {
    display: flex;
    font-weight: 300;
}

.cmn_modal .modal-footer {
    border: none;
}

.cmn_modal .modal-content {
    border: 10px solid #ff9b00;
    border-radius: 30px;
    padding: 20px;
    max-height: calc(100vh - 30px);
    overflow: auto;
}

.cmn_modal .modal-content.hint {
    border: 10px solid #0064BE;
}

.cmn_modal .modal-header h3 {
    display: block;
}

.cmn_modal .btn-edit.btn-large {
    width: 370px;
}

.cmn_modal .modal-footer .btn-edit {
    /* padding: 10px 0px; */
    box-shadow: 0px 4px rgb(0 0 0 / 40%);
    text-align: center;
    /* height: 40px; */
    /* font-size: 12px; */
    line-height: 30px;
}

.cmn_modal .modal-footer .btn-edit.btn-close {
    width: 150px;
}

.cmn_modal .modal-footer .btn-edit .btn_img {
    width: 20px;
    height: auto;
    vertical-align: middle;
}

@media (max-width: 639.98px) {
    .cmn_modal .modal-dialog {
        width: auto;
    }
    
    .cmn_modal .modal-content {
        border: 5px solid #ff9b00;
        border-radius: 15px;
        padding: 5px;
    }

    .cmn_modal .modal-header h3 {
        font-size: 7vw;
    }

    .cmn_modal .modal-body {
        padding: 10px 0px;
    }

    .cmn_modal .modal-footer .btn-edit {
        box-shadow: 0px 4px rgb(0 0 0 / 40%);
        text-align: center;
        height: 30px;
        font-size: 12px;
        line-height: 18px;
    }

    .cmn_modal .modal-footer {
        padding: 10px 10px;
    }

    .cmn_modal .container-fluid {
        padding-right: 0px;
        padding-left: 0px;
        margin: 0;
    }

/*     .cmn_modal .col-6 {
        padding-right: 2vw;
        padding-left: 2vw;
    } */
    
    .cmn_modal .modal-footer .btn-edit.btn-close {
        width: 100px;
    }

    .cmn_modal .modal-footer .btn-edit .btn_img {
        width: 15px;
    }

    .cmn_modal .btn-edit.btn-large {
        width: 250px;
    }
}

/*-----------------------------------------------
画像
-----------------------------------------------*/
.cmn_modal .modal-header i {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* ヘッダー　くま */
.cmn_modal .modal-header i.bear {
    background-image: url(../../img/header_bear.svg);
}

/* ヘッダー　エラー */
.cmn_modal .modal-header i.error {
    background-image: url(../../img/error.svg);
    margin-right: 5px;
}

/* ヘッダー　ヒント */
/* .cmn_modal .modal-header i.hint {
    background-image: url(../../img/hint.svg);
} */

@media (orientation: portrait) and (max-width: 320px) {
    .cmn_modal .modal-header i.error {
        margin-right: 15px;
    }
}
