/* ============================================
   撮影された方の声（テスティモニアル・スライダー）
   既存デザイントーン（インクブルー×サンドゴールド）に準拠
   ============================================ */

.testimonials {
    background: var(--bg-light, #f5f8fb);
}

.testimonials .section-header {
    margin-bottom: 2.5rem;
}

.testimonials-intro {
    text-align: center;
    color: var(--text-light, #6b7c8f);
    font-size: 0.98rem;
    margin: 0 0 2.75rem;
    letter-spacing: 0.02em;
}

/* ---- スライダー本体 ---- */
.testimonial-slider {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-track-viewport {
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    touch-action: pan-y;
    will-change: transform;
}

.testimonial-slide {
    flex: 0 0 33.3333%;
    padding: 0 0.65rem;
    box-sizing: border-box;
}

/* ---- カード ---- */
.testimonial-card {
    background: var(--bg-white, #fff);
    border: 1px solid var(--border-color, #e6e0d6);
    border-radius: 8px;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(42,59,84,0.06));
    padding: 1.75rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 240px;
}

.testimonial-heading {
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--primary-color, #2a3b54);
    line-height: 1.5;
    margin-bottom: 0.85rem;
}

.testimonial-body {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--text-color, #2d3947);
    flex-grow: 1;
    margin-bottom: 1rem;
}

.testimonial-body p {
    margin: 0 0 0.6em;
}

.testimonial-body p:last-child {
    margin-bottom: 0;
}

.testimonial-meta {
    font-size: 0.78rem;
    color: var(--text-light, #6b7c8f);
    text-align: right;
    letter-spacing: 0.05em;
    border-top: 1px solid var(--hairline, #e6e0d6);
    padding-top: 0.6rem;
}

/* ---- 矢印ボタン ---- */
.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-white, #fff);
    border: 1px solid var(--border-color, #e6e0d6);
    color: var(--primary-color, #2a3b54);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(42,59,84,0.06));
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    z-index: 2;
}

.testimonial-arrow:hover {
    background: var(--primary-color, #2a3b54);
    color: #fff;
    border-color: var(--primary-color, #2a3b54);
}

.testimonial-arrow:focus-visible {
    outline: 2px solid var(--accent-color, #c8a87a);
    outline-offset: 2px;
}

.testimonial-arrow-prev {
    left: -21px;
}

.testimonial-arrow-next {
    right: -21px;
}

/* ---- ドット（現在位置） ---- */
.testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color, #dfe8f0);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.testimonial-dot:hover {
    background: var(--accent-color, #c8a87a);
}

.testimonial-dot.is-active {
    background: var(--primary-color, #2a3b54);
    transform: scale(1.2);
}

/* ---- 注意書き ---- */
.testimonial-disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-light, #6b7c8f);
    margin-top: 1.75rem;
    opacity: 0.9;
}

/* ---- 申し込みボタン ---- */
.testimonial-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ---- レスポンシブ ---- */
@media (max-width: 1024px) {
    .testimonial-slide {
        flex: 0 0 50%;
    }
    .testimonial-arrow-prev {
        left: -8px;
    }
    .testimonial-arrow-next {
        right: -8px;
    }
}

@media (max-width: 640px) {
    .testimonial-slide {
        flex: 0 0 100%;
    }
    .testimonial-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    .testimonial-arrow-prev {
        left: -4px;
    }
    .testimonial-arrow-next {
        right: -4px;
    }
    .testimonial-card {
        min-height: 0;
    }
}
