/* ページ全体の基本スタイル */
body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* --- hero-section --- */
#hero-section {
    background-image: url('../img/bg01.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px 0 100px;
}

.site-header {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: right;
}

.site-header nav {
    display: inline-flex;
    gap: 15px;
}

.header-btn {
    display: inline-block;
    background-color: #1d2088;
    color: #ffffff;
    border: 2px solid #1d2088;
    border-radius: 100px;
    padding: 0 10px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.header-btn:hover {
    background-color: #ffffff;
    color: #1d2088;
}

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

.hero-content img {
    width: 100%;
}

/* --- reserve section --- */
.reserve {
    margin-top: 40px;
}

.btn-reserve {
    display: inline-block;
    background-color: #1d2088;
    color: #ffffff;
    border: 2px solid #1d2088;
    border-radius: 100px;
    padding: 1px 40px;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.btn-reserve:hover {
    background-color: #ffffff;
    color: #1d2088;
}

.text-reserve {
    display: block;
    text-align: left;
    margin: 20px auto 0;
    padding: 0 20px;
    max-width: 600px; /* 説明文の最大幅を調整 */
}

.reserve-list {
    margin-bottom: 15px;
}

.reserve-list h3 {
    font-size: 18px;
    margin: 0 0 10px;
    font-weight: bold;
}

.reserve-list ol,
.reserve-list ul {
    padding-left: 20px;
    margin: 0;
    font-size: 14px;
}

/* --- event-schedule --- */
#event-schedule {
    background-image: url('../img/bg02.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px 100px;
}

.schedule-content,
.timetable-content,
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.8);
}

.badge-free {
    position: absolute;
    top: 20px;
    right: 20px;
}

.badge-free img {
    width: 110px;
}

.info-list {
    padding: 50px 100px;
    margin-top: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start; /* flexアイテム（dtとdd）を上端に揃える */
    margin-bottom: 20px;
}

.info-list .info-item:first-child .info-label {
    margin-top: 20px;
}

.info-label {
    background-color: #1d2088;
    color: #ffffff;
    border-radius: 8px;
    padding: 5px 20px;
    font-size: 26px;
    font-weight: bold;
    white-space: nowrap;
    margin-right: 30px;
    letter-spacing: 0.2em;
    display: inline-flex;
}

.info-detail p {
    margin: 0;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.info-detail .date-text span {
    font-size: 40px;
    font-weight: bold;
}

.info-detail.location {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
    gap: 10px;
}

.info-detail.location span {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.map-btn {
    background-color: #1d2088;
    color: #ffffff;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
    align-self: flex-end;
}

.badge-chara {
    position: absolute;
    bottom: 40px;
    left: 20px;
}

.badge-chara img {
    width: 70px;
}

/* --- timetable --- */
#timetable {
    background-image: url('../img/bg03.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px 100px;
}

.schedule-content {
    position: relative;
}

.timetable-content, .about-content, .reserve-content {
    padding: 20px 0;
    text-align: center;
}

.timetable-content h2 {
    color: #1d2088;
    font-size: 40px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.timetable-content h2 img:first-child {
    width: 16px;
}

.timetable-content h3 {
    background-color: #1d2088;
    color: #ffffff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
    margin: 20px 0 0;
}

.timetable-content h3 img {
    width: 30px;
}

.timetable-image {
    padding: 40px 80px;
}

/* --- about & footer --- */
#about {
    background-image: url('../img/bg03.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px 100px 100px;
}

.about-content .ttl {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.about-content .ttl .badge {
    width: 100px;
}

.about-content .ttl h2 {
    background-color: #1d2088;
    color: #ffff00; /* 黄色 */
    border-radius: 100px;
    padding: 5px 60px;
    font-size: 40px;
}

.about-content .text {
    color: #1d2088;
    font-size: 20px;
    padding: 20px 200px;
    font-weight: bold;
    text-align: justify;
}

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

.site-footer-content {
    max-width: 1000px;
    margin: 0 auto;
    background-color: rgba(255, 249, 170, 0.8); /* #fff9aaの半透明 */
    padding: 20px 40px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
    width: 500px;
}

.site-footer h2 {
    color: #000000;
    font-size: 20px;
    margin: 0 0 10px;
}

.site-footer p {
    font-size: 12px;
    margin: 0;
    max-width: 800px;
    display: inline-block;
}

/* --- Responsive (for Smartphone) --- */
@media (max-width: 768px) {
    /* --- hero-section --- */
    #hero-section {
        background-image: none;
        padding: 0;
        margin: 0;
    }

    .site-header {
        background-color: #1d2088;
    }

    .site-header nav {
        display: flex;
        flex-direction: row; /* 縦並びから横並びに変更 */
        justify-content: space-around; /* ボタンを均等に配置 */
        align-items: center;
        padding: 5px 0;
    }

    .header-btn {
        color: #ffffff;
        background: none;
        border: none;
        font-size: 16px;
        padding: 5px; /* クリックエリアを確保 */
    }

    .header-btn:hover {
        background: none; /* ホバーエフェクトを無効化 */
        color: #ffffff;
    }

    .hero-content {
        padding: 0;
        margin: 0;
    }

    .reserve {
        margin-top: 20px;
    }
        .btn-reserve {
        font-size: 16px;
        padding: 10px 30px;
    }

    .schedule-content {
        padding-bottom: 100px;
    }

    /* --- event-schedule --- */
    .badge-free img {
        width: 80px;
    }


    #event-schedule,
    #timetable,
    #about {
        padding: 40px 15px;
    }
    #about {
        padding-bottom: 100px;
    }

    .info-label {
        font-size: 22px;
    }

    .info-detail .date-text {
        font-size: 26px;
    }

    .info-detail .date-text span {
        font-size: 32px;
    }

    .badge-chara {
        bottom: 5px;
    }

    .info-list {
        padding: 0 20px;
        margin-top: 60px;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .info-detail.location {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .map-btn {
        align-self: auto; /* 右寄せを解除 */
    }

    /* --- timetable --- */
    .timetable-image {
        padding: 20px 10px;
    }

    .timetable-content h2 {
        font-size: 40px;
    }

    .timetable-content h3 {
        font-size: 18px;
    }

    /* --- about --- */
    .about-content .text {
        padding: 20px;
        font-size: 16px;
    }

    .about-content .ttl h2 {
        font-size: 20px;
    }

    .site-footer {
        padding: 0;
    }
}
