/* Reset & Base Styles */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #8c8c8c;
    --accent-color: #c5a059; /* Gold-ish accent */
    --bg-color: #ffffff;
    --text-color: #333333;
    --font-main: 'Noto Sans JP', sans-serif;
    --font-heading: 'Oswald', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 15px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding-top: 80px; /* Header height */
    position: relative;
    margin-bottom: 60px;
}

.hero-image img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    filter: brightness(0.9);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    letter-spacing: 10px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 3px;
    font-weight: 300;
}

/* Sections Common */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
}

.section-subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.profile-list {
    border-top: 1px solid #eee;
}

.profile-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.profile-item dt {
    width: 150px;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

.profile-item dd {
    color: var(--text-color);
}

/* Members Section */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.member-card {
    background: #fff;
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
}

.member-image {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.member-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.member-card:hover .member-image img {
    transform: scale(1.05);
}

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

.member-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.member-role {
    color: var(--secondary-color);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* History Section */
.history {
    background-color: #f9f9f9;
}

.history-list {
    max-width: 800px;
    margin: 0 auto;
}

.history-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    align-items: baseline;
}

.history-year {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    width: 100px;
    flex-shrink: 0;
}

.history-detail {
    font-size: 1.1rem;
}

/* Sponsors Section */
.sponsors-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.sponsor-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #000;
    border: 2px solid #eee;
    padding: 30px 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block; /* aタグでも箱型に見えるように */
    transition: all 0.3s ease;
    font-weight: 700;
}

.sponsor-logo:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Contact Section */
.contact-box {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.contact-box h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-box p {
    margin-bottom: 40px;
    opacity: 0.8;
}

.btn-contact {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 2px;
}

.btn-contact:hover {
    background-color: #b08d4b;
}

.btn-contact i {
    margin-left: 10px;
}

/* Footer */
.site-footer {
    background-color: #111;
    color: #fff;
    padding: 60px 0 20px;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-social {
    margin-bottom: 40px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border: 1px solid #333;
    border-radius: 50%;
    margin: 0 10px;
    color: #888;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: #fff;
    border-color: #fff;
}

.copyright {
    font-size: 0.8rem;
    color: #555;
    border-top: 1px solid #222;
    padding-top: 20px;
}

/* Member Detail Page */
.member-detail-hero {
    background-color: #f5f5f5;
    padding: 120px 0 60px;
    text-align: center;
}

.member-detail-image {
    width: 250px;
    height: 250px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.member-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-detail-name {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.member-detail-role {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 2px;
}

.member-bio {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.bio-text {
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.specs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.spec-item h4 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.spec-item p {
    font-size: 1.2rem;
    font-weight: 500;
}

.back-link {
    display: block;
    text-align: center;
    margin: 40px 0;
    color: var(--secondary-color);
    font-weight: 500;
}

.back-link:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .main-nav {
        display: none; /* Mobile menu implementation needed for full responsiveness */
    }
    
    .profile-item {
        flex-direction: column;
    }
    
    .profile-item dt {
        margin-bottom: 5px;
    }
}
/* 404 Page */
.not-found-section {
    padding: 150px 0 100px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.error-code {
    font-family: var(--font-heading);
    font-size: 10rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
}

.error-message {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.error-description {
    margin-bottom: 50px;
    color: var(--text-color);
}

.btn-home {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.btn-home:hover {
    background-color: var(--accent-color);
}

