/* =========================
   全体
========================= */

/* =========================
   ローディング
========================= */

#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;
    }
}


/* =========================
   ヘッダー
========================= */
h1 {
    background-color: #481d6e;
    color: #fff;
    padding: 30px;
    text-align: center;
}

.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);
}
/* =========================
   ハンバーガー
========================= */

.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;
    }
}


/* =========================
   戦績ページ
========================= */
/* =========================
   全体
========================= */

body {
    margin: 0;
    background: #615555;
    color: #fff;
    font-family: "YuMincho", serif;
}

.record-page {
    position: relative;
    overflow: hidden;
}

/* 背景ロゴ */

.record-page::before {
    content: "";
    position: fixed;
    inset: 0;

    background:
        linear-gradient(rgba(0,0,0,0.88), rgba(0,0,0,0.92)),
        url("images/kannkannsenn rogo.png")
        center/contain no-repeat;

    opacity: 0.08;

    z-index: -1;
}

/* =========================
   タイトル
========================= */

.record-hero {
    text-align: center;
    padding: 140px 20px 100px;
}

.record-sub {
    letter-spacing: 6px;
    color: #888;
    margin-bottom: 20px;
}

.record-hero h1 {
    font-size: 72px;
    font-weight: 300;
    letter-spacing: 10px;

    margin: 0;

    text-shadow:
        0 0 20px rgba(255,255,255,0.08);
}

/* =========================
   各年
========================= */

.record-section {
    display: flex;
    gap: 60px;

    max-width: 1100px;
    margin: 0 auto 140px;

    padding: 0 20px;
}

/* 年 */

.year-side {
    min-width: 120px;
}

.year-side span {
    font-size: 80px;
    color: rgba(255,255,255,0.12);
    font-weight: bold;
    line-height: 1;
}

/* 本文 */

.record-content {
    flex: 1;

    border-left: 1px solid rgba(255,255,255,0.1);

    padding-left: 40px;
}

.record-content h2 {
    font-size: 42px;
    font-weight: 300;

    margin-bottom: 30px;

    border: none;
    padding: 0;
}

.record-text {
    color: #bbb;
    line-height: 2.2;

    margin-bottom: 50px;
}

/* =========================
   スコア
========================= */

.score-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.score-line {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 0;

    border-bottom: 1px solid rgba(255,255,255,0.08);

    transition: 0.4s ease;
}

.score-line:hover {
    transform: translateX(10px);
}

/* 点数 */

.score-line strong {
    font-size: 28px;
    letter-spacing: 3px;
}

/* 勝敗 */

.win {
    color: #d4af37;
    letter-spacing: 2px;
}

.lose {
    color: #7f8fa6;
    letter-spacing: 2px;
}

/* 勝った年 */

.win-year h2 {
    color: #f5d36c;
}

/* 負けた年 */

.lose-year h2 {
    color: #f2f2f2;
}

/* =========================
   フェード
========================= */

.fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: 1s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   スマホ
========================= */

@media (max-width: 768px) {

    .record-hero h1 {
        font-size: 42px;
        letter-spacing: 4px;
    }

    .record-section {
        flex-direction: column;
        gap: 20px;

        margin-bottom: 100px;
    }

    .year-side span {
        font-size: 52px;
    }

    .record-content {
        padding-left: 20px;
    }

    .record-content h2 {
        font-size: 28px;
    }

    .score-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .score-line strong {
        font-size: 22px;
    }
}

/* =========================
   SNS
========================= */

.social-section {

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;

    padding: 70px 20px;
}

/* 丸 */

.social-link {

    width: 65px;
    height: 65px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    text-decoration: none;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(10px);

    transition: 0.4s ease;
}

/* アイコン */

.social-link i {

    font-size: 30px;
    color: rgba(255,255,255,0.85);

    transition: 0.4s ease;
}

/* ホバー */

.social-link:hover {

    transform:
        translateY(-8px)
        scale(1.08);

    background:
        rgba(140,90,255,0.18);

    box-shadow:
        0 0 25px rgba(140,90,255,0.45);
}

.social-link:hover i {

    color: #fff;

    text-shadow:
        0 0 12px rgba(255,255,255,0.8);
}

/* スマホ */

@media (max-width: 768px) {

    .social-section {
        gap: 20px;
    }

    .social-link {

        width: 54px;
        height: 54px;
    }

    .social-link i {

        font-size: 24px;
    }
}
footer {
    background-color: rgb(116, 34, 136);
    color: #fff;
    text-align: center;
    padding: 10px;
}

