/* ==================================================
   Voice
================================================== */

.voice {
    padding: 30px 0 60px;
    background: rgba(163, 148, 204, 0.08);
    overflow: hidden;
}

.voice__inner {
    width: min(calc(100% - 80px), 1120px);
    margin: 0 auto;
}

.voice-slider {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.swiper-slide {
    flex-shrink: 0;
}

.voice-slider .swiper-wrapper {
    display: flex;
}

.voice-slider .swiper-slide {
    flex-shrink: 0;
}

.voice-card {
    height: 600px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 24px;
    padding: 0 32px 32px;
    border: 1px solid rgba(163, 148, 204, 0.18);
    box-shadow: none;
    position: relative;
}

.voice-card__title {
    margin: 60px 0 20px;
    color: #2f2f2f;
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}

.voice-card__text {
    margin: 0;
    padding: 10px 0 0;
    color: #555;
    font-size: 1.6rem;
    line-height: 1.6;
    position: relative;
}

.voice-card__name {
    margin-top: auto;
    color: #9b8a67;
    font-size: 1.4rem;
    text-align: center;
}

/* ページネーションをカードの下へ配置 */
.voice-pagination .swiper-pagination {
    position: static;
    width: auto;
    margin: 0;
    display: flex;
}

.voice-slider .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    margin: 0 8px !important;
    background: transparent;
    border: 1px solid #A394CC;
    opacity: 1;
}

.voice-slider .swiper-pagination-bullet-active {
    background: #A394CC;
    border-radius: 50%;
}

.voice-card__quote {
    position: absolute;
    top: 16px;
    left: 28px;

    font-size: 8rem;
    line-height: 1;
    color: #B59351;
    font-family: Georgia, serif;
    opacity: .9;

    margin: 0;
}

.voice-slider .swiper-button-prev,
.voice-slider .swiper-button-next {
    width: 40px;
    height: 40px;
    color: #B59351;
}

.voice-slider-wrap .swiper-button-prev::after,
.voice-slider-wrap .swiper-button-next::after {
    font-size: 32px;
    font-weight: 300;
}

.voice-slider .swiper-button-prev {
    left: -60px;
}

.voice-slider .swiper-button-next {
    right: -60px;
}

.voice-slider {
    overflow: visible;
}

.voice-slider-wrap {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 48px auto 0;
}

.voice-slider-wrap .swiper-button-prev,
.voice-slider-wrap .swiper-button-next {
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    box-shadow: none;
    color: #A394CC;
    top: 50%;
    transform: translateY(-50%);
}

.voice-slider-wrap .swiper-button-prev {
    left: -8px;
}

.voice-slider-wrap .swiper-button-next {
    right: -8px;
}

.voice-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    margin: 16px auto 0;
}

.voice-pagination .swiper-button-prev,
.voice-pagination .swiper-button-next {
    position: static;
    margin: 0;
    flex-shrink: 0;
}

.voice-pagination .swiper-button-prev,
.voice-pagination .swiper-button-next {
    width: 12px;
    height: 18px;
    position: static;
    margin: 0;
    top: auto;
}

.voice-pagination .swiper-button-prev::after,
.voice-pagination .swiper-button-next::after {
    font-size: 18px;
    font-weight: 300;
    transform: translateY(10px);
}

.voice-pagination {
    gap: 8px;
}

.voice-pagination .swiper-button-prev,
.voice-pagination .swiper-button-next {
    left: auto;
    right: auto;
}

.voice-pagination .swiper-pagination {
    width: auto;
    margin: 0;
}

.voice-pagination {
    height: 24px;
}

.voice-card__meta {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
}

.voice-card__name {
    color: #333333;
}

.voice-card__stars {
    color: #B59351;
    letter-spacing: 2px;
}

.voice-card__separator {
    color: #BDBDBD;
}

.voice-slider .swiper-slide {
    width: 420px;
}

.voice-card__line {
    width: 350px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            #B59351,
            transparent);
    margin: 24px auto;
    display: block;
    flex-shrink: 0;
}

.voice-card__title+.voice-card__line {
    margin: 0 auto 12px;
}

.voice-card__text+.voice-card__line {
    margin: 0px auto 24px;
}

.voice .fv__cta {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: none;
}

.voice-cta {
    margin-top: 18px;
    text-align: center;
}

.voice .flow__message {
    margin-bottom: 16px;
}

.voice-cta__note {
    margin-top: 16px;
    color: #777;
    font-family:
        "Noto Sans JP",
        "Yu Gothic",
        sans-serif;
    font-size: 1.3rem;
    line-height: 1.6;
    text-align: center;
}

.voice__message {
    margin-bottom: 24px;
    color: #5f5a63;
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.05em;
    text-align: center;
}

.pc-only {
    display: inline;
}

.sp-only {
    display: none;
}

/* Smartphone
-------------------------------------------------- */

@media (max-width: 767px) {

    .voice {
        padding: 20px 0 50px;
    }

    .voice__inner {
        width: min(calc(100% - 40px), 480px);
    }

    .voice-slider-wrap {
        margin-top: 24px;
    }

    .voice-slider {
        max-width: none;
    }

    .voice-slider .swiper-wrapper {
        align-items: stretch;
    }

    .voice-slider .swiper-slide {
        width: calc(100vw - 64px);
        max-width: 360px;
        height: auto;
        display: flex;
    }

    .voice-card {
        width: 100%;
        height: 100%;
        min-height: 0;
        padding: 0 20px 24px;
        border-radius: 20px;
    }

    .voice-card__quote {
        top: 12px;
        left: 20px;
        font-size: 6rem;
    }

    .voice-card__title {
        margin: 48px 0 16px;
        font-size: 1.6rem;
        line-height: 1.5;
        font-weight: 600;
    }

    .voice-card__text {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .voice-card__line {
        width: 100%;
    }

    .voice-card__text+.voice-card__line {
        margin: auto auto 16px;
    }

    .voice-card__meta {
        margin-top: 0;
        font-size: 1.3rem;
    }

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

    .voice-slider .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 6px !important;
    }

    .voice__message {
        font-size: 1.8rem;
        line-height: 1.8;
        font-weight: 600;
    }

    .voice .fv__cta {
        width: min(calc(100vw - 40px), 360px);
        max-width: none;
        min-height: 64px;
        margin: 1px auto 0;
        padding: 0 56px 0 30px;
        font-size: 1.7rem;
    }

    .voice .fv__cta-icon {
        width: 36px;
        height: 36px;
    }

    .voice .fv__cta-arrow {
        right: 30px;
    }

    .voice-cta__note {
        margin-top: 11px;
        color: #716a74;
        font-family:
            "Noto Sans JP",
            "Yu Gothic",
            sans-serif;
        font-size: 1.05rem;
        line-height: 1.6;
        text-align: center;
    }

    .pc-only {
        display: none;
    }

    .sp-only {
        display: inline;
    }

}