* { 
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", "Helvetica", sans-serif;
}

.invalid {
    display: none;
    position: absolute;
    text-align: center;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(225deg, #FFB50D, #FF0000);
}

.invalid img {
    position: relative;
    top: 18vh;
    font-size: 100px;
    color: white;
}

.invalid .alert {
    margin-top: 25vh;
    font-size: 35px;
    color: white;
}

.invalid .background {
    position: absolute;
    width: auto;
    height: 100vh;
    opacity: 0.3;
    object-fit: cover;
    object-position: 80% 50%;
}

.basis {
    position: absolute;
    width: 100vw;
    height: 100vh;
    color: white;
    background: linear-gradient(225deg, #FFB50D, #FF0000);
}

.basis p {
    padding-bottom: 20px;
}

.basis .p1 {
    position: absolute;
    font-size: 42px;
    font-weight: bold;
    top: 34vh;
    left: 575px;
}

.basis .p2 {
    position: absolute;
    font-size: 17px;
    top: 58vh;
    left: 575px;
}

.backimg {
    position: relative;
    width: auto;
    height: 100vh;
    float: right;
    opacity: 0.3;
    object-fit: cover;
    object-position: 80% 50%;
}

.left {
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    width: 500px;
    height: 100vh;
    background-color: white;
}

.logo {
    position: relative;
    font-family: HanziPen SC;
    font-weight: bold;
    font-size: 41px;
    text-align: center;
    color: #FD841C;
    top: 20vh;
}

.form-item {
    position: relative;
    text-align: center;
    top: 28vh;
}

.input_title {
    position: relative;
    font-size: 14px;
    font-weight: bold;
    color: #4D4D4D;
    right: 100px;
    padding-bottom: 5px;
}

.spans {
    margin-top: 25px;
}

.form-item input {
    background: white;
    background-color: white;
    color: black;
    font-size: 14px;
    width: 250px;
    outline: none;
    padding: 18px 10px;
    border-radius: 6px;
    border: 1px solid #E5E5E5;
    text-align: left;
}

.form-item input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

.form-item a {
    position: relative;
    font-size: 9px;
    color: #4D4D4D;
    top: 5px;
    left: 70px;
}

.form-item button {
    position: relative;
    top: 40px;
    background: #FF7F00;
    color: white;
    font-size: 14px;
    width: 190px;
    padding: 11px 0px;
    border-radius: 25px;
    border: 1px solid #FFA531;
    box-shadow: 2px 2px 3px 1px #eee;
    transition: opacity 0.4s ease-in-out;
}

.form-item button:hover {
    opacity: 0.8;
}

.msg {
    width: 100%;
    padding: 30px 0;
    background: #eee;
    top: 0;
    position: absolute;
    z-index: 100;
    font-size: 14px;
    text-align: center;
}

.msg::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../images/info_circle.svg);
    background-size: cover;
    vertical-align: middle;
}

.msg a {
    color: #FF7F00;
}

.msg br {
    display: none;
}


@media (max-width: 1150px){
    .basis .p1 {
        font-size: 38px;
    }

    .basis .p2 {
        font-size: 14px;
    }
}

@media (max-width: 1000px){
    .left {
        width: 480px;
    }
    .basis .p1 {
        font-size: 34px;
        left: 550px;
    }

    .basis .p2 {
        font-size: 13px;
        left: 550px;
    }
    .msg {
        font-size: 30px;
    } 
    .msg::before {
        width: 30px;
        height: 30px;
    }    
    .msg br {
        display: block;
    }    
}
/* invalid for small display */
@media (max-width: 970px){
    .basis {
        display: none;
    }
    .left {
        display: none;
    }
    .invalid {
        display: block;
    }
    #browser {
        display: none;
    }
}