/* スマートフォン対応 - コントラスト改善用スタイル */

/* ヒーローセクションの背景を強制的に変更 */
.hero, .expanded-hero {
    background: linear-gradient(135deg, #E10080 0%, #9c27b0 100%) !important;
    position: relative !important;
}

/* テスト開始ボタンを強調 */
.test-button {
    background: linear-gradient(135deg, #E10080, #9c27b0) !important;
    box-shadow: 0 6px 12px rgba(225, 0, 128, 0.35) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* オーバーレイを強制的に追加 */
.hero::before, .expanded-hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: rgba(0, 0, 0, 0.35) !important; /* より濃い黒のオーバーレイ */
    z-index: 0 !important;
}

/* 波模様の背景を調整 */
.hero::after, .expanded-hero::after {
    opacity: 0.3 !important; /* より透明に */
}

/* ヒーローコンテンツを前面に */
.hero-content {
    position: relative !important;
    z-index: 5 !important; /* 確実に前面に */
}

/* テキストをより読みやすく */
.hero h1, .expanded-hero h1 {
    color: white !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5) !important;
    font-weight: 800 !important;
}

.hero-description {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    font-weight: 500 !important;
}

/* テスト開始ボタンを強調 */
.test-button {
    background: linear-gradient(135deg, #e91e63, #9c27b0) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* モバイル専用の調整 */
@media (max-width: 768px) {
    .hero h1, .expanded-hero h1 {
        font-size: 2.5rem !important;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
    }
    
    .hero-description {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
    }
    
    /* スマホではさらに背景を暗く */
    .hero::before, .expanded-hero::before {
        background-color: rgba(0, 0, 0, 0.4) !important;
    }
    
    /* ボタンをさらに目立たせる */
    .test-button {
        padding: 1.2rem 3rem !important;
        font-size: 1.3rem !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
    }
}