/* 基本設定 */
:root {
    --primary-color: #0056b3;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --border-color: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

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

.bg-light {
    background-color: var(--secondary-color);
}

/* ヘッダー */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.2rem;
    color: var(--primary-color);
}

header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-nav {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-nav:hover {
    background-color: #004494;
    color: #fff;
}

/* ヒーローセクション */
#hero {
    background-image: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    text-align: center;
    padding: 80px 20px;
}

#hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

/* セクション共通 */
section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

/* 概要・ターゲット */
.target-audience {
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.target-audience ul {
    margin-left: 20px;
    margin-top: 10px;
}

/* 詳細グリッド */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.detail-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.detail-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* タイムテーブル */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.schedule-table th, .schedule-table td {
    border: 1px solid var(--border-color);
    padding: 15px;
    text-align: left;
}

.schedule-table th {
    background-color: var(--primary-color);
    color: #fff;
}

.schedule-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* 申し込みフォーム */
#apply {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.required {
    background-color: #e3342f;
    color: white;
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.btn-submit {
    display: block;
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background-color: #004494;
}

/* フッター */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
}

/* レスポンシブ */
@media (max-width: 768px) {
    #hero h2 {
        font-size: 1.8rem;
    }
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    .schedule-table th, .schedule-table td {
        display: block;
        width: 100%;
    }
    .schedule-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid var(--border-color);
    }
    .schedule-table th {
        text-align: center;
    }
    .schedule-table td {
        border: none;
        border-bottom: 1px solid #eee;
    }
}
