@charset "UTF-8";
/* modal
--------------------------------------------------------------------*/
#modal{
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow: auto;
    z-index: 100;
}

#modal .modal-header{
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #ddd;
    color: #ff5137;
    font-weight: bold;
    font-size: 1.8rem;
}

#modal_content{
    position: relative;
    width: 500px;
    margin: 15% auto;
    background: #fff;
    border-radius: .3rem;
    font-size: 1.6rem;
    line-height: 1.7;
    animation:animatetop 0.4s}@keyframes animatetop{from{top:-300px;opacity:0} to{top:0;opacity:1}
}

#modal_content > .modal-text{
    margin-bottom: 10px;
    padding: 1.5rem;
}

#modal .modal-footer{
    padding: 1.5rem 1rem;
    border-top: 1px solid #ddd;
    text-align: right;
}

#modal .modal-footer button{
    display: inline-block;
    padding: 0.8rem 1.5rem;
    text-align: center;
    background-color: #868e96;
    border-color: #868e96;
    border: 1px solid transparent;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.5;
    cursor: pointer;
    white-space: nowrap;
    vertical-align: middle;
    transition: all .15s ease-in-out;
    user-select: none;
}

#modal .modal-footer button.btn_ok + #modal .modal-footer button.btn_close.mini{
    max-width: 150px;
}

#modal .modal-footer button.btn_ok{
    max-width: 80px;
    margin-left: 10px;
    background-color: #dc3545;
    border-color: #dc3545;
}

/* SP */
@media screen and (max-width: 768px){
    #modal_content{
        width: 90%;
    }

    #modal .modal-footer button.btn_close.mini,
    #modal .modal-footer button.btn_ok
    {
        width: 50%;
    }
}
