/* =============== */
/* event.css       */
/* 催しページ専用スタイル */
/* =============== */

/* ページ全体の基本設定 */
body.event-page {
    font-family: "Klee One", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "メイリオ", Meiryo, "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    background: url(../img/shared/bg1.jpg);
    /* ← shared.cssの背景画像指定を適用 */
    color: #2F2F2F;
    /* shared.cssに合わせる場合は文字色も変更 *
    /* background: #f9f5f0;
    color: #3a2e28; */
    line-height: 1.8;
    padding-top: 0;
}

/* ▼▼▼ ヘッダーナビゲーション表示のためのスタイル ▼▼▼ */
/* PC表示時 (min-width: 768px) */
@media screen and (min-width: 768px) {
    body.event-page #header #belt.nav-fixed {
        opacity: 1;
        visibility: visible;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 9999;
        background: url(../img/shared/bg2.jpg);
        /* 背景画像のパスを確認してください */
    }
}

/* ナビゲーションバー下のコンテンツラッパー */
.event-content-wrapper {
    padding-top: 120px;
    /* PC時のヘッダー分の余白目安 */
    padding-bottom: 60px;
}

/* イベント情報全体のコンテナ */
.event-container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    padding: 40px 50px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* ページタイトル */
.event-container .page-title {
    font-family: "Klee One", serif;
    font-size: 32px;
    color: #7F4F2A;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-bottom: 2px solid #e6c8a3;
    padding-bottom: 15px;
}

/* ページ説明文 */
.event-container .page-description {
    font-size: 16px;
    text-align: center;
    margin-bottom: 40px;
    color: #5c524c;
    line-height: 1.9;
}

/* 各イベントアイテムのコンテナ */
.event-item {
    background-color: #fffaf5;
    border: 1px solid #f0e0d0;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* イベント写真のコンテナ */
.event-image-container {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    margin-bottom: 25px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
}

.event-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 400px;
    border-radius: 8px;
    display: block;
}

/* イベントアイコン */
.event-item .event-icon {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 15px;
    color: #c00000;
}

/* イベントのタイトル */
.event-item .event-title {
    font-family: "Klee One", serif;
    font-size: 24px;
    color: #8c5e3c;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

/* イベントのキャッチフレーズ */
.event-item .event-catchphrase {
    font-size: 17px;
    color: #4a3f35;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.7;
}

/* 詳細情報エリア */
.event-item .event-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #e0c8b0;
}

.event-item .event-details h3 {
    font-family: "Klee One", serif;
    font-size: 18px;
    font-weight: 600;
    color: #7F4F2A;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.event-item .event-details h3 .icon-note,
.event-item .event-details h3 .icon-hand,
.event-item .event-details h3 .icon-info,
.event-item .event-details h3 .icon-reserve,
.event-item .event-details h3 .icon-calendar {
    margin-right: 8px;
    font-size: 1.2em;
    color: #c00000;
}

.event-item .event-details ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.event-item .event-details ul li {
    font-size: 15px;
    color: #5c524c;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.event-item .event-details ul li::before {
    content: "・";
    color: #c00000;
    position: absolute;
    left: 0;
    font-weight: bold;
}


/* ========================== */
/* レスポンシブ対応 (スマートフォン向け) */
/* ========================== */
@media screen and (max-width: 767.98px) {

    /* ▼▼▼ 変更点 ▼▼▼ */
    html,
    /* html要素にも適用 */
    body.event-page {
        width: 100%;
        overflow-x: hidden;
        /* 横スクロールを禁止 */
    }

    body.event-page {
        text-align: justify;
        box-sizing: border-box;
        /* bodyにも念のため適用 */
    }

    body.event-page main {
        width: 100%;
        overflow-x: hidden;
        /* mainにも適用 */
        box-sizing: border-box;
    }

    /* ▲▲▲ 変更点 ▲▲▲ */


    /* PC用ヘッダーナビゲーション(#belt)をスマートフォンでは非表示にする */
    /* body.event-page #header #belt.nav-fixed {
        display: none !important;
    } */

    /* コンテンツの開始位置を調整 */
    .event-content-wrapper {
        padding-top: 30px;
        /* SP時のページ上部の余白 (ヘッダー非表示のため調整) */
        padding-bottom: 30px;
        /* SP時のフッターとの間の余白 */
        width: 100%;
        /* 追加: コンテンツラッパーも幅100%でbox-sizingを適用 */
        box-sizing: border-box;
    }

    .event-container {
        margin-left: 15px;
        margin-right: 15px;
        padding: 25px 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        width: auto;
        /* 追加: 親要素に対して幅を自動調整 */
        box-sizing: border-box;
    }

    .event-container .page-title {
        font-size: 7vw;
        padding-bottom: 10px;
        margin-bottom: 15px;
    }

    .event-container .page-description {
        font-size: 14px;
        margin-bottom: 30px;
        /* word-break: break-all; */
        /* 必要であれば追加 */
    }

    .event-item {
        padding: 20px;
        margin-bottom: 30px;
        box-sizing: border-box;
        /* 追加 */
    }

    .event-image-container {
        max-height: 250px;
        margin-bottom: 20px;
    }

    .event-image-container img {
        max-height: 250px;
    }

    .event-item .event-icon {
        font-size: 2em;
    }

    .event-item .event-title {
        font-size: 20px;
        /* word-break: break-all; */
        /* 必要であれば追加 */
    }

    .event-item .event-catchphrase {
        font-size: 15px;
        /* word-break: break-all; */
        /* 必要であれば追加 */
    }

    .event-item .event-details h3 {
        font-size: 17px;
    }

    .event-item .event-details ul li {
        font-size: 14px;
        padding-left: 18px;
    }
}