@charset "utf-8";

/*-----------------------

   header

-----------------------*/

.wrap header {
    background-image: url(../images/img_main.webp);
    width: 100%;

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;

    /* 
    border-left: var(--base-red) 2cqi solid;
    border-right: var(--base-red) 2cqi solid; */
}

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

    .wrap header {
        border: none;
    }
}

.wrap header h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 1 / 0.8;
}

.wrap header h1 img {
    display: block;
    width: auto;
    height: 80%;
    margin-inline: auto;
}

.wrap .info {
    background-color: #000;
    width: 100%;

    font-weight: bold;
    font-size: clamp(20px, -0.114rem + 6.818vw, 80px);
    text-align: center;

    padding: 20px;

    /* border-left: var(--base-red) 2cqi solid;
    border-right: var(--base-red) 2cqi solid; */
    opacity: 0;
}

@media screen and (max-width: 1200px) {
    .wrap .info {
        border: none;
    }
}

.wrap .info .unite {
    font-size: clamp(20px, -0.114rem + 6.818vw, 80px);
}

.wrap .info .venue {
    font-size: clamp(14px, -0.170rem + 5.227vw, 60px);
}

.wrap .info .date span {
    font-size: clamp(16px, 0.000rem + 5.000vw, 60px);
    margin-left: 5px;
}

/*-----------------------

   menu

-----------------------*/

.wrap .menu {
    position: sticky;
    top: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #000;
    z-index: 100;
}

.wrap .menu>li {
    font-family: "Libre Franklin", sans-serif;
    width: 25%;
    background-color: var(--base-red);
    border-bottom: 4px solid #000;
    transition: all 0.3s ease;
    position: static;
    display: flex;
    flex-direction: column;
}

.wrap .menu .menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 5%;
    min-height: 80px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: clamp(16px, 0.636rem + 1.818vw, 32px);
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    font-family: inherit;
}

.wrap .menu .menu-btn span {
    font-size: clamp(10px, 0.307rem + 1.591vw, 24px);
    display: block;
    width: 100%;
}

.wrap .menu>li:hover {
    background-image: linear-gradient(180deg, var(--base-red) 90%, var(--base-yellow) 90%);

    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

.wrap .menu>li.is-open {
    background-image: url(../images/bg_fukusuke.webp), linear-gradient(180deg, var(--base-red) 90%, var(--base-yellow) 90%);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


/*-----------------------
           Submenu 
        -----------------------*/
.wrap .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-image: url(../images/bg.png);
    background-color: #fff;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 200;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, visibility 0.4s, padding 0.4s;

    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.wrap .menu-btn[aria-expanded="true"]+.submenu {
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
    padding: 8px;
}

.wrap .submenu li {
    width: calc(25% - 6px);
    box-sizing: border-box;
}


@media screen and (max-width: 500px) {
    .wrap .submenu li {
        width: calc(50% - 4px);
        box-sizing: border-box;
    }

}

.wrap .submenu li a {
    background-color: #000;

    display: block;
    padding: var(--padding-s);
    color: #fff;
    text-decoration: none;
    text-align: center;
    text-shadow: none;
    font-size: var(--font-size-base);
    font-weight: bold;
    transition: 0.3s, color 0.3s;
    border-radius: 4px;
}


.wrap .submenu li a:hover {
    background-color: var(--base-red);
    color: #fff;
}


/*-----------------------

   .news

-----------------------*/

.wrap .news {
    display: flex;
    width: 100%;
    background-color: var(--base-red);
    margin: 20px 0px 0px;
    padding: 20px 10px;
}

.wrap .news h2 {
    writing-mode: vertical-rl;
    text-orientation: upright;

    width: clamp(40px, 1.591rem + 4.545vw, 80px);

    font-weight: bold;
    color: var(--base-yellow);
    padding: 0px 10px;
    ;

    border-right: #fff 4px solid;
}


.wrap .news .news_box {
    width: 100%;
    margin-left: 20px;
}

.wrap .news .news_box .banner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    padding: 10px 0px;
    margin-bottom: 20px;
}

.wrap .news .news_box .banner a {
    background-color: var(--base-yellow);
    width: calc(50% - 5px);
    height: 100px;
    color: var(--base-red);
}

.wrap .news .news_box .banner a img {
    width: 75%;
}


.wrap .news .news_box .banner a:hover {
    background-color: #ffffff;
}


@media screen and (max-width:600px) {
    .wrap .news .news_box .banner a {
        width: 100%;
        height: 50px;
    }
}

.wrap .news .news_box .banner2 ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    padding: 10px 0px;
    margin-bottom: 20px;
}

.wrap .news .news_box .banner2 ul li a {
    display: block;
    width: 100%;
    border-radius: 4px;
    line-height: 0;
    overflow: hidden;
}

.wrap .news .news_list {
    background-color: #ba000c;
    height: 100px;
    overflow-y: scroll;
    border: 1px solid #ef4444;
}

.wrap .news .news_list::-webkit-scrollbar {
    width: 6px;
    height: 10px;
}

.wrap .news .news_list::-webkit-scrollbar-track {
    background: #ef4444;
}

.wrap .news .news_list::-webkit-scrollbar-thumb {
    background: var(--base-yellow);
    border-radius: 5px;
}


.wrap .news .news_list li {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;

    padding: 10px 10px 10px 20px;
}


.wrap .news .news_list li:not(:last-of-type) {
    border-bottom: 1px solid var(--base-red);
}

.wrap .news .news_list li span {
    width: 80px;
    display: block;
    font-family: "Libre Franklin", sans-serif;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;


    color: var(--base-yellow);
}

@media screen and (max-width: 500px) {
    .wrap .news .news_list li span {
        width: 100%;
    }
}


.wrap .news .news_list li p {
    flex: 1;
}

.wrap .news .news_list li a {
    position: relative;
    color: #ffffff;
    flex: 1;
}

/*-----------------------

   .countdown

-----------------------*/
.wrap .countdown {
    background-image: url(../images/bg_01.png),
        linear-gradient(180deg,
            hsl(34.38deg 64.03% 72.75%) 0%,
            hsl(32.11deg 53.38% 73.92%) 44%,
            hsl(53deg 28% 88%) 100%);
    display: flex;
    width: 100%;
    margin: 0px;
    padding: 20px 10px;
}

.wrap .countdown h2 {
    writing-mode: vertical-rl;
    text-orientation: upright;

    width: clamp(40px, 1.591rem + 4.545vw, 80px);

    font-weight: bold;
    color: var(--base-red);
    padding: 0px 10px;

    border-right: var(--base-red) 4px solid;
}

.wrap .countdown figure {
    margin-left: 20px;
}

.wrap .countdown figure img {
    border: 1px solid #ccc;
}

/*-----------------------

   .detail

-----------------------*/

.wrap .detail {
    display: flex;
    width: 100%;
    margin: 20px 0px;
    padding: 10px;
}

.wrap .detail h2 {
    writing-mode: vertical-rl;
    text-orientation: upright;

    width: clamp(40px, 1.591rem + 4.545vw, 80px);

    font-weight: bold;
    color: var(--base-red);
    padding: 0px 10px;

    border-right: var(--base-yellow) 4px solid;
}

.wrap .detail .detail_box {
    width: 100%;
    margin-left: 20px;
}

.wrap .detail .detail_box dl dt {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--base-yellow);
    margin-bottom: 5px;
}

.wrap .detail .detail_box dl dd {
    margin-bottom: 20px;
}

.wrap .detail .detail_box dl dd .g_map {
    max-width: 800px;
    position: relative;
    padding-top: 20%;
    height: 0;
    min-height: 150px;
    margin: 10px 0px;
}

.wrap .detail .detail_box dl dd .g_map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wrap .detail .detail_box dl dd a {
    color: #ffffff;
}

/*-----------------------

   .sponsor

-----------------------*/

.wrap .sponsor {
    /* display: flex; */

    width: 100%;
    background-color: var(--base-yellow);
    background-image: url(../images/bg_03_l.png), url(../images/bg_03_r.png);
    background-repeat: no-repeat;
    background-position: top left, bottom right;

    color: var(--base-black);
    margin: 20px 0px;
    padding: 20px 10px;
}

/* 
.wrap .sponsor h2 {
    writing-mode: vertical-rl;
    text-orientation: upright;

    width: clamp(40px, 1.591rem + 4.545vw, 80px);

    font-weight: bold;
    color: var(--base-red);
    padding: 0px 10px;

    border-right: var(--base-red) 4px solid;
    ;
} */

.wrap .sponsor .sponsor_box {
    text-align: center;
}

.wrap .sponsor .sponsor_box .title {
    display: block;
    font-family: "Libre Franklin", sans-serif;
    font-size: var(--title-font-size-m);
    font-weight: bold;
    text-align: center;
    color: var(--base-red);
    margin-bottom: var(--margin--s);
}

.wrap .sponsor .sponsor_box ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 610px;
    padding: 0px 10px;
    margin: 0px auto var(--margin--m);

}

.wrap .sponsor .sponsor_box ul:nth-of-type(1) .item {
    width: calc((100% - 10px) / 2);
    max-width: 300px;
    text-align: center
}

.wrap .sponsor .sponsor_box ul:nth-of-type(2) .item {
    width: calc((100% - 10px) / 2);
    text-align: center
}


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

    .wrap .sponsor .sponsor_box ul:nth-of-type(1) .item {
        width: 100%;
    }

    .wrap .sponsor .sponsor_box ul:nth-of-type(2) .item {
        width: 100%;
    }

    .wrap .sponsor .sponsor_box ul .item img {
        width: 70%;
    }

}

.wrap .sponsor .sponsor_box a {
    text-align: center;
    line-height: 0;
    transition: all 0.6s ease 0s;
}

.wrap .sponsor .sponsor_box a:hover {
    opacity: 0.5;
}


.wrap .sponsor .sponsor_box h3 {
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

/*-----------------------

   .wednesday

-----------------------*/

.wrap .wednesday {
    text-align: center;
    padding: 20px;
}

/* 
.wrap .wednesday .txt_wednesday {
    width: 90%;
    margin-bottom: 50px;
} */


.wrap .wednesday .txt_wednesday {
    font-size: clamp(18px, 0.170rem + 4.773vw, 60px);
    font-weight: bold;
    margin-bottom: 50px;
    /* opacity: 0; */
}

.wrap .wednesday .banner {
    display: block;
    animation: fuwa 0.8s ease-in-out infinite alternate-reverse;
    transition: all 0.6s ease 0s;
}

@keyframes fuwa {
    0% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

.wrap .wednesday .banner:hover {
    opacity: 0.7;
}


.wrap .wednesday .fukusuke {
    width: 70%;
    max-width: 500px;
    transition-duration: 0.5s;
}

/* .wrap .wednesday .fukusuke:hover {
    transform: rotateY(360deg) scale(1.1);
    transition-duration: 0.5s;
} */


/*-----------------------

   .FloatingBanner

-----------------------*/
#floating-banner {
    position: absolute;
    bottom: 10px;
    right: 10px;
    /* left: 50%;
    transform: translateX(-50%); */
    width: 90%;
    max-width: 300px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: hidden;
    /* aタグのホバー範囲を制御 */
    border: 1px solid #e5e7eb;
}

/* リンク部分：ここをaタグにする */
.banner-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    text-decoration: none;
    color: #1f2937;
    transition: background-color 0.2s;
}

.banner-link:hover {
    background-color: #f9fafb;
}

.banner-text {
    font-size: 14px;
    font-weight: 500;
}

/* 閉じるボタン */
.btn-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 16px;
    /* 押しやすい広さに */
    color: #9ca3af;
    display: flex;
    align-items: center;
    border-left: 1px solid #f3f4f6;
}

.btn-close:hover {
    color: #ef4444;
    background-color: #fee2e2;
}

/* 非表示用クラス */
.hidden {
    opacity: 0;
    transform: translate(-50%, 20px) !important;
    pointer-events: none;
}

/*-----------------------

   op-anime

-----------------------*/
:root {
    --cube-size: 240px;
    --half-size: 120px;
    --border-size: 30px;
}

@media screen and (max-width: 800px) {
    :root {
        --cube-size: 120px;
        --half-size: 60px;
        --border-size: 15px;
    }
}


/* メインコンテンツ */
#main-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    opacity: 0;
}

/* ローディング画面全体 */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

/* 左右に分かれる背景パネル */
.bg-panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: #000;
    background-image: url(../images/bg.png);
    z-index: 1;
}

/* クラス名を具体的にして干渉を回避 */
.panel-left {
    left: 0;
    border-right: var(--border-size) solid var(--base-red);
}

.panel-right {
    right: 0;
    border-left: var(--border-size) solid var(--base-red);
}

.scene-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: relative;
}

.scene {
    width: var(--cube-size);
    height: var(--cube-size);
    perspective: 1500px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.face {
    position: absolute;
    width: var(--cube-size);
    height: var(--cube-size);
    background-color: #9e1a1a;
    border: 1px solid #7f1d1d;
    box-sizing: border-box;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
}

/* 見える面 */
.face-front {
    transform: rotateY(-90deg) translateZ(var(--half-size));
    background-image: url(../images/op/top.webp);
    background-position: center center;
}

.face-right {
    transform: rotateY(0deg) translateZ(var(--half-size));
    background-image: url(../images/op/rb.webp);
    background-position: center center;
}

.face-top {
    transform: rotateX(-90deg) translateZ(var(--half-size));
    background-image: url(../images/op/lb.webp);
    background-position: center center;
}

/* 見えない面 */
.face-back {
    transform: rotateY(180deg) translateZ(var(--half-size));
    background-image: url(../images/op/top.webp);
    background-position: center center;
}

.face-left {
    transform: rotateY(90deg) translateZ(var(--half-size));
    background-image: url(../images/op/rb.webp);
    background-position: center center;
}

.face-bottom {
    transform: rotateX(90deg) translateZ(var(--half-size));
    background-image: url(../images/op/top.webp);
    background-position: center center;
}

.loading-text {
    font-family: "Libre Franklin", sans-serif;
    margin-top: 100px;
    color: #fcd34d;
    letter-spacing: 0.5em;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}