/* ============================================================
 * AiTone 画面固有スタイルシート
 * ============================================================ */

/* --- index.html: 横スクロール防止 --- */
body { overflow-x: hidden; }

/* --- index.html: ヒーローエリアアニメーション --- */
@keyframes fullScreenWave {
    0%   { height: 15%; opacity: 0.1; }
    50%  { height: 95%; opacity: 0.3; }
    100% { height: 15%; opacity: 0.1; }
}
.wave-full {
    border-radius: 8px 8px 0 0;
    animation: fullScreenWave infinite ease-in-out;
    will-change: height, opacity;
    flex: 1;
    margin: 0 4px;
}
.wave-full:nth-child(4n+1) { animation-duration: 2.1s; }
.wave-full:nth-child(4n+2) { animation-duration: 2.8s; }
.wave-full:nth-child(4n+3) { animation-duration: 2.4s; }
.wave-full:nth-child(4n)   { animation-duration: 1.9s; }

/* --- index.html: セクションタイトル装飾 --- */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background-color: #f97316;
    border-radius: 3px;
}

/* --- index.html: フィーチャーカード --- */
.feature-card { transition: transform 0.2s ease; }
.feature-card:hover { transform: translateY(-4px); }

/* --- index.html: 明るい未来セクション背景 --- */
.bg-bright-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 50%, #fff7ed 100%);
}

/* --- app.html: フェードインアニメーション --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- app.html: スクロールインジケーター --- */
.scroll-indicator { animation: bounce 2s infinite; }
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* --- app.html: スクロール連動セクション --- */
.sticky-container { height: 400vh; }

/* --- app.html: iPhoneモックアップ --- */
#phone-mockup {
    will-change: transform, opacity;
    transition: transform 0.1s ease-out, opacity 0.5s ease-out;
    opacity: 0.15;
}

/* --- app.html: 音響リングアニメーション --- */
.acoustic-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid rgba(13, 148, 136, 0.2);
    animation: expand-fade 4s infinite cubic-bezier(0.1, 0.8, 0.3, 1);
}
@keyframes expand-fade {
    0%   { transform: scale(1);  opacity: 0.8; }
    100% { transform: scale(10); opacity: 0; border-width: 0px; }
}

/* --- howlisten.html: ステップ番号 --- */
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background-color: #0d9488;
    color: white;
    font-weight: bold;
    margin-right: 0.75rem;
}

/* --- howlisten.html: 周波数バッジ --- */
.hz-badge {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    background-color: #e0f2fe;
    color: #0369a1;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
    font-family: monospace;
    border: 1px solid #bae6fd;
}

/* --- howlisten.html: 専門用語装飾 --- */
.tech-word {
    font-weight: bold;
    color: #0f766e;
    border-bottom: 1px dashed #0f766e;
}

/* --- knowledge.html: 疾患カード --- */
.disease-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.disease-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
