@charset "utf-8";

/*==============================================================
　全体の初期設定（リセット）
==============================================================*/
* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #cccccc;
    background-image: url("images/bg_body.png");
    font-size: 95%;
    font-family: 'Hiragino Kaku Gothic ProN', '游ゴシック', 'Meiryo', 'MS PGothic', 'arial', 'helvetica', sans-serif;
    line-height: 1.5;
    color: #008B8B;
}

div#pagebody {
    width: 100%;
    margin: 0 auto;
    background-color: #FCE1B4;
    background-image: url("images/bg_pagebody2.png");
    background-repeat: repeat-y;
    background-size: 100% auto;
}

img { border: 0; }

p {
    width: 97%;
    margin: 10px;
}

hr {
    clear: both;
    width: 680px;
    margin: 10px 10px;
    border: 1px dotted #cccccc;
}

/* ロゴ：スクロールで流れる */
#topbar {
    position: relative;
    width: 99%;
    margin: 0 auto;
    height: 70px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    box-sizing: border-box;
    background: transparent;
    box-shadow: none;
    background: transparent;
}

#header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

#header h1.site-subtitle {
    font-size: 25px;
    font-weight: normal;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    color: #f5e8d0;
    white-space: nowrap;
    line-height: 1;
    padding-top: 20px;
    letter-spacing: 0.3em;
    text-shadow:
        0 0 8px  rgba(0, 0, 0, 1.0),
        0 0 16px rgba(0, 0, 0, 0.9),
        2px 2px 6px rgba(0, 0, 0, 0.8);
}

#header h1.site-logo {
    line-height: 1;
}

#header h1.site-logo img {
    height: 46px;
    width: auto;
    display: block;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.7)) drop-shadow(0 0 8px rgba(0,0,0,0.5));
}

#header h1.site-logo a {
    text-decoration: none;
}

/* メニュー：PC時のみ右上に固定 */
@media screen and (min-width: 801px) {
    nav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 100;
        padding: 0 24px;
    }
}

#menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 70px;
    gap: 0;
}

#menu li a {
    display: block;
    padding: 8px 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8), 0 0 8px rgba(0,0,0,0.6);
}

#menu li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.25);
}

/*==============================================================
　★ ヘッダー画像エリア（スライドショー＋キャッチコピー）
==============================================================*/
#head_img {
    position: relative;
    width: 99%;
    margin: -70px auto 0;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 1;
}

/*==============================================================
　スライドショー画像
==============================================================*/
#img_index {
    position: relative;
    width: 100%;
    padding-top: 56%;
}

#img_index img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 8;
}

#img_index img.active {
    opacity: 1;
    z-index: 10;
}

#img_index img.last-active {
    z-index: 9;
}

/*==============================================================
　★ キャッチコピー
==============================================================*/
#catchcopy {
    position: absolute;
    top: 0;
    right: 0;
    width: 12em;
    height: 100%;
    writing-mode: vertical-rl;
    text-orientation: upright;
    overflow: hidden;
    background: transparent;
    font-family: 'AoyagiReishoShimo', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    font-size: clamp(1.2rem, 2.2vw, 2.0rem);
    z-index: 20;
}

#catchcopy .copy {
    position: absolute;
    opacity: 0;
    transition: opacity 1.0s ease;
    top: 4em;
    right: 4em;
    font-weight: 900;
    line-height: 1.8;
    letter-spacing: 0.15em;
    color: #ffffff;
    text-shadow:
        0 0 6px  rgba(0, 0, 0, 0.9),
        0 0 12px rgba(0, 0, 0, 0.7),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

#catchcopy .copy.active {
    opacity: 1;
}

#catchcopy .line1 { display: block; margin-top: 0; }
#catchcopy .line2 { display: block; margin-top: 1em; }
#catchcopy .line3 { display: block; margin-top: 2em; }

/*==============================================================
　今井町にぎわい邸の紹介
==============================================================*/
#nigiwaitei_setsumei {
    width: 99%;
    margin: 20px auto 0;
    padding: 60px 0 50px;
    text-align: center;
    border-top: 1px solid #b8a070;
    border-bottom: 1px solid #b8a070;
    background-color: #3b2a1a;
    background-image:
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.03) 0px,
            rgba(255,255,255,0.03) 1px,
            transparent 1px,
            transparent 60px
        );
    box-shadow: 0 4px 16px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,220,120,0.2);
}

.setsumei_lead {
    width: auto;
    max-width: 800px;
    margin: 0 auto 36px;
    padding: 0 20px;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 15px;
    line-height: 2.4;
    color: #e8d5a0;
    letter-spacing: 0.15em;
}

.setsumei_midashi {
    margin: 0 0 32px;
    padding: 20px 0;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 42px;
    font-weight: normal;
    letter-spacing: 0.35em;
    color: #c8a84b;
    background: linear-gradient(180deg, #f0d060 0%, #c8a84b 50%, #a07830 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-top: double 4px #c8a84b;
    border-bottom: double 4px #c8a84b;
    display: inline-block;
    padding: 16px 48px;
}

.setsumei_body {
    width: auto;
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 15px;
    line-height: 2.4;
    color: #e8d5a0;
    letter-spacing: 0.12em;
}

.setsumei_architect {
    text-align: center;
    width: 50%;
    margin-left: auto;
    font-size: 0.95em;
    color: #e8d5a0;
    margin-top: 1em;
}

.setsumei_architect a {
    color: #e8d5a0;
    text-decoration: underline;
}

.setsumei_architect a:hover {
    opacity: 0.7;
}

/*==============================================================
　イベント案内
==============================================================*/
#info {
    width: 98%;
    margin: 0 auto;
    padding: 50px 0 60px;
    border-top: 1px solid #b8a070;
}

.info_inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.info_midashi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 0 8px;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 36px;
    font-weight: normal;
    color: #5a3e1b;
    letter-spacing: 0.2em;
}

.info_midashi::before,
.info_midashi::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #b8a070);
}
.info_midashi::after {
    background: linear-gradient(to left, transparent, #b8a070);
}

.info_subtitle {
    text-align: center;
    width: 100%;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 15px;
    color: #9a7a50;
    letter-spacing: 0.2em;
    margin: 0 0 40px;
}

.event_card {
    position: relative;
    border: 1px solid #d4b896;
    border-radius: 2px;
    margin-bottom: 48px;
    background: rgba(255, 255, 255, 0.45);
    overflow: hidden;
}

.event_card_label {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #8b2020;
    color: #ffffff;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 12px;
    letter-spacing: 0.15em;
    padding: 5px 16px;
}

.event_period {
    font-size: 13px;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.nonevent {
    text-align: center;
    padding: 40px 0;
    color: #9a7a50;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 15px;
}

.event_card_label::after {
    content: '　' attr(data-period);
    font-size: 13px;
    letter-spacing: 0.05em;
}

.event_card_body {
    padding: 24px 32px 20px;
    border-bottom: 1px solid #e8d4b4;
}

.event_title {
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 26px;
    font-weight: normal;
    color: #5a3e1b;
    letter-spacing: 0.1em;
    margin: 0 0 16px;
}

.event_date {
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 17px;
    color: #4a3520;
    line-height: 2.0;
    margin: 0 0 14px;
    width: 100%;
}

.event_time {
    font-size: 14px;
    color: #7a6040;
}

.event_desc {
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 15px;
    color: #4a3520;
    line-height: 2.0;
    margin: 0 0 20px;
    width: 100%;
}

.event_contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 16px;
    background: rgba(184, 160, 112, 0.1);
    border-left: 3px solid #b8a070;
    font-size: 14px;
}

.event_organizer {
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 16px;
    font-weight: bold;
    color: #2a4a1a;
}

.event_tel { color: #4a3520; }

.event_url {
    color: #5a7a3a;
    text-decoration: none;
    border-bottom: 1px solid #5a7a3a;
}

.event_url:hover { color: #3a5a1a; }

.event_img_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
}

.event_img_grid img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s;
}

.event_img_grid img:hover { opacity: 0.82; }

.event_kako {
    text-align: right;
    margin-top: 8px;
}

.event_kako a {
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 14px;
    color: #5a7a3a;
    text-decoration: none;
    border-bottom: 1px solid #5a7a3a;
    padding-bottom: 2px;
    transition: color 0.2s;
}

.event_kako a:hover { color: #3a5a1a; }

/*==============================================================
　フォトギャラリー
==============================================================*/
#photogallery {
    width: 98%;
    margin: 0 auto;
    padding: 50px 0 60px;
    border-top: 1px solid #b8a070;
}

.gallery_inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery_midashi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 0 32px;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 28px;
    font-weight: normal;
    color: #5a3e1b;
    letter-spacing: 0.3em;
}

.gallery_midashi::before,
.gallery_midashi::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #b8a070);
}
.gallery_midashi::after {
    background: linear-gradient(to left, transparent, #b8a070);
}

.gallery_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.gallery_item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin: 0;
    background: #2a1a0a;
}

.gallery_item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery_item:hover img {
    transform: scale(1.06);
    opacity: 0.75;
}

.gallery_item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8px 10px;
    box-sizing: border-box;
    background: rgba(42, 26, 10, 0.65);
    color: #f5e8d0;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-align: center;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery_item:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

/*==============================================================
　モーダル
==============================================================*/
#gallery_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

#gallery_modal.open {
    display: flex;
}

#modal_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 10, 0, 0.88);
    cursor: pointer;
}

#modal_content {
    position: relative;
    z-index: 2001;
    text-align: center;
    max-width: 85vw;
    max-height: 90vh;
}

#modal_img {
    max-width: 80vw;
    max-height: 78vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

#modal_caption {
    width: 100%;
    margin: 12px 0 0;
    color: #f5e8d0;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 14px;
    letter-spacing: 0.15em;
    text-align: center;
}

#modal_close {
    position: absolute;
    top: -36px;
    right: 0;
    background: none;
    border: 1px solid rgba(255,255,255,0.4);
    color: #ffffff;
    font-size: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s;
}

#modal_close:hover {
    background: rgba(255,255,255,0.15);
}

#modal_prev,
#modal_next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #ffffff;
    font-size: 36px;
    width: 48px;
    height: 64px;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s;
    border-radius: 2px;
}

#modal_prev { left: -64px; }
#modal_next { right: -64px; }

#modal_prev:hover,
#modal_next:hover {
    background: rgba(255,255,255,0.22);
}

/*==============================================================
　ご案内セクション
==============================================================*/
.annai_midashi {
    position: relative;
    text-align: center;
    margin: 0 0 36px;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 13px;
    font-weight: normal;
    color: #b8a070;
    letter-spacing: 0.5em;
    text-transform: uppercase;
}

.annai_midashi::before {
    content: '施設案内';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 52px;
    color: rgba(184, 160, 112, 0.08);
    letter-spacing: 0.2em;
    white-space: nowrap;
    pointer-events: none;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
}

.annai_midashi::after {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: #b8a070;
    margin: 10px auto 0;
}

#annai_section {
    width: 66%;
    margin: 0 auto;
    padding: 33px 0 40px;
    border-top: 1px solid #b8a070;
}

.annai_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
}

.annai_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 13px 11px 13px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid #d4b896;
    border-radius: 2px;
    text-decoration: none;
    color: #4a3520;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}

.annai_img_wrap {
    width: 100%;
    height: 133px;
    overflow: hidden;
    margin-bottom: 8px;
    border-radius: 1px;
}

.annai_img_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/*==============================================================
　ページトップボタン
==============================================================*/
#page_top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 54px;
    height: 54px;
    background: rgba(42, 26, 10, 0.78);
    border: 1px solid #b8a070;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, transform 0.25s, background 0.2s;
}

#page_top:hover {
    background: rgba(42, 26, 10, 0.95);
    transform: translateY(-4px);
}

.page_top_arrow {
    color: #b8a070;
    font-size: 20px;
    line-height: 1;
}

.page_top_label {
    color: #f5e8d0;
    font-size: 9px;
    letter-spacing: 0.2em;
    line-height: 1;
}

/*==============================================================
　フッター
==============================================================*/
#footer {
    width: 99%;
    margin: 0 auto;
    background: #2a1a0a;
}

#footer footer {
    max-width: 800px;
    margin: 0 auto;
    padding: 28px 20px 20px;
    text-align: center;
}

.footer_logo {
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    font-size: 22px;
    letter-spacing: 0.35em;
    color: #f5e8d0;
    margin-bottom: 6px;
}

.footer_sub {
    font-size: 15px;
    letter-spacing: 0.25em;
    color: #b8a070;
    margin-bottom: 28px;
}

.footer_divider {
    width: 40px;
    height: 1px;
    background: #b8a070;
    margin: 0 auto 24px;
}

.footer_contact {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #c8b090;
    letter-spacing: 0.1em;
    margin-bottom: 28px;
}

.footer_copy {
    display: block;
    font-size: 14px;
    color: #a18c68;
    letter-spacing: 0.1em;
}


/*==============================================================
　レスポンシブ対応
　ブレークポイント：
　  タブレット : max-width 800px
　  スマホ     : max-width 480px
==============================================================*/

/* ============================================================
   ■ タブレット（〜800px）
============================================================ */
@media screen and (max-width: 800px) {

    /* ── topbar：上段ロゴ・下段ナビの2段構成 ── */
    #topbar {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 16px 0;
        gap: 0;
    }

    #header {
        width: 100%;
        padding-bottom: 10px;
    }

    #header h1.site-subtitle {
        font-size: 16px;
        padding-top: 0;
        letter-spacing: 0.15em;
    }

    #header h1.site-logo img {
        height: 36px;
    }

    /* ── ナビ：ロゴの真下に通常配置 ── */
    nav {
        width: 100%;
        padding: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }

    #menu {
        height: auto;
        flex-wrap: wrap;
        gap: 2px;
        padding: 6px 0 8px;
    }

    #menu li a {
        font-size: 12px;
        padding: 5px 8px;
    }

    /* ── サブページバナー：topbarが2段になる分マージン調整 ── */
    .page_banner_inner,
    #page_banner {
        margin-top: -120px !important;
        padding-top: 140px !important;
    }

    /* ── ヘッダー画像 ── */
    #head_img {
        margin-top: 0;
    }

    #img_index {
        padding-top: 60%;
    }

    /* ── キャッチコピー ── */
    #catchcopy {
        font-size: clamp(1.0rem, 2.5vw, 1.6rem);
        width: 10em;
    }

    /* ── 紹介文 ── */
    .setsumei_lead,
    .setsumei_body {
        font-size: 14px;
        line-height: 2.2;
        padding: 0 16px;
    }

    .setsumei_midashi {
        font-size: 32px;
        padding: 12px 32px;
    }

    .setsumei_architect {
        width: 80%;
    }

    /* ── イベント ── */
    .info_midashi {
        font-size: 28px;
    }

    .event_title {
        font-size: 22px;
    }

    .event_img_grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* ── フォトギャラリー ── */
    .gallery_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .gallery_item img {
        height: 130px;
    }

    /* ── ご案内カード ── */
    #annai_section {
        width: 90%;
        padding: 30px 0 40px;
    }

    .annai_grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .annai_img_wrap {
        height: 110px;
    }

    /* ── フッター ── */
    .footer_contact {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

}


/* ============================================================
   ■ スマホ（〜480px）
============================================================ */
@media screen and (max-width: 480px) {

    /* ── topbar ── */
    #topbar {
        padding: 8px 12px 6px;
    }

    #header h1.site-subtitle {
        font-size: 13px;
        letter-spacing: 0.08em;
    }

    #header h1.site-logo img {
        height: 30px;
    }

    /* ── ナビ：折り返し2行で全項目を画面内に収める ── */
    nav {
        width: 100%;
        overflow-x: visible;
        padding: 0;
        margin-top: 2px;
    }

    #menu {
        flex-wrap: wrap;            /* 折り返してスクロールなしに */
        gap: 2px;
        padding: 2px 0 6px;
        width: 100%;
    }

    #menu li a {
        font-size: 10px;            /* 小さくして全部収まるように */
        padding: 4px 5px;
        white-space: nowrap;
        letter-spacing: 0;
    }

    /* ── サブページバナー：480px以下はさらに調整 ── */
    #page_banner {
        margin-top: -140px !important;
        padding-top: 160px !important;
    }

    /* ── ヘッダー画像 ── */
    #img_index {
        padding-top: 70%;
    }

    /* ── キャッチコピー ── */
    #catchcopy {
        font-size: clamp(0.85rem, 3.5vw, 1.2rem);
        width: 8em;
    }

    #catchcopy .copy {
        top: 2em;
        right: 2em;
    }

    /* ── 紹介セクション ── */
    #nigiwaitei_setsumei {
        padding: 40px 0 36px;
    }

    .setsumei_lead,
    .setsumei_body {
        font-size: 13px;
        line-height: 2.0;
        padding: 0 14px;
        word-break: normal;
        overflow-wrap: break-word;
    }

    /* PC用の <br> をスマホで非表示 */
    .setsumei_lead br,
    .setsumei_body br {
        display: none;
    }

    .setsumei_midashi {
        font-size: 24px;
        padding: 10px 20px;
        letter-spacing: 0.2em;
    }

    .setsumei_architect {
        width: 90%;
        font-size: 0.85em;
    }

    /* ── イベント ── */
    .info_midashi {
        font-size: 22px;
        letter-spacing: 0.12em;
        gap: 10px;
    }

    .event_card_body {
        padding: 16px 16px 14px;
    }

    .event_title {
        font-size: 19px;
    }

    .event_date,
    .event_desc {
        font-size: 13px;
    }

    .event_img_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event_img_grid img {
        height: 90px;
    }

    .event_contact {
        flex-direction: column;
        gap: 6px;
        font-size: 13px;
    }

    /* ── フォトギャラリー ── */
    .gallery_midashi {
        font-size: 22px;
        letter-spacing: 0.2em;
        gap: 10px;
    }

    .gallery_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .gallery_item img {
        height: 110px;
    }

    /* ── ご案内カード：縦1列＋横並びに ── */
    #annai_section {
        width: 94%;
        padding: 28px 0 36px;
    }

    .annai_grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .annai_card {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 12px 14px;
        gap: 14px;
    }

    .annai_img_wrap {
        width: 100px;
        height: 80px;
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .annai_name {
        font-size: 15px;
        font-weight: bold;
    }

    .annai_desc {
        font-size: 12px;
        line-height: 1.6;
        margin-top: 4px;
    }

    .annai_arrow {
        margin-left: auto;
        font-size: 18px;
        flex-shrink: 0;
    }

    /* ── モーダルボタン ── */
    #modal_prev { left: -36px; }
    #modal_next { right: -36px; }

    #modal_prev,
    #modal_next {
        font-size: 26px;
        width: 36px;
        height: 52px;
    }

    /* ── ページトップボタン ── */
    #page_top {
        right: 14px;
        bottom: 14px;
        width: 46px;
        height: 46px;
    }

    .page_top_arrow {
        font-size: 17px;
    }

    /* ── フッター ── */
    .footer_logo {
        font-size: 18px;
        letter-spacing: 0.2em;
    }

    .footer_sub {
        font-size: 13px;
    }

    .footer_contact {
        font-size: 12px;
        gap: 6px;
    }

    .footer_copy {
        font-size: 11px;
    }

}

/*==============================================================
　ライトボックス
==============================================================*/
#lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9999;
}

#lightbox_overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(20, 12, 4, 0.92);
    cursor: pointer;
}

#lightbox_content {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 90vw;
    max-height: 90vh;
}

#lightbox_img {
    max-width: 85vw;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(0,0,0,0.8);
    border: 1px solid rgba(184,160,112,0.3);
}

#lightbox_caption {
    font-family: 'Yu Mincho', 'YuMincho', serif;
    font-size: 13px;
    color: #b8a070;
    letter-spacing: 0.1em;
    margin: 12px 0 0;
}

#lightbox_close {
    position: fixed;
    top: 20px; right: 24px;
    width: 40px; height: 40px;
    background: rgba(59,42,26,0.8);
    border: 1px solid #b8a070;
    color: #f5e8d0;
    font-size: 16px;
    cursor: pointer;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10000;
}

#lightbox_close:hover { background: #5a4030; }

#lightbox_prev,
#lightbox_next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    background: rgba(59,42,26,0.8);
    border: 1px solid #b8a070;
    color: #f5e8d0;
    font-size: 18px;
    cursor: pointer;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10000;
}

#lightbox_prev { left: 16px; }
#lightbox_next { right: 16px; }
#lightbox_prev:hover,
#lightbox_next:hover { background: #5a4030; }

/* サムネイルにカーソルとホバー効果 */
.lightbox_thumb {
    cursor: zoom-in;
    transition: opacity 0.2s, transform 0.2s;
}

.lightbox_thumb:hover {
    opacity: 0.85;
    transform: scale(1.03);
}