#prism {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 750px;
    overflow: hidden;
    z-index: 5;
    pointer-events: none;
    background: transparent;
}

    #prism > .ray:nth-child(1) {
        --pos-x-s: 99vw;
        --angle-base: 15;
        --scale: 2.1;
        --duration: 8.5s;
        --delay: -12.3s;
        --opacity: 0.35;
    }

    #prism > .ray:nth-child(2) {
        --pos-x-s: 98vw;
        --angle-base: 38;
        --scale: 1.5;
        --duration: 11.9s;
        --delay: -18.45s;
        --opacity: 0.3;
    }


    #prism > .ray:nth-child(3) {
        --pos-x-s: 91vw;
        --angle-base: 70;
        --scale: 1.6;
        --duration: 8.3s;
        --delay: -5.04s;
        --opacity: 0.4;
    }

    #prism > .ray:nth-child(4) {
        --pos-x-s: 96vw;
        --angle-base: 78;
        --scale: 2.4;
        --duration: 12.0s;
        --delay: -18.03s;
        --opacity: 0.35;
    }

    #prism > .ray:nth-child(5) {
        --pos-x-s: 94vw;
        --angle-base: 60;
        --scale: 2.7;
        --duration: 9.7s;
        --delay: -5.88s;
        --opacity: 0.4;
    }

    #prism > .ray {
        position: absolute !important;
        top: 0 !important;
        left: var(--pos-x-s) !important;
        width: calc(20px * var(--scale)) !important;
        height: calc(1400px * var(--scale)) !important;
        background-image: linear-gradient( to bottom, rgba(255, 255, 255, 0.6) 0%, rgba(255, 245, 210, 0.4) 30%, rgba(255, 200, 100, 0.15) 70%, rgba(255, 255, 255, 0) 100% ) !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-size: 100% 100% !important;
        -webkit-mask-image: linear-gradient(to right, transparent, white 30%, white 70%, transparent) !important;
        mask-image: linear-gradient(to right, transparent, white 30%, white 70%, transparent) !important;
        transform-origin: center top !important;
        will-change: transform;
        animation-name: sun-ray-left-down !important;
        animation-duration: calc(var(--duration) * 4) !important;
        animation-delay: var(--delay) !important;
        animation-timing-function: ease-in-out !important;
        animation-direction: alternate !important;
        animation-iteration-count: infinite !important;
        filter: blur(12px) !important;
        mix-blend-mode: screen !important;
    }

/* rayキーフレーム */
@keyframes sun-ray-left-down {
    0% {
        transform: rotate(calc(var(--angle-base) * 1deg - 12deg));
        opacity: calc(var(--opacity) * 0.4);
    }

    50% {
        opacity: calc(var(--opacity) * 1.4);
    }

    100% {
        transform: rotate(calc(var(--angle-base) * 1deg + 12deg));
        opacity: calc(var(--opacity) * 0.7);
    }
}

/* フレア全体の共通土台 */
#prism > .flare {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: block !important;
    border-radius: 50% !important;
    mix-blend-mode: screen !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    transform-origin: center center !important;
    animation-name: lens-flare-glow !important;
    animation-timing-function: ease-in-out !important;
    animation-direction: alternate !important;
    animation-iteration-count: infinite !important;
}

div#prism div.flare-1 {
    width: 50px !important;
    height: 50px !important;
    margin-top: 140px !important;
    margin-left: 80vw !important;
    background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,245,220,0.3) 50%, rgba(255,255,255,0) 70%) !important;
    animation-duration: 8s !important;
    animation-delay: -2s !important;
}

div#prism div.flare-2 {
    width: 120px !important;
    height: 120px !important;
    margin-top: 160px !important;
    margin-left: 75vw !important;
    background: radial-gradient(circle, rgba(255,230,150,0) 30%, rgba(255,220,130,0.3) 60%, rgba(255,255,255,0) 70%) !important;
    filter: blur(4px) !important;
    animation-duration: 11s !important;
    animation-delay: -5s !important;
}

div#prism div.flare-3 {
    width: 330px !important;
    height: 330px !important;
    margin-top: 30px !important;
    margin-left: calc(84vw - 30px) !important;

    border-radius: 0% !important;
    background: radial-gradient(circle at right top, rgba(255, 255, 255, 0) 35%, oklch(0.75 0.22 300deg / 0.35) 35%,
    oklch(0.65 0.22 240deg / 0.10) 42%, 
    oklch(0.75 0.18 180deg / 0.10) 48%, 
    oklch(0.85 0.22 90deg / 0.35) 55%, 
    oklch(0.75 0.22 30deg / 0.30) 62%, 
    rgba(255, 255, 255, 0) 70% 
    ) !important;
    filter: blur(5px) !important;
    animation-duration: 9.5s !important;
    animation-delay: -1s !important;
}


div#prism div.flare-4 {
    width: 90px !important;
    height: 90px !important;
    margin-top: 330px !important;
    margin-left: 65vw !important;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%,
    oklch(0.85 0.22 90deg / 0.6) 25%,
    oklch(0.75 0.22 150deg / 0.1) 45%,
    oklch(0.65 0.22 240deg / 0.1) 65%,
    oklch(0.75 0.22 330deg / 0.4) 85%,
    rgba(255, 255, 255, 0) 100% ) !important;
    filter: blur(2px) !important;
    animation-duration: 13s !important;
    animation-delay: -3s !important;
}

/* フレアキーフレーム */
@keyframes lens-flare-glow {
    0% {
        transform: translate3d(15px, -10px, 0) scale(0.9);
        opacity: 0.3;
    }

    50% {
        opacity: 1.0;
    }

    100% {
        transform: translate3d(-20px, 15px, 0) scale(1.05);
        opacity: 0.6;
    }
}


.glass-rotate-glow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    position: relative;
    border-radius: 44px;
    padding: 2.5px;
    text-decoration: none;
    overflow: hidden;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 24px -4px rgba(164, 185, 208, 0.4), 0 4px 10px -2px rgba(164, 185, 208, 0.25);
    transform: translateY(-4px);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

/* 光のライン */
.glow-stream-line {
    position: absolute;
    opacity: 0;
    width: 75px;
    height: 100%;
    background: linear-gradient( 90deg, rgba(100, 200, 255, 0) 0%, rgba(140, 220, 255, 0.7) 25%, rgba(220, 245, 255, 1) 50%, rgba(140, 220, 255, 0.7) 75%, rgba(100, 200, 255, 0) 100% );
    transform: skewX(-25deg);
    pointer-events: none;
}

.glass-rotate-glow-btn:hover .glow-stream-line {
    opacity: 1;
}

.glass-rotate-glow-btn:hover .line-1 {
    animation: runGlow 0.5s ease-out forwards;
}

@keyframes runGlow {
    0% {
        left: -95px;
    }

    100% {
        left: 100%;
    }
}

.glass-inner-plate {
    display: block;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 42px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: inset 0 -6px 12px rgba(255, 255, 255, 0.55), inset 0 6px 12px rgba(120, 150, 180, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

    /* バナー */
    .glass-inner-plate img {
        display: block;
        width: 280px !important;
        height: 58px !important;
        border-radius: 29px;
        object-fit: cover;
        opacity: 0.9;
        filter: contrast(1.04) brightness(1.01);
    }

.glass-top-shine {
    position: absolute;
    top: 2px;
    left: 14px;
    width: calc(100% - 28px);
    height: 45%;
    border-radius: 30px 30px 20px 20px;
    background: linear-gradient( to bottom, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0) 100% );
    pointer-events: none;
    z-index: 3;
}

.glass-rotate-glow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -4px rgba(130, 155, 180, 0.4), 0 6px 14px -2px rgba(130, 155, 180, 0.3);
}

.glass-rotate-glow-btn:active {
    transform: translateY(1px);
    box-shadow: 0 4px 8px -1px rgba(140, 165, 190, 0.4);
}

