/* © 2026 PassQuest Team (https://passquest.jp). All rights reserved. 無断複製・転載・改変を禁じます。 */
/* css/pricing.css — 料金画面CSS（#pricing-screen配下にスコープ） */
        #pricing-screen, #pricing-screen *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        #pricing-screen{
            font-family: 'Noto Sans JP', sans-serif;
            background-color: #0a0515;
            background-image: linear-gradient(to bottom, rgba(15, 10, 30, 0.3), rgba(30, 15, 45, 0.5)), url('../images/magical_library_bg.png');
            background-size: cover;
            background-position: center center;
            background-attachment: fixed;
            background-repeat: no-repeat;
            min-height: 100vh;
            padding: 20px;
            color: #fff;
            overflow-x: hidden;
            position: relative;
        }

        
        #pricing-screen .sparkles{
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: 0;
        }

        #pricing-screen .sparkle{
            position: absolute;
            width: 4px;
            height: 4px;
            background: white;
            border-radius: 50%;
            animation: pqv_twinkle 3s infinite;
        }

        @keyframes pqv_twinkle{

            0%,
            100% {
                opacity: 0;
                transform: scale(0);
            }

            50% {
                opacity: 1;
                transform: scale(1);
            }
        }

        #pricing-screen .container{
            max-width: 1200px;
            margin: 0 auto;
        }

        #pricing-screen header{
            text-align: center;
            color: white;
            margin-bottom: 40px;
            margin-top: 55px;
            
        }

        
        #pricing-screen .pricing-banner-wrapper{
            margin: 20px auto 30px auto;
            position: relative;
            display: inline-block;
            padding: 28px 70px;
            background:
                radial-gradient(ellipse at center, rgba(80, 40, 130, 0.18) 0%, rgba(30, 15, 55, 0.25) 70%, rgba(15, 8, 30, 0.30) 100%);
            border-radius: 16px;
            animation: pqv_floatBanner 4s ease-in-out infinite;
            box-shadow:
                0 12px 30px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(212, 175, 55, 0.25),
                0 0 60px rgba(160, 32, 240, 0.25),
                inset 0 2px 0 rgba(255, 232, 122, 0.15),
                inset 0 -2px 0 rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            min-width: 480px;
            max-width: 90vw;
        }

        
        #pricing-screen .pricing-banner-wrapper::before{
            content: '';
            position: absolute;
            inset: 6px;
            border: 2px solid transparent;
            border-image: linear-gradient(135deg, #ffe87a 0%, #d4af37 30%, #8a6a20 50%, #d4af37 70%, #ffe87a 100%) 1;
            border-radius: 12px;
            pointer-events: none;
            box-shadow:
                inset 0 0 12px rgba(212, 175, 55, 0.15),
                inset 0 0 3px rgba(255, 232, 122, 0.3);
        }

        
        #pricing-screen .plaque-gem{
            position: absolute;
            font-size: 1.1rem;
            color: #ffe87a;
            text-shadow: 0 0 10px rgba(255, 232, 122, 0.95), 0 0 18px rgba(212, 175, 55, 0.7);
            pointer-events: none;
            line-height: 1;
            animation: pqv_gemTwinkle 2.5s ease-in-out infinite;
        }
        #pricing-screen .plaque-gem.tl{ top: 12px; left: 16px; }
        #pricing-screen .plaque-gem.tr{ top: 12px; right: 16px; animation-delay: 0.6s; }
        #pricing-screen .plaque-gem.bl{ bottom: 12px; left: 16px; animation-delay: 1.2s; }
        #pricing-screen .plaque-gem.br{ bottom: 12px; right: 16px; animation-delay: 1.8s; }

        @keyframes pqv_gemTwinkle{
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.25); opacity: 0.7; }
        }

        
        #pricing-screen .plaque-flourish{
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 75%;
            height: 1px;
            background: linear-gradient(90deg,
                transparent 0%,
                rgba(212, 175, 55, 0) 5%,
                rgba(212, 175, 55, 0.7) 30%,
                rgba(255, 232, 122, 0.95) 50%,
                rgba(212, 175, 55, 0.7) 70%,
                rgba(212, 175, 55, 0) 95%,
                transparent 100%);
            box-shadow: 0 0 8px rgba(212, 175, 55, 0.7);
        }
        #pricing-screen .plaque-flourish.top{ top: 14px; }
        #pricing-screen .plaque-flourish.bottom{ bottom: 14px; }

        
        #pricing-screen .banner-overlay-text{
            position: relative;
            margin: 0;
            padding: 8px 0;
            font-size: clamp(1.4rem, 5vw, 2.6rem);
            font-weight: 900;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            z-index: 5;
        }

        #pricing-screen .banner-overlay-text .gradient-text{
            
            background: linear-gradient(100deg,
                #b8860b 0%, #d4af37 20%, #ffe87a 38%,
                #fffbe6 48%, #ffffff 52%, #fffbe6 56%,
                #ffe87a 64%, #d4af37 80%, #b8860b 100%);
            background-size: 200% 100%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: pqv_goldSheen 5s linear infinite;
            font-family: 'Cinzel', 'Noto Sans JP', serif;
            letter-spacing: 2px;
            line-height: 1.2;
            max-width: 90%;
            font-size: 1.8rem;
            display: inline-block;
            
            filter:
                drop-shadow(0 0 4px rgba(0, 0, 0, 0.95))
                drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9))
                drop-shadow(0 0 16px rgba(255, 215, 0, 0.6));
        }
        @keyframes pqv_goldSheen{
            0%   { background-position: 200% center; }
            40%  { background-position: -50% center; }
            100% { background-position: -50% center; }
        }
        @media (prefers-reduced-motion: reduce){
            #pricing-screen .banner-overlay-text .gradient-text{ animation: none; background-position: 50% center; }
        }

        body.lang-ja #pricing-screen .banner-overlay-text .gradient-text{
            font-size: 2.4rem;
            letter-spacing: 6px;
            font-weight: 900;
            font-family: 'Noto Sans JP', serif;
        }

        
        #pricing-screen .pricing-hero-banner{
            position: relative;
            width: 100%;
            max-width: 760px;
            margin: 8px auto 22px auto;
            container-type: inline-size;
            animation: pqv_floatBanner 4s ease-in-out infinite;
        }
        #pricing-screen .pricing-hero-img{
            display: block;
            width: 100%;
            height: auto;
            
            filter: drop-shadow(0 6px 14px rgba(0,0,0,0.45));
        }
        #pricing-screen .pricing-hero-title{
            position: absolute;
            left: 50%;
            top: 53%;
            transform: translate(-50%, -50%);
            margin: 0;
            width: 32%;
            text-align: center;
            line-height: 1.1;
            text-wrap: balance;
            overflow-wrap: anywhere;
            font-family: 'Cinzel', 'Noto Sans JP', serif;
            font-weight: 900;
            
            background: linear-gradient(100deg,
                #5a3a0e 0%, #7a4f12 18%, #b8860b 36%,
                #e9c45a 48%, #fff3c8 52%, #e9c45a 56%,
                #b8860b 64%, #7a4f12 82%, #5a3a0e 100%);
            background-size: 200% 100%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: pqv_goldSheen 5s linear infinite;
            filter:
                drop-shadow(0 1px 0 rgba(255,250,230,0.6))
                drop-shadow(0 2px 3px rgba(80,50,10,0.35));
            font-size: 4.7cqi;
            letter-spacing: 0.5px;
        }
        body.lang-ja #pricing-screen .pricing-hero-title{ font-size: 5.6cqi; letter-spacing: 2px; }
        
        body.lang-vi #pricing-screen .pricing-hero-title{ font-size: 7cqi; letter-spacing: 1px; }
        body.lang-id #pricing-screen .pricing-hero-title{ font-size: 6cqi; }
        body.lang-np #pricing-screen .pricing-hero-title{ font-size: 6cqi; }
        body.lang-my #pricing-screen .pricing-hero-title{ font-size: 5.6cqi; }
        @media (prefers-reduced-motion: reduce){
            #pricing-screen .pricing-hero-title{ animation: none; background-position: 50% center; }
        }

        #pricing-screen .banner-icon{
            height: 1.5em;
            object-fit: contain;
            filter:
                drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7))
                drop-shadow(0 0 8px rgba(255, 232, 122, 0.6))
                drop-shadow(0 0 16px rgba(212, 175, 55, 0.4));
            animation: pqv_iconGlow 3s ease-in-out infinite alternate;
        }

        @keyframes pqv_iconGlow{
            from {
                filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7))
                        drop-shadow(0 0 8px rgba(255, 232, 122, 0.6))
                        drop-shadow(0 0 16px rgba(212, 175, 55, 0.4));
            }
            to {
                filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7))
                        drop-shadow(0 0 14px rgba(255, 232, 122, 0.95))
                        drop-shadow(0 0 26px rgba(212, 175, 55, 0.7));
            }
        }

        
        #pricing-screen .pricing-banner-img{
            display: none !important;
        }

        @media (max-width: 600px){
            #pricing-screen .pricing-banner-wrapper{
                padding: 22px 40px;
                min-width: unset;
                width: 90%;
            }
            body.lang-ja #pricing-screen .banner-overlay-text .gradient-text{
                font-size: 1.6rem;
                letter-spacing: 4px;
            }
        }

        @keyframes pqv_floatBanner{

            0%,
            100% {
                transform: translateY(0) scale(1);
            }

            50% {
                transform: translateY(-12px) scale(1.02);
            }
        }

        #pricing-screen .gradient-text{
            
            background: linear-gradient(to bottom, #fff8d0 0%, #f0d060 40%, #c9a84c 60%, #8a6a20 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            font-family: 'Noto Sans JP', sans-serif;
            letter-spacing: 4px;
        }

        #pricing-screen .subtitle{
            font-size: 1.2rem;
            opacity: 0.9;
            color: #ccc;
        }

        #pricing-screen .new-badge{
            display: inline-block;
            background: linear-gradient(to bottom, #ff7eb3 0%, #ff4081 50%, #c2185b 100%);
            color: #ffffff;
            padding: 8px 20px;
            border-radius: 30px;
            font-size: 1rem;
            font-weight: 900;
            margin-top: 10px;
            animation: pqv_pulse 2s infinite;
            box-shadow:
                0 5px 15px rgba(0, 0, 0, 0.8),
                inset 0 -2px 5px rgba(0, 0, 0, 0.8),
                inset 0 2px 5px rgba(255, 255, 255, 0.4);
            border: 2px solid #5a0020;
            text-shadow: 1px 1px 0px #000, -1px -1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000, 0 2px 8px rgba(0, 0, 0, 0.9);
            position: relative;
            overflow: hidden;
            letter-spacing: 1px;
        }

        #pricing-screen .new-badge::before{
            content: '';
            position: absolute;
            top: 0;
            left: -150%;
            width: 150%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
            transform: skewX(-25deg);
            animation: pqv_buttonShine 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
            animation-delay: 1.5s;
            z-index: 0;
        }

        #pricing-screen .new-badge span{
            position: relative;
            z-index: 1;
        }

        @keyframes pqv_pulse{

            0%,
            100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.05);
            }
        }

        #pricing-screen .pricing-grid{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }

        #pricing-screen .pricing-card{
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.8));
            border: 2px solid rgba(59, 130, 246, 0.4) !important;
            border-radius: 30px;
            padding: 40px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8) !important;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
            color: white;
            display: flex;
            flex-direction: column;
            -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
        }

        
        #pricing-screen .pricing-card::before{
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
        }

        #pricing-screen .pricing-card:hover::before{
            opacity: 1;
        }

        #pricing-screen .pricing-card:hover{
            transform: translateY(-15px) scale(1.03);
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
            border-color: #ffd700;
        }

        #pricing-screen .pricing-card.free-plan{
            background: linear-gradient(rgba(20, 30, 40, 0.15), rgba(10, 20, 30, 0.35)), url('../images/ui/free_mode_bg.png') center top/cover no-repeat !important;
            border-color: #4caf50;
        }

        #pricing-screen .pricing-card.standard-plan{
            background: linear-gradient(rgba(10, 40, 80, 0.15), rgba(5, 20, 50, 0.35)), url('../images/ui/standard_mode_bg.png') center top/cover no-repeat !important;
            border-color: #2196F3;
        }

        #pricing-screen .pricing-card.recommended{
            background: linear-gradient(rgba(15, 23, 42, 0.2), rgba(60, 10, 20, 0.45)), url('../images/ui/premium_mode_bg.png') center top/cover no-repeat !important;
            border: 3px solid #ffd700 !important;
            box-shadow: 0 0 40px rgba(255, 215, 0, 0.3), 0 30px 60px rgba(0, 0, 0, 0.9) !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }

        #pricing-screen .pricing-card.recommended .recommended-badge{
            position: absolute;
            top: 0;
            right: 0;
            background: linear-gradient(to bottom, #ffe87a, #d4af37);
            color: #4a3504;
            padding: 10px 30px;
            border-bottom-left-radius: 24px;
            border-bottom: 2px solid #8a6a20;
            border-left: 2px solid #8a6a20;
            font-weight: 900;
            font-size: 1.15rem;
            z-index: 10;
            box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.6);
            text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
            font-family: 'Noto Sans JP', sans-serif;
        }

        #pricing-screen .plan-icon{
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100px;
            margin-bottom: 20px;
        }

        #pricing-screen .plan-icon img{
            height: 100%;
            object-fit: contain;
            animation: pqv_bounce 2s ease-in-out infinite;
            transform: scale(1.2);
        }

        @keyframes pqv_bounce{

            0%,
            100% {
                transform: translateY(0) scale(1.2);
            }

            50% {
                transform: translateY(-10px) scale(1.2);
            }
        }

        #pricing-screen .plan-name{
            font-size: 2rem;
            font-weight: 900;
            font-family: 'Cinzel', sans-serif;
            margin-bottom: 10px;
            color: #d0eeff;
            text-align: center;
            min-height: 1.8em;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 6px;
            line-height: 1.2;
            letter-spacing: 3px;
            text-transform: uppercase;
            -webkit-text-stroke: unset;
            text-shadow:
                0 0 18px rgba(160, 210, 255, 0.8),
                0 0 35px rgba(100, 170, 255, 0.4),
                0 2px 6px rgba(0, 0, 0, 0.9);
            position: relative;
            padding-bottom: 4px;
        }

        
        #pricing-screen .plan-name::after{
            content: '';
            display: block;
            width: 70%;
            height: 1px;
            background: linear-gradient(to right, transparent, rgba(200, 230, 255, 0.6), transparent);
            margin-top: 4px;
        }

        
        #pricing-screen .pricing-card.free-plan .plan-name{
            color: #b8ffbe;
            text-shadow:
                0 0 15px rgba(80, 220, 100, 0.9),
                0 0 30px rgba(60, 200, 80, 0.5),
                0 2px 6px rgba(0, 0, 0, 0.9);
        }

        #pricing-screen .pricing-card.free-plan .plan-name::after{
            background: linear-gradient(to right, transparent, rgba(100, 230, 120, 0.7), transparent);
        }

        
        #pricing-screen .pricing-card.standard-plan .plan-name{
            color: #b0d8ff;
            text-shadow:
                0 0 15px rgba(60, 160, 255, 0.9),
                0 0 30px rgba(40, 130, 220, 0.5),
                0 2px 6px rgba(0, 0, 0, 0.9);
        }

        #pricing-screen .pricing-card.standard-plan .plan-name::after{
            background: linear-gradient(to right, transparent, rgba(80, 170, 255, 0.7), transparent);
        }

        

        body.lang-ja #pricing-screen .plan-price{
            font-size: 3rem;
            font-weight: 900;
        }

        body.lang-ja #pricing-screen .plan-target{
            font-size: 1.05rem;
            font-weight: 900;
            letter-spacing: 0.3px;
        }

        
        body.lang-id #pricing-screen .banner-overlay-text .gradient-text, body.lang-np #pricing-screen .banner-overlay-text .gradient-text, body.lang-vi #pricing-screen .banner-overlay-text .gradient-text{
            font-size: 2.3rem;
            letter-spacing: 1px;
        }

        

        #pricing-screen .pricing-card.recommended .plan-name{
            color: #ffe87a;
            -webkit-text-stroke: unset;
            text-shadow:
                0 0 18px rgba(255, 220, 60, 1),
                0 0 35px rgba(255, 190, 0, 0.7),
                0 0 60px rgba(255, 160, 0, 0.4),
                0 2px 6px rgba(0, 0, 0, 0.9);
        }

        #pricing-screen .pricing-card.recommended .plan-name::after{
            background: linear-gradient(to right, transparent, rgba(255, 215, 0, 0.85), transparent);
            height: 1px;
        }

        #pricing-screen .plan-price{
            font-size: clamp(1.5rem, 4.5vw, 2.2rem);
            font-weight: 900;
            color: #ffffff;
            margin-bottom: 5px;
            text-align: center;
            height: 1.25em;
            display: flex;
            align-items: baseline;
            justify-content: center;
            text-shadow:
                1px 1px 0px #000,
                -1px -1px 0px #000,
                1px -1px 0px #000,
                -1px 1px 0px #000,
                0 4px 10px rgba(0, 0, 0, 0.9);
        }

        #pricing-screen .plan-price small{
            font-size: 1rem;
            color: #e0e0e0;
            text-shadow: 1px 1px 2px #000;
        }

        #pricing-screen .plan-target{
            background: transparent;
            padding: 10px 0;
            border-radius: 10px;
            margin: 5px 0 15px 0;
            text-wrap: balance;
            font-size: 0.95rem;
            font-weight: bold;
            color: #ffffff;
            text-align: center;
            min-height: 2.5em;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1.4;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
        }

        body.lang-my #pricing-screen .plan-target, body.lang-ph #pricing-screen .plan-target{
            font-size: 0.8rem;
        }

        #pricing-screen .plan-features{
            list-style: none;
            margin: 20px 0;
            text-align: left;
            flex-grow: 1;
            
        }

        #pricing-screen .plan-features li{
            padding: 8px 0;
            border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
            font-size: 0.95rem;
            line-height: 1.5;
            text-wrap: balance;       
            font-weight: bold;
            color: #ffffff;
            position: relative;
            padding-left: 25px;
            text-shadow:
                1px 1px 0px #000,
                -1px -1px 0px #000,
                1px -1px 0px #000,
                -1px 1px 0px #000,
                0 2px 4px rgba(0, 0, 0, 0.8);
        }

        #pricing-screen .plan-features li:last-child{
            border-bottom: none;
        }

        #pricing-screen .plan-features li::before{
            content: '✦';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            color: #72d976;
            font-size: 1.2rem;
            text-shadow: 0 0 8px rgba(114, 217, 118, 0.8);
        }

        #pricing-screen .pricing-card.standard-plan .plan-features li::before{
            content: '❖';
            color: #6fcfee;
            text-shadow: 0 0 8px rgba(111, 207, 238, 0.8);
        }

        #pricing-screen .pricing-card.recommended .plan-features li::before{
            content: '⚜';
            color: #ffd700;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
            font-size: 1.4rem;
        }

        #pricing-screen .plan-features li.new-feature{
            color: #ffd700;
            font-weight: bold;
        }

        #pricing-screen .plan-features li.new-feature::before{
            content: '⭐';
            color: #fff;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.9);
            font-size: 1.2rem;
        }

        #pricing-screen .cta-button{
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            padding: 15px 10px;
            color: white;
            border-radius: 50px;
            font-size: clamp(0.9rem, 3.2vw, 1.4rem);
            font-weight: 900;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            margin-top: 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
            white-space: nowrap;
            height: 4rem;
            font-family: 'Noto Sans JP', sans-serif;
            position: relative;
            overflow: hidden;
            border: 3px solid rgba(0, 0, 0, 0.5);
            box-shadow:
                0 10px 25px rgba(0, 0, 0, 0.7),
                inset 0 -5px 12px rgba(0, 0, 0, 0.7),
                inset 0 5px 15px rgba(255, 255, 255, 0.8) !important;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
        }

        #pricing-screen .cta-button::before{
            content: '';
            position: absolute;
            top: 0;
            left: -150%;
            width: 150%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
            transform: skewX(-25deg);
            animation: pqv_buttonShine 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
            animation-delay: 0.5s;
            z-index: 0;
        }

        #pricing-screen .cta-button span{
            position: relative;
            z-index: 1;
        }

        #pricing-screen .cta-button:hover{
            transform: translateY(-5px) scale(1.03);
            box-shadow:
                0 15px 25px rgba(0, 0, 0, 0.7),
                inset 0 -4px 10px rgba(0, 0, 0, 0.4),
                inset 0 4px 15px rgba(255, 255, 255, 0.8);
            border-color: #fff;
        }

        #pricing-screen .cta-button.free{
            background: linear-gradient(to bottom, #72d976 0%, #3ca040 40%, #1f6b22 100%);
            border-color: #124d14;
            color: #ffffff !important;
            text-shadow:
                1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
                0 2px 5px rgba(0, 0, 0, 0.9) !important;
        }

        #pricing-screen .pricing-card.standard-plan .cta-button{
            background: linear-gradient(to bottom, #6fcfee 0%, #1f82e8 40%, #084aa6 100%);
            border-color: #052654;
            color: #ffffff !important;
            text-shadow:
                1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
                0 2px 5px rgba(0, 0, 0, 0.9) !important;
        }

        #pricing-screen .pricing-card.recommended .cta-button{
            background: linear-gradient(to bottom, #ffe87a 0%, #d4af37 40%, #8a6a20 100%);
            border-color: #5c4404;
            color: #ffffff !important;
            text-shadow:
                1px 1px 0 #5c4404, -1px -1px 0 #5c4404, 1px -1px 0 #5c4404, -1px 1px 0 #5c4404,
                0 2px 5px rgba(0, 0, 0, 0.9) !important;
        }

        @keyframes pqv_buttonShine{
            0% {
                left: -150%;
            }

            20% {
                left: 150%;
            }

            100% {
                left: 150%;
            }
        }

        #pricing-screen .comparison-table{
            background: linear-gradient(135deg, rgba(30, 40, 50, 0.85), rgba(20, 30, 40, 0.95));
            border: 4px solid #a8b0b8;
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
            margin-bottom: 20px;
            overflow-x: auto;
            color: #fff;
            position: relative;
        }

        #pricing-screen .comparison-table.annual-plan-section{
            
            background: linear-gradient(rgba(40, 20, 60, 0.2), rgba(15, 5, 30, 0.4)), url('../images/ui/annual_plan_bg.png') center top/cover no-repeat;
            border: 4px solid #ffd700;
            box-shadow: 0 0 40px rgba(255, 215, 0, 0.4), inset 0 0 30px rgba(255, 215, 0, 0.2);
            padding: 40px 30px;
        }

        #pricing-screen .annual-plan-header-wrapper{
            display: flex;
            justify-content: center;
            width: 100%;
            margin-bottom: 30px;
        }

        #pricing-screen .annual-plan-header{
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
        }

        #pricing-screen .treasure-icon{
            width: 55px;
            
            height: auto;
            filter: drop-shadow(0 10px 15px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
            animation: pqv_bounce 3s ease-in-out infinite;
        }

        #pricing-screen .comparison-table.annual-plan-section table{
            
            background: rgba(0, 0, 0, 0.85);
            -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
            border-radius: 15px;
            overflow: hidden;
            
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
        }

        #pricing-screen .comparison-table.annual-plan-section th, #pricing-screen .comparison-table.annual-plan-section td{
            border-color: rgba(255, 215, 0, 0.15);
            
        }

        #pricing-screen .comparison-table.annual-plan-section th{
            background: rgba(50, 20, 80, 0.6);
            
            color: #ffd700;
        }

        #pricing-screen .comparison-table h2{
            text-align: center;
            margin: 0;
            color: #ffffff;
            font-size: clamp(1.6rem, 3.5vw, 2.4rem);
            text-shadow:
                0 0 8px rgba(212, 175, 55, 0.3),
                1px 1px 0 #000,
                -1px -1px 0 #000,
                1px -1px 0 #000,
                -1px 1px 0 #000,
                1px 2px 3px rgba(0, 0, 0, 0.9);
            font-family: 'Noto Sans JP', sans-serif;
            font-weight: 700;
            letter-spacing: 2px;
            white-space: nowrap;
        }

        #pricing-screen table{
            width: 100%;
            border-collapse: collapse;
        }

        #pricing-screen th, #pricing-screen td{
            padding: 15px;
            text-align: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            color: #ffffff;
            text-shadow: 1px 1px 0px #000, 0 2px 4px rgba(0, 0, 0, 0.8);
        }

        #pricing-screen th{
            background: rgba(102, 126, 234, 0.2);
            color: #ffd700;
            font-weight: bold;
            text-shadow: 1px 1px 0px #000, 0 2px 5px rgba(0, 0, 0, 0.9);
        }

        #pricing-screen th:first-child, #pricing-screen td:first-child{
            text-align: center;
            font-weight: bold;
        }

        #pricing-screen .comparison-table tbody tr{
            transition: background 0.3s ease, box-shadow 0.3s ease;
        }

        #pricing-screen .comparison-table tbody tr:hover{
            background: rgba(255, 255, 255, 0.08);
            box-shadow: inset 0 0 15px rgba(255, 215, 0, 0.1);
        }

        #pricing-screen .premium-row{
            background: linear-gradient(90deg, transparent, rgba(142, 45, 226, 0.15), transparent);
        }

        #pricing-screen .premium-row:hover{
            background: linear-gradient(90deg, transparent, rgba(142, 45, 226, 0.3), transparent) !important;
        }

        #pricing-screen .check{
            display: inline-block;
            background: linear-gradient(135deg,
                    #ffffff 0%,
                    #e0e0e0 40%,
                    #a0a0a0 60%,
                    #707070 100%);
            color: #2c2c2c;
            
            padding: 5px 15px;
            border-radius: 20px;
            font-weight: 900;
            font-size: 0.95rem;
            box-shadow:
                0 4px 10px rgba(0, 0, 0, 0.5),
                inset 0 1px 2px rgba(255, 255, 255, 0.9),
                0 0 10px rgba(255, 255, 255, 0.2);
            text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
            border: 1px solid #707070;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        #pricing-screen .check::after{
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transform: rotate(30deg);
            animation: pqv_shine 3s infinite;
        }

        @keyframes pqv_shine{
            0% {
                transform: translateX(-100%) rotate(30deg);
            }

            20% {
                transform: translateX(100%) rotate(30deg);
            }

            100% {
                transform: translateX(100%) rotate(30deg);
            }
        }

        #pricing-screen .check.super{
            background: linear-gradient(135deg,
                    #fff8d0 0%,
                    #f0d060 40%,
                    #c9a84c 60%,
                    #8a6a20 100%);
            box-shadow:
                0 4px 15px rgba(212, 175, 55, 0.4),
                inset 0 1px 2px rgba(255, 255, 255, 0.8),
                0 0 12px rgba(255, 215, 0, 0.3);
            border: 1px solid #8a6a20;
            color: #4a3504;
            
            text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
        }

        #pricing-screen tr:hover .check{
            transform: scale(1.05);
            box-shadow: 0 6px 15px rgba(100, 180, 0, 0.7), inset 0 0 15px rgba(164, 230, 0, 0.5);
        }

        #pricing-screen tr:hover .check.super{
            transform: scale(1.05);
            box-shadow: 0 6px 15px rgba(255, 5, 124, 0.7), 0 0 15px rgba(255, 215, 0, 0.5), inset 0 1px 2px rgba(255, 215, 0, 0.8);
        }

        #pricing-screen .cross{
            display: inline-block;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
            color: #888888;
            padding: 5px 15px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 1rem;
            text-shadow: 1px 1px 0px #000;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        #pricing-screen footer{
            text-align: center;
            color: rgba(255, 255, 255, 0.6);
            margin-top: 20px;
            padding: 20px 20px 60px 20px;
        }

        #pricing-screen .back-btn{
            display: inline-block;
            margin-top: 20px;
            padding: 12px 40px;
            
            background: linear-gradient(to bottom, #ff99aa 0%, #ff1155 45%, #cc0033 51%, #880022 100%);
            color: #ffffff !important;
            text-decoration: none;
            border-radius: 12px;
            border: 2px solid #550011;
            font-weight: 900;
            font-size: 1.1rem;
            box-shadow:
                0 4px 0 #440011,
                0 8px 25px rgba(255, 0, 50, 0.4),
                inset 0 1px 1px rgba(255, 255, 255, 0.6);
            transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-shadow: 0 2px 2px rgba(0, 0, 0, 0.7);
            position: relative;
            overflow: hidden;
        }

        #pricing-screen .back-btn::after{
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transform: rotate(30deg);
            animation: pqv_shine 4s infinite;
        }

        #pricing-screen .back-btn:hover{
            transform: translateY(-2px) scale(1.05);
            box-shadow:
                0 6px 0 #440011,
                0 12px 30px rgba(255, 0, 50, 0.6);
            filter: brightness(1.2) contrast(1.1);
        }

        #pricing-screen .back-btn:active{
            transform: translateY(2px) scale(0.98);
            box-shadow:
                0 2px 0 #440011,
                0 4px 10px rgba(0, 0, 0, 0.5);
        }



        #pricing-screen .pqlang-selector{
            position: absolute;
            top: 20px;
            right: 20px;
            left: auto;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.1);
            -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
            padding: 5px;
            border-radius: 30px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            display: flex;
            gap: 5px;
        }

        #pricing-screen .pqlang-btn{
            padding: 5px 12px;
            border-radius: 20px;
            border: none;
            background: transparent;
            color: white;
            cursor: pointer;
            font-weight: bold;
            font-size: 0.8rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 6px;
            opacity: 0.8;
        }

        #pricing-screen .pqlang-btn:hover{
            opacity: 1;
            transform: scale(1.1);
        }

        #pricing-screen .pqlang-btn.active{
            background: white;
            opacity: 1;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            border: none;
        }

        #pricing-screen .pqlang-btn img{
            display: block;
        }

        @media (max-width: 768px){
            #pricing-screen h1{
                font-size: 2rem;
            }

            #pricing-screen .pricing-grid{
                grid-template-columns: 1fr;
            }

            #pricing-screen .pqlang-selector{
                top: 10px;
                right: 10px;
                padding: 5px;
            }

            #pricing-screen .pqlang-btn{
                padding: 3px 6px;
                margin: 0 2px;
            }
        }

/* ==== オーバーレイ化（index.html 内のフルスクリーン画面として表示） ==== */
#pricing-screen{
    position: fixed;
    inset: 0;
    z-index: 100000;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
}
#pricing-screen.pq-open{ display: block; }
/* オーバーレイ右上の閉じる(×)ボタン */
#pricing-screen .pq-close{
    position: fixed; top: 16px; right: 16px; z-index: 100002;
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(180deg, rgba(40,26,74,.96), rgba(22,14,40,.97));
    border: 2px solid rgba(212,175,55,.9); color: #fff8d0;
    font-size: 1.4rem; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.55), 0 0 12px rgba(212,175,55,.28);
}
#pricing-screen .pq-close:hover{ border-color:#ffe87a; }
