@charset "utf-8";

main {
    background-color: #efefef;
}

h2 {
    font-size: 32px;
}

h2 .small_title2 {
    font-size: 18px;
    display: block;
    margin-top: 40px;
}

.eyecatch_recruit {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: #254489;
}

.eyecatch_wrap {
    width: 100%;
    max-width: 1200px;
    height: 450px;
    display: flex;
    flex-direction: row;
}
 
.title {
    width: 40%;
    height: 450px;
    font-size: 40px;
    line-height: 450px;
    text-align: right;
    color: #fff;
    margin-right: 20px;
    font-weight: 300;
}
.recruit_image {
    width: 60%;
    height: 450px;
    background-image: url("../img/recruit_eyecatch.jpg");
    background-repeat: no-repeat;
    background-position: 100% 50%;
    background-size: cover;
}

.r_container,
.recruit_container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 50px;
}

.r_flex {
    width: 90%;
    max-width: 1100px;
    padding: 0;
    margin: 0 5%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.r_flex a {
    display: block;
    width: 100%;
    height: auto;
    border-top: 3px solid #254489;
    padding-top: 10px;
}

.r_top_box {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.r_top {
    width: 96%;
    padding: 0 2% 2% 2%;
    background-color: lightyellow;
    margin-top: -10px;
}

.r_place {
    display: block;
    font-size: 16px;
    line-height: 24px;
    padding: 5px 0;
}

.r_point {
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
}

.r_discript {
    font-size: 14px;
    line-height: 24px;
    font-weight: 300;
    display: block;
}

.r_row {
    display: flex;
    flex-direction: row;
    padding: 10px 2%;
    flex-wrap: wrap;
}
.r_title {
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    display: block;
    margin-top: 20px;
    border-top: 1px dotted #999;
}
.r_title:nth-child(1) {
    margin-top: 0;
    border: 0;
}

.r_deci {
    display: block;
}
.r_deci::before {
    content: "●";
    color: #f39700;
}

.r_data_box{
    width: 100%;
    display: flex;
    flex-direction: row;
}

.r_button_box {
    width: 100%;
    text-align: center;
    padding-bottom: 30px;
}

.recruit_button {
    display: block;
    width:180px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    color: #fff;
    background-color: #254489;
    border-radius: 20px;
    margin: 0 auto;
}

.recruit_button:hover {
    opacity: .7;
}

.r_left {
    display: block;
    width: 40%;
    height: 300px;
    background-image: url("../img/recruit_jimbocho.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.r_left_n {
    display: block;
    width: 40%;
    height: 300px;
    background-image: url("../img/recruit_nishikasai.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 60%;
}

.r_left_f {
    display: block;
    width: 40%;
    height: 300px;
    background-image: url("../img/recruit_funabori.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 100%;
}

.r_left_m {
    display: block;
    width: 40%;
    height: 300px;
    background-image: url("../img/recruit_morishita.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
}

.r_right {
    display: block;
    width: 56%;
    height: auto;
    margin: 1% 1% 2% 2%;
    font-size: 18px;
    line-height: 32px;
    font-weight: 300;
}

.r_icon,
.r2_icon {
    width: 60px;
    height: 20px;
    display: inline-block;
    padding: 1px;
    background-color: #f39700;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
    border-radius: 5px;
    margin-right: 3px;
    border: 1px solid #f39700;
}

.r2_icon {
    color: #f39700;
    background-color: #fff;
    margin-bottom: 3px;
}


.recruit_flex {
    width: 80%;
    max-width: calc(1100px - 10%);
    padding: 30px 5%;
    margin: 0 5%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}


.data_box {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 20px 10px 20px 10px;
    border-bottom: dotted 1px #999;
}

.data_box:nth-child(12) {
    border-bottom: none;
}

.data_left {
    width: 25%;
    max-width: 300px;
    height: auto;
    margin-right: 2%;
    font-size: 18px;
    line-height: 30px;
    font-weight: 300;
}

.data_left::before {
    content: "●";
    color: #f39700;
}

.data_right {
    width: 76%;
    height: auto;
    padding-right: 2%;
    font-size: 18px;
    line-height: 32px;
    font-weight: 300;
}

.list {
    display: block;
}

.list::before {
    content: "・";
}

.p {
    display: block;
    padding: 20px 0;
}

.pmb {
    display: block;
    margin-bottom: 20px;
}

.map {
    width: 100%;
    margin: 0;
    padding: 0;
    height: 400px;
    margin-top: 30px;
}
iframe {
    width: 100%;
    height: 400px;
    margin: 0;
    padding: 0;
}

/*サブページ*/
main.sub {
    background-color: #fff;
}

h2.recruit_sub {
    font-size: 26px;
    font-weight: 400;
}

h2 .small_title2_sub {
    font-size: 18px;
    display: block;
    margin-top: 16px;
    font-weight: 300;
}

h3 {
    font-size: 22px;
    font-weight: 500;
    color: #254489;
    line-height: 30px;
    text-align: center;
    padding-bottom: 14px;
    border-bottom: 1px dotted #000;
}

.data_place {
    display: block;
}
.data_place:nth-child(1) {
    margin-bottom: 20px;
}

@media screen and (max-width:430px) {
    h2.recruit_sub {
        font-size: 19px;
        font-weight: 500;
        letter-spacing: -.2px;
    }
    
    h2 .small_title2_sub {
        font-size: 16px;
        letter-spacing: -.2px;
        width: 90%;
        margin-left: 5%;
    }

    .data_left {
        margin-bottom: 14px;
    }
}

@media screen and (max-width:547px) {
    .r_data_box{
        width: 100%;
        display: flex;
        flex-direction: column;
        background-position: 10% 10%;
    }

    .r_left,
    .r_left_n,
    .r_left_f,
    .r_left_m {
        width: 100%;
        height: 100px;
    }
    .r_left_f {
        background-position: 50% 30%;
    }

    .r_right {
        width: 90%;
        padding: 5%;
    }
    .r_row {
        width: 90%;
        padding: 5%;
        margin: 0 auto;
    }
}

@media screen and (max-width:640px) {
    .data_box {
        flex-direction: column;
    }

    .data_left {
        width: 96%;
        max-width: 100%;
        margin-bottom: 20px;
        padding: 2%;
        font-size: 16px;
        line-height: 30px;
        color: #f39700;
    }

    .data_right {
        width: 94%;
        padding: 0 2%;
        font-size: 16px;
        line-height: 28px;
    }
}

@media screen and (max-width:750px) {

    .eyecatch_wrap {
        flex-direction: column;
        background-color: #fff;
    }

    h1.title {
        width: 90%;
        height: 80px;
        font-size: 26px;
        line-height: 80px;
        text-align: left;
        margin-left: 5%;
        background-color:#fff;
        color: #000;
    } 
     
    .recruit_image {
        width: 100%;
        height: 450px;
    }
}