/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #111;
    color: #fff;
    line-height: 1.6;
}

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

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

/* Variables */
:root {
    --primary-color: #FFD700; /* Gold/Yellow */
    --bg-color: #111111;
    --bg-secondary: #1a1a1a;
    --text-color: #ffffff;
    --text-muted: #aaaaaa;
}

/* Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 150px 0;
    margin-top: -70px;
}

.bg-dark-gray {
    background-color: var(--bg-secondary);
}

.yellow {
    color: var(--primary-color);
    font-weight: bold;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #fff;
}

.section-title .jp {
    display: block;
    font-size: 1rem;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.1em;
    margin-top: 5px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(17, 17, 17, 0.95);
    padding: 12px 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0 24px;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0 12px;
    color: inherit;
    text-decoration: none;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2000;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    transition: 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

/* Hamburger Active State */
.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 700;
}

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

.nav-btn {
    background-color: var(--primary-color);
    color: #000 !important;
    padding: 10px 20px;
    border-radius: 4px;
}

.nav-btn:hover {
    background-color: #fff;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #111; /* 画像が設定されるまでのフォールバック背景 */
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
    transition: opacity 1s ease-in-out;
    opacity: 0;
    filter: brightness(0.85) contrast(1.1);
}

.hero-image:not([src]),
.hero-image[src=""] {
    display: none; /* 画像が設定されていない場合は非表示 */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-sub {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 2;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #000;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 900;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.cta-button:hover {
    background-color: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

/* Team Intro */
#team {
    position: relative;
    background-image: url('images/soccer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.85); /* うっすら見えるようにオーバーレイ */
    z-index: 0;
}

#team .container {
    position: relative;
    z-index: 1;
}

.team-intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.team-description {
    font-size: 1.2rem;
    line-height: 2;
    color: #ddd;
    padding: 0 20px;
}

.team-description p {
    margin-bottom: 1.5em;
    line-height: 1.8;
}

.team-description p:last-child {
    margin-bottom: 0;
}

/* About */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content .text-box {
    flex: 1;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.about-content .image-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    overflow: visible;
}

.about-content .image-box img {
    max-width: 80%;
    width: auto;
    height: auto;
    display: block;
    border: 2px solid var(--primary-color);
    object-fit: contain;
}

/* Profile */
.profile-box {
    display: flex;
    gap: 50px;
    align-items: center; /* 写真の縦位置修正 (flex-start -> center) */
    background-color: #222;
    padding: 40px;
    border: 1px solid #444;
}

.profile-image {
    flex: 0 0 300px;
    width: 300px;
    background-color: #333;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.profile-image img {
    width: 100%;
    height: auto;
    display: block;
    border: none;
    box-shadow: none;
}

.profile-image .yoshihara-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    border: none;
    box-shadow: none;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 2.5rem;
    margin-bottom: 5px;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
}

.profile-name .en {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-family: 'Oswald', sans-serif;
    margin-left: 15px;
    font-weight: 500;
}

.profile-role {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: inline-block;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
}

.profile-bio p {
    margin-bottom: 15px;
    color: #ddd;
    line-height: 1.8;
}

/* Grid System (Strength) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 自動調整で4つまで対応 */
    grid-auto-rows: 1fr; /* すべての行を同じ高さに */
    gap: 30px;
    align-items: stretch; /* すべてのカードを同じ高さに */
}

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr); /* タブレットは2列 */
        grid-auto-rows: 1fr; /* すべての行を同じ高さに */
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr; /* モバイルは1列 */
        grid-auto-rows: auto; /* モバイルでは自動高さ */
    }
}

.card {
    background-color: #222;
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 上揃え */
    height: 100%; /* 親グリッドの高さに合わせる */
}

.card h3 {
    margin-bottom: 20px;
    font-size: 1.4rem; /* タイトルサイズ調整 */
    color: var(--primary-color);
    height: 4em; /* タイトルの高さを固定 */
    line-height: 1.4;
    display: flex;
    align-items: center; /* タイトルを垂直中央揃え */
}

.card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #ddd;
    flex-grow: 1; /* 余白があれば下に伸ばす */
}

/* Team List */
.team-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.team-list li {
    background-color: #333;
    padding: 20px 60px;
    font-size: 1.1rem;
    border: 1px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    min-height: 75px;
    width: 100%;
}

.team-list li strong {
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

.team-list li span {
    color: #ddd;
    flex-shrink: 0;
}

/* Schedule Grid */
.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    position: relative;
}

.schedule-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    transform: translateX(-50%);
    opacity: 0.3;
}

.schedule-column {
    flex: 1;
    background-color: #1a1a1a;
    padding: 30px;
    border: 1px solid #333;
    border-radius: 8px;
    position: relative;
}

.schedule-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 8px 8px 0 0;
}

.schedule-subtitle {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.schedule-note {
    text-align: center;
    margin-top: 40px;
    color: #aaa;
    font-size: 0.95rem;
}

.schedule-capacity {
    margin-top: 28px;
    padding: 16px 18px;
    border-top: 1px solid #333;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #ccc;
    text-align: center;
}

.schedule-capacity p {
    margin: 0.35em 0;
}

.schedule-capacity strong {
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 0.35em;
}

.cost-box {
    margin-top: 32px;
    padding: 28px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
}

.cost-total {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 24px;
}

.cost-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.cost-column h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.cost-column ul {
    margin: 0;
    padding-left: 1.2em;
    color: #ddd;
    line-height: 1.8;
}

.cost-column li {
    margin-bottom: 8px;
}

/* Timeline */
.timeline {
    max-width: 100%;
    margin: 0 auto;
    border-left: 4px solid var(--primary-color); /* 線を太く */
    padding-left: 40px;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -52px; /* 位置調整 */
    top: 10px;
    width: 20px; /* 点を大きく */
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.timeline .date {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.5rem; /* フォントサイズUP */
    font-family: 'Oswald', sans-serif;
}

.timeline .content {
    font-size: 1.2rem; /* フォントサイズUP */
}

.timeline-note {
    display: block;
    margin-top: 8px;
    font-size: 0.85em;
    color: #bbb;
    line-height: 1.6;
}

/* QA */
.qa-list {
    max-width: 800px;
    margin: 0 auto;
}

.qa-list dt {
    background-color: var(--primary-color);
    color: #000;
    padding: 15px;
    font-weight: 700;
    margin-top: 20px;
}

.qa-list dd {
    background-color: #222;
    padding: 20px;
    margin-bottom: 20px;
}


/* Sponsor */
.sponsor-area {
    text-align: center;
    border: 1px solid #fff;
    padding: 60px 20px;
}

.sponsor-area h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.btn-outline {
    display: inline-block;
    border: 2px solid #fff;
    padding: 10px 30px;
    margin-top: 20px;
    font-weight: 700;
}

.btn-outline:hover {
    background-color: #fff;
    color: #000;
}

/* Privacy */
.privacy-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 36px 32px;
    background-color: #222;
    border: 1px solid #444;
    border-left: 5px solid var(--primary-color);
}

.privacy-box p {
    color: #ddd;
    line-height: 1.9;
}

.privacy-list {
    margin: 18px 0 20px;
    padding-left: 1.2em;
    color: #ddd;
}

.privacy-list li {
    margin-bottom: 12px;
    line-height: 1.9;
}

.privacy-list strong {
    color: var(--primary-color);
}

.privacy-note {
    margin-top: 12px;
    color: #bbb;
}

/* Contact Box */
.contact-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 40px;
}

.contact-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.2);
}

.contact-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
    color: var(--primary-color);
}

.contact-icon i {
    display: inline-block;
}

.contact-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
}

.contact-description {
    font-size: 1.1rem;
    color: #ddd;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #000;
    padding: 18px 50px;
    font-size: 1.3rem;
    font-weight: 900;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-button:hover {
    background-color: #fff;
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

/* Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: #222;
    border: 1px solid #444;
    color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}


/* SNS */
#sns {}

.sns-card {
  border: none;
  border-radius: 5px;
  justify-content: center;

  cursor: pointer;
  transition: transform ease 0.2s;
}

.sns-card:hover {
  transform: translateY(-2px);
}

.sns-card h3 {
  margin: 0 auto;
  height: 2em;
}


/* Footer */
.footer {
    background-color: #000;
    padding: 30px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

/* Opening Animation */
.opening {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.opening.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.opening-content {
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.opening-logo {
    max-width: 300px;
    height: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.opening-sub {
    font-family: 'Oswald', sans-serif;
    color: var(--primary-color);
    letter-spacing: 0.2em;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.opening-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        gap: 15px;
    }
    
    .logo {
        font-size: 1.3rem;
        gap: 0 16px;
        text-wrap: nowrap;
    }
    
    .hamburger {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(17, 17, 17, 0.98);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease-in-out;
        z-index: 1500;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        width: 100%;
    }

    .nav a {
        font-size: 1.5rem;
    }

    .hero {
        min-height: 100vh;
        height: auto;
    }

    .hero-image {
        object-fit: cover;
        object-position: center;
    }

    .hero-content {
        padding: 40px 20px;
    }

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

    .about-content {
        flex-direction: column;
    }
    
    .about-content h3 {
        font-size: 1.3rem;
        line-height: 1.4;
    }
    
    .about-content h3 .title-line {
        white-space: nowrap;
        display: inline-block;
    }
    
    .about-content h3 br {
        display: block;
    }

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

    /* Profile Responsive */
    .profile-box {
        flex-direction: column;
        padding: 20px;
        align-items: center;
    }
    
    .profile-image {
        flex: 0 0 auto;
        width: 300px;
        max-width: 100%;
    }
    
    .profile-name {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .profile-name .en {
        display: block;
        margin-left: 0;
        font-size: 1rem;
    }
    
    .profile-role {
        display: block;
        text-align: center;
    }

    /* Team List Responsive */
    .team-list {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .team-list li {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 25px;
        gap: 12px;
    }
    
    .team-list li strong {
        margin-right: 0;
        margin-bottom: 0;
        width: 100%;
    }
    
    .team-list li span {
        text-align: left;
        width: 100%;
    }

    /* Team Intro Responsive */
    #team {
        background-attachment: scroll; /* モバイルでは固定背景を無効化 */
    }

    .team-description {
        font-size: 1rem;
        line-height: 1.8;
        padding: 0 15px;
    }

    .team-description p {
        margin-bottom: 1.2em;
        line-height: 1.7;
        text-align: left; /* スマートフォンでは左揃えで読みやすく */
    }

    /* Opening Responsive */
    .opening-logo {
        max-width: 200px;
        width: 85%;
    }
    
    .opening-title {
        font-size: 2rem;
    }

    /* Schedule Grid Responsive */
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .schedule-grid::before {
        display: none; /* モバイルでは区切り線を非表示 */
    }

    .schedule-column {
        padding: 20px;
    }

    .schedule-subtitle {
        font-size: 1.5rem;
    }

    .cost-box {
        padding: 20px;
    }

    .cost-total {
        font-size: 1.2rem;
    }

    .cost-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Contact Responsive */
    .contact-box {
        padding: 40px 20px;
    }
    
    .contact-content {
        padding: 40px 20px;
    }
    
    .contact-icon {
        font-size: 3rem;
    }
    
    .contact-title {
        font-size: 1.3rem;
    }
    
    .privacy-box {
        padding: 24px 18px;
    }

    .privacy-list {
        padding-left: 1em;
    }

    .contact-description {
        font-size: 1rem;
    }
    
    .contact-button {
        padding: 15px 35px;
        font-size: 1.0rem;
    }
}
