* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0f;
    background-image: 
        radial-gradient(ellipse at top, #1a1a3e 0%, transparent 50%),
        radial-gradient(ellipse at bottom, #0f0f2e 0%, transparent 50%);
    color: #e0e0f0;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

body.breathing-active {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

body.breathing-active header,
body.breathing-active .stats,
body.breathing-active .duration-selector label {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(138, 97, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(97, 155, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 40% 20%, rgba(167, 139, 250, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(97, 155, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 15% 60%, rgba(138, 97, 255, 0.06) 0%, transparent 45%);
    pointer-events: none;
    animation: plasma-wave 30s ease-in-out infinite;
    mix-blend-mode: screen;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes plasma-wave {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1);
        filter: blur(40px);
    }
    20% { 
        transform: translate(-30px, 20px) rotate(45deg) scale(1.1);
        filter: blur(50px);
    }
    40% { 
        transform: translate(40px, -10px) rotate(90deg) scale(0.9);
        filter: blur(45px);
    }
    60% { 
        transform: translate(-20px, -30px) rotate(180deg) scale(1.15);
        filter: blur(55px);
    }
    80% { 
        transform: translate(25px, 15px) rotate(270deg) scale(0.95);
        filter: blur(42px);
    }
}

.container {
    width: 100%;
    min-height: 100vh;
    padding: 20px 20px 20px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #a78bfa 0%, #619bff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(167, 139, 250, 0.5);
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: rgba(224, 224, 240, 0.8);
    margin: 0;
    opacity: 0.9;
}

main {
    padding: 20px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
}

.breathing-area {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 20px;
    transition: all 0.5s ease;
    z-index: 1;
}

body.breathing-active .breathing-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.breathing-area::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }
}

.breathing-circle {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px rgba(138, 97, 255, 0.8))
            drop-shadow(0 0 60px rgba(138, 97, 255, 0.5))
            drop-shadow(0 0 90px rgba(97, 155, 255, 0.3));
    transition: all 0.5s ease;
    will-change: transform; /* GPU acceleration */
}

body.breathing-active .breathing-circle {
    width: min(80vw, 80vh);
    height: min(80vw, 80vh);
    position: relative;
    filter: drop-shadow(0 0 40px rgba(138, 97, 255, 1))
            drop-shadow(0 0 80px rgba(138, 97, 255, 0.7))
            drop-shadow(0 0 120px rgba(97, 155, 255, 0.5));
    animation: neon-pulse 4s ease-in-out infinite;
}

@keyframes neon-pulse {
    0% {
        filter: drop-shadow(0 0 40px rgba(138, 97, 255, 1))
                drop-shadow(0 0 80px rgba(138, 97, 255, 0.7))
                drop-shadow(0 0 120px rgba(97, 155, 255, 0.5));
    }
    25% {
        filter: drop-shadow(2px -2px 45px rgba(138, 97, 255, 0.9))
                drop-shadow(-2px 2px 90px rgba(138, 97, 255, 0.8))
                drop-shadow(0 0 130px rgba(97, 155, 255, 0.55));
    }
    50% {
        filter: drop-shadow(-3px 0 50px rgba(138, 97, 255, 1))
                drop-shadow(3px 0 100px rgba(138, 97, 255, 0.75))
                drop-shadow(0 0 150px rgba(97, 155, 255, 0.6));
    }
    75% {
        filter: drop-shadow(1px 3px 42px rgba(138, 97, 255, 0.95))
                drop-shadow(-1px -3px 85px rgba(138, 97, 255, 0.72))
                drop-shadow(0 0 125px rgba(97, 155, 255, 0.52));
    }
    100% {
        filter: drop-shadow(0 0 40px rgba(138, 97, 255, 1))
                drop-shadow(0 0 80px rgba(138, 97, 255, 0.7))
                drop-shadow(0 0 120px rgba(97, 155, 255, 0.5));
    }
}

.breathing-circle circle {
    fill: none;
    stroke: url(#circleGradient);
    stroke-width: 3;
    transition: r 0.3s ease-out;
    opacity: 1;
    filter: brightness(1.2);
    will-change: r, filter; /* GPU acceleration for smooth animation */
    animation: neon-flicker 8s ease-in-out infinite;
}

@keyframes neon-flicker {
    0%, 100% {
        opacity: 1;
        filter: brightness(1.2) blur(0px);
    }
    5% {
        opacity: 0.98;
        filter: brightness(1.25) blur(0.2px);
    }
    10% {
        opacity: 1;
        filter: brightness(1.15) blur(0px);
    }
    15% {
        opacity: 0.99;
        filter: brightness(1.3) blur(0.1px);
    }
    20% {
        opacity: 1;
        filter: brightness(1.2) blur(0px);
    }
    50% {
        opacity: 0.97;
        filter: brightness(1.22) blur(0.15px);
    }
    80% {
        opacity: 1;
        filter: brightness(1.18) blur(0px);
    }
    90% {
        opacity: 0.99;
        filter: brightness(1.28) blur(0.1px);
    }
}

.phase-text {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: #c8b6ff; /* Better contrast */
    text-transform: uppercase;
    opacity: 1;
    transition: opacity 0.3s ease, color 0.3s ease; /* Optimize transitions */
    z-index: 1;
}

body.breathing-active .phase-text {
    font-size: 2rem;
    color: #d8cfff; /* Better contrast for readability */
    top: 42%;
}

.countdown-text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 100;
    color: rgba(224, 224, 240, 0.9);
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 1;
}

body.breathing-active .countdown-text {
    font-size: 3.5rem;
    color: #ffffff;
    top: 58%;
}

/* 開始前は非表示 */
.breathing-area:not(.active) .phase-text,
.breathing-area:not(.active) .countdown-text {
    opacity: 0;
}

.controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
}

.duration-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0.9;
}

.duration-selector label {
    font-weight: 300;
    letter-spacing: 1px;
    color: #c8b6ff; /* Better contrast */
    font-size: 0.875rem;
}

.duration-buttons {
    display: flex;
    gap: 8px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.duration-buttons:hover {
    opacity: 1;
}

.duration-btn {
    padding: 6px 16px;
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 15px;
    font-size: 0.875rem;
    background: transparent;
    color: rgba(224, 224, 240, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 300;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.duration-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.duration-btn:hover {
    border-color: rgba(167, 139, 250, 0.6);
    color: #ffffff;
    text-shadow: 0 0 8px rgba(167, 139, 250, 0.6);
    box-shadow: 
        0 0 15px rgba(167, 139, 250, 0.4),
        inset 0 0 15px rgba(167, 139, 250, 0.1);
}

.duration-btn:hover::before {
    width: 100px;
    height: 100px;
}

.duration-btn.active {
    background: rgba(167, 139, 250, 0.15);
    border-color: rgba(167, 139, 250, 0.6);
    color: #ffffff;
    box-shadow: 
        0 0 20px rgba(167, 139, 250, 0.5),
        inset 0 0 10px rgba(167, 139, 250, 0.2);
    animation: button-glow 2s ease-in-out infinite;
}

@keyframes button-glow {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(167, 139, 250, 0.5),
            inset 0 0 10px rgba(167, 139, 250, 0.2);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(167, 139, 250, 0.7),
            inset 0 0 15px rgba(167, 139, 250, 0.3);
    }
}

.duration-btn:focus {
    outline: none;
}

body.breathing-active .duration-buttons {
    opacity: 0.3;
}

.primary-btn {
    padding: 0;
    font-size: 0;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    position: absolute;
    overflow: hidden;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
}

.primary-btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    background: transparent;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.primary-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

body.breathing-active .primary-btn {
    position: fixed;
    bottom: 40px;
    left: 50%;
    top: auto;
    transform: translateX(-50%);
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    width: 60px;
    height: 60px;
    pointer-events: auto;
}

body.breathing-active .primary-btn:hover {
    transform: translateX(-50%) scale(1.1);
    background: rgba(255, 255, 255, 1);
}

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
    background: rgba(20, 20, 40, 0.4);
    border-radius: 15px;
    padding: 15px 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
}

.stats::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(167, 139, 250, 0.3) 50%, transparent 100%);
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: #c8b6ff; /* Better contrast ratio */
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1; /* Remove opacity for better contrast */
    font-weight: 400;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 300;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* 再生アイコン（三角形） */
.primary-btn .icon-play {
    width: 0;
    height: 0;
    border-left: 15px solid #000000;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 3px;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* 一時停止アイコン（2本の縦線） */
.primary-btn .icon-pause {
    width: 16px;
    height: 20px;
    position: relative;
    pointer-events: none;
}

.primary-btn .icon-pause::before,
.primary-btn .icon-pause::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 20px;
    background-color: #000000;
    transition: all 0.3s ease;
}

.primary-btn .icon-pause::before {
    left: 0;
}

.primary-btn .icon-pause::after {
    right: 0;
}

/* 初期状態で一時停止アイコンを非表示 */
.primary-btn:not(.stop) .icon-pause {
    display: none;
}

/* 停止状態でアイコンを切り替え */
.primary-btn.stop .icon-play {
    display: none;
}

.primary-btn.stop .icon-pause {
    display: block;
}

/* ホバー時のエフェクト */
.primary-btn:hover .icon-play {
    border-left-color: #333333;
}

.primary-btn:hover .icon-pause::before,
.primary-btn:hover .icon-pause::after {
    background-color: #333333;
}

/* プラズマパーティクル */
.plasma-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.plasma-particles::before,
.plasma-particles::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.1) 0%, transparent 70%);
    filter: blur(60px);
}

.plasma-particles::before {
    top: -150px;
    left: -150px;
    animation: plasma-drift-1 25s ease-in-out infinite;
}

.plasma-particles::after {
    bottom: -150px;
    right: -150px;
    background: radial-gradient(circle, rgba(97, 155, 255, 0.1) 0%, transparent 70%);
    animation: plasma-drift-2 30s ease-in-out infinite;
}

@keyframes plasma-drift-1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(200px, 100px) scale(1.2);
    }
    50% {
        transform: translate(100px, 300px) scale(0.9);
    }
    75% {
        transform: translate(300px, 200px) scale(1.1);
    }
}

@keyframes plasma-drift-2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(-150px, -200px) scale(0.95);
    }
    50% {
        transform: translate(-250px, -100px) scale(1.15);
    }
    75% {
        transform: translate(-100px, -250px) scale(1.05);
    }
}

/* パーティクルエフェクト */
@keyframes particle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* レスポンシブデザイン */
@media (max-width: 480px) {
    .container {
        padding: 10px;
        min-height: 100svh;
    }
    
    main {
        padding: 20px 15px;
    }
    
    .breathing-area {
        width: 300px;
        height: 300px;
    }
    
    h1 {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }
    
    .countdown-text {
        font-size: 2.5rem;
    }
    
    .stats {
        gap: 15px;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
}

/* アクセシビリティ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* フォーカススタイル */
.primary-btn:focus,
.duration-btn:focus,
.scroll-to-top:focus {
    outline: 2px solid #d8cfff;
    outline-offset: 4px;
}

.social-link:focus {
    outline: 2px solid #d8cfff;
    outline-offset: 2px;
}

/* 高コントラストモードのサポート */
@media (prefers-contrast: high) {
    .stat-label,
    .phase-text,
    .duration-selector label {
        color: #ffffff;
    }
    
    .primary-btn,
    .duration-btn {
        border-width: 3px;
    }
}

/* 健康効果セクション */
.benefits-section {
    margin-top: 80px;
    padding: 60px 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.benefits-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-indicator {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(167, 139, 250, 0.8);
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
}

.scroll-indicator span {
    font-size: 0.875rem;
    letter-spacing: 1px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.benefits-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #a78bfa 0%, #619bff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.benefit-card {
    background: rgba(30, 30, 50, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: left;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.benefit-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ホバー効果を削除（モバイルではクリックできないため） */

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    text-align: center;
    display: block;
    transition: transform 0.3s ease;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #c8b6ff; /* Better contrast */
    text-align: center;
}

.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(224, 224, 240, 0.9);
    font-weight: 300;
}

.science-section {
    background: rgba(30, 30, 50, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
}

.science-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.science-section h3 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #a78bfa;
}

.science-section p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(224, 224, 240, 0.9);
}

.science-section ul {
    list-style: none;
    padding-left: 0;
}

.science-section li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(224, 224, 240, 0.9);
    text-align: left;
}

.science-section li::before {
    content: "✓";
    position: absolute;
    left: 10px;
    color: #619bff;
    font-weight: bold;
    font-size: 1.1rem;
}

.cta-section {
    text-align: center;
    margin-top: 60px;
    opacity: 0;
    transform: translateY(30px);
}

.cta-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 20px;
    color: rgba(224, 224, 240, 0.9);
    letter-spacing: 1px;
}

.scroll-to-top {
    padding: 12px 48px;
    font-size: 1.125rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: white;
    background: linear-gradient(135deg, #8a61ff 0%, #619bff 100%);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    box-shadow: 
        0 4px 20px rgba(138, 97, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.scroll-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 30px rgba(138, 97, 255, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* スクロールアニメーションのタイミング */
.benefit-card:nth-child(1) { transition-delay: 0.1s; }
.benefit-card:nth-child(2) { transition-delay: 0.2s; }
.benefit-card:nth-child(3) { transition-delay: 0.3s; }
.benefit-card:nth-child(4) { transition-delay: 0.4s; }
.benefit-card:nth-child(5) { transition-delay: 0.5s; }
.benefit-card:nth-child(6) { transition-delay: 0.6s; }

.science-section { transition-delay: 0.7s; }
.cta-section { transition-delay: 0.8s; }

/* 詳細な健康効果のスタイル */
.benefit-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(167, 139, 250, 0.2);
}

.benefit-details h4 {
    font-size: 1rem;
    font-weight: 500;
    color: #619bff;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.benefit-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.benefit-details li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(224, 224, 240, 0.85);
    text-align: left;
}

.benefit-details li::before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #619bff;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.4;
}

.research-note {
    font-size: 0.825rem;
    color: #a78bfa;
    font-style: italic;
    margin-top: 10px;
    padding: 10px;
    background: rgba(167, 139, 250, 0.1);
    border-radius: 10px;
    line-height: 1.5;
}

/* 研究タイムライン */
.research-timeline {
    margin: 30px 0;
}

.research-timeline h4 {
    font-size: 1.25rem;
    color: #a78bfa;
    margin-bottom: 20px;
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-left: 2px solid rgba(167, 139, 250, 0.3);
}

.timeline-item:last-child {
    border-left: none;
}

.timeline-item .year {
    position: absolute;
    left: -10px;
    top: 0;
    background: #1a1a3e;
    color: #619bff;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.875rem;
    box-shadow: 0 0 20px rgba(97, 155, 255, 0.3);
}

.timeline-item p {
    margin: 0;
    line-height: 1.6;
}

.timeline-item strong {
    color: #a78bfa;
}

/* メカニズム詳細 */
.mechanism-detail {
    margin-top: 30px;
    padding: 25px;
    background: rgba(30, 30, 50, 0.3);
    border-radius: 15px;
}

.mechanism-detail h4 {
    color: #619bff;
    margin-bottom: 15px;
}

.mechanism-detail ul {
    margin-top: 15px;
}

.mechanism-detail li strong {
    color: #a78bfa;
}

/* 鼻呼吸の詳細セクション */
.nasal-breathing-detail {
    margin-top: 30px;
    padding: 25px;
    background: rgba(97, 155, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(97, 155, 255, 0.2);
}

.nasal-breathing-detail h4 {
    color: #619bff;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.nasal-breathing-detail p {
    margin-bottom: 15px;
}

.nasal-breathing-detail ul {
    margin-top: 15px;
}

.nasal-breathing-detail li {
    margin-bottom: 15px;
    line-height: 1.8;
}

.nasal-breathing-detail li strong {
    color: #a78bfa;
    display: inline-block;
    margin-bottom: 3px;
}

.nasal-breathing-detail .research-note {
    margin-top: 20px;
    padding: 15px;
    background: rgba(167, 139, 250, 0.15);
    border-left: 3px solid #a78bfa;
}

/* 実践のコツセクション */
.practical-tips {
    background: rgba(30, 30, 50, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    opacity: 0;
    transform: translateY(30px);
}

.practical-tips.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.practical-tips h3 {
    font-size: 1.75rem;
    color: #a78bfa;
    margin-bottom: 30px;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.tip-card {
    background: rgba(20, 20, 40, 0.6);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(97, 155, 255, 0.2);
    transition: all 0.3s ease;
}

/* .tip-card:hover 効果を削除 */

.tip-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #619bff;
}

.tip-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 進行ガイドテーブル */
.progression-guide {
    margin-top: 30px;
}

.progression-guide h4 {
    font-size: 1.25rem;
    color: #619bff;
    margin-bottom: 20px;
}

.progression-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(20, 20, 40, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.progression-table th {
    background: rgba(167, 139, 250, 0.2);
    color: #ffffff;
    padding: 12px;
    text-align: left;
    font-weight: 500;
    font-size: 0.9rem;
}

.progression-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(167, 139, 250, 0.1);
    font-size: 0.875rem;
}

.progression-table tr:last-child td {
    border-bottom: none;
}

/* .progression-table tr:hover 効果を削除 */

/* 利用例セクション */
.use-cases-section {
    margin: 40px 0;
    opacity: 0;
    transform: translateY(30px);
}

.use-cases-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.use-cases-section h3 {
    font-size: 1.75rem;
    color: #a78bfa;
    margin-bottom: 30px;
    text-align: center;
}

.use-case-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.use-case {
    background: rgba(30, 30, 50, 0.5);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(167, 139, 250, 0.2);
    transition: all 0.3s ease;
}

/* .use-case:hover 効果を削除 */

.use-case h4 {
    font-size: 1.1rem;
    color: #619bff;
    margin-bottom: 10px;
}

.use-case p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(224, 224, 240, 0.9);
}

/* FAQセクション */
.faq-section {
    margin: 40px 0;
    opacity: 0;
    transform: translateY(30px);
}

.faq-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.faq-section h3 {
    font-size: 1.75rem;
    color: #a78bfa;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    background: rgba(30, 30, 50, 0.4);
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid rgba(167, 139, 250, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* .faq-item:hover 効果を削除 */

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 500;
    color: #619bff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 20px 20px;
    line-height: 1.6;
    color: rgba(224, 224, 240, 0.9);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        letter-spacing: 3px;
    }
    
    .benefits-section {
        margin-top: 60px;
        padding: 40px 15px;
    }
    
    .benefits-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-card {
        padding: 25px;
    }
    
    .science-section {
        padding: 30px 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .progression-table {
        font-size: 0.8rem;
    }
    
    .progression-table th,
    .progression-table td {
        padding: 8px;
    }
    
    .testimonial-cards {
        grid-template-columns: 1fr;
    }
    
    .practical-tips,
    .testimonials-section,
    .faq-section {
        padding: 30px 20px;
    }
}/* 製作者セクション */
.creator-section {
    margin-top: 80px;
    padding: 60px 20px;
    background: rgba(20, 20, 40, 0.6);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(167, 139, 250, 0.2);
}

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

.creator-section h3 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #a78bfa 0%, #619bff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.creator-info {
    margin-bottom: 40px;
}

.creator-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.creator-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(167, 139, 250, 0.3);
    box-shadow: 0 0 30px rgba(167, 139, 250, 0.3);
}

.creator-details {
    text-align: left;
    max-width: 500px;
}

.creator-details h4 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #a78bfa;
    margin-bottom: 5px;
}

.creator-title {
    font-size: 1rem;
    color: #619bff;
    margin-bottom: 15px;
    font-weight: 300;
}

.creator-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(224, 224, 240, 0.9);
}

.creator-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.3);
    color: #a78bfa;
    transition: all 0.3s ease;
}

/* .social-link:hover 効果を削除（モバイル対応） */

.social-link svg {
    width: 24px;
    height: 24px;
}

.project-info {
    padding-top: 30px;
    border-top: 1px solid rgba(167, 139, 250, 0.2);
}

.project-note {
    font-size: 0.9rem;
    color: rgba(224, 224, 240, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.copyright {
    font-size: 0.875rem;
    color: rgba(224, 224, 240, 0.6);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .creator-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .creator-details {
        text-align: center;
    }
}
