.top_slide{
    position: relative;
}

.top_slide_logo{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%); 
}

.top_slide img::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background-image: linear-gradient(180deg, transparent 0 60%, #FFF 100%);
}

.top_flex_ours{
display:flex !important;
padding-left:1rem;
padding-right:1rem;
}

.top_flex_ours div:nth-child(2){
flex-grow:2 !important;
}

.top_flex_bottom_img{
align-self:flex-end !important;
}
.top_flex_top_img{
align-self:flex-start !important;
}



/*----------------------------------------
            スマホ
   ---------------------------------------- */

@media screen and (max-width: 781px) {
.company_text{
        display: block;
        font-size: 5rem !important;
        margin-bottom: 2rem;
        font-weight:bold;
        letter-spacing: 0.25rem;
    }
    #hero--image {
        width: 100%;
        display: block;
        margin-top:70px;
        position: relative;
    }
    
    #hero--image .hero--overlay {
        position: absolute;
        width: 100%;
        height: 100%;
    }
    #hero--image .hero--overlay #hero--overlay1 {
        position: absolute;
        z-index: 3;    
        opacity:0.8;
        height: 100%;
    }
    #hero--image .hero--overlay #hero--overlay1:after {
        position: absolute;
        bottom: 0;
        left: 0;
        content: "";
        width: 0;
        height: 0;
        border: 50px solid transparent;
        border-bottom: 50px solid #ffffff;
        border-right: 50px solid #ffffff;
        border-width: 74px 50vw;
      }
    #hero--image .hero--overlay #hero--overlay2 {
        position: absolute;
        z-index: 4;    
        opacity:0.5;
        height: 100%;
    }
    #hero--image .hero--overlay #hero--overlay2:after {
        position: absolute;
        bottom: 0;
        left: 0;
        content: "";
        width: 0;
        height: 0;
        border: 50px solid transparent;
        border-bottom: 100px solid #2798EB;
        border-left: 100px solid #2798EB;
        border-width: 220px 20vw;
    }
    
    .top_about_wrap{
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: auto;
        min-height: 750px;
        width:100%;
        margin: 0;
        text-decoration: none;
        background-image: url(../img/top/TOP_about_back.jpg);
        margin: 100px auto 0px;
        padding: 40px 0 10px;
        position: relative;
        z-index: 4;
    }
    .top_about_inner{
        display: flex;
        flex-wrap:wrap;
        justify-content: space-around;
        width:100%;
        max-width: 1000px;
        margin: auto;
        align-items: flex-end;
  }
    .about_sen p,
    .about_sen h2,
    .about_sen h3,
    .about_sen .h_small,
    .recruit_sen .h_small,
    .recruit_sen p,
    .recruit_sen h2,
    .recruit_sen h3
    {
        width:95%;
        display: block;
        margin:0.5rem 1rem;
    }
    .about_sen p,
    .recruit_sen p
    {
  text-align: justify;
  text-justify: inter-ideograph;
    }
    .about_sen .button a,
    .recruit_sen .button a,
    .service_inner .button a
    {
        margin:1rem auto 3rem;
    }
        .service_inner p
    {
        text-align:center;
    }

    .about_img{
        max-width: 400px;
        width:85%;
        margin:0 auto;
    }
    .about_sen{
        max-width: 480px;
    }
    .about_sen .h_small,
    .about_sen h2,
    .recruit_sen .h_small,
    .recruit_sen h2{
        padding:0 !important;
    }
    .about_sen h2,
    .about_sen h2{
        margin-bottom:0;
    }
    .recruit_sen .h_small,
    .about_sen .h_small{
        font-size:1.5rem;
        margin-top:0;
    }
    .recruit_sen h3,
    .about_sen h3{
        margin-top:0 !important;
        margin-bottom:0 !important;
    }
    
     #about--overlay {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: -1;
    }
    
    #about--overlay #about--overlay1 {
        height: 100%;
    }
    #about--overlay #about--overlay1:after {
        z-index: -1;    
        position: absolute;
        top: 0;
        left: 0;
        content: "";
        width: 0;
        height: 0;
        border: 50px solid transparent;
        border-top: 100px solid #ffffff;
        border-left: 100px solid #ffffff;
        border-width: 230px 60vw;
    }
    
    #about--overlay #about--overlay2 {
        height: 100%;
    }
    #about--overlay #about--overlay2:after {
        position: absolute;
        z-index: -2;    
        top: 0;
        left: 0;
        content: "";
        width: 0;
        height: 0;
        border: 90px solid transparent;
        border-top: 120px solid #2798EB;
        border-left: 200px solid #2798EB;
        border-width: 390px 60vw;
    }
    #about--overlay #about--overlay3 {
        height: 100%;
        opacity: 0.5;
    }
    #about--overlay #about--overlay3:after {
        position: absolute;
        z-index: -2;    
        bottom: 0;
        left: 0;
        content: "";
        width: 0;
        height: 0;
        border: 50px solid transparent;
        border-bottom: 160px solid #E0FFFF;
        border-left: 160px solid #E0FFFF;
        border-width: 160px 30vw;
    }
    
    .top_recruit_wrap{
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: auto;
        min-height: 750px;
        width:100%;
        margin: 0;
        text-decoration: none;
        background-image: url(../img/top/TOP_recruit_back.jpg);
        margin: 0px auto 0px;
        padding: 20px 0 10px;
        position: relative;
        z-index: 4;
        display: flex;
        align-items: center;
    }
    .top_recruit_inner{
        display: flex;
        flex-wrap:wrap;
        justify-content: space-around;
        width:100%;
        max-width: 1000px;
        margin: auto;
        align-items: flex-end;
  }
    .recruit_img{
        max-width: 400px;
        order:-1;
        width:85%;
        margin:0 auto;
    }
    .recruit_sen{
        max-width: 480px;
    }
     #recruit--overlay {
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: -1;
    }
    
    #recruit--overlay #recruit--overlay1 {
        height: 100%;
    }
    #recruit--overlay #recruit--overlay1:after {
        z-index: -1;    
        position: absolute;
        top: 0;
        right: 0;
        content: "";
        width: 0;
        height: 0;
        border: 50px solid transparent;
        border-top: 100px solid #ffffff;
        border-right: 100px solid #ffffff;
        border-width: 230px 60vw;
    }
    
    #recruit--overlay #recruit--overlay2 {
        height: 100%;
    }
    #recruit--overlay #recruit--overlay2:after {
        position: absolute;
        z-index: -2;    
        top: 0;
        right: 0;
        content: "";
        width: 0;
        height: 0;
        border: 90px solid transparent;
        border-top: 120px solid #2798EB;
        border-right: 200px solid #2798EB;
        border-width: 390px 60vw;
    }
    #recruit--overlay #recruit--overlay3 {
        height: 100%;
        opacity: 0.5;
    }
    #recruit--overlay #recruit--overlay3:after {
        position: absolute;
        z-index: -2;    
        bottom: 0;
        right: 0;
        content: "";
        width: 0;
        height: 0;
        border: 50px solid transparent;
        border-bottom: 160px solid #E0FFFF;
        border-right: 160px solid #E0FFFF;
        border-width: 160px 30vw;
    }

}
/*----------------------------------------
            PC、タブレット
   ---------------------------------------- */
@media print, screen and (min-width: 782px) {
.company_text{
    display: block;
    font-size: 12rem !important;
    margin-bottom: 3rem;
    font-weight:bold;
    letter-spacing: 1.25rem;
}
.h_small{
    font-size:1.5rem !important;
}

    #hero--image {
        width: 100%;
        display: block;
        margin-top:50px;
        position: relative;
    }
    
    #hero--image .hero--overlay {
        position: absolute;
        width: 100%;
        height: 100%;
    }
    #hero--image .hero--overlay #hero--overlay1 {
        position: absolute;
        z-index: 3;    
        opacity:0.8;
        height: 100%;
    }
    #hero--image .hero--overlay #hero--overlay1:after {
        position: absolute;
        bottom: 0;
        left: 0;
        content: "";
        width: 0;
        height: 0;
        border: 50px solid transparent;
        border-bottom: 50px solid #ffffff;
        border-right: 50px solid #ffffff;
        border-width: 74px 50vw;
      }
    #hero--image .hero--overlay #hero--overlay2 {
        position: absolute;
        z-index: 4;    
        opacity:0.5;
        height: 100%;
    }
    #hero--image .hero--overlay #hero--overlay2:after {
        position: absolute;
        bottom: 0;
        left: 0;
        content: "";
        width: 0;
        height: 0;
        border: 50px solid transparent;
        border-bottom: 100px solid #2798EB;
        border-left: 100px solid #2798EB;
        border-width: 220px 20vw;
    }
    
    .top_about_wrap{
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: auto;
        min-height: 750px;
        width:100%;
        margin: 0;
        text-decoration: none;
        background-image: url(../img/top/TOP_about_back.jpg);
        margin: 100px auto 0px;
        padding: 20px 0 10px;
        position: relative;
        z-index: 4;
        display: flex;
        align-items: center;
    }
    .top_about_inner{
        display: flex;
        flex-wrap:wrap;
        justify-content: space-around;
        width:100%;
        max-width: 1000px;
        margin: auto;
        align-items: flex-end;
  }
    .about_img{
        max-width: 400px;
    }
    .about_sen{
        max-width: 480px;
    }
    .about_sen .h_small,
    .about_sen h2{
        color:#000 !important;
        padding:0 !important;
    }
    
     #about--overlay {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: -1;
    }
    
    #about--overlay #about--overlay1 {
        height: 100%;
    }
    #about--overlay #about--overlay1:after {
        z-index: -1;    
        position: absolute;
        top: 0;
        left: 0;
        content: "";
        width: 0;
        height: 0;
        border: 50px solid transparent;
        border-top: 100px solid #ffffff;
        border-left: 100px solid #ffffff;
        border-width: 230px 60vw;
    }
    
    #about--overlay #about--overlay2 {
        height: 100%;
    }
    #about--overlay #about--overlay2:after {
        position: absolute;
        z-index: -2;    
        top: 0;
        left: 0;
        content: "";
        width: 0;
        height: 0;
        border: 90px solid transparent;
        border-top: 120px solid #2798EB;
        border-left: 200px solid #2798EB;
        border-width: 390px 60vw;
    }
    #about--overlay #about--overlay3 {
        height: 100%;
        opacity: 0.5;
    }
    #about--overlay #about--overlay3:after {
        position: absolute;
        z-index: -2;    
        bottom: 0;
        left: 0;
        content: "";
        width: 0;
        height: 0;
        border: 50px solid transparent;
        border-bottom: 160px solid #E0FFFF;
        border-left: 160px solid #E0FFFF;
        border-width: 160px 30vw;
    }
    .service_inner .button a
    {
        margin:1rem auto 3rem;
    }

    .top_recruit_wrap{
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: auto;
        min-height: 750px;
        width:100%;
        margin: 0;
        text-decoration: none;
        background-image: url(../img/top/TOP_recruit_back.jpg);
        margin: 100px auto 0px;
        padding: 20px 0 10px;
        position: relative;
        z-index: 4;
        display: flex;
        align-items: center;
    }
    .top_recruit_inner{
        display: flex;
        flex-wrap:wrap;
        justify-content: space-around;
        width:100%;
        max-width: 1000px;
        margin: auto;
        align-items: flex-end;
  }
    .recruit_img{
        max-width: 400px;
    }
    .recruit_sen{
        max-width: 480px;
    }
    .recruit_sen .h_small{
        color:#000 !important;
        padding:0 !important;
    }
    .recruit_sen h2{
        color:#000000 !important;
        padding:0 !important;
    }
     #recruit--overlay {
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: -1;
    }
    
    #recruit--overlay #recruit--overlay1 {
        height: 100%;
    }
    #recruit--overlay #recruit--overlay1:after {
        z-index: -1;    
        position: absolute;
        top: 0;
        right: 0;
        content: "";
        width: 0;
        height: 0;
        border: 50px solid transparent;
        border-top: 100px solid #ffffff;
        border-right: 100px solid #ffffff;
        border-width: 230px 60vw;
    }
    
    #recruit--overlay #recruit--overlay2 {
        height: 100%;
    }
    #recruit--overlay #recruit--overlay2:after {
        position: absolute;
        z-index: -2;    
        top: 0;
        right: 0;
        content: "";
        width: 0;
        height: 0;
        border: 90px solid transparent;
        border-top: 120px solid #2798EB;
        border-right: 200px solid #2798EB;
        border-width: 390px 60vw;
    }
    #recruit--overlay #recruit--overlay3 {
        height: 100%;
        opacity: 0.5;
    }
    #recruit--overlay #recruit--overlay3:after {
        position: absolute;
        z-index: -2;    
        bottom: 0;
        right: 0;
        content: "";
        width: 0;
        height: 0;
        border: 50px solid transparent;
        border-bottom: 160px solid #E0FFFF;
        border-right: 160px solid #E0FFFF;
        border-width: 160px 30vw;
    }


}

