/* =================================
  archive-voice.css
  お客様の声アーカイブページ専用スタイル
================================= */

/* =================================
  Component: ページヒーロー
================================= */
.archive-voice .page-hero-section {
    position: relative;
    overflow: hidden;
    background: repeating-conic-gradient(
        #ffc200 0deg 9deg,
        #ffc800 9deg 18deg
    );
}

.archive-voice .page-hero-section_swiper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.archive-voice .page-hero-section_slide {
    position: relative;
    overflow: hidden;
}

.archive-voice .page-hero-section_slide_inner {
    position: relative;
    background-color: var(--color-white);
    padding: 0 0 20px;
}

.archive-voice .page-hero-section_slide_inner img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* =================================
  Component: アーカイブセクション
================================= */
.case-archive-section {
    padding: 0 0 48px;
}

.case-archive-section_inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 12px;
}

.case-archive-section .works-section_heading {
    padding-top: 28px;
    background-color: transparent;
}

.case-archive-section .works-section_list {
    margin-bottom: 0;
}

.voice-archive-item_star {
    display: flex;
    gap: 2px;
    margin-top: -2px;
    margin-left: 35px;
}

.voice-archive-item_star .fa-solid.fa-star {
    color: #f5a623;
    font-size: 15px;
}

.voice-archive-item_star .fa-regular.fa-star {
    color: #cccccc;
    font-size: 15px;
}

.case-archive-empty {
    grid-column: 1 / -1;
    padding: 40px 0;
    text-align: center;
    font-size: 15px;
    color: var(--color-gray);
}

/* =================================
  Component: フィルタータブ
================================= */
.case-archive-tabs {
    padding: 0 0 20px;
    margin: 0 -12px;
}

.case-archive-tabs_list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.case-archive-tabs_list::-webkit-scrollbar {
    display: none;
}

.case-archive-tabs_item {
    flex: 0 0 130px;
}

.case-archive-tabs_item a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 8px 10px;
    background-color: #a3a3a3;
    border-top: 1px solid #d4d4d4;
    border-bottom: 1px solid #d4d4d4;
    border-right: 2px solid #e9e9e9;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    color: var(--color-white);
    transition: background-color var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.case-archive-tabs_item:first-child a {
    border-left: 2px solid #e9e9e9;
}

.case-archive-tabs_item.is-active a,
.case-archive-tabs_item a:hover {
    background-color: #191a1f;
    color: var(--color-white);
}

@media (max-width: 768px) {
    .case-archive-tabs {
        margin: 0 -12px;
    }

    .case-archive-tabs_item {
        flex-basis: 128px;
    }

    .case-archive-tabs_item a {
        min-height: 52px;
        font-size: 15px;
    }
}

/* =================================
  Component: ページネーション
================================= */
.case-archive-pager {
    display: flex;
    justify-content: center;
    padding: 28px 0 0;
}

.case-archive-pager .page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.case-archive-pager .page-numbers li a,
.case-archive-pager .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-black);
    transition: background-color var(--transition), border-color var(--transition);
    text-decoration: none;
}

.case-archive-pager .page-numbers li a:hover {
    background-color: var(--color-main);
    border-color: var(--color-main);
}

.case-archive-pager .page-numbers li .current {
    background-color: var(--color-main);
    border-color: var(--color-black);
}


@media (min-width: 769px) {

    .archive-voice .page-hero-section {
        background: none !important;
    }

    .archive-voice .page-hero-section_swiper {
        max-width: 1280px;
        margin: 0 auto;
    }

    .archive-voice .page-hero-section_slide {
        min-height: auto;
        background: none;
    }

    .archive-voice .page-hero-section_slide_inner {
        background: #fff;
        padding: 40px;
        border-radius: 12px;
        max-width: 1200px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .archive-voice .page-hero-section_slide_inner img {
        width: 100%;
        max-width: 1500px;
        height: 700px;
        display: block;
        margin: 0 auto;
    }
}