/* ========================================
   リセット & ベーススタイル
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ========================================
   画像コンテナ - 共通スタイル
======================================== */
.hero-image-container,
.section-image-container {
    width: 100%;
    margin: 0 auto;
    background-color: #f8f9fa;
}

.hero-image-container img,
.section-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ========================================
   セクション共通スタイル
======================================== */
section {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ヒーローセクション */
.hero-section {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* お悩みセクション */
.concerns-section {
    width: 100%;
    background-color: #f5f5f5;
}

/* ソリューションセクション */
.solution-section {
    width: 100%;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

/* ポイントセクション */
.point-section {
    width: 100%;
    background-color: #fff;
}

/* お客様の声セクション */
.testimonial-section {
    width: 100%;
    background-color: #fefefe;
}

/* 実績セクション */
.achievement-section {
    width: 100%;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

/* 申し込みセクション */
.application-section {
    width: 100%;
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}

/* 特典セクション */
.benefits-section {
    width: 100%;
    background: linear-gradient(135deg, #ffd1dc 0%, #ffe4e1 100%);
}

/* ZOOMセッションセクション */
.zoom-session-section {
    width: 100%;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

/* FAQセクション */
.faq-section {
    width: 100%;
    background: linear-gradient(135deg, #dfe9f3 0%, #ffffff 100%);
}

/* オンラインセクション */
.online-section {
    width: 100%;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

/* 講師紹介セクション */
.instructor-section {
    width: 100%;
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
}

/* 最終実績セクション */
.final-achievement-section {
    width: 100%;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

/* ========================================
   画像リンクスタイル
======================================== */
.section-image-container a {
    display: block;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.section-image-container a:hover {
    opacity: 0.95;
}

.section-image-container a img {
    transition: transform 0.3s ease;
}

.section-image-container a:hover img {
    transform: scale(1.01);
}

/* ========================================
   フッター
======================================== */
.footer {
    width: 100%;
    padding: 40px 20px;
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* ========================================
   レスポンシブデザイン - タブレット
======================================== */
@media screen and (max-width: 1024px) {
    html {
        font-size: 15px;
    }
}

/* ========================================
   レスポンシブデザイン - スマートフォン
======================================== */
@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .footer {
        padding: 30px 15px;
    }

    .footer-content p {
        font-size: 0.8rem;
    }
}

/* ========================================
   レスポンシブデザイン - 小型スマートフォン
======================================== */
@media screen and (max-width: 480px) {
    html {
        font-size: 13px;
    }

    .footer {
        padding: 25px 10px;
    }
}

/* ========================================
   パフォーマンス最適化
======================================== */

/* 画像の遅延読み込み最適化 */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* スクロールパフォーマンス向上 */
@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}

/* GPUアクセラレーション */
.hero-image-container,
.section-image-container {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ========================================
   印刷スタイル
======================================== */
@media print {
    .cta-section,
    .footer {
        display: none;
    }

    body {
        background: white;
    }

    section {
        page-break-inside: avoid;
    }
}