@charset "UTF-8";

/* ==========================================================================
   1. ベース・リセット設定（全ページ共通）
   ========================================================================= */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    color: #e0e0e0;
    background: #060606; /* 深い闇の黒背景で統一 */
    margin: 0;
    padding: 0;
    line-height: 1.8;
    letter-spacing: 0.06em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* スマホでの予期せぬ横揺れを完全にシャットアウト */
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
    width: min(1200px, 92%); /* スマホでの左右の余白を程よくキープ */
    margin: 0 auto;
}

.section {
    padding: clamp(80px, 10vw, 140px) 0; /* 画面幅に応じて余白を最適化 */
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   2. ヘッダー構造（新旧HTMLの両方をスマホでも崩さないハイブリッド指定）
   ========================================================================= */
header, .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(3, 3, 3, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 202, 40, 0.3);
    box-shadow: 0 0 20px rgba(255, 202, 40, 0.15);
}

/* パターンA：Topページ構造用インナー */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}
.site-title {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    white-space: nowrap;
}
.header-menu {
    display: flex;
    gap: clamp(15px, 3vw, 40px);
}
.header-menu a {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 8px 0;
}
.header-menu a:hover, .header-menu a.active {
    color: #ffca28;
    text-shadow: 0 0 12px #ffca28;
}

/* パターンB：下層ページ（Profile等）の元のHTML構造用 */
header .container.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}
header .container.flex > div {
    display: flex;
    flex-direction: column;
}
header .container.flex p {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    line-height: 1.2;
}
.logo {
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 10px #ffca28, 0 0 30px rgba(255, 179, 0, 0.4);
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    margin-top: 2px;
}
.header_menu {
    display: flex;
    gap: clamp(15px, 3vw, 40px);
}
.header_menu a {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 8px 0;
}
.header_menu a:hover {
    color: #ffca28;
    text-shadow: 0 0 12px #ffca28;
}

/* ==========================================================================
   3. ヒーロー＆背景演出（Topページ主体の演出設定）
   ========================================================================= */
#hero, #indiv-hero {
    position: relative;
    padding-top: 80px;
}
.hero-swiper {
    width: 100%;
    height: clamp(50vh, 80vh, 100vh);
}
.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35) contrast(1.1);
}
.hero-inner {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 90%;
    text-align: center;
}
.hero-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    font-weight: 500;
    letter-spacing: 0.25em;
    color: #ffca28;
    text-shadow: 0 0 12px #ffca28;
    margin-bottom: 16px;
    animation: topHeroFadeIn 1.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-logo {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(2.6rem, 10vw, 6.8rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 15px #ffca28, 0 0 40px rgba(255, 179, 0, 0.4);
    letter-spacing: 0.12em;
    line-height: 1.2;
    opacity: 0;
    transform: translate3d(0, 15px, 0);
    animation: topHeroFadeIn 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes topHeroFadeIn {
    0% {
        opacity: 0;
        transform: translate3d(0, 15px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.bg-scrolling-text {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 200%;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
}
.bg-scrolling-text span {
    display: inline-block;
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(4rem, 15vw, 11rem);
    font-weight: 700;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 202, 40, 0.035);
    animation: marquee infinite linear 35s;
}
@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* 主将メッセージ */
.chief-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: clamp(30px, 5vw, 50px);
    background: #111111;
    padding: clamp(24px, 5vw, 50px);
    border-radius: 16px;
    border: 1px solid rgba(255, 202, 40, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
.chief-photo img {
    border-radius: 8px;
    filter: contrast(1.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.chief-role {
    font-family: 'Orbitron', sans-serif;
    color: #ffca28;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}
.chief-name {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}
.chief-message {
    font-size: clamp(1.05rem, 3.5vw, 1.25rem);
    font-weight: 700;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 3px solid #ffca28;
}
.chief-text {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin-bottom: 16px;
    text-align: justify;
}

/* ==========================================================================
   4. 見出し & 共通パーツ（下層ページ用）
   ========================================================================= */
.section-heading {
    text-align: center;
    margin-bottom: clamp(40px, 8vw, 60px);
}
.section-en {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffca28;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.section-title, .subsection-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.08em;
}

#hero:not(.hero-swiper), #indiv-hero {
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 40px;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.6), #060606);
}
#hero:not(.hero-swiper) .hero_inner, #indiv-hero .container {
    width: 90%;
}
#hero:not(.hero-swiper) h1 {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 12px #ffca28;
    letter-spacing: 0.05em;
    line-height: 1.3;
}
#hero:not(.hero-swiper) p {
    font-family: 'Orbitron', sans-serif;
    color: #ffca28;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

/* ==========================================================================
   5. 個人プロフィール（他ページへの影響0%）
   ========================================================================= */
.profile-table-wrapper {
    background: #111111;
    padding: clamp(16px, 3vw, 24px);
    border-radius: 12px;
    border: 1px solid rgba(255, 202, 40, 0.15);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 40px;
}
.profile-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 500px;
}
.profile-table th {
    padding: 12px 10px;
    color: #ffca28;
    font-weight: 700;
    border-bottom: 2px solid #ffca28;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    white-space: nowrap;
}
.profile-table td {
    padding: 14px 10px;
    color: #cccccc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
    white-space: nowrap;
}
.profile-table td a {
    color: #ffca28;
    text-decoration: underline;
}
.profile-top {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: clamp(40px, 6vw, 70px);
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 80px;
}
.profile-image {
    width: 100%;
    height: auto;
    aspect-ratio: auto; /* 3 / 4 から auto に変更：画像の比率に自動で合わせる */
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    border: 1px solid rgba(255, 202, 40, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 202, 40, 0.15);
}
.profile-image img {
    width: 100%;
    height: auto; /* 100% から auto に変更：歪みやトリミングを防ぐ */
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.profile-image:hover img {
    transform: scale(1.04);
}
.profile-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.profile-roman {
    font-family: 'Orbitron', sans-serif;
    color: #ffca28;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    letter-spacing: 0.25em;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
}
.profile-info h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.2;
    letter-spacing: 0.05em;
}
.profile-tag {
    display: inline-block;
    padding: 6px 18px;
    background: transparent;
    color: #ffca28;
    border: 1px solid #ffca28;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 28px;
    box-shadow: 0 0 10px rgba(255, 202, 40, 0.2);
}
.profile-card {
    background: #121212;
    padding: clamp(24px, 4vw, 36px);
    border-radius: 14px;
    border: 1px solid rgba(255, 202, 40, 0.2);
    border-left: 4px solid #ffca28;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    box-sizing: border-box;
}
.profile-card p {
    margin: 0 0 14px;
    line-height: 1.9;
    font-size: 0.95rem;
    color: #d8d8d8;
}
.profile-card p:last-child {
    margin-bottom: 0;
}
.best-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    width: 100%;
}
.best-card {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 3px solid rgba(255, 202, 40, 0.3);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.best-card:hover {
    transform: translateY(-5px);
    background: #151515;
    border-bottom-color: #ffca28;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 202, 40, 0.25);
}
.best-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: #999999;
    margin: 0 0 10px;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.best-card p {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 700;
    color: #ffca28;
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 202, 40, 0.3);
}

/* アスリートプロフィール */
.athlete-profile {
    background: linear-gradient(135deg, #111111 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 202, 40, 0.15);
    border-radius: 16px;
    padding: clamp(24px, 5vw, 45px);
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    margin-top: 40px;
}
.athlete-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffca28, transparent);
}
.athlete-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(20px, 3vw, 32px);
    position: relative;
    z-index: 2;
}
.athlete-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
    transition: border-color 0.3s ease;
}
.athlete-item:hover {
    border-bottom-color: rgba(255, 202, 40, 0.4);
}
.athlete-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffca28;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.athlete-label::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #ffca28;
    box-shadow: 0 0 6px #ffca28;
}
.athlete-value {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
}

/* ==========================================================================
   6. History（共通タイムライン）
   ========================================================================= */
.timeline {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.history-button {
    display: block;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: clamp(20px, 4vw, 28px);
    border-radius: 12px;
}
.history-button:hover {
    border-color: #ffca28;
    box-shadow: 0 0 20px rgba(255, 202, 40, 0.18);
    transform: translateY(-2px);
}
.history-year {
    font-family: 'Orbitron', sans-serif;
    color: #ffca28;
    font-size: 0.95rem;
    font-weight: 800;
}
.history-team {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 700;
    color: #ffffff;
    margin: 2px 0 6px;
}
.history-sub {
    color: #999999;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* 過去スローガン個別ページカラー特化 */
body.ALL-IN-Back, body.Next-Back, body.Everest-Back, body.update-Back {
    background: #060606;
}
.history-team-card {
    background: #111111;
    border-radius: 16px;
    padding: clamp(24px, 4vw, 40px);
    margin-top: clamp(24px, 5vw, 40px);
    border: 1px solid rgba(255, 202, 40, 0.15);
}
.history-team-card p {
    margin-bottom: 16px;
    color: #d8d8d8;
}
.history-team-card p:last-child {
    margin-bottom: 0;
}

/* 🟥 ALL-IN専用：レッドカスタム */
body.ALL-IN-Back #hero:not(.hero-swiper) h1 {
    color: #ff3333 !important;
    text-shadow: 0 0 15px rgba(255, 51, 51, 0.6) !important;
}
body.ALL-IN-Back #hero:not(.hero-swiper) p {
    color: #ff5555 !important;
}
body.ALL-IN-Back .history-team-card {
    border-color: rgba(255, 51, 51, 0.3) !important;
    box-shadow: 0 15px 35px rgba(255, 51, 51, 0.05) !important;
}
.ALL-IN-line {
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(255, 51, 51, 0.35) !important;
    border: 1px solid rgba(255, 51, 51, 0.5) !important;
}

/* 🟦 Next専用：水色（シアン）カスタム */
body.Next-Back #hero:not(.hero-swiper) h1 {
    color: #00e5ff !important;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.6) !important;
}
body.Next-Back #hero:not(.hero-swiper) p {
    color: #80f3ff !important;
}
body.Next-Back .history-team-card {
    border-color: rgba(0, 229, 255, 0.3) !important;
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.05) !important;
}
.Next-line {
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.35) !important;
    border: 1px solid rgba(0, 229, 255, 0.5) !important;
}

/* 🟪 Everest専用：ディープブルーカスタム */
body.Everest-Back #hero:not(.hero-swiper) h1 {
    color: #2979ff !important;
    text-shadow: 0 0 15px rgba(41, 121, 255, 0.6) !important;
}
body.Everest-Back #hero:not(.hero-swiper) p {
    color: #82b1ff !important;
}
body.Everest-Back .history-team-card {
    border-color: rgba(41, 121, 255, 0.3) !important;
    box-shadow: 0 15px 35px rgba(41, 121, 255, 0.05) !important;
}
.Everest-line {
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(41, 121, 255, 0.35) !important;
    border: 1px solid rgba(41, 121, 255, 0.5) !important;
}

/* 🟨 update専用：背景ほぼ white ライトグレー・文字青・ふち黄色カスタム */
body.update-Back {
    background: #f4f5f7 !important;
}
body.update-Back #hero:not(.hero-swiper) {
    background: linear-gradient(to bottom, rgba(244, 245, 247, 0.5), #f4f5f7) !important;
}
body.update-Back #hero:not(.hero-swiper) h1 {
    color: #0055ff !important;
    text-shadow: 0 2px 10px rgba(0, 85, 255, 0.15) !important;
}
body.update-Back #hero:not(.hero-swiper) p {
    color: #0044cc !important;
}
body.update-Back .history-team-card {
    background: #ffffff !important;
    border: 2px solid #ffca28 !important;
    box-shadow: 0 10px 30px rgba(255, 202, 40, 0.1) !important;
}
body.update-Back .history-team-card p {
    color: #333333 !important;
}
body.update-Back .section-en,
body.update-Back .history-year {
    color: #0055ff !important;
}
.update-line {
    border-radius: 12px;
    border: 2px solid #ffca28 !important;
    box-shadow: 0 10px 25px rgba(255, 202, 40, 0.15) !important;
}

/* ==========================================================================
   7. Info (サイト情報)
   ========================================================================= */
.info-card {
    background: #111111;
    border: 1px solid rgba(255, 202, 40, 0.15);
    border-radius: 16px;
    padding: clamp(24px, 5vw, 40px);
    max-width: 750px;
    margin: 0 auto;
}
.info-list .info-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.info-list dt {
    font-weight: 700;
    color: #ffca28;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
}
.info-list dd {
    color: #fff;
    font-size: 0.95rem;
}
.sns-links {
    display: flex;
    gap: 16px;
}
.sns-links a {
    font-size: 1.8rem;
    color: #cccccc;
}
.sns-links a:hover {
    color: #ffca28;
    text-shadow: 0 0 10px #ffca28;
}

/* ==========================================================================
   8. フッター
   ========================================================================= */
footer, .site-footer {
    background: #020202;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 202, 40, 0.15);
    position: relative;
    z-index: 10;
}
.footer-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}

/* ==========================================================================
   9. スマートフォン縦画面（モバイル）用完全最適化
   ========================================================================= */
@media screen and (max-width: 960px) {
    .profile-top {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .profile-image {
        max-width: 280px;
        margin: 0 auto;
    }
    .profile-info {
        align-items: center;
        width: 100%;
    }
    .profile-tag {
        margin-bottom: 20px;
    }
    .chief-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .chief-photo {
        max-width: 280px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .header-inner, header .container.flex {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding: 14px 0;
    }
    .header-menu, .header_menu {
        gap: 18px;
        width: 100%;
        justify-content: center;
    }
    .site-title {
        font-size: 0.8rem;
    }
    .logo {
        font-size: 1.15rem;
        text-align: center;
    }
    .info-list .info-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 12px 0;
    }
    .top-team-photo br {
        display: none;
    }
    .top-team-photo {
        padding-top: 20px;
    }
    .best-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .athlete-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 16px;
    }
}