/* ==================================================
   /assets/css/common.css
   Global shared styles ONLY
================================================== */

:root {
    --bg: #ffffff;
    --ink: #0b0b0b;
    --muted: #6b6b6b;
    --muted2: #8a8a8a;
    --line: #e8e8e8;
    --panel: #f3f3f3;

    --orange: #ff2e2e;
    --orange2: #ff5a5a;

    --radius: 22px;
    --radius2: 34px;
    --max: 1180px;

    --shadow: 0 16px 50px rgba(0, 0, 0, .10);
    --shadow2: 0 10px 26px rgba(0, 0, 0, .07);

    --ease: cubic-bezier(.2, .9, .2, 1);
    --ring: 0 0 0 4px rgba(255, 46, 46, .14);
}

/* ===== Reset ===== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(900px 500px at 15% 0%, rgba(255, 46, 46, .10), transparent 55%),
        radial-gradient(900px 520px at 90% 10%, rgba(255, 90, 90, .10), transparent 55%),
        var(--bg);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ==================================================
   Header (Capsule)
================================================== */
.capsuleHeaderWrap {
    position: fixed;
    top: 18px;
    left: 0;
    right: 0;
    z-index: 50;
    pointer-events: none;
}

.capsuleHeader {
    pointer-events: auto;
    width: min(1320px, calc(100% - 56px));
    margin: 0 auto;
    height: 72px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px 0 16px;
    backdrop-filter: blur(12px);
    transition: .35s var(--ease);

    /* eSports accent */
    position: relative;
    overflow: hidden;
}

.headerCompact .capsuleHeader {
    height: 62px;
    box-shadow: var(--shadow2);
    transform: translateY(-2px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand img {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
}

.brand .name {
    min-width: 0;
}

.brand b {
    font-size: 18px;
    font-weight: 1000;
    display: block;
}

.brand span {
    font-size: 11px;
    color: var(--muted2);
    font-weight: 800;
    display: block;
}

.nav {
    display: flex;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.nav a {
    font-weight: 900;
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 999px;
}

.nav a:hover {
    background: #f6f6f6;
}

.headerRight {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
    align-items: center;
}

/* ==================================================
   Buttons
================================================== */
.pillBtn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 999px;
    border: 1px solid #dcdcdc;
    background: #fff;
    font-weight: 900;
    font-size: 13px;
    cursor: pointer;
    transition: .25s var(--ease);
}

.pillBtn.primary {
    border-color: rgba(255, 46, 46, .35);
    background: linear-gradient(135deg, rgba(255, 46, 46, .12), rgba(255, 90, 90, .10));
}

.pillBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--orange);
    box-shadow: 0 0 20px rgba(255, 46, 46, .45);
}

/* ==================================================
   Hamburger (Menu Button)
================================================== */
.menuBtn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #dcdcdc;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .25s var(--ease);
}

.menuBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
}

.menuIcon {
    width: 18px;
    height: 14px;
    position: relative;
}

.menuIcon span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 99px;
    background: #111;
    transition: transform .28s var(--ease), top .28s var(--ease), opacity .2s var(--ease);
}

.menuIcon span:nth-child(1) {
    top: 0;
}

.menuIcon span:nth-child(2) {
    top: 6px;
}

.menuIcon span:nth-child(3) {
    top: 12px;
}

/* open：× */
.menuBtn.isOpen .menuIcon span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
}

.menuBtn.isOpen .menuIcon span:nth-child(2) {
    opacity: 0;
    transform: translateX(6px);
}

.menuBtn.isOpen .menuIcon span:nth-child(3) {
    top: 6px;
    transform: rotate(-45deg);
}

/* ==================================================
   Drawer (SP menu) - FULLSCREEN (Diagonal + Neon + Stagger)
================================================== */
.drawer {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 80;

    background:
        radial-gradient(900px 520px at 20% 10%, rgba(255, 46, 46, .22), transparent 55%),
        radial-gradient(1100px 620px at 90% 20%, rgba(255, 90, 90, .18), transparent 55%),
        rgba(0, 0, 0, .62);
    backdrop-filter: blur(12px);

    opacity: 0;
    transition: opacity .22s var(--ease);
}

.drawer.isOpen {
    opacity: 1;
}

.drawerPanel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    box-shadow: none;

    /* ガラス */
    background: rgba(255, 255, 255, .90);
    padding: 22px 18px 18px;

    display: flex;
    flex-direction: column;

    /* ★斜めスライド（左下→右上っぽく） */
    transform: translate3d(-26px, 26px, 0) skewY(-6deg);
    opacity: 0;
    transition: transform .36s var(--ease), opacity .28s var(--ease);
    will-change: transform, opacity;
}

.drawer.isOpen .drawerPanel {
    transform: translate3d(0, 0, 0) skewY(0deg);
    opacity: 1;
}

/* 上部 */
.drawerTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.drawerTop b {
    font-size: 13px;
    letter-spacing: .22em;
    font-weight: 1000;
}

/* ===== ネオンライン（上部に走る） ===== */
.drawerPanel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg,
            rgba(255, 46, 46, .0),
            rgba(255, 46, 46, .9),
            rgba(255, 90, 90, .35),
            rgba(255, 46, 46, .9),
            rgba(255, 46, 46, .0));
    box-shadow: 0 0 18px rgba(255, 46, 46, .55);
    transform: translateX(-40%);
    opacity: 0;
    pointer-events: none;
}

.drawer.isOpen .drawerPanel::before {
    opacity: 1;
    animation: neonLine 1.1s var(--ease) 1;
}

@keyframes neonLine {
    0% {
        transform: translateX(-60%);
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    100% {
        transform: translateX(60%);
        opacity: .9;
    }
}

/* リンク一覧 */
.drawerLinks {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ===== 各リンク：ネオン縁 + hover発光 ===== */
.drawerLink {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 14px;
    border-radius: 18px;

    border: 1px solid rgba(0, 0, 0, .10);
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);

    transition: transform .18s var(--ease), box-shadow .18s var(--ease);
    overflow: hidden;

    /* ★初期：順番表示用（隠す） */
    opacity: 0;
    transform: translate3d(-14px, 14px, 0) skewY(-4deg);
    filter: blur(2px);
    will-change: transform, opacity, filter;
}

/* ネオンの縁取り（薄） */
.drawerLink::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(90deg,
            rgba(255, 46, 46, .55),
            rgba(255, 90, 90, .20),
            rgba(255, 46, 46, .55));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: .35;
    pointer-events: none;
}

/* hoverで強発光 */
.drawerLink:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .12);
}

.drawerLink:hover::before {
    opacity: .75;
}

.drawerLink:hover::after {
    opacity: 1;
    transform: translateX(80%);
}

/* スキャン光 */
.drawerLink::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -30%;
    width: 55%;
    height: 180%;
    background: linear-gradient(90deg, transparent, rgba(255, 46, 46, .16), transparent);
    transform: translateX(-40%) rotate(18deg);
    opacity: 0;
    transition: transform .65s var(--ease), opacity .25s var(--ease);
    pointer-events: none;
}

.drawerLink span:first-child {
    font-weight: 1000;
    font-size: 16px;
}

.drawerLink .mini {
    font-size: 12px;
    color: rgba(0, 0, 0, .55);
    font-weight: 900;
}

/* ===== 開いた時に「順番表示」 ===== */
.drawer.isOpen .drawerLink {
    animation: drawerItemIn .55s var(--ease) both;
}

@keyframes drawerItemIn {
    0% {
        opacity: 0;
        transform: translate3d(-14px, 14px, 0) skewY(-4deg);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) skewY(0deg);
        filter: blur(0);
    }
}

/* 遅延（6個想定、増えてもOK） */
.drawer.isOpen .drawerLink:nth-child(1) {
    animation-delay: .08s;
}

.drawer.isOpen .drawerLink:nth-child(2) {
    animation-delay: .14s;
}

.drawer.isOpen .drawerLink:nth-child(3) {
    animation-delay: .20s;
}

.drawer.isOpen .drawerLink:nth-child(4) {
    animation-delay: .26s;
}

.drawer.isOpen .drawerLink:nth-child(5) {
    animation-delay: .32s;
}

.drawer.isOpen .drawerLink:nth-child(6) {
    animation-delay: .38s;
}

.drawer.isOpen .drawerLink:nth-child(7) {
    animation-delay: .44s;
}

.drawer.isOpen .drawerLink:nth-child(8) {
    animation-delay: .50s;
}

/* CTAエリア（任意） */
.drawerCtas {
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.drawerCtas .pillBtn {
    flex: 1;
    justify-content: center;
}

/* ==================================================
   eSports / Venture accent (Header neon + scan)
================================================== */
.capsuleHeader::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    padding: 2px;
    background: linear-gradient(90deg,
            rgba(255, 46, 46, .55),
            rgba(255, 90, 90, .25),
            rgba(255, 46, 46, .55));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: .6;
    pointer-events: none;
}

.capsuleHeader::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -30%;
    width: 60%;
    height: 220%;
    background: linear-gradient(90deg, transparent, rgba(255, 46, 46, .10), transparent);
    transform: rotate(18deg);
    animation: scan 6.5s var(--ease) infinite;
    pointer-events: none;
    opacity: .65;
}

@keyframes scan {

    0%,
    70% {
        transform: translateX(-40%) rotate(18deg);
        opacity: 0;
    }

    76% {
        opacity: .7;
    }

    100% {
        transform: translateX(260%) rotate(18deg);
        opacity: 0;
    }
}

/* ==================================================
   Main / Section
================================================== */
main {
    padding-top: 112px;
}

section.block {
    margin-top: 58px;
    background: var(--panel);
    padding: 70px 0;
    border-top: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
}

.blockHead {
    width: min(1320px, calc(100% - 56px));
    margin: 0 auto 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.blockHead h2 {
    margin: 0;
    font-size: 46px;
    font-weight: 1000;
}

.blockViewMore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #d9d9d9;
    background: #fff;
    font-weight: 1000;
    font-size: 13px;
    transition: .25s var(--ease);
}

.blockViewMore:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
}

/* ==================================================
   Hero (BASE ONLY)
================================================== */
.hero {
    width: min(1320px, calc(100% - 56px));
    margin: 0 auto;
    border-radius: var(--radius2);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #fff;
    overflow: hidden;
}

.heroSlider {
    position: relative;
    height: 560px;
    background: #111;
}

@media(max-width:980px) {
    .heroSlider {
        height: 420px;
    }
}

/* ==================================================
   NEWS / Shared Cards
================================================== */
.newsGrid2x2 {
    width: min(1320px, calc(100% - 56px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.newsCard {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: var(--radius2);
    padding: 18px;
    box-shadow: var(--shadow2);
    transition: .28s var(--ease);
    display: flex;
    flex-direction: column;
    min-height: 260px;
}

.newsCard:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .12);
}

.ncThumb {
    height: 140px;
    border-radius: 22px;
    overflow: hidden;
    background: #f6f6f6;
}

.ncThumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ncTop {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.ncTitle {
    font-size: 18px;
    font-weight: 1000;
    margin: 8px 0 0;
}

.ncDesc {
    font-size: 13px;
    color: #444;
    line-height: 2;
}

.ncBottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ncLink {
    font-size: 12px;
    font-weight: 1000;
}

/* ==================================================
   CTA
================================================== */
.cta {
    width: min(1320px, calc(100% - 56px));
    margin: 0 auto;
    border-radius: var(--radius2);
    border: 1px solid #e5e5e5;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 26px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==================================================
   Footer
================================================== */
footer {
    margin-top: 68px;
    padding: 54px 0 30px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.sitemap {
    width: min(1320px, calc(100% - 56px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.footBottom {
    width: min(1320px, calc(100% - 56px));
    margin: 22px auto 0;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

/* ==================================================
   Utility
================================================== */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: .7s var(--ease);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ==================================================
   Responsive
================================================== */
/* ===== SP/Tablet ===== */
@media(max-width:980px) {
    .nav {
        display: none !important;
    }

    .menuBtn {
        display: inline-flex !important;
    }

    .newsGrid2x2 {
        grid-template-columns: 1fr;
    }

    .sitemap {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== PC ===== */
@media(min-width:981px) {
    .menuBtn {
        display: none !important;
    }
}

/* ==================================================
   Mobile Header Fix
================================================== */
@media(max-width:520px) {
    .capsuleHeaderWrap {
        top: 10px;
    }

    .capsuleHeader {
        width: calc(100% - 20px);
        height: 64px;
        padding: 0 12px;
        gap: 10px;
    }

    .brand {
        gap: 10px;
    }

    .brand img {
        width: 50px;
        height: 50px;
    }

    .brand b {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 190px;
    }

    .brand span {
        display: none;
    }

    .headerRight {
        gap: 8px;
    }

    /* SP最小幅ではCTAを消して崩れ防止 */
    .headerRight .pillBtn {
        display: none;
    }
}

/* さらに狭い端末向け（320px級） */
@media(max-width:380px) {
    .brand b {
        max-width: 150px;
    }
}