/* 順位アイコン用 */
.rank-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.rank-1 {
    background-image: url('../img/mark/r1.webp');
}

.rank-2 {
    background-image: url('../img/mark/r2.webp');
}

.rank-3 {
    background-image: url('../img/mark/r3.webp');
}

.rank-t {
    background-image: url('../img/mark/rp.webp');
}

/* マークアイコン用 */
.mark-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* アイコンの中心を基準に配置 */
    vertical-align: middle;
}

.mark-hm {
    background-image: url('../img/mark/hm.webp');
}

.mark-m {
    background-image: url('../img/mark/m.webp');
}

.mark-wm {
    background-image: url('../img/mark/wm.webp');
}

.mark-tm {
    background-image: url('../img/mark/tm.webp');
}

.mark-p {
    background-image: url('../img/mark/p.webp');
}


/* アカウントアイコン用 */
.mark-x {
    background-image: url('../img/icon-x.png');
}

.mark-litlink {
    background-image: url('../img/icon-litlink.png');
}

.mark-17live {
    background-image: url('../img/icon-17live.png');
}

.mark-youtube {
    background-image: url('../img/icon-youtube.png');
}

.mark-iriam {
    background-image: url('../img/icon-iriam.png');
}

/* ランク帯の色 */
.rankcolor-D>td,
.rankcolor-D {
    color: #0CB6EF !important;
}

.rankcolor-C>td,
.rankcolor-C {
    color: #427EFF !important;
}

.rankcolor-B>td,
.rankcolor-B {
    color: #B251FF !important;
}

.rankcolor-A>td,
.rankcolor-A {
    color: #FF58BC !important;
}

.rankcolor-S>td,
.rankcolor-S {
    color: #FF1373 !important;
}

/* メンバー個別ページ専用CSS */
.member-single-page {
    /* ここにスタイルを追加 */
}

/* --- おすすめ動画（swiper-gallery風） --- */
.recommendyoutube-list {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.swiper-slide-inner {
    cursor: pointer;
    padding: 5%;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s;
}


.swiper-slide-inner:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.swiper-slide-inner .thumb {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    overflow: hidden;
    margin-bottom: 16px;
}

.swiper-slide-inner.youtube-channel-item .thumb,
.swiper-slide-inner .thumb.thumb-channel {
    padding-bottom: 100%;
    /* 1:1 */
}

@media (max-width: 768px) {
    .recommendyoutube-list {
        gap: 0.5rem;
    }

    .swiper-slide-inner {
        padding: 0.9rem;
        border-radius: 8px;
    }

    .swiper-slide-inner .thumb {
        margin-bottom: 0.5rem;
    }
}


.swiper-slide-inner .thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.swiper-slide-inner.youtube-channel-item .thumb img,
.swiper-slide-inner .thumb img.thumb-img-channel {
    object-fit: cover;
}

.swiper-slide-inner:hover .thumb img {
    transform: scale(1.15);
}

.swiper-slide-inner .ttl {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    max-height: calc(1.3em * 2);
    height: calc(1.3em * 2);
    word-break: break-all;
    font-size: 1rem;
}

/* 背景動画（single-member-cpt専用, 上部だけ絶対配置で後ろに回す） */
.member-single-section {
    position: relative;
}

body.single-member-cpt .breadcrumb {
    position: relative;
    z-index: 2;
}

.bgvideo-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 700px;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .bgvideo-wrap {
        height: auto;
        aspect-ratio: 3 / 5;
        margin-top: 0;
        transition: top 0.3s ease;
    }
}

.bgvideo-wrap .bgvideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    /* opacity: 0.5; */
}

.bgvideo-content {
    position: relative;
    z-index: 1;
    background: transparent;
    overflow-x: hidden;
}

/* レイアウト切り替え */
.leyout_columns {
    display: none;
    margin-bottom: 2rem;
}

/* 背景を表示させるボタンはシングルレイアウトで非表示 */
.leyout_columns .hidebutton {
    display: none;
}

@media (min-width:768px) {

    .leyout_singles {
        display: none;
    }

    .leyout_columns {
        display: flex;
        gap: 60px;
        position: relative;
    }

    .col-right {
        width: 400px;
    }

    .col-left,
    .col-right {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .col-left {
        flex: 1;
    }

    .col-right {
        width: 400px;
    }

    /* 背景を表示させるボタン */
    .leyout_columns .hidebutton {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3px;

        line-height: 1;
        font-size: 0.75rem;
        width: 55px;
        height: 55px;
        padding: 5px;
        border-radius: 10px;
        margin: 10px;
        background-color: #fff;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);

        position: absolute;
        top: 0;
        left: 0;
        z-index: 3;
        cursor: pointer;
        user-select: none;
    }

    .leyout_columns .hidebutton::before {
        content: "";
        display: block;
        width: 20px;
        height: 20px;
        background-image: url('../img/icon-close.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        margin-bottom: 0.3em;
    }

    .leyout_columns .hidebutton.hide::before {
        background-image: url('../img/icon-refresh.svg');
    }

    .col-left .logo-wrap,
    .col-left .voice-sample,
    .col-right .pictures,
    .col-left .story {
        transition: transform 0.45s ease, opacity 0.35s ease, margin-top 0.4s ease;
        will-change: transform;
    }

    .member-single-section.member-bg-hidden .col-left .logo-wrap {
        transform: translateY(-120vh);
        opacity: 0;
        pointer-events: none;
    }

    .member-single-section.member-bg-hidden .col-left .voice-sample {
        transform: translateX(-120vw);
        opacity: 0;
        pointer-events: none;
    }

    .member-single-section.member-bg-hidden .col-right .pictures {
        transform: translateX(120vw);
        opacity: 0;
        pointer-events: none;
    }

}

/* ロゴ */
.logo-wrap {
    width: 70%;
    /* max-width: 400px; */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .logo-wrap {
        width: 100%;
        max-width: 400px;
        margin-bottom: 1rem;
    }
}

.logo-wrap img {
    filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.5));
}

/* 立ち絵 */
.pictures {
    position: relative;
}

@media (max-width: 768px) {
    .pictures {
        margin-bottom: 1rem;
    }
}

.pictures-group {
    display: block;
    gap: 12px;
    position: relative;
    right: 0;
    top: 0;
    width: 100%;
}

.pictures-group .main-picture {
    height: 800px;
    width: auto;
    position: relative;
    margin-bottom: 0.5rem;
}

.pictures-group .main-img {
    max-width: inherit;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center top;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.5));
}

@media (max-width: 768px) {
    .pictures-group .main-picture {
        height: auto;
        min-height: 480px;
        width: 100%;
        display: flex;
        margin-bottom: 1rem;

    }

    .pictures-group .main-img {
        max-width: 100%;
        width: 100%;
        height: auto;
        aspect-ratio: inherit;
        object-position: inherit;
        display: block;
        position: relative;
        top: inherit;
        left: inherit;
        transform: inherit
    }
}


.pictures-group .thumb-list {
    display: flex;
    gap: 1rem;
    justify-content: center;
    width: 100%;

}

.pictures-group .thumb-btn {
    width: 60px;
    height: 60px;
    padding: 5px;
    background-color: #fff;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    font-size: 2rem;
    line-height: 1;
    color: var(--color-main);
    font-weight: bold;
}

.pictures-group .thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: background-color 0.2s ease;
}

.pictures-group .thumb-btn.selected {
    background-color: var(--color-main-light);
}

.pictures-group .thumb-btn:hover {
    background-color: var(--color-main-light);
}

/* ボイスサンプル */
.voice-sample {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    /* 半透明 */
    backdrop-filter: blur(6px);
    /* Safari用 */
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    padding: 1.2rem;
    border-radius: 14px;
}

.voice-sample .voice-title {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5em;
    gap: 0.5em;
}

.voice-sample .voice-title span {
    flex: 1;
}

.voice-sample .play-voice-btn {
    border: 2px solid var(--color-text-light);
    border-radius: 99px;
    padding: 0.2em 0.8em;
    font-size: 0.875rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    line-height: 1;

}

.voice-sample .play-voice-btn::before {
    content: "";
    display: block;
    width: 1.1em;
    height: 1.1em;
    background: url('../img/volume-on.svg') no-repeat center center;
    margin-right: 0.4em;
}

.play-voice-btn:hover {
    background: var(--color-text-light);
    color: #fff;
}

.voice-sample .samples {
    display: flex;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .voice-sample {
        padding: 0.9rem;
        margin-bottom: 1rem;
    }

    .voice-sample .voice-title {
        font-size: 1.2rem;
    }

    .voice-sample .samples {
        flex-direction: column;
    }

    .voice-sample .play-voice-btn {
        padding: 0.6em 0.8em;
        font-size: 1rem;
    }
}


/* メンバーアカウントアイコン横並び */
.members-accounts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
    margin: 0;
    align-items: center;
    flex-wrap: wrap;
}

.members-accounts .account-icon {
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    height: 50px;
    max-height: 50px;
    padding: 0;
    background-color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: bold;
}

.members-accounts .account-icon img {
    width: 55px;
    height: 22px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin-right: 10p;
}

.members-accounts .account-icon:hover img {
    scale: 1.1;
}

@media (max-width: 768px) {
    .members-accounts {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .members-accounts .account-icon img {
        width: 45px;
    }
}


/* ストーリー(軌跡) */
.performance,
.story {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    /* 半透明 */
    backdrop-filter: blur(6px);
    /* Safari用 */
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    padding: 1.3rem;
    border-radius: 14px;
    background-image: url('data: image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="88.917" height="97" viewBox="0 0 88.917 97"><path id="title-head-svg" d="M37.993,28.935c1.869,1.409,5.209,3.933,9.108,2.644,4.876-1.612,6.413-9.2,4.848-15.425C50.1,8.8,45.235-.132,35.936-.008c-1.49.7-2.981.9-3.967,2.057-6.762,7.93.72,22.884,6.023,26.884ZM71.782,41.716c13.3-2.638,8.363-29.531-5.436-29.529-4.732,1.917-6.545,2.546-8.08,7.639C55.359,29.47,62.133,43.63,71.782,41.716ZM15.516,42.3c2.5,1.516,7.056,3.43,10.724,1.616,3.912-1.935,4.873-8.391,2.938-13.222-2.8-6.984-8.92-15.393-18.657-15.278-1.72.705-3.141.726-4.407,1.763C3.939,18.961,3.4,23.728,4.351,27.319A24.242,24.242,0,0,0,15.516,42.3ZM88.088,59.2C85.4,51.473,79.449,48.544,71.341,46.27c-3.073-.862-6.332-1.177-8.814-2.644-5.321-3.145-7.885-8.853-16.454-8.814l-4.26.735a19.3,19.3,0,0,0-10.871,8.08c-4.325,7.137.928,12.661-.294,20.126q-1.615,7.785-3.232,15.572C26.031,88.005,33.5,95.665,40.049,96.806,50.431,98.613,56.19,86.671,61.792,82.7c8.291-5.873,22.273-4.285,26.443-14.4C89.336,65.637,88.965,61.719,88.088,59.2ZM8.17,46.858c-3.034,1.193-5.193,1.125-6.758,3.673-6.442,10.492,10.629,26.8,21.155,20.861,4.168-2.353,4.963-8.468,2.791-13.516A18.22,18.22,0,0,0,8.17,46.858Z" transform="translate(0.001 0.009)" fill="%23000000" fill-opacity="0.05" /></svg>');
    background-repeat: no-repeat;
    background-position: calc(100% + 15px) calc(100% + 32px);
    background-size: 150px auto;
    container-type: inline-size;


}

.story p {
    line-height: 2.2;
    margin-bottom: 1.8em;
    font-size: clamp(14px, calc(100cqw / 45), 22px);
    text-wrap: pretty;
    /* word-break: auto-phrase; */
}

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

.performance p.ttl,
.story p.ttl {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1;
    padding: 0.6em;
    background-color: var(--color-main);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.performance p.ttl::before,
.story p.ttl::before {
    content: "";
    display: block;
    width: 1.4em;
    height: 1.4em;
    background-image: url('data: image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="88.917" height="97" viewBox="0 0 88.917 97"><path id="title-head-svg" d="M37.993,28.935c1.869,1.409,5.209,3.933,9.108,2.644,4.876-1.612,6.413-9.2,4.848-15.425C50.1,8.8,45.235-.132,35.936-.008c-1.49.7-2.981.9-3.967,2.057-6.762,7.93.72,22.884,6.023,26.884ZM71.782,41.716c13.3-2.638,8.363-29.531-5.436-29.529-4.732,1.917-6.545,2.546-8.08,7.639C55.359,29.47,62.133,43.63,71.782,41.716ZM15.516,42.3c2.5,1.516,7.056,3.43,10.724,1.616,3.912-1.935,4.873-8.391,2.938-13.222-2.8-6.984-8.92-15.393-18.657-15.278-1.72.705-3.141.726-4.407,1.763C3.939,18.961,3.4,23.728,4.351,27.319A24.242,24.242,0,0,0,15.516,42.3ZM88.088,59.2C85.4,51.473,79.449,48.544,71.341,46.27c-3.073-.862-6.332-1.177-8.814-2.644-5.321-3.145-7.885-8.853-16.454-8.814l-4.26.735a19.3,19.3,0,0,0-10.871,8.08c-4.325,7.137.928,12.661-.294,20.126q-1.615,7.785-3.232,15.572C26.031,88.005,33.5,95.665,40.049,96.806,50.431,98.613,56.19,86.671,61.792,82.7c8.291-5.873,22.273-4.285,26.443-14.4C89.336,65.637,88.965,61.719,88.088,59.2ZM8.17,46.858c-3.034,1.193-5.193,1.125-6.758,3.673-6.442,10.492,10.629,26.8,21.155,20.861,4.168-2.353,4.963-8.468,2.791-13.516A18.22,18.22,0,0,0,8.17,46.858Z" transform="translate(0.001 0.009)" fill="%23ffffff" /></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-right: 0.3em;
}

@media (max-width: 768px) {

    .performance,
    .story {
        padding: 0.9rem;
        margin-bottom: 1rem;
    }
}



/* profile */
.profile ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile ul li {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 2px;
}

.profile ul li:nth-child(odd) {
    background-color: var(--color-main-light);
}

.profile ul li:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.8);
}

.profile ul li label {
    font-weight: normal;
    min-width: 7em;
    display: flex;
    align-items: center;
}

.profile ul li label::before {
    content: "";
    display: block;
    width: 1.1em;
    height: 1.1em;
    background-image: url('data: image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="88.917" height="97" viewBox="0 0 88.917 97"><path id="title-head-svg" d="M37.993,28.935c1.869,1.409,5.209,3.933,9.108,2.644,4.876-1.612,6.413-9.2,4.848-15.425C50.1,8.8,45.235-.132,35.936-.008c-1.49.7-2.981.9-3.967,2.057-6.762,7.93.72,22.884,6.023,26.884ZM71.782,41.716c13.3-2.638,8.363-29.531-5.436-29.529-4.732,1.917-6.545,2.546-8.08,7.639C55.359,29.47,62.133,43.63,71.782,41.716ZM15.516,42.3c2.5,1.516,7.056,3.43,10.724,1.616,3.912-1.935,4.873-8.391,2.938-13.222-2.8-6.984-8.92-15.393-18.657-15.278-1.72.705-3.141.726-4.407,1.763C3.939,18.961,3.4,23.728,4.351,27.319A24.242,24.242,0,0,0,15.516,42.3ZM88.088,59.2C85.4,51.473,79.449,48.544,71.341,46.27c-3.073-.862-6.332-1.177-8.814-2.644-5.321-3.145-7.885-8.853-16.454-8.814l-4.26.735a19.3,19.3,0,0,0-10.871,8.08c-4.325,7.137.928,12.661-.294,20.126q-1.615,7.785-3.232,15.572C26.031,88.005,33.5,95.665,40.049,96.806,50.431,98.613,56.19,86.671,61.792,82.7c8.291-5.873,22.273-4.285,26.443-14.4C89.336,65.637,88.965,61.719,88.088,59.2ZM8.17,46.858c-3.034,1.193-5.193,1.125-6.758,3.673-6.442,10.492,10.629,26.8,21.155,20.861,4.168-2.353,4.963-8.468,2.791-13.516A18.22,18.22,0,0,0,8.17,46.858Z" transform="translate(0.001 0.009)" fill="%23444" /></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-right: 0.4em;
}

.profile ul li .value {
    font-weight: bold;
    flex: 1;
}

@media (max-width: 768px) {
    .profile {
        margin-bottom: 1rem;
    }

    .profile ul li {
        gap: 0.8rem;
        padding: 0.6rem;
    }

}

/* クリエイター */
.creator {
    width: 100%;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.creator .creator_prof {
    width: calc(50% - 1rem);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.creator .creator_prof img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    display: block;
    margin-bottom: 0.5rem;
    border-radius: 999px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
}

.creator .creator_prof .name {
    font-weight: bold;
    font-size: 1rem;
    margin: 0;
    text-align: center;
}

.creator .creator_prof .role {
    font-size: 0.875rem;
    color: var(--color-text-light);
    display: block;
}

@media (max-width: 768px) {
    .creator {
        gap: 1rem;
        margin-bottom: 1rem;
    }
}

/* おすすめ動画 */
.recommendyoutube {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .recommendyoutube {
        margin-bottom: 1rem;
    }
}

/* 過去の実績 */
.perf-scroll-hint {
    text-align: right;
    margin-bottom: 0.4em;
}

.perf-scroll-hint span {
    font-size: 0.875rem;
    color: var(--color-text-light);
    padding: 0.3em 0.6em;
    background-color: #fffbcb;
    border-radius: 5px;
}

.performance-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.performance-table {
    width: 100%;
    border-collapse: separate;
    /* collapse → separate に変更 */
    border-spacing: 0 2px;
    /* 横0, 縦4px */
    font-size: 0.875rem;
}

.performance-table tr.odd {
    background-color: rgba(0, 0, 0, 0.03);
}

/** 背景をゴールドに強調 */
/* .performance-table tr.performance-bg-strong {
    background: linear-gradient(90deg, #e4c983 0%, #fff9e6 60%, #c2a763 100%);
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
} */

.performance-table tr.performance-bg-strong {
    background:
        linear-gradient(105deg,
            transparent 42%,
            rgba(255, 255, 255, 0.0) 44%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(255, 255, 255, 0.0) 56%,
            transparent 58%),
        linear-gradient(95deg, #e4c983 0%, #fff9e6 60%, #c2a763 100%);
    background-size: 300% 100%, 100% 100%;
    background-repeat: no-repeat;
    /* ← これが原因、追加 */
    background-position: -200% 0, 0 0;
    animation: shimmer-gold 2.8s linear infinite;
    position: relative;
}


@keyframes shimmer-gold {
    0% {
        background-position: 350% 0, 0 0;
    }

    55% {
        background-position: -200% 0, 0 0;
    }

    100% {
        background-position: -200% 0, 0 0;
    }
}

.performance-table tbody tr td:first-child {
    border-top-left-radius: 12px;
}

.performance-table tbody tr td:last-child {
    border-top-right-radius: 12px;
}

.performance-table tbody tr td:first-child {
    border-bottom-left-radius: 12px;
}

.performance-table tbody tr td:last-child {
    border-bottom-right-radius: 12px;
}

.performance-table th,
.performance-table td {
    padding: 0.4em;
    vertical-align: middle;
    /* 上下中央 */
}

.performance-table td:nth-child(1),
.performance-table td:nth-child(3),
.performance-table td:nth-child(7) {
    text-align: center;
    /* 左右中央 */
}

.perf-tab-buttons {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
    position: relative;
}

.perf-tab-buttons button {
    font-size: 0.875rem;
    position: relative;
    line-height: 1;
    padding: 0.5em;
    position: relative;
    overflow: hidden;
    transition: all 0.2s;
    z-index: 1;
    border-radius: 5px;
}

.perf-tab-buttons button:hover {
    background-color: #eee;
}

.perf-tab-buttons button.active {
    font-weight: bold;
    background-color: rgba(240, 234, 222, 0.4);
}




.perf-tab-panel {
    display: none;
}

.perf-tab-panel.active {
    display: block;
}

@media (max-width: 768px) {
    .performance-table {
        min-width: 970px;
    }
}

.perf-tab-btn.active {
    /* アクティブタブのスタイル */
}

.perf-mode-panel {
    display: none;
}

.perf-mode-panel.active {
    display: block;
}

.perf-tab-panel {
    display: none;
}

.perf-tab-panel.active {
    display: block;
}