@charset "utf-8";
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

/* //////////////////////////パソコン/////////////////////// */
@media screen and (min-width: 901px) {
.modal-content {
    place-content: center;
    background-color: #fff;
    margin: 90px auto;
    padding: 20px;
    border: 1px solid #888;
    width: 30%;
    animation-name: modalopen;
    animation-duration: 1s;
}
.modal-content_name {
    place-content: center;
    background-color: #fff;
    margin: 90px auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    animation-name: modalopen;
    animation-duration: 1s;
}

.modal-content p{
    margin:10px 0 ;
}

.p-center{
    display:grid;
    place-content: center;
}
.warning{
    color:red;
    font-weight: bold;
}
.in_com {
	width: 300px;  /* 横幅 */
	height: 100px; /* 高さ */
}
}
/* //////////////////////////タブレット/////////////////////// */
@media screen and (min-width: 801px) and (max-width: 1438px) {
    .modal-content {
        place-content: center;
        background-color: #fff;
        margin: 90px auto;
        padding: 20px;
        border: 1px solid #888;
        width: 30%;
        animation-name: modalopen;
        animation-duration: 1s;
    }
    .modal-content_name {
        place-content: center;
        background-color: #fff;
        margin: 90px auto;
        padding: 20px;
        border: 1px solid #888;
        width: 60%;
        animation-name: modalopen;
        animation-duration: 1s;
    }

    .modal-content p{
        margin:10px 0 ;
    }

    .p-center{
        display:grid;
        place-content: center;
    }
    .warning{
        color:red;
        font-weight: bold;
    }
    .in_com {
        width: 300px;  /* 横幅 */
        height: 100px; /* 高さ */
    }
}

/* //////////////////////////スマホ/////////////////////// */
@media screen and (max-width: 900px) {
    .modal {
        display: none;
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .modal-content {
        place-content: center;
        background-color: #fff;
        margin: 90px auto;
        padding: 20px;
        border: 1px solid #888;
        width: 50%;
        animation-name: modalopen;
        animation-duration: 1s;
        font-size: 0.7rem;
    }
    .modal-content_name {
        place-content: center;
        background-color: #fff;
        margin: 90px auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
        animation-name: modalopen;
        animation-duration: 1s;
        font-size: 0.8rem;
    }

    .modal-content p{
        margin:10px 0 ;
    }

    .p-center{
        display:grid;
        place-content: center;
    }
    .warning{
        color:red;
        font-weight: bold;
    }

    .in_com {
        width: 100%;  /* 横幅 */
        height: 60px; /* 高さ */
    }
}
@keyframes modalopen {
    from {opacity: 0}
    to {opacity: 1}
    }