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

:root {
    --primary-blue: #2563eb;
    --dark-blue: #1e40af;
    --light-gray: #f8f9fa;
    --medium-gray: #e5e7eb;
    --text-black: #1f2937;
    --text-gray: #6b7280;
    --white: #ffffff;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-black);
    background: var(--white);
    font-size: 16px;
}

/* ========================================
   共通コンポーネント
   ======================================== */
.section {
    padding: 60px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gray-section {
    background: var(--light-gray);
}

.container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.3;
}

.subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 15px;
    margin: 24px 0;
    line-height: 1.8;
}

/* ボタン */
.btn-primary {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.3);
}

.btn-small {
    display: inline-block;
    background: var(--white);
    color: var(--primary-blue);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
    margin-top: 16px;
}

.btn-small:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* ========================================
   セクション1: ヒーロー
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.hero-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.2;
    color: var(--text-black);
}

.hero-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 48px;
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.point-card {
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.point-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.point-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.point-card h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

/* ========================================
   セクション2: 母数の威力
   ======================================== */
.big-number-box {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 20px;
    box-shadow: var(--shadow-lg);
    margin: 32px 0;
}

.calculation {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 2;
}

.calculation .num {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-blue);
    display: inline-block;
}

.calculation .num.result {
    font-size: 56px;
    color: var(--dark-blue);
}

.calculation .operator {
    font-size: 32px;
    color: var(--text-gray);
    font-weight: 600;
}

/* カレンダー図 */
.calendar-visual {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: var(--shadow);
}

.calendar-title {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    background: var(--light-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: relative;
}

.calendar-day.active {
    background: var(--primary-blue);
}

.calendar-day .dots {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 4px;
}

.calendar-day .dot {
    width: 4px;
    height: 4px;
    background: var(--white);
    border-radius: 50%;
}

/* ========================================
   セクション3: ファネル図
   ======================================== */
.funnel-container {
    margin: 32px 0;
}

.funnel-step {
    margin: 0 auto;
    width: var(--width);
    transition: width 0.3s ease;
}

.funnel-bar {
    background: var(--primary-blue);
    color: var(--white);
    padding: 20px 16px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.funnel-bar.final {
    background: var(--dark-blue);
}

.funnel-label {
    font-size: 15px;
    font-weight: 600;
}

.funnel-number {
    font-size: 28px;
    font-weight: 800;
}

.funnel-arrow {
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

/* ========================================
   セクション4: 比較
   ======================================== */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 32px 0;
}

.comparison-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.comparison-card.highlight {
    border: 2px solid var(--primary-blue);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.comparison-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.comparison-metric {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.comparison-rate {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-black);
    margin-bottom: 16px;
}

.comparison-rate.improved {
    color: var(--primary-blue);
}

.comparison-bar {
    height: 12px;
    background: var(--light-gray);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
}

.bar-fill {
    height: 100%;
    background: var(--text-gray);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.bar-fill.improved {
    background: var(--primary-blue);
}

.comparison-result {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-black);
}

.comparison-result span {
    color: var(--primary-blue);
    font-size: 20px;
}

/* ========================================
   セクション5: 今日やること
   ======================================== */
.checklist {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
    margin: 32px 0;
}

.checklist-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--light-gray);
}

.checklist-item:last-child {
    border-bottom: none;
}

.check-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    margin-right: 16px;
    flex-shrink: 0;
}

.check-text {
    font-size: 16px;
    font-weight: 500;
}

.action-motto {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-black);
    margin: 32px 0;
    line-height: 1.8;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-buttons .btn-primary {
    width: 100%;
}

/* ========================================
   セクション6: よくある勘違い
   ======================================== */
.mistake-list {
    margin: 32px 0;
}

.mistake-item {
    display: flex;
    gap: 16px;
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}

.mistake-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.mistake-text strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-black);
}

.mistake-text p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========================================
   レスポンシブ（タブレット以上）
   ======================================== */
@media (min-width: 640px) {
    .section {
        padding: 80px 40px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .calculation {
        font-size: 22px;
    }
    
    .calculation .num {
        font-size: 64px;
    }
    
    .calculation .num.result {
        font-size: 72px;
    }
    
    .comparison-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .action-buttons {
        flex-direction: row;
    }
}