@charset "utf-8";

main {
    background-color: #efefef;
}

h2 {
    font-size: 32px;
}

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

.eyecatch_voice {
    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;
}
.voice_image {
    width: 60%;
    height: 450px;
    background-image: url("../img/voice_eyecatch.jpg");
    background-repeat: no-repeat;
    background-position: 100% 10%;
    background-size: cover;
}

.voice_container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: calc(50px + 5vw);
    padding-bottom: calc(50px + 5vw);
}

.voice_flex {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.voice_wrap {
    width: 80%;
    height: auto;
    max-width: 1200px;
    margin: 0 10%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.voice_wrap a:hover {
    opacity: .7;
}

.voice_container a {
    width: 30%;
    height: auto;
    margin-right: 5%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.voice_container a:nth-child(3) {
    margin-right: 0;
}

.photo1 {
    display: block;
    width: 100%;
    height: 200px;
    background-image: url("../img/voice_i.jpg");
    background-size: cover;
    background-position: 50% 50%;
}

.photo2 {
    display: block;
    width: 100%;
    height: 200px;
    background-image: url("../img/voice_m.jpg");
    background-size: cover;
    background-position: 50% 0;
}

.voice_box {
    display: block;
    width: 100%;
    height: auto;
}

.branch_name {
    display: block;
    width: 120px;
    height: 26px;
    line-height: 26px;
    color: #fff;
    background-color: #f39700;
    border-radius: 14px;
    text-align: center;
    font-size: 14px;
    margin: 20px 0 0 5%;
}

.voice_title {
    display: block;
    width: 90%;
    padding: 2% 5%;
    height: auto;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
}

.speaker {
    width: 90%;
    padding: 0 5% 0 5%;
    display: block;
    color: #000;
    font-size: 14px;
    text-align: left;
    font-weight: 300;
    margin-bottom: 20px;
}

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

h2.voice_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;
}

.voice_container_sub {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: calc(50px + 2vw);
}

.voice_flex_sub {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.voice_wrap_sub {
    width: 90%;
    height: auto;
    max-width: 1200px;
    margin: 0 10%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.sub_catch_text {
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 800px;
    margin: 0 10%;
}

.sub_branch {
    margin-top: 20px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    text-align: center;
}

.sub_name {
    font-size: 20px;
    font-weight: 300;
    text-align: center;
}

.video {
    width: 100%;
    background-color: #efefef;
    padding:60px 0;
}


.video_case {
    width: 100%;
    max-width: 800px;
    height: 100px;
    max-width: 800px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 420px;
}

.video_container {
	width: 100%!important;
	position: relative!important;
    padding-bottom: 56.25%!important;
    padding-top: 30px!important;
    height: 0!important;
    overflow: hidden!important;
	margin: 0 auto!important;
}
.video_container iframe,  
.video_container object,
.video_container embed {
    position: absolute!important;
    top: 0!important;
    left: 0!important;
    width: 100%!important;
    height: 100%!important;
}

.interview {
    width: 100%;
    height: auto;
    display: flex;
    padding: 40px 0;
    justify-content: center;
}

.interview_contain {
    width: 80%;
    max-width: 800px;
}

.speech {
    padding: 5% 0;
}

p {
    margin-top: 20px;
    font-weight: 300;
    letter-spacing: 0;
}

.speech img {
    width: 100%;
    height: auto;
}

.recruit_button_wrap {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 30px 0;
}

.recruit_button,
.recruit_button a,
.recruit_button a:link,
.recruit_button a:visited {
    display: block;
    width:180px;
    height: 60px;
    line-height: 60px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    color: #fff;
    background-color: #f39700;
    border-radius: 30px;
}

.recruit_button:hover {
    opacity: .8;
}

@media screen and (max-width:430px) {
    h2.voice_sub {
        font-size: 19px;
        font-weight: 500;
        letter-spacing: -.2px;
    }
    
    h2 .small_title2_sub {
        font-size: 17px;
        letter-spacing: -.2px;
    }
    h3 {
        font-size: 18px;
    }

    .voice_wrap_sub {
        width: 98%;
        margin: 0 1%;
    }

    .sub_catch_text {
        width: 80%;
        padding: 0 5%;
    }
    .sub_branch {
        font-size: 13px;
    }
    .sub_name {
        font-size: 17px;
    }
}

@media screen and (max-width:500px) {
    .interview_contain {
        width: 90%;
    }

    p {
        font-size: 16px;
        font-weight: 300;
        line-height: 30px;
        letter-spacing: .1px;
    }
}

@media screen and (max-width:570px) {
    .branch_name {
        height: 20px;
        line-height: 20px;
        font-size: 12px;
    }
    
    .voice_title {
        font-size: 16px;
    }
    
    .speaker {
        font-size: 13px;
        text-align: left;
        font-weight: 300;
        margin-bottom: 20px;
    }
}

@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;
    } 
     
    .voice_image {
        width: 100%;
        height: 450px;
        background-image: url("../img/voice_eyecatch.jpg");
        background-repeat: no-repeat;
        background-position: 100% 10%;
        background-size: cover;
    }
}

@media screen and (max-width:800px) {
    .sub_catch_text {
        width: 100%;
        margin: 0 0;
    }
}

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

    .voice_container a {
        flex-direction: row;
        width: 100%;
        background-color: #fff;
        margin-bottom: 30px;
    }
}

@media screen and (max-width:1000px) {
    .video_case {
        padding-bottom: calc(40vw);
    }
}