/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
body {
    font-family: 'Noto Sans JP', 'Yu Gothic', '游ゴシック', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #FFE4E1 0%, #FFC0CB 25%, #FFB6C1 50%, #FFA0B4 75%, #FF69B4 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #FFE4E1 0%, #FFC0CB 25%, #FFB6C1 50%, #FFA0B4 75%, #FF69B4 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(255, 182, 193, 0.3) 100%);
    pointer-events: none;
}

/* 桜の花びらエフェクト */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 10 C45 15, 40 20, 45 25 C50 30, 55 25, 60 20 C65 15, 60 10, 50 10 Z' fill='%23FFB6C1' opacity='0.3'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M30 30 C25 35, 20 40, 25 45 C30 50, 35 45, 40 40 C45 35, 40 30, 30 30 Z' fill='%23FFC0CB' opacity='0.2'/%3E%3C/svg%3E");
    background-size: 50px 50px, 30px 30px;
    background-position: 0 0, 25px 25px;
    animation: sakuraFall 20s linear infinite;
    pointer-events: none;
    opacity: 0.4;
}

@keyframes sakuraFall {
    0% { transform: translateY(-100vh) rotate(0deg); }
    100% { transform: translateY(100vh) rotate(360deg); }
}

.fortune-teller-intro {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.fortune-teller-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #FFB6C1;
    box-shadow: 0 0 20px rgba(255, 182, 193, 0.7);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.feature {
    background: rgba(255,255,255,0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #4A1A2E;
    border: 1px solid rgba(139,74,107,0.3);
    font-weight: 600;
}

.guarantee {
    font-size: 0.9rem;
    color: #4A1A2E;
    margin-top: 1rem;
    font-weight: 500;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 3s infinite;
    box-shadow: 0 0 4px #fff;
}

.star:nth-child(odd) {
    animation: floating 4s ease-in-out infinite;
}

.star:nth-child(even) {
    animation: floating 6s ease-in-out infinite reverse;
}

@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes floating {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(-10px) translateX(5px) rotate(90deg); }
    50% { transform: translateY(0px) translateX(10px) rotate(180deg); }
    75% { transform: translateY(10px) translateX(5px) rotate(270deg); }
}

/* 流れ星エフェクト */
.shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: linear-gradient(45deg, #fff, #ffd700);
    border-radius: 50%;
    animation: shooting 3s linear infinite;
}

@keyframes shooting {
    0% {
        transform: translateX(-100px) translateY(-100px) rotate(45deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateX(calc(100vw + 100px)) translateY(calc(100vh + 100px)) rotate(45deg);
        opacity: 0;
    }
}

.shooting-star::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    transform: translateX(-50px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 2rem;
}

.mystical {
    font-size: 1.2rem;
    color: #4A1A2E;
    display: block;
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px #FFB6C1; }
    to { text-shadow: 0 0 20px #FFB6C1, 0 0 30px #FFB6C1; }
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2D1B3D;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
    margin-bottom: 1rem;
    display: block;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #4A1A2E;
    margin-bottom: 2rem;
    font-weight: 500;
}

.cta-button {
    background: linear-gradient(45deg, #E91E63, #C2185B);
    color: #FFFFFF;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
    text-transform: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.6);
    background: linear-gradient(45deg, #C2185B, #E91E63);
}

/* 動的CTA フェーズ別スタイル */
.cta-phase-1 {
    background: linear-gradient(45deg, #ffd700, #ffb300);
}

.cta-phase-2 {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.cta-phase-2:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

.cta-phase-3 {
    background: linear-gradient(45deg, #4ecdc4, #6ed3c7);
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.cta-phase-3:hover {
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.5);
}

.cta-phase-4 {
    background: linear-gradient(45deg, #ff4757, #ff6b7a);
    box-shadow: 0 4px 20px rgba(255, 71, 87, 0.5);
    animation: urgentPulse 1.5s infinite;
}

.cta-phase-4:hover {
    box-shadow: 0 6px 25px rgba(255, 71, 87, 0.6);
}

@keyframes ctaPhaseChange {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes urgentPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 71, 87, 0.5);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 6px 25px rgba(255, 71, 87, 0.7);
    }
}

/* 占いセクション */
.fortune-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #FFE4E1 0%, #FFC0CB 25%, #FFB6C1 50%, #FFA0B4 75%, #FF69B4 100%);
    padding: 2rem 0;
    display: flex;
    align-items: center;
}

.progress-container {
    text-align: center;
    margin-bottom: 3rem;
}

.progress-bar {
    width: 100%;
    max-width: 400px;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFB6C1, #FFA0B4);
    border-radius: 4px;
    transition: width 0.5s ease;
    width: 0;
}

.progress-text {
    color: #4A1A2E;
    font-size: 1rem;
    font-weight: 600;
}

.question-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.question-title {
    font-size: 1.8rem;
    color: #2D1B3D;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    font-weight: 700;
}

.answers-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.answer-button {
    background: rgba(255,255,255,0.9);
    border: 2px solid rgba(139,74,107,0.3);
    color: #2D1B3D;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    font-weight: 600;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.answer-button:hover {
    background: #E91E63;
    border-color: #E91E63;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233,30,99,0.4);
}

.answer-button.touching {
    background: rgba(255,182,193,0.5);
    transform: scale(0.98);
    box-shadow: 0 2px 10px rgba(255,182,193,0.6);
}

/* スマートフォン最適化 */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .main-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.5rem;
        margin: 1rem 0;
    }
    
    .feature {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
    }
    
    .cta-button, .line-button, .final-cta-button {
        padding: 1.5rem 2rem;
        font-size: 1.1rem;
        min-height: 60px;
        width: 100%;
        border-radius: 12px;
    }
    
    .question-title {
        font-size: 1.4rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .answer-button {
        padding: 1.5rem 1.2rem;
        font-size: 1rem;
        margin-bottom: 0.8rem;
        min-height: 70px;
        border-radius: 12px;
        line-height: 1.4;
    }
    
    .result-card, .line-promotion {
        padding: 1.5rem;
        border-radius: 16px;
        margin-bottom: 1.5rem;
    }
    
    .line-benefits {
        text-align: center;
        padding: 0;
    }
    
    .line-benefits li {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        padding: 0.8rem;
        background: rgba(255,255,255,0.1);
        border-radius: 8px;
        border: 1px solid rgba(255,215,0,0.3);
    }
    
    .testimonials-grid,
    .credibility-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-question {
        padding: 1.2rem;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 1.2rem;
        font-size: 0.95rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* タッチデバイス向けの改善 */
@media (hover: none) and (pointer: coarse) {
    .answer-button:active {
        background: rgba(255,215,0,0.3);
        transform: scale(0.98);
    }
    
    .cta-button:active,
    .line-button:active,
    .final-cta-button:active {
        transform: scale(0.98);
    }
    
    .faq-question:active {
        background: rgba(255,215,0,0.3);
    }
}

/* 結果セクション */
.result-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #FFE4E1 0%, #FFC0CB 25%, #FFB6C1 50%, #FFA0B4 75%, #FF69B4 100%);
    padding: 2rem 0;
    display: flex;
    align-items: center;
}

.result-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.result-title {
    font-size: 2rem;
    color: #2D1B3D;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
    font-weight: 700;
}

.result-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(139,74,107,0.3);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.result-card.show {
    opacity: 1;
    transform: translateY(0);
}

.result-type {
    font-size: 1.5rem;
    color: #2D1B3D;
    margin-bottom: 1rem;
    font-weight: 700;
}

.result-description {
    font-size: 1.1rem;
    color: #4A1A2E;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.lucky-items {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.lucky-item {
    background: rgba(255,255,255,0.8);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(139,74,107,0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.lucky-item:hover {
    background: rgba(255,182,193,0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255,182,193,0.3);
}

.detail-item {
    flex-basis: 100%;
    text-align: left;
    max-width: 400px;
    margin: 0.5rem auto;
}

.detail-value {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.lucky-label {
    color: #4A1A2E;
    font-size: 0.9rem;
    font-weight: 600;
}

.lucky-value {
    color: #E91E63;
    font-weight: 700;
    margin-left: 0.5rem;
}

/* LINE プロモーション */
.line-promotion {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(139,74,107,0.3);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.line-title {
    font-size: 1.3rem;
    color: #2D1B3D;
    margin-bottom: 1rem;
    font-weight: 700;
}

.line-benefits {
    text-align: center;
    list-style: none;
    margin-bottom: 1.5rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.line-benefits li {
    color: #2D1B3D;
    margin-bottom: 1rem;
    font-size: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    border: 1px solid rgba(139,74,107,0.3);
    transition: all 0.3s ease;
    font-weight: 600;
}

.line-benefits li:hover {
    background: rgba(255,182,193,0.4);
    transform: translateY(-2px);
}

.line-button {
    background: #00C300;
    color: #FFFFFF;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,195,0,0.4);
}

.line-button:hover {
    background: #00A000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,195,0,0.6);
}

/* シェアセクション */
.share-section {
    margin-top: 2rem;
}

.share-section h4 {
    color: #2D1B3D;
    margin-bottom: 1rem;
    font-weight: 700;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.share-btn.twitter {
    background: #1da1f2;
    color: #fff;
}

.share-btn.restart {
    background: rgba(255,255,255,0.9);
    color: #2D1B3D;
    border: 1px solid rgba(139,74,107,0.3);
    font-weight: 600;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* 登録完了メッセージ */
.registration-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
}

.registration-message.show {
    opacity: 1;
}

.message-content h4 {
    color: #ffd700;
    margin-bottom: 1rem;
    text-align: center;
}

.message-content p {
    color: #fff;
    text-align: center;
    line-height: 1.6;
}

/* 信頼性セクション */
.credibility-section {
    padding: 4rem 0;
    background: rgba(255,255,255,0.2);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #2D1B3D;
    margin-bottom: 3rem;
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
    font-weight: 700;
}

.credibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.cred-item {
    text-align: center;
    background: rgba(255,255,255,0.9);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139,74,107,0.3);
}

.cred-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cred-item h3 {
    color: #2D1B3D;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cred-item p {
    color: #4A1A2E;
    line-height: 1.6;
    font-weight: 500;
}

/* お客様の声セクション */
.testimonials-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #FFE4E1 0%, #FFC0CB 25%, #FFB6C1 50%, #FFA0B4 75%, #FF69B4 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial {
    background: rgba(255,255,255,0.9);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139,74,107,0.3);
}

.rating {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial p {
    color: #2D1B3D;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
    font-weight: 500;
}

.testimonial-author {
    color: #E91E63;
    font-size: 0.9rem;
    text-align: right;
    font-weight: 600;
}

/* LINE プロモーション拡張 */
.line-special-offer {
    text-align: center;
    margin-bottom: 1.5rem;
}

.offer-badge {
    background: #ff4444;
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.line-special-offer h4 {
    color: #2D1B3D;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 700;
}

.urgency {
    background: rgba(255,255,255,0.95);
    border: 2px solid #E91E63;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.urgency p {
    color: #C2185B;
    margin: 0.5rem 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.remaining-progress {
    margin: 1rem 0;
}

.remaining-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.remaining-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffb300);
    border-radius: 6px;
    transition: all 0.5s ease;
    animation: pulse 2s infinite;
}

.remaining-count {
    color: #E91E63;
    font-size: 1.5rem;
    font-weight: 800;
    text-shadow: 0 1px 3px rgba(233, 30, 99, 0.3);
}

.urgency-timer {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    border: 2px solid #FFB6C1;
    box-shadow: 0 2px 8px rgba(255, 182, 193, 0.3);
}

.urgency-timer span {
    color: #C2185B;
    font-size: 1.3rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    text-shadow: 0 1px 3px rgba(194, 24, 91, 0.3);
}

/* 緊急性通知 */
.urgency-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 68, 68, 0.95);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border: 1px solid #ff6b6b;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
}

.urgency-notification.show {
    transform: translateX(0);
}

.urgency-notification span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* スマートフォン対応 */
@media (max-width: 768px) {
    .urgency {
        padding: 1.2rem;
        margin: 1rem 0;
    }
    
    .urgency p {
        font-size: 0.95rem;
    }
    
    .remaining-count {
        font-size: 1.2rem;
    }
    
    .urgency-timer span {
        font-size: 1rem;
    }
    
    .urgency-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        transform: translateY(-100%);
    }
    
    .urgency-notification.show {
        transform: translateY(0);
    }
}

.line-guarantee {
    font-size: 0.8rem;
    color: #e1bee7;
    margin-top: 0.5rem;
}

/* FAQセクション */
.faq-section {
    padding: 4rem 0;
    background: rgba(255,255,255,0.2);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255,255,255,0.1);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
}

.faq-question {
    padding: 1.5rem;
    background: rgba(255,255,255,0.8);
    color: #2D1B3D;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
    font-size: inherit;
    font-family: inherit;
}

.faq-question:hover,
.faq-question:focus {
    background: #E91E63;
    color: #FFFFFF;
    outline: 2px solid #E91E63;
    outline-offset: 2px;
}

.faq-question.expanded {
    background: #E91E63;
    color: #FFFFFF;
}

.faq-answer {
    padding: 1.5rem;
    color: #2D1B3D;
    line-height: 1.6;
    border-top: 1px solid rgba(139,74,107,0.3);
    display: none;
    transition: all 0.3s ease;
    font-weight: 500;
    background: rgba(255,255,255,0.9);
}

.faq-answer.visible {
    display: block;
}

.faq-answer[aria-hidden="false"] {
    display: block;
}

/* 最終CTAセクション */
.final-cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #FFE4E1 0%, #FFC0CB 25%, #FFB6C1 50%, #FFA0B4 75%, #FF69B4 100%);
    text-align: center;
}

.final-cta-title {
    font-size: 2.2rem;
    color: #2D1B3D;
    margin-bottom: 2rem;
    text-shadow: 0 0 15px rgba(255,255,255,0.8);
    font-weight: 700;
}

.final-cta-benefits {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.benefit {
    background: rgba(255,255,255,0.9);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: #2D1B3D;
    font-weight: 600;
    border: 1px solid rgba(139,74,107,0.3);
}

.final-cta-button {
    background: linear-gradient(45deg, #E91E63, #C2185B);
    color: #FFFFFF;
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(233, 30, 99, 0.4);
    margin-bottom: 1rem;
}

.final-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.6);
}

.final-guarantee {
    color: #4A1A2E;
    font-size: 0.9rem;
    font-weight: 500;
}

/* フッター */
.footer {
    background: rgba(0,0,0,0.3);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content h3 {
    color: #2D1B3D;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.footer-content p {
    color: #4A1A2E;
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #2D1B3D;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: #E91E63;
}

/* 音響コントロールボタン */
.audio-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.audio-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* ローディングアニメーション */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    text-align: center;
}

.crystal-ball {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(255,215,0,0.3), rgba(74,20,140,0.7));
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(255,215,0,0.3);
}

.crystal-shine {
    position: absolute;
    top: 20%;
    left: 25%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    animation: shine 2s ease-in-out infinite;
}

.crystal-reflection {
    position: absolute;
    bottom: 30%;
    right: 25%;
    width: 15px;
    height: 25px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transform: rotate(45deg);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

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

.mystical-circle {
    position: relative;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255,215,0,0.5);
    border-radius: 50%;
    margin-bottom: 2rem;
    animation: rotate 4s linear infinite;
}

.rotating-symbols {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
}

.rotating-symbols span {
    position: absolute;
    font-size: 1.5rem;
    animation: counterRotate 4s linear infinite;
}

.rotating-symbols span:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.rotating-symbols span:nth-child(2) { right: 0; top: 50%; transform: translateY(-50%); }
.rotating-symbols span:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); }
.rotating-symbols span:nth-child(4) { left: 0; top: 50%; transform: translateY(-50%); }

.progress-ring {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255,215,0,0.3);
    border-radius: 50%;
    position: relative;
    margin-top: 1rem;
}

.progress-ring-fill {
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes counterRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loading-text {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255,215,0,0.5);
}

.loading-dots {
    display: flex;
    gap: 0.5rem;
}

.loading-dots span {
    color: #ffd700;
    font-size: 1.5rem;
    animation: bounce 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Exit Intent モーダル */
.exit-intent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.exit-intent-modal.show {
    opacity: 1;
    visibility: visible;
}

.exit-intent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.exit-intent-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #4a148c 0%, #1a237e 100%);
    border: 2px solid #ffd700;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
    animation: exitModalBounce 0.6s ease-out;
}

@keyframes exitModalBounce {
    0% {
        transform: translate(-50%, -50%) scale(0.3) rotate(-10deg);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05) rotate(5deg);
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
}

.exit-intent-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.exit-intent-content h3 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.exit-intent-content p {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.highlight {
    color: #ffd700;
    font-weight: 700;
    font-size: 1.2em;
}

.exit-progress {
    margin-bottom: 2rem;
}

.exit-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.exit-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffb300);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.exit-progress-text {
    color: #e1bee7;
    font-size: 0.9rem;
}

.exit-continue-btn {
    background: linear-gradient(45deg, #ffd700, #ffb300);
    color: #4a148c;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    margin-bottom: 1rem;
    width: 100%;
}

.exit-continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.exit-close-btn {
    background: transparent;
    color: #e1bee7;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exit-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* モバイル対応 */
@media (max-width: 480px) {
    .exit-intent-content {
        padding: 1.5rem;
        max-width: 350px;
    }
    
    .exit-intent-content h3 {
        font-size: 1.3rem;
    }
    
    .exit-intent-content p {
        font-size: 1rem;
    }
    
    .exit-continue-btn {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
}

/* 超小画面対応 */
@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
    
    .main-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .hero-content {
        padding: 1rem 0.5rem;
    }
    
    .fortune-teller-intro {
        flex-direction: column;
        gap: 1rem;
    }
    
    .fortune-teller-image {
        width: 100px;
        height: 100px;
    }
    
    .result-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .result-card, .line-promotion {
        padding: 1.2rem;
        border-radius: 12px;
    }
    
    .line-title {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .line-benefits li {
        font-size: 1rem;
        padding: 0.7rem;
        line-height: 1.3;
    }
    
    .cta-button, .line-button, .final-cta-button {
        font-size: 1rem;
        padding: 1.3rem 1.5rem;
        min-height: 56px;
    }
    
    .answer-button {
        padding: 1.3rem 1rem;
        font-size: 0.95rem;
        min-height: 65px;
    }
    
    .question-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .share-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .share-btn {
        width: 100%;
        max-width: 200px;
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .final-cta-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .final-cta-benefits {
        flex-direction: column;
        gap: 1rem;
    }
    
    .benefit {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }
}