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

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー・ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.hero-banner {
    margin-bottom: 30px;
}

.banner-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* カウントダウンタイマー */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.countdown-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    min-width: 100px;
    backdrop-filter: blur(10px);
}

.countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: #ff6b35;
}

.countdown-label {
    display: block;
    font-size: 1rem;
    color: #fff;
    margin-top: 5px;
}

/* 特典セクション */
.benefits {
    background-color: #fff;
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefit-icon svg {
    width: 60px;
    height: 60px;
    color: #ff6b35;
    transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon svg {
    transform: scale(1.1);
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.benefit-item p {
    color: #666;
}

/* コースセクション */
.courses-section {
    padding: 60px 20px;
    background-color: #fff;
}

.courses-section.alt-bg {
    background-color: #f9f9f9;
}

.category-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 15px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    border-radius: 2px;
}

/* コースグリッド - PC: 3カラム */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* コースカード */
.course-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.course-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #f0f0f0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image {
    transform: scale(1.05);
}

.course-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
    align-self: flex-start;
}

.course-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #1a1a1a;
    line-height: 1.4;
    font-weight: bold;
}

.course-description {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.course-footer {
    margin-top: auto;
}

.cta-button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(255, 107, 53, 0.3);
}

/* フッター */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 20px 20px;
}

.footer-content {
    margin-bottom: 30px;
}

.footer-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ff6b35;
}

.footer-content ul {
    list-style: none;
    padding-left: 0;
}

.footer-content li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.footer-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* タブレット対応 (768px以下) */
@media (max-width: 768px) {
    .hero {
        padding: 30px 15px;
    }

    .banner-image {
        border-radius: 8px;
    }

    .countdown {
        gap: 10px;
    }

    .countdown-item {
        padding: 15px 10px;
        min-width: 70px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.8rem;
    }

    /* タブレット: 2カラム */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .course-thumbnail {
        height: 150px;
    }

    .course-content {
        padding: 15px;
    }

    .course-title {
        font-size: 1.1rem;
    }
}

/* スマホ対応 (480px以下) - 1カラム */
@media (max-width: 480px) {
    .hero {
        padding: 30px 15px;
    }

    .banner-image {
        border-radius: 6px;
    }

    .countdown {
        gap: 8px;
        flex-wrap: wrap;
    }

    .countdown-item {
        padding: 12px 8px;
        min-width: 60px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .benefits {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    /* スマホ: 1カラム */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .courses-section {
        padding: 40px 15px;
    }

    .course-thumbnail {
        height: 140px;
    }

    .course-content {
        padding: 15px;
    }

    .course-title {
        font-size: 1rem;
    }

    .course-description {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .footer {
        padding: 30px 15px 15px;
    }

    .footer-content h3 {
        font-size: 1.2rem;
    }

    .footer-content li {
        font-size: 0.9rem;
    }
}
