
/* メインビジュアル部分text */
/* main_img */
.mian_img_box{
    box-sizing: border-box;
    padding-left: 4%;
    padding-right: 4%;
    padding-top: 25%;
    position: relative;
}
.index_main {
     -moz-transition: .4s;
    -webkit-transition: .4s;
    -o-transition: .4s;
    -ms-transition: .4s;
    overflow: hidden;
    width:calc(50% - 20px);
    height:calc(100vh - 60px);
    max-height: 920px;
    position: absolute;
    top: 60px;
    right: 4%;
}
.index_main .mainImg{
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
}
.index_main .mainImg.mainImg01{
    background: url(../imges/index/mian_img01.jpg) no-repeat;
    background-position: center;
    background-size: cover;
}
.index_main .mainImg.mainImg02{
    background: url(../imges/index/mian_img02.jpg) no-repeat;
    background-position: center;
    background-size: cover;
}
.index_main .mainImg.mainImg03{
    background: url(../imges/index/mian_img03.jpg) no-repeat;
    background-position: center;
    background-size: cover;
}
@media screen and (max-width: 1024px) {
    .index_main {
        right: 50px;
        width:72%;
    }
}
@media screen and (max-width: 768px) {
    .index_main {
        right: 50px;
        height: 60vh;
        width:65%;
    }
}


.top_c{
    position: relative;
    z-index: 10;
}
.top_copy {
     -moz-transition: .4s;
    -webkit-transition: .4s;
    -o-transition: .4s;
    -ms-transition: .4s;
    font-weight: bold;
    font-size: 54px;
    line-height: 1.5;
}
.top_copy span{
    background: #fff;
    display: inline-block;
    line-height: 1;
    border-bottom: solid 1px #232323;
}
.top_description{
    margin-top: 70px;
    line-height: 2em;
    font-weight: 500;
}
@media screen and (max-width: 1280px) {
    .top_description span{
        background-color: #fff;
    }
    .mian_img_box{
        padding-top: 40%;
    }
    .top_copy {
        font-size: 40px;
    }
}
@media screen and (max-width: 1080px) {
    .mian_img_box{
        padding-top: 50%;
    }
}
@media screen and (max-width: 768px) {
    .top_copy {
        font-size: 60px;
    }
    .top_copy span{
        padding-bottom: 2px;
    }
    .mian_img_box{
        padding-top: 320px;
    }
    .top_description{
        font-size: 24px;
        margin-top: 60px;
        max-height: 100%;
    }
    .top_description span{
        padding: 2px;
        display: inline-block;
        line-height:  1;
        background: #fff;
    }
}


.mvWrap{
    position: absolute;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
}
@media screen and (max-width: 768px) {
    .mvWrap{
        position: absolute;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
    }
}
.scroll_link{
    color: #ac0b0b;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-size: 14px;
    line-height: 1;
    position: absolute;
    margin-right: -7px;
    right: 2%;
    bottom: 20px;
    padding-bottom: 40px;
}
.sp_scroll{
    display: none;
}
.scroll_link .arow{
    display: block;
    position: absolute;
    border-top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 5px;
    height: 5px;
    border-bottom: solid 2px #ac0b0b;
    border-right: solid 2px #ac0b0b;
    transform: rotate(45deg);
    -ms-transform:rotate(45deg);
    -webkit-transform:rotate(45deg);
    -moz-transform:rotate(45deg);
}
@media screen and (max-width: 768px) {
    .sp_scroll{
        display: block;
    }
    .scroll_link{
        right: -8px;
        font-size: 20px;
    }
    .scroll_link .arow{
        width: 10px;
        height: 10px;
    }
}


.indexContent{
    margin-top: 200px;
}


/* index_business */

#index_business .mid01{
	margin-bottom: 70px;
}
/* それぞれの見出し用のtextを擬似要素で指定する */
#index_business .mid01_en .white::after{ content:"Business Introduction"; }

#index_business .textBox{
	max-width: 50%;
}
#index_business .textBox p{
	line-height: 1.8;
	font-weight: 500;
}
@media screen and (max-width: 768px) {
    #index_business .textBox p{
        line-height: 2;
        font-size: 26px;
    }
}

#index_business .bg_Gray{
    align-items: center;
    position: relative;
    padding-top: 90px;
    padding-bottom: 90px;
    display: flex;
}

#index_business.content_in{
    position: relative;
}
#index_business.content_in:before{
    content: "";
    left: 0;
    top: 0;
    height: 100%;
    width: 84%;
    display: block;
    background: #f7f7f7;
    position: absolute;
    z-index: -1;
}
@media screen and (max-width: 768px) {
    #index_business.content_in:before{
        width: 100%;
        height: 85%;
    }
}

#index_business .imgBox{
    height: 420px;
    width: calc(50% - 120px);
    margin-left: 120px;
}
#index_business .imgBox img{
      width: 100%;
      height: 100%;
      object-fit: cover; /* この一行を追加するだけ！ */
}
@media screen and (max-width: 768px) {
    #index_business .imgBox{
        position: relative;
        width: 100%;
        box-sizing: border-box;
        margin-left: 0;
        margin-top: 100px;
    }
    #index_business .bg_Gray{
        padding-bottom: 0;
        display: block;
    }
    #index_business .textBox{
        width: 100%;
        max-width: none;
        max-height: 100%;
    }
    #index_business .textBox p{
        font-size: 24px;
    }
}


/* outline */
#outline{
    margin-top: 90px;
}
.outlineWrap{
    align-items: center;
    flex-wrap: wrap;
    display: flex;
    flex-flow: row-reverse;
}
@media screen and (max-width: 768px) {
    #outline{
        margin-top: 180px;
    }
    .outlineWrap{
        display: block;
    }
}
#outline .textBox{
    width: calc(50% - 20px);
}
/* それぞれの見出し用のtextを擬似要素で指定する */
#outline .mid01_en .white::after{ content:"Company overview"; }
#outline .mid01{
    margin-bottom: 80px;
}
.outlineTable dl{
    display: flex;
}
.outlineTable dt,
.outlineTable dd{
    padding: 20px 0;
    font-size: 14px;
    line-height: 1.5;
}
@media screen and (max-width: 768px) {
    .outlineTable{
        margin-bottom: 120px;
    }
    .outlineTable dt,
    .outlineTable dd{
        font-size: 24px;
    }
}
.outlineTable dt{
    font-weight: bold;
    width: 236px;
    border-top: solid #232323 1px;
}
.outlineTable dd{
    margin-left: 4px;
    width: calc(100% - 240px);
    border-top: solid #b1b1b1 1px;
}
.outlineTable dl:last-child dt{
    border-bottom: solid #232323 1px;
}
.outlineTable dl:last-child dd{
    border-bottom: solid #b1b1b1 1px;
}
@media screen and (max-width: 768px) {
    #outline .textBox{
        width: 100%;
        margin: auto;
    }
}

/* 会社案内の画像部分 */
#outline .imgBox{
    width: calc(50% - 60px);
    margin-right: 80px;
}
#outline .imgBox div{
    position: relative;
    box-sizing: border-box;
    padding-bottom: 80px;
}
#outline .imgBox img{
    vertical-align: bottom;
    max-width: 100%;
}
.outline_img01{
    width: 85.98%;
}
.outline_img02{
    width: 68.47%;
    position: absolute;
    right: 0;
    bottom: 0;
}
@media screen and (max-width: 768px) {
    #outline .imgBox{
        width: 100%;
        margin-right: 0;
        text-align: right;
    }
    img.outline_img01.pc_none{
        margin-right: 0;
        display: inline-block;
        width: 83.3%;
    }
    .outline_img02{
        left: 0;
        width: 66.6%;
    }
}

.mapWrap{
    margin-top: 120px;
    width: 100%;
    height: 320px;
}
@media screen and (max-width: 768px) {
    .mapWrap{
        margin-top: 120px;
        width: calc(100% + 60px);
        margin-left: -30px;
        position: relative;
        height: 400px;
    }
}
.mapWrap iframe{
    width: 100%;
    height: 100%;
}

/* recruitLink */
.recruitLink{
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 0 20px;
    max-width: 1120px;
    margin-top: 100px;
    display: block;
}
.recruitLink a{
    align-items: center;
    position: relative;
    box-sizing: border-box;
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
}
.recruitLink a{
}
.recruitLink a:hover{
}
.recruitLink a:before,
.recruitLink a:after{
    content: "";
    z-index: -1;
     -moz-transition: .2s;
    -webkit-transition: .2s;
    -o-transition: .2s;
    -ms-transition: .2s;
    box-sizing: border-box;
    position: absolute;
    height: 100px;
    width: 100px;
}
.recruitLink a:before{
    border-left: solid 1px;
    border-top: solid 1px;
    top: 0;
    left: 0;
}
.recruitLink a:after{
    border-right: solid 1px;
    border-bottom: solid 1px;
    right: 0;
    bottom: 0;
}
.recruitLink a:hover::before,
.recruitLink a:hover::after{
    background: #232323;
    width: 100%;
    height: 100%;
}
.recruitLink .imgBox{
    width: calc(50% - 40px);
    margin-right: 80px;
}
.recruitLink .imgBox img{
    width: 100%;
    height: 100%;
  object-fit: cover; /* この一行を追加するだけ！ */
}
.recruitLink .textBox{
     -moz-transition: .2s;
    -webkit-transition: .2s;
    -o-transition: .2s;
    -ms-transition: .2s;
    box-sizing: border-box;
    padding-right: 60px;
    width: calc(50% - 40px);
    position: relative;
}
.recruitLink a:hover .textBox {
    color: #fff;
}
.recruitLink .textBox .arow{
    width: 15px;
    height: 6px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 40px;
}
.recruitLink .textBox .arow:before,
.recruitLink .textBox .arow:after{
     -moz-transition: .2s;
    -webkit-transition: .2s;
    -o-transition: .2s;
    -ms-transition: .2s;
    content: "";
    display: block;
    position: absolute;
}
.recruitLink .textBox .arow:before{
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 12px;
    height: 2px;
    background: #232323;
}
.recruitLink a:hover .mid02 span:after{
    background: #fff;
}
.recruitLink .textBox .arow:after{
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3px 0 3px 5px;
    border-color: transparent transparent transparent #232323;
}

.recruitLink a:hover .textBox .arow:before{
    background: #fff;
}
.recruitLink a:hover .textBox .arow:after{
    border-color: transparent transparent transparent #fff;
}
.recruitLink a p{
    margin-top: 40px;
    font-size: 14px;
}
@media screen and (max-width: 768px) {
    .recruitLink{
        margin-top: 180px;
        padding: 0 30px;
    }
    .recruitLink a{
        padding: 30px 30px 40px;
        display: block;
    }
    .recruitLink .imgBox{
        height: 340px;
        width: 100%;
        position: relative;
        overflow: hidden;
        margin-bottom: 60px;
    }
    .recruitLink .imgBox img{
        position: absolute;
        top: 10px;
        width: 110%;
    }
    .recruitLink .textBox{
        width: 100%;
    }
    .recruitLink .textBox p{
        font-size: 22px;
    }
    .recruitLink .textBox .arow{
        width: 38px;
        height: 10px;
    }
    .recruitLink .textBox .arow:before,
    .recruitLink .textBox .arow:after{}
    .recruitLink .textBox .arow:before{
        width: 32px;
    }
    .recruitLink .textBox .arow:after{
        border-width: 5px 0 5px 8px;
    }
}
