/* ================================
   リセット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.9) !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: 90vh;
    min-height: 700px;
    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;

     /* 🔥 以下を追加 */
    background-color: #0E5FD8; /* 画像読み込み前の背景色 */
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.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: var(--primary-blue);
}

.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: 30px !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
    min-height: 150px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
}

.sponsor-logo-main {
    width: auto !important;
    height: 70px !important;
    max-width: 140px !important;
    object-fit: contain !important;
    filter: none !important;
    opacity: 1 !important;
    display: block !important;
    margin: 0 auto !important;
    transition: transform 0.2s ease !important;
}

a.sponsor-item-main {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px !important;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
    min-height: 150px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    text-decoration: none;
    transition: all 0.4s ease;
    overflow: hidden;
}

a.sponsor-item-main img {
    width: auto !important;
    height: 70px !important;
    max-width: 140px !important;
    object-fit: contain !important;
    filter: none !important;
    opacity: 1 !important;
    display: block !important;
    margin: 0 auto !important;
}

a.sponsor-item-main:hover .sponsor-logo-main {
    transform: scale(1.05) !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);
}

/* サプライヤーのリンク化 */
a.supplier-item {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* テクニカルパートナーのリンク化 */
a.sponsor-item {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

a.sponsor-item h3 {
    color: white;
    transition: color 0.3s ease;
}

a.sponsor-item p {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

a.sponsor-item:hover h3 {
    color: #66a3ff;
}

a.sponsor-item:hover p {
    color: white;
}

a.sponsor-item:active {
    transform: scale(0.98);
}


/* ================================
   スポンサーロゴのリンク化とアニメーション
   追加日：2025年
================================ */

/* リンク化されたスポンサーアイテム */
a.sponsor-item-main {
    position: relative;
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ホバー時の基本効果 */
a.sponsor-item-main:hover {
    background: transparent !important;
    border: none !important;
    transform: none !important;
    box-shadow: none !important;
    animation: none !important;
}

/* ロゴ画像のトランジション */
.sponsor-item-main img {
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

/* ホバー時のロゴ効果 */
a.sponsor-item-main:hover .sponsor-logo-main {
    transform: scale(1.05) !important;
}

/* タップ時の動作 */
a.sponsor-item-main:active .sponsor-logo-main {
    transform: scale(1.02) !important;
    transition: transform 0.1s ease !important;
}

/* オーバーレイ（ホバー時に表示） */
.sponsor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(14, 95, 216, 0.95) 0%, 
        rgba(25, 118, 210, 0.95) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 3;
}

a.sponsor-item-main:hover .sponsor-overlay {
    opacity: 1;
}

/* スポンサー名 */
.sponsor-name {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

a.sponsor-item-main:hover .sponsor-link-text {
    transform: translateY(0);
    opacity: 1;
}

/* パルスアニメーション */
@keyframes sponsorPulse {
    0%, 100% { 
        box-shadow: none !important;
    }
}

a.sponsor-item-main:hover {
    animation: sponsorPulse 1.5s infinite;
}

/* グロウエフェクト */
a.sponsor-item-main::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(14, 95, 216, 0.3) 0%, 
        transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    z-index: 1;
}

a.sponsor-item-main:hover::before {
    width: 300%;
    height: 300%;
}

/* テクニカルパートナー用アニメーション強化 */
.sponsor-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 15px 30px rgba(14, 95, 216, 0.2),
        0 0 40px rgba(14, 95, 216, 0.1);
}

.sponsor-item:hover .sponsor-icon {
    transform: rotateY(360deg);
    transition: transform 0.6s ease;
}

/* スポンサーセクション レスポンシブ対応 */
@media (max-width: 768px) {
    .sponsor-overlay {
        padding: 1rem;
    }
    
    .sponsor-name {
        font-size: 1.2rem;
    }
    
    .sponsor-link-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    a.sponsor-item-main {
        padding: 1.5rem;
    }
    
    .sponsor-name {
        font-size: 1rem;
    }
}
/* ここまで追加 */

/* リンクテキスト */
.sponsor-link-text {
    color: white;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}


/* ================================
   コンタクトセクション
================================ */
.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);
}

/* お問い合わせフォームボタン - 追加 */
.contact-form-btn {
    display: inline-block;
    background: var(--gradient-blue);
    color: white;
    padding: 1rem 3rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.contact-form-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transition: transform 0.5s ease;
}

.contact-form-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(14, 95, 216, 0.3);
}

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

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-form-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-form-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
        width: 90%;
        max-width: 300px;
    }
}

/* ================================
   CONTACTセクション調整
================================ */
.contact-section .section-title::before {
    width: 230px !important;  /* 線を長く（80px → 230px） */
    bottom: -15px !important;
}

.contact-section .section-title::after {
    bottom: -20px !important;
}

.contact-section .section-title {
    margin-bottom: 2.5rem !important;
}

.contact-info {
    font-size: 1.2rem !important;  /* 文字を大きく（1rem → 1.2rem） */
    line-height: 1.8 !important;  /* 行間も少し広く */
    margin: 2rem auto 2.5rem !important;  /* 余白調整 */
}

.contact-email {
    font-size: 1.5rem !important;  /* メールアドレスも大きく */
}

/* ================================
   フッター
================================ */
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 1.5s 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.9) !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: 70vh;
        min-height: 500px;
    }
    
    .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%);
    }
}

@media (max-width: 480px) {
    /* より詳細なモバイル対応 */
    body {
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* iOSのスムーススクロール */
    }
    
    /* ビューポート設定の確保 */
    html {
        height: 100%;
        overflow-y: auto;
    }
    
    .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;
    }
    
    /* ニュースコンテナのモバイル対応 */
    .news-scroll-container {
        max-height: 350px;
        -webkit-overflow-scrolling: touch;
    }

    .news-stats {
        font-size: 0.75rem;
        padding: 0.6rem;
    }
}

@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;
}


/* スクロール対応のニュースコンテナ（実用的設定） */
.news-scroll-container {
    max-height: 500px; /* 実用的な高さ */
    overflow-y: auto;
    position: relative;
    background: transparent;
}

/* カスタムスクロールバー（既存デザインに合わせて上書き） */
.news-scroll-container::-webkit-scrollbar {
    width: 8px;
}

.news-scroll-container::-webkit-scrollbar-track {
    background: rgba(14, 95, 216, 0.1);
    border-radius: 4px;
}

.news-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.news-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-blue);
}

/* SNSプラットフォームアイコン */
.platform-icon {
    margin-left: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 0.9rem;
}

.news-item:hover .platform-icon {
    opacity: 1;
}

/* SNSプラットフォーム別の色 */
.platform-twitter { color: #1DA1F2; }
.platform-instagram { color: #E4405F; }
.platform-facebook { color: #1877F2; }
.platform-youtube { color: #FF0000; }

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

/* スクロール進捗バー */
.scroll-indicator {
    position: sticky;
    top: 0;
    height: 3px;
    background: rgba(14, 95, 216, 0.1);
    z-index: 10;
    margin-bottom: 1rem;
}

.scroll-progress {
    height: 100%;
    background: var(--gradient-blue);
    width: 0%;
    transition: width 0.1s ease;
}

/* 統計情報表示 */
.news-stats {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(14, 95, 216, 0.05);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--gray);
}

.news-stats strong {
    color: var(--primary-blue);
}

/* ローディング表示 */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--gray);
    font-style: italic;
}

/* レスポンシブ追加設定 */
@media (max-width: 768px) {
    .news-scroll-container {
        max-height: 400px;
    }

    .news-stats {
        font-size: 0.8rem;
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .news-scroll-container {
        max-height: 350px;
    }

    .news-stats {
        font-size: 0.75rem;
        padding: 0.6rem;
    }
}

/* ================================
   ギャラリーボタン統一 - more newsボタン
================================ */


/* ギャラリーボタンと統一したmore newsボタン */
.load-more-btn {
    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;
    text-transform: uppercase;
}

/* 円形背景エフェクト */
.load-more-btn::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;
}

/* ホバー時：円形が拡大して背景を覆う */
.load-more-btn:hover {
    color: var(--white);
    border-color: transparent;
}

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

/* 無効時のスタイル */
.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.load-more-btn:disabled:hover {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.load-more-btn:disabled::before {
    transform: translate(-50%, -50%) scale(0);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .load-more-btn {
        padding: clamp(0.5rem, 1.5vw, 0.8rem) clamp(1.5rem, 3vw, 2rem);
        font-size: clamp(0.9rem, 2vw, 1.1rem);
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .load-more-btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

/* ================================
   改善版ローディング画面（1秒でクリア表示）
================================ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    max-width: 400px;
    width: 90%;
}

/* ロゴ - 1秒でクリアに表示 */
.loading-logo {
    width: 250px;
    height: auto;
    margin-bottom: 3rem;
    
    /* 初期状態：透明で少しぼかし */
    opacity: 0;
    transform: scale(0.9);
    filter: blur(5px);
    
    /* 1秒でクリアに表示 */
    animation: logoFadeInFast 1s ease-out forwards;
}

/* 高速フェードインアニメーション（1秒） */
@keyframes logoFadeInFast {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(10px);
        filter: blur(5px);
    }
    60% {
        opacity: 0.8;
        transform: scale(0.98) translateY(3px);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

/* プログレスバー（ロゴ表示後すぐに開始） */
.loading-progress {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    
    /* 0.8秒後に表示開始 */
    opacity: 0;
    animation: fadeInUp 0.5s ease-out 0.8s forwards;
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0E5FD8 0%, #1976D2 100%);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(14, 95, 216, 0.5);
}

/* パーセント表示（1秒後に表示） */
.loading-percentage {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: #0E5FD8;
    
    /* 1秒後に表示 */
    opacity: 0;
    animation: fadeInUp 0.5s ease-out 1s forwards;
}

/* シンプルなフェードインアップ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* オプション：ロゴに軽い光効果を追加 */
.loading-logo.show-glow {
    animation: 
        logoFadeInFast 1s ease-out forwards,
        subtleGlow 2s ease-in-out 1s infinite;
}

/* 控えめな光効果 */
@keyframes subtleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(14, 95, 216, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(14, 95, 216, 0.3));
    }
}

/* レスポンシブ */
@media (max-width: 768px) {
    .loading-logo {
        width: 180px;
    }
    
    .loading-percentage {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .loading-logo {
        width: 150px;
    }
    
    .loading-percentage {
        font-size: 1.3rem;
    }
}

/* ================================
   ボディのスクロール設定
================================ */
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--white);
    color: #333;
    line-height: 1.8;
    /* 横スクロールのみ防ぐ */
    overflow-x: hidden;
    /* 縦スクロールは許可（JSで制御） */
    overflow-y: auto;
}

/* ローディング中のボディ */
body.loading {
    overflow: hidden !important;
}

/* ローディング画面 */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    /* スクロールバーの幅を考慮 */
    overflow: hidden;
}

/* ================================
   最終スポンサー修正（確実版）
================================ */

/* 全てのスポンサーエフェクトを強制無効化 */
a.sponsor-item-main,
a.sponsor-item-main:hover,
a.sponsor-item-main:focus,
a.sponsor-item-main:active {
    background: transparent !important;
    border: none !important;
    transform: none !important;
    box-shadow: none !important;
    animation: none !important;
    transition: none !important;
}

/* ロゴのみにトランジションとホバー効果 */
.sponsor-logo-main,
a.sponsor-item-main .sponsor-logo-main,
a.sponsor-item-main:hover .sponsor-logo-main {
    transition: transform 0.2s ease !important;
}

a.sponsor-item-main:hover .sponsor-logo-main {
    transform: scale(1.05) !important;
}

a.sponsor-item-main:active .sponsor-logo-main {
    transform: scale(1.02) !important;
    transition: transform 0.1s ease !important;
}

/* 全てのエフェクトを完全無効化 */
a.sponsor-item-main::before,
a.sponsor-item-main::after,
.sponsor-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* アニメーション完全無効化 */
@keyframes sponsorPulse {
    0%, 100% { 
        box-shadow: none !important;
        transform: none !important;
    }
}

/* 強制的にアニメーション無効化 */
a.sponsor-item-main {
    animation: none !important;
}

a.sponsor-item-main:hover {
    animation: none !important;
}

/* ================================
   モバイル版スポンサー2行修正
================================ */

/* ================================
   タブレット版スポンサー6列修正
================================ */

/* タブレット：6列に変更 */
@media (max-width: 1024px) and (min-width: 769px) {
    .sponsor-grid-main {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 15px !important;
        max-width: 800px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    .sponsor-logo-main {
        height: 55px !important;
        max-width: 110px !important;
    }
    
    a.sponsor-item-main {
        min-height: 110px !important;
        padding: 15px !important;
    }
    
    /* テクニカルパートナーも調整 */
    .tech-partners-grid {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 15px !important;
        max-width: 700px !important;
        margin: 0 auto 3rem !important;
    }
    
    .tech-partners-grid .sponsor-item {
        min-height: 90px !important;
        padding: 12px !important;
    }
    
    .tech-partners-grid .sponsor-icon {
        font-size: 2.2rem !important;
    }
}

/* スマホ：2列（変更なし） */
@media (max-width: 768px) {
    .sponsor-grid-main {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        padding: 0 15px !important;
    }
    
    .sponsor-logo-main {
        height: 50px !important;
        max-width: 100px !important;
    }
    
    a.sponsor-item-main {
        min-height: 100px !important;
        padding: 15px !important;
    }
    
    /* テクニカルパートナーも2列 */
    .tech-partners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        max-width: 350px !important;
        margin: 0 auto 3rem !important;
        padding: 0 15px !important;
    }
    
    .tech-partners-grid .sponsor-item {
        min-height: 90px !important;
        padding: 10px !important;
    }
    
    .tech-partners-grid .sponsor-icon {
        font-size: 2rem !important;
    }
}

/* 小さなスマホ：2列維持（変更なし） */
@media (max-width: 480px) {
    .sponsor-grid-main {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        padding: 0 10px !important;
    }
    
    .sponsor-logo-main {
        height: 45px !important;
        max-width: 90px !important;
    }
    
    a.sponsor-item-main {
        min-height: 80px !important;
        padding: 12px !important;
    }
    
    /* テクニカルパートナー */
    .tech-partners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        max-width: 280px !important;
        padding: 0 10px !important;
    }
    
    .tech-partners-grid .sponsor-item {
        min-height: 80px !important;
        padding: 8px !important;
    }
    
    .tech-partners-grid .sponsor-icon {
        font-size: 1.8rem !important;
    }
}

/* スマホ：2列に変更 */
@media (max-width: 768px) {
    .sponsor-grid-main {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        padding: 0 15px !important;
    }
    
    .sponsor-logo-main {
        height: 50px !important;
        max-width: 100px !important;
    }
    
    a.sponsor-item-main {
        min-height: 100px !important;
        padding: 15px !important;
    }
    
    /* テクニカルパートナーも2列 */
    .tech-partners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        max-width: 350px !important;
        margin: 0 auto 3rem !important;
        padding: 0 15px !important;
    }
    
    .tech-partners-grid .sponsor-item {
        min-height: 90px !important;
        padding: 10px !important;
    }
    
    .tech-partners-grid .sponsor-icon {
        font-size: 2rem !important;
    }
}

/* 小さなスマホ：2列維持 */
@media (max-width: 480px) {
    .sponsor-grid-main {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        padding: 0 10px !important;
    }
    
    .sponsor-logo-main {
        height: 45px !important;
        max-width: 90px !important;
    }
    
    a.sponsor-item-main {
        min-height: 80px !important;
        padding: 12px !important;
    }
    
    /* テクニカルパートナー */
    .tech-partners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        max-width: 280px !important;
        padding: 0 10px !important;
    }
    
    .tech-partners-grid .sponsor-item {
        min-height: 80px !important;
        padding: 8px !important;
    }
    
    .tech-partners-grid .sponsor-icon {
        font-size: 1.8rem !important;
    }
    
    /* サプライヤーリスト */
    .suppliers-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        max-width: 280px !important;
        padding: 0 10px !important;
    }
    
    .supplier-item {
        padding: 8px 12px !important;
        font-size: 0.75rem !important;
    }
}

/* 既存の設定を上書き */
@media (max-width: 768px) {
    /* 元の3列設定を無効化 */
    .sponsor-grid-main {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    /* 元の2列設定を維持 */
    .sponsor-grid-main {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ================================
   タブレット版4列修正（見やすく、タップしやすく）
================================ */

/* タブレット：4列で見やすく */
@media (max-width: 1024px) and (min-width: 769px) {
    .sponsor-grid-main {
        grid-template-columns: repeat(4, 1fr) !important; /* 6列 → 4列に変更 */
        gap: 40px !important; /* さらに間隔拡大 */
        max-width: 100% !important; /* 100%幅使用 */
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 50px !important; /* 左右余白増加 */
    }
    
    .sponsor-logo-main {
        height: 80px !important; /* ロゴサイズ大幅拡大 */
        max-width: 160px !important;
        width: auto !important;
    }
    
    a.sponsor-item-main {
        min-height: 160px !important; /* タップエリア大幅拡大 */
        padding: 30px !important; /* パディング増加 */
        border-radius: 12px !important; /* 角丸拡大 */
        transition: all 0.3s ease !important;
    }
    
    /* タップ時の視覚的フィードバック強化 */
    a.sponsor-item-main:hover {
        background: rgba(255, 255, 255, 0.08) !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1) !important;
    }
    
    a.sponsor-item-main:active {
        background: rgba(255, 255, 255, 0.12) !important;
        transform: translateY(-1px) !important;
    }
    
    /* テクニカルパートナーも4列に調整 */
    .tech-partners-grid {
        grid-template-columns: repeat(4, 1fr) !important; /* 5列 → 4列に変更 */
        gap: 35px !important; /* 間隔拡大 */
        max-width: 100% !important; /* 100%幅使用 */
        width: 100% !important;
        margin: 0 auto 3rem !important;
        padding: 0 50px !important;
    }
    
    .tech-partners-grid .sponsor-item {
        min-height: 140px !important; /* タップエリア拡大 */
        padding: 25px !important;
        border-radius: 12px !important;
        transition: all 0.3s ease !important;
    }
    
    .tech-partners-grid .sponsor-item:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1) !important;
    }
    
    .tech-partners-grid .sponsor-icon {
        font-size: 3.2rem !important; /* アイコンサイズ大幅拡大 */
    }
    
    .tech-partners-grid .sponsor-item h3 {
        font-size: 1.4rem !important;
        margin-top: 1rem !important;
    }
    
    .tech-partners-grid .sponsor-item p {
        font-size: 1rem !important;
        margin-top: 0.5rem !important;
    }
    
    /* サプライヤーリストも4列に調整 */
    .suppliers-list {
        grid-template-columns: repeat(4, 1fr) !important; /* 6列 → 4列に変更 */
        gap: 25px !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 50px !important;
        margin: 2rem auto 0 !important;
    }
    
    .supplier-item {
        padding: 18px 25px !important;
        font-size: 1rem !important;
        min-height: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 30px !important;
        transition: all 0.3s ease !important;
    }
    
    .supplier-item:hover {
        background: rgba(255, 255, 255, 0.18) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1) !important;
    }
}

/* 大きなタブレット（iPad Pro等）用さらなる調整 */
@media (max-width: 1200px) and (min-width: 1025px) {
    .sponsor-grid-main {
        gap: 50px !important;
        padding: 0 80px !important;
    }
    
    a.sponsor-item-main {
        min-height: 180px !important;
        padding: 35px !important;
    }
    
    .sponsor-logo-main {
        height: 90px !important;
        max-width: 180px !important;
    }
    
    .tech-partners-grid {
        gap: 45px !important;
        padding: 0 80px !important;
    }
    
    .tech-partners-grid .sponsor-item {
        min-height: 160px !important;
        padding: 30px !important;
    }
    
    .tech-partners-grid .sponsor-icon {
        font-size: 3.5rem !important;
    }
    
    .suppliers-list {
        gap: 30px !important;
        padding: 0 80px !important;
    }
    
    .supplier-item {
        padding: 20px 30px !important;
        font-size: 1.1rem !important;
        min-height: 70px !important;
    }
}

/* 中間サイズタブレット用の微調整 */
@media (max-width: 900px) and (min-width: 769px) {
    .sponsor-grid-main {
        gap: 35px !important;
        padding: 0 40px !important;
    }
    
    a.sponsor-item-main {
        min-height: 150px !important;
        padding: 25px !important;
    }
    
    .sponsor-logo-main {
        height: 75px !important;
        max-width: 150px !important;
    }
    
    .tech-partners-grid {
        gap: 30px !important;
        padding: 0 40px !important;
    }
    
    .tech-partners-grid .sponsor-item {
        min-height: 130px !important;
        padding: 20px !important;
    }
    
    .tech-partners-grid .sponsor-icon {
        font-size: 3rem !important;
    }
    
    .suppliers-list {
        gap: 22px !important;
        padding: 0 40px !important;
    }
    
    .supplier-item {
        padding: 16px 22px !important;
        font-size: 0.95rem !important;
    }
}

/* スマホ版は変更なし */
@media (max-width: 768px) {
    .sponsor-grid-main {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        padding: 0 15px !important;
    }
}

/* ================================
   統合版 SUPPLIERS レイアウト修正
================================ */

/* メインのsuppliers-list設定（既存を上書き） */
.suppliers-list {
    display: grid; /* flexからgridに変更 */
    grid-template-columns: repeat(6, 1fr); /* デスクトップ：6列 */
    gap: clamp(1rem, 2vw, 2rem);
    margin-top: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* デスクトップ版（1200px以上）：6列 */
@media (min-width: 1201px) {
    .suppliers-list {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 30px !important;
        max-width: 1200px !important;
        padding: 0 40px !important;
    }
    
    .supplier-item {
        padding: 15px 20px !important;
        font-size: 0.9rem !important;
        min-height: 50px !important;
        border-radius: 25px !important;
    }
}

/* 大きなタブレット（1025-1200px）：4列 */
@media (max-width: 1200px) and (min-width: 1025px) {
    .suppliers-list {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 30px !important;
        max-width: 100% !important;
        padding: 0 80px !important;
    }
    
    .supplier-item {
        padding: 20px 30px !important;
        font-size: 1.1rem !important;
        min-height: 70px !important;
        border-radius: 30px !important;
    }
}

/* タブレット（769-1024px）：4列 */
@media (max-width: 1024px) and (min-width: 769px) {
    .suppliers-list {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 25px !important;
        max-width: 100% !important;
        padding: 0 50px !important;
        margin: 2rem auto 0 !important;
    }
    
    .supplier-item {
        padding: 18px 25px !important;
        font-size: 1rem !important;
        min-height: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 30px !important;
        transition: all 0.3s ease !important;
    }
    
    .supplier-item:hover {
        background: rgba(255, 255, 255, 0.18) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1) !important;
    }
}

/* スマホ（481-768px）：2列3行レイアウト ⭐ メイン修正箇所 */
@media (max-width: 768px) and (min-width: 481px) {
    .suppliers-list {
        grid-template-columns: repeat(2, 1fr) !important; /* 2列固定 */
        gap: 15px !important;
        max-width: 350px !important; /* 幅を調整 */
        margin: 2rem auto 0 !important;
        padding: 0 20px !important;
        justify-items: stretch !important; /* アイテムを幅いっぱいに */
    }
    
    .supplier-item {
        padding: 12px 16px !important;
        font-size: 0.85rem !important;
        text-align: center !important;
        min-height: 45px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 22px !important;
        white-space: nowrap !important; /* テキストの改行を防ぐ */
        overflow: hidden !important;
        text-overflow: ellipsis !important; /* 長いテキストは省略 */
        transition: all 0.3s ease !important;
    }
    
    /* ホバー効果の調整 */
    .supplier-item:hover {
        background: rgba(255, 255, 255, 0.12) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(14, 95, 216, 0.2) !important;
    }
    
    /* スポンサーセクション全体の調整 */
    .sponsors-section {
        padding: clamp(2.5rem, 6vw, 4rem) 0 !important;
    }
    
    /* カテゴリタイトルの調整 */
    .sponsor-category {
        font-size: clamp(1.3rem, 2.5vw, 1.8rem) !important;
        margin-bottom: 1.5rem !important;
    }
}

/* 小さなスマホ（480px以下）：2列3行を維持 */
@media (max-width: 480px) {
    .suppliers-list {
        grid-template-columns: repeat(2, 1fr) !important; /* 2列維持 */
        gap: 12px !important;
        max-width: 300px !important; /* さらに幅を狭める */
        margin: 2rem auto 0 !important;
        padding: 0 15px !important;
    }
    
    .supplier-item {
        padding: 10px 12px !important;
        font-size: 0.8rem !important;
        min-height: 40px !important;
        border-radius: 20px !important;
        line-height: 1.2 !important;
    }
    
    /* 非常に長いテキスト用の調整 */
    .supplier-item {
        font-size: 0.75rem !important; /* さらに小さく */
        padding: 8px 10px !important;
    }
}

/* ================================
   現在のサプライヤー表示確認（6個 = 2列×3行）
================================ */
/*
現在のHTMLにある6個のサプライヤー：
行1: [Arai Helmet]    [DAINESE]
行2: [Alpinestars]    [KTC Tools]  
行3: [Bridgestone]    [RK Chain]

スマホ版で確実に3行表示されます！
*/