@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

/*画像スライド*/
/* Slickスライドのドット */
.slick-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 4px;
    z-index: 10;
}

.slick-dots li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.slick-dots li button {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.slick-dots li.slick-active button {
    background-color: #555;
    transform: scale(1.1);
}

.slick-dots li button:hover {
    background-color: #fff;
}

.slick-slide img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
}

/*画像スライドのスタイル*/
/*サムネイル付きスライド*/
.sliderArea {
    width: 100%;
}

.sliderArea img {
    width: 400px;
    height: 280px;
    object-fit: cover;
}

/* slickスライダー本体 */
.image-slider {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 320px;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .image-slider {
        height: auto;
    }
}

.image-slider .slick-list,
.image-slider .slick-track {
    height: 100% !important;
}

.image-slider .slick-slide {
    height: 100% !important;
}

.image-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 3px;
}

/* Slick矢印全体のボタンデザイン */
.slick-prev,
.slick-next {
    content: "";
    z-index: 10;
    background: rgba(255, 255, 255, 0.75);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    position: absolute;
    transform: translateY(-25%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slick-prev:hover,
.slick-next:hover {
    background: rgba(255, 255, 255, 1);
}

.slick-prev {
    left: 10px;
    top: 50%;
    bottom: 50%;
}

.slick-next {
    right: 10px;
    top: 50%;
    bottom: 50%;
}

.slick-prev::before,
.slick-next::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 16px;
    color: #333;
}

.slick-prev::before {
    content: "\f104";
}

/* 右矢印 */
.slick-next::before {
    content: "\f105";
}

.slick-dots {
    display: flex !important;
    justify-content: center;
    gap: 6px;
    padding-top: 10px;
}

.slick-dots li {
    width: 8px;
    height: 8px;
}

.slick-dots li button {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #cfcfcf;
    border: none;
    padding: 0;
    text-indent: -9999px;
    overflow: hidden;
    transition: background 0.3s;
}

.slick-dots li.slick-active button {
    background: #555;
}

/*デフォルトのスタイルを打ち消し*/
.slick-dots+.slick-dots {
    display: none !important;
}
