@charset "utf-8";
@import url(common.css);
@import url(occupation.css);

#coating .occupation__content__photo.occupation__two__columns ul {
    display: flex;
    justify-content: space-around;
}

#coating img {
    height: 20vh;
    aspect-ratio: auto;
    margin: auto;
}

@media screen and (max-width: 768px) {
    #coating figure img {
        height: 25vh;
    }
}

#coating .coating_visual_text {
    background-color: #8ec31f;
    color: #fff;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 1rem;
    margin-top: 50px;
}

#coating .coating_visual_text_top {
    display: flex;
    justify-content: space-between;
}

#coating .coating_visual_text_top p {
    display: inline-block;
    font-size: 1.2rem;
}

#coating p span {
    font-size: 1.5rem;
}

#coating .coating_visual_text_top img {
    width: 5%;
    height: auto;
    margin: 0 2rem;
}

#coating .coating_visual_img img {
    width: 100%;
    height: auto;
}

.coating_glass_img {
    display: block;
    margin: 40px auto;
    text-align: center;
    width: 90%;
}

#coating .coating_glass_img img {
    display: block;
    width: 90%;
    height: auto;
    max-width: 90vw;
}

#coating .img-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    height: auto;
    margin-bottom: 4rem;
}

#coating .img-flex li {
    height: auto;
    position: relative;
}

#coating .img-flex li:nth-child(1) {
    width: 450px;
}

#coating .img-flex li:nth-child(2) {
    width: 350px;
}

#coating .img-flex img {
    height: auto;
    display: block;
}

#coating .img-flex li .badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 100px; /* 必要に応じて調整 */
    height: auto;
}

#coating .banner-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    height: auto;
}

#coating .banner-flex li {
    width: 45%;
    height: auto;
}

#coating .banner-flex li img {
    height: auto;
}

@media screen and (max-width: 768px) {
    #coating .banner-flex {
        gap: 1rem;
        width: 100%;
    }

    #coating .banner-flex li {
        width: 100%;
        min-width: 350px;
        margin: 0 auto;
        text-align: center;
    }

    #coating .banner-flex li img {
        width: 100%;
        min-width: 350px;
        margin: 0 auto;
        text-align: center;
    }
}

.works-arrow--left {
  right: 43%;
  transform: translate(calc(-450px - 10px), -50%);
}

.works-arrow--right {
  left: 43%;
  transform: translate(calc(450px + 10px), -50%);
}

@media screen and (max-width: 1024px) {
  .works-arrow--left {
    right: 35%;
    /*transform: translate(calc(-100px - 10px), -50%);*/
  }

  .works-arrow--right {
    left: 35%;
    /*transform: translate(calc(100px + 10px), -50%);*/
  }
}


@media screen and (max-width: 768px) {
    #coating p span {
        font-size: 1rem;
    }

    #coating .coating_visual_text_top img {
        height: 5%;
    }

    #coating .coating_glass_img {
        width: 100vw;
        margin: 40px 0;
    }

    #coating .coating_glass_img img {
        width: 100%;
        max-width: 100vw;
    }

    .img-flex {
        flex-direction: column;
        margin-top: 2rem;
    }

    #coating .img-flex li:first-of-type {
        width: 80vw !important;
    }

    .img-flex img:first-of-type {
        width: 90vw;
    }

    .banner-flex {
        flex-direction: column;
    }

    #coating .img-flex li:nth-child(1) {
        width: 300px;
    }

    #coating .banner-flex li {
    width: 80%;
}

    #coating .img-flex li {
        margin: 1rem auto;
    }

    #coating .banner-flex li {
        margin: 1rem auto;
    }

    #coating .img-flex li .badge {
        bottom: -15px;
        right: -25px;
        width: 80px; /* 必要に応じて調整 */
    }

   .works-arrow--left {
    right: 43%;
    transform: translate(calc(-150px - 10px), -50%);
  }

  .works-arrow--right {
    left: 43%;
    transform: translate(calc(150px + 10px), -50%);
  }
}