
#Works .innerBox {
    width: 100%;
    max-width: calc(1115px + calc(15px * 2));
    margin: 0 auto;
    padding: 130px 15px;
}
@media screen and (max-width: 767px) {
    #Works .innerBox {
        padding: 80px 15px;
    }
}

#Works .innerBox .contents_title {
    margin-bottom: 100px;
}
@media screen and (max-width: 767px) {
    #Works .innerBox .contents_title {
        margin-bottom: 60px;
    }
}

#Works .works_content h4::before,
#Works .works_content h4::after {
    content: "";
    position: absolute;
    top: 50%;
    display: block;
    width: 25px;
    height: 100%;
    background-color: #E9BA2A;
    opacity: 0.5;
}
#Works .works_content h4::before {
    left: 0;
    transform: translate(-100%, -50%);
}
#Works .works_content h4::after {
    right: 0;
    transform: translate(100%, -50%);
}

/* カルーセルスタイル */
#Works .works_list {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

#Works .works_carousel {
    position: relative;
    width: 29%;
}
@media screen and (max-width: 767px) {
    #Works .works_carousel {
        width: 100%;
    }
    #Works .works_carousel:not(:last-child) {
        margin-bottom: 30px;
    }
}

/* メイン画像部分 */
#Works .swiper-main {
    width: 100%;
    aspect-ratio: 319/212;
    margin-bottom: 15px;
    overflow: visible !important;
}
#Works .swiper-main img {
    object-fit: cover;
}
#Works .swiper-wrapper {
    overflow: hidden;
}
#Works .swiper-main .swiper-slide {
    height: 500px;
}

/* サムネイル部分 */
#Works .swiper-thumbs {
    box-sizing: border-box;
    padding: 0;
}

#Works .swiper-thumbs .swiper-slide {
    width: 47%;
    aspect-ratio: 150/100;
    cursor: pointer;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

#Works .swiper-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

/* 画像スタイル */
#Works .carousel-slide img {
    width: 100%;
    object-fit: cover;
}

/* サムネイル画像のクロスフェード効果 */
#Works .thumb-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

#Works .thumb-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

#Works .thumb-image-current {
    z-index: 2;
}

#Works .thumb-image-next {
    z-index: 1;
}

#Works [class*="swiper-button-"] {
    font-size: 0 !important;
    color: transparent !important;
}

#Works [class*="swiper-button-"]:hover {
    background-color: rgba(236, 236, 236, 1) !important;
}

/* ページネーション */
#Works .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 0 !important;
}
#Works .swiper-pagination-bullets {
    height: 10px;
}
#Works .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #353535;
    opacity: 0.6;
    transition: all 0.29s ease-in-out;
    transform: translateY(-50%);
    margin: 0;
}
#Works .swiper-pagination-bullet-active {
    opacity: 1;
}
#Works .swiper-pagination-bullet:not(:last-child) {
    margin-right: 11px;
}

/* ナビゲーションアイコン */
#Works .carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

#Works .carousel-nav-button {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 5px 10px;
    margin: 0 10px;
}

#Works .carousel-nav-button:hover {
    color: #E9BA2A;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    #Works .swiper-main .swiper-slide {
        height: 350px;
    }
}

@media screen and (max-width: 480px) {
    #Works .swiper-main .swiper-slide {
        height: 250px;
    }
}

#Works .section_1:not(:last-of-type) {
    margin-bottom: 80px;
}
@media screen and (max-width: 767px) {
    #Works .section_1:not(:last-of-type) {
        margin-bottom: 60px;
    }
}

#Works .works-content-container {
    padding: 0 25px;
}

#Works .works-section-title {
    position: relative;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 0.086em;
    background-color: rgba(14, 20, 36, 0.5);
    padding: 21px 35px 23px;
    margin: 0 auto 60px;
}
@media screen and (max-width: 767px) {
    #Works .works-section-title {
        font-size: 24px;
        padding: 15px 35px 17px;
    }
}

#Works .works-carousel-list {
    display: flex;
    column-gap: 6.5%;
    flex-wrap: wrap;
}

#Works .works-content-container:not(:last-child) .works-carousel-list {
    margin-bottom: 60px;
}

#Works .works-carousel-slide {
    cursor: pointer;
}

#Works .swiper-nav-button-next {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(236, 236, 236, 0.5);
    border: none;
    transform: translateX(65%);
    transition: all 0.3s ease;
}

#Works .swiper-nav-button-prev {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(236, 236, 236, 0.5);
    border: none;
    transform: translateX(-65%);
    transition: all 0.3s ease;
}

#Works .swiper-nav-arrow-next {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    transform: translate(-70%, -50%) rotate(45deg);
    display: block;
    width: 16px;
    height: 16px;
    border-top: 1px solid;
    border-right: 1px solid;
    border-color: #0E1424;
    transition: all 0.3s ease;
    cursor: pointer;
}

#Works .swiper-nav-arrow-prev {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    transform: translate(-30%, -50%) rotate(45deg);
    display: block;
    width: 16px;
    height: 16px;
    border-bottom: 1px solid;
    border-left: 1px solid;
    border-color: #0E1424;
    transition: all 0.3s ease;
    cursor: pointer;
}

#Works .swiper-thumbs-container {
    padding-bottom: 24px;
    margin-bottom: 35px;
}

#Works .works-carousel-location {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 26px;
}
@media screen and (max-width: 767px) {
    #Works .works-carousel-location {
        font-size: 20px;
    }
}

#Works .works-carousel-description {
    font-size: 18px;
    font-weight: 400;
    line-height: 2.2em;
    letter-spacing: 0.1em;
}
@media screen and (max-width: 767px) {
    #Works .works-carousel-description {
        font-size: 16px;
    }
    
    #Works .pc_only {
        display: none;
    }
}