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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fafafa;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.logo-img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2c3e50;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #415a77 100%);
    color: white;
    text-align: center;
    padding: 80px 24px;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 24px;
    letter-spacing: 0.1em;
}

.hero-description {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 300;
    opacity: 0.8;
    letter-spacing: 0.15em;
}

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

.section h2 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #34495e;
    margin: 16px auto 0;
}

/* About Section */
.about {
    background: white;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid #eee;
}

.info-table th,
.info-table td {
    padding: 20px 16px;
    text-align: left;
}

.info-table th {
    width: 35%;
    font-weight: 500;
    color: #555;
    background: #f8f9fa;
}

.info-table td {
    color: #333;
    word-break: break-word;
}

/* Strengths Section */
.strengths {
    background: #f5f6f7;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.strength-card {
    background: white;
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strength-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.strength-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 24px;
    color: #2490F3;
}

.strength-icon svg {
    width: 100%;
    height: 100%;
}

.strength-card h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 16px;
}

.strength-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
}

/* Team Section */
.team {
    background: #f5f6f7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.team-member {
    background: white;
    border-radius: 8px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.member-info h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
}

.member-title {
    font-size: 0.9rem;
    color: #777;
    font-weight: 400;
}

/* History Section */
.history {
    background: white;
}

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

.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #ddd;
}

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

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: #2490F3;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #2490F3;
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2490F3;
    margin-bottom: 8px;
}

.timeline-text {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.8;
    word-break: break-word;
}

.timeline-text strong {
    color: #2c3e50;
    font-weight: 500;
}

/* School Section */
.school {
    background: white;
}

.school-content {
    max-width: 700px;
    margin: 0 auto;
}

.school-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.school-logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    margin-bottom: 24px;
}

.school-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 20px;
}

.school-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

.school-partner {
    font-size: 0.9rem;
    color: #777;
}

.school-partner a {
    color: #2490F3;
    text-decoration: none;
}

.school-partner a:hover {
    text-decoration: underline;
}

.school-link {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 32px;
    background: #2490F3;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.school-link:hover {
    background: #1a75c9;
}

/* Contact Section */
.contact {
    background: #f5f6f7;
}

.contact-text {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    min-height: 600px;
}

.contact-form iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
}

.form-placeholder {
    text-align: center;
    color: #999;
    padding: 100px 0;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 24px;
    text-align: center;
}

.footer p {
    font-size: 0.85rem;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 12px;
        padding: 12px 16px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 16px;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .section {
        padding: 70px 0;
    }

    .section h2 {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
    }

    .info-table th {
        padding-bottom: 8px;
        border-bottom: none;
    }

    .info-table td {
        padding-top: 0;
        padding-bottom: 20px;
    }

    .team-member {
        padding: 32px 24px;
    }

    .strength-card {
        padding: 32px 24px;
    }

    .school-card {
        padding: 24px 16px;
    }

    .contact-form {
        padding: 16px;
    }

    .contact-form iframe {
        height: 700px;
    }
}

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

    .nav-links {
        gap: 8px 12px;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .hero {
        padding: 100px 16px 60px;
    }

    .container {
        padding: 0 16px;
    }

    .timeline {
        padding-left: 24px;
    }

    .timeline-item::before {
        left: -30px;
        width: 10px;
        height: 10px;
    }

    .school-logo {
        max-width: 200px;
    }

    .contact-form iframe {
        height: 800px;
    }
}
