/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

/* ヘッダー */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    height: 70px; /* 高さを70pxに設定 */
    display: flex; /* コンテンツを中央寄せにするためにFlexboxを追加 */
    align-items: center; /* 垂直方向の中央寄せ */
    box-sizing: border-box; /* パディングを含めて幅を100%に */
}

.header .container {
    width: 100%; /* コンテナをヘッダーの幅いっぱいに広げる */
    padding: 0 40px; /* 左右のパディングを適用 */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #800000;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav li {
    margin-left: 30px;
}

.nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #800000;
}

/* ヒーローセクション */
.hero {
    /* ここに修正を加えます */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('無題1772_20250920000104.jpg') no-repeat center center; /* 画像パスを修正 */
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    box-sizing: border-box;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.tagline {
    font-size: 20px;
    margin-bottom: 10px;
}

.main-title {
    font-size: 56px;
    margin: 0 0 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.description {
    font-size: 22px;
    margin-bottom: 40px;
}

.cta-button {
    background-color: #800000;
    color: #fff;
    padding: 18px 35px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
    display: inline-block;
}

.cta-button:hover {
    background-color: #a00000;
}

.large-button {
    font-size: 26px;
    padding: 25px 50px;
}

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

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: #333;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #800000;
    margin: 15px auto 0;
}

.bg-light {
    background-color: #f9f9f9;
}

/* グリッドレイアウト */
.grid-2-col, .grid-3-col {
    display: grid;
    gap: 30px;
}

.grid-2-col {
    grid-template-columns: 1fr 1fr;
}

.grid-3-col {
    grid-template-columns: 1fr 1fr 1fr;
}

/* カードとベネフィット */
.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.card-title {
    color: #800000;
    font-size: 22px;
    margin-bottom: 15px;
}

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

.benefit-item .icon {
    font-size: 50px;
    margin-bottom: 20px;
    color: #800000;
}
.benefit-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* 活動内容 */
.activity-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
}

.activity-list li {
    background-color: #fff;
    border-left: 5px solid #800000;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    font-size: 18px;
}

/* 参加者の声 */
.testimonial {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.voice-text {
    font-style: italic;
    font-size: 17px;
    margin-bottom: 20px;
}

.voice-author {
    text-align: right;
    font-weight: bold;
    margin-top: 15px;
    color: #555;
}

/* CTAセクション */
.cta-section {
    background-color: #800000;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.cta-title {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 20px;
    margin-bottom: 40px;
}

/* フッター */
.footer {
    background-color: #222;
    color: #ccc;
    text-align: center;
    padding: 25px 0;
}

.footer p {
    margin: 0;
    font-size: 14px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .header {
        height: auto; /* モバイルでは高さを自動調整 */
        padding: 10px 20px;
    }
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    .nav ul {
        flex-direction: column;
        margin-top: 10px;
    }
    .nav li {
        margin: 5px 0;
    }
    .hero {
        padding: 100px 20px;
    }
    .main-title {
        font-size: 40px;
    }
    .description {
        font-size: 18px;
    }
    .cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .large-button {
        font-size: 20px;
        padding: 15px 30px;
    }
    .section {
        padding: 50px 0;
    }
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    .grid-2-col, .grid-3-col {
        grid-template-columns: 1fr;
    }
    .activity-list li {
        font-size: 16px;
        padding: 12px 15px;
    }
    .cta-title {
        font-size: 30px;
    }
    .cta-text {
        font-size: 16px;
    }
}