body {
    background-color: #0f172a;
    color: #f8fafc;
    overflow-x: hidden;
}

.hero-bg {
    background-image: url('../images/CDC_main_visual.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* スマホ表示時の調整 */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll; /* モバイルでの表示不具合を回避 */
    }
    header h1 {
        font-size: 1.1rem !important; /* スマホでは文字サイズを少し小さくして収まりを良くする */
        display: block !important;     /* 強制的に表示させる */
    }
}

.glass-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.water-drop {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 54% 46% 42% 58% / 60% 38% 62% 40%;
    box-shadow: 
        inset 10px 10px 10px rgba(0, 0, 0, 0.05),
        inset -5px -5px 10px rgba(255, 255, 255, 0.6),
        5px 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
    z-index: 20;
    pointer-events: none;
}

.water-drop::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 20%;
    height: 20%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    filter: blur(1px);
}

.shimmer-text {
    background: linear-gradient(90deg, #ffffff 0%, #b3e5fc 50%, #ffffff 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}