/* ============================
全画面オーバーレイ
============================ */
#main.dreams .gacha-overlay {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100svh - 96px);
    z-index: 99;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow: hidden;
}
/* ============================
背景（パララックス）
============================ */
#main.dreams .gacha-overlay__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 125%;
    background: url("/recruit/dreams/images/rn02/dreams_bg.webp") center center / cover no-repeat;
    z-index: 1;
    will-change: transform;
    transition: transform 1.4s ease-out;
}
#main.dreams .gacha-overlay__bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}
/* ============================
「」ブラケット
============================ */
#main.dreams .gacha-overlay__bracket {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 860px;
    height: 100%;
    max-height: 496px;
    z-index: 2;
    pointer-events: none;
}
#main.dreams .gacha-overlay__bracket::before,
#main.dreams .gacha-overlay__bracket::after {
    content: "";
    position: absolute;
    background: url(/recruit/dreams/images/rn02/dream_bracket.svg) center center / contain no-repeat;
    width: 153px;
    height: 151px;
}
#main.dreams .gacha-overlay__bracket::before {
    bottom: 0;
    left: 0;
}
#main.dreams .gacha-overlay__bracket::after {
    top: 0;
    right: 0;
    transform: rotate(180deg);
}
/* ============================
インジケーター（ピル型バー）+ SCROLL
============================ */
#main.dreams .gacha-indicator-wrap {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    display: flex;
    flex-direction: row;       /* column → row（横並び） */
    align-items: center;
    gap: 19px;
    overflow: visible;
    height: 80%;
}
#main.dreams .gacha-indicator-wrap > span {
    writing-mode: vertical-rl;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 900;
    font-size: 12px;
    line-height: 120%;
    color: #FFFFFF;
}
#main.dreams .gacha-indicator {
    position: relative;
    width: 11px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible;
}
#main.dreams .gacha-indicator::before {
    content:"";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    height: 100%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}
#main.dreams .gacha-indicator__bar {
    border-radius: 1px;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    margin-inline: auto;
    transition:
        width 1.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        height 1.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        background 1.4s ease,
        opacity 0.4s ease;
}
#main.dreams .gacha-indicator__bar.is-active {
    width: 11px;
    height: 11px;
    background: #FA0046;
}
/* 追加 */
#main.dreams .gacha-indicator__inner {
    display: flex;
    flex-direction: column;
    gap: 52px;
    transition: transform 1.4s cubic-bezier(0.33, 1, 0.68, 1);
    will-change: transform;
}
/* ============================
スクロールテキストエリア
============================ */
#main.dreams .gacha-overlay__scroll {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 3;
}
#main.dreams .gacha-overlay__track {
    display: flex;
    flex-direction: column;
    will-change: transform;
}
#main.dreams .gacha-dream-item {
    width: 100%;
    height: calc(100svh - 96px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 2.8s ease;
}
#main.dreams .gacha-dream-item.is-visible {
    opacity: 1;
}
#main.dreams .gacha-dream-item__inner {
    max-width: 520px;
    text-align: left;
}
#main.dreams .gacha-dream-item__text {
    color: #fff;
    font-weight: 600;
    font-size: 40px;
    line-height: 140%;
    font-feature-settings: 'palt' on;
    font-family: 'Noto Serif JP', serif;
    text-align: justify;
}

#main.dreams .gacha-dream-item__job {
    margin-top: 8px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0.03em;
    font-feature-settings: 'palt' on;
    color: #FFFFFF;
    text-align: right;
}