/* ================== main ================= */
main {
    color: #333;
}

#top_page_title h2 {
    width: 100%;
    margin: 0;
}

#top_page_title h2 img {
    width: 100%;
    height: auto;
    display: block;
}

#top_page_title .status_area {
    padding: 20px;
    /* background-color: #e7e7e7; */
}

#top_page_title .status_area h4 {
    font-size: 1.8rem;
}

#top_page_title .status_area .status_text {
    margin-top: 5px;
    padding: 20px 0;
    background-color: #ffffff;
    border-radius: 3px;
    text-align: center;
    color: #444;
    font-size: 1.5rem;
}

#top_page_title .status_area .status_text a {
    color: #E14444;
    text-decoration: underline dotted;
}
#top_page_title .status_area .status_text:hover a {
    color: #444;
}

header {
    position: sticky;
    top: 0;
}

main .title_area {
    display: flex;
    align-items: end;
    gap: 10px;
}

main .section_title {
    font-size: 4rem;
    font-weight: bold;
}

main .section_caption {
    color: #E14444;
    font-size: 1.4rem;
}

main .text {
    margin-top: 20px;
    font-size: 1.4rem;
    line-height: 1.8;
}

/* ================== GenzaiChitenMore ================= */
#GenzaiChitenMore {
    margin-top: 120px;
    width: 100%;
    overflow-x: clip;
}

#GenzaiChitenMore .inner {
    position: relative;
    padding: 220px 0 165px;
    width: 90vw;
    box-sizing: border-box;
    background-image: url(../img/more_bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#GenzaiChitenMore .title_area, 
#GenzaiChitenMore .text {
    margin: 20px auto 0;
    width: 645px;
}

#GenzaiChitenMore .button {
    margin-top: 75px;
}

#GenzaiChitenMore .more_photo1 {
    position: absolute;
    top: -50px;
    left: -30px;
}

#GenzaiChitenMore .more_photo2 {
    position: absolute;
    top: -90px;
    right: -70px;
}

#GenzaiChitenMore .more_photo3 {
    position: absolute;
    bottom: -60px;
    left: -50px;
}

#GenzaiChitenMore .more_photo4 {
    position: absolute;
    bottom: 0;
    right: -20px;
}

/* ================== GenzaiChitenHistory ================= */
#GenzaiChitenHistory {
    margin-top: 220px;
    width: 100%;
    overflow-x :visible;
}

#GenzaiChitenHistory .text {
    text-align: left;
}

#GenzaiChitenHistory .visual {
    margin-top: 30px;
    padding: 8.3% 8%;
    width: 100%;
    box-sizing: border-box;
    background-image: url(../img/history_bg.png);
    background-repeat: no-repeat;
    background-size: contain;
}

#GenzaiChitenHistory .visual li {
    width: 100%;
}

#GenzaiChitenHistory .visual li img {
    width: 100%;
}

#GenzaiChitenHistory .button {
    margin-top: 30px;
}

/* ================== GenzaiChitenMap ================= */
#GenzaiChitenMap {
    margin-top: 100px;
    padding-top: 100px;
}

#GenzaiChitenMap .map {
    position: relative; 
    margin-top: 30px;
    padding-bottom: 500px;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

#GenzaiChitenMap .map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.year {
    position: relative;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.year .yearContents {
    padding-top: 100px;
    width: 1000px;
}

.year_list {
    position: relative;
    margin: 0 auto;
    width: 700px;
    height: 380px;
}

.year_title {
    position: absolute;
    top: 0;
    left: 30px;
    z-index: 200;
    font-size: 100px;
    font-family: 'Nobile', sans-serif;
}

.year_img {
    position: absolute;
    top: 50px;
    width: 100%;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
}

.section_title2 {
    font-size: 3.2rem;
    margin-bottom: -20px;
}

.btn-prev,
.btn-next {
    position: absolute;
    top: 280px;
    z-index: 200;
    padding: 20px;
    background-color: #333;
    border-radius: 30px;
    color: #fff;
    font-size: 20px;
}

.btn-prev:hover,
.btn-next:hover {
    background-color: #888;
}

.btn-prev {
    left: 120px;
}

.btn-next {
    right: 120px;
}

.btn-prev::before,
.btn-next::before {
    color: #333;
    font-size: 50px;
}

/* ================== Area01 ================= */
.detail {
    margin-top: 80px;
    text-align: center;
}

.detail .attention {
    margin-top: 10px;
}

.Area01 .more_top_photo {
    margin-top: 75px;
    margin-bottom: -40px;
    display: flex;
    gap: 10px;
}

.Area01 .title_area {
    flex-direction: column;
    align-items: center;
    margin-top: 110px;
    text-align: center;
}

.Area01 .section_caption {
    margin-top: 20px;
    color: #333;
    line-height: 1.4;
}

.text-left {
    text-align: left;
}

.Area01 .content_area {
    margin-top: 75px;
}

.Area01 .content_area h4 {
    margin-top: 75px;
    padding-bottom: 4px;
    font-size: 2.4rem;
    font-weight: bold;
    border-bottom: 1px solid #E14444;
}

.Area01 .content_area h4 .month {
    color: #E14444;
}

.Area01 .content_area div {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.Area01 .content_area div .photo {
    width: 320px;
}

.Area01 .content_area div .text {
    margin-top: 0;
    margin-left: 30px;
    width: 100%;
    line-height: 1.3;
}

.Area01 .ListArea {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 0;
    margin-top: 50px;
    justify-content: space-between;
}

.Area01 .ListArea li {
    width: 32%;
    text-align: center;
}

.Area01 .ListArea li h4 {
    margin-top: 14px;
    font-size: 1.5rem;
    font-weight: bold;
}

.Area01 .ListArea li h5 {
    margin-top: 10px;
    font-size: 1.6rem;
}
.TopArea.Area01 .ListArea {
    margin-top: 30px;
}

.year_btn {
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox用にスクロールバーを非表示にする */
    -ms-overflow-style: none; /* Internet Explorer 用にスクロールバーを非表示にする */
    position: sticky;
    right: 10px;
    left: 10px;
    bottom: 15px;
    z-index: 800;
    margin: 40px auto;
    padding: 10px 0;
    width: 1000px;
    height: 35px;
    background-color: rgba(150, 150, 150, 0.5);
    border-radius: 3px;
}

.year_btn .scroll-container {
    display: flex;
}

.year_btn ul {
    display: flex;
    gap: 10px 10px;
    width: 100%;
    height: 35px;
    font-size: 1.4rem;
}

.year_btn ul .allow {
    padding: 11px 4px 0;
}

.year_btn ul li a {
    display: block;
    padding: 10px 20px;
    background-color: #333;
    border-radius: 6px;
}

.year_btn ul li a:hover {
    background-color: #888;
}

.year_btn::-webkit-scrollbar{
    display: none;
}

main {
    padding-bottom: 10px;
}

.footer {
    margin-top: 0;
}

@media screen and (max-width: 768px) {
    #top_page_title .status_area  .inner {
        padding: 0;
    }
    #top_page_title .status_area .status_text {
        padding: 20px 20px;
    }

    #GenzaiChitenMore {
        margin-top: 30px;
        padding-top: 34px;
        overflow: hidden;
    }

    #GenzaiChitenMore .inner{
        padding: 220px 30px 165px;
        width: 100%;
        box-sizing: border-box;
        background-position: 50% 70%;
        background-size: auto;
    }

    #GenzaiChitenMore .title_area {
        margin: 60px auto 0;
        width: 100%;
        flex-direction: column;
    }

    .title_area {
        margin: 60px auto 0;
        width: 320px;
        flex-direction: column;
    }

    main .section_title {
        font-size: 2.8rem;
    }

    main .text {
        font-size: 1.3rem;
    }

    .section_title {
        margin: 0 auto;
    }

    .section_caption {
        margin: 0 auto;
    }

    #GenzaiChitenMore .inner .text {
        width: 100%;
    }

    #GenzaiChitenMore .inner .more_photo .more_photo1 {
        display: none;
    }

    #GenzaiChitenMore .inner .more_photo .more_photo2 {
        top: -85px;
        left: -60px;
        width: 410px;
    }

    #GenzaiChitenMore .inner .more_photo .more_photo3 {
        display: none;
    }

    #GenzaiChitenMore .inner .more_photo .more_photo4 {
        top: 102px;
        right: -30px;
        width: 150px;
    }

    #GenzaiChitenHistory {
        margin-top: 0;
    }

    #GenzaiChitenHistory .visual {
        margin: 30px auto 0;
    }

    #GenzaiChitenHistory .visual li {
        width: 100%;
    }

    #GenzaiChitenMap {
        margin-top: 0;
        padding-top: 60px;
    }
    /* more 下層 */

    .Area01 .section_title {
        font-size: 2.6rem;
    }

    .Area01 .section_caption {
        font-size: 1.3rem;
        text-align: left;
        margin-top: 31px;
    }

    .Area01 .content_area div {
        flex-direction: column;
        margin-top: 40px;
    }

    .Area01 .content_area div .text {
        margin-top: 20px;
        margin-left: 0;
        font-size: 1.3rem;
    }

    .Area01 .ListArea {
        gap: 20px 12px;
        margin-top: 50px;
    }

    .Area01 .ListArea li {
        width: 48%;
    }

    .Area01 .ListArea li h4 {
        font-size: 1.2rem;
    }

    .Area01 .ListArea li h5 {
        margin-top: 8px;
        font-size: 1.4rem;
    }

    #GenzaiChitenHistory.Area_G {
        margin-top: 120px;
    }

    .Area01 .more_top_photo {
        display: none;
    }
    .TopArea.Area01 .ListArea {
        margin-top: 20px;
    }
    /* year関連 */
    .year_list {
        width: 315px;
        height: 200px;
    }

    .yearContents  .title_area  {
        margin-top: 60px;
    }

    .section_title2 {
        font-size: 2rem;
        margin-bottom: -40px;
    }

    .year_title {
        top: -30px;
        left: 80px;
        width: 100%;
        font-size: 70px;
    }

    .year_img {
        height: 150px;
    }

    .year_btn {
        width: 90vw;
    }

    .btn-prev,
    .btn-next{
        top: 201px;
        padding: 16px;
        font-size: 13px;
    }

    .btn-prev {
        left: 10px;
    }

    .btn-next {
        right: 10px;
    }

    .detail {
        margin-top: 50px;
    }

}
