@charset "utf-8";

.bank_modal{
    position: fixed;
    top: 0; left: 0;
    z-index: 10000;
    display: none; flex-wrap: nowrap;
    justify-content: center; align-items: center;
    width: 100%; height: 100vh;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
}

@media screen and (max-width:768px) { /*SP*/
    .bank_wrap{
        position: relative;
        display: block;
        width: calc(100% - 20px);
        height: calc(100% - 150px);
    }
    .bank_close{
        position: absolute;
        top: 0px; right: 0;
        background-color: rgba(0,0,0,0);
        width: 80px; height: 80px;
        cursor: pointer;
        transition: 0.3s;
        z-index: 1;
    }
    .bank_close::after{
        position: absolute;
        content: '×';
        color: #fff;
        font-size: 30px;
        top: 22px; left: 30px;
    }
    .bank_content{
        position: relative;
        overflow-y: scroll;
        background-color: #fff;
        display: none; /* -> block in JS */
        width: 100%; height: 100%;
    }
}
@media screen and (min-width:769px) , print { /*PC&TB*/
    .bank_wrap{
        position: relative;
        display: block;
        /* width: calc(100% - 100px); */
        /* height: calc(100% - 200px); */
        width: 100%; max-width: 1000px;
        height: 100%; max-height: 500px;
    }
    .bank_close{
        position: absolute;
        top: 0px; right: 0;
        background-color: rgba(0,0,0,0);
        width: 80px; height: 80px;
        cursor: pointer;
        transition: 0.3s;
        z-index: 1;
    }
    .bank_close::after{
        position: absolute;
        content: '×';
        color: #fff;
        font-size: 30px;
        top: 22px; left: 30px;
    }
    .bank_close:hover{
        opacity: 0.5;
    }
    .bank_content{
        position: relative;
        overflow-y: scroll;
        -ms-overflow-style: none;    /* IE, Edge */
        scrollbar-width: none;       /* Firefox */
        background-color: #fff;
        display: none; /* -> block in JS */
        width: 100%; height: 100%;
    }
    .bank_content::-webkit-scrollbar {  /* Chrome, Safari */
        display:none;
    }
}

.modal_ON{
    display: block;
}

.test{
    padding: 50px;
}