main {
    background-color: #f9f3ee;
}

.h2_underline {
    position: relative;
    margin-bottom: 40px;
    height: 25px;
}

.h2_underline::after {
    content: "";
    position: absolute;
    background-image: url(../img/stripe.png);
    width: 100%;
    height: 25px;
}

/* アニメーション */
.textanimation span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: floatUp 0.6s cubic-bezier(.77, 0, .18, 1) forwards;
}

@keyframes floatUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blockanimation {
    opacity: 0;
    transform: translateY(60px);
    transition: none;
}

.blockanimation.is-animated {
    animation: blockFloatUp 2s cubic-bezier(.33, 1, .68, 1) forwards;
}

@keyframes blockFloatUp {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }

    55% {
        opacity: 1;
        transform: translateY(-3px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.blockanimation-2 {
    opacity: 0;
    transform: translateY(40px);
    transition: none;
}

.blockanimation-2.is-animated {
    animation: blockFloatUp2 3s cubic-bezier(.33, 1, .68, 1) forwards;
}

@keyframes blockFloatUp2 {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    20% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ヘッダー */
#header-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    position: relative;
    padding: 30px;
    overflow: hidden;
}


.header-top__logo {
    width: 210px;
}

#header-top #grandopen-box {
    font-size: 80px;
    line-height: 1.5;
    margin-left: 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    line-height: 1;
    width: 100%;
    padding-left: 260px;
}

#header-top #grandopen-box span.small {
    font-size: 20px;
    display: block;
}

.grandopen {
    display: block;
}

@media screen and (min-width: 850px) {
    .grandopen br {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    #header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 30px;
        position: relative;
    }

    .header-top__logo {
        margin-bottom: 8px;
        width: 180px;
    }

    #header-top #grandopen-box {
        font-size: 45px;
        line-height: 1.2;
        margin-left: 0;
        position: static;
        left: auto;
        transform: none;
        width: auto;
        padding-left: 0;
        text-align: left;
    }

    .grandopen br {
        display: none;
    }

    #header-top::before {
        content: "";
        width: 200px;
        height: 200px;
        position: absolute;
        top: -100px;
        right: -50px;
        background-color: var(--color-green);
        z-index: -1;
        border-radius: 50%;
    }

}

/* ナビゲーション */
nav {
    display: flex;
    justify-content: center;
}

#nav ul {
    display: flex;
    justify-content: right;
    margin-bottom: 30px;
    width: 90%;
}

#nav ul li {
    border-left: solid 1px var(--color-brown);

}

#nav ul li:last-of-type {
    border-right: solid 1px var(--color-brown);
}

#nav ul li a {
    display: inline-block;
    padding-left: 15px;
    padding-right: 15px;
    font-weight: 600;
    position: relative;
}

#nav ul li a:hover::after {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: var(--color-lightgreen);
    border-radius: 50%;
    transform: translateX(-50%);
}

/* ハンバーガーボタン */
#hamburger {
    display: none;
    position: fixed;
    top: 7px;
    right: 24px;
    width: 48px;
    height: 48px;
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#hamburger span {
    display: block;
    width: 32px;
    height: 4px;
    margin: 3px 0;
    background: var(--color-brown);
    border-radius: 2px;
    transition: 0.3s;
}

#hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

#hamburger.open span:nth-child(2) {
    opacity: 0;
}

#hamburger.open span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* メニューの表示切替 */
@media screen and (max-width: 850px) {
    #hamburger {
        display: flex;
    }

    #nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 70vw;
        max-width: 320px;
        height: 100vh;
        background: #f9f3ee;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.08);
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.3s;
        display: block;
        padding-top: 80px;
    }

    #nav.open {
        transform: translateX(0);
    }

    #nav nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 0 24px;
    }

    #nav ul li {
        border: none;
    }

    #nav ul li:last-of-type {
        border: none;
    }

    #nav ul li a:hover::after {
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* キービジュアル */
#mv-concept {
    background-image: url(../img/kv-bg.png);
    background-position: center 50px;
    padding-bottom: 270px;
    background-repeat: no-repeat;
}

@keyframes bgFloatUp {
    0% {
        opacity: 0;
        background-position: center 100px;
        /* 画面下からスタート（数値は調整可） */
    }

    100% {
        opacity: 1;
        background-position: center 50px;
        /* 最終位置 */
    }
}

.mv-bg-animate {
    animation: bgFloatUp 2s cubic-bezier(.33, 1, .68, 1) forwards;
}

#slide-wrapper {
    position: relative;
    margin-bottom: 40px;
}

#slide {
    width: 90%;
    aspect-ratio: 16/9;
    margin: 0 auto;
    border-radius: 20px;
    position: relative;
    /* 追加 */
    overflow: hidden;
    /* 追加（ズーム時にはみ出し防止） */
}

#slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.mv__text {
    font-weight: 600;
    font-size: 40px;
    color: #ffffff;
    position: absolute;
    top: 50%;
    z-index: 20;
    text-shadow: 1px 1px 5px #333;
    line-height: 1.5;
}

.mv__text-1 {
    display: block;
    /* デフォルトで表示 */
    top: 55%;
}

.mv__text-2 {
    display: none;
    /* デフォルトで非表示 */
}

/* アニメーションを滑らかにするためのCSS（オプション） */
.mv__text {
    transition: opacity 2s ease-in-out;
    /* フェードアニメーション */
    opacity: 1;
}

.mv__text.hide {
    opacity: 0;
}

#open {
    position: absolute;
    top: 60%;
    right: 0;
    width: 45%;
    z-index: 10;
}


/* コンセプト */
#concept {
    color: #ffffff;
    z-index: 30;
    position: relative;
    margin-top: -10px;
    padding-top: 10px;
}

#concept h2 {
    margin-top: 30px;
    margin-bottom: 0;
}

#concept h2::before {
    background-image: url(../img/book-w.png);
}

.concept__catchphrase {
    margin-bottom: 20px;
    text-align: center;
}
.concept__catchphrase .pc{
    width: 340px;
}
.concept__catchphrase .sp{
    width: 240px;
}

.concept__text {
    text-align: center;
}
.concept__text .pc{
    width: 625px;
}
.concept__text .sp{
    width: 400px;
    max-width: 100%;
}

@media screen and (max-width: 1035px) {
    #mv-concept {
        padding-bottom: 420px;
    }

    #concept h2 {
        margin-bottom: 35px;
    }
}

@media screen and (max-width: 768px) {
    #slide {
        width: 100%;
        aspect-ratio: 2/3;
    }

    .mv__text {
        left: -15px;
        font-size: 27px;
        top: 45%;
    }

    #open {
        width: 85%;
        top: 80%;
        right: -15px;
    }

    #slide-wrapper {
        margin-top: 35px;

    }

    #mv-concept {
        padding-bottom: 240px;
        background-position: -940px 90% !important;
    }

    .concept__catchphrase {
        font-size: 28px;
        padding: 0 10px;
        text-align: justify;
    }

    .concept__text {
        text-align: justify;
        font-size: 16px;
    }

}


/* 施設概要 */
#facilities {
    margin-top: -50px;
    padding-top: 50px;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

#facilities::before {
    content: "";
    position: absolute;
    top: 0px;
    right: -50px;
    width: 400px;
    height: 300px;
    background-image: url(../img/circle-01.png);
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
    background-size: contain;
}

.facility__catchphrase {
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
    text-shadow: 1px 1px #f9f3ee;
    line-height: 1.3;
}

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

.facility {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.facility__logo {
    max-width: 100%;
    width: 100%;
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    .facility__wrapper {
        width: 100%;
        grid-template-columns: 1fr;
    }

    #facilities::before {
        width: 220px;
    }

    .facility__catchphrase {
        font-size: 23px;
        text-align: justify;
    }
}




/* フロアガイド */
#floorguide {
    margin-top: -50px;
    padding-top: 50px;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

#floorguide::before {
    content: "";
    position: absolute;
    top: 160px;
    left: -50px;
    width: 175px;
    height: 190px;
    background-image: url(../img/circle-02.png);
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
    background-size: contain;
}

.floorguide__catchphrase {
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
    text-shadow: 1px 1px #f9f3ee;
    line-height: 1.3;
}

.floor {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    align-items: center;
}

.floor__text,
.floor__image {
    width: calc(50% - 10px);
}



.floor__logo {
    max-width: 100%;
    height: 45px;
    margin-top: 20px;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    .floor {
        flex-wrap: wrap;
        flex-direction: column-reverse;
        gap: 0;
        margin-bottom: 50px;
    }

    .floor.not-reverse {
        flex-direction: column;
        /* 2つ目だけ通常の縦並び */
    }

    .floor__text {
        margin-top: 40px;
    }

    .floor__text,
    .floor__image {
        width: 100%;
    }

    .floorguide__catchphrase {
        font-size: 23px;
        text-align: justify;
    }

    #floorguide::before {
        top: 0;
        left: 60%;
    }
}

/* 動画 */
#movie {
    margin-top: -50px;
    padding-top: 50px;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

#movie:before,
#movie:after {
    content: "";
    position: absolute;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
    background-size: contain;
}

#movie:before {
    top: 0;
    right: -100px;
    width: 500px;
    height: 380px;
    background-image: url(../img/circle-03.png);
}

#movie:after {
    bottom: 0;
    left: -100px;
    width: 340px;
    height: 340px;
    background-image: url(../img/circle-04.png);
}


#movie img {
    margin: 50px auto;
    display: block;
}

/* お知らせ */
#information {
    margin-top: -50px;
    padding-top: 50px;
}

.information__list {
    padding: 30px;
    background-color: #ffffff;
    color: #000000;
    margin-top: 50px;
}
.information__list a:hover .information__heading.underline{
    color: var(--color-green);
}

#information dl {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
    align-items: center;
    padding-bottom: 20px;
    padding-top: 20px;
    border-bottom: solid 1px #00000050;
}

.information__date {
    font-weight: 600;
    padding-left: 10px;
    width: 5em;
}

.information__tag {
    background-color: var(--color-green);
    color: #ffffff;
    padding: 2px 10px 3px;
    border-radius: 20px;
    font-size: 13px;
    width: 8em;
    text-align: center;
}
.information__heading{
    line-height: 1.8;
}
.information__heading.underline{
    text-decoration: underline;
    text-decoration-color: var(--color-green);
    text-underline-offset: 4px;
}

@media screen and (max-width: 768px) {
    #information dl {
        gap: 10px 0;
    }

    .information__date {
        padding-left: 0;
    }

    .information__heading {
        width: 100%;
    }
}

/* アクセス */
#access {
    margin-top: -50px;
    padding-top: 50px;
    position: relative;
    overflow: hidden;
    z-index: 10;
    padding-bottom: 70px;
    margin-bottom: 0;
}

#access::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: -50px;
    width: 480px;
    height: 480px;
    background-image: url(../img/circle-05.png);
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
    background-size: contain;
}

#access iframe {
    display: block;
    margin: 0 auto 50px;
    width: 90%;
    border-radius: 20px;
    box-shadow: 3px 3px 5px #666;
}

#access p {
    width: 90%;
    margin: 0 auto 10px;
}

@media screen and (max-width: 768px) {
    #access::before {
        width: 300px;
        height: 300px;
    }
}

/* お問合せ */
#inquiry {
    margin-top: -50px;
    padding-top: 50px;
}

.inquiry__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
}

.inquiry__block {
    width: calc(50% - 25px);
    border-left: solid 5px var(--color-lightgreen);
    padding-left: 10px;
}

@media screen and (max-width: 768px) {
    .inquiry__block {
        width: 100%;
    }
}

/* フッター */
footer {
    padding-bottom: 50px;
    background-image: url(../img/footer-bg.png);
    background-position: center top;
    min-height: 321px;
    background-repeat: no-repeat;
    padding-bottom: 0;
    margin-top: auto;
}

footer .inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 20px;
    padding-top: 85px;
}

#footer__logo {
    width: 445px;
    margin-right: auto;
}

#footer__logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

#footer__address {
    color: #ffffff;
    font-weight: 600;
}

#footer__sns {
    width: 170px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
}

.speech-bubble {
    width: 100%;
    height: auto;
}

#footer__sns a {
    display: inline-block;
    height: 55px;
    width: auto;
    border-radius: 10px;
    padding: 7px;
}


#footer__sns a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer__sns__instagram {
    background-image: url(../img/instagram-bg.png);

}

.footer__sns__x {
    background-color: #000000;
}

#footer__policy {
    width: 100%;
    color: #ffffff;
    text-align: right;
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    footer .inner {
        gap: 40px;
    }

    #footer__logo,
    #footer__address,
    #footer__sns {
        width: 100%;
        text-align: center;
    }

    #footer__logo img {
        width: 200px;
        margin-top: 50px;
    }

    .speech-bubble-box {
        width: 100%;
    }

    .speech-bubble {
        width: 200px;
    }

    #footer__policy {
        text-align: center;

    }

    #footer__sns a {
        width: 45px;
        height: 45px;
    }
}

/* 下層ページ共通 */
.lower nav {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.link-top {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
}

.link-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 10;
    position: relative;
    font-weight: 600;
}

.link-top a::before {
    content: "";
    display: inline-block;
    height: 60px;
    aspect-ratio: 132 / 172;
    background-image: url(../img/book-b.png);
    position: absolute;
    top: 50%;
    left: 0;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%);
}

.lower #nav ul {
    width: auto;
    margin-top: 40px;
}

@media screen and (max-width: 850px) {
    .lower #nav ul {
        margin-top: 10px;
    }
}

.h2-box {
    background-color: var(--color-yellowgreen);
    padding: 40px 0;
    margin-bottom: 50px;
    position: relative;
}


.h2-box h2 {
    color: #ffffff;
    margin-bottom: 0;
    font-size: 30px;
    /* padding-left: 30px; */
    position: relative;
    z-index: 10;
}

.lower h2::before {
    display: none;

}

.lower h3 {
    margin-bottom: 20px;
    border-bottom: dotted 3px var(--color-brown);
    padding-bottom: 3px;
}

@media screen and (max-width: 768px) {
    .h2-box {
        margin-top: 60px;
    }

    .h2-box h2 {
        font-size: 25px;
        padding-left: 0;
    }

}

/* プライバシーポリシー */

#policy main p {
    margin-bottom: 20px;
    color: #000000;
}

.policy__link {
    color: var(--color-brown) !important;
    text-decoration: underline;
}

/* お知らせ個別 */
.article__date {
    font-weight: 600;
    margin-bottom: 20px;
}

.article__section {
    margin-bottom: 40px;
}

.article__section p {
    color: #000000;
}

.article__section a {
    text-decoration: underline;
    color: var(--color-brown);
}

.article-1col p,
.article-1col .article__img-box {
    margin-bottom: 20px;
}

.article__img-box {
    background-color: #ffffff;
    width: 100%;
    aspect-ratio: 3/2;    
}
.article__img-box.pdf{
    max-width: 500px;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    margin-left: auto;
    margin-right: auto;
    background-color: transparent;
}
.article__img-box.pdf img{
    box-shadow: 2px 2px 3px rgb(189, 189, 189);
}


.article__img-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.article__section .article-2col {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.article-2col p,
.article-2col .article__img-box {
    width: calc(50% - 10px);
}



@media screen and (max-width: 768px) {

    .article-2col p,
    .article-2col .article__img-box {
        width: 100%;
    }
}