@charset "utf-8";

:root {
    --header-h: 87px;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "Mgen+ 2cp";
    font-weight: normal;
    src: local("mgenplus-2c-regular"),
        url("../fonts/mgenplus-2cp-regular.woff2") format("woff2"),
        url("../fonts/mgenplus-2cp-regular.woff") format("woff");
}

@font-face {
    font-family: "Mgen+ 2cp";
    font-weight: bold;
    src: local("mgenplus-2cp-bold"),
        url("../fonts/mgenplus-2cp-bold.woff2") format("woff2"),
        url("../fonts/mgenplus-2cp-bold.woff") format("woff");
}

@font-face {
    font-family: "Mgen+ 2cp";
    font-weight: 900;
    src: local("mgenplus-2cp-black"),
        url("../fonts/mgenplus-2cp-black.woff2") format("woff2"),
        url("../fonts/mgenplus-2cp-black.woff") format("woff");
}



html {
    height: 100%;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 1300px;
    margin: 0;
    background-size: unset;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    overflow: auto;
}

body,
section,
h1,
h2,
h3,
h4,
p {
    font-size: 1.4rem;
}


.pc-only {
    display: block !important;
}

.sp-only {
    display: none !important;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

.container-top {
    width: 100%;
    margin: auto;
}

.center {
    text-align: center;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

#opening {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 9999;
    display: grid;
    place-items: center;
    transition: opacity .6s ease;
}

#opening img.op-main {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    opacity: 0;
    transition: opacity .6s ease;
    /* フェード */
}

#opening img.op-frame {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    opacity: 0;
    transition: opacity .12s linear;
}

#opening img.active {
    opacity: 1;
}

.kv {
    text-align: center;
    position: relative;
    opacity: 0;
    position: relative;
    width: 90%;
    margin: 0 auto;
}

.kv.show {
    opacity: 1;
}

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

.site-header {
    position: fixed;
    /* “KVの上に乗せる” */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    /* KVより上 */
    background: transparent;
    /* 被せたいので透明 */
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
    background: rgba(255, 255, 255, 0.9);
}

.site-header {
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
}

.site-footer {
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
}

footer.site-footer {
    padding: 40px 0px;
    background: #111;
    color: #fff;
    border-top: 3px solid;
    border-image: linear-gradient(45deg, #fed70e, #d8077e) 10;
}

.site-header.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.kv__overlay {
    position: absolute;
    /* 位置は好みで */
    z-index: 20;
    height: auto;
    opacity: 0;
    margin-top: 10px;
    pointer-events: none;
}

.kv__overlay--title {
    bottom: 25%;
    left: 12%;
    max-width: 47vw;
}

.kv__overlay--day {
    bottom: 3%;
    left: 25%;
    max-width: 44vw
}

/* 個別アニメ発火 */
.kv.show-title .kv__overlay--title {
    animation: fadeOnly .6s ease-out forwards;
}

.kv.show-day .kv__overlay--day {
    animation: fadeOnly .6s ease-out forwards;
}

/* フェードのみ */
@keyframes fadeOnly {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 三本線ボタン（PCでも出す） */
.menu-btn {
    background: none;
    border: 0;
    cursor: pointer;
    padding: 10px;
    display: none !important;
}

.menu-btn__icon {
    display: block;
    width: 40px;
    /* ← 横幅アップ */
    height: 4px;
    /* ← 線を太く */
    background: #000;
    position: relative;
}

.menu-btn__icon::before,
.menu-btn__icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 40px;
    /* ← 同じ幅に */
    height: 4px;
    /* ← 同じ太さに */
    background: #000;
}

/* 間隔も広げる */
.menu-btn__icon::before {
    top: -12px;
}

.menu-btn__icon::after {
    top: 12px;
}

/* ✕に変形 */
.site-header.menu-open .menu-btn__icon {
    background: transparent;
}

.site-header.menu-open .menu-btn__icon::before {
    top: 0;
    transform: rotate(45deg);
    left: 0px;
}

.site-header.menu-open .menu-btn__icon::after {
    top: 0;
    transform: rotate(-45deg);
    left: 0px;
}

.menu-btn__icon,
.menu-btn__icon::before,
.menu-btn__icon::after {
    transition:
        transform .35s ease,
        top .35s ease,
        background .2s ease,
        opacity .2s ease;
}

.menu-btn {
    background: #000;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.menu-btn__icon {
    position: relative;
    width: 40px;
    height: 4px;
    background: #fff;
    margin-left: 0px;
}

.menu-btn__icon::before,
.menu-btn__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    /* ← ここが重要 */
    transform: translateX(-50%);
    /* ← 真ん中に補正 */
    width: 40px;
    height: 4px;
    background: #fff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-right: 50px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: space-between;
}

.header-left a {
    background: #111111;
}

.header-left img {
    max-width: 100%;
}

/* ナビは最初隠す */
.site-nav {
    display: none;
}

/* 開いたら表示 */
.site-header.menu-open .site-nav {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    padding: 20px 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.site-header.menu-open .site-nav.tate {
    padding: 20px;
    max-height: 80vh;
    overflow-y: auto;
    width: 70%;
    text-align: left;
    padding-bottom: 100px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icons img {
    width: 50px;
    /* サイズ調整 */
    height: auto;
    display: block;
    transition: opacity .2s ease;
}

.header-icons a:hover img,
.header-icons a:focus img,
.header-icons a:active img {
    opacity: .7;
}

/* 横並び */
ul.nav-menu {
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
}

ul.nav-menu.tate {
    display: inline-block;
    flex-direction: column;
    gap: 40px;
    margin: 0;
    padding: 0;
}

/* li */
ul.nav-menu>li {
    list-style: none;
    position: relative;
    /* サブの基準 */
}

/* ★ここが可動域を広げる本体 */
ul.nav-menu>li>a {
    display: block;
    /* インライン→ブロック */
    padding: 16px 8px;
    /* クリック/ホバー範囲を拡大 */
    font-size: 1.2em;
    text-decoration: none;
    color: #111;
    line-height: 2;
}

.tate ul.nav-menu>li>a {
    line-height: initial;
    padding: 50px 120px 5px 8px;
    border-bottom: 3px solid #111;
    display: flex;
    justify-content: flex-start;
}

.tate ul.nav-menu>li:first-child>a {
    padding: 20px 120px 5px 8px;
}

ul.nav-menu.tate>li:last-child {
    padding-bottom: 50px;
}

.tate ul.nav-menu>li>a span {
    display: block;
    min-width: 100%;
}

/* ホバー見た目（任意） */
ul.nav-menu>li>a:hover,
ul.nav-menu>li>a:active,
ul.nav-menu>li>a:focus {
    color: rgb(6, 147, 227);
}

/* サブコンテンツ */
.sub-content {
    position: absolute;
    left: 0;
    top: 100%;
    /* navの下 */
    margin-top: 5px;
    min-width: 220px;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    padding: 12px;
    display: none;
    /* 最初は隠す */
    z-index: 200;
    background: rgba(255, 255, 255, 0.9);
}

/* li */
ul.nav-menu.tate>li {
    list-style: none;
    position: relative;
    /* サブの基準 */
}

/* サブコンテンツ */
.tate .sub-content {
    position: initial;
    display: block;
    box-shadow: initial;
    font-size: 1.2rem;
}

.tate .sub-content a {
    font-size: 1.2rem;
}

/* サブのリンク */
.sub-content a {
    display: block;
    padding: 10px 10px;
    text-decoration: none;
    color: #111;
    border-radius: 8px;
}

.sub-content a:hover,
.sub-content a:active,
.sub-content a:focus {
    background: #111111;
    color: #fff;
    transition: opacity .2s ease;
}

.sub-content a::before {
    content: "››";
    margin-right: 8px;
    font-weight: bold;
}

.disabled-link {
    pointer-events: none;
    opacity: .5;
    cursor: default;
}


/* ★liにホバーしたら表示（aだけじゃなくli全体で判定） */
ul.nav-menu>li.has-sub:hover .sub-content,
ul.nav-menu>li.has-sub:focus-within .sub-content,
ul.nav-menu>li.has-sub:active .sub-content {
    display: block;
}

/* ホバーの“切れ”防止：aとサブの間に少し橋を作る（任意） */
ul.nav-menu>li.has-sub::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
    /* a～subの隙間分を埋める */
}

.countdown {
    display: flex;
    align-items: center;
    /* 縦中央揃え */
    gap: 3px;
    /* 要素間の余白 */
}

.countdown p {
    margin: 0;
    display: inline-block;
    font-size: 1.2em;
    font-weight: bold;
}


.countdown p.countdown-number {
    width: 55px;
    text-align: center;
    background: #111111;
    color: #fff;
}

.countdown p.countdown-number--active {
    width: 120px;
    text-align: center;
    background: #111111;
    color: #fff;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.menu-link.active {
    pointer-events: auto;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.menu-icon {
    width: 34px;
    height: 34px;
    padding: 6px;
    background: rgba(255, 255, 255, .15);
    border-radius: 8px;
    display: inline-flex;
}



.header-icons .site-logo img {
    width: 145px;
}

.menu-btn.no-dblzoom.is-open {
    touch-action: manipulation;
}

.container-top-inner {
    display: flex;
    align-items: center;
    gap: 1px;
    justify-content: space-between;
}

.gnav.site-nav.tate .kv__overlay--title {
    max-width: 15vw;
    margin-bottom: 1rem;
}



#fixed-news {
    background-color: #fff;
    padding: 4px 0;
    color: #111;
}

#fixed-news .fixed-news-inner {
    display: flex;
    align-items: center;
    text-align: left;
}

#fixed-news .fixed-news-inner .title {
    background-color: #111;
    color: #fff;
    padding: 4px 20px;
    flex-shrink: 0;
}

#fixed-news .fixed-news-inner .contents {
    width: 100%;
}

#fixed-news .fixed-news-inner .scroll-text {
    display: inline-block;
    white-space: nowrap;
}



#fixed-news .scroll-text p {
    color: #111;
    display: inline-block;
    margin-left: 15px;
}

section a {
    color: #111111;
}

section a:hover,
section a:focus {
    color: #111111;
}

.inner {
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.contents.marquee {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.contents.marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 1.8em;
    /* ← これ重要：表示領域を確保 */
    line-height: 1.8em;
    /* ← 縦位置安定 */
}

#marqueeTrack {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
}

#marqueeTrack p {
    margin: 0;
    display: inline-block;
}

#marqueeTrack a {
    color: #111;
    text-decoration: none;
}

.container-box {
    margin: 1rem 1rem 0rem 1rem;
    background: #fff;
    padding: 1rem;
    text-align: center;
}

.container-box .text-left {
    text-align: left;
}

.container-box h2 {
    text-align: center;
    display: inline-block;
    padding: 10px 50px;
    color: #fff;
    background: linear-gradient(to right, #ff0097, #c200e6);
    margin: 10px;
}

.container-box h3 {
    display: inline-block;
    border-bottom: 3px solid #a5a5a5;
    margin: 10px;
}

.container-box p {
    text-align: left;
}

.container-box h4 {
    background: #111;
    display: inline-block;
    margin: 10px;
    font-weight: normal;
    color: #fff;
    padding: 0.5rem;
}

ul.ul-type-2 {
    padding-left: 2rem;
}

.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}


.about-img {
    position: absolute;
    right: -12%;
    bottom: 0;
    width: 500px;
    max-width: 40%;
    opacity: 0.5;
}

.fixed-btn {
    position: fixed;
    width: 130px;
    height: 130px;
    right: 0px;
    bottom: 10%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 0px;
    background: #fed70e;
    color: #000;
    padding: 14px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
    z-index: 9999;
    transition: 0.3s;
    margin-right: 3%;

    transition: .3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.fixed-btn:hover {
    background: #fed70e;
    color: #000;
}

.fixed-btn.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.btn-icon {
    width: 65px;
    height: auto;
}

.fixed-btn span {
    font-size: 1rem;
    margin-top: 1px;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.fixed-btn.disable {
    pointer-events: none;
    /* background: #abb8c3; */
}

.breadcrumb {
    padding: 10px 16px;
    border-top: 3px solid;
    border-image: linear-gradient(45deg, #fed70e, #d8077e) 10;
    border-bottom: 3px solid;
    color: #fcb900;
    background: #111;
}



.breadcrumb ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb li::after {
    content: "››";
    margin-left: 8px;
    opacity: .6;
}

.breadcrumb li:last-child::after {
    content: "";
}

.breadcrumb a {
    text-decoration: none;
    color: #fff;
}

.breadcrumb a:link,
.breadcrumb a:visited,
.breadcrumb a:hover,
.breadcrumb a:active {
    color: #fff;
    text-decoration: none;
}

.sub-hero {
    position: relative;
    overflow: hidden;
}

.sub-hero__pic img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== 文字全体：右→左 ===== */
.sub-hero__overlay {
    position: absolute;

    left: 50%;
    bottom: 8%;
    /* ← 下からの距離（調整ポイント） */

    transform: translateX(30%);
    /* 右からスライド用 */
    opacity: 0;
    text-align: center;
    color: #fff;

    transition: transform .9s cubic-bezier(.22, 1, .36, 1),
        opacity .6s ease;
}

.sub-hero.is-show .sub-hero__overlay {
    transform: translateX(-50%);
    opacity: 1;
}

.sub-hero__eyebrow {
    font-size: 12px;
    letter-spacing: .2em;
    color: #fff;
    margin: 8px 0 0px;
}

/* ===== タイトル ===== */
.sub-hero__title {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 14px;
    /* ライン用余白 */
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 700;
    letter-spacing: .08em;
    color: #fff;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 1);
}

/* ===== ライン：左→右に伸びる ===== */
.sub-hero__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #fff;

    transform: scaleX(0);
    /* 初期：横に潰す */
    transform-origin: left;
    /* 左起点で伸ばす */
    opacity: 0;
    transition: transform .7s cubic-bezier(.22, 1, .36, 1),
        opacity .25s ease;
}

/* 表示時 */
.sub-hero.is-show .sub-hero__title::after {
    transform: scaleX(1);
    opacity: 1;
    transition-delay: .18s;
    /* 文字が止まってからライン */
}


/* 動き苦手な人向け */
@media (prefers-reduced-motion: reduce) {

    .sub-hero__overlay,
    .sub-hero__title::after {
        transition: none;
        opacity: 1;
        transform: translate(-50%, -50%);
    }

    .sub-hero__title::after {
        transform: scaleX(1);
    }
}

.sub-hero__title::after {
    background: linear-gradient(to right, #ffffff, rgba(17, 17, 17, 0));
}




/* 形（必要なら clip-path もここに） */
.child_slug {
    text-align: center;
    position: relative;
    display: block;
    padding: 0.5rem;
    background: #c200e6;
    /* 初期：黒 */
    overflow: hidden;
    /* はみ出し防止 */

    /* 例：左下長い台形（不要なら削除OK） */
    /* clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); */
}

/* ピンクの塗り（下から上へ伸びる） */
.child_slug::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #ff2f92;
    /* background: linear-gradient(to top, #ff2f92, #ff6fb5); */
    transform: scaleY(0);
    /* 初期：高さ0 */
    transform-origin: bottom;
    /* 下起点 */
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
    z-index: 0;
}

/* テキストは前面へ */
.child_slug .text {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 2rem;
    line-height: 1.3;
    color: #fff;
    /* 初期：黒文字 */
    transition: color .4s ease;
}

/* 発火後 */
.child_slug.is-active::before {
    transform: scaleY(1);
    /* ピンクが全面へ */
}

.child_slug.is-active .text {
    color: #fff;
    /* 文字を白に */
}

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

.sub-hero__pic img.height150 {
    height: 150px;
}

.img100.sub-img {
    position: relative;
    overflow: hidden;
}

.img100.sub-img picture,
.img100.sub-img img {
    width: 100%;
    display: block;
}

.img100.sub-img {
    position: relative;
    overflow: hidden;
}

/* 画像 */
.img100.sub-img picture,
.img100.sub-img img {
    width: 100%;
    display: block;
}

.img100.sub-img {
    position: relative;
    overflow: hidden;
}

.img100.sub-img picture,
.img100.sub-img img {
    width: 100%;
    display: block;
}

.img100.sub-img {
    position: relative;
    overflow: hidden;
}

.img100.sub-img picture,
.img100.sub-img img {
    width: 100%;
    display: block;
}

/* 黒背景ラベル */
.sub-img__label {
    position: absolute;
    top: 32px;
    /* ← 最終的に止まる位置 */
    left: 32px;
    /* ← 要素の左側揃え */

    background: #000;
    color: #fff;
    padding: 50px 20px 30px 20px;

    font-weight: 700;
    letter-spacing: .12em;
    font-size: clamp(18px, 2.2vw, 28px);
    line-height: 1;

    /* 初期：上から落ちる */
    opacity: 0;
    transform: translateY(-60px);

    transition:
        transform .9s cubic-bezier(.22, 1, .36, 1),
        opacity .45s ease;
    will-change: transform, opacity;
}

/* 発火 */
.img100.sub-img.is-show .sub-img__label {
    opacity: 1;
    transform: translateY(0);
}

.sub-img__label {
    animation: none;
}



.img100.sub-img {
    margin: 0;
    padding: 0;
}

.sub-img__label {
    top: 0;
    left: 0;
}

.site-footer {
    margin-top: 0px;
}



.swiper-slide img {
    margin-bottom: 10px;
}

/* ドットぶんのスペースを確保 */
.bannerSwiper {
    padding-bottom: 40px;
    padding-top: 20px;
    /* ← ドット分。30〜60pxで調整 */
}

/* ドットは内側に置く */
.bannerSwiper .swiper-pagination {
    bottom: 10px;
    /* ← padding内に収める */
}

#slide-banner {
    background: #ff2f92;
    padding-bottom: 1rem;
    padding-top: 4rem;
    clip-path: polygon(0 0,
            /* 左上 */
            100% 15%,
            /* 右上 少し下げる */
            100% 100%,
            /* 右下 */
            0 100%
            /* 左下 */
        );
}

.swiper-button-next,
.swiper-button-prev {
    svg {
        display: none;
    }
}

.bannerSwiper .swiper-button-prev,
.bannerSwiper .swiper-button-next {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, .8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
    transition: .3s ease;
    border: none;
}

/* デフォルト矢印を消す */
.bannerSwiper .swiper-button-prev::after,
.bannerSwiper .swiper-button-next::after {
    content: "";
}

/* 自作矢印 */
.bannerSwiper .swiper-button-prev::before {
    content: "◀";
    color: #ff2f92;
    font-size: 18px;
    font-weight: bold;
}

.bannerSwiper .swiper-button-next::before {
    content: "▶";
    color: #ff2f92;
    font-size: 18px;
    font-weight: bold;
}

/* ホバー */
.bannerSwiper .swiper-button-prev:hover,
.bannerSwiper .swiper-button-next:hover {
    transform: scale(1.1);
    background: #ff2f92;
}

.bannerSwiper .swiper-button-prev:hover::before,
.bannerSwiper .swiper-button-next:hover::before {
    color: #fff;
    /* ホバーで白矢印 */
}

.banner-inner {
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.protrude {
    position: relative;
    background: #fff;
    padding: 40px 20px 0px;
}

/* はみ出させる */
.box-title {
    position: absolute;
    top: -40px;
    left: 0%;
    background: #111;
    color: #fff;

    font-weight: bold;
    text-align: center;
    display: inline-block;
}

.container-box h4.box-title {
    padding: 10px 60px;
}

.top-banner-menu-list {
    display: flex;
    gap: 10px;
    /* ボタン間の余白 */
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-banner-menu-list li {
    flex: 1;
    background: #fff;
    text-align: center;
    transition: transform .4s cubic-bezier(.22, 1, .36, 1),
        box-shadow .4s cubic-bezier(.22, 1, .36, 1);
}

.top-banner-menu-list li.active {
    background: #eb4690;
    color: #fff;
}

.top-banner-menu-list li:hover {
    background: #eb4690;
    color: #fff;
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.top-banner-menu-list li a:hover {
    background: #eb4690;
    color: #fff;
}

.top-banner-menu-list li a.active {
    background: #eb4690;
    color: #fff;
}

.top-banner-menu-list li.active a {
    background: #eb4690;
    color: #fff;
}

.top-banner-menu-list li a {
    display: flex;
    padding: 8px 16px;
    min-height: 100%;
    align-items: center;
    justify-content: center;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 2s cubic-bezier(.22, 1, .36, 1) .6s forwards;
}

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



#ranking .container-box {
    background: transparent;
}

.container-box table {
    width: 100%;
    margin-top: 0px;
    margin-bottom: 0px;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    text-align: left;
    /* iPhoneで慣性スクロール */
}

.table-scroll table {
    min-width: 1500px;
    /* 必要な横幅を指定 */
    white-space: nowrap;
    border-collapse: collapse;
    font-size: 1.2rem;
    text-align: center;
    border: 3px solid #eb4690;
}

.table-scroll.table-scroll-none table {
    min-width: initial;
    width: 100%;
    /* 必要な横幅を指定 */
    white-space: nowrap;
    border-collapse: collapse;
    font-size: 1.2rem;
    text-align: center;
    border: 3px solid #eb4690;
}

.table-scroll table p {
    font-size: 1.2rem;
    color: #333;
}

.table-scroll table thead {
    color: #fff;
    background: #333;
    font-weight: 1rem;
}

.table-scroll table thead td {
    padding: 0.1rem;
    border: 1px solid #fff;
}

.table-scroll table tbody td {
    padding: 0.5rem;
}

.table-scroll table tbody td img {
    width: 55px;
    margin-right: 10px;
}

.table-scroll table thead tr:first-child td:first-child {
    width: 300px;

}

.table-scroll table tbody td:first-child {
    text-align: left;
}

.table-scroll table thead tr:first-child td:nth-child(2),
.table-scroll table thead tr:first-child td:nth-child(3),
.table-scroll table thead tr:first-child td:nth-child(4),
.table-scroll table thead tr:first-child td:nth-child(5) {
    width: 60px;
}

.table-scroll table thead tr:nth-child(2) td:nth-child(3),
.table-scroll table thead tr:nth-child(2) td:nth-child(4),
.table-scroll table thead tr:nth-child(2) td:nth-child(5) {
    width: 60px;
}

.table-scroll table thead tr:nth-child(2) td:nth-child(6),
.table-scroll table thead tr:nth-child(2) td:nth-child(7),
.table-scroll table thead tr:nth-child(2) td:nth-child(8) {
    width: 100px;
}

.table-scroll table tbody td:not(:last-child) {
    border-right: 1px solid #e5e5e5;
}



/* 奇数行 */
.table-scroll table tbody tr:nth-child(odd) {
    background: #fff0f4;
}

/* 偶数行 */
.table-scroll table tbody tr:nth-child(even) {
    background: #fffdf5;
}

.player-cell {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.player-info {
    display: flex;
    flex-direction: column;
}

.player-name {
    font-weight: bold;
    margin-bottom: 6px;
}

.player-links {
    display: flex;
    gap: 12px;
    /* ← リンク間の余白 */
}


.player-links a {
    display: inline-block;
    padding: 5px 12px;
    font-size: 12px;
    background: #abb8c3;
    color: #fff;
    text-decoration: none;
    transition: opacity .2s ease;
}

.player-links a.comment-link {
    background: #eb4690;
}

.player-links a.ranking-link {
    background: #f78da7;
}


.player-links a:hover {
    opacity: .8;
}

.table-scroll table thead td,
.table-scroll table tbody td {
    padding: 0.1rem 1rem;
}

.dt-input {
    width: 100px;
    padding: 1rem;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.table-scroll,
.scroll-top {
    overflow-x: auto;
    overflow-y: hidden;
}

.scroll-top {
    height: 16px;
}

/* 上スクロールのダミー幅 */
.scroll-top div {
    height: 1px;
}

/* 全体 */
.table-scroll-wrap {
    width: 100%;
}

/* 検索＋件数 */
.table-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    margin: 0 0 10px;
}

#racerSearch,
#racerSearch2,
#racerSearch3 {
    width: min(420px, 100%);
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    outline: none;
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* DataTablesの「件数」UIを置く場所 */
.dt-length-slot {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* entries の英語ラベルを日本語化するならJS側でも可。CSSだけならここ */
.dt-length label {
    display: none;
}

/* 上下スクロール */
.scroll-top,
.table-scroll {
    overflow-x: auto;
    overflow-y: hidden;
}

.scroll-top {
    height: 16px;
    /* スクロールバー分 */
    margin-bottom: 6px;
}

.scroll-top>div {
    height: 1px;
    /* ダミー */
}

/* テーブル */
.race_member {
    border-collapse: collapse;
    width: max-content;
    /* 横に伸びる時に効く */
    min-width: 100%;
}

.race_member td,
.race_member th {
    padding: 10px;
    vertical-align: middle;
    white-space: nowrap;
}

/* 行のゼブラ（必要なら） */
.race_member tbody tr:nth-child(odd) {
    background: rgba(0, 0, 0, 0.02);
}

/* 選手セル（画像＋情報） */
.player-cell {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 300px;
}

.player-cell img {}

/* 名前＋リンク */
.player-info {
    display: flex;
    flex-direction: column;
}

.player-name {
    margin: 0 0 6px;
    font-weight: 700;
}

/* ボタン風リンク */
.player-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.player-links a {
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
    text-decoration: none;
    color: #333;
    transition: all .2s ease;
}

.player-links a:hover {
    background: #333;
    color: #fff;
}

/* コメントだけ強調したい場合 */
.player-links a.comment-link {
    border-color: #d60000;
    color: #fff;
}

.player-links a.ranking-link {
    border-color: #f78da7;
    color: #fff;
}

.player-links a.comment-link:hover {
    background: #d60000;
    color: #fff;
}


.player-links a.ranking-link:hover {
    background: #f78da7;
    color: #fff;
}

/* DataTablesのフッター（ページャー置き場） */
.table-footer {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

/* DataTablesのページャー見た目（任意） */
.dataTables_paginate {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.dataTables_paginate .paginate_button {
    padding: 6px 10px !important;
    border: 1px solid #ccc !important;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
}

.dataTables_paginate .paginate_button.current {
    background: #333 !important;
    color: #fff !important;
    border-color: #333 !important;
}



.dt-length select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding: 1rem;
    border: 1px solid #fff;
    border-radius: 6px;

    background-color: #111;
    color: #fff;

    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='10' viewBox='0 0 16 16' width='10' xmlns='http://www.w3.org/2000/svg'><path d='M1 5l7 7 7-7'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.dt-length select:hover,
.dt-length select:active,
.dt-length select:focus,
.dt-length select:focus-visible {
    border: 1px solid #fff;
}

.dt-paging.paging_full_numbers {
    display: none;
}

.ranking {
    display: none;
}

.ranking.active {
    display: block;
}

.vote-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.vote-modal.active {
    display: block;
}

.vote-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.vote-modal-box {
    position: relative;
    width: 320px;
    margin: 15vh auto;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.vote-buttons {
    margin-top: 20px;
}

.vote-buttons button {
    padding: 8px 16px;
    margin: 0 5px;
    cursor: pointer;
}

.vote-bar {
    width: 200px;
    height: 10px;
    background: #eee;
    border-radius: 5px;
    overflow: hidden;
}

.vote-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, #ff6a00, #ff0000);
    width: 0;
    transition: width .5s ease;
}

.table-scroll.table-scroll-none table thead tr th:first-child {
    width: 70px;
}

.table-scroll.table-scroll-none table thead tr th:nth-child(2) {
    width: 300px;
}



.table-scroll.table-scroll-none table thead tr th {
    border-right: 1px solid #ffffff;
}

.table-scroll.table-scroll-none table tbody td:first-child {
    text-align: center;
}

#voteComment {
    width: 100%;
    height: 80px;
    margin-top: 10px;
    padding: 8px;
    font-size: 14px;
    resize: none;
}

section a.name {
    text-decoration: underline;
    text-underline-offset: 4px;

}

.votes {
    text-align: left;
    display: inherit;
}

.transparent {
    background: transparent;
}

.float-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.float-box .left {
    width: 200px;
    flex: 0 0 200px;
}

.float-box .left img {
    width: 100%;
    height: auto;
    display: block;
}

.float-box .right {
    flex: 1;
    min-width: 0;
    /* テーブルの横スクロールが効くために重要 */
}

#snum .table-scroll.table-scroll-sum table {
    border: none;

}

#snum .table-scroll table thead {
    background: transparent;
}

#snum .table-scroll.table-scroll-sum table thead td {
    background: transparent;
}

#snum .table-scroll table thead tr:first-child td:first-child {
    border-top: none;
    text-align: left;
}

#snum .table-scroll table thead td:first-child {
    border-left: none;
}

#snum .table-scroll table thead td:last-child {
    border-right: none
}

#sum table.vote-ranking tbody {
    border-right: none;
}

.table-scroll table tbody td:last-child {
    border-right: none;
}

.bt1 {
    border-bottom: 1px solid #fff;
}

.table-scroll.table-scroll-sum table {
    min-width: initial;
    width: 100%;
    /* 必要な横幅を指定 */
    white-space: nowrap;
    border-collapse: collapse;
    font-size: 1.2rem;
    text-align: center;
}

.table-scroll-sum table tbody td:first-child {
    text-align: center;
}

.table-scroll-sum table tbody td {
    background: #fff;
}

#snum .float-box .right h5 {
    font-size: 1.4rem;
    color: #fff;
    text-align: left;
}

#snum .float-box .right h4 {
    font-size: 1.4rem;
    color: #fff;
    text-align: left;
    margin-bottom: 1rem;
    font-weight: normal;
    background: none;
    margin: 0;
    text-align: left;
    display: block;
    padding: 0;
    margin-bottom: 1rem;
}



.comment-box {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;

    color: #fff;
    padding: 20px;
    border-radius: 18px;

    max-width: 760px;
    width: 100%;

    box-sizing: border-box;
    margin-bottom: 1rem;
}

.comment-box-button {
    padding: 0 20px;
}

.comment-icon {
    flex: 0 0 70px;
    /* 絶対に縮めない */
}

.comment-icon img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    display: block;
}

/* 右側がちゃんと縮めるようにする */
.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-text {
    margin: 0;
    line-height: 1.7;

    /* 長文/長い英数字/URL対策 */
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    border-bottom: 1px solid #fff;
}




.comment-box-button .player-links a {
    padding: 10px 100px;
}





@media (max-width: 1400px) {
    body {
        min-width: 0;
        /* 1300px固定を解除 */
    }

    .container {
        width: 92vw;
        /* 1200px固定を解除 */
        margin: 0 auto;
    }

    .kv {
        width: 100%;
        /* KVを全幅に寄せる（90%のままでもOK） */
    }

    .site-branding.pc-only {
        display: none !important;
    }

    .site-branding {
        display: none;
    }

    .menu-btn {
        display: block !important;
        margin-right: 30px;
        border: 3px solid #fff;
    }

    .header-right .header-icons {
        display: none;
    }

    .menu-btn__icon {
        margin-left: 10px;
    }

    .header-left {
        display: none;
    }


    .site-header {
        background: rgba(255, 255, 255, 0);
        border-bottom: none;
    }

    .container-top {
        padding-top: 15px;
        padding-bottom: 15px;
        text-align: right;
    }

    .container-top-inner {
        display: inline-block;
    }


}