/* ========================================
   嚥下体操ページ専用スタイル
======================================== */

/* ページヒーロー - 新海誠風 */
.page-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
    background: linear-gradient(to bottom, #87CEEB 0%, #E0F6FF 50%, #FFE5D0 100%);
}

/* 空のグラデーション */
.page-hero .sky-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        #1e3c72 0%,
        #2a5298 15%,
        #7e8ba3 30%,
        #87CEEB 50%,
        #B4D4E1 70%,
        #FFD6BA 85%,
        #FFA85C 100%
    );
    animation: skyShift 20s ease-in-out infinite;
}

@keyframes skyShift {
    0%, 100% {
        opacity: 0.9;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px);
    }
}

/* 雲 */
.page-hero .clouds {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(ellipse 400px 80px at 20% 30%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(ellipse 500px 100px at 80% 50%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(ellipse 350px 70px at 40% 70%, rgba(255, 255, 255, 0.45), transparent);
    animation: cloudFloat 30s ease-in-out infinite;
}

@keyframes cloudFloat {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(30px);
    }
}

/* 光の粒子キャンバス */
.page-hero .particle-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* ヒーローコンテンツ */
.page-hero .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.page-hero .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-hero .hero-badge i {
    margin-right: 0.5rem;
    color: var(--color-secondary);
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.page-subtitle {
    font-size: 1.8rem;
    opacity: 0.95;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #FFF5E1;
}

.page-hero .hero-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
    opacity: 0.9;
}

.page-hero .hero-description p {
    margin-bottom: 0.8rem;
}

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

/* 導入セクション */
.intro-section {
    padding: 5rem 0;
    background: linear-gradient(
        to bottom,
        #FFF5F0 0%,
        #F0F8FF 50%,
        #FFF8F0 100%
    );
    position: relative;
    overflow: hidden;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 153, 51, 0.05), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(79, 195, 247, 0.05), transparent 40%);
    pointer-events: none;
}

.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.intro-title {
    font-size: 2.3rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.intro-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--color-text-light);
    margin-bottom: 3rem;
}

.intro-benefits {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.intro-benefits .benefit-item {
    text-align: center;
}

.intro-benefits .benefit-item i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.intro-benefits .benefit-item p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

/* 注意事項セクション */
.notice-section {
    padding: 3rem 0;
}

.notice-box {
    background: #FFF4E6;
    border-left: 5px solid var(--color-secondary);
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.notice-box h3 {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notice-list {
    list-style: none;
    padding: 0;
}

.notice-list li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notice-list i {
    color: var(--color-secondary);
    font-size: 1.2rem;
}

/* 体操セクション */
.exercises-section {
    padding: 4rem 0;
    background: var(--color-white);
}

.exercises-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-text-dark);
    position: relative;
    display: inline-block;
    width: 100%;
}

.exercises-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

/* 体操カード */
.exercise-card {
    max-width: 900px;
    margin: 0 auto 3rem;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    position: relative;
    border: 2px solid var(--color-border);
    transition: all var(--transition-normal);
}

.exercise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--color-primary);
}

.exercise-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-sky-deep));
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(74, 159, 216, 0.4);
}

.exercise-title {
    font-size: 1.8rem;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
    padding-left: 70px;
}

.exercise-subtitle {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    padding-left: 70px;
    font-weight: 600;
}

.exercise-steps {
    margin-bottom: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--color-light-gray);
    border-radius: 10px;
}

.step-number {
    min-width: 30px;
    height: 30px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step p {
    margin: 0;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--color-text-dark);
}

.exercise-point {
    background: #E3F2FD;
    border-left: 4px solid var(--color-primary);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    color: var(--color-text-dark);
}

.exercise-point i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.exercise-repeat {
    background: linear-gradient(135deg, #FFE4B5, #FFD7A8);
    padding: 1.25rem;
    border-radius: 10px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.exercise-repeat i {
    color: var(--color-secondary);
    font-size: 1.3rem;
}

/* ダウンロードセクション */
.download-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--color-sky-light), #FFF8F0);
}

.download-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--color-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.download-box h2 {
    font-size: 2rem;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.download-box h2 i {
    color: #d32f2f;
    font-size: 2rem;
}

.download-box p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #d32f2f, #c62828);
    color: var(--color-white);
    padding: 1.25rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    box-shadow: 0 6px 25px rgba(211, 47, 47, 0.3);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(211, 47, 47, 0.4);
}

.btn-download i {
    font-size: 1.3rem;
}

/* CTAセクション */
.cta-section {
    padding: 4rem 0;
    background: var(--color-white);
    text-align: center;
}

.cta-title {
    font-size: 2.2rem;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .page-hero {
        min-height: 60vh;
        padding: 6rem 1.5rem 3rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.3rem;
    }
    
    .page-hero .hero-description {
        font-size: 1rem;
    }
    
    .intro-title {
        font-size: 1.8rem;
    }
    
    .intro-benefits {
        gap: 2rem;
    }
    
    .exercise-card {
        padding: 2rem 1.5rem;
    }
    
    .exercise-number {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        top: -15px;
        left: 20px;
    }
    
    .exercise-title {
        font-size: 1.5rem;
        padding-left: 0;
        padding-top: 30px;
    }
    
    .exercise-subtitle {
        font-size: 1rem;
        padding-left: 0;
    }
    
    .step {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .page-hero {
        min-height: 50vh;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .page-hero .hero-description {
        font-size: 0.95rem;
    }
    
    .intro-title {
        font-size: 1.6rem;
    }
    
    .exercise-card {
        padding: 1.5rem 1rem;
    }
    
    .download-box {
        padding: 2rem 1.5rem;
    }
}