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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ================================================
   コンテナ
   ================================================ */
.container {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================================
   セクション共通
   ================================================ */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 40px;
}

/* ================================================
   CTAボタン
   ================================================ */
.cta-button {
    display: inline-block;
    width: 100%;
    max-width: 400px;
    padding: 20px 30px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button-large {
    font-size: 20px;
    padding: 22px 40px;
}

/* ================================================
   ファーストビュー
   ================================================ */
.hero {
    background: linear-gradient(180deg, #E8F4FF 0%, #F5FBFF 50%, #fff 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 30px;
}

.hero-subtitle strong {
    color: #4A90E2;
    font-weight: 700;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    font-size: 15px;
    color: #666;
}

.hero .cta-button {
    margin: 0 auto;
}

/* ================================================
   共感セクション
   ================================================ */
.empathy {
    background-color: #FAFCFF;
}

.concern-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.concern-item {
    background-color: #fff;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.concern-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.concern-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.empathy-summary {
    font-size: 16px;
    line-height: 1.9;
    text-align: center;
    color: #555;
}

.empathy-summary strong {
    color: #4A90E2;
    font-weight: 700;
}

/* ================================================
   解決策セクション
   ================================================ */
.solution {
    background-color: #fff;
}

.solution-text {
    font-size: 18px;
    line-height: 1.9;
    text-align: center;
    color: #555;
    margin-bottom: 30px;
}

.solution-text strong {
    color: #4A90E2;
    font-weight: 700;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 320px;
    margin: 0 auto;
}

.solution-features li {
    font-size: 17px;
    color: #4A90E2;
    font-weight: 500;
    padding-left: 10px;
}

/* ================================================
   診断でわかること
   ================================================ */
.benefits {
    background-color: #E8F4FF;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefits-list li {
    background-color: #fff;
    border-radius: 16px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.benefits-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.benefits-list span:last-child {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* ================================================
   診断ジャンル
   ================================================ */
.genres {
    background-color: #fff;
}

.genre-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.genre-card {
    background: linear-gradient(135deg, #F5FBFF 0%, #E8F4FF 100%);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.genre-card:hover {
    transform: translateY(-4px);
}

.genre-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.genre-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.genre-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* ================================================
   診断後の流れ
   ================================================ */
.flow {
    background-color: #FAFCFF;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 30px;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h3 {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.7;
    color: #333;
}

.flow-note {
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    color: #666;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
}

/* ================================================
   運営者・世界観
   ================================================ */
.philosophy {
    background-color: #fff;
}

.philosophy-text {
    font-size: 16px;
    line-height: 1.9;
    text-align: center;
    color: #555;
}

/* ================================================
   ラストCTA
   ================================================ */
.final-cta {
    background: linear-gradient(180deg, #E8F4FF 0%, #F5FBFF 100%);
    padding: 80px 0;
    text-align: center;
}

.final-cta .cta-button {
    margin: 0 auto;
}

/* ================================================
   フッター
   ================================================ */
.footer {
    background-color: #f8f9fa;
    padding: 30px 0;
    text-align: center;
}

.footer p {
    font-size: 13px;
    color: #999;
}

/* ================================================
   タブレット以上
   ================================================ */
@media (min-width: 768px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .concern-list {
        flex-direction: row;
        gap: 16px;
    }

    .concern-item {
        flex: 1;
    }

    .genre-cards {
        grid-template-columns: repeat(4, 1fr);
    }

    .flow-steps {
        gap: 30px;
    }
}

/* ================================================
   アニメーション
   ================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero,
.empathy,
.solution,
.benefits,
.genres,
.flow,
.philosophy,
.final-cta {
    animation: fadeInUp 0.6s ease-out;
}
