@charset "utf-8";

/* * {
    outline: 1px solid magenta;
} */

/* -----------基本レイアウトここから------------- */
#Event_top {
    body {
        font-family: 'Noto Serif JP';
        font-size: 16px;
        line-height: 1.5;
        color: #2c2c2c;
    }

    :root {
        --maincolor: #F2F0DB;
        --accentcolor: #00496D;
    }
}

/* -----------基本レイアウトここまで------------- */



/* ----------イベントトップここから-------------- */

h2 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 180px;
    /* margin-top: 120px; */
}

.topSec {
    max-width: 1220px;
    width: 95%;
    margin: 0 auto;

}



.topSec img {
    display: flex;
    aspect-ratio: 3 / 4;
    height: 500px;
    object-fit: cover;
}

.eventtop_img01 {
    /* position: relative; */
    /* left: 700px; */
    top: 200px;
    margin-top: 150px;
    margin-right: 80px;
    /* margin-top: 150px;
    margin-left: 1100px;
    margin-right: 320px; */
}

.eventtop_img02 {
    /* margin-top: 500px; */
    margin-left: 100px;
    margin-bottom: 150px;
}

.img_top,
.imag_bottom {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;

}



.eventtop_img03 {
    /* position: relative; */
    /* left: 700px;
    top: 100px; */
    margin-top: 180px;
    margin-right: 150px;
}

.eventtop_img04 {
    /* margin-top: 600px; */
    margin-left: 100px;
    margin-bottom: 200px;
}

h3 {
    font-size: 32px;
    text-align: center;
    line-height: 1.5em;
    letter-spacing: .1em;

    padding-top: 140px;
    padding-bottom: 50px;
}

/* ------------イベントトップここまで------------ */




/* ----------ここからイベント情報-------------- */

h4 {
    font-size: 30px;
    text-align: center;
    padding-top: 170px;
    padding-bottom: 0px;
}

.EventSec01 {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    max-width: 1000px;
    height: 500px;
    background-color: #F2F0DB;
    margin: 100px auto;
    padding: 10px;

}

.EventSec02 {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    max-width: 1000px;
    height: 500px;
    background-color: #F2F0DB;
    margin: 100px auto;
    padding: 10px;
}



.anntext01 {
    font-size: 22px;
    display: flex;
    max-width: 500px;
    /* margin-left: 500px; */
    padding-top: 110px;

}

.date01 {
    font-size: 16px;
    display: flex;
    width: 500px;
    /* margin-left: 500px; */
}

.annphoto01 {
    height: 400px;
    margin: auto;

}

.annphoto02 {
    display: inline-block;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.anntext02 {
    font-size: 22px;
    display: flex;
    width: 500px;
    /* margin-left: 500px; */
    padding-top: 110px;
}

.date02 {
    font-size: 16px;
    display: flex;
    width: 500px;
    /* margin-left: 500px; */
}

.annphoto02 {
    height: 400px;
    margin: auto;

}

/* ---------イベント情報ここまで------------- */




/* --------ここからアーカイブボタン---------- */

h5 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 50px;
    margin-top: 30px;
}

.ArchiveSec button {
    display: block;
    font-size: 16px;
    color: #ffffff;
    background-color: #00496D;
    width: 300px;
    height: 70px;
    margin: 140px auto;
    padding: 10px;
    text-align: center;
    transition: background-color 0.3s;
}

.ArchiveSec button:hover {
    background-color: #005f73;

}


/* ----------アーカイブボタンここまで------------ */





/* ----------ここからjs------------------ */

/* .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}
 */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2s ease, transform 2s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}


/* ----------ここまでjs------------------  */



/* -----------レスポンシブここから------------- */
/* ---responsible design for iPad pro--- */
@media screen and (max-width: 1024px) {

    /* h2 {
        font-size: 32px;
        margin-bottom: 100px;
    }

    h3 {
        font-size: 24px;
        padding: 100px 20px;
    }

    h4, h5 {
        font-size: 24px;
        padding: 50px 20px 0;
        margin: 0 20px;
    }

    .topSec img {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        margin: 20px auto;
        position: static !important;
    }

    .eventtop_img01,
    .eventtop_img02,
    .eventtop_img03,
    .eventtop_img04 {
        margin: 20px auto !important;
        display: block;
    }

    .EventSec01,
    .EventSec02 {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 20px;
    }

    .annphoto01,
    .annphoto02 {
        width: 90%;
        height: auto;
    }

    .anntext01,
    .anntext02,
    .date01,
    .date02 {
        width: 100%;
        text-align: center;
        padding-top: 20px;
        font-size: 18px;
    }

    .ArchiveSec button {
        width: 80%;
        height: 60px;
        font-size: 16px;
    }

    #burger_nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav.burger_nav_list li {
        margin: 10px 0;
    }     */






    /* トップセクションの画像縮小 → 少し大きく修正（450px） */
    .topSec {
        max-width: 980px;
    }


    .topSec img {
        height: 400px;
        /* 少し小さく（元は500px） */
    }

    .eventtop_img01 {
        /* left: 600px;
        top: 80px; */
        /* position: relative; */
        /* ← 忘れがちなポイント！ */
        left: 600px;
        top: 200px;
    }

    .eventtop_img02 {
        /* margin-top: -400px; */
        margin-left: 90px;
        margin-bottom: 80px;
    }

    .eventtop_img03 {
        left: 600px;
        top: 40px;
    }

    .eventtop_img04 {
        /* margin-top: -450px; */
        margin-left: 70px;
        margin-bottom: 80px;
    }


    h3 {
        font-size: 24px;
        padding-top: 80px;
        padding-bottom: 80px;
        margin-top: 210px;
    }


    .EventSec01,
    .EventSec02 {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        height: auto;
        padding: 20px;
        gap: 1em;

        /* ← この2行が背景幅に効く */
        width: 70%;
        max-width: 97%;

        margin: 80px auto;
        background-color: #F2F0DB;
        /* 念のため指定を維持 */
    }

    .EventSec01 img,
    .EventSec02 img {
        height: 350px;
        max-width: 100%;
        object-fit: cover;
    }



    .annphoto01,
    .annphoto02 {
        height: 400px;
        width: auto;
        max-width: 100%;
        margin: 2em 20px 20px 0;
        /* 上に2emの余白 */
        padding: 0;
        display: inline-block;
        overflow: hidden;
        object-fit: cover;
    }

    /* .annphoto01,
  .annphoto02 {
    display: block;
    margin: 0 0 20px 0;
    padding: 0;
    width: 100%;
    height: auto;
    max-width: 500px;
    object-fit: cover;
  } */

    .anntext01,
    .anntext02,
    .date01,
    .date02 {
        align-self: flex-start;
        padding-top: 100px;
        /* padding-bottom: 10px; */
        padding-left: 0;
        /* ← 完全に左寄せるならここを 0 に */
        margin-left: 0;
        width: auto;
        /* ← テキストの幅だけ */
        max-width: 500px;
        font-size: 18px;
        text-align: left;
    }

    .date01,
    .date02 {
        padding-top: 5px;
    }


    .EventSec01>div,
    .EventSec02>div {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }


    h4,
    h5 {
        font-size: 26px;
        padding-top: 100px;
    }

    h4 {
        margin-top: 150px;
    }

    .ArchiveSec button {
        width: 250px;
        height: 60px;
        font-size: 14px;
        margin: 100px auto;
    }

}




/* ---responsible design for iPad pro--- */
/* -----------レスポンシブここまで------------ */