.works_heading {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.works_heading h1 {
    font-family: "scotch-display", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 11vw;
    padding-top: 148px;
}

.works_heading p {
    font-size: 2vw;
    padding-top: 35px;
    padding-bottom: 83px;
    text-align: center;
}

.works_img {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10% 0 10%;
}

.works_img_modal {
    display: flex;
    justify-content: center;
    padding: 0 10% 0 10%;
}

/* モーダルCSS */
.works4_modal {
    display: none;
}
/* ------------------------------ */

.pc_only_img {
    width: 100%;
}

.sp_only_img {
    width: 100%;
}

.works4_pc {
    width: 100%;
}

.works4_sp {
    width: 85%;
}

.works5 {
    width: 100%;
}

.works_text dl {
    font-size: 18px;
    padding: 218px 13% 259px 13%;
}

.works_text dt {
    float: left;
    line-height: 1.8;
}

.works_text dd {
    padding-left: 37%;
    padding-bottom: 63px;
    line-height: 1.8;
}

.works_slider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding-left: 2.4%;
    overflow-x: hidden;
}

.works_slider ul {
    margin-left: 2.4%;
}

.works_slider li {
    margin-right: 34px;
    width: 100%;
    overflow: hidden;
    border-radius: 9.7%;
}

.works_slider img {
    transition: 1s all;
}

.works_slider img:hover {
    transform: scale(1.2, 1.2);
    transition: 1s all;
    border-radius: 9.7%;
}

/* works右矢印調整 */
.slick-next {
    width: 12rem;
    height: 12rem;
    background-color: black;
    border-radius: 50%;
    opacity: 0.5;
    transform: translate(50%, -50%);
    right: 0px;
}

.slick-next:before {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    position: relative;
    left: 10%;
}

/* works左矢印調整 */
.slick-prev {
    z-index: 1;
    width: 12rem;
    height: 12rem;
    background-color: black;
    border-radius: 50%;
    opacity: 0.5;
    transform: translate(-50%, -50%);
    left: -0.4%;
}

.slick-prev:before {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(-45deg);
    position: relative;
    left: 68%;
}

.slick-next:hover,
.slick-prev:hover {
    background: black;
}

/* スライダーのviewボタン */
.viewbutton {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--accent-color);
    border-radius: 50%;
    color: #ffffff;
    font-family: "scotch-display", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 21px;
    height: 80px;
    width: 80px;
    cursor: none;
}

.viewbutton.is-active {
    opacity: 1;
    cursor: none;
}

/* 制作実績詳細ページ専用の追従VIEWボタン */
.modal_viewButton {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--accent-color);
    border-radius: 50%;
    color: #ffffff;
    font-family: "scotch-display", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 21px;
    height: 80px;
    width: 80px;
    cursor: none;
}

.modal_viewButton.is-active {
    opacity: 1;
    cursor: none;
}

.sp_only_img {
    display: none;
}

@media screen and (max-width: 1920px) {
    .works_text dl {
        padding: 218px 20% 259px 20%;
    }
}

@media screen and (max-width: 768px) {
    .works_heading h1 {
        font-size: 14vw;
        padding-top: 127px;
    }

    .works_heading p {
        font-size: 2.5vw;
        padding-top: 10px;
        padding-bottom: 60px;
    }

    .works_text dt {
        float: none;
        font-size: 26px;
        line-height: 2;
        padding-top: 43px;
        padding-bottom: 17px;
    }

    .works_text dd {
        padding-left: 0;
        padding-bottom: 0;
        font-size: 20px;
        line-height: 2;
    }

    .works_text dl {
        padding-top: 57px;
        padding-bottom: 100px;
    }

    .works ul {
        margin-left: 4.3%;
    }
}

@media screen and (max-width: 431px) {
    .works_heading h1 {
        font-size: 21vw;
        padding-top: 127px;
    }

    .works_heading p {
        font-size: 4vw;
        padding-top: 10px;
        padding-bottom: 60px;
    }

    .slick-next,
    .slick-prev {
        width: 7rem;
        height: 7rem;
    }

    .slick-next:before,
    .slick-prev:before {
        width: 30px;
        height: 30px;
    }

    .slick-prev:before {
        left: 59%;
    }

    .works_slider {
        padding-left: 7.3%;
    }
}

@media screen and (max-width: 376px) {
    .pc_only_img {
        display: none;
    }

    .sp_only_img {
        display: block;
    }

    .works_text dt {
        float: none;
        font-size: 20px;
        line-height: 2;
        padding-top: 43px;
        padding-bottom: 17px;
    }

    .works_text dd {
        padding-left: 0;
        padding-bottom: 0;
        font-size: 14px;
        line-height: 2;
    }

    .works_text dl {
        padding: 57px 6.5% 100px 6.5%;
    }
}
