/* ================================
   リセットCSS
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================================
   CSS変数（YAMAHAカラーパレット）
================================ */
:root {
    --primary-blue: #0E5FD8;  /* YAMAHAブルー */
    --secondary-blue: #1976D2;  /* 明るいブルー */
    --dark-blue: #0D47A1;  /* 濃いブルー */
    --white: #ffffff;
    --light-gray: #f8f8f8;
    --gray: #666666;
    --dark-bg: #0a0a0a;
    --gradient-blue: linear-gradient(135deg, #0E5FD8 0%, #1976D2 100%);
    --shadow-light: 0 4px 20px rgba(14, 95, 216, 0.2);
    --shadow-dark: 0 8px 40px rgba(0, 0, 0, 0.3);
}

/* ================================
   基本スタイル
================================ */
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--white);
    color: #333;
    overflow-x: hidden;
    line-height: 1.8;
}

/* スクロールバーのカスタマイズ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-blue);
}

/* ================================
   ヘッダー
================================ */
header {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 1000 !important;
    height: 80px !important;
    min-height: 80px !important;
    max-height: 80px !important;
    padding: 0 !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    transition: none !important;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem !important;
    height: 80px !important;
}

/* ロゴのスタイル */
.logo-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 55px;
    width: auto;
    display: block;
    margin-top: 5px;
}

/* ナビゲーション */
nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-blue);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--primary-blue);
}

nav a:hover::after {
    width: 100%;
}

/* ハンバーガーメニュー */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: #333;
    margin: 4px 0;
    transition: 0.3s;
}

/* ================================
   メインビジュアル（ヒーロー）
================================ */
.hero {
    margin-top: 80px;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 80vh;
    min-height: 600px;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-image .particle-container {
    z-index: 3 !important;
}

.hero-image .vertical-text-wrapper {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
    margin: 0 !important;
    z-index: 4 !important;
}

.hero-content {
    background: var(--white);
    color: #333;
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.9;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* ================================
   共通レイアウト
================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-section {
    margin-bottom: 5rem;
}

/* ================================
   セクションタイトル
================================ */
.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary-blue);
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    text-align: center;
}

.section-title span {
    position: relative;
    display: inline-block;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    z-index: 2;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(150px, 40vw, 300px);
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(14, 95, 216, 0.3) 20%,
        rgba(14, 95, 216, 0.8) 50%,
        rgba(14, 95, 216, 0.3) 80%,
        transparent 100%
    );
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 
        0 0 0 3px rgba(14, 95, 216, 0.3),
        0 0 20px rgba(14, 95, 216, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

/* ================================
   メインコンテンツ
================================ */
.main-content {
    background: var(--light-gray);
    color: #333;
    padding: 5rem 0;
    position: relative;
}

/* ================================
   ニュースセクション
================================ */
.news-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 2.5rem 0;
    display: flex;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: flex-start;
    transition: all 0.3s ease;
    position: relative;
}

.news-item:hover {
    padding-left: 1rem;
    background: linear-gradient(to right, rgba(14, 95, 216, 0.05) 0%, transparent 100%);
}

.news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.news-item:hover::before {
    transform: scaleY(1);
}

.news-date {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary-blue);
    line-height: 1;
    min-width: clamp(80px, 15vw, 100px);
    position: relative;
}

.news-content h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 0.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.news-item:hover .news-content h3 {
    color: var(--primary-blue);
}

.news-content p {
    color: var(--gray);
    line-height: 1.8;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* ================================
   ギャラリーセクション
================================ */
.gallery-section {
    background: var(--white);
    padding: clamp(3rem, 8vw, 5rem) 0;
    position: relative;
}

/* タブナビゲーション */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-tab {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: clamp(0.5rem, 1.5vw, 0.8rem) clamp(1.5rem, 3vw, 2rem);
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gallery-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    transition: left 0.3s ease;
    z-index: -1;
}

.gallery-tab:hover,
.gallery-tab.active {
    color: var(--white);
    border-color: var(--primary-blue);
}

.gallery-tab:hover::before,
.gallery-tab.active::before {
    left: 0;
}

/* ギャラリーグリッド */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(1rem, 2vw, 2rem);
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 16/12;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* オーバーレイ */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    color: var(--white);
    padding: clamp(1.5rem, 3vw, 2rem);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.gallery-overlay p {
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    opacity: 0.8;
}

/* もっと見るボタン */
.gallery-more {
    text-align: center;
    margin-top: 3rem;
}

.btn-more {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: clamp(0.8rem, 2vw, 1rem) clamp(2rem, 4vw, 3rem);
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.btn-more::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 150%;
    height: 150%;
    background: var(--gradient-blue);
    border-radius: 50%;
    transition: transform 0.5s ease;
    z-index: -1;
}

.btn-more:hover {
    color: var(--white);
    border-color: transparent;
}

.btn-more:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

/* ライトボックス風エフェクト */
.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 3rem;
    color: var(--white);
    background: rgba(14, 95, 216, 0.8);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

/* ================================
   チーム情報セクション
================================ */
.team-info {
    background: linear-gradient(to bottom, #ffffff 0%, #f0f4f8 100%);
    padding: clamp(3rem, 8vw, 5rem) 0;
    position: relative;
    color: #333;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-top: 3rem;
}

.team-card {
    background: var(--white);
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.team-card:hover::before {
    transform: translateX(0);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(14, 95, 216, 0.2);
}

.card-number {
    position: absolute;
    top: clamp(-15px, -3vw, -20px);
    right: clamp(15px, 3vw, 20px);
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 10vw, 6rem);
    color: rgba(14, 95, 216, 0.1);
    font-weight: 700;
    z-index: 1;
    pointer-events: none;
}

.team-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: var(--primary-blue);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.team-card p {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    line-height: 1.8;
    color: #333;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.team-card strong {
    color: #333;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 700;
}

/* ================================
   スポンサーセクション
================================ */
.sponsors-section {
    background: 
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(180deg, #0a0a0a 0%, #000000 50%, #0a0a0a 100%);
    background-size: 20px 20px, 100% 100%;
    color: var(--white);
    padding: clamp(3rem, 8vw, 5rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sponsors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/flag.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.5);
    z-index: 1;
}

.sponsors-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.8) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
}

.sponsors-section .container {
    position: relative;
    z-index: 3;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-top: 3rem;
}

.sponsor-item {
    background: rgba(255, 255, 255, 0.05);
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sponsor-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(14, 95, 216, 0.3) 0%, transparent 70%);
    transition: all 0.5s ease;
}

.sponsor-item:hover::before {
    width: 300px;
    height: 300px;
}

.sponsor-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(14, 95, 216, 0.3);
}

.sponsor-icon {
    font-size: clamp(2.5rem, 5vw, 3rem);
    margin-bottom: 1rem;
    filter: none !important;
    display: block;
}

.sponsor-item h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.sponsor-item p {
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    opacity: 0.8;
}

.sponsor-message {
    margin-top: 3rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
    opacity: 0.9;
}

/* メインスポンサー */
.sponsors-main {
    margin-bottom: 60px;
}

.sponsor-category {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--white);
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.sponsor-grid-main {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.sponsor-item-main {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo-main {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none !important;
    opacity: 1 !important;
}

/* テクニカルパートナー */
.tech-partners-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 180px));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto 3rem;
    justify-content: center;
    justify-items: center;
}

.tech-partners-grid .sponsor-item {
    width: 100%;
    max-width: 180px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* サプライヤー */
.suppliers-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1rem, 2vw, 2rem);
    margin-top: 2rem;
}

.supplier-item {
    background: rgba(255, 255, 255, 0.05);
    padding: clamp(0.5rem, 1vw, 0.8rem) clamp(1rem, 2vw, 1.5rem);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: clamp(0.8rem, 1.6vw, 0.9rem);
    transition: all 0.3s ease;
}

.supplier-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* ================================
   コンタクトセクション
================================ */
.contact-section {
    background: linear-gradient(to bottom, #fff 0%, #f0f4f8 100%);
    padding: clamp(3rem, 8vw, 5rem) 0;
    text-align: center;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin: 2rem 0 3rem;
    color: #333;
    padding: 0 1rem;
}

.contact-email {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--primary-blue);
    text-decoration: none;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-email::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    transition: left 0.3s ease;
    z-index: -1;
}

.contact-email:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(14, 95, 216, 0.3);
}

.contact-email:hover::before {
    left: 0;
}

.email-icon {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

/* ================================
   フッター
================================ */
footer {
    background: linear-gradient(to bottom, #0a0a0a 0%, #000000 100%);
    padding: 0;
    color: var(--gray);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-blue);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    justify-content: flex-start;
}

.footer-logo-img {
    height: clamp(40px, 8vw, 60px);
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 1;
}

.footer-social {
    text-align: center;
}

.footer-social h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-blue);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 2vw, 1.5rem);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(40px, 8vw, 50px);
    height: clamp(40px, 8vw, 50px);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.social-icon svg {
    width: 60%;
    height: 60%;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    border-radius: 50%;
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-icon:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(14, 95, 216, 0.3);
}

.social-icon:hover::before {
    transform: translate(-50%, -50%) scale(1.2);
}

/* SNS別のホバーカラー */
.social-icon.twitter:hover {
    background: #000000;
    border-color: #000000;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
}

.social-icon.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-icon.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.footer-copyright {
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    color: rgba(255, 255, 255, 0.5);
    margin: 2rem 0 0 0;
    text-align: center;
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-logo-link:hover {
    transform: translateY(-3px);
}

.footer-logo-link:hover .footer-logo-img {
    opacity: 1;
}

/* ================================
   ライトボックス
================================ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

.lightbox.active {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: var(--dark-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-content img {
    width: 100%;
    height: auto;
    display: block;
}

.lightbox-content p {
    padding: 1rem;
    text-align: center;
    color: var(--white);
    background: rgba(0, 0, 0, 0.8);
    margin: 0;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--primary-blue);
    transform: rotate(90deg);
}

/* ================================
   アニメーション
================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 
            0 0 0 3px rgba(14, 95, 216, 0.3),
            0 0 20px rgba(14, 95, 216, 0.5);
    }
    50% {
        transform: translateX(-50%) scale(1.2);
        box-shadow: 
            0 0 0 5px rgba(14, 95, 216, 0.2),
            0 0 30px rgba(14, 95, 216, 0.7);
    }
}

.fade-in {
    opacity: 1 !important;
    animation: none !important;
}

.fade-in.visible {
    opacity: 1 !important;
    animation: fadeInUp 0.8s ease forwards;
}

/* ================================
   レスポンシブデザイン
================================ */
@media (max-width: 768px) {
    header {
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        z-index: 1000 !important;
    }
    
    .header-container {
        height: 60px !important;
        padding: 0 1.5rem !important;
    }
    
    .hero {
        margin-top: 60px;
    }
    
    nav ul {
        display: none !important;
        position: fixed !important;
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.98) !important;
        flex-direction: column !important;
        padding: 2rem !important;
        gap: 1.5rem !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
        z-index: 999 !important;
    }
    
    nav ul.active {
        display: flex !important;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }
    
    nav ul li {
        text-align: center;
    }
    
    nav ul a {
        display: block;
        padding: 0.5rem 0;
        color: #333;
    }
    
    .hero-image {
        height: 60vh;
        min-height: 400px;
    }
    
    .news-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .news-item:hover {
        padding-left: 0.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .sponsor-grid-main {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tech-partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 500px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    }
    
    .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    }
    
    .gallery-item::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .sponsor-grid-main {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .tech-partners-grid .sponsor-item {
        padding: 1rem 0.5rem;
    }
    
    .gallery-tabs {
        gap: 0.5rem;
    }
    
    .gallery-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .social-icons {
        gap: 0.8rem;
    }
    
    .footer-container {
        padding: 2rem 1rem;
    }
}

@media (max-width: 1024px) {
    .sponsor-grid-main {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ================================
   スポンサーロゴ表示設定
================================ */
.sponsor-logo-main,
.sponsor-partner-logo,
.sponsor-logo-large,
.sponsor-icon {
    filter: none !important;
    opacity: 1 !important;
}

.sponsor-item-main:hover .sponsor-logo-main,
.sponsor-item:hover .sponsor-partner-logo,
.sponsor-item-large:hover .sponsor-logo-large,
.sponsor-item:hover .sponsor-icon {
    filter: none !important;
    opacity: 1 !important;
}