/* Works スライダーのスタイル */
#works .swiper-button-next:after, #works .swiper-rtl .swiper-button-prev:after{
    content: "";
}

.main .works{background:none;
    padding-bottom: 100px;
    }

main h3#works{
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
    color: #000!important;margin-bottom: 60px;
}

.works-slider-container {
    position: relative;
    padding: 0;
}

.works-swiper {
    overflow: visible;
    width: 100%;
}

.swiper-wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: fe
}

.works .swiper-slide {
    flex-shrink: 0;
    min-width: 300px;
}

.works-item {
    background: #fff;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
}


.works-image {
    position: relative;
 max-width: 500px;
    height: 300px;
    overflow: hidden;
}

.works-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}


.works-info {
    max-width: 500px;
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
}

.works-title {
    font-size: 16px;
    font-weight: bold;
    color: #222;
    margin: 0 0 6px 0;
    line-height: 1.3;
}


.works-date {
    font-size: 14px;
    margin: 0;
    line-height: 1.3;
}

/* Swiper ナビゲーションボタン */
.works-next,
.works-prev {
    background: rgba(34, 34, 34, 0.6);
    border: none;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: absolute;
    top: 45%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.works-next {
    right: 0px;
}

.works-prev {
    left: -20px;
}

.works-next::after,
.works-prev::after {
    content: ''!important;
    width: 30px;
    height: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23cccccc"><path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.works-prev::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23cccccc"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"/></svg>');
}

.works-next:hover,
.works-prev:hover {
    background: #555;
}

.works-next:hover::after,
.works-prev:hover::after {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
}

/* Swiper ページネーション */
.works-pagination {
    position: relative;
    margin-top: 20px;
}

.works-pagination .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.works-pagination .swiper-pagination-bullet-active {
    background: #222;
    transform: scale(1.2);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .works-slider-container {
        padding: 0;
        overflow: hidden;
    }
    
    .works .swiper-slide {
        min-width: 250px;
    }

    .works-image {
        height: 300px;
    }

    .works-info {
        padding: 12px;
        display: block;
    }

    .works-title {
        font-size: 14px;
    }

    .works-date {
        font-size: 10px;
    }

    .works-next,
    .works-prev {
        width: 35px;
        height: 35px;
        margin-top: -17px;
    }

    .works-next {
        right: 15px;
    }

    .works-prev {
        left: 25px;
    }

    .works-next::after,
    .works-prev::after {
        width: 16px;
        height: 16px;
    }

    .works-pagination {
        margin-top: 20px;
    }

    .works-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}

@media (max-width: 480px) {
  

  #works{
    width: 90%;
    margin: 0 auto;
  }
  
  .works .swiper-slide {
    min-width: 200px;
  }

    main .works {
        height: 500px !important;
    }

    .works-swiper {
        padding: 0 5px;
    }

    .works-image {
        height: 200px;
    }

    .works-item {
        min-height: 200px;
        overflow: visible
    }

    .works-info {
        padding: 10px;
    }

    .works-title {
        font-size: 13px;
    }

    .works-date {
        font-size: 9px;
    }

    .swiper-notification {
        display: none;
    }
}