@charset "utf-8";

.navi_recruit .en span:first-child {
    color: rgb(0, 119, 255) !important;
}

.navi_recruit .en span:nth-child(3) {
    color: rgb(255, 209, 0) !important;
}

.navi_recruit .en span:nth-child(4) {
    color: rgb(255, 137, 128) !important;
}

.navi_recruit .en span:nth-child(6) {
    color: rgb(34, 207, 168) !important;
}

body {
    position: relative;
}

header {
    background-color: rgb(239, 246, 252);
}

main {
    width: 100%;
}

.mainvisual_wrap {
    width: 100%;
}

.mainvisual {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-top: 70px;
    padding-left: 190px;
    padding-bottom: 30px;
    width: 1220px;
    z-index: 1;
}

.h2_wrap {
    position: relative;
    width: 390px;
    overflow: hidden;
}

.h2_wrap h2 {
    display: inline-block;
    position: relative;
    left: -110%;
    font-size: 3.5rem;
    font-family: "Krungthep";
    color: rgb(0, 63, 136);
    letter-spacing: 0.3em;
    overflow: hidden;
}

.h2_wrap.scroller h2 {
    left: 0;
    transition: 0.5s;
}

.h2_wrap h2::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 63, 136);
}

.h2_wrap.scroller h2::after {
    left: 110%;
    transition: 0.5s 0.5s;
}

.h2_line {
    margin-top: 32px;
    width: 0;
    height: 3px;
    background-color: rgb(0, 63, 136);
}

.h2_wrap.scroller .h2_line {
    width: 66px;
    transition: 0.5s;
}

.h2_wrap_p {
    margin-top: 32px;
}

.h2_wrap_p p {
    display: inline-block;
    position: relative;
    left: -110%;
    font-size: 1.6rem;
    color: rgb(0, 63, 136);
    letter-spacing: 0.1em;
    overflow: hidden;
}

.h2_wrap.scroller .h2_wrap_p p {
    left: 0;
    transition: 0.5s;
}

.h2_wrap_p p::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 63, 136);
}

.h2_wrap.scroller .h2_wrap_p p::after {
    left: 110%;
    transition: 0.5s 0.5s;
}

.mainvisual_left {

}

.mainvisual_left img {
    position: relative;
    width: 428px;
    z-index: 2;
    opacity: 0;
}

.mainvisual_ov {
    margin-top: 20px;
    font-size: 1.6rem;
    font-weight: 400;
    color: rgb(89, 87, 87);
    line-height: 1.5em;
    letter-spacing: 0.1em;
}

.mainvisual_contents {
    width: 507px;
}

.mainvisual_contents img {
    position: relative;
    left: -38px;
    width: 100%;
}

.recruit_wrap {

}

.recruit {
    margin-left: auto;
    margin-right: auto;
    width: 1220px;
}

.recruit_title {
    position: relative;
    margin-left: 190px;
    /*margin-right: auto;*/
    width: 891px;
    overflow: hidden;
    z-index: 1;
}

.recruit_title img {
    width: 100%;
}

.img_hide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.img_hide span {
    display: block;
    position: relative;
    top: 0;
    height: 100%;
    background-color: rgb(255, 255, 255);
    float: left;
    transition: 1s;
}

.img_hide span:first-child {
    width: 27px;
}

.img_hide span:nth-child(2) {
    width: 220px;
}

.img_hide span:nth-child(3) {
    width: 206px;
}

.img_hide span:nth-child(4) {
    width: 230px;
}

.img_hide span:last-child {
    width: 208px;
}

.img_hide.open span:nth-child(even) {
    top: 100%;
}

.img_hide.open span:nth-child(odd) {
    top: -100%;
}

.recruit_contents {
    margin-left: auto;
    margin-right: auto;
    width: 850px;
}

.application {
    margin-top: 60px;
}

.application h3 {
    position: relative;
    font-size: 2rem;
    font-weight: 600;
    color: rgb(0, 60, 137);
    text-align: center;
    letter-spacing: 0.3em;
    z-index: 1;
}

.application_box {
    margin-top: 50px;
    padding: 50px 0 45px 80px;
    background-color: rgba(246, 250, 252, 0.8);
}

.box_title {
    position: relative;
    font-size: 2rem;
    font-weight: 600;
    color: rgb(0, 60, 137);
    letter-spacing: 0.2em;
    opacity: 0;
    z-index: 1;
}

.application_table {
    position: relative;
    margin-top: 35px;
    opacity: 0;
    z-index: 1;
}

.application_table tr {

}

.application_table tr th {
    padding-top: 25px;
    width: 86px;
    font-size: 1.6rem;
    font-weight: 600;
    color: rgb(89, 87, 87);
}

.application_table tr th span {
    font-size: 1.6rem;
    font-weight: 600;
}

.application_table tr:first-child th {
    padding-top: 0;
}

.application_table tr td {
    display: inline-block;
    margin-left: 70px;
    padding-top: 25px;
    font-size: 1.6rem;
    font-weight: 400;
    color: rgb(89, 87, 87);
    letter-spacing: 0.1em;
}

.application_table tr:first-child td {
    padding-top: 0;
}

.contact {
    margin-top: 106px;
    text-align: center;
}

.contact h3 {
    display: inline-block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
    font-size: 2rem;
    font-weight: 600;
    color: rgb(0, 60, 137);
    text-align: center;
    letter-spacing: 0.3em;
    z-index: 1;
}

.contact h3::before {
    content: "";
    display: inline-block;
    position: absolute;
    left: -5px;
    bottom: -12px;
    width: 100%;
    height: 3px;
    background-color: rgb(0, 60, 137);
}

.remarks {
    position: relative;
    margin-top: 30px;
    text-align: left;
    z-index: 1;
}

.remarks li {
    margin-top: 15px;
    font-size: 1.6rem;
    font-weight: 400;
    color: rgb(35, 24, 21);
    letter-spacing: 0.08em;
}

.remarks li:first-child {
    margin-top: 0;
}

.privacypolicy {
    display: inline-block;
    text-decoration: underline;
}

.entry_form {
    margin-top: 70px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 46px 55px 46px;
    width: 850px;
    background-color: rgba(246, 250, 252, 0.8);
    text-align: left;
}

.occupation_wrap {
    position: relative;
    width: 100%;
    padding-bottom: 25px;
    border-bottom: solid 1px rgb(0, 60, 137);
    text-align: center;
    z-index: 1;
}

.occupation_wrap p {
    font-size: 1.6rem;
    font-weight: 500;
    color: rgb(0, 60, 137);
    letter-spacing: 0.08em;
}

.radio_wrap {
    margin-top: 30px;
}

.input_r {
    display: none;
}

.input_r + label {
    display: inline-block;
    position:relative;
    margin-right: 70px;
    padding-left: 30px;
    height: 19px;
    font-size: 1.6rem;
    line-height: 19px;
    letter-spacing: 0.08em;
}

.input_r + label[for="occupation_2"], .input_r + label[for="sex_2"] {
    margin-right: 0;
}

.input_r + label::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    border: 2px solid rgb(0, 60, 137);
    border-radius: 50%;
}

.input_r:checked + label {

}

.input_r:checked + label::after {
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    left: 5px;
    width: 9px;
    height: 9px;
    background: rgb(0, 60, 137);
    border-radius: 50%;
}

.input_wrap {
    position: relative;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    width: 695px;
    z-index: 1;
}

.half {
    width: 328px;
}

.full {
    width: 100%;
}

.input_parts {
    margin-top: 25px;
}

.input_wrap .input_parts:nth-child(-n+2) {
    margin-top: 0;
}

.input_parts p {
    font-size: 1.6rem;
    font-weight: 500;
    color: rgb(0, 60, 137);
    letter-spacing: 0.08em;
}

.input_parts input {
    margin-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    height: 60px;
    font-size: 1.6rem;
    font-weight: 500;
    border: solid 2px rgb(0, 60, 137);
    border-radius: 5px;
    outline: 0;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sex_wrap {
    margin-top: 10px;
    padding-top: 18px;
    padding-left: 55px;
    width: 100%;
    height: 60px;
    font-size: 1.6rem;
    font-weight: 500;
    border: solid 2px rgb(0, 60, 137);
    border-radius: 5px;
}

.input_parts textarea {
    margin-top: 10px;
    padding: 10px;
    width: 100%;
    height: 110px;
    font-size: 1.6rem;
    font-weight: 500;
    border: solid 2px rgb(0, 60, 137);
    border-radius: 5px;
    resize: none;
    outline: 0;
    line-height: 1.5em;
}

textarea.question {
    height: 150px;
}

.attention {
    margin-top: 20px;
    visibility: hidden;
}

.confirm_button {
    position: relative;
    display: block;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
    width: 70px;
    cursor: none;
    z-index: 1;
}

.confirm_button img {
    width: 100%;
}

.canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.canvas_con {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 60px;
    justify-content: center;
    align-items: center;
}

@media (max-width: 500px) {
    header {
        background-color: rgb(255, 255, 255);
    }

    main {
        padding-top: 80px;
        width: 100%;
    }

    .mainvisual_wrap {
        width: 100%;
    }

    .mainvisual {
        margin-left: auto;
        margin-right: auto;
        padding-top: 70px;
        padding-left: 0;
        padding-bottom: 30px;
        width: 100%;
    }

    .h2_wrap {
        width: 100%;
        float: none;
        text-align: center;
    }

    .h2_wrap h2 {
        display: inline-block;
        position: relative;
        font-size: 2.4rem;
        font-family: "Krungthep";
        color: rgb(0, 63, 136);
        letter-spacing: 0.3em;
    }

    .h2_wrap.scroller h2 {
        left: 0;
        transition: 0.5s;
    }

    .h2_wrap h2::after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgb(0, 63, 136);
    }

    .h2_wrap.scroller h2::after {
        left: 110%;
        transition: 0.5s 0.5s;
    }

    .h2_line {
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        width: 0;
        height: 3px;
        background-color: rgb(0, 63, 136);
    }

    .h2_wrap.scroller .h2_line {
        width: 66px;
        transition: 0.5s;
    }

    .h2_wrap_p {
        margin-top: 20px;
    }

    .h2_wrap p {
        display: inline-block;
        position: relative;
        left: -110%;
        font-size: 1.4rem;
        color: rgb(0, 63, 136);
        letter-spacing: 0.1em;
        overflow: hidden;
    }

    .h2_wrap.scroller .h2_wrap_p p {
        left: 0;
        transition: 0.5s;
    }

    .mainvisual_left {
        float: none;
    }

    .mainvisual_left img {
        position: absolute;
        margin-top: 40px;
        width: 215px;
        z-index: 2;
    }

    .mainvisual_ov {
        margin-top: 20px;
        font-size: 1.4rem;
        font-weight: 400;
        color: rgb(89, 87, 87);
        line-height: 1.5em;
        letter-spacing: 0.1em;
        text-align: center;
    }

    .mainvisual_contents {
        margin-top: 30px;
        width: 100%;
        float: none;
    }

    .mainvisual_contents img {
        position: relative;
        left: 0;
        width: 100%;
    }

    .recruit_wrap {

    }

    .recruit {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .recruit_title {
        position: relative;
        margin-left: auto;
        margin-right: auto;
        width: 370px;
        overflow: hidden;
    }

    .recruit_title img {
        width: 100%;
    }

    .img_hide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .img_hide span {
        display: block;
        position: relative;
        top: 0;
        height: 100%;
        background-color: rgb(255, 255, 255);
        float: left;
        transition: 1s;
    }

    .img_hide span:first-child {
        width: 12px;
    }

    .img_hide span:nth-child(2) {
        width: 90px;
    }

    .img_hide span:nth-child(3) {
        width: 86px;
    }

    .img_hide span:nth-child(4) {
        width: 100px;
    }

    .img_hide span:last-child {
        width: 82px;
    }

    .img_hide.open span:nth-child(even) {
        top: 100%;
    }

    .img_hide.open span:nth-child(odd) {
        top: -100%;
    }

    .recruit_contents {
        margin-left: auto;
        margin-right: auto;
        width: 85%;
    }

    .application {
        margin-top: 60px;
    }

    .application h3 {
        font-size: 1.8rem;
        font-weight: 600;
        color: rgb(0, 60, 137);
        text-align: center;
        letter-spacing: 0.3em;
    }

    .application_box {
        margin-top: 50px;
        padding: 30px 0 30px 0;
        background-color: rgba(246, 250, 252, 0.8);
    }

    .box_title {
        font-size: 1.6rem;
        font-weight: 600;
        color: rgb(0, 60, 137);
        letter-spacing: 0.2em;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }

    .application_table {
        margin-top: 35px;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }

    .application_table tr {

    }

    .application_table tr th {
        padding-top: 25px;
        width: 65px;
        font-size: 1.4rem;
        font-weight: 600;
        color: rgb(89, 87, 87);
        vertical-align: top;
    }

    .application_table tr th span {
        font-size: 1.4rem;
        font-weight: 600;
    }

    .application_table tr:first-child th {
        padding-top: 0;
    }

    .application_table tr td {
        display: inline-block;
        margin-left: 30px;
        padding-top: 25px;
        font-size: 1.4rem;
        font-weight: 400;
        color: rgb(89, 87, 87);
        letter-spacing: 0.1em;
        line-height: 1.5em;
    }

    .application_table tr:first-child td {
        padding-top: 0;
    }

    .contact {
        margin-top: 106px;
        text-align: center;
    }

    .contact h3 {
        display: inline-block;
        position: relative;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 12px;
        font-size: 1.8rem;
        font-weight: 600;
        color: rgb(0, 60, 137);
        text-align: center;
        letter-spacing: 0.3em;
    }

    .contact h3::before {
        content: "";
        display: inline-block;
        position: absolute;
        left: -5px;
        bottom: -12px;
        width: 100%;
        height: 3px;
        background-color: rgb(0, 60, 137);
    }

    .remarks {
        margin-top: 30px;
        text-align: left;
    }

    .remarks li {
        margin-top: 15px;
        font-size: 1.2rem;
        font-weight: 400;
        color: rgb(35, 24, 21);
        letter-spacing: 0.08em;
        text-indent: -1em;
        padding-left: 1em;
    }

    .remarks li:first-child {
        margin-top: 0;
    }

    .privacypolicy {
        display: inline-block;
        padding-left: 1em;
        text-decoration: underline;
    }

    .entry_form {
        margin-top: 30px;
        margin-left: auto;
        margin-right: auto;
        padding: 50px 0 55px 0;
        width: 100%;
        background-color: rgba(246, 250, 252, 0.8);
        text-align: left;
    }

    .occupation_wrap {
        margin-left: auto;
        margin-right: auto;
        width: 90%;
        padding-bottom: 25px;
        border-bottom: solid 1px rgb(0, 60, 137);
        text-align: center;
    }

    .occupation_wrap p {
        font-size: 1.2rem;
        font-weight: 500;
        color: rgb(0, 60, 137);
        letter-spacing: 0.08em;
    }

    .radio_wrap {
        margin-top: 30px;
    }

    .input_r {
        display: none;
    }

    .input_r + label {
        display: inline-block;
        position:relative;
        margin-right: 30px;
        padding-left: 30px;
        height: 19px;
        font-size: 1.4rem;
        line-height: 19px;
        letter-spacing: 0.08em;
    }

    .input_r + label[for="occupation_2"], .input_r + label[for="sex_2"] {
        margin-right: 0;
    }

    .input_r + label::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 15px;
        height: 15px;
        border: 2px solid rgb(0, 60, 137);
        border-radius: 50%;
    }

    .input_r:checked + label {

    }

    .input_r:checked + label::after {
        content: "";
        display: block;
        position: absolute;
        top: 5px;
        left: 5px;
        width: 9px;
        height: 9px;
        background: rgb(0, 60, 137);
        border-radius: 50%;
    }

    .input_wrap {
        margin-top: 40px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .half {
        width: 90%;
    }

    .full {
        width: 90%;
    }

    .input_parts {
        margin-top: 25px;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }

    .input_wrap .input_parts:first-child {
        margin-top: 0;
    }

    .input_wrap .input_parts:nth-child(-n+2) {
        margin-top: 25px;
    }

    .input_parts p {
        font-size: 1.4rem;
        font-weight: 500;
        color: rgb(0, 60, 137);
        letter-spacing: 0.08em;
    }

    .input_parts input {
        margin-top: 10px;
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
        height: 60px;
        font-size: 1.4rem;
        font-weight: 500;
        border: solid 2px rgb(0, 60, 137);
        border-radius: 5px;
    }

    .sex_wrap {
        margin-top: 10px;
        padding-top: 18px;
        padding-left: 55px;
        width: 100%;
        height: 60px;
        font-size: 1.4rem;
        font-weight: 500;
        border: solid 2px rgb(0, 60, 137);
        border-radius: 5px;
    }

    .input_parts textarea {
        margin-top: 10px;
        padding: 10px;
        width: 100%;
        height: 110px;
        font-size: 1.4rem;
        font-weight: 500;
        border: solid 2px rgb(0, 60, 137);
        border-radius: 5px;
        resize: none;
        outline: 0;
        line-height: 1.5em;
    }

    textarea.question {
        height: 150px;
    }

    .attention {
        margin-top: 20px;
        visibility: hidden;
    }

    .confirm_button {
        display: block;
        margin-top: 15px;
        margin-left: auto;
        margin-right: auto;
        width: 70px;
    }

    .confirm_button img {
        width: 100%;
    }
}
