/* =========================
   ローディング
========================= */
body {
    font-family: "YuMincho", serif;
}

#loading {
    position: fixed;
    inset: 0;
    background: #0d0d0d;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-text {
    color: #fff;
    font-size: 24px;
    letter-spacing: 3px;
    animation: loadingFade 1.5s infinite;
}

@keyframes loadingFade {
    0%,100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}


/* =========================
   ヘッダー
========================= */

.header {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1000;
    /* 他の要素より前に出す */
}

.header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 10px;
}

.nav li {
    margin-right: 20px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

nav ul li {
    display: inline-grid;
    margin: 3px 15px;
}

nav ul li a {
    color: #481d6e;
    text-decoration: none;
    font-weight: bold;
}
.nav-btn {
    display: inline-grid;
    padding: 8px 16px;
    color: #852b7d;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: #cf4014;
    color: #fff;
    transform: translateY(-3px);
}

.nav-btn:active {
    transform: translateY(0);
}

h1 {
    background-color: #481d6e;
    color: #fff;
    padding: 30px;
    text-align: center;
}


/* =========================
   ハンバーガー
========================= */

.hamburger {
    display: none;

    background: none;
    border: none;

    color: #fff;
    font-size: 28px;

    cursor: pointer;
}
/* スマホ用 */
@media (max-width: 768px) {

    /* ハンバーガー表示 */
    .hamburger {
        display: block;
        margin: 10px;
    }

    /* メニュー隠す */
    .nav ul {
        display: none;
        flex-direction: column;
        background: #fff;
    }

    /* 開いたとき */
    .nav ul.active {
        display: flex;
    }

    .nav li {
        margin: 10px 0;
        text-align: center;
    }
}
/* =========================
   関関戦とはページ
========================= */

.history-page {
    position: relative;
    min-height: 100vh;

    padding: 120px 20px;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(5, 5, 10, 0.88),
            rgba(10, 10, 20, 0.92)
        ),
        url("images/LINE_ALBUM_関西選手権_260421_2.jpg")
        center/cover no-repeat;

    color: #fff;
}

/* 背景ぼかし */
.history-page::before {
    content: "";
    position: absolute;
    inset: 0;

    backdrop-filter: blur(5px);

    z-index: 0;
}

/* =========================
   背景英字
========================= */

.history-bg {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    font-size: 180px;
    font-weight: bold;

    letter-spacing: 20px;

    color: rgba(255,255,255,0.03);

    z-index: 0;

    pointer-events: none;
}

/* =========================
   前面
========================= */

.history-hero,
.history-content,
.history-number {
    position: relative;
    z-index: 1;
}

/* =========================
   タイトル
========================= */

.history-hero {
    text-align: center;
    margin-bottom: 100px;
}

.history-sub {
    color: #c6a8ff;

    letter-spacing: 5px;

    margin-bottom: 20px;

    font-size: 14px;
}

.history-hero h2 {
    font-size: 70px;
    margin-bottom: 30px;

    letter-spacing: 6px;
}

/* 線 */
.history-line {
    width: 140px;
    height: 2px;

    margin: 0 auto;

    background:
        linear-gradient(
            to right,
            transparent,
            #9f7bff,
            transparent
        );
}

/* =========================
   本文
========================= */

.history-content {
    max-width: 900px;

    margin: 0 auto 120px;

    text-align: center;
}

.history-content p {

    font-size: 22px;

    line-height: 2.5;

    margin-bottom: 60px;

    color: #f1f1f1;

    background: rgba(255,255,255,0.05);

    padding: 50px;

    border-radius: 25px;

    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(10px);

    box-shadow:
        0 10px 40px rgba(0,0,0,0.4);

    transition: 0.4s;
}

/* ホバー */
.history-content p:hover {

    transform: translateY(-5px);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.5);
}

/* =========================
   数字演出
========================= */

.history-number {
    text-align: center;
}

/* 数字 */
.number-box {
    display: flex;

    align-items: flex-start;
    justify-content: center;

    margin-bottom: 10px;
}

.big-number {

    font-size: 180px;
    font-weight: bold;

    line-height: 1;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #a77dff
        );

    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 0 40px rgba(167,125,255,0.3);
}

/* th */
.small-text {

    font-size: 40px;

    margin-top: 25px;

    color: #c9b4ff;
}

.history-number p {

    letter-spacing: 10px;

    color: #aaa;

    font-size: 18px;
}

/* =========================
   アニメーション
========================= */

.fade-up {
    opacity: 0;
    transform: translateY(50px);
}

.fade-in {
    opacity: 0;
}

.fade-up.show {
    animation: fadeUp 1.4s ease forwards;
}

.fade-in.show {
    animation: fadeIn 2s ease forwards;
}

@keyframes fadeUp {

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes fadeIn {

    to {
        opacity: 1;
    }

}

/* =========================
   スマホ
========================= */

@media (max-width: 768px) {

    .history-bg {
        font-size: 70px;
        letter-spacing: 8px;
    }

    .history-hero h2 {
        font-size: 42px;
    }

    .history-content p {

        font-size: 16px;

        padding: 30px;

        line-height: 2.2;
    }

    .big-number {
        font-size: 100px;
    }

    .small-text {
        font-size: 24px;
        margin-top: 12px;
    }

}


footer {
    background-color: rgb(116, 34, 136);
    color: #fff;
    text-align: center;
    padding: 10px;
}

