/* =============================================
   リセット & ベーススタイル
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --accent-color: #000000;
    --text-dark: #000000;
    --text-light: #666666;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --bg-dark: #0A0A0A;
    --border-color: #E0E0E0;
    --success-color: #000000;
    --error-color: #000000;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 8px 24px 0 rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--bg-white);
    overflow-x: hidden;
    letter-spacing: 0.02em;
    font-weight: 400;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* =============================================
   コンテナ & レイアウト
   ============================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* =============================================
   ナビゲーション
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 400;
    color: var(--text-dark);
    padding: 0.5rem 0;
    position: relative;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-dark);
    transition: width 0.2s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.btn-contact {
    background-color: var(--text-dark);
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 0;
    border: 1px solid var(--text-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    background-color: white;
    color: var(--text-dark) !important;
}

/* =============================================
   ヒーローセクション
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    overflow: hidden;
}

.hero::before {
    content: none;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-dark);
    max-width: 800px;
    padding: 0 20px;
}

.hero-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 7rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    margin-top: 3rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease;
    text-transform: uppercase;
}

.hero-logo-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    /* 白背景に自然に溶け込むよう、シャドウを削除 */
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-actions {
    padding: 3rem 0;
    background-color: var(--bg-light);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-dark);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.hero-scroll span {
    font-size: 0.8rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 30px;
    background-color: var(--text-dark);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* =============================================
   ボタン
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 0;
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.btn-primary {
    background-color: var(--text-dark);
    color: white;
    border: 1px solid var(--text-dark);
}

.btn-primary:hover {
    background-color: white;
    color: var(--text-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: white;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-link:hover {
    gap: 0.8rem;
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-submit:hover {
    background-color: #333333;
}

/* =============================================
   セクション共通
   ============================================= */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.2rem;
    font-weight: 600;
    position: relative;
    letter-spacing: 0.05em;
}

.section-title.left {
    text-align: left;
}

.title-en {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

/* =============================================
   サービスセクション
   ============================================= */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background-color: white;
    padding: 3rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 0;
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    border-color: var(--text-dark);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: transparent;
    border: 2px solid var(--text-dark);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* =============================================
   トリカゴ説明セクション
   ============================================= */
.about-torikago {
    background-color: white;
}

/* 動画セクション */
.torikago-video-section {
    margin-bottom: 5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: #000;
}

.torikago-video {
    width: 100%;
    height: auto;
    display: block;
}

.video-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    color: var(--text-light);
}

.video-caption i {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.video-caption p {
    font-size: 1rem;
    margin: 0;
}

.about-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.9;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.image-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.rules-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

/* =============================================
   新着情報セクション
   ============================================= */
.news-section {
    background-color: var(--bg-light);
}

.news-list {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.news-item {
    background-color: white;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.news-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.news-date {
    flex-shrink: 0;
    text-align: center;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    min-width: 100px;
}

.news-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    font-size: 0.9rem;
    opacity: 0.9;
}

.news-content {
    flex: 1;
}

.news-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.news-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.news-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

/* =============================================
   スポンサーセクション
   ============================================= */
.sponsors {
    background-color: white;
}

.sponsor-tier {
    margin-bottom: 4rem;
}

.sponsor-tier:last-child {
    margin-bottom: 0;
}

.sponsor-tier-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-transform: uppercase;
    padding-bottom: 1rem;
    position: relative;
}

.sponsor-tier-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--text-dark);
}

/* プラチナスポンサータイトル */
.sponsor-tier:nth-child(2) .sponsor-tier-title {
    color: #E5E4E2;
}

.sponsor-tier:nth-child(2) .sponsor-tier-title::after {
    background-color: #E5E4E2;
}

/* ゴールドスポンサータイトル */
.sponsor-tier:nth-child(3) .sponsor-tier-title {
    color: #D4AF37;
}

.sponsor-tier:nth-child(3) .sponsor-tier-title::after {
    background-color: #D4AF37;
}

/* シルバースポンサータイトル */
.sponsor-tier:nth-child(4) .sponsor-tier-title {
    color: #C0C0C0;
}

.sponsor-tier:nth-child(4) .sponsor-tier-title::after {
    background-color: #C0C0C0;
}

/* ブロンズスポンサータイトル */
.sponsor-tier:nth-child(5) .sponsor-tier-title {
    color: #CD7F32;
}

.sponsor-tier:nth-child(5) .sponsor-tier-title::after {
    background-color: #CD7F32;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 8px;
    border: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

/* プラチナスポンサー */
.sponsor-logo.platinum {
    height: 160px;
}

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

/* ゴールドスポンサー */
.sponsor-logo.gold {
    height: 140px;
}

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

/* シルバースポンサー */
.sponsor-logo.silver {
    height: 120px;
}

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

/* ブロンズスポンサー */
.sponsor-logo.bronze {
    height: 100px;
}

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

/* =============================================
   CTAセクション
   ============================================= */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* =============================================
   フッター
   ============================================= */
.footer {
    background-color: var(--bg-dark);
    color: #999999;
    padding: 4rem 0 2rem;
    border-top: 1px solid #222222;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-info i {
    color: #999999;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =============================================
   レスポンシブ対応
   ============================================= */
@media (max-width: 1024px) {
    .sponsors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-logo-image {
        max-width: 90%;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .torikago-video-section {
        margin-bottom: 3rem;
    }

    .video-caption {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .news-item {
        flex-direction: column;
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .sponsor-logo,
    .sponsor-logo.platinum,
    .sponsor-logo.gold,
    .sponsor-logo.silver,
    .sponsor-logo.bronze {
        height: 100px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
