/* 全体レイアウト・共通設定 */

#category-voice-top-section-wrap {
    max-width: 767px !important;
}

#category-voice-top-section-wrap .voice_section {
    background-color: unset;
    padding: 0;
}

/* スライダー全体の外枠（余白はcqwで可変に） */
#category-voice-top-section-wrap .voice_section_voice_list_wrap {
    padding-bottom: 6cqw;
}

/* 注釈（※Googleレビュー...）のラッパー */
#category-voice-top-section-wrap .g-kome-wrap {
    display: flex;
    justify-content: center;
    margin-top: 3cqw;
}

/* 注釈テキスト本体 */
#category-voice-top-section-wrap .g_kome {
    text-align: left;
    margin-top: 0 !important;
}

/* スライダー（Splide）の設定 */
/* スライド個々の枠調整（余白はcqw） */
#category-voice-top-section-wrap .splide__slide {
    padding: 1.5cqw 0 !important;
    border: none !important;
    background-color: unset;
}

/* カード直下のラッパー（影や余白用） */
#category-voice-top-section-wrap .review-slide-item {
    padding-bottom: 3cqw;
}

/* お客様の声（レビュー）カード本体 */
#category-voice-top-section-wrap .review-box {
    /* コンテナクエリの基準 */
    container-type: unset;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    /* min-height: 100cqw; */
    background: #ffffff;
    border: 1px solid #bbbbbb;
    border-radius: 3cqw;
    padding: 4.5cqw;
    display: flex;
    flex-direction: column;
    gap: 3cqw;
    position: relative;
    margin: 0 auto;
}

/* --- カードヘッダー（新着・タイトル・ユーザー情報） --- */
#category-voice-top-section-wrap .review-header {
    display: flex;
    flex-direction: column;
    gap: 1.5cqw;
    width: 100%;
}

/* 新着アイコンとタイトルの並び */
#category-voice-top-section-wrap .ico-new-wrap {
    gap: 1.5cqw;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

/* 新着アイコンエリア */
#category-voice-top-section-wrap .ico-new {
    display: flex;
    flex-direction: row;
    gap: 2cqw;
    flex: 0 0 100%;
    min-width: 9.5cqw;
    line-height: 160%;
    align-items: flex-start;
}

/* 「新着」ラベルの赤背景スタイル */
#category-voice-top-section-wrap .new-text {
    background: #d00000;
    color: #ffffff;
    line-height: 1.6;
    text-align: center;
    width: 100%;
    padding: 0.3cqw 0;
    display: block;
    flex: 0 0 10.5cqw;
}

/* レビューのタイトル（2行制限など） */
#category-voice-top-section-wrap .review-title {
    display: flex;
    align-items: center;
    color: #272727;
    text-align: left !important;
    margin-bottom: 0 !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    line-height: 110%;
}

#category-voice-top-section-wrap .title-lead {
    text-align: center;
    padding: 0 20cqw;
}

/* --- ユーザー情報（アイコン・名前） --- */
#category-voice-top-section-wrap .user-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 1.5cqw;
    /* margin-bottom: 1.5cqw; */
}

/* アバター画像の丸枠 */
#category-voice-top-section-wrap .avatar {
    width: 12cqw;
    height: 12cqw;
    border-radius: 50%;
    background-color: #ecf0c3;
    flex-shrink: 0;
    overflow: hidden;
}

#category-voice-top-section-wrap .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

#category-voice-top-section-wrap .user-meta {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#category-voice-top-section-wrap .user-details {
    display: flex;
    align-items: center;
}

#category-voice-top-section-wrap .user-name {
    font-weight: 700;
    color: #272727;
    width: max-content;
}

#category-voice-top-section-wrap .store-name {
    color: #666;
}

/* --- 商品・評価エリア --- */
#category-voice-top-section-wrap .product-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 3cqw;
    align-items: flex-start;
}

#category-voice-top-section-wrap .product-info {
    display: flex;
    flex-direction: column;
    gap: 0.6cqw;
    flex: 1;
}

#category-voice-top-section-wrap .product-name {
    font-weight: 700;
    color: #272727;
    margin: 0 !important;
}

/* 星評価の表示エリア */
#category-voice-top-section-wrap .rating-area {
    display: flex;
    align-items: center;
    gap: 1.5cqw;
}

#category-voice-top-section-wrap .stars {
    color: #e5bd1c;
    letter-spacing: 0;
}

#category-voice-top-section-wrap .star--white {
    color: #ddd;
    /* 未評価の星の色 */
}

#category-voice-top-section-wrap .rating-score {
    font-weight: 700;
    color: #e5bd1c;
    margin-left: 0.6cqw;
}

/* 商品サムネイル画像（No Image含む） */
#category-voice-top-section-wrap .product-thum {
    height: 18cqw;
    background: #f3f3f3;
    border: 1px solid #bbbbbb;
    border-radius: 1.2cqw;
    overflow: hidden;
    flex: 1;
    min-height: auto;
}

#category-voice-top-section-wrap .product-thum img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* --- タグ・本文エリア --- */
#category-voice-top-section-wrap .tag-area {
}

#category-voice-top-section-wrap .tag {
    background: #f3f3f3;
    border-radius: 3cqw;
    padding: 0.9cqw 3.6cqw;
    color: #272727;
    display: inline-block;
}

#category-voice-top-section-wrap .review-body {
    line-height: 1.6 !important;
    color: #272727;
}

/* ナビゲーション（ページネーション・矢印） */
/* 自作ページネーション（カプセル型の枠） */
#category-voice-top-section-wrap .custom-pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 1.5cqw 6cqw;
    /* 内部の余白 */
    gap: 4.5cqw;
    /* ドット間の距離 */
    width: 37.5cqw;
    /* 幅 */
    height: 6cqw;
    /* 高さ */
    box-sizing: border-box;
    background: #f3f3f3;
    box-shadow: inset 0 0.3cqw 0.3cqw rgba(0, 0, 0, 0.25);
    border-radius: 6.6cqw;
    margin: 6cqw auto 0;
}

/* ページネーションのドット */
#category-voice-top-section-wrap .custom-pagination-dot {
    appearance: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 3cqw;
    /* ドットサイズ */
    height: 3cqw;
    /* ドットサイズ */
    border-radius: 50%;
    background: #bbbbbb;
    transition: background-color 0.3s ease;
}

#category-voice-top-section-wrap .appraiser-name {
    text-align: left;
    width: max-content;
}

/* アクティブなドット（赤） */
#category-voice-top-section-wrap .custom-pagination-dot.is-active {
    background: #d00000;
}

/* Splide標準の矢印アイコンを消す */
#category-voice-top-section-wrap .splide__arrow svg {
    display: none !important;
}

/* 矢印ボタンの外枠デザイン */
#category-voice-top-section-wrap .splide__arrow {
    width: 12.5cqw;
    /* ボタンサイズ */
    height: 12.5cqw;
    /* ボタンサイズ */
    background-color: #ffffff;
    border: 1px solid #bbbbbb;
    border-radius: 7.2cqw;
    box-sizing: border-box;
    opacity: 1;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 3.6cqw 6cqw;
    /* アイコンサイズ */
    transition: all 0.3s ease;
}

#category-voice-top-section-wrap .splide__arrow:hover {
    background-color: #f9f9f9;
    border-color: #999;
}

/* 左矢印アイコン画像 */
#category-voice-top-section-wrap .splide__arrow--prev {
    left: 6.5%;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='20' viewBox='0 0 12 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.0121 2.99726L4.22205 9.78726L11.0121 16.5773C11.6946 17.2598 11.6946 18.3623 11.0121 19.0448C10.3296 19.7273 9.22705 19.7273 8.54455 19.0448L0.512051 11.0123C-0.170448 10.3298 -0.170448 9.22726 0.512052 8.54476L8.54455 0.512266C9.22705 -0.170233 10.3296 -0.170233 11.0121 0.512266C11.6771 1.19477 11.6946 2.31477 11.0121 2.99726Z' fill='%23D00000'/%3E%3C/svg%3E");
}

/* 右矢印アイコン画像 */
#category-voice-top-section-wrap .splide__arrow--next {
    right: 6.5%;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='20' viewBox='0 0 12 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.511875 16.5594L7.30188 9.76938L0.511875 2.97937C-0.170625 2.29688 -0.170625 1.19438 0.511875 0.511875C1.19437 -0.170625 2.29687 -0.170625 2.97937 0.511875L11.0119 8.54438C11.6944 9.22688 11.6944 10.3294 11.0119 11.0119L2.97937 19.0444C2.29687 19.7269 1.19437 19.7269 0.511875 19.0444C-0.153125 18.3619 -0.170625 17.2419 0.511875 16.5594Z' fill='%23D00000'/%3E%3C/svg%3E");
}

/* 査定員紹介カード */
/* 査定員カード全体の外枠 */
#category-voice-top-section-wrap .appraiser-card {
    /* container-type: unset; */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 4.5cqw 4.5cqw 5.1cqw;
    gap: 3cqw;
    width: 100%;
    background: #ffffff;
    border: 1px solid #bbbbbb;
    border-radius: 3cqw;
    position: relative;
    margin: 3cqw auto;
}

/* 査定員カードのヘッダー（薄いオレンジ背景） */
#category-voice-top-section-wrap .appraiser-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3cqw;
    gap: 3cqw;
    width: 100%;
    height: 13.2cqw;
    background: #f7ecdb;
    box-sizing: border-box;
}

#category-voice-top-section-wrap .appraiser-title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#category-voice-top-section-wrap .appraiser-kanteinin {
    color: #d00000;
}

/* --- 査定員ボディ（挨拶文・プロフィール） --- */
#category-voice-top-section-wrap .appraiser-body {
    position: relative;
    width: 100%;
}

#category-voice-top-section-wrap .appraiser-flex-container {
    display: block;
    width: 100%;
}

#category-voice-top-section-wrap .appraiser-flex-container::after {
    content: "";
    display: block;
    clear: both;
}

#category-voice-top-section-wrap .appraiser-flex-container-wrap {
    display: flex;
    flex-direction: column;
    gap: 3cqw;
}

/* グレー背景のプロフィール情報エリア */
#category-voice-top-section-wrap .appraiser-flex-hobby-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 3cqw;
    gap: 3cqw;
    background: #f3f3f3;
    box-sizing: border-box;
    width: 100%;
}

#category-voice-top-section-wrap .appraiser-info {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 3cqw;
}

#category-voice-top-section-wrap .appraiser-flex-hobby-info {
    display: flex;
    flex-direction: column;
    gap: 3cqw;
    flex: 1;
}

#category-voice-top-section-wrap .appraiser-info-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0;
    gap: 3cqw;
    width: 100%;
}

#category-voice-top-section-wrap .appraiser-profile-col {
    display: flex;
    flex-direction: column;
    gap: 3cqw;
    flex: 1;
}

#category-voice-top-section-wrap .appraiser-hobby-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 0;
}

#category-voice-top-section-wrap .appraiser-greeting {
    width: 100%;
}

/* プロフィールエリア内の顔写真 */
/*（.avatar-imgだけだと他と競合するため） */
#category-voice-top-section-wrap .appraiser-avatar-right .avatar-img {
    width: 25cqw;
    height: 25cqw;
}

/* 挨拶文テキストへの回り込み用アバター（左配置） */
#category-voice-top-section-wrap .appraiser-avatar {
    float: left;
    width: 24cqw;
    height: 24cqw;
    margin-right: 2cqw;
    padding: 0.5cqw 0.5cqw;
    position: relative;
    z-index: 1;
}

#category-voice-top-section-wrap .avatar-img {
    width: 100%;
    height: 100%;
}

#category-voice-top-section-wrap .avatar-circle {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* 挨拶本文テキスト */
#category-voice-top-section-wrap .appraiser-text {
    display: inline;
    color: #272727;
}

/* 下部リンクエリアの余白 */
#category-voice-top-section-wrap .voice_section_avoice_list_under_content {
    padding: 0 6cqw;
}

#category-voice-top-section-wrap
    .voice_section_avoice_list_under_content
    .common-link-wrap {
    margin-bottom: 3cqw;
}

/* 趣味・好きな言葉などのリスト項目 */
#category-voice-top-section-wrap .appraiser-like-hoby,
#category-voice-top-section-wrap .appraiser-like-movie {
    display: flex;
    flex-direction: row;
    gap: 1.5cqw;
}

/* 項目名（趣味：など）の色指定 */
#category-voice-top-section-wrap .appraiser-like-hoby span,
#category-voice-top-section-wrap .appraiser-like-movie span,
#category-voice-top-section-wrap .appraiser-like-brand span,
#category-voice-top-section-wrap .appraiser-like-sample span {
    color: #d00000;
}

#category-voice-top-section-wrap .appraiser-like-brand,
#category-voice-top-section-wrap .appraiser-like-sample {
    display: flex;
    gap: 1.5cqw;
    flex-direction: row;
}

#category-voice-top-section-wrap .other-wrap {
    display: flex;
    flex-direction: column;
    gap: 3cqw;
}

#category-voice-top-section-wrap
    .common-view-limit-wrap.is-opened
    .limit-btn-area {
    padding-bottom: 0;
}

#category-voice-top-section-wrap .splide__arrow--prev::after {
    /* background-image: url("/assets/img/voice/s_red_arrow_l.webp"); */
}

#category-voice-top-section-wrap .splide__arrow--next::after {
    /* background-image: url("/assets/img/voice/s_red_arrow_r.webp"); */
}

#category-voice-top-section-wrap .voicelist {
    margin: 0px auto;
}

@media (min-width: 767px) {
    #category-voice-top-section-wrap .review-box {
        /* コンテナクエリの基準 */
        container-type: inline-size;
    }

    #category-voice-top-section-wrap .splide__arrow--next {
        right: 8.5%;
    }

    #category-voice-top-section-wrap .splide__arrow--prev {
        left: 8.5%;
    }

    #category-voice-top-section-wrap .splide__arrow {
        width: 8.5cqw;
        height: 8.5cqw;
        background-size: 2.6cqw 6cqw;
    }
}
