@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; */
}

@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: center;
    justify-content: space-around;
    margin: 0;
    padding: 0;

    z-index: 10;
}

.wrap .menu li {
    font-family: "Libre Franklin", sans-serif;
    width: 25%;
    background-color: #121212;
    color: #666666;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    font-size: clamp(16px, 0.636rem + 1.818vw, 32px);
    font-weight: bold;
    text-align: center;

    padding: 20px 5%;
    margin: 0;

    border-bottom: 4px solid #000;
    transition: all 0.6s ease 0s;
}

.wrap .menu li:has(a) {
    background-color: var(--base-red);
}

.wrap .menu li:has(a):hover {
    background-image: url(../images/bg_fukusuke.webp), linear-gradient(180deg,
            var(--base-red) 1%,
            var(--base-red) 90%,
            var(--base-yellow) 90%,
            var(--base-yellow) 100%);
    ;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

.wrap .menu li span {
    width: 100%;
    display: block;
    font-size: clamp(10px, 0.307rem + 1.591vw, 24px);
}

.wrap .menu li a {
    color: #ffffff;
    text-decoration: none;
}

.wrap .menu li a {
    color: #ffffff;
    text-decoration: none;
}

/*-----------------------

   .news

-----------------------*/

.wrap .news {
    display: flex;
    width: 100%;
    background-color: var(--base-red);
    margin: 20px 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% - 10px);
    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_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;
}


/*-----------------------

   .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: #ffffff;
    color: var(--base-black);
    margin: 20px 0px;
    padding: 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 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-left: 20px;
}

.wrap .sponsor .sponsor_box a {
    width: calc(33% - 10px);
    border: 1px solid #afafaf;
    text-align: center;
}

.wrap .sponsor .sponsor_box h3 {
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}


/*-----------------------

   .wednesday

-----------------------*/

.wrap .wednesday {
    text-align: center;
    padding: 50px;
}

.wrap .wednesday .txt_wednesday {
    width: 90%;
    margin-bottom: 50px;
}

.wrap .wednesday .fukusuke {
    width: 60%;
}

/*-----------------------

   .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;
}