:root {
    --color-text: #333;
    --font-family-base: 'Reddit Sans', sans-serif;
    --font-family-heading: 'TsunaGothic', sans-serif;
    --dur: 50s; /* 流れる速度（秒） */
}


@font-face {
  font-family: 'TsunaGothic';
  src: url('/assets/fonts/TsunagiGothic.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--font-family-base);
}

header {
    z-index: 1000;
}

a {
    text-decoration: none;
    color: var(--color-text);
}



ul, ol {
    list-style: none;
    padding-left: 0; /* ← 左の余白も一緒に消したいとき */
    margin: 0; /* ← ul, olの余白を消す */
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
    padding: 0;
}

.a-underline {
  position: relative;
  text-decoration: none;
  color: #333;
}

/* 下線 */
.a-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  
  transform: scaleX(0);
  transform-origin: left; /* 最初は左から伸びる */
  
  transition: transform 0.5s ease;
}

/* ホバー時：左から右へ */
.a-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ホバー解除時：右から縮む */
.a-underline:not(:hover)::after {
  transform-origin: right;
}



.desktop.top-bg-image-inner {
    overflow:visible;
    width: 78%;
    height: auto;
}
/* 重要：SVG各要素の回転軸を中心にする */
svg path{
    transform-box: fill-box;
    transform-origin: center;
}
/* ノイズ矩形は操作を邪魔しない */
.noise-layer{
    pointer-events: none;
    /* ブレンド感を強めたいときは下のmix-blend-modeを有効化（好みで） */
    /* mix-blend-mode: overlay; */
}

.st-wrapper {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}
.top-logotype {
    position: absolute;
    top: 40px;
    left: calc(50% - 110px);
}

.top-logotype img {
    width: 220px;
    height: auto;
}

.top-wrapper {
    width: 100%;
    height: 100dvh;
    background-color: #fff;
}

.top-bg-image {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 100px;
}

.top-bg-image img {
    height: 95dvh;
    width: 100vw;
}

.top-text {
    width: 75%;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-text);
}

.top-text img {
    width: 100%;
    height: auto;
}

.top-subtext img {
    width: 50%;
    height: auto;
    margin-top: 80px;
    margin-left: 0px;
}

.idx-date {
    background-color: #333;
    width: 100%;
    height: auto;
    padding: 16px 0;
    display: flex;
    justify-content: center;
}

.idx-date img {
    width: 90%;
    height: auto;
    z-index: 2;
}

.idx-alert {
    width: 100%;
    height: 34px;
    background-color: #ff3b00;
    display: flex;
    justify-content: center;
    align-items: center;
}

.idx-alert a {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.section {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    background-color: #f5f5f5;
}

/*------------------- Aboutセクション -------------------*/
.about {
    padding-top: 48px;
}

.about-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.about-title {
    margin-top: 35px;
    padding-top: 40px;
    padding-bottom: 64px;
    display: flex;
    width: 100%;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.about-title h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: var(--color-text);
    z-index: 1;
}

.about-title p {
    text-align: center;
    font-size: 16px;
    color: var(--color-text);
    z-index: 1;
}

.section-title-bg-wrapper {
    margin: 0 auto;
    position: absolute;
    width: 70%;
    min-width: 120px;
    z-index: 0;
}

.section-title-bg {
    width: 100%;
    height: auto;
    min-width: 340px;
    position: relative;
}

.about-text {
    display: flex;
    max-width: 100%;
    flex-direction: column;
    padding: 0 22px;
    gap: 2px;
}

.about-text h3 {
    font-size: 32.5px;
    font-weight: bold;
    color: var(--color-text);
    font-family: var(--font-family-heading);
    margin-bottom: 6px;
}

.about-text h4 {
    font-size: 22.35px;
    color: var(--color-text);
    font-family: var(--font-family-heading);
    margin-bottom: 14px;
}

.about-text-inner {
    padding-top: 14px;
    display: flex;
    max-width: 100%;
    flex-direction: column;
    gap: 16px;
}

.about-text-inner p {
    font-family: var(--font-family-base);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.28px;
    color: var(--color-text);
}

.about-button-wrapper {
    display: flex;
    justify-content: center;
    gap: 2px;
    padding-top: 16px;
    padding-bottom: 44px;
}

.about-button {
    display: flex;
    align-items: center;
    padding: 12px;
}

.about-button-text {
    font-size: 16px;
    color: var(--color-text);
}

.about-icon i {
    position: relative;
    left: 50%;
    top: -25px;
}

/*------------------- Contentsセクション -------------------*/
.contents {
    padding-top: 48px;
}

.contents-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.contents-title {
    margin-top: 35px;
    padding-top: 40px;
    padding-bottom: 128px;
    display: flex;
    width: 100%;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.contents-title h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    z-index: 1;
}

.contents-title p {
    text-align: center;
    font-size: 16px;
    color: #fff;
    z-index: 1;
}

.contents-section-title-bg-wrapper {
    margin: 0 auto;
    position: absolute;
    width: 70%;
    min-width: 120px;
    z-index: 0;
}

.contents-section-title-bg {
    width: 100%;
    height: auto;
    min-width: 340px;
    position: relative;
}

.contents-list {
    padding: 36px 22px 112px 22px;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    gap: 8px;
}

.contents-list-column-item {
    display: flex;
    flex-direction: column;
    flex: 1;
    transition: transform 0.5s ease-out;
    margin-bottom: 12px;
}



.contents-list-column-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 100px;
    background-color: #ddd;
}

.contents-list-column-item .title-big {
    font-size: 24px;
    color: var(--color-text);
    font-weight: bold;
    margin-bottom: 4px;
}

.contents-list-column-item .title-small {
    font-size: 20px;
    color: var(--color-text);
    font-weight: bold;
    margin-bottom: 4px;
}

.contents-list-column-item .jp-sub {
    font-size: 14px;
    color: var(--color-text);
}

.contents-list-column.two {
    display: flex;
    flex-direction: row;
    gap: 16px;
    max-width: 100%;
}

.contents-list-column-item.half img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 4.5;
    min-height: 100px;
    background-color: #ddd;
}

.contents-list-column-item:hover {
    transform: translateY(-4px);
}

.contents-list-column-item:hover.half {
    transform: translateY(0px);
}


/* ------------------- Overviewセクション -------------------*/
.overview-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.overview-title {
    margin-top: 35px;
    padding-top: 40px;
    padding-bottom: 58px;
    display: flex;
    width: 100%;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.overview-title h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    z-index: 1;
}

.overview-title p {
    text-align: center;
    font-size: 16px;
    color: #fff;
    z-index: 1;
}
.overview-section-title-bg-wrapper {
    margin: 0 auto;
    position: absolute;
    right: 0;
    min-width: 120px;
}

.overview-section-title-bg {
    width: 100%;
    height: auto;
    min-width: 340px;
    position: relative;
    bottom: 50px;
}

.overview-contents {
    padding: 48px 22px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: center;
}

.overview-divider {
    width: 100%;
    margin: 0;
}

.overview-contents-title {
    padding: 3px 8px;
    width: fit-content;
   background-color: #002AFF;
   color: #fff;
   font-size: 16px;
   margin-bottom: 12px;
}

.overview-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.overview-button-wrapper {
    display: flex;
    justify-content: center;
    gap: 2px;
}

.overview-button {
    display: flex;
    align-items: center;
    padding: 12px;
}

.overview-button-text {
    font-size: 16px;
    color: var(--color-text);
}

.overview-icon i {
    position: relative;
    left: 50%;
    top: -25px;
}

.overview-sns-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: left;
    gap: 4px;
    width: 100%;
}

.overview-sns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.overview-sns-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--color-text);
}

.overview-comittee-inner {
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}


/* ------------------- Shareセクション -------------------*/
.share-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.share-title {
    margin-top: 35px;
    padding-top: 40px;
    padding-bottom: 58px;
    display: flex;
    width: 100%;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.share-title h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: var(--color-text);
    z-index: 1;
}

.share-title p {
    text-align: center;
    font-size: 16px;
    color: var(--color-text);
    z-index: 1;
}

.share-section-title-bg-wrapper {
    margin: 0 auto;
    position: absolute;
    min-width: 120px;
    z-index: 0;
    left: calc(50% - 89px);
}

.share-section-title-bg{
    width: 178px;
    height: auto;
    min-width: 340px;
    position: relative;
    bottom: 80px;
}

/*デスクトップ時背景*/
.st-content-outer {
    position: sticky;
    background-color:#fff;
    height: 100vh; 
    width: 100%;
    top: 0;
    z-index: -10;
    pointer-events: none;
}

.st-content-outer img {
    width: 100%;
    height: auto;
}

.st-outer-bg-inner {
    display: flex;
    flex-direction: row;
}

.st-outer-bg {
    position: sticky;
    height: 100vh;
}

.st-outer-bg-left {
    width: calc(50vw - 260px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.st-outer-bg-asset-1 {
    margin-top: -20px;
    max-width: 251px;
    height: auto;
    margin-bottom: auto;
}

.st-outer-bg-asset-1 svg {
    position: relative;
}

.st-outer-bg-asset-1-1 {
    width: 50%;
    height: auto;
    top: 100px;
    left: 200px;
}

.st-outer-bg-asset-1-2 {
    width: 50%;
    height: auto;
    top: 0px;
    left: 20px;
}

.st-outer-bg-asset-1-3 {
    width: 50%;
    height: auto;
    top: 0px;
    left: 140px;
}

.st-outer-bg-asset-2 {
    margin-top: -20px;
    max-width: 400px;
    height: auto;
    margin-bottom: 100px;
    margin-left: -240px;
}

.st-outer-bg-asset-2 svg {
    position: relative;
}

.st-outer-bg-asset-2-1 {
    width: 40%;
    height: auto;
    top: 100px;
    left: 50px;
}

.st-outer-bg-asset-2-2 {
    width: 50%;
    height: auto;
    top: 40px;
    left: 120px;
}

.st-outer-bg-right {
    width: calc(50vw - 260px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin-left: auto;
}

.st-outer-bg-asset-3 {
    margin-top: 120px;
    max-width: 300px;
    height: auto;
    margin-bottom: auto;
    gap: 20px;
}

.st-outer-bg-asset-3-1 {
    width: 50%;
    height: auto;
    top: 0px;
    left: 140px;
    position: relative;
}

.st-outer-bg-asset-3-2 {
    width: 35%;
    height: auto;
    top: 110px;
    left: -180px;
    position: relative;
}

.st-outer-bg-asset-3-3 {
    width: 30%;
    height: auto;
    top: 40px;
    right: -120px;
    position: relative;
}

.st-outer-bg-asset-4 {
    margin-top: -20px;
    max-width: 400px;
    height: auto;
    margin-bottom: 120px;
    margin-right: -120px;
}

.st-outer-bg-asset-4-1 {
    width: 35%;
    height: auto;
    top: 65px;
    left: 100px;
    position: relative;
}

.st-outer-bg-asset-4-2 {
    width: 30%;
    height: auto;
    top: 170px;
    left: 50px;
    position: relative;
}

.st-outer-bg-asset-4-3 {
    width: 40%;
    height: auto;
    top: 50px;
    left: 0px;
    position: relative;
}

.title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 0 90px 0;
}

.title-en {
    font-size: 64px;
    font-weight: bold;
    color: #333;
}

.title-jp {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.st-content-inner .bg svg {
    width: 100%;
    height: auto;
}

.idx-ticket-float {
    position: fixed;
    bottom: 45px;
    right: 45px;
    z-index: 3;
}

.idx-ticket-float img {
    width: 140px;
    height: auto;
}

.anim-box.poyopoyo {
  animation: poyopoyo 2s ease-out infinite;
  opacity: 1;
}
@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1.0);
  }
  50%, 70% {
    transform: scale(0.95);
  }
}

/* やさしい慣性オフセット */
.js-fuwatto{
    --max-float: 4vh;              /* デフォの最大移動量（要素ごとに style= で上書き可 / vhも可） */
    --float-offset: 0px;            /* JSが更新 */
    transform: translate3d(0, var(--float-offset), 0);
    will-change: transform;
}
@media (prefers-reduced-motion: reduce){
    .js-fuwatto{ transform: none !important; }
}

/* 合成用：他の変形と足し算できる */
/* 慣性フワッとも合成できる wiggle 用トランスフォーム */
.js-wiggle{
  --wiggle-x: 0px;
  --wiggle-y: 0px;
  --wiggle-rot: 0deg;
  transform: translate3d(0, var(--float-offset, 0px), 0)
             translate(var(--wiggle-x), var(--wiggle-y))
             rotate(var(--wiggle-rot));
  transform-origin: center;
  transform-box: fill-box; /* SVG向け */
  will-change: transform;
}

@media (prefers-reduced-motion: reduce){
  .js-wiggle{ transform: none !important; }
}

.center-container{
    width: 100%;            /* コンテナの横幅 */
    max-width: 100%;         /* スマホ対応 */
    background: #fff;
    overflow: hidden;        /* はみ出しカット */
    position: relative;
    padding: 20px 0;
}

/* 横流しエリア */
.marquee{
white-space: nowrap;
}

/* 2セット分の画像を並べた帯 */
.marquee__track{
display: inline-flex;
align-items: center;
gap: 16px;               /* 画像の間隔 */
will-change: transform;
animation: marquee var(--dur) linear infinite;
}

/* 画像 */
.marquee__track img{
height: 120px;
width: auto;
display: block;
flex: 0 0 auto;
transform: rotate(var(--rot, 0deg));
transform-origin: 50% 50%;
transition: transform 240ms ease;
}
.marquee__track img:hover{
transform: rotate(0deg) scale(1.02);
}

/* 左方向に50%分移動でループ */
@keyframes marquee{
from { transform: translateX(0); }
to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce){
.marquee__track{ animation: none; }
}

/*表示・非表示関連*/
.desktop {
    display: none;
}
.mobile {
    display: block;
}
.hidden {
    display: none;
}

@media screen and (min-width: 1024px) {
    body {
        max-width: 100vw
    }
    .mobile {
        display: none;
    }
    .desktop {
        display: block;
    }
    .top-bg-image img {
        height: 85vh;
    } 
    .top-text img {
        width: 760px;
        height: auto;
    }

    .top-subtext img {
        width: 260px;
        height: auto;
        margin-top: 120px;
        margin-left: 20px;
    }
    .idx-date img {
        width: 80vw;
    }
    .idx-alert {
        height: 50px;
    }
    .idx-alert a {
        font-size: 20px;
    }
    .st-content {
        display: grid;
        grid-template-areas: "stack";
        position: relative;
    }

    .st-content > * { grid-area: stack; }

    .st-content-inner {
        position: relative;
        z-index: 1;
        width: 520px;
        margin: 0 auto; 
        box-shadow: 0px 0px 16px -2px rgba(0, 0, 0, 0.25);
        background-color: #fff;
    }

    .section-title-bg-wrapper {
        width: 520px;
        overflow: hidden;
    }

    .section-title-bg {
        width: 380px;
        height: auto;
    }

    .about-text h3 {
        margin-top: 24px;
        font-size: 42px;
    }

    .about-text h4 {
        font-size: 26px;
    }

    .contents-section-title-bg-wrapper {
        width: 520px;
        overflow: hidden;
        right: unset;
        display: flex;
    }

    .contents-section-title-bg {
        width: 420px;
        height: auto;
        bottom: -20px;
        position: relative;
    }

    .overview-section-title-bg-wrapper {
        width: 520px;
        overflow: hidden;
        right: unset;
        display: flex;
    }

    .overview-section-title-bg {
        width: 420px;
        height: auto;
        position: relative;
        margin: 0 0 0 auto;
    }

    .overview-contents {
        padding-top: 72px;
    }

    .idx-ticket-float {
        position: fixed;
        bottom: 45px;
        right: 75px;
        z-index: 3;
    }

    .idx-ticket-float img {
        width: 220px;
        height: auto;
    }
}

.mask-bg {
  color: transparent;
  position: relative;
  /* overflow: hidden;  ←消す */
  clip-path: inset(0);          /* 代わりにこれでクリップ（inline/ブロックどちらでもOK） */
  transition: color 0ms 450ms;
  isolation: isolate;           /* z-index干渉を防ぐ(任意) */
}

.mask-bg::after {
  content: '';
  position: absolute; inset: 0; /* left/right/top/bottom まとめ */
  inset: -1px 0; 
  background: #333;
  transform: translateY(100%);
  will-change: transform;
  pointer-events: none;         /* 擬似要素がクリックを塞がない */
}

.mask-bg.is-animated { color: #333; }
.mask-bg.is-animated.white { color: #fff; }

.mask-bg.is-animated::after {
  animation: mask-bg 1.2s cubic-bezier(0.8, 0, 0.170, 1);
}

/* そのまま使える（上下逆の）キーフレーム */
@keyframes mask-bg {
  0%              { transform: translateY(-102%); }
  40%, 60%        { transform: translateY(0%); }
  100%            { transform: translateY(110%); }
}


.mask-bg.is-animated.white {
    color: #fff;
}