/* 体験談：既存テーマの文字色を継承 */
.abr-testimonials {
    --abr-gold: #b59a62;
    width: 100%;
    overflow-wrap: anywhere;
}

.abr-testimonials .abr-story {
    margin: 0 0 3rem;
    padding: 0 0 2.5rem;
    border-bottom: 1px solid var(--abr-gold);
}

.abr-testimonials .abr-story-title {
    margin: 0 0 16px;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(20px, 2.1vw, 26px);
    font-weight: 700;
    line-height: 1.6;
    color: #f1dddd;
    text-shadow: 0 0 8px rgba(155, 30, 30, 0.45);
}

.abr-testimonials .abr-story-customer {
    margin: 0 0 20px;
    font-size: 16px;
    font-weight: 700;
}

/* 写真と本文 */
.abr-testimonials .abr-story-photo {
    margin-bottom: 1.5rem;
    text-align: center;
}

.abr-testimonials .abr-story-photo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.abr-testimonials .abr-story-content {
    line-height: 1.95;
}

.abr-testimonials .abr-story-content p {
    margin: 0 0 1rem;
}

/* 関連商品 */
.abr-testimonials .abr-story-related {
    margin-top: 1.75rem;
    padding: 1.25rem;
    border: 1px solid var(--abr-gold);
}

.abr-testimonials .abr-story-related h3 {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.6;
}

.abr-testimonials .abr-story-product {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    margin: 0 0 1rem;
    color: inherit;
    text-decoration: none;
}

.abr-testimonials .abr-story-product:last-child {
    margin-bottom: 0;
}

.abr-testimonials .abr-story-product img {
    width: 100%;
    height: auto;
}

.abr-testimonials .abr-story-product-name,
.abr-testimonials .abr-story-product-price,
.abr-testimonials .abr-story-product-link,
.abr-testimonials .abr-story-stock {
    display: block;
    margin-bottom: 0.4rem;
}

.abr-testimonials .abr-story-product-name {
    font-weight: 700;
}

.abr-testimonials .abr-story-product-link {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.abr-testimonials a:focus-visible {
    outline: 2px solid var(--abr-gold);
    outline-offset: 4px;
}

/* ページ送り */
.abr-testimonials .abr-story-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.abr-testimonials .abr-story-pagination li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.abr-testimonials .abr-story-pagination a,
.abr-testimonials .abr-story-pagination span {
    display: inline-block;
    box-sizing: border-box;
    min-width: 44px;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid var(--abr-gold);
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    color: inherit;
    text-decoration: none;
}

.abr-testimonials .abr-story-pagination .current {
    background: var(--abr-gold);
    color: #151515;
}

/* スマートフォン */
@media (max-width: 480px) {
    .abr-testimonials .abr-story-product {
        grid-template-columns: 75px minmax(0, 1fr);
        gap: 0.75rem;
    }

    .abr-testimonials .abr-story-related {
        padding: 1rem;
    }
}
