@charset "UTF-8";

:root {
    --color-navy: #07194d;
    --color-menu: #b96aa8;
    --font-ja: "Noto Sans JP", sans-serif;
    --font-en: "Josefin Sans", sans-serif;
}

/* ==============================
   基本設定
============================== */
html {
    font-size: 62.5%;
}

body {
    min-width: 320px;
    color: var(--color-navy);
    background: #fff;
    font-family: var(--font-ja);
    font-size: 1.6rem;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    /* ページ表示時に全体を1.4秒かけて表示 */
    animation: page-fade-in 1.4s ease-in both;
}

@keyframes page-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* スマホ版キャラクターの遅延表示 */
@keyframes character-fade-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

/* JavaScript有効時のスクロール表示アニメーション */
.js .scroll-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.js .scroll-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 改行位置をデザインに合わせるためのSP専用要素 */
.only-sp {
    display: none;
}

/* ==============================
   ヘッダー
============================== */
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
}

.menu-button {
    display: none;
}

.global-nav {
    display: none;
}

/* ==============================
   ファーストビュー
============================== */
.first-view {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* 透過PNG下部の波形から白い背景を見せる */
    background: #fff;
}

.first-view__picture,
.first-view__picture img {
    display: block;
    width: 100%;
}

.first-view__picture img {
    height: auto;
}

/* ==============================
   イベント説明
============================== */
.about {
    position: relative;
    /* FV下部を隠さず、白い波形の後から説明セクションを開始する */
    margin-top: 0;
    padding: 0 24px 20px;
    overflow: visible;
    background: #fff;
}

.about__inner {
    position: relative;
    /* 元デザインの1500px画面における左右位置を基準にする */
    width: min(1120px, 100%);
    min-height: 440px;
    margin: 0 auto;
}

.about__content {
    position: absolute;
    /* 横幅が広い画面でスフラと重なっても説明文を前面に表示 */
    z-index: 2;
    top: 18px;
    left: 50%;
    width: min(620px, 52%);
    text-align: center;
    transform: translateX(-50%);
}

.about__title {
    font-size: clamp(2.4rem, 2.2vw, 3.4rem);
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: 0.04em;
}

.about__lead {
    margin-top: clamp(14px, 1.6vw, 22px);
    font-size: clamp(1.6rem, 1.4vw, 2.1rem);
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0.05em;
}

.about__visual {
    position: absolute;
    text-align: center;
}

.about__visual img {
    position: relative;
    z-index: 0;
    height: auto;
    margin: 0 auto;
}

.about__visual p {
    margin-top: 10px;
    color: #333;
    /* PC・タブレットではキャラクターキャプションを従来の1.2倍で表示 */
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.45;
}

.about__visual--myakumyaku {
    /* 添付デザインに合わせ、中央の見出しより少し下から表示する */
    top: 80px;
    left: 0;
    width: 200px;
}

.about__visual--myakumyaku img {
    width: 190px;
}

.about__visual--myakumyaku p {
    /* 画像の透明余白も含めた直後に置き、キャラクターと重ならないようにする */
    width: 260px;
    margin: 0 0 0 -30px;
}

.about__visual--games {
    /* はばタン本体とキャプションに重ならない高さから表示する */
    top: 190px;
    /* PCでは添付指示に合わせ、ブロック全体を右へ約65px移動する */
    right: -65px;
    width: 360px;
}

.about__visual--games img {
    width: 202px;
    margin-left: 151px;
}

.about__visual--games p {
    /* PCでは画像左下の白い余白へ文字の右端だけを重ね、キャラクター本体との重なりを避ける */
    position: absolute;
    top: 151px;
    left: -25px;
    z-index: 1;
    width: 215px;
    margin: 0;
    text-align: left;
    white-space: nowrap;
}

.about__visual--habatan {
    /* 添付指示に合わせ、従来位置から約75px上・45px左へ移動する */
    top: -40px;
    right: 45px;
    width: 220px;
}

.about__visual--habatan img {
    width: 190px;
}

/* ==============================
   共通セクション見出し
============================== */
.section-title {
    font-family: var(--font-en);
    font-size: clamp(3.6rem, 4.4vw, 6.2rem);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    letter-spacing: 0.02em;
}

.section-title--orange {
    color: #fd7013;
}

.section-title--white {
    color: #fff;
}

/* ==============================
   ステージイベント
============================== */
.stage {
    position: relative;
    z-index: 2;
    padding: 4px 24px 0;
    /* 展示背景を後ろへ重ねられるよう、ステージ自体の背景は透明にする */
    background: transparent;
}

.stage__inner {
    /* PC版は元デザインに合わせ、左右の日程を約1200px内に配置 */
    width: min(1200px, 100%);
    margin: 0 auto;
}

.stage .section-title {
    font-size: clamp(3.6rem, 4.2vw, 5.6rem);
}

.stage__days {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(60px, 14vw, 180px);
    margin-top: clamp(34px, 4vw, 60px);
}

.stage__days::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: 3px dotted var(--color-navy);
    content: "";
    transform: translateX(-50%);
}

.stage-day {
    display: flex;
    flex-direction: column;
    min-width: 0;
    scroll-margin-top: 30px;
}

.stage-day__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.stage-day__label {
    width: min(52%, 269px);
    height: auto;
}

.stage-day__date {
    width: min(38%, 189px);
    height: auto;
}

.performers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
    gap: 22px clamp(12px, 2.4vw, 30px);
    margin-top: 32px;
    /* 左右のタイムテーブル上端を同じ縦位置に揃える */
    min-height: clamp(540px, 52vw, 650px);
}

.performer-card {
    min-width: 0;
    margin: 0;
    text-align: center;
}

.performer-card > img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.performer-card figcaption {
    margin-top: 8px;
    font-size: clamp(1.1rem, 1vw, 1.4rem);
    font-weight: 700;
    line-height: 1.45;
    /* キャプションを不自然に分割せず、2行以内に収めやすくする */
    word-break: keep-all;
    overflow-wrap: anywhere;
    font-feature-settings: "palt" 1;
}

.performer-card figcaption span {
    font-size: 0.9em;
}

.timetable {
    /* 各日程列と同じ横幅にする */
    width: 100%;
    margin: 35px auto 0;
    overflow: hidden;
    border-radius: 18px;
    background: #f2f6a8;
}

.timetable__title {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 55px;
    margin: 0;
    padding: 10px 12px 5px;
    color: #fd7013;
    background: var(--color-navy);
    font-family: var(--font-en);
    font-size: clamp(2.5rem, 2.5vw, 3.5rem);
    line-height: 1.1;
    text-align: center;
}

.timetable__list {
    margin: 0;
    padding: 14px 22px 20px;
}

.timetable__list > div {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(7, 25, 77, 0.55);
}

.timetable__list > div:last-child {
    border-bottom: 0;
}

.timetable__list dt,
.timetable__list dd {
    margin: 0;
    font-size: clamp(1.3rem, 1vw, 1.7rem);
    font-weight: 700;
    line-height: 1.55;
}

.chui{
font-size:13px;
margin-top:8px;
}


/* ==============================
   展示コーナー／アクセス
============================== */
.exhibition {
    position: relative;
    z-index: 1;
    padding-top: clamp(260px, 28vw, 440px);
    background-color: #fff;
    background-image: url("../img/pc_corner_bg.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
}

@media (min-width: 768px) {
    /* 添付指示に合わせ、展示背景を250px上へ重ねてステージを前面に表示 */
    .exhibition {
        margin-top: -250px;
    }
}

/* 背景画像よりコンテンツが長くなった場合も紫色を継続する */
.exhibition::before {
    position: absolute;
    z-index: 0;
    top: 90.57vw;
    right: 0;
    bottom: 0;
    left: 0;
    background: #b891be;
    content: "";
}

.exhibition__inner {
    position: relative;
    z-index: 1;
    width: min(1300px, calc(100% - 48px));
    margin: 0 auto;
}

.exhibition__title {
    color: #000;
    font-size: clamp(3.3rem, 2.7vw, 4.5rem);
    font-weight: 900;
    line-height: 1.5;
    text-align: center;
}

.exhibition__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(30px, 3vw, 50px);
    margin-top: 44px;
}

.exhibition-card {
    margin: 0;
    text-align: center;
}

.exhibition-card img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
}

.exhibition-card figcaption {
    margin-top: 12px;
    font-size: clamp(1.3rem, 1.25vw, 1.7rem);
    font-weight: 700;
}

.exhibition__button {
    display: block;
    width: min(344px, 60%);
    margin: 75px auto 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.exhibition__button img {
    display: block;
    width: 100%;
    height: auto;
}

.exhibition__button:hover,
.exhibition__button:focus-visible {
    opacity: 0.78;
    transform: translateY(-6px);
}

.access {
    position: relative;
    z-index: 1;
    padding-top: clamp(70px, 9vw, 130px);
}

.access__map {
    width: 100%;
    margin-top: 36px;
    line-height: 0;
}

.access__map iframe {
    width: 100%;
    height: clamp(280px, 28vw, 420px);
}

/* ==============================
   フッター
============================== */
.site-footer {
    padding: 48px 24px 128px;
    color: #111;
    background: #fff;
}

.site-footer__inner {
    width: 100%;
    margin: 0 auto;
}

.footer-banners {
    display: grid;
    grid-template-columns: 633fr 777fr 477fr;
    align-items: center;
    gap: 48px;
    width: min(1042px, 100%);
    margin: 0 auto;
}

.footer-banner {
    display: block;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-banner:hover,
.footer-banner:focus-visible {
    opacity: 0.78;
    transform: translateY(-6px);
}

.footer-banner picture,
.footer-banner img {
    display: block;
    width: 100%;
}

.footer-banner img {
    height: auto;
}

.site-footer__info {
    margin-top: 94px;
    text-align: center;
}

.site-footer__organizer,
.site-footer__contact {
    margin: 0;
}

.site-footer__organizer {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.8;
}

.site-footer__contact {
    margin-top: 14px;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.04em;
}

.site-footer__tel {
    margin-left: 18px;
}

/* ==============================
   ページTOP
============================== */
.page-top {
    position: fixed;
    right: clamp(14px, 2.5vw, 36px);
    bottom: clamp(14px, 2.5vw, 36px);
    z-index: 90;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 68px;
    height: 68px;
    padding: 2px 0 0;
    border: 0;
    border-radius: 50%;
    opacity: 0;
    color: #fff;
    background: #e84b4b;
    font-family: var(--font-ja);
    line-height: 1;
    cursor: pointer;
    transform: translateY(12px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
}

.page-top.is-visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.page-top:hover {
    background: #d93d3d;
}

.page-top__arrow {
    width: 11px;
    height: 11px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(-45deg);
}

.page-top__label {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

/* ==============================
   小さめのPC
============================== */
/* ==============================
   小さめのPC
============================== */
/* 1024px付近では右端からはみ出さない範囲で移動量を滑らかに調整 */
@media (min-width: 1024px) and (max-width: 1279px) {
    .about__visual--games {
        right: clamp(-65px, calc((1024px - 100vw) * 0.254), 0px);
    }
}

/* ==============================
   タブレット
============================== */
@media (max-width: 1023px) {
    .about__content {
        top: 6px;
        width: 48%;
    }

    .about__visual--myakumyaku {
        top: 60px;
        left: 0;
        width: 165px;
    }

    .about__visual--myakumyaku img {
        width: 145px;
    }

    .about__visual--myakumyaku p {
        width: 165px;
        margin: 0;
    }

    .about__visual--games {
        /* タブレット幅でも、拡大したスフラとはばタンの間隔を確保する */
        top: 175px;
        right: 30px;
        left: auto;
        width: 310px;
    }

    .about__visual--games img {
        width: 168px;
        margin-left: 166px;
    }

    .about__visual--games p {
        position: absolute;
        top: 100px;
        left: 0;
        width: 155px;
        margin: 0;
        white-space: normal;
    }

    .about__visual--habatan {
        right: 30px;
        width: 175px;
    }

    .about__visual--habatan img {
        width: 160px;
    }

}

/* ==============================
   スマートフォン
============================== */
@media (max-width: 767px) {
    body {
        font-size: 1.4rem;
    }

    .only-sp {
        display: initial;
    }

    .site-header {
        top: 6px;
        right: 6px;
    }

    .menu-button {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        width: clamp(50px, 13.4vw, 55px);
        height: clamp(50px, 13.4vw, 55px);
        border: 2px solid #fff;
        border-radius: 50%;
        cursor: pointer;
        background: var(--color-menu);
        box-shadow: 0 1px 4px rgba(7, 25, 77, 0.2);
    }

    .menu-button span {
        display: block;
        width: 25px;
        height: 2px;
        background: #fff;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .menu-button.is-open span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-button.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-button.is-open span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .global-nav {
        position: fixed;
        inset: 0;
        display: flex;
        visibility: hidden;
        justify-content: center;
        align-items: flex-start;
        padding: clamp(100px, 16vh, 150px) 24px 40px;
        opacity: 0;
        background: rgba(7, 25, 77, 0.96);
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .global-nav.is-open {
        visibility: visible;
        opacity: 1;
    }

    .global-nav__list {
        width: min(320px, 100%);
        color: #fff;
        font-size: 1.7rem;
        font-weight: 700;
        text-align: center;
    }

    .global-nav__list li + li {
        margin-top: 18px;
    }

    .global-nav__list a {
        display: block;
        padding: 10px;
    }

    .about {
        /* スマホ版はFVと説明欄を通常の文書フローで接続する */
        margin-top: 0;
        padding: 0 18px 24px;
    }

    /* スマホではスクロール位置に関係なく説明セクションを表示 */
    .js .about.scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    /* 3体のキャラクターをページ表示1秒後にふわっと表示 */
    .about__visual--myakumyaku,
    .about__visual--habatan,
    .about__visual--games {
        animation: character-fade-in 0.9s ease 1s both;
    }

    .about__inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        align-items: start;
        width: min(420px, 100%);
        min-height: 0;
        column-gap: 12px;
        row-gap: 10px;
    }

    .about__visual {
        position: static;
        top: auto;
        right: auto;
        left: auto;
        width: auto;
    }

    .about__visual p {
        margin-top: 5px;
        font-size: clamp(0.7rem, 2.2vw, 0.9rem);
        line-height: 1.4;
    }

    .about__visual--myakumyaku {
        /* スマホでは、元のはばタンの位置へミャクミャクを移動 */
        position: relative;
        z-index: 1;
        grid-column: 1 / -1;
        grid-row: 1;
        margin-top: -82px;
    }

    .about__visual--myakumyaku img {
        width: min(140px, 42%);
    }

    .about__visual--myakumyaku p {
        position: static;
        width: auto;
        margin-top: 5px;
    }

    .about__visual--habatan {
        /* キャッチコピーの下段左側へ配置 */
        grid-column: 1;
        grid-row: 3;
        margin-top: 16px;
    }

    .about__visual--habatan img {
        width: min(128px, 78%);
    }

    .about__visual--games {
        display: block;
        /* キャッチコピーの下段右側へ配置 */
        grid-column: 2;
        grid-row: 3;
        margin-top: 16px;
    }

    .about__visual--games img {
        /* スマホでも基準サイズの1.12倍で表示する */
        width: min(134px, 80%);
        margin-right: auto;
        margin-left: auto;
    }

    .about__visual--games p {
        position: static;
        margin: 5px 0 0;
        width: auto;
        text-align: center;
    }

    .about__content {
        position: static;
        grid-column: 1 / -1;
        /* ミャクミャクと下段の2体の間へ配置 */
        grid-row: 2;
        width: 100%;
        margin-top: 8px;
        transform: none;
    }

    .about__title {
        font-size: clamp(1.8rem, 5.7vw, 2.2rem);
        line-height: 1.5;
        letter-spacing: 0.02em;
        white-space: nowrap;
    }

    .about__lead {
        margin-top: 14px;
        font-size: clamp(1.1rem, 3.25vw, 1.4rem);
        line-height: 1.9;
        letter-spacing: 0.02em;
    }

    /* ステージイベントは日程ごとに縦並び */
    .stage {
        padding: 24px 20px 0;
    }

    .section-title {
        font-size: clamp(3.2rem, 10vw, 4.6rem);
    }

    .stage__days {
        grid-template-columns: 1fr;
        gap: 72px;
        width: min(430px, 100%);
        margin: 32px auto 0;
    }

    .stage__days::before {
        content: none;
    }

    .stage-day__header {
        gap: 14px;
    }

    .stage-day__label {
        width: 48%;
    }

    .stage-day__date {
        width: 39%;
    }

    .performers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
        margin-top: 26px;
        min-height: 0;
    }

    .performer-card figcaption {
        margin-top: 7px;
        font-size: clamp(1.1rem, 3.2vw, 1.4rem);
    }

    .timetable {
        margin-top: 58px;
        border-radius: 14px;
    }

    .timetable__title {
        min-height: 49px;
        padding: 9px 10px 5px;
        font-size: 2.9rem;
    }

    .timetable__list {
        padding: 10px 14px 16px;
    }

    .timetable__list > div {
        grid-template-columns: 52px 1fr;
        gap: 8px;
        padding: 8px 0;
    }

    .timetable__list dt,
    .timetable__list dd {
        font-size: clamp(1rem, 3vw, 1.3rem);
    }

    /* 展示コーナーはSP用背景と1列カードへ切り替え */
    .exhibition {
        padding-top: 205px;
        background-image: url("../img/sp_corner_bg.png");
    }

    .exhibition::before {
        top: 401.07vw;
    }

    .exhibition__inner {
        width: min(320px, calc(100% - 40px));
    }

    .exhibition__title {
        font-size: clamp(1.7rem, 5vw, 2.2rem);
    }

    .exhibition__cards {
        grid-template-columns: 1fr;
        gap: 28px;
        width: 100%;
        margin: 26px auto 0;
    }

    .exhibition-card figcaption {
        margin-top: 8px;
        font-size: 1.3rem;
    }

    .exhibition__button {
        width: min(234px, 74%);
        margin-top: 34px;
    }

    .access {
        padding-top: 52px;
    }

    .access__map {
        margin-top: 22px;
    }

    .access__map iframe {
        height: 310px;
    }

    /* フッターはSP専用バナーを縦に配置 */
    .site-footer {
        padding: 25px 20px 15px;
    }

    .footer-banners {
        display: flex;
        flex-direction: column;
        gap: 18px;
        width: min(322px, 100%);
    }

    .footer-banner {
        width: calc(100% - 5px);
    }

    .footer-banner:last-child {
        width: 100%;
    }

    .site-footer__info {
        margin-top: 37px;
    }

    .site-footer__organizer {
        font-size: 1.8rem;
        line-height: 1.5;
    }

    .site-footer__contact {
        margin-top: 17px;
        font-size: clamp(1.3rem, 4.1vw, 1.6rem);
        line-height: 1.55;
        letter-spacing: 0;
        font-feature-settings: "palt" 1;
    }

    .site-footer__contact > span:first-child {
        white-space: nowrap;
    }

    .site-footer__tel {
        display: block;
        margin: 18px 0 0;
    }

}

@media (max-width: 450px) {
    /* 見出し下の間隔を維持したまま、展示内容全体を約40px上へ移動 */
    .exhibition__title {
        margin-top: -40px;
    }

.chui{
font-size:11px;
margin-top:8px;
}

}

@media (max-width: 374px) {
    .about {
        padding-right: 14px;
        padding-left: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }

    body {
        animation: none;
    }

    .js .scroll-reveal {
        opacity: 1;
        transform: none;
    }

    .about__visual--myakumyaku,
    .about__visual--habatan,
    .about__visual--games {
        animation: none;
    }
}
