@charset "UTF-8";

.red{
    color: red;
}

#entry_kv .kv_img{
    width: 100%;
    height: auto;
    margin-bottom: 15rem;
}

#contact_kv{
    text-align: center;
    background: url("../img/contact/contact.kv.jpg") center center/cover no-repeat;
    padding: 4rem 0;
    margin-bottom: 15rem;
}

#contact_kv h2{
    color: white;
}

.contact_title{
    position: relative;
    margin-bottom: 10rem;
}

.contact_title::before{
    position: absolute;
    content: "";
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    bottom: 0;
    height: 1px;
    width: 30rem;
    background: #6B6E99;
}

#title{
    text-align: center;
}

#title small{
    color: black;
    margin-left: 2rem;
    font-size: 3.5rem;
}

#form{
    width: 60%;
    max-width: 1440px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    margin: auto;
    margin-bottom: 15rem;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif
}

#form .formrun{
    width: 100%;
}

#form h3{
    border-left: 1.5rem solid #1F2A37;
    padding-left: 1rem;
    margin: 5rem 0;
}

#form p{
    margin: 0;
    line-height: 150%;
}

#form .name{
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    border-top: 1px solid #707070;
    border-bottom: 1px solid #707070;
}

#form .name > div{
    padding: 1rem 0 1rem 2rem;
}

#form .red{
    font-size: 1.5rem;
}

#address, #tel, #mail, #time, #first_choice, #second_choice, #content, #company, #department, #director{
    width: 65%;
}

#second_name, #sei{
    margin-right: 2rem;
}

#post{
    margin-left: 1rem;
    width: 61.7%;
}

label{
    font-size: 2rem;
}

textarea{
    border-radius: 0;
    padding: 1rem;
    height: 25rem;
}

fieldset{
    border: none;
    padding: 0;
    margin: 0;
}

fieldset label{
    margin-right: 2rem;
}

input{
    border-radius: 0;
    border: 1px solid #707070;
    font-size: 1.5rem;
    padding: 1rem;
}

.left{
    background: #EEEEEE;
    text-align: center;
    width: 20%;
    padding: 1rem 0;
}

.right{
    width: 80%;
}

#form .policy{
    margin: 5rem 0;
    border: 1px solid #707070;
    overflow-y: scroll;
    height: 20rem;
    padding: 1.5rem;
}

#form .gray{
    background: #EEEEEE;
    padding: 2rem;
    margin-bottom: 5rem;
}

.check{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#resume, #curriculum{
    border: none;
}

.flex{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.check div{
    margin-bottom: 5rem;
}

.submit{
    width: 40%;
    padding: 1.5rem;
    background: white;
    border: 1px solid #1F2A37;
    border-radius: .5rem;
    position: relative;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.submit:hover{
    background: black;
    color: white;
    transition: all .2s ease-in-out;
}

.submit::before{
    position: absolute;
    content: ">";
    font-size: 2rem;
    right: 5rem;
    top: 30%;
}

#form .policy p{
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

#form .policy ul{
    margin: 0;
    padding-left: 4rem;
    list-style: decimal;
}

#form .policy ul li{
    font-size: 1.5rem;
    margin: .5rem 0;
}

#form .policy a{
    color: blue;
    text-decoration:underline;
}

#form .radio_outer{
    margin-bottom: 10.2rem;
}

#form .radio_outer > p{
    margin-bottom: 3.1rem;
}

.inline-radio {
    display: flex;
    overflow: hidden;
    align-items: center;
    margin-bottom: 3.3rem;
}

.inline-radio p{
    width: 7rem;
    font-size: 2.3rem;
    text-align: center;
}

.inline-radio div{
    position: relative;
    flex: 1;
    margin-right: .3rem;
}

.inline-radio div:last-child{
    margin-right: 0;
}

.inline-radio input {
    width: 100%;
    height: 6.3rem;
    opacity: 0;
    cursor: pointer;
}

.inline-radio div label {
    position: absolute;
    top: 0; left: 0;
    color: #07192F;
    font-size: 2.4rem;
    width: 100%;
    height: 100%;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.inline-radio div:nth-child(1) label{
    border-left: none;
}

.inline-radio div:last-child label {
    border-right: 0;
}

input:checked + label {
    background: #323453;
    font-weight: 500;
    color: white;
}


@media screen and (min-width:768px) and (max-width:1365px){
    #form{
        width: 75%;
    }
}

@media screen and (max-width: 767px){
    h2{
        font-size: 4.5rem;
    }

    #contact_kv{
        margin-bottom: 5rem;
    }

    #entry_kv .kv_img{
        margin-bottom: 5rem;
    }

    .contact_title{
        margin-bottom: 5rem;
    }

    #title{
        margin-bottom: 0;
    }

    #title p{
        margin-bottom: 0;
    }

    #form{
        width: 90%;
        margin-bottom: 5rem;
    }

    #first_name, #second_name, #sei, #mei{
        width: 60%;
    }

    #second_name, #sei{
        margin-right: 0;
    }

    #form .name div{
        padding: 0;
    }

    #form .name > div{
        padding: 1rem 0 1rem 1rem;
    }

    #address, #tel, #mail, #time, #first_choice, #second_choice, #content, #company, #department, #director{
        width: 86.5%;
    }

    #post{
        width: 78.8%;
    }

    fieldset .flex{
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        
    }

    .submit::before{
        right: 3rem;
        top: 30%;
    }

    #year, #month, #day{
        width: 41.5%;
    }

    .file label{
        font-size: 1.6rem;
    }
}