:root {
    --primary-color: #1a365d;
    --secondary-color: #506f56;
    --accent-color: #3182ce;
    --bg-light: #f7fafc;
    --text-dark: #2d3748;
    --white: #ffffff;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    margin: 0;
}

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

header {
    text-align: center;
    padding: 120px 20px;
    background: 
        linear-gradient(rgba(26, 54, 93, 0.6), rgba(26, 54, 93, 0.6)), /* 文字を見やすくするための重ね。数値は透明度 */
        url('../images/course_hero.png') no-repeat center center;
    background-size: cover;
    color: var(--white);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.course-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-tag {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 1.2em;
    margin-bottom: 10px;
}

#course-content h2 { color: var(--primary-color); border-bottom: 2px solid var(--accent-color); padding-bottom: 10px; }
#course-content h3 { margin-top: 0; }

.price-info {
    background: #edf2f7;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 1em;
}

.price-value {
    display: block;
    font-size: 1em;
    font-weight: bold;
    color: var(--primary-color);
}

.detail-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    font-weight: bold;
}

.price-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    font-weight: bold;
}

.details { padding-left: 20px; }

.details dt, .details dd { padding: 4px; }

.content-area.active { display: block; }

.content-area {
    display: none;
    margin-top: 3px;
    padding-top: 3px;
    border-top: 1px dashed #cbd5e0;
    font-size: 1em;
}

.curriculum-detail-basic { background: #fff; padding: 15px 0; }
.basic-step-card { 
    font-size: 1em;
    background: #f1f5f9; 
    border-radius: 12px; 
    padding: 12px; 
    margin-bottom: 10px; 
    border-left: 4px solid #3b82f6;
}
.basic-step-card h4 { margin-top: 0; color: #1e40af; font-size: 1.4em; }

.curriculum-detail-pro { background: #f8fafc; padding: 15px 0; }
.pro-step-card { 
    font-size: 1em;
    background: #ffffff; 
    border-radius: 12px; 
    padding: 12px; 
    margin-bottom: 10px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 4px solid #3b82f6;
}
.pro-tag {
    display: inline-block;
    color: #3182ce;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.pro-step-card h4 { margin: 0 0 15px 0; color: #1e3a8a; font-size: 1.4em; }

.curriculum-detail-advanced { background: #ffffff; padding: 15px 0; }
.adv-card { 
    font-size: 1em;
    background: linear-gradient(to right, #ffffff, #f5f3ff);
    border-radius: 20px; 
    padding: 12px; 
    margin-bottom: 10px; 
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    border-left: 4px solid #3b82f6;
}
.adv-icon {
    display: inline-block;
    color: #6366f1;
    font-size: 1em;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border-bottom: 2px solid #6366f1;
}
.adv-card h4 { margin: 0 0 20px 0; color: #1e1b4b; font-size: 1.4em; }
.adv-card p { color: #475569; line-height: 1.8; }

/* 料金表のテーブルスタイル */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 1em;
}
th, td {
    border: 1px solid #e2e8f0;
    padding: 12px;
    text-align: left;
}
th { background: #f1f5f9; color: var(--primary); }
.price-text { font-weight: bold; color: #e11d48; }

h3 { margin-top: 0; color: var(--primary); }
