/* --- グローバルスタイル & リセット --- */
:root {
    --primary-color: #006584;
    --background-color: #FDFDFD;
    --text-color: #006584;
    --sub-text-color: #EA608B;
    --font-family: 'Zen Maru Gothic', sans-serif;
    --font-en: 'Cormorant Garamond', serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    background-color: var(--background-color);
    overflow-x: hidden;
}

body.is-menu-open {
    overflow: hidden;
    height: 100vh;
    touch-action: none;
}

.gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left,
            rgba(0, 101, 132, 0.15),
            rgba(0, 101, 132, 0));
    z-index: 1;
    pointer-events: none;
}

.page-content {
    position: relative;
    z-index: 2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    margin: 0.5rem auto 0 auto;
    border-radius: 2px;
}

/* --- ハンバーガーメニューボタン（article.html と同じデザイン） --- */
.hamburger-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (max-width: 768px) {
    .hamburger-btn {
        width: 48px;
        height: 48px;
        top: 16px;
        right: 16px;
        gap: 5px;
    }
}

.hamburger-btn:hover {
    transform: scale(1.1);
    background-color: #007ba1;
}

.hamburger-btn .line {
    width: 32px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

@media (max-width: 768px) {
    .hamburger-btn .line {
        width: 22px;
    }
}

/* --- 全画面メニューオーバーレイ --- */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 2050;
    pointer-events: none;
    visibility: hidden;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
}

.threads-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    pointer-events: none;
}

.layer-v {
    z-index: -1;
    flex-direction: row;
}

.thread-v {
    flex: 1;
    height: 100%;
    background-color: var(--primary-color);
    transform: scaleY(0);
    transform-origin: top;
}

.layer-h {
    z-index: -1;
    flex-direction: column;
}

.thread-h {
    flex: 1;
    width: 100%;
    background-color: var(--sub-text-color);
    transform: scaleX(0);
    transform-origin: left;
}

.layer-bg {
    z-index: -2;
    background-color: #F0F9FC;
    opacity: 0;
}

.menu-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.nav-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.nav-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #006584;
    margin-bottom: 3rem;
    display: block;
    margin-left: 0;
    opacity: 0;
}

.nav-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.nav-links li {
    margin: 0;
    overflow: visible;
}

.nav-link {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.2;
    position: relative;
    text-decoration: none;
    transition: color 0.3s;
    letter-spacing: 0.05em;
    padding: 5px 10px;
    opacity: 0;
}

.nav-link:hover {
    color: var(--sub-text-color);
    animation: shake 0.4s cubic-bezier(.36, .07, .19, .97) both;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--sub-text-color);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

@media (max-width: 768px) {
    .nav-link {
        font-size: 1.2rem;
    }

    .nav-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .nav-links ul {
        gap: 2rem;
    }
}

.nav-link:hover {
    color: var(--sub-text-color);
    transform: scale(1.1);
    transition: transform 0.2s, color 0.2s;
}

/* --- ヒーローセクション --- */
.hero {
    width: 100%;
    padding: 6rem 0 3rem 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: clip;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 10px;
    z-index: 0;
    background-image: url('img/bg-frame.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
}

.hero__main-visual {
    position: relative;
    z-index: 1;
    width: 110%;
    max-width: 500px;
    margin: 0 auto 5rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero__year {
    width: 40%;
    max-width: 160px;
    transform: translateX(-15px);
}

.hero__logo {
    width: 100%;
    text-align: center;
    transform: translateX(-15px);
}

.hero__exhibition-title {
    width: 70%;
    max-width: 300px;
    transform: translateX(-15px);
}

.info-block {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 360px;
    margin: 0 auto 3.5rem auto;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-block__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-align: center;
}

.hero .info-block:nth-of-type(1) .info-block__title {
    color: #EA608B;
}

.hero .info-block:nth-of-type(2) .info-block__title {
    color: #006584;
}

.info-block__divider {
    margin: 0 auto 1.5rem auto;
}

.info-block__schedule-image,
.info-block__venue-image {
    margin: 0 auto 1.5rem auto;
}

.info-block__departments {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: fit-content;
    margin: 0 auto;
    text-align: left;
}

.department {
    line-height: 1.6;
}

.department__name,
.department__fields {
    color: #006584;
}

.department__name {
    font-size: 1rem;
    font-weight: 700;
}

.department__fields {
    font-size: 0.9rem;
}

.info-block__terms {
    width: fit-content;
    margin: 0 auto;
    text-align: left;
    line-height: 1.6;
    font-size: 0.9rem;
    color: #000000;
}

.term-note {
    font-size: 0.8rem;
    margin-top: 0.75rem;
}


/* --- メインコンテンツエリア --- */
main,
footer {
    background-color: transparent;
}

.greeting,
.gallery,
.access,
.concept,
.afterword {
    padding: 4rem 0;
}

.greeting .container {
    max-width: 550px;
}

.greeting__text {
    text-align: justify;
    line-height: 32px;
}

/* --- ギャラリー --- */
.gallery {
    position: relative;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.gallery-decoration {
    position: absolute;
    top: -600px;
    left: 0;
    width: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.gallery-decoration img {
    width: 100%;
    height: auto;
    display: block;

    opacity: 0.8;
    min-width: 900px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.gallery__category {
    margin-bottom: 4rem;
    position: relative;
}

.gallery__category:last-child {
    margin-bottom: 0;
}

.gallery__category-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.swiper-container {
    width: 100%;
    overflow: visible;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.6s ease, opacity 0.6s ease;
    transform: scale(0.8);
    opacity: 0.6;
}

.swiper-slide-active {
    transform: scale(1);
    opacity: 1;
    z-index: 10;
}

@media (min-width: 768px) {
    .swiper-slide {
        transform: scale(1);
        opacity: 1;
    }
}

.gallery-card {
    width: 280px;
    padding: 1rem;
    background-color: transparent;
    border: none;
    box-shadow: none;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.gallery-card__image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 280px;
    margin: 0 auto 1rem;
    overflow: visible;
    /* 追加: レンダリング最適化 */
    transform: translateZ(0);
    will-change: transform;
}

.gallery-card__image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.masked-image {
    object-fit: cover;
    z-index: 1;

    -webkit-mask-image: url("img/mask.svg");
    mask-image: url("img/mask.svg");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}


.frame-overlay {
    pointer-events: none;
    z-index: 2;
}

.gallery-card__title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.gallery-card__field {
    font-size: 12px;
    margin-bottom: 0.25rem;
}

.gallery-card__name {
    font-size: 16px;
    font-weight: 500;
}

.gallery-controls-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 280px;
    margin: 2rem auto 0;
    padding: 0 1rem;
    transition: width 0.3s ease, max-width 0.3s ease;
}

@media (min-width: 768px) {
    .gallery-controls-custom {
        width: 100%;
        max-width: 900px;
        justify-content: center;
        /* Center buttons on desktop */
    }

    .slide-counter {
        display: none;
        /* Hide counter on desktop */
    }

    .nav-btn {
        width: 60px;
        /* Larger buttons on desktop */
        height: 60px;
        font-size: 1.5rem;
        /* Larger arrows */
    }
}

@media (min-width: 1024px) {
    .gallery-controls-custom {
        width: 100%;
        max-width: 1400px;
    }
}

.slide-counter {
    font-family: var(--font-en);
    font-size: 1.2rem;
    color: var(--sub-text-color);
    letter-spacing: 0.1em;
}

.nav-buttons-wrapper {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    position: static;
    margin: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-en);
}

.nav-btn::after {
    display: none;
}

.nav-btn:hover {
    background: var(--primary-color);
    color: #fff;
}


/* --- アクセス (New Design) --- */
#access {
    margin: 0 auto;
    padding-bottom: 4rem;
    position: relative;
    z-index: 10;
}

#access h2 {
    color: var(--primary-color);
    font-family: var(--font-family);
    font-size: min(7vw, 60px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.t__access__modal__nav {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 80%;
    margin: 60px auto 0;
    padding: 0;
    list-style: none;
}


.t__access__modal__nav li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 49%;
    padding: 15px 0;
    border: 6px solid var(--primary-color);
    border-radius: 35px;
    cursor: pointer;
    background: linear-gradient(to left, rgba(0, 101, 132, 0.15), rgba(0, 101, 132, 0)) fixed, var(--background-color);
    transition: all 0.3s;
}

.t__access__modal__nav li:hover {
    background: var(--primary-color);
    color: var(--sub-text-color);
}

.t__access__modal__nav .active {
    position: relative;
    padding: 15px 0 40px;
    border-bottom: none;
    border-radius: 35px 35px 0 0;
    cursor: default;
    background: linear-gradient(to left, rgba(0, 101, 132, 0.15), rgba(0, 101, 132, 0)) fixed, var(--background-color);
}

.t__access__modal__nav .active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to left, rgba(0, 101, 132, 0.15), rgba(0, 101, 132, 0)) fixed, var(--background-color);
    z-index: 10;
}

.t__access__modal__nav .active:hover {
    background: linear-gradient(to left, rgba(0, 101, 132, 0.15), rgba(0, 101, 132, 0)) fixed, var(--background-color);
}

.t__access__modal {
    width: 80%;
    margin: -6px auto 0;
    padding: 80px 0 170px;
    border: 6px solid var(--primary-color);
    background: linear-gradient(to left, rgba(0, 101, 132, 0.15), rgba(0, 101, 132, 0)) fixed, var(--background-color);
    position: relative;
    z-index: 1;
}

/* Fix Gallery Horizontal Overflow */
.gallery__category {
    margin-bottom: 4rem;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Ensure mobile specific override doesn't break overflow */
@media screen and (max-width: 768px) {
    .t__access__modal {
        width: 90%;
        margin: -3px auto 0;
        padding: 40px 0 40px;
        border: 3px solid var(--primary-color);
    }
}

.t__access__modal__content {
    display: none;
}

.t__access__modal__content h3 {
    color: var(--primary-color);
    font-family: var(--font-family);
    font-size: min(3.5vw, 50px);
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}

.t__access__modal__content p {
    color: var(--primary-color);
    margin: 30px 0 0;
    font-family: var(--font-family);
    font-size: min(1.5vw, 20px);
    line-height: 2em;
    font-weight: 700;
    text-align: center;
}

.t__access__modal__content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.t__access__google__map {
    width: 60vw;
    aspect-ratio: 16/10;
    margin: 60px auto 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 101, 132, 0.2);
}

.t__access__modal__dates {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 60vw;
    margin: 60px auto 0;
}

.t__access__modal__dates div {
    display: flex;
    align-items: center;
}

.t__access__modal__dates div h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(10vw, 150px);
    height: min(10vw, 150px);
    font-family: var(--font-family);
    font-size: min(1.5vw, 20px);
    font-weight: 700;
    color: #ffffff;
    background-color: var(--sub-text-color);
    /* Fallback color */
    border-radius: 50%;
}

.t__access__modal__dates div p {
    font-family: var(--font-family);
    font-size: min(1.5vw, 20px);
    font-weight: 700;
    text-align: left;
    margin: 0 0 0 20px;
}

.t__access__modal__dates div p span {
    font-size: min(1vw, 14px);
    display: block;
    margin-top: 5px;
}

.t__access__modal__dates__002 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 60vw;
    margin: 60px auto 0;
    gap: 40px;
}

.t__access__modal__dates__002 div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.t__access__modal__dates__002 div h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(10vw, 150px);
    height: min(10vw, 150px);
    font-family: var(--font-family);
    font-size: min(1.5vw, 20px);
    font-weight: 700;
    color: #ffffff;
    background-color: var(--sub-text-color);
    /* Fallback color */
    border-radius: 50%;
    margin-bottom: 1rem;
}

.t__access__modal__dates__002 div p {
    font-family: var(--font-family);
    font-size: min(1.5vw, 20px);
    font-weight: 700;
    text-align: left;
    margin: 0;
}

.t__access__modal__dates__002 div p span {
    font-size: min(1vw, 14px);
}

.t__access__figure {
    width: fit-content;
    margin: 120px auto 0;
    text-align: center;
}

.t__access__figure h3 {
    font-family: var(--font-family);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.t__access__figure img {
    width: 100%;
    max-width: 300px;
    margin: 40px auto 0;
    display: block;
}

.js__access__modal__1 {
    border-radius: 0px 35px 35px 35px;
    transition: border-radius 0.3s;
}

.js__access__modal__2 {
    border-radius: 35px 0px 35px 35px;
    transition: border-radius 0.3s;
}


/* --- スマホ向け調整 --- */
@media screen and (max-width: 768px) {
    #access h2 {
        font-size: 32px;
    }

    .t__access__modal__nav {
        margin: 60px auto 0;
        width: 90%;
    }

    .t__access__modal__nav li {
        border: 3px solid var(--primary-color);
        /* Keep radius consistent with PC (35px) or let it inherit */
    }

    .t__access__modal__nav li a {
        font-size: 14px;
    }

    /* .t__access__modal__nav .active { } - Removed empty rule */

    .t__access__modal__nav .active::after {
        height: 5px;
        /* Adjust to cover 3px border + slight overlap */
    }

    .t__access__modal {
        width: 90%;
        margin: -3px auto 0;
        padding: 40px 0 40px;
        border: 3px solid var(--primary-color);
    }

    /* No radius overrides - sticking to PC's 35px which looks consistent in reference design */

    .t__access__modal__content h3 {
        font-size: 24px;
    }

    .t__access__modal__content p {
        font-size: 14px;
    }

    .t__access__google__map {
        width: 90%;
        margin: 40px auto 0;
    }

    .t__access__modal__dates {
        flex-direction: column;
        gap: 30px;
        margin: 30px auto 0;
        width: 90%;
    }

    .t__access__modal__dates div {
        flex-direction: column;
        text-align: center;
    }

    .t__access__modal__dates div h4 {
        width: 80px;
        height: 80px;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .t__access__modal__dates div p {
        font-size: 14px;
        text-align: center;
        margin: 0;
    }

    .t__access__modal__dates__002 {
        width: 90%;
        margin: 30px auto 0;
        gap: 30px;
        flex-direction: column;
    }

    .t__access__modal__dates__002 div h4 {
        width: 80px;
        height: 80px;
        font-size: 14px;
    }

    .t__access__modal__dates__002 div p {
        font-size: 14px;
        text-align: center;
    }

    .t__access__figure {
        margin: 40px auto 0;
    }

    .t__access__figure img {
        width: 90%;
        margin: 20px auto 0;
    }
}

/* Button style for Traffic Access link */
.access-btn-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 700;
    padding: 0.8rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s;
    margin-top: 1rem;
    font-family: var(--font-family);
}

.access-btn-link:hover {
    background-color: #004a62;
    color: #fff;
}

/* Animations */



/* --- スマホ向け調整 (768px以下) --- */
@media (max-width: 768px) {
    .access-tabs {
        width: 95%;
        margin-bottom: -4px;
        /* スマホは線を少し細くするならここも調整 */
    }

    .access-tab {
        border-width: 3px;
        /* スマホでは線を少し細く */
        font-size: 14px;
        padding: 10px 0;
    }

    .access-tab.active {
        border-bottom: none;
        padding-bottom: 25px;
        /* 高さ調整 */
    }

    .access-tab.active::after {
        bottom: -3px;
    }

    .access-card {
        border-width: 3px;
        padding: 2rem 0.5rem;
        width: 95%;
        /* 角丸も少し小さく */
        border-radius: 0 20px 20px 20px;
    }

    .access-card.is-shuryo {
        border-radius: 20px 0 20px 20px;
    }
}

.concept {
    text-align: center;
}

.concept__poster {
    max-width: 240px;
    margin: 0 auto 1.5rem auto;
}

.concept__theme-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.concept__text {
    text-align: justify;
}

.afterword__text {
    text-align: justify;
}

.afterword {
    position: relative;
    z-index: 10;
}

.afterword-decoration {
    position: absolute;
    top: -300px;
    left: 0;
    width: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.afterword-decoration img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.8;
    min-width: 900px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.footer {
    padding: 3rem 0;
    text-align: center;
    opacity: 1;
    position: relative;
    z-index: 100;
}

.footer__logo {
    max-width: 280px;
    margin: 0 auto 2.5rem auto;
}

.footer__sponsors {
    list-style: none;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.sponsor-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sponsor-item__label {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 14px;
}

.sponsor-item__name {
    font-weight: 700;
}

.footer__contact {
    margin-bottom: 2.5rem;
}

.contact__label {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.contact__info {
    font-style: normal;
    font-weight: 700;
    line-height: 1.8;
}

.footer__copyright {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    opacity: 1;
}


/* --- PC向けスタイル (画面幅768px以上で適用) --- */
@media (min-width: 768px) {
    body {
        font-size: 18px;
    }

    .section-title {
        font-size: 40px;
    }

    .hero {
        background-size: 100% 100%;
        padding-top: 8rem;
    }

    .container {
        max-width: 800px;
    }

    .greeting .container {
        max-width: 700px;
    }

    .hero__main-visual {
        max-width: 1000px;
        width: 115%;
        margin-bottom: 6rem;
    }

    .hero__logo {
        text-align: center;
        margin: 0 auto;
        display: block;
        transform: translateX(-15px);
    }


    .hero__year {
        width: 30%;
        max-width: 180px;
    }

    .hero__exhibition-title {
        width: 60%;
        max-width: 360px;
        transform: translateX(-15px);
    }


    .info-block {
        max-width: 800px;
    }

    .gallery {
        padding-left: 2rem;
        padding-right: 2rem;
    }


    .hamburger,
    .nav-menu {
        display: none;
    }
}

/* --- デスクトップ向けスタイル (画面幅1024px以上) --- */
@media (min-width: 1024px) {
    .container {
        max-width: 1000px;
    }

    .hero__main-visual {
        max-width: 1300px;
        width: 110%;
        margin-bottom: 7rem;
    }

    .hero__year {
        max-width: 240px;
    }

    .hero__exhibition-title {
        max-width: 500px;
    }
}

/* --- スクロール連動アニメーション --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Google Maps Overlay --- */
.map-wrapper {
    position: relative;
    width: 600px;
    max-width: 100%;
    margin: 0 auto;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10;
    cursor: pointer;
}