@charset "utf-8";
/* CSS Document */
body {
  background:rgb(0 15 57);
}
header {
  display: none;
}
#body_wrap {
  max-width: 650px;
  margin: auto;
  background: #fff;
  box-shadow: 0px 0px 60px -5px rgb(110 255 233), 0px 0px 0px -5px rgb(110 255 233);
  /* border: solid 5px var(--color_main); */
  border-top: none;
  border-bottom: none;
}
#content, .post_content {
  padding: 0 !important;
  margin-bottom: 0;
}
.fes-page p {
  margin: 0 0 1em;
  font-weight: 600;
  font-size: 1.1rem;
}
.fes-page .fes-countdown {
  font-family: "Yusei Magic", sans-serif;
  font-weight: 600;
  font-style: normal;
  min-width: 350px;
  font-size: 1.6vw;
}
.fes-page .fes-days {
  font-size: 180%;
}
.fes-page .fes-date strong, .fes-page h1, .fes-page h2, .fes-page h3, .fes-page #fes-about .fes-memory p, .fes-page #fes-contents .fes-content-card .fes-card-label strong, .wp-block-button__link {
  /* font-family: "Dela Gothic One", sans-serif;
  font-weight: normal !important;
  font-style: normal; */
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900 !important;
  font-style: normal;
}
.fes-page .fes-title p {
  font-family: "Chewy", system-ui;
  font-weight: 400;
  font-style: normal;
  margin-bottom: -15px !important;
  font-size: 1.6vw;
}
.fes-page .fes-date span {
  padding: 3px 9px;
  background: var(--color_main);
  border-radius: 100px;
  color: #fff;
  transform: none;
  font-size: 1rem;
  position: relative;
  top: -10px;
  font-weight: 600;
}
.fes-page :is(.fes-hero-info, .fes-fixed, .fes-application) .wp-block-button__link {
  font-size: 1.3rem;
  letter-spacing: 0;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900 !important;
  font-style: normal;
}
.fes-page .fes-date {
    margin-bottom: -20px;
}
.fes-page .fes-hero-info h3 {
    font-size: 1.6vw;
}
.fes-page .fes-title h2 {
    font-size: 2.6vw;
}
.fes-page .fes-title h2 {
    display: inline;
    background: linear-gradient(transparent 72%, var(--color_link) 72% 93%, transparent 93%);
}
#fes-about h3 {
    margin: -10px 0 0;
    font-size: 1.9vw;
    color: var(--color_main);
}
.fes-page .fes-memory > .swell-block-columns__inner {
    grid-template-columns: 150px minmax(0, 1fr);
}

/* PC：650pxの本文＋左側に開催情報を固定 */
@media (min-width: 1400px) {

  #body_wrap {
    width: 750px;
    max-width: 750px;
    margin-inline: auto;
  }

  .fes-page {
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: visible;
  }

  /* 左側の余白エリアに固定 */
  .fes-page .fes-hero-info {
    position: fixed;
    z-index: 100;

    left: calc((100vw - 750px) / 4);
    top: 50%;

    width: calc((100vw - 750px) / 2 - 80px);
    max-width: 420px;
    max-height: calc(100dvh - 48px);

    margin: 0 !important;
    padding: 5px 18px 28px;

    overflow-y: auto;
    overscroll-behavior: contain;

    transform: translate(-50%, -50%) !important;

    background-color: #fff;
    background-image:
      linear-gradient(
        color-mix(in srgb, var(--color_main) 18%, #fff) 1px,
        transparent 1px
      ),
      linear-gradient(
        90deg,
        color-mix(in srgb, var(--color_main) 18%, #fff) 1px,
        transparent 1px
      );
    background-size: 24px 24px;

    border: 2px solid #29272b;
    border-radius: 12px;
    box-shadow: 6px 6px 0 var(--color_link);
  }

  /* 固定表示部分のフェードを解除 */
  .fes-page .fes-hero-info.fes-reveal {
    opacity: 1;
    translate: none;
    transition: none;
  }
  .fes-page .fes-hero-info p {
    font-size: 1vw;
  }

  /* 左側の幅に収まるように調整 */
  .fes-page .fes-hero-info .fes-countdown {
    width: 100%;
    min-width: 0;
    padding-inline: 8px;
    font-size: 1.3vw;
    padding: 0;
  }

  .fes-page .fes-hero-info .fes-date strong {
    font-size: 3.2vw;
  }

  .fes-page .fes-hero-info .fes-date span {
    top: -8px;
    font-size: 0.85vw;
  }

  .fes-page .fes-hero-info h3 {
    font-size: 1.5vw;
  }

  .fes-page .fes-hero-info .fes-tags {
    gap: 6px;
  }

  .fes-page .fes-hero-info .fes-tags span {
    padding: 4px 8px;
    font-size: 0.8vw;
  }

  .fes-page .fes-hero-info .wp-block-button__link {
    padding: 14px 10px;
    font-size: 1.1vw;
  }

  /* 左側に申込ボタンがあるため下部固定CTAを非表示 */
  .fes-page .fes-fixed {
    display: none !important;
  }

  body:has(.fes-page) {
    padding-bottom: 0;
  }
}
#fes-about .read {
  margin-top: 3em;
  position: relative;
}
#fes-about .read p {
  text-align: center;
  color: #000;
}
#fes-about .read p em {
    background: linear-gradient(transparent 50%, var(--color_link) 50% 93%, transparent 93%);
}
#fes-about .read figure {
  position: absolute;
  width: 25%;
  top: 20%;
  right: -70px;
}
#fes-about .read figure:last-child {
  top: unset;
  right: unset;
  left: -70px;
  bottom: 20%;
}
#fes-about .wp-block-image figcaption {
  opacity: 1;
  font-weight: bold;
  color: #000;
}
.fes-page .fes-about-box h2 {
    font-size: 1.9vw;
    margin-bottom: 18px;
}
.fes-page #fes-about .fes-memory .swell-block-column:nth-child(2) {
    top: 2em !important;
    position: relative;
}
.fes-page #fes-contents .fes-content-card .fes-card-label {
    padding: 10px 24px;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 900 !important;
    font-style: normal;
}
.fes-page .fes-info-table th, .fes-page .fes-info-table td {
  font-weight: bold;
  font-size: 1rem;
}
.fes-page .fes-card-body h3, .fes-page .fes-organizer h3 {
    color: #28abdd;
    font-size: 1.6vw;
    margin: 0 0 8px;
}
.fes-page .fes-organizer h3 {
  font-size: 1.9vw;
}
.fes-page p a, .fes-page table a {
  color: var(--color_text);
  text-decoration: underline;
  text-decoration-color: var(--color_main);
  text-underline-offset: 5px;
  position: relative;
  padding-right: 1em;
}
.fes-page p a:hover, .fes-page table a:hover {
  color: var(--color_main);
  text-decoration: none;
}
.fes-page p a::after, .fes-page table a::after {
  content: "▶";
  color: var(--color_main);
  font-size: 70%;
  position: absolute;
  top: 1px;
  text-decoration: none;
  right: 0;
}
.fes-page .fes-organizer > div > p {
    font-weight: 500;
    font-size: 1rem;
    color: #000;
}
.fes-page .fes-organizer {
  border: 1px solid var(--fes-pink)
}
footer {
  padding: 2em 0 1em;
  text-align: center;
}
footer #f_logo {
  max-width: 300px;
  margin: 0 auto 1em;
}
.l-footer .copyright {
  margin-top: 2em;
}
.icon-instagram::before {
  font-size: 1.1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  background: #e4405f;
  display: none;
}


@media all and (min-width: 960px){

}

@media screen and (min-width: 1300px) {

  /* 本文の右側の背景エリアに固定 */
  #body_wrap #menu {
    display: flex !important;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: calc(50vw + 365px);
    width: auto;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 40px 24px;
    box-sizing: border-box;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 990;
  }

  #body_wrap #menu > div {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* MENU見出し */
  #body_wrap #menu > div::before {
    margin-bottom: 15px;
    color: var(--color_main);
    font-size: 1.4vw;
    font-weight: 800;
    letter-spacing: 0.15em;
  }

  /* ナビを縦並びに */
  #body_wrap #menu .c-gnav {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #body_wrap #menu .c-gnav > li {
    /* flex: none; */
    width: 16em;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    text-align: left;
    opacity: 1;
  }

  #body_wrap #menu .c-gnav > li > a {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 12px 8px;
    box-sizing: border-box;
    background: transparent;
    color: #fff;
    font-size: 1.15vw;
    font-weight: 800;
    line-height: 1.6;
    text-decoration: none;
    text-shadow: 0 2px 8px rgb(0 0 0 / 12%);
    transition: color 0.2s ease, transform 0.2s ease;
  }

  #body_wrap #menu .c-gnav .ttl {
    color: inherit;
    font-size: 1.2vw;
    font-weight: bold;
    line-height: inherit;
    position: relative;
    font-style: normal;
  }

  /* 既存の矢印・下線装飾を解除 */
  #body_wrap #menu .c-gnav > li::before {
    display: none;
  }

  #body_wrap #menu .c-gnav > li > a::before {
    display: none;
  }

  #body_wrap #menu .c-gnav > li > a::after {
    display: none;
  }

  /* 各項目の間にドット */
  #body_wrap #menu .c-gnav > li > a .ttl::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -18px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color_link);
    transform: translateY(-50%);
    pointer-events: none;
  }

  #body_wrap #menu .c-gnav > li:last-child::after {
    display: none;
  }

  #body_wrap #menu .c-gnav > li > a:hover {
    color: var(--color_main);
    transform: translateY(-2px);
  }

  /* PCでは開閉ボタンを非表示 */
  #menu_btn {
    display: none !important;
  }
}

@media screen and (min-width: 1300px) {

  /* 右側ナビの枠 */
  #body_wrap #menu > div {
  }

  /* MENU見出し */
  #body_wrap #menu > div::before {
    color: var(--color_main);
  }

  /* 白背景に合わせて文字を黒に */
  #body_wrap #menu .c-gnav > li > a {
    color: #333;
    text-shadow: none;
  }

  #body_wrap #menu .c-gnav > li > a:hover {
    color: var(--color_main);
  }

}

@media screen and (min-width: 1400px) {

  /* 黒板風の背景と木枠 */
  #body_wrap #menu > div {
  }

  #body_wrap #menu > div::before {
    color: var(--color_link);
    text-shadow: 1px 1px 0 rgb(255 255 255 / 15%);
    font-family: "Chewy", system-ui;
    font-weight: 400;
    font-style: normal;
  }

  #body_wrap #menu .c-gnav > li > a {
    color: #fff;
    text-shadow: 1px 1px 2px rgb(0 0 0 / 20%);
  }

  #body_wrap #menu .c-gnav > li > a:hover {
    color: #f2e634;
  }

  #body_wrap #menu .c-gnav > li:not(:last-child)::after {
    background: var(--color_link);
    opacity: 0.8;
  }

  /* 左側固定エリア */
    #fix_left {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;

        /* 中央コンテンツ幅730pxを基準に可変 */
        width: calc(50vw - 385px);

        height: 100vh;
        height: 100dvh;
        z-index: 990;

        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;

        padding: 30px 0 40px;
        box-sizing: border-box;

        pointer-events: none;
    }

    /* ========================================
       ロゴ：左上
    ======================================== */

    #fix_left > p {
        margin: 0;
        padding: 0 25px;
        width: 100%;
        box-sizing: border-box;
        pointer-events: auto;
    }

    #fix_left > p img {
        display: block;
        width: 280px;
        max-width: 100%;
        height: auto;
        margin: auto;
    }

    /* ロゴ下のテキストを非表示 */
    #fix_left > p span {
        display: none;
    }

    #fix_left > #kyoutai {
        margin-top: auto;
        padding: 0 25px;
        width: 100%;
        box-sizing: border-box;
        pointer-events: auto;
    }

    /* 本体画像 */
    #fix_left > #kyoutai img {
        display: block;
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: 0 auto;
    }

    /* ========================================
       ボタン：左下
    ======================================== */

    #fix_left > a.swell-block-button__link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: calc(100% - 60px);
        min-height: 80px;
        margin: 0 auto;
        box-sizing: border-box;
        background: #c7b99c;
        text-decoration: none;
        font-size: 1.2rem;
        /* font-weight: 600; */
        pointer-events: auto;
        transition: opacity 0.3s;
    }

    #fix_left > a.swell-block-button__link:hover {
        opacity: 0.9;
        transform: translateY(5px);
        box-shadow: 2px 6px 10px rgba(0,0,0,0.3);
    }

    /* ボタン内アイコン */
    #fix_left > a svg {
        width: 1em;
        height: 1em;
        flex-shrink: 0;
    }

    /* SWELLのボタン装飾を調整 */
    #fix_left > a::before,
    #fix_left > a::after {
        display: none;
    }
}


/* ========================================
   タブレット・スマホ：1299px以下
   固定配置を解除
======================================== */

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

    #fix_left {
        /* position: static;
        width: 100%;
        height: auto;
        padding: 15px 20px;

        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;

        box-sizing: border-box;
        pointer-events: auto; */
        display: none;
    }

    /* ロゴ */
    #fix_left > p {
        margin: 0;
        padding: 0;
    }

    #fix_left > p img {
        display: block;
        width: 160px;
        max-width: 100%;
        height: auto;
    }

    #fix_left > p span {
        display: none;
    }

    /* ボタン */
    #fix_left > a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;

        width: auto;
        padding: 12px 20px;

        background: #c7b99c;
        color: #333;
        text-decoration: none;

        font-size: 13px;
        white-space: nowrap;
    }
}

/* #body_wrap #menu > div::before {
  content: "MENU";
  display: block;
  position: static;
  width: auto;
  height: auto;
  margin: 0 0 28px;
  color: #ffef58;
  font-size: 4.5vw;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.15em;
  visibility: visible;
  opacity: 1;
  transform: none;
} */

@media screen and (min-width: 650px) {

  #body_wrap #menu > div::before {
    font-size: 2vw;
  }

}

@media screen and (min-width: 1300px) {

  #body_wrap #menu > div::before {
    font-size: 1.4vw;
    margin-bottom: 5px;
  }

}

#body_wrap #menu_btn {
  display: inline-block !important;
  position: fixed;
  top: 0;
  right: max(0px, calc((100% - 750px) / 2));
  bottom: auto;
  left: auto;
  margin: 0;
  z-index: 1000;
}

@media screen and (min-width: 1400px) {

  #body_wrap #menu_btn {
    display: none !important;
  }

}

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

  /* 本文と同じ幅のメニュー */
  #body_wrap #menu {
    display: flex !important;
    position: fixed;
    top: 0;
    right: max(0px, calc((100% - 750px) / 2));
    bottom: 0;
    left: auto;
    width: min(100%, 750px);
    max-width: none;
    height: 100dvh;
    margin: 0;
    padding: 100px 20px 40px;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #fff;
    background: rgb(0 15 57);
    border-right: 2vw solid #5cd7e3;
    border-left: 2vw solid #5cd7e3;
    overflow-x: hidden;
    overflow-y: auto;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none;
    transform: none !important;
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease;
    z-index: 990;
  }

  /* メニューを開いた状態 */
  body.open #body_wrap #menu {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto;
  }

  /* PC用の黒板・木枠を解除 */
  #body_wrap #menu > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  /* #body_wrap #menu > div::before {
    content: "MENU";
    display: block;
    margin: 0 0 15px;
    color: var(--color_main);
    font-size: min(5vw, 2.5vw + 16px);
    font-weight: 800;
    letter-spacing: 0.15em;
    font-family: "Chewy", system-ui;
    font-weight: 400;
    font-style: normal;
  } */

  /* ナビを縦並びに */
  #body_wrap #menu .c-gnav {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: none;
    max-width: 18em;
  }

  #body_wrap #menu .c-gnav > li {
    flex: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    text-align: left;
    height: auto;
  }

  #body_wrap #menu .c-gnav > li > a {
    display: block;
    height: auto;
    padding: 0.15em;
    background: transparent;
    color: var(--color_main);
    font-size: 3vw;
    font-weight: bold;
    line-height: 1.6;
    text-shadow: none;
  }

  #body_wrap #menu .c-gnav > li > a .ttl::before {
      content: "";
      position: absolute;
      top: 50%;
      left: -18px;
      width: 6px;
      height: 6px;
      transform: translateY(-50%);
      pointer-events: none;
      border-radius: 50%;
      background: var(--color_main);
  }

  #body_wrap #menu .c-gnav > li > a .ttl {
    display: inline-block;
    position: relative;
    color: var(--color_text);
    color: #fff;
    font-style: normal;
  }

  #body_wrap #menu .c-gnav > li > a:hover {
    color: var(--color_main);
    transform: none;
  }

  /* 左側のドット */
  #body_wrap #menu .c-gnav > li > a .ttl::before {
    background: var(--color_link);
  }

  #body_wrap #menu .c-gnav > li::after {
    display: none !important;
  }

  /* 開閉ボタンはメニューより手前に */
  #body_wrap #menu_btn {
    display: inline-block !important;
    z-index: 1000;
  }

}

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

  #body_wrap #menu .c-gnav > li > a {
    font-size: 5.5vw;
  }

  #body_wrap #menu .c-gnav > li > a .ttl {
    font-size: 4.5vw;
    font-weight: bold;
    font-style: normal;
  }

  .fes-page p {
    font-size: 1rem;
  }
  .fes-page .fes-date strong {
    font-size: 9vw;
  }
  .fes-page .fes-hero-info h3 {
    font-size: 5vw;
  }
  .fes-page .fes-countdown {
    font-size: 4vw;
    padding: 5px 20px;
  }
  .fes-page .fes-title h2 {
    font-size: 6.5vw;
  }
  .fes-page .fes-title p {
    font-size: 5vw;
  }
  #fes-about h3 {
    font-size: 5vw;
  }
  .fes-page .fes-about-box h2 {
    font-size: 6vw;
    line-height: 1.3;
  }
  .fs_l, .has-l-font-size, .has-large-font-size, .u-fz-l {
    font-size: 1.1rem !important;
  }
  .fes-page #fes-contents .fes-content-card h3 {
      font-size: 5vw;
      line-height: 1.3;
  }
  .fes-page .fes-card-body h3, .fes-page .fes-organizer h3 {
    font-size: 5vw;
  }
  .fes-page .fes-note {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

#menu_btn em {
  font-weight: 400;
  font-style: normal;
  color: #fff;
  /* font-size: 1rem; */
  bottom: 4px;
}
#menu_btn span {
  height: 2px;
  background-color: #fff;
  border-radius: 10px;
}

.fes-page .fes-news-track {
  overflow: unset;
  display: unset;
}
#fes-news a.p-postList__link {
  color: #fff;
}
#fes-news .p-postList__title {
  font-size: 1.6vw;
}
.p-postList__meta :before {
  display: none;
}

/* 傾けたカードが切れないように余白を確保 */
#fes-news .p-postList {
  padding: 20px 12px;
}

/* 写真風カード */
#fes-news a.p-postList__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px 10px 20px;
  box-sizing: border-box;
  background: #fff;
  border: none;
  border-radius: 0;
  color: #222;
  text-decoration: none;
  box-shadow:
    5px 6px 0 color-mix(in srgb, var(--color_main) 40%, white),
    0 10px 24px rgb(0 0 0 / 12%);
  transform: rotate(-3deg);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* 写真の傾きを交互に */
#fes-news .p-postList__item:nth-child(even) a.p-postList__link {
  transform: rotate(3deg);
}

/* 写真部分 */
#fes-news a.p-postList__link .p-postList__thumb {
  width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

/* 写真を正方形に */
#fes-news a.p-postList__link .c-postThumb__figure {
  height: auto;
  margin: 0;
  padding: 0;
  aspect-ratio: 1 / 0.75;
  border-radius: 0;
}

#fes-news a.p-postList__link .c-postThumb__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* 写真下のテキスト */
#fes-news a.p-postList__link .p-postList__body {
  width: 100%;
  margin: 0;
  padding: 16px 6px 0;
  text-align: center;
}

#fes-news a.p-postList__link .p-postList__title {
  margin: 0;
  color: #000;
  font-size: 1.4vw;
  font-weight: 800;
  line-height: 1.6;
}

/* 参考画像に合わせてタイトルのみ表示 */
#fes-news a.p-postList__link .p-postList__meta,
#fes-news a.p-postList__link .p-postList__excerpt,
#fes-news a.p-postList__link .c-postThumb__cat {
  display: none;
}

/* ホバーで写真が少し持ち上がる */
@media (hover: hover) {

  #fes-news .p-postList__item a.p-postList__link:hover {
    transform: translateY(-5px) rotate(0deg);
    box-shadow:
      5px 9px 0 color-mix(in srgb, var(--color_main) 40%, white),
      0 14px 28px rgb(0 0 0 / 16%);
  }

}

/* スマートフォン */
@media screen and (max-width: 650px) {

  #fes-news a.p-postList__link .p-postList__title {
    font-size: 3.6vw;
  }

}

@media (prefers-reduced-motion: reduce) {

  #fes-news a.p-postList__link {
    transition: none;
  }

}
#fes-news .fes-title {
  margin-bottom: 0;
}
#fes-news .p-postList__item {
  width: 80%;
  margin: auto;
}

.fes-page #fes-about .fes-memory .swell-block-column figure {
  padding: 0;
  background: unset;
  box-shadow: none;
}

/* 背景装飾の重なり順 */
body {
  isolation: isolate;
}

/* 装飾全体 */
#deco {
  display: block !important;
  position: fixed !important;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;

  /* 650px幅の本文を除いた片側の余白 */
  --deco-side: max(0px, calc((100vw - 650px) / 2));
}

/* 各画像の配置と揺れ */
#deco > figure.wp-block-image {
  display: block !important;
  position: absolute !important;
  left: var(--deco-x);
  top: var(--deco-y);
  width: var(--deco-size) !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  transform-origin: center;
  animation: fes-deco-float var(--deco-speed, 7s) ease-in-out infinite;
  animation-delay: var(--deco-delay, 0s);
}

/* 元画像の比率を維持 */
#deco > figure.wp-block-image img {
  display: block;
  position: static !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  margin: 0;
  object-fit: contain !important;
  filter:
    drop-shadow(0 5px 8px rgb(0 0 0 / 10%))
    drop-shadow(0 0 12px rgb(255 255 255 / 55%));
}

/* キャプションは非表示 */
#deco figcaption {
  display: none !important;
}

/* 1枚目：左上 */
#deco > figure:nth-of-type(1) {
  --deco-x: calc(var(--deco-side) * 0.12);
  --deco-y: 6%;
  --deco-size: min(9vw, calc(var(--deco-side) * 0.42));
  --deco-rotate: -14deg;
  --deco-speed: 7s;
  --deco-delay: -2s;
}

/* 2枚目：左上・本文寄り */
#deco > figure:nth-of-type(2) {
  --deco-x: calc(var(--deco-side) * 0.6);
  --deco-y: 15%;
  --deco-size: min(7vw, calc(var(--deco-side) * 0.3));
  --deco-rotate: 12deg;
  --deco-speed: 8s;
  --deco-delay: -5s;
}

/* 3枚目：左下 */
#deco > figure:nth-of-type(3) {
  --deco-x: calc(var(--deco-side) * 0.08);
  --deco-y: 79%;
  --deco-size: min(8vw, calc(var(--deco-side) * 0.38));
  --deco-rotate: -8deg;
  --deco-speed: 6.5s;
  --deco-delay: -3s;
}

/* 4枚目：左下・本文寄り */
#deco > figure:nth-of-type(4) {
  --deco-x: calc(var(--deco-side) * 0.58);
  --deco-y: 87%;
  --deco-size: min(6vw, calc(var(--deco-side) * 0.3));
  --deco-rotate: 16deg;
  --deco-speed: 9s;
  --deco-delay: -6s;
}

/* 5枚目：右上 */
#deco > figure:nth-of-type(5) {
  --deco-x: calc(100% - var(--deco-side) * 0.85);
  --deco-y: 7%;
  --deco-size: min(9vw, calc(var(--deco-side) * 0.4));
  --deco-rotate: 10deg;
  --deco-speed: 7.5s;
  --deco-delay: -4s;
}

/* 6枚目：右上・外側 */
#deco > figure:nth-of-type(6) {
  --deco-x: calc(100% - var(--deco-side) * 0.36);
  --deco-y: 14%;
  --deco-size: min(9vw, calc(var(--deco-side) * 0.28));
  --deco-rotate: -15deg;
  --deco-speed: 6s;
  --deco-delay: -1s;
}

/* 7枚目：右下 */
#deco > figure:nth-of-type(7) {
  --deco-x: calc(100% - var(--deco-side) * 0.64);
  --deco-y: 82%;
  --deco-size: min(10vw, calc(var(--deco-side) * 0.44));
  --deco-rotate: 8deg;
  --deco-speed: 8.5s;
  --deco-delay: -7s;
}

/* キラキラ */
#deco > figure.wp-block-image::before,
#deco > figure.wp-block-image::after {
  content: "";
  display: block;
  position: absolute;
  width: 22px;
  height: 22px;
  background: #fff;
  clip-path: polygon(
    50% 0,
    61% 38%,
    100% 50%,
    61% 62%,
    50% 100%,
    39% 62%,
    0 50%,
    39% 38%
  );
  filter: drop-shadow(0 0 5px #fff);
  opacity: 0;
  pointer-events: none;
  animation: fes-deco-sparkle 3.2s ease-in-out infinite;
  animation-delay: var(--deco-delay);
}

/* 右上の光 */
#deco > figure.wp-block-image::before {
  top: -8px;
  right: 4%;
}

/* 左下の小さな光 */
#deco > figure.wp-block-image::after {
  bottom: 8%;
  left: -8px;
  width: 14px;
  height: 14px;
  background: #fff3a6;
  animation-duration: 4.3s;
}

/* ゆっくり浮遊 */
@keyframes fes-deco-float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--deco-rotate));
  }

  50% {
    transform: translateY(-12px) rotate(
      calc(var(--deco-rotate) + 5deg)
    );
  }
}

/* 光がきらめく */
@keyframes fes-deco-sparkle {
  0%,
  65%,
  100% {
    opacity: 0;
    transform: scale(0.35) rotate(0deg);
  }

  78% {
    opacity: 1;
    transform: scale(1.15) rotate(15deg);
  }

  88% {
    opacity: 0.6;
    transform: scale(0.8) rotate(30deg);
  }
}

/* スマホ・狭い画面では本文を優先 */
@media screen and (max-width: 959px) {

  #deco {
    display: none !important;
  }

}

/* 動きを抑える設定 */
@media (prefers-reduced-motion: reduce) {

  #deco > figure.wp-block-image {
    animation: none;
    transform: rotate(var(--deco-rotate));
  }

  #deco > figure.wp-block-image::before,
  #deco > figure.wp-block-image::after {
    animation: none;
    opacity: 0.65;
  }

}

/* 装飾を前面へ。クリックは透過 */
#deco {
  z-index: 100;
  pointer-events: none;
}

/* 単純な往復から、ゆっくり漂う動きに */
#deco > figure.wp-block-image {
  animation:
    fes-deco-drift var(--deco-speed, 17s)
    cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
  animation-delay: var(--deco-delay, 0s);
}

/* 画像自体にも別周期の小さな動き */
#deco > figure.wp-block-image img {
  animation: fes-deco-breathe 11s ease-in-out infinite alternate;
  animation-delay: var(--deco-delay, 0s);
}

/* 本文の左端に少し重ねる */
#deco > figure:nth-of-type(2) {
  --deco-x: calc(
    var(--deco-side) - var(--deco-size) * 0.78
  );
  --deco-y: 14%;
  --deco-size: 74px;
  --deco-speed: 19s;
  --deco-delay: -11s;
  --deco-rotate: 12deg;
}

/* 左の日程案内の左端に少し重ねる */
#deco > figure:nth-of-type(3) {
  --deco-x: max(
    4px,
    calc(
      var(--deco-side) / 2 -
      min(420px, calc(var(--deco-side) - 40px)) / 2 -
      30px
    )
  );
  --deco-y: 70%;
  --deco-size: 64px;
  --deco-speed: 23s;
  --deco-delay: -17s;
  --deco-rotate: -8deg;
}

/* 本文の右端に少し重ねる */
#deco > figure:nth-of-type(5) {
  --deco-x: calc(
    100% - var(--deco-side) - var(--deco-size) * 0.22
  );
  --deco-y: 8%;
  --deco-size: 74px;
  --deco-speed: 21s;
  --deco-delay: -8s;
  --deco-rotate: 10deg;
}

/* それぞれ異なる周期に */
#deco > figure:nth-of-type(1) {
  --deco-speed: 17s;
  --deco-delay: -5s;
}

#deco > figure:nth-of-type(4) {
  --deco-speed: 25s;
  --deco-delay: -19s;
}

#deco > figure:nth-of-type(6) {
  --deco-speed: 18s;
  --deco-delay: -13s;
}

#deco > figure:nth-of-type(7) {
  --deco-speed: 22s;
  --deco-delay: -3s;
}

/* 重ねる画像は動きを小さく */
#deco > figure:nth-of-type(2),
#deco > figure:nth-of-type(3),
#deco > figure:nth-of-type(5) {
  --deco-travel-x: 2px;
  --deco-travel-y: 4px;
}

/* 光は小さく、ゆっくり */
#deco > figure.wp-block-image::before {
  width: 16px;
  height: 16px;
  animation: fes-deco-glint 7.7s ease-in-out infinite;
  animation-delay: var(--deco-delay, 0s);
}

#deco > figure.wp-block-image::after {
  width: 9px;
  height: 9px;
  animation: fes-deco-glint 11.3s ease-in-out infinite;
  animation-delay: calc(var(--deco-delay, 0s) - 3s);
}

/* 多段階の軌道で、単純な上下運動を避ける */
@keyframes fes-deco-drift {
  0% {
    transform:
      translate(0, 0)
      rotate(var(--deco-rotate));
  }

  27% {
    transform:
      translate(
        var(--deco-travel-x, 5px),
        calc(var(--deco-travel-y, 9px) * -1)
      )
      rotate(calc(var(--deco-rotate) + 2deg));
  }

  61% {
    transform:
      translate(
        calc(var(--deco-travel-x, 5px) * -0.6),
        calc(var(--deco-travel-y, 9px) * -0.35)
      )
      rotate(calc(var(--deco-rotate) - 1deg));
  }

  100% {
    transform:
      translate(
        calc(var(--deco-travel-x, 5px) * 0.4),
        calc(var(--deco-travel-y, 9px) * 0.5)
      )
      rotate(calc(var(--deco-rotate) + 1deg));
  }
}

/* 控えめな奥行き */
@keyframes fes-deco-breathe {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.025);
  }
}

/* 一瞬だけ光り、余韻を残して消える */
@keyframes fes-deco-glint {
  0%,
  70%,
  100% {
    opacity: 0;
    transform: scale(0.6) rotate(-8deg);
  }

  79% {
    opacity: 0.9;
    transform: scale(1) rotate(0deg);
  }

  89% {
    opacity: 0.2;
    transform: scale(0.85) rotate(8deg);
  }
}

/* 左の日程案内が固定されない幅では、外側に配置 */
@media screen and (max-width: 1199px) {

  #deco > figure:nth-of-type(3) {
    --deco-x: calc(var(--deco-side) * 0.08);
  }

}

/* 動きを抑える設定 */
@media (prefers-reduced-motion: reduce) {

  #deco > figure.wp-block-image,
  #deco > figure.wp-block-image img,
  #deco > figure.wp-block-image::before,
  #deco > figure.wp-block-image::after {
    animation: none;
  }

}

/* 外側：ゆらゆら揺れる */
#deco > figure.wp-block-image {
  perspective: 900px;
  animation:
    fes-deco-sway var(--sway-time, 8s)
    ease-in-out infinite;
  animation-delay: var(--motion-delay, 0s);
}

/* 内側：裏表の回転＋拡大縮小 */
#deco > figure.wp-block-image img {
  backface-visibility: visible;
  transform-origin: center;
  animation:
    fes-deco-flip var(--flip-time, 19s)
    cubic-bezier(0.45, 0, 0.55, 1) infinite,
    fes-deco-scale var(--scale-time, 9s)
    ease-in-out infinite;
  animation-delay:
    var(--motion-delay, 0s),
    var(--scale-delay, 0s);
}

/* 画像ごとに周期をずらす */
#deco > figure:nth-of-type(1) {
  --sway-time: 7.3s;
  --flip-time: 18.7s;
  --scale-time: 9.1s;
  --motion-delay: -4s;
  --scale-delay: -2s;
}

#deco > figure:nth-of-type(2) {
  --sway-time: 8.9s;
  --flip-time: 23.3s;
  --scale-time: 10.7s;
  --motion-delay: -12s;
  --scale-delay: -6s;
}

#deco > figure:nth-of-type(3) {
  --sway-time: 10.1s;
  --flip-time: 21.1s;
  --scale-time: 8.3s;
  --motion-delay: -7s;
  --scale-delay: -3s;
}

#deco > figure:nth-of-type(4) {
  --sway-time: 8.1s;
  --flip-time: 26.9s;
  --scale-time: 11.9s;
  --motion-delay: -19s;
  --scale-delay: -8s;
}

#deco > figure:nth-of-type(5) {
  --sway-time: 9.7s;
  --flip-time: 20.3s;
  --scale-time: 9.7s;
  --motion-delay: -15s;
  --scale-delay: -5s;
}

#deco > figure:nth-of-type(6) {
  --sway-time: 6.9s;
  --flip-time: 24.1s;
  --scale-time: 7.7s;
  --motion-delay: -9s;
  --scale-delay: -4s;
}

#deco > figure:nth-of-type(7) {
  --sway-time: 11.3s;
  --flip-time: 28.3s;
  --scale-time: 12.1s;
  --motion-delay: -22s;
  --scale-delay: -9s;
}

/* 本文・案内に重なる画像は動きを控えめに */
#deco > figure:nth-of-type(2),
#deco > figure:nth-of-type(3),
#deco > figure:nth-of-type(5) {
  --sway-distance: 4px;
  --sway-angle: 3deg;
  --scale-min: 0.96;
  --scale-max: 1.04;
}

/* 左右に傾きながら浮遊 */
@keyframes fes-deco-sway {
  0%,
  100% {
    transform:
      translateY(0)
      rotate(
        calc(var(--deco-rotate, 0deg) - var(--sway-angle, 6deg))
      );
  }

  50% {
    transform:
      translateY(calc(var(--sway-distance, 10px) * -1))
      rotate(
        calc(var(--deco-rotate, 0deg) + var(--sway-angle, 6deg))
      );
  }
}

/* 間を置いて、裏表を一回転 */
@keyframes fes-deco-flip {
  0%,
  72% {
    transform: rotateY(0deg);
  }

  90%,
  100% {
    transform: rotateY(360deg);
  }
}

/* 拡大縮小は独立したscaleで回転と共存 */
@keyframes fes-deco-scale {
  0%,
  100% {
    scale: var(--scale-min, 0.92);
  }

  50% {
    scale: var(--scale-max, 1.08);
  }
}

/* 動きを抑える設定 */
@media (prefers-reduced-motion: reduce) {

  #deco > figure.wp-block-image {
    animation: none;
    transform: rotate(var(--deco-rotate, 0deg));
  }

  #deco > figure.wp-block-image img {
    animation: none;
    transform: none;
    scale: 1;
  }

}

#deco > figure.wp-block-image {
  animation: none !important;
  transform: rotate(var(--deco-rotate, 0deg));
}

@keyframes fes-deco-flip {
  0%,
  72% {
    transform: rotateY(0deg);
  }

  81%,
  100% {
    transform: rotateY(360deg);
  }
}

/* 拡大縮小を約2倍速に */
#deco > figure.wp-block-image img {
  animation-duration:
    var(--flip-time, 19s),
    calc(var(--scale-time, 9s) / 2);
}

/* 2・6枚目は拡大縮小のみ */
#deco > figure:nth-of-type(2) img,
#deco > figure:nth-of-type(6) img {
  transform: none;
  animation:
    fes-deco-scale calc(var(--scale-time, 9s) / 2)
    ease-in-out infinite;
  animation-delay: var(--scale-delay, 0s);
}

/* 縮小88% → 拡大112% */
@keyframes fes-deco-scale {
  0%,
  100% {
    scale: 0.88;
  }

  50% {
    scale: 1.12;
  }
}

@media (prefers-reduced-motion: reduce) {

  #deco > figure.wp-block-image img {
    animation: none;
    transform: none;
    scale: 1;
  }

}

/* PCの常設ナビでは非表示 */
#menu #info {
  display: none;
}

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

  #menu #info {
    display: block;
    width: 100%;
    margin: 40px 0 0;
    padding: 0;
    text-align: center;
  }

  /* 開催案内のデザインを引き継ぐ */
  #menu #info .fes-menu-info {
    display: block;
    position: static;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 !important;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    transform: none;
  }

  /* 左側固定用の指定を解除 */
  #menu #info .fes-hero-info {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 0;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    box-sizing: border-box;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
    overflow: visible;
    z-index: auto;
    max-width: 500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #menu #info .fes-countdown {
    min-width: 0;
  }
  /* .fes-page #fes-about {
    padding-bottom: 0;
  } */

}

/* 4・5枚目：左右に傾く */
#deco > figure:nth-of-type(4),
#deco > figure:nth-of-type(5) {
  transform-origin: center;
  animation: fes-deco-rock 1.8s ease-in-out infinite !important;
}

/* 同時に揺れないようにずらす */
#deco > figure:nth-of-type(5) {
  animation-duration: 2.2s !important;
  animation-delay: -0.8s !important;
}

/* 画像自体の回転・拡大縮小を解除 */
#deco > figure:nth-of-type(4) img,
#deco > figure:nth-of-type(5) img {
  animation: none !important;
  transform: none;
  scale: 1;
}

/* 上下移動なし、左右の傾きのみ */
@keyframes fes-deco-rock {
  0%,
  100% {
    transform: rotate(calc(var(--deco-rotate, 0deg) - 9deg));
  }

  50% {
    transform: rotate(calc(var(--deco-rotate, 0deg) + 9deg));
  }
}

@media (prefers-reduced-motion: reduce) {

  #deco > figure:nth-of-type(4),
  #deco > figure:nth-of-type(5) {
    animation: none !important;
    transform: rotate(var(--deco-rotate, 0deg));
  }

}

/* 2・6枚目の揺れを停止 */
#deco > figure:nth-of-type(2),
#deco > figure:nth-of-type(6) {
  animation: none !important;
  transform: rotate(var(--deco-rotate, 0deg));
}

/* 回転・拡大縮小を停止し、光だけ追加 */
#deco > figure:nth-of-type(2) img,
#deco > figure:nth-of-type(6) img {
  transform: none !important;
  scale: 1 !important;
  animation: fes-deco-shine 5.5s ease-in-out infinite !important;
}

/* 光るタイミングをずらす */
#deco > figure:nth-of-type(6) img {
  animation-duration: 7s !important;
  animation-delay: -3s !important;
}

/* 一瞬きらっと光り、ゆっくり戻る */
@keyframes fes-deco-shine {
  0%,
  65%,
  100% {
    filter:
      brightness(1)
      drop-shadow(0 5px 8px rgb(0 0 0 / 10%))
      drop-shadow(0 0 6px rgb(255 255 255 / 30%));
  }

  76% {
    filter:
      brightness(1.18)
      drop-shadow(0 5px 8px rgb(0 0 0 / 10%))
      drop-shadow(0 0 16px rgb(255 255 255 / 90%));
  }

  88% {
    filter:
      brightness(1.04)
      drop-shadow(0 5px 8px rgb(0 0 0 / 10%))
      drop-shadow(0 0 10px rgb(255 255 255 / 50%));
  }
}

@media (prefers-reduced-motion: reduce) {

  #deco > figure:nth-of-type(2) img,
  #deco > figure:nth-of-type(6) img {
    animation: none !important;
  }

}

/* PCでは非表示 */
#fes-sp-entry {
  display: none;
}

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

  #content {
    overflow: hidden;
  }
  /* 最下部の本文がボタンに隠れない余白 */
  /* #body_wrap {
    padding-bottom: calc(34vw + env(safe-area-inset-bottom));
  } */

  /* 下部固定エリア */
  #fes-sp-entry {
    display: flex;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 10px 20px calc(14px + env(safe-area-inset-bottom));
    box-sizing: border-box;
    background: rgb(255 255 255 / 96%);
    border-top: 5px solid var(--color_main);
    box-shadow: 0 -6px 24px rgb(0 0 0 / 12%);
    text-align: center;
    transform: translateY(110%);
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.65s;
    z-index: 980;
  }

  #fes-sp-entry.is-visible {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  /* 日付と時間を横並びに */
  #fes-sp-entry .fes-sp-entry-date {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  #fes-sp-entry .fes-date {
    margin: 0 !important;
    color: #222;
    font-size: 5.5vw;
    line-height: 1.3;
  }

  #fes-sp-entry .fes-date span {
    position: relative;
    top: -2px;
    display: inline-block;
    padding: 3px 7px;
    background: var(--color_main);
    color: #fff;
    font-size: 2.5vw;
    vertical-align: middle;
  }

  #fes-sp-entry .fes-sp-entry-time {
    margin: 0 !important;
    padding: 0;
    background: none;
    border: none;
    color: #222;
    font-size: 3.5vw;
    line-height: 1.4;
  }

  #fes-sp-entry .fes-sp-entry-time::before,
  #fes-sp-entry .fes-sp-entry-time::after {
    display: none;
  }

  /* 申込ボタン */
  #fes-sp-entry .wp-block-buttons {
    display: flex;
    width: 100%;
    margin: 0;
    justify-content: center;
  }

  #fes-sp-entry .wp-block-button {
    width: 100%;
    margin: 0;
  }

  #fes-sp-entry .wp-block-button__link {
    display: block;
    width: 100%;
    padding: 13px 16px;
    box-sizing: border-box;
    background: var(--color_main);
    border: 2px solid #333;
    border-radius: 100px;
    color: #fff;
    font-size: 4.5vw;
    font-weight: 800;
    line-height: 1.4;
    box-shadow: 5px 5px 0 #ffe664;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  #fes-sp-entry .wp-block-button__link:hover,
  #fes-sp-entry .wp-block-button__link:active {
    transform: translate(5px, 5px);
    box-shadow: 0 0 0 #ffe664;
  }

  /* メニューを開いている間は隠す */
  body.open #fes-sp-entry {
    transform: translateY(110%);
    visibility: hidden;
    pointer-events: none;
  }

  /* 既存の下部固定ボタンとの重複を防ぐ */
  .fes-page .fes-fixed {
    display: none !important;
  }

}

@media (prefers-reduced-motion: reduce) {

  #fes-sp-entry {
    transition: none;
  }

}

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

  /* #content .fes-hero-info {
    display: none !important;
  } */

  /* .fes-page .fes-reveal.is-revealed.fes-hero-info {
    display: none;
  } */

}

.fes-page .fes-about-box h2 {
    color: var(--color_text);
}
.fes-page .fes-about-box h2 em {
  color: var(--color_main);
  font-size: 130%;
}

.fes-page #fes-about .fes-memory .swell-block-column img {
  background: unset;
}

/* ライトボックス */
#fes-news-modal {
  width: min(650px, calc(100% - 24px));
  max-width: none;
  max-height: none;
  height: 85dvh;
  margin: auto;
  padding: 0;
  overflow: visible;
  background: #fff;
  border: 3px solid var(--color_main);
  border-radius: 16px;
  box-sizing: border-box;
  box-shadow: 0 20px 80px rgb(0 0 0 / 25%);
}

#fes-news-modal::backdrop {
  background: rgb(0 0 0 / 65%);
  backdrop-filter: blur(4px);
}

#fes-news-modal[open] {
  animation: fes-news-modal-in 0.25s ease-out;
}

/* 閉じるボタン */
#fes-news-modal .fes-news-modal-close {
  position: absolute;
  top: -16px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--color_main);
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 2vw;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

/* 投稿ページ */
#fes-news-modal .fes-news-modal-frame {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  border: none;
  border-radius: 13px;
}

/* 表示中は背景のスクロールを停止 */
html:has(#fes-news-modal[open]),
body:has(#fes-news-modal[open]) {
  overflow: hidden !important;
}

@keyframes fes-news-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

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

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

  #fes-news-modal .fes-news-modal-close {
    font-size: 7vw;
  }

}

@media (prefers-reduced-motion: reduce) {

  #fes-news-modal[open] {
    animation: none;
  }

}
.fes-page .fes-hero-info .fes-countdown {
  color: var(--color_text);
}

.fes-page .fes-about-box {
    margin: 38px -4px -15px;
}
.fes-page .fes-about-box + figure {
  padding: 0 15px;
}

#body_wrap #menu > div::after {
  content: "";
}

#body_wrap #menu > div::after {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 70%;
    height: 80px;
    margin: 24px auto 0;
    background-image: url(../../../../uploads/4B64FB37-598F-4486-8E34-616B0350EEBE.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    right: -22%;
    top: -10px;
    transform: rotate(-20deg);
}

#fes-contents::after {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 70%;
    height: 160px;
    margin: 24px auto 0;
    background-image: url(../../../../uploads/C3AC7D4E-1BBF-447F-8754-84123EE4D4E1.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    right: -32%;
    top: -60px;
    transform: rotate(-20deg);
}
#fes-information::after {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 70%;
    height: 160px;
    margin: 24px auto 0;
    background-image: url(../../../../uploads/23992625-E1D2-437C-94B6-649BDADF4871.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    left: -30%;
    top: -80px;
    transform: rotate(20deg);
}

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

  #fes-sp-entry .fes-date strong {
      font-size: 6vw;
  }

  #body_wrap #menu > div::after {
    display: none;
  }
  #fes-about .read figure {
    position: absolute;
    width: 26%;
    top: 28%;
    right: -35px;
  }
  #fes-about .read figure:last-child {
    top: unset;
    right: unset;
    left: -45px;
    bottom: 22%;
    width: 25%;
  }

  #fes-contents::after {
    width: 50%;
    height: 120px;
    right: -12%;
    top: -70px;
  }

  #fes-information::after {
    width: 70%;
    height: 140px;
    left: -27%;
    top: -80px;
  }
  .fes-page .fes-date {
    margin-bottom: -10px;
  }
  .fes-page .fes-date strong {
        font-size: 12vw;
  }

}

#menu #info .fes-hero-info {
  background: #fff;
  border: solid 3px var(--color_main);
  border-radius: 10px;
  padding: 10px 20px;
}
#menu #info .fes-hero-info .fes-date {
    margin-bottom: -12px;
}
#menu #info .fes-hero-info .fes-date span {
    padding: 3px 7px;
    font-size: 3vw;
    top: -8px;
}

#fes-sp-entry {
  display: none;
}

@media screen and (max-width: 1400px) {
  /* #body_wrap {
    padding-bottom: 100px;
  } */

  #fes-sp-entry {
    display: flex;
    position: fixed;
    top: auto;
    right: max(0px, calc((100% - 650px) / 2));
    bottom: 0;
    left: auto;

    width: min(100%, 650px);
    max-width: 650px;
    max-height: 100px;
    min-height: 0;
    margin: 0;
    padding: 8px 12px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    box-sizing: border-box;

    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;

    background: rgb(255 255 255 / 96%);
    border-top: 3px solid var(--color_main);
    box-shadow: 0 -6px 24px rgb(0 0 0 / 12%);
    text-align: center;
    z-index: 980;

    transform: translateY(110%);
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.65s;
  }

  #fes-sp-entry.is-visible {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  #fes-sp-entry .fes-sp-entry-date {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
  }

  #fes-sp-entry .fes-date {
    margin: 0 !important;
    font-size: clamp(14px, 3.8vw, 24px);
    line-height: 1.2;
    white-space: nowrap;
  }

  #fes-sp-entry .fes-date span {
    position: static;
    display: inline-block;
    padding: 2px 5px 1px;
    font-size: clamp(9px, 2.2vw, 12px);
    vertical-align: middle;
    transform: none;
    position: relative;
    top: -3px;
  }

  #fes-sp-entry .fes-sp-entry-time {
    margin: 0 !important;
    padding: 0;
    font-size: clamp(12px, 3vw, 18px);
    line-height: 1.2;
    background: none;
    border: none;
    position: relative;
    top: -3px;
  }

  #fes-sp-entry .fes-sp-entry-time::before,
  #fes-sp-entry .fes-sp-entry-time::after {
    display: none;
  }

  #fes-sp-entry .wp-block-buttons {
    flex: 1;
    width: auto;
    min-width: 0;
    margin: 0;
    justify-content: center;
  }

  #fes-sp-entry .wp-block-button {
    width: 100%;
    margin: 0;
  }

  #fes-sp-entry .wp-block-button__link {
    display: block;
    width: 100%;
    padding: 10px 6px;
    box-sizing: border-box;

    font-size: clamp(12px, 3.2vw, 20px);
    line-height: 1.3;
    letter-spacing: 0;
    white-space: nowrap;

    color: #fff;
    background: var(--color_main);
    border: 2px solid #333;
    border-radius: 100px;
    box-shadow: 4px 4px 0 #ffe664;

    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease;
    min-height: 60px;
  }

  #fes-sp-entry .wp-block-button__link:hover,
  #fes-sp-entry .wp-block-button__link:active {
    transform: translate(4px, 4px);
    box-shadow: 0 0 0 #ffe664;
  }

  body.open #fes-sp-entry {
    transform: translateY(110%);
    visibility: hidden;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #fes-sp-entry {
    transition: none;
  }
}

html,
body {
  overflow-x: clip;
}

#body_wrap {
  width: 100%;
  max-width: 750px;
  min-width: 0;
  margin-right: auto !important;
  margin-left: auto !important;
  box-sizing: border-box;
}

#body_wrap #content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-right: auto !important;
  margin-left: auto !important;
  box-sizing: border-box;
}

#body_wrap #main_content {
  float: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

#body_wrap .l-mainContent__inner,
#body_wrap .post_content {
  min-width: 0;
  max-width: 100%;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

@media screen and (max-width: 1400px) {
  #fes-sp-entry {
    right: 0;
    left: 0;
    width: min(100%, 750px);
    max-width: 750px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
  }
}

#fes-news a.p-postList__link .p-postList__title::after {
  content: "View More!";
  display: block;
  margin-top: 10px;

  font-family: "Chewy", system-ui;
  font-size: clamp(12px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color_main);
}

@media screen and (max-width: 650px) {
  #fes-news a.p-postList__link .p-postList__title::after {
    font-size: clamp(12px, 3.2vw, 18px);
  }
  .fes-page :is(.fes-hero-info, .fes-fixed, .fes-application) .wp-block-button__link {
    max-width: 400px;
    margin: auto;
  }
}

@media screen and (min-width: 651px) and (max-width: 1400px) {
    #body_wrap #menu .c-gnav > li > a {
        padding: 4px 12px;
    }
    #menu #info .fes-hero-info .fes-date span, #menu #info .fes-countdown, #fes-news a.p-postList__link .p-postList__title, .fes-page .fes-hero-info h3, .fes-page #fes-contents .fes-content-card .fes-card-label, .fes-page .fes-hero-info h3, .fes-page .fes-countdown {
      font-size: clamp(1.4rem, 2vw, 2.5rem);
    }
    .fes-page .fes-about-box h2, .fes-page #fes-contents .fes-content-card .fes-card-label strong {
      font-size: clamp(1.6rem, 3vw, 1.8rem);
    }
    #body_wrap #menu .c-gnav > li > a .ttl {
      font-size: clamp(1.2rem, 3vw, 1.6rem);
    }
    #fes-about h3 {
      font-size: clamp(1.4rem, 3vw, 3rem);
    }
    .fes-page .fes-title h2 {
      font-size: clamp(1.6rem, 4vw, 2.4rem);
    }
    .fes-page #fes-contents .fes-content-card h3, .fes-page .fes-card-body h3, .fes-page .fes-organizer h3 {
      font-size: clamp(1.1rem, 2.8vw, 1.8rem);
    }
    .fes-page .fes-title p {
      font-size: clamp(1.1rem, 2.8vw, 1.6rem);
    }
    .post_content .fes-page .read p, .fes-page .fes-tags span, .fes-page .fes-note {
      font-size: 1rem;
    }
    .fes-page .fes-date strong {
      font-size: clamp(2rem, 6vw, 3.5rem);
    }
}
@media screen and (max-width: 1400px) {
  #body_wrap #menu > div::after {
    display: none;
  }
}

@media screen and (max-width: 1400px) {
  .fes-page #fes-about {
    padding-bottom: 0;
  }
}

/* body:has(.fes-page) {
    padding-bottom: 100px;
    background: var(--color_main);
} */

.p-fixBtnWrap {
  display: none !important;
}