@charset "euc-jp";

/* トーナメントページのcss
/* 試合途中経過と試合結果、トーナメント表の記述
/************************************************************/

/***** メインビジュアル *****/
.hero.is_tournament {
    margin-bottom: 50px;
}



/* 試合途中経過と試合結果
/* 命名が他と被るので基本.progressの子孫セレクタで指定する
/**************************************************/
.progress-list {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

/***** 個別の試合 *****/
.progress {
    position: relative;
    width: 600px;
    padding: 15px 15px 18px;
    border-radius: 20px 10px 20px 10px;
    border: 3px solid #fdff4c;
    background: linear-gradient(135deg, rgba(251,16,150,0.57), rgba(145,3,255,0.58) 50%, rgba(0,184,253,0.58) 95%);
    box-shadow: 0 4px 12px rgba(255,174,0,0.2);
}
.progress::before {
    content: "";
    position: absolute;
    inset: -3px;
    border: 1px solid transparent;
    border-radius: inherit;
    background:
        linear-gradient(transparent, transparent) padding-box,
        linear-gradient(to right, #ff108c, #bf14ff 50%, #00e4ff 95%) border-box;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.progress-title {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 30px;
    border: 1px solid transparent;
    border-radius: 12px 2px 12px 2px;
    background:
        linear-gradient(rgba(255,255,255,0.99), rgba(255,255,255,0.99)) padding-box,
        linear-gradient(to right, #fd6bed 4%, #a736ff 16%, #1e9af1 37%, #30c3ff 60%, #50c9a0 68%, #e0d968 87%, #ffb10a) border-box;
    text-align: center;
}
.progress-title__inner {
    display: inline-block;
    background: linear-gradient(90deg, #ff108c 0%, #bf14ff 50%, #00e4ff 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 14px;
    line-height: 27px;
    font-weight: bold;
}

.progress .performer-wrap {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 140px;
    margin-bottom: 10px;
}

.progress .performer {
    position: relative;
}

.progress .thumbnail {
    position: relative;
    display: block;
    z-index: 1;
    transition: all 0.1s linear;
}
.progress:not(.is_end) .thumbnail::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 2px;
    left: 4px;
    width: 91px;
    height: 32px;
    background: url("button_cheer_left.png") 0 0 no-repeat;
    background-size: 100%;
    z-index: 1;
    transition: all 0.1s linear;
}
.performer.is_right .thumbnail::before {
    left: initial;
    right: 4px;
    background-image: url("button_cheer_right.png");
}
.progress:not(.is_end) a.thumbnail:hover {
    transform: scale(1.008);
    filter: brightness(1.01);
}
.progress:not(.is_end) a.thumbnail:hover::before {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.progress .thumbnail__image {
    display: block;
    width: 186px;
    height: 140px;
    border-radius: 6px;
    filter: contrast(1.08) brightness(1.03) saturate(1.08);
}

.progress .name {
    position: absolute;
    top: 22px;
    right: -167px;
    width: 168px;
    height: 34px;
    line-height: 29px;
    padding-left: 8px;
    border: 1px solid #f7a7d4;
    border-radius: 0 6px 28px 0;
    background: #fff;
    font-style: italic;
    font-size: 18px;
    color: #fb1096;
    white-space: nowrap;
    letter-spacing: 0.08em;
    z-index: 0;
}
.progress .performer.is_right .name {
    top: initial;
    right: initial;
    bottom: 14px;
    left: -167px;
    text-align: right;
    padding-left: 0;
    padding-right: 8px;
    border: 1px solid #caecfa;
    border-radius: 28px 0 0 6px;
    color: #00b8fd;
}

.progress .versus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 19px;
    font-style: italic;
    color: #fff;
}


/***** 勝敗決定後 *****/
.progress .performer.is_loser .thumbnail::after,
.progress .performer.is_loser .name::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(13, 22, 26, 0.35);
    pointer-events: none;
    border-radius: inherit;
}
.progress .performer.is_loser .thumbnail::after {
    border-radius: 6px;
}
.progress .performer.is_loser .name::after {
    inset: -1px;
}



/********** せめぎ合うメーター ***********/
.meter {
    --left-fill: 0;
    --right-fill: 0;

    position: relative;
    width: 572px;
    height: 44px;
    border-radius: 21px 11px 21px 11px;
    border: 1px solid #fff;
    background:
        linear-gradient(
        90deg,
        #ff00b8 0%,
        #ff00b8 calc(var(--left-fill) * 1%),
        #fff calc(var(--left-fill) * 1%),
        #fff calc(100% - var(--right-fill) * 1%),
        #00e5ff calc(100% - var(--right-fill) * 1%),
        #00e5ff 100%
        );
    box-shadow:
        inset 0 0 22px rgba(255, 255, 255, 0.36),
        inset 0 -14px 24px rgba(0, 0, 0, 0.18),
        0 16px 38px rgba(0, 0, 0, 0.32);
}

.meter-tip {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 75px;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    opacity: 0;
    visibility: hidden;
}

/* 左メーターの先端：画像の右端をメーター先端に合わせる */
.meter-tip--left {
    left: calc(var(--left-fill) * 1%);
    transform: translate(-100%, -50%);
}

/* 右メーターの先端：画像の左端をメーター先端に合わせる */
.meter-tip--right {
    left: calc(100% - var(--right-fill) * 1%);
    transform: translate(0, -50%);
}

.meter.is-opening .meter-tip,
.meter.is-battling .meter-tip,
.meter.is-result-growing .meter-tip,
.meter.is-result .meter-tip {
    opacity: 1;
    visibility: visible;
    animation: tip-bachi 0.18s steps(2, end) infinite;
}

.meter.is-zeroing .meter-tip,
.meter.is-zero-hold .meter-tip {
    opacity: 0;
    visibility: hidden;
    animation: none;
}

.meter-stripes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.18) 0,
        rgba(255, 255, 255, 0.18) 1px,
        transparent 1px,
        transparent 4px
        );
    mix-blend-mode: screen;
    opacity: 0.42;
}

.meter .value {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 72px;
    height: 34px;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    border-radius: 17px 7px 17px 7px;
    background: transparent;
    color: #fb1096;
    font-size: 25px;
    font-style: italic;
    font-weight: 800;
    pointer-events: none;
    box-shadow: 0 1px 8px rgba(243,255,69,0.5) inset;
    font-family: "Noto Sans JP", sans-serif;
}
.meter .value::before {
    content: "";
    position: absolute;
    inset: -60%;
    z-index: 0;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 42deg,
        #ffb2d5 56deg,
        #ff80e3 70deg,
        transparent 84deg,
        transparent 220deg,
        #ffb2d5 236deg,
        #ff80e3 250deg,
        transparent 264deg,
        transparent 360deg
        );
    opacity: 0;
    transform: rotate(0deg);
}

.meter .value::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: 1;
    border-radius: 18px 7px 18px 7px;
    background: #fff;
}

.meter.is-battling .value::before {
    opacity: 1;
    animation: value-border-fast 0.22s linear infinite;
}

.meter.is-battling .value.right::before {
    animation-name: value-border-fast-reverse;
}

.meter .value.right {
    color: #00b8fd
}
.meter .value.lose {
    color: #aaa;
}

.meter.is-battling .value {
    animation: value-shake 0.16s infinite;
}

.meter .value.left {
    left: 5px;
}

.meter .value.right {
    right: 5px;
}

.meter .value.right::before {
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 42deg,
        #e0fffc 56deg,
        #7ff2ff 70deg,
        transparent 84deg,
        transparent 220deg,
        #e0fffc 236deg,
        #7ff2ff 250deg,
        transparent 264deg,
        transparent 360deg
        );
}

.meter.is-battling .value.right {
    animation-delay: -0.08s;
}

.meter.is-zeroing .value {
    animation: value-zero-out 0.65s cubic-bezier(.22, .61, .36, 1) forwards;
}

.meter.is-zero-hold .value {
    transform: translateY(-50%) scale(0.86);
}

.meter.is-result {
    animation: meter-result-burst 0.42s cubic-bezier(.18, .89, .32, 1.28);
}

.meter.is-result .value {
    animation: value-result-pop 0.42s cubic-bezier(.18, .89, .32, 1.28);
}

.meter.is-result .value::before {
    opacity: 1;
    animation: value-border-fast 0.22s linear infinite;
}

.meter.is-result .value.right::before {
    animation-name: value-border-fast-reverse;
}

.meter.is-result-growing .value::before {
    opacity: 1;
    animation: value-border-fast 0.22s linear infinite;
}

.meter.is-result-growing .value.right::before {
    animation-name: value-border-fast-reverse;
}

.meter .value span {
    position: relative;
    z-index: 2;
    line-height: 30px;
    color: inherit;
}

.meter .value__percent {
    padding-left: 2px;
    font-size: 20px;
}

.result-confetti {
    position: absolute;
    left: calc(50% - 13px);
    top: calc(50% - 13px);
    z-index: 10;
    width: 620px;
    height: 268px;
    object-fit: contain;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;

    /* GPUレイヤー化 */
    transform: translate3d(-50%, -50%, 0);
    backface-visibility: hidden;
}

.progress.is-confetti-show .result-confetti {
    opacity: 1;
    visibility: visible;
}

@keyframes tip-bachi {
    0% {
        opacity: 0.75;
        filter: brightness(1.05);
    }
    50% {
        opacity: 1;
        filter: brightness(1.35);
    }
    100% {
        opacity: 0.88;
        filter: brightness(1.12);
    }
}

@keyframes value-zero-out {
    0% {
        transform: translateY(-50%) scale(1);
    }
    35% {
        transform: translateY(-50%) scale(1.12);
    }
    100% {
        transform: translateY(-50%) scale(0.86);
    }
}

@keyframes meter-result-burst {
    0% {
        transform: scaleX(0.96) scaleY(0.84);
        filter: brightness(2.4);
    }
    42% {
        transform: scaleX(1.04) scaleY(1.16);
        filter: brightness(2.7);
    }
    100% {
        transform: scaleX(1) scaleY(1);
        filter: brightness(1);
    }
}

@keyframes value-result-pop {
    0% {
        transform: translateY(-50%) scale(0.52);
        opacity: 0;
    }
    45% {
        transform: translateY(-50%) scale(1.28);
        opacity: 1;
    }
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}

@keyframes value-border-fast {
    to {
        transform: rotate(360deg);
    }
}

@keyframes value-border-fast-reverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes value-shake {
    0% {
        transform: translateY(-50%) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-50%) translateX(-1.5px) rotate(-1deg);
    }
    50% {
        transform: translateY(-50%) translateX(1.5px) rotate(1deg);
    }
    75% {
        transform: translateY(-50%) translateX(-1px) rotate(0.6deg);
    }
    100% {
        transform: translateY(-50%) translateX(0) rotate(0deg);
    }
}


@keyframes meter-rattle {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    20% {
        transform: translate3d(-1px, 0.5px, 0) rotate(-0.35deg);
    }
    40% {
        transform: translate3d(1.25px, -0.75px, 0) rotate(0.35deg);
    }
    60% {
        transform: translate3d(-0.75px, 1px, 0) rotate(-0.2deg);
    }
    80% {
        transform: translate3d(1px, 0.25px, 0) rotate(0.25deg);
    }
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
}

.meter.is-battling-hard {
    animation: meter-rattle 0.12s steps(2, end) infinite;
    transform-origin: 50% 50%;
    will-change: transform;
}





/* トーナメント部分
/* 命名が他と被るので基本全部.tournamentの子孫セレクタで指定する
/**************************************************/
.tournament {
    position: relative;
    display: flex;
    width: 1220px;
    height: 454px;
    margin: 10px auto 30px;
    padding-top: 55px;
}

/* アニメーション開始タイミングのための位置監視用要素 */
.tournament-position {
    position: absolute;
    top: 10%; /* 適当 */
    left: 50%;
    width: 1px;
    height: 1px;
}



/***** ラウンド *****/
.tournament .round {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    width: 180px;
}
.tournament .round.is_right {
    align-items: flex-end;
}
.tournament .round-quarterfinal {
    gap: 86px;
}
.tournament .round-semifinal {
    gap: 206px;
    width: 160px;
}
.tournament .round-final {
    position: relative;
    left: -70px;
    z-index: 3;
}

/* ラウンド名と開催時間 */
.tournament .round-schedule {
    position: absolute;
    width: 140px;
    text-align: center;
}
.tournament .round-best16 .round-schedule       { top: -80px; }
.tournament .round-quarterfinal .round-schedule { top: -50px; }
.tournament .round-semifinal .round-schedule    { top: 10px; }
.tournament .round-final .round-schedule {
    top: calc(50% + 20px);
    left: 50%;
}

.tournament .round-schedule__title {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 2px;
}
.tournament .round-schedule__date {
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    white-space: nowrap;
}



/***** 各試合 *****/
.tournament .match {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: inherit;
    height: 94px;
}
.tournament .round-quarterfinal .match {
    gap: inherit;
    height: 154px;
}
.tournament .round-semifinal .match {
    gap: inherit;
    height: 274px;
}
.tournament .round-final .match {
    flex-direction: row;
    gap: 40px;
    width: 320px;
    height: 34px;
}



/***** 各女性 *****/
.tournament .performer,
.tournament .performer-fixed {
    position: relative;
    box-sizing: border-box;
    width: 140px;
    height: 34px;
    border: 1px solid transparent;
    background:
        linear-gradient(#fff,#fff) padding-box,
        linear-gradient(to right, #ff108c, #bf14ff 50%, #00e4ff 95%) border-box;
    pointer-events: none;
    border-radius: 17px;
    transition: all 0.2s linear 1s;
}
.tournament .performer-fixed {
    background: #fff;
    border: 1px solid #ffd8ff;
}

/*** .performer-progress 動かすやつ 絶対配置で被せる***/
.tournament .performer-progress {
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: 0 0 12px rgba(255,0,198,0.15);
    z-index: 10;
}
.tournament .performer-progress.is_winner {
    z-index: 12;
}
.tournament .performer-progress.is_loser {
    z-index: 3;
}
.tournament .performer-progress.is_champion {
    z-index: 13;
}

.tournament .performer.is_bottom {
    top: initial;
    bottom: 0;
}
.tournament .round-final .performer.is_bottom {
    top: initial;
    bottom: 0;
}

.tournament .thumbnail {
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
}
.tournament .thumbnail__image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 53px;
    height: 40px;
}
.tournament .name {
    height: 34px;
    padding: 8px 0 12px 41px;
    font-size: 13px;
    line-height: 1;
    font-weight: bold;
    transition: all 0.2s linear 1s;
}
/* 右側 */
.tournament .round.is_right .thumbnail,
.tournament .round-final .performer-fixed.is_bottom .thumbnail {
    left: initial;
    right: -2px;
}
.tournament .round.is_right .name,
.tournament .round-final .performer-fixed.is_bottom .name {
    padding: 8px 41px 12px 10px;
}

/*** 予選ランク ***/
.tournament .qualifier-rank {
    position: relative;
    bottom: 8px;
    right: -3px;
    z-index: 11;
    width: 6.2em;
    margin: 0 auto;
    padding: 2px 0;
    border-radius: 6px 3px 6px 3px;
    border: 1px solid transparent;
    background:
        linear-gradient(to right, #fff3f9, #fcf3ff 50%, #f2feff 95%) padding-box,
        linear-gradient(to right, #ffb2d9, #ecb2ff 50%, #b2f9ff 95%) border-box;
    line-height: 1;
    text-align: center;
    font-weight: bold;
    font-size: 10px;
    white-space: nowrap;
    letter-spacing: 0.02em;
    transition: all 0.2s linear 1s;
}
.tournament .round.is_right .qualifier-rank {
    right: initial;
    left: -28px;
    border-radius: 3px 6px 3px 6px;
}

/*** 線の周りの結果の% ***/
.tournament .result {
    position: absolute;
    left: 140px;
    top: -3px;
    width: 40px;
    height: 1em;
    line-height: 1;
    text-align: center;
    font-weight: bold;
    opacity: 0;
    transition: all 0.2s linear 1s;
}
.tournament .performer-fixed.is_bottom .result {
    top: initial;
    bottom: -3px;
}
.tournament .round-final .performer-fixed .result {
    left: 103px;
    top: initial;
    bottom: -15px;
}
.tournament .round-final .performer-fixed.is_bottom .result {
    left: -3px;
}
/* 右側 */
.tournament .round.is_right .result {
    left: initial;
    right: 140px;
}



.tournament .tournament-trophy {
    display: block;
    position: absolute;
    width: 60px;
    top: -5px;
    left: 50%;
    transform: translateX(56%);
    z-index: 3;
}



/***** 線の表現 *****/

/*** ベース(ベスト16左側) ***/
/* はじめの横の線 */
.tournament .performer-fixed__inner {
    position: relative;
}
.tournament .performer-fixed::before,
.tournament .performer-fixed::after,
.tournament .performer-fixed__inner::before {
    content: "";
    display: block;
    position: absolute;
    top: calc(34px / 2 - 1px); /* 1pxは線2pxの半分*/
        right: -21px;
    width: 20px;
    height: 2px;
    background: #51527a;
    transition: all 0.2s linear 1s;
}
/* はじめの線 */
.tournament .performer-fixed::before {
}
/* 縦の線 */
.tournament .performer-fixed::after {
    width: 2px;
    height: 32px;
}
/* さいごの横の線 */
.tournament .performer-fixed__inner::before {
    top: calc(34px / 2 - 1px + 30px);
    right: calc(-21px - 20px);
}
/** 下のパフォーマー **/
/* 縦の線も横の線も同じ位置から */
.tournament .performer-fixed.is_bottom::after,
.tournament .performer-fixed.is_bottom .performer-fixed__inner::before {
    top: calc(34px / 2 - 1px - 30px);
}

/*** 右側 ***/
/* はじめの横の線 */
.tournament .round.is_right .performer-fixed::before,
.tournament .round.is_right .performer-fixed::after,
.tournament .round.is_right .performer-fixed__inner::before {
    right: initial;
    left: -21px;
}
/* さいごの横の線 */
.tournament .round.is_right .performer-fixed__inner::before {
    left: calc(-21px - 20px);
}



/*** 準々決勝 ***/
/* 縦の線 */
.tournament .round-quarterfinal .performer-fixed::after {
    height: 62px;
}
/* さいごの横の線 */
.tournament .round-quarterfinal .performer-fixed__inner::before {
    top: calc(34px / 2 - 1px + 60px);
}
/** 下のパフォーマー **/
/* 縦の線も横の線も同じ位置から */
.tournament .round-quarterfinal .performer-fixed.is_bottom::after,
.tournament .round-quarterfinal .performer-fixed.is_bottom .performer-fixed__inner::before {
    top: calc(34px / 2 - 1px - 60px);
}

/*** 準決勝 ***/
/* 縦の線 */
.tournament .round-semifinal .performer-fixed::after {
    height: 122px;
}
/* さいごの横の線 */
.round-semifinal .performer-fixed__inner::before {
    top: calc(34px / 2 - 1px + 120px);
}
/** 下のパフォーマー **/
/* 縦の線も横の線も同じ位置から */
.tournament .round-semifinal .performer-fixed.is_bottom::after,
.tournament .round-semifinal .performer-fixed.is_bottom .performer-fixed__inner::before {
    top: calc(34px / 2 - 1px - 120px);
}

/* 準決勝と決勝はさいごの横の線がない*/
.tournament .round-semifinal .performer-fixed__inner::before,
.tournament .round-final .performer-fixed__inner::before {
    content: none;
}

/*** 決勝 ***/
.tournament .round-final .performer-fixed::after {
    height: 50px;
    top: calc(34px / 2 - 1px - 48px);
    right: -22px;
}
/* 右(bottom)側 */
.tournament .round-final .performer-fixed.is_bottom::before {
    right: initial;
    left: -21px;
}
.tournament .round-final .performer-fixed.is_bottom::after {
    right: initial;
    left: -22px;
}



/***** 勝ち負けの表現 *****/
.tournament .performer-fixed.is_winner {
    border: 1px solid #ff3fa1;
    background: #ffeef7;
}
.tournament .performer-fixed.is_winner .name {
    color: #ff3fa1;
}
.tournament .performer-fixed.is_winner::before,
.tournament .performer-fixed.is_winner::after,
.tournament .performer-fixed.is_winner .performer-fixed__inner::before {
    background: #ff3fa1;
    z-index: 2;
}

.tournament .performer.is_loser,
.tournament .performer-fixed.is_loser {
    border: 1px solid #ccc;
    background: #ddd;
    box-shadow: none;
}
.tournament .performer.is_loser .name,
.tournament .performer-fixed.is_loser .name {
    color: #999;
}
.tournament .performer-fixed.is_loser::before,
.tournament .performer-fixed.is_loser::after,
.tournament .performer-fixed.is_loser .performer-fixed__inner::before {
    background: #cbc4c7;
}

.tournament .performer-fixed.is_loser .qualifier-rank {
    color: #999;
    border: 1px solid #ccc;
    background:
        linear-gradient(to right, #fff3f9, #fcf3ff 50%, #f2feff 95%) padding-box,
        linear-gradient(to right, #ddd, #ddd 50%, #ddd 95%) border-box;
}
.tournament .performer-fixed.is_winner .result {
    color: #ff3fa1;
    opacity: 1;
}
.tournament .performer-fixed.is_loser .result {
    color: #cbc4c7;
    opacity: 1;
}





/***** 選手を動かす表現 *****/
/* 動かす方法はclass付与とtransform */

/* 準々決勝へ */
@keyframes win-best16-move-down_left {
    0% {
        transform: translate(0, 0);
    }
    33.33% {
        transform: translate(140px, 0);
    }
    66.66% {
        transform: translate(140px, 30px);
    }
    100% {
        transform: translate(180px, 30px);
    }
}
@keyframes win-best16-move-up_left {
    0% {
        transform: translate(0, 0);
    }
    33.33% {
        transform: translate(140px, 0);
    }
    66.66% {
        transform: translate(140px, -30px);
    }
    100% {
        transform: translate(180px, -30px);
    }
}
@keyframes win-best16-move-down_right {
    0% {
        transform: translate(0, 0);
    }
    33.33% {
        transform: translate(-40px, 0);
    }
    66.66% {
        transform: translate(-40px, 30px);
    }
    100% {
        transform: translate(-180px, 30px);
    }
}
@keyframes win-best16-move-up_right {
    0% {
        transform: translate(0, 0);
    }
    33.33% {
        transform: translate(-40px, 0);
    }
    66.66% {
        transform: translate(-40px, -30px);
    }
    100% {
        transform: translate(-180px, -30px);
    }
}
.match-01 .performer.is_top.win-best16,
.match-02 .performer.is_top.win-best16,
.match-03 .performer.is_top.win-best16,
.match-04 .performer.is_top.win-best16 {
    animation: win-best16-move-down_left 3s linear forwards;
}
.match-01 .performer.is_bottom.win-best16,
.match-02 .performer.is_bottom.win-best16,
.match-03 .performer.is_bottom.win-best16,
.match-04 .performer.is_bottom.win-best16 {
    animation: win-best16-move-up_left 3s linear forwards;
}
.match-05 .performer.is_top.win-best16,
.match-06 .performer.is_top.win-best16,
.match-07 .performer.is_top.win-best16,
.match-08 .performer.is_top.win-best16 {
    animation: win-best16-move-down_right 3s linear forwards;
}
.match-05 .performer.is_bottom.win-best16,
.match-06 .performer.is_bottom.win-best16,
.match-07 .performer.is_bottom.win-best16,
.match-08 .performer.is_bottom.win-best16 {
    animation: win-best16-move-up_right 3s linear forwards;
}

/* 準決勝へ */
/* 4パターンを左右 */
@keyframes win-quarterfinal-move-down_left_match-01_performer-01 {
    0% {
        transform: translate(180px, 30px);
    }
    33.33% {
        transform: translate(320px, 30px);
    }
    66.66% {
        transform: translate(320px, 90px);
    }
    100% {
        transform: translate(360px, 90px);
    }
}
@keyframes win-quarterfinal-move-down_left_match-01_performer-02 {
    0% {
        transform: translate(180px, -30px);
    }
    33.33% {
        transform: translate(320px, -30px);
    }
    66.66% {
        transform: translate(320px, 30px);
    }
    100% {
        transform: translate(360px, 30px);
    }
}
@keyframes win-quarterfinal-move-up_left_match-02_performer-03 {
    0% {
        transform: translate(180px, 30px);
    }
    33.33% {
        transform: translate(320px, 30px);
    }
    66.66% {
        transform: translate(320px, -30px);
    }
    100% {
        transform: translate(360px, -30px);
    }
}
@keyframes win-quarterfinal-move-up_left_match-02_performer-04 {
    0% {
        transform: translate(180px, -30px);
    }
    33.33% {
        transform: translate(320px, -30px);
    }
    66.66% {
        transform: translate(320px, -90px);
    }
    100% {
        transform: translate(360px, -90px);
    }
}
@keyframes win-quarterfinal-move-down_right_match-05_performer-09 {
    0% {
        transform: translate(-180px, 30px);
    }
    33.33% {
        transform: translate(-320px, 30px);
    }
    66.66% {
        transform: translate(-320px, 90px);
    }
    100% {
        transform: translate(-360px, 90px);
    }
}
@keyframes win-quarterfinal-move-down_right_match-05_performer-10 {
    0% {
        transform: translate(-180px, -30px);
    }
    33.33% {
        transform: translate(-320px, -30px);
    }
    66.66% {
        transform: translate(-320px, 30px);
    }
    100% {
        transform: translate(-360px, 30px);
    }
}
@keyframes win-quarterfinal-move-up_right_match-06_performer-11 {
    0% {
        transform: translate(-180px, 30px);
    }
    33.33% {
        transform: translate(-320px, 30px);
    }
    66.66% {
        transform: translate(-320px, -30px);
    }
    100% {
        transform: translate(-360px, -30px);
    }
}
@keyframes win-quarterfinal-move-up_right_match-06_performer-12 {
    0% {
        transform: translate(-180px, -30px);
    }
    33.33% {
        transform: translate(-320px, -30px);
    }
    66.66% {
        transform: translate(-320px, -90px);
    }
    100% {
        transform: translate(-360px, -90px);
    }
}

/* 下→下 */
.performer-01.performer-progress.win-best16.win-quarterfinal,
.performer-05.performer-progress.win-best16.win-quarterfinal {
    animation: win-quarterfinal-move-down_left_match-01_performer-01 3s linear forwards;
}
/* 上→下 */
.performer-02.performer-progress.win-best16.win-quarterfinal,
.performer-06.performer-progress.win-best16.win-quarterfinal {
    animation: win-quarterfinal-move-down_left_match-01_performer-02 3s linear forwards;
}
/* 下→上 */
.performer-03.performer-progress.win-best16.win-quarterfinal,
.performer-07.performer-progress.win-best16.win-quarterfinal {
    animation: win-quarterfinal-move-up_left_match-02_performer-03 3s linear forwards;
}
/* 上→上 */
.performer-04.performer-progress.win-best16.win-quarterfinal,
.performer-08.performer-progress.win-best16.win-quarterfinal {
    animation: win-quarterfinal-move-up_left_match-02_performer-04 3s linear forwards;
}
/* 下→下 */
.performer-09.performer-progress.win-best16.win-quarterfinal,
.performer-13.performer-progress.win-best16.win-quarterfinal {
    animation: win-quarterfinal-move-down_right_match-05_performer-09 3s linear forwards;
}
/* 上→下 */
.performer-10.performer-progress.win-best16.win-quarterfinal,
.performer-14.performer-progress.win-best16.win-quarterfinal {
    animation: win-quarterfinal-move-down_right_match-05_performer-10 3s linear forwards;
}
/* 下→上 */
.performer-11.performer-progress.win-best16.win-quarterfinal,
.performer-15.performer-progress.win-best16.win-quarterfinal {
    animation: win-quarterfinal-move-up_right_match-06_performer-11 3s linear forwards;
}
/* 上→上 */
.performer-12.performer-progress.win-best16.win-quarterfinal,
.performer-16.performer-progress.win-best16.win-quarterfinal {
    animation: win-quarterfinal-move-up_right_match-06_performer-12 3s linear forwards;
}

/* 決勝へ */
/* 全部必要 */
@keyframes win-semifinal_performer-01 {
    0% {
        transform: translate(360px, 90px);
    }
    50% {
        transform: translate(450px, 90px);
    }
    100% {
        transform: translate(450px, 210px);
    }
}
@keyframes win-semifinal_performer-02 {
    0% {
        transform: translate(360px, 30px);
    }
    50% {
        transform: translate(450px, 30px);
    }
    100% {
        transform: translate(450px, 150px);
    }
}
@keyframes win-semifinal_performer-03 {
    0% {
        transform: translate(360px, -30px);
    }
    50% {
        transform: translate(450px, -30px);
    }
    100% {
        transform: translate(450px, 90px);
    }
}
@keyframes win-semifinal_performer-04 {
    0% {
        transform: translate(360px, -90px);
    }
    50% {
        transform: translate(450px, -90px);
    }
    100% {
        transform: translate(450px, 30px);
    }
}
@keyframes win-semifinal_performer-05 {
    0% {
        transform: translate(360px, 90px);
    }
    50% {
        transform: translate(450px, 90px);
    }
    100% {
        transform: translate(450px, -30px);
    }
}
@keyframes win-semifinal_performer-06 {
    0% {
        transform: translate(360px, 30px);
    }
    50% {
        transform: translate(450px, 30px);
    }
    100% {
        transform: translate(450px, -90px);
    }
}
@keyframes win-semifinal_performer-07 {
    0% {
        transform: translate(360px, -30px);
    }
    50% {
        transform: translate(450px, -30px);
    }
    100% {
        transform: translate(450px, -150px);
    }
}
@keyframes win-semifinal_performer-08 {
    0% {
        transform: translate(360px, -90px);
    }
    50% {
        transform: translate(450px, -90px);
    }
    100% {
        transform: translate(450px, -210px);
    }
}
@keyframes win-semifinal_performer-09 {
    0% {
        transform: translate(-360px, 90px);
    }
    50% {
        transform: translate(-450px, 90px);
    }
    100% {
        transform: translate(-450px, 210px);
    }
}
@keyframes win-semifinal_performer-10 {
    0% {
        transform: translate(-360px, 30px);
    }
    50% {
        transform: translate(-450px, 30px);
    }
    100% {
        transform: translate(-450px, 150px);
    }
}
@keyframes win-semifinal_performer-11 {
    0% {
        transform: translate(-360px, -30px);
    }
    50% {
        transform: translate(-450px, -30px);
    }
    100% {
        transform: translate(-450px, 90px);
    }
}
@keyframes win-semifinal_performer-12 {
    0% {
        transform: translate(-360px, -90px);
    }
    50% {
        transform: translate(-450px, -90px);
    }
    100% {
        transform: translate(-450px, 30px);
    }
}
@keyframes win-semifinal_performer-13 {
    0% {
        transform: translate(-360px, 90px);
    }
    50% {
        transform: translate(-450px, 90px);
    }
    100% {
        transform: translate(-450px, -30px);
    }
}
@keyframes win-semifinal_performer-14 {
    0% {
        transform: translate(-360px, 30px);
    }
    50% {
        transform: translate(-450px, 30px);
    }
    100% {
        transform: translate(-450px, -90px);
    }
}
@keyframes win-semifinal_performer-15 {
    0% {
        transform: translate(-360px, -30px);
    }
    50% {
        transform: translate(-450px, -30px);
    }
    100% {
        transform: translate(-450px, -150px);
    }
}
@keyframes win-semifinal_performer-16 {
    0% {
        transform: translate(-360px, -90px);
    }
    50% {
        transform: translate(-450px, -90px);
    }
    100% {
        transform: translate(-450px, -210px);
    }
}

.performer-01.performer-progress.win-best16.win-quarterfinal.win-semifinal {
    animation: win-semifinal_performer-01 3s linear forwards;
}
.performer-02.performer-progress.win-best16.win-quarterfinal.win-semifinal {
    animation: win-semifinal_performer-02 3s linear forwards;
}
.performer-03.performer-progress.win-best16.win-quarterfinal.win-semifinal {
    animation: win-semifinal_performer-03 3s linear forwards;
}
.performer-04.performer-progress.win-best16.win-quarterfinal.win-semifinal {
    animation: win-semifinal_performer-04 3s linear forwards;
}
.performer-05.performer-progress.win-best16.win-quarterfinal.win-semifinal {
    animation: win-semifinal_performer-05 3s linear forwards;
}
.performer-06.performer-progress.win-best16.win-quarterfinal.win-semifinal {
    animation: win-semifinal_performer-06 3s linear forwards;
}
.performer-07.performer-progress.win-best16.win-quarterfinal.win-semifinal {
    animation: win-semifinal_performer-07 3s linear forwards;
}
.performer-08.performer-progress.win-best16.win-quarterfinal.win-semifinal {
    animation: win-semifinal_performer-08 3s linear forwards;
}
.performer-09.performer-progress.win-best16.win-quarterfinal.win-semifinal {
    animation: win-semifinal_performer-09 3s linear forwards;
}
.performer-10.performer-progress.win-best16.win-quarterfinal.win-semifinal {
    animation: win-semifinal_performer-10 3s linear forwards;
}
.performer-11.performer-progress.win-best16.win-quarterfinal.win-semifinal {
    animation: win-semifinal_performer-11 3s linear forwards;
}
.performer-12.performer-progress.win-best16.win-quarterfinal.win-semifinal {
    animation: win-semifinal_performer-12 3s linear forwards;
}
.performer-13.performer-progress.win-best16.win-quarterfinal.win-semifinal {
    animation: win-semifinal_performer-13 3s linear forwards;
}
.performer-14.performer-progress.win-best16.win-quarterfinal.win-semifinal {
    animation: win-semifinal_performer-14 3s linear forwards;
}
.performer-15.performer-progress.win-best16.win-quarterfinal.win-semifinal {
    animation: win-semifinal_performer-15 3s linear forwards;
}
.performer-16.performer-progress.win-best16.win-quarterfinal.win-semifinal {
    animation: win-semifinal_performer-16 3s linear forwards;
}



/* 優勝へ */
@keyframes win-final_performer-01 {
    0% {
        transform: translate(450px, 210px);
    }
    50% {
        transform: translate(540px, 210px);
    }
    100% {
        transform: translate(540px, 145px);
    }
}
@keyframes win-final_performer-02 {
    0% {
        transform: translate(450px, 150px);
    }
    50% {
        transform: translate(540px, 150px);
    }
    100% {
        transform: translate(540px, 85px);
    }
}
@keyframes win-final_performer-03 {
    0% {
        transform: translate(450px, 90px);
    }
    50% {
        transform: translate(540px, 90px);
    }
    100% {
        transform: translate(540px, 25px);
    }
}
@keyframes win-final_performer-04 {
    0% {
        transform: translate(450px, 30px);
    }
    50% {
        transform: translate(540px, 30px);
    }
    100% {
        transform: translate(540px, -35px);
    }
}
@keyframes win-final_performer-05 {
    0% {
        transform: translate(450px, -30px);
    }
    50% {
        transform: translate(540px, -30px);
    }
    100% {
        transform: translate(540px, -95px);
    }
}
@keyframes win-final_performer-06 {
    0% {
        transform: translate(450px, -90px);
    }
    50% {
        transform: translate(540px, -90px);
    }
    100% {
        transform: translate(540px, -155px);
    }
}
@keyframes win-final_performer-07 {
    0% {
        transform: translate(450px, -150px);
    }
    50% {
        transform: translate(540px, -150px);
    }
    100% {
        transform: translate(540px, -215px);
    }
}
@keyframes win-final_performer-08 {
    0% {
        transform: translate(450px, -210px);
    }
    50% {
        transform: translate(540px, -210px);
    }
    100% {
        transform: translate(540px, -275px);
    }
}
@keyframes win-final_performer-09 {
    0% {
        transform: translate(-450px, 210px);
    }
    50% {
        transform: translate(-540px, 210px);
    }
    100% {
        transform: translate(-540px, 145px);
    }
}
@keyframes win-final_performer-10 {
    0% {
        transform: translate(-450px, 150px);
    }
    50% {
        transform: translate(-540px, 150px);
    }
    100% {
        transform: translate(-540px, 85px);
    }
}
@keyframes win-final_performer-11 {
    0% {
        transform: translate(-450px, 90px);
    }
    50% {
        transform: translate(-540px, 90px);
    }
    100% {
        transform: translate(-540px, 25px);
    }
}
@keyframes win-final_performer-12 {
    0% {
        transform: translate(-450px, 30px);
    }
    50% {
        transform: translate(-540px, 30px);
    }
    100% {
        transform: translate(-540px, -35px);
    }
}
@keyframes win-final_performer-13 {
    0% {
        transform: translate(-450px, -30px);
    }
    50% {
        transform: translate(-540px, -30px);
    }
    100% {
        transform: translate(-540px, -95px);
    }
}
@keyframes win-final_performer-14 {
    0% {
        transform: translate(-450px, -90px);
    }
    50% {
        transform: translate(-540px, -90px);
    }
    100% {
        transform: translate(-540px, -155px);
    }
}
@keyframes win-final_performer-15 {
    0% {
        transform: translate(-450px, -150px);
    }
    50% {
        transform: translate(-540px, -150px);
    }
    100% {
        transform: translate(-540px, -215px);
    }
}
@keyframes win-final_performer-16 {
    0% {
        transform: translate(-450px, -210px);
    }
    50% {
        transform: translate(-540px, -210px);
    }
    100% {
        transform: translate(-540px, -275px);
    }
}

.performer-01.performer-progress.win-best16.win-quarterfinal.win-semifinal.win-final {
    animation: win-final_performer-01 3s linear forwards;
}
.performer-02.performer-progress.win-best16.win-quarterfinal.win-semifinal.win-final {
    animation: win-final_performer-02 3s linear forwards;
}
.performer-03.performer-progress.win-best16.win-quarterfinal.win-semifinal.win-final {
    animation: win-final_performer-03 3s linear forwards;
}
.performer-04.performer-progress.win-best16.win-quarterfinal.win-semifinal.win-final {
    animation: win-final_performer-04 3s linear forwards;
}
.performer-05.performer-progress.win-best16.win-quarterfinal.win-semifinal.win-final {
    animation: win-final_performer-05 3s linear forwards;
}
.performer-06.performer-progress.win-best16.win-quarterfinal.win-semifinal.win-final {
    animation: win-final_performer-06 3s linear forwards;
}
.performer-07.performer-progress.win-best16.win-quarterfinal.win-semifinal.win-final {
    animation: win-final_performer-07 3s linear forwards;
}
.performer-08.performer-progress.win-best16.win-quarterfinal.win-semifinal.win-final {
    animation: win-final_performer-08 3s linear forwards;
}
.performer-09.performer-progress.win-best16.win-quarterfinal.win-semifinal.win-final {
    animation: win-final_performer-09 3s linear forwards;
}
.performer-10.performer-progress.win-best16.win-quarterfinal.win-semifinal.win-final {
    animation: win-final_performer-10 3s linear forwards;
}
.performer-11.performer-progress.win-best16.win-quarterfinal.win-semifinal.win-final {
    animation: win-final_performer-11 3s linear forwards;
}
.performer-12.performer-progress.win-best16.win-quarterfinal.win-semifinal.win-final {
    animation: win-final_performer-12 3s linear forwards;
}
.performer-13.performer-progress.win-best16.win-quarterfinal.win-semifinal.win-final {
    animation: win-final_performer-13 3s linear forwards;
}
.performer-14.performer-progress.win-best16.win-quarterfinal.win-semifinal.win-final {
    animation: win-final_performer-14 3s linear forwards;
}
.performer-15.performer-progress.win-best16.win-quarterfinal.win-semifinal.win-final {
    animation: win-final_performer-15 3s linear forwards;
}
.performer-16.performer-progress.win-best16.win-quarterfinal.win-semifinal.win-final {
    animation: win-final_performer-16 3s linear forwards;
}





/* 結果発表ダイアログ部分
/* 命名が他と被るので基本全部.tournamentの子孫セレクタで指定する
/**************************************************/
.dialog {
    position: fixed;
    display: none;
    inset: 0;
    width: 100%;
    height: 100dvh;
    padding: 90px 0 30px;
    overflow-y: auto;
    z-index: 100;
}
.dialog.is_open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dialog .section {
    width: 1280px;
    min-width: 1280px;
    max-height: none;
    margin: auto;
    z-index: 101;
}


.dialog-close {
    position: absolute;
    top: -80px;
    right: -5px;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background 0.1s linear;
    z-index: 101;
}

.dialog-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.dialog-close::before,
.dialog-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transform-origin: center;
}

.dialog-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.dialog-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.dialog-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25,14,31,0.75);
    z-index: 100;
}

.dialog-inner {
    max-height: calc(100dvh - 220px);
    overflow-y: auto;
    padding-right: 10px;
}
