/* =========================
   全体
========================= */
body{
        font-family: "Hiragino Mincho ProN", "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;
    }
}


/* =========================
   ヘッダー
========================= */
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;
    }
}


/* =========================
   戦績ページ
========================= */
/* =========================
   全体
========================= */
/* =========================
   主将ページ
========================= */

.captain-page {
    position: relative;
    min-height: 100vh;
    padding: 100px 8%;
    background:
        linear-gradient(rgba(5, 5, 10, 0.88),
        rgba(10, 10, 20, 0.92)),
        url("images/captain.jpg") center/cover no-repeat;
    
    overflow: hidden;
}

/* 背景ぼかし */
.captain-page::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(8px);
    z-index: 0;
}

/* 背景英字 */
.captain-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    font-size: 180px;
    font-weight: bold;
    letter-spacing: 15px;

    color: rgba(255,255,255,0.03);

    z-index: 0;
    pointer-events: none;
}

/* =========================
   レイアウト
========================= */

.captain-hero {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;

    max-width: 1300px;
    margin: 0 auto;
}

/* =========================
   画像
========================= */

.captain-image {
    flex: 1;
    opacity: 0;
    transform: translateX(-50px);
}

.captain-image img {
    width: 100%;
    max-width: 500px;

    border-radius: 25px;

    box-shadow:
        0 20px 50px rgba(0,0,0,0.5),
        0 0 40px rgba(138, 43, 226, 0.15);

    transition: 0.5s;
}

/* ホバー */
.captain-image img:hover {
    transform: scale(1.02);
}

/* =========================
   文章
========================= */

.captain-content {
    flex: 1;
    color: #fff;

    opacity: 0;
    transform: translateX(50px);
}

/* 主将 */
.captain-role {
    color: #c8a8ff;
    letter-spacing: 4px;
    font-size: 14px;
    margin-bottom: 15px;
}

/* 名前 */
.captain-content h2 {
    font-size: 52px;
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.3;
}

/* 線 */
.captain-line {
    width: 120px;
    height: 2px;

    background: linear-gradient(to right, #8f5fff, transparent);

    margin-bottom: 35px;
}

/* 本文 */
.captain-message {
    line-height: 2.3;
    color: #ddd;
    font-size: 16px;

    background: rgba(255,255,255,0.04);

    padding: 35px;
    border-radius: 20px;

    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(10px);
}

/* =========================
   アニメーション
========================= */

.fade-left.show {
    animation: fadeLeft 1.3s ease forwards;
}

.fade-right.show {
    animation: fadeRight 1.3s ease forwards;
}

@keyframes fadeLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =========================
   スマホ
========================= */

@media (max-width: 900px) {

    .captain-hero {
        flex-direction: column;
        gap: 50px;
    }

    .captain-bg-text {
        font-size: 80px;
    }

    .captain-content h2 {
        font-size: 36px;
        text-align: center;
    }

    .captain-role {
        text-align: center;
    }

    .captain-line {
        margin: 0 auto 30px;
    }

    .captain-message {
        font-size: 15px;
        line-height: 2;
    }

    .captain-image img {
        max-width: 100%;
    }
}

/* =========================
   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;
}

