@charset "utf-8";

/* _____________HERO_____________ */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2); /* Adjust overlay color and opacity */
  z-index: 1; /* Ensure overlay is above the image */
}
#slide {
    height: 870px;
    position: relative;
}

#slide li {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.mv li.an p{
    display: none;
}
.mv .mv_01,
.mv .mv_02,
.mv .mv_03,
.mv .mv_04,
.mv .mv_05{
    background-repeat: no-repeat;
    background-position: center;
    /* 縦横比を保持したまま要素全体を覆う形になるため、要素と背景画像の縦横比が異なる場合、背景画像は途切れて表示される形になる */
    background-size: cover;
    position: relative;
}

.mv .mv_01 {
    background-image: url(../images/top/top_hero01.jpg);
}

.mv .mv_02 {
    background-image: url(../images/top/top_hero02.jpg);
}

.mv .mv_03 {
    background-image: url(../images/top/top_hero03.jpg);
}

.mv .mv_04 {
    background-image: url(../images/top/top_hero04.jpg);
}

.mv .mv_05 {
    background-image: url(../images/top/top_hero05.jpg);
}
.bg_white{
    background-color: #fff
}
.mv li p.teamwork_txt {
    font-size: clamp(18px, 3vw, 50px);
    color: var(--white);
    position: absolute;
    left: 50%;
    top: 15%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    text-align: center;
    z-index: 2;
}
.mv li p.teamwork_txt span{
    color: #ffff00;
}
.mv li p {
    font-size: clamp(16px, 3vw, 48px);
    color: var(--white);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    text-align: center;
    z-index: 2;
    text-shadow: 2px 2px 8px var(--black), 0px -1px 8px var(--black);
}
.hero{
    position: relative;
    background: #fff;
    z-index: 9999;
}
.pickup_sp{
    display: none;
}
.pickup{
    position: absolute;
    bottom: 55px;
    left: 0px;
    right: 0px;
    min-height: 57px;
    width: 1080px;
    max-width: 100%;
    background-color: #fff;
    margin: 0px auto;
    display: flex;
    justify-content: space-between;
    z-index: 1
}
.pickup .info{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px;
    width: 100%
}
.pickup .info .category{
    font-size: 14px;
    border: 1px solid var(--black);
    border-radius: 15px;
    padding: 2px;
    display: block;
    text-align: center;
    min-width: 125px;
    width: max-content;
}
.pickup .info time {
    min-width: 100px;
    text-align: center;
}
.pickup .info .newscontent{
    width: 100%
}
.pickup .info .newscontent a{
    width: 100%;
    display: block;
    padding-left: 15px;
    padding-right: 30px;
    background-image: url(../images/top/arrow.png);
    background-repeat: no-repeat;
    background-position: center right;
}
.list_news {
    height: auto;
    width: 240px;
    background-color: #efede9;
    color: var(--red);
    text-align: center;
    display: fe;
    display: flex;
    justify-content: center;
    align-items: center;
}
.list_news:hover{
    background-color:var(--red);
    color: #fff
}
/* _____________OVERVIEW_____________ */
#overview {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
    width: 100%;
    padding: 80px 0;
    background-color: #fff
}

#overview p {
    margin: 0 auto;
    font-size: 40px;
    margin-top: 50px;
    text-align: center;
    font-family: 'Noto Serif JP', serif;
}

/* _____________STRENGTHS_____________ */
#strengths .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#strengths .strenthsCard {
    /* left: 15px;分と、ホバーで拡大した分の右幅30pxとる */
    margin: 130px 30px 0 30px;
    left: 15px;
    max-width: 300px;
    position: relative;
    box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.2);
}

#strengths .strenthsCard .number {
    font-size: 48px;
    font-weight: bold;
    position: absolute;
    top: -50px;
    left: -15px;
}

#strengths .strenthsCard img {
    width: 100%;

}

#strengths .strenthsCard .text {
    background-color: var(--white);
    display: table;
    width: 100%;
    padding: 15px;
}

#strengths .strenthsCard .text>p {
    font-size: clamp(14px, 1.1vw, 18px);
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

/* _____________VALUE_____________ */
#value {
    position: relative;
}
#value::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url("../images/top/value_bg.png?20251021") center bottom/cover no-repeat;
background-color:rgba(255,255,255,0.4);
background-blend-mode:lighten;
  z-index:-1;
}
/*.et_parallax_bg {
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}*/
#value h2{
    color: var(--black);
}
#value h3{
    text-align: center;
    font-size: 40px;
    color: var(--black);
}
.value_box{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 55px;
}
.value_box img{
    max-width: 524px;
    height: auto;
}
.value_box h4{
    font-size: 32px;
    font-weight: bold;
    color: var(--black);
}
.value_box p{
    color: var(--black);
}
/* _____________SERVICES_____________ */
#services {
    overflow: hidden;
    background-color: #fff
}

#services .inner {
    flex-wrap: wrap;
}

#services img {
    width: 100%;
    /* background-size: 50%; */
}
.boxdes{
    width: 100%
}
#services .servicesCard01 {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(255, 255, 255, 1)), url(../images/top/top_services_01.png)no-repeat center/100%;
    width: calc(50vw + 50%);
    margin-left: calc(50% - 50vw);
    margin-top: 80px;
}

#services .servicesCard02 {
    background: linear-gradient(-90deg, rgba(0, 0, 0, 0), rgba(255, 255, 255, 1)), url(../images/top/top_services_02.png)no-repeat center/100%;
    width: calc(50vw + 50%);
    margin-right: calc(50% - 50vw);
    margin-top: 80px;
}

#services .servicesCard03 {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(255, 255, 255, 1)), url(../images/top/top_services_03.png)no-repeat center/100%;
    background-color: rgba(255, 255, 255, 0.3);
    background-blend-mode: lighten;
    width: calc(50vw + 50%);
    margin-left: calc(50% - 50vw);
    margin-top: 80px;
}

#services .servicesCard04 {
    background: linear-gradient(-90deg, rgba(0, 0, 0, 0), rgba(255, 255, 255, 1)), url(../images/top/top_services_04.png)no-repeat center/100%;
    width: calc(50vw + 50%);
    margin-right: calc(50% - 50vw);
    margin-top: 80px;
}

#services .servicesCard01 .inner,
#services .servicesCard03 .inner {
    padding: 30px 0;
    margin: 0 0 0 auto;
}

#services .servicesCard02 .inner, #services .servicesCard04 .inner {
    padding: 30px 0;
    margin: 0 auto 0 0;
}

#services .servicesCard02 .inner p,#services .servicesCard04 .inner p {
    text-align: right;
    margin-left: auto;
}

#services .servicesCard02 .inner .btn,#services .servicesCard04 .inner .btn {
    display: flex;
    justify-content: flex-end;
}

#services .title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 30px;
}

#services .text {
    max-width: 600px;
}

#services .btn {
    margin-top: 40px;
    padding: 0px;
}

#services .btn a {
    background: var(--white);
}

#services .btn a:hover {
    background: var(--red);
}

/* _____________COMPANY_____________ */
#company .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 50px;
}

#company .companyCard {
    margin-top: 50px;
    max-width: 480px;
}

#company .companyCard img {
    max-height: 360px;
}

#company .companyCard .band {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    position: relative;
    top: -45px;
    font-size: 18px;
    font-weight: bold;
}

#company .opacity:hover {
    opacity: 0.8;
}

/* _____________RECRUIT_____________ */
#recruit{
    background-color: #fff
}
#recruit .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#recruit a:hover {
    opacity: 0.7;
}

#recruit .h2_recruit {
    color: var(--red);
}

#recruit .recruitBanner {
    background-image: url(../images/top/top_recruit.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
    height: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#recruit .recruitBanner p {
    width: 100%;
    margin: 0 auto;
}

#recruit p span {
    font-size: 18px;
    color: var(--black);
    background-color: rgba(196, 0, 24, 0.8);
    position: relative;
    width: 480px;
    height: 100px;
    display: block;
    line-height: 100px;
    font-weight: bold;
    color: #fff
}
#recruit p span a{
    color: #fff;
    display: block;
    padding-left: 30px;
}
#recruit p span a:hover{
    opacity: 0.8;
    background-color: rgba(196, 0, 24, 0.9);
    color: #fff
}
#recruit a:hover {
    color: var(--black);
    font-weight: bold;
}

#recruit p span::after {
    position: absolute;
    right: 20px;
    bottom: 40px;
    display: block;
    content: "";
    width: 12px;
    height: 12px;
    border-top: 3px solid var(--white);
    border-right: 3px solid var(--white);
    transform: rotate(45deg);
}

/* _____________NEWS_____________ */
#news .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#news .newsWrap {
    display: flex;
    width: 100%
}

#news .newsWrap ul {
    margin-top: 20px;
    flex-basis: 70%;
}

#news .newsWrap .btn {
    padding-left: 0;
    flex-basis: 30%;
    height: 100%;
}

#news .newsWrap .btn a {
    display: block;
    height: fit-content;
}

#news ul li {
    border-bottom: 1px solid #D9D9D9;
    padding: 15px 0;
    position: relative;
    display: flex;
    align-items: center;
}

#news ul li::after {
    position: absolute;
    right: 10px;
    bottom: 22px;
    display: block;
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--black);
    border-right: 2px solid var(--black);
    transform: rotate(45deg);
}

#news ul li:first-child {
    padding-top: 0;
}

#news ul li:hover::after {
    border-top: 2px solid var(--red);
    border-right: 2px solid var(--red);
}
#news li .category{
    font-size: 14px;
    border: 1px solid var(--black);
    border-radius: 15px;
    padding: 2px;
    display: block;
    text-align: center;
    min-width: 125px;
    width: max-content;
}

#news li .category a:hover {
    background: var(--black);
    color: var(--white);
}

#news li time{
    width: 100px;
    text-align: center;
}

#news li .newscontent {
    flex-basis: 70%;
    display: flex;
}

#news li .newscontent time {
    flex-basis: 20%;
}

#news li .newscontent p {
    padding-right: 25px
}

/* _____________CONTACT_____________ */
#contact {
    position: relative;
    bottom: -70px;
    right: 0;
    left: 0;
    margin: 0 auto;
    background: var(--white);
    z-index: 2;
    max-width: 890px;
    text-align: center;
    box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.2);
    padding: 0 25px 45px 25px;
}

#contact h2 {
    margin-top: 0;
}

#contact p {
    font-size: 24px;
    font-weight: bold;
}

#contact .btn {
    margin-top: 40px;
}


@media screen and (min-width: 768px) and (max-width: 1170px) {
    .mv li p.teamwork_txt {
        top: 25%
    }
    #recruit p span {
        width: 300px;
        height: 65px;
        line-height: 65px;
    }
    #recruit p span::after{
        bottom: 25px
    }
    #services .text {
        max-width: 600px
    }
    #services .servicesCard02 .inner p ,#services .servicesCard04 .inner p {
        text-align: right;
        margin-left: auto;
        padding-right: 20px;
    }

    #services .servicesCard01 .inner p,
    #services .servicesCard03 .inner p {
        padding-left: 20px;
    }
    #company a{
        display: block;
        margin: 0px auto
    }
    footer>.inner{
        justify-content: flex-start;
    }

}

@media screen and (max-width: 768px) {
    .mv li p.teamwork_txt {
        top: 25%
    }
     #recruit p span {
        width: 300px;
        height: 65px;
        line-height: 65px;
    }
    #recruit p span::after{
        bottom: 25px
    }
    .value_box h4,.value_box p{
        text-align: center;
    }
    #company p{
        text-align: center;
        width: 100%
    }
    #company a{
        display: block;
        margin: 0px auto
    }
    /*.pickup{
        display: none;
    }
    .pickup_sp{
        display: block;
    }*/
    .list_news{
        width: 100%;
        height: 45px
    }
    .pickup{
        bottom: -90px;
        display: block;
    }
    .pickup .info .category{
        display: inline-block;
    }
    .pickup .info{
        display: block;
        padding: 10px
    }
    .pickup .info time{
        display: inline-block;
    }
    .pickup .info .newscontent a{
        padding-left: 0px
    }
    #news ul li{
        display: block;
    }
    #value h3{
        line-height: 45px;
        display: none;
    }
    #value h3 span{
        display: block;
        font-size: 22px
    }
    .value_box{
        display: block;
    }
    .value_box img{
        max-width: 320px;
        display: block;
        margin: 0px auto
    }
    #slide {
        width: 100%;
        height: 355px;
    }
    .mv li p{
        width: 88%;
        white-space:unset;
    }
    .mv li p br{
        display: none;
    }
    .mv li p br.denguyen{
        display: block;
    }
    /* _____________OVERVIEW_____________ */

    #overview {
        background-size: auto;
        height: 100%;
        margin: 20px 0;
        /*margin-top: 115px;*/
    }

    #overview h2 {
        padding-top: 0;
        font-size: 30px;
        font-family: "Zen Kaku Gothic New", sans-serif;
        font-weight: 400;
        font-style: normal;
        width: 100%;
        text-align: center;
        padding-top: 10px;
        width: 100%;
    }

    #overview p {
        max-width: 100%;
        font-weight: normal;
        margin: 0 auto;
        font-size: 16px;
        margin-top: 20px;
        /* line-height: 20px; */
        padding-bottom: 30px;
        text-align: left;
    }
    #overview p br{
        display: none;
    }

    /* _____________STRENGTHS_____________ */

    #strengths .strenthsCard {
        left: 0;
        margin: 80px 15px 0 15px;
        max-width: 100%;
    }

    #strengths .strenthsCard img {
        max-width: 100%;
    }

    #strengths .inner {
        align-items: center;
    }

    /* _____________SERVICES_____________ */
    #services .inner {
        /* flex-wrap: wrap; */
    }

    #services img {
        height: auto;
        width: 100%;
        /* background-size: 50%; */
    }

    #services .servicesCard01 {
        background: linear-gradient(#fff, rgba(0, 0, 0, 0)), url(../images/top/top_services_01.png);
        background-size: cover;
        width: 100%;
        margin-left: auto;
        margin-top: 30px;
    }

    #services .servicesCard02 {
        background: linear-gradient(#fff, rgba(0, 0, 0, 0)), url(../images/top/top_services_02.png);
        background-size: cover;
        width: 100%;
        margin-right: auto;
        margin-top: 50px;
    }
    #services .servicesCard04 {
        background: linear-gradient(#fff, rgba(0, 0, 0, 0)), url(../images/top/top_services_04.png);
        background-size: cover;
        width: 100%;
        margin-right: auto;
        margin-top: 50px;
    }

    #services .servicesCard03 {
        background: linear-gradient(#fff, rgba(0, 0, 0, 0)), url(../images/top/top_services_03.png);
        background-size: cover;
        width: 100%;
        margin-left: auto;
        margin-top: 50px;
    }

    #services .servicesCard01 .inner,
    #services .servicesCard03 .inner {
        padding: 20px 15px;
    }

    #services .servicesCard02 .inner,#services .servicesCard04 .inner {
        padding: 20px 15px;
    }

    #services .servicesCard02 .inner p,#services .servicesCard04 .inner p {
        text-align: left;
    }

    #services .title {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 30px;
    }

    #services .text {
        max-width: 100%;
    }

    #services .btn {
        margin-top: 40px;
        display: flex;
        justify-content: center;
    }

    #services .servicesCard02 .inner .btn,#services .servicesCard04 .inner .btn {
        display: flex;
        justify-content: center;
    }

    /* _____________COMPANY_____________ */
    #company .companyCard {
        margin-top: 30px;
        margin-bottom: -35px;
    }

    /* _____________NEWS_____________ */
    #news .inner {
        display: block;
    }

    #news .newsWrap {
        flex-direction: column-reverse;
    }

    #news .newsWrap>.btn {
        margin: 0;
        display: flex;
        flex-basis: auto;
        padding: 20px 0 0 0;
    }

    #news .newsWrap>.btn a {
        display: block;
        margin: 0 auto;
    }

    #news li .category ,#news li time{
        display: inline-block;
    }

    #news li .category a {
        font-size: 12px;
        border: 1px solid var(--black);
        border-radius: 15px;
        padding: 3px 15px;
        margin-right: 20px;
        display: block;
    }

    #news ul li::after {
        display: none;
    }

    #news li time.sp {
        display: block;
        flex-grow: 1;
        text-align: right;
    }

    #news li .newscontent {
        margin-top: 5px;
        flex-basis: 100%;
    }

    #news li .newscontent time {
        display: none;
    }

    #news li .newscontent a {
        display: flex;
    }

    #news li .newscontent p {
        flex-basis: 100%;
    }

    /* _____________RECRUIT_____________ */
    #recruit {
        padding-bottom: 50px;
    }

    #recruit .recruitBanner {
        margin-top: 0;
        height: 210px;
    }

    #recruit .recruitBanner p {
        text-align: center;
    }

    #recruit p span{
        text-align: left;
    }
   /* #recruit p span {
        font-size: 24px;
        color: var(--white);
        background-color: rgb(253, 1, 1 ,0.6);
        position: relative;
        padding: 20px 80px 20px 20px;
    }

    #recruit p span::after {
        position: absolute;
        right: 30px;
        bottom: 30px;
        display: block;
        content: "";
        width: 10px;
        height: 10px;
        border-top: 2px solid var(--white);
        border-right: 2px solid var(--white);
        transform: rotate(45deg);
    }*/

    /* _____________CONTACT_____________ */
    #contact {
        width: 90%;
        top: 50px;
        padding: 30px 15px 30px 15px;
    }

    #contact p {
        font-size: 16px;
        font-weight: bold;
    }

    #contact .btn {
        margin-top: 20px;
    }
}