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

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

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

/* ヘッダー */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-size: 24px;
    color: #2c5282;
    font-weight: 700;
}

.logo .subtitle {
    font-size: 12px;
    color: #718096;
    margin-top: 5px;
}

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

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #2c5282;
}

/* メインビジュアル */
.hero {
    background: linear-gradient(135deg, #2c5282 0%, #4a90e2 100%);
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%232c5282" width="1200" height="600"/><g fill="%23ffffff" fill-opacity="0.05"><polygon points="0,0 600,300 0,600"/><polygon points="600,0 1200,300 600,600"/></g></svg>');
    background-size: cover;
}

.hero-overlay {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: #fff;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 20px;
    font-weight: 300;
}

/* セクション共通 */
.section-title {
    text-align: center;
    font-size: 36px;
    color: #2c5282;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

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

/* 組合について */
.about {
    padding: 80px 0;
    background-color: #f7fafc;
}

.about-purpose {
    max-width: 900px;
    margin: 0 auto 50px;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #2c5282;
}

.about-purpose h3 {
    font-size: 24px;
    color: #2c5282;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-purpose p {
    color: #333;
    line-height: 2;
    font-size: 16px;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5282 0%, #4a90e2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-box i {
    font-size: 36px;
    color: #fff;
}

.about-card h3 {
    font-size: 22px;
    color: #2c5282;
    margin-bottom: 15px;
}

.about-card p {
    color: #666;
    line-height: 1.8;
}

/* 事業内容 */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background: #f7fafc;
    padding: 40px 25px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, background-color 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    background-color: #edf2f7;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4a90e2 0%, #2c5282 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 32px;
    color: #fff;
}

.service-item h3 {
    font-size: 20px;
    color: #2c5282;
    margin-bottom: 15px;
}

.service-item p {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

/* 組合員紹介 */
.members {
    padding: 80px 0;
    background-color: #f7fafc;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.member-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}

.member-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2c5282 0%, #4a90e2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.member-icon i {
    font-size: 32px;
    color: #fff;
}

.member-card h3 {
    font-size: 18px;
    color: #2c5282;
    margin-bottom: 15px;
    font-weight: 600;
}

.member-card p {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

/* 活動紹介 */
.activities {
    padding: 80px 0;
    background-color: #f7fafc;
}

.activities-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 20px 15px;
    text-align: center;
}

.gallery-caption h4 {
    font-size: 16px;
    color: #2c5282;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-caption p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* 経歴 */
.history {
    padding: 80px 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #2c5282 0%, #4a90e2 100%);
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #2c5282;
    z-index: 1;
}

.timeline-date {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.timeline-date .year {
    font-size: 18px;
    font-weight: 700;
    color: #2c5282;
}

.timeline-date .month {
    font-size: 16px;
    color: #4a90e2;
    font-weight: 600;
}

.timeline-content {
    background: #f7fafc;
    padding: 20px 25px;
    border-radius: 8px;
    border-left: 4px solid #4a90e2;
    transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-size: 20px;
    color: #2c5282;
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

/* 組合概要 */
.organization-info {
    padding: 80px 0;
    background-color: #f7fafc;
}

.info-table {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

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

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

.info-table th {
    background-color: #2c5282;
    color: #fff;
    font-weight: 600;
    width: 200px;
}

.info-table td {
    border-bottom: 1px solid #e2e8f0;
}

.info-table tr:last-child td {
    border-bottom: none;
}

/* お問い合わせ */
.contact {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-item i {
    font-size: 28px;
    color: #2c5282;
    width: 40px;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 18px;
    color: #2c5282;
    margin-bottom: 8px;
}

.contact-item p {
    color: #666;
    line-height: 1.8;
}

.contact-item a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #2c5282;
    text-decoration: underline;
}

/* フォーム */
.contact-form {
    background: #f7fafc;
    padding: 40px;
    border-radius: 10px;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #e53e3e;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e0;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.submit-btn {
    background: linear-gradient(135deg, #2c5282 0%, #4a90e2 100%);
    color: #fff;
    padding: 15px 50px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

/* フッター */
.footer {
    background-color: #2c5282;
    color: #fff;
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.footer-logo p {
    font-size: 12px;
    opacity: 0.8;
}

.footer-info p {
    opacity: 0.8;
    font-size: 13px;
    margin-bottom: 5px;
}

.footer-info p:last-child {
    margin-bottom: 0;
}

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

.footer-bottom p {
    opacity: 0.7;
    font-size: 14px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        height: 400px;
        margin-top: 140px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

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

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

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

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

    .gallery-item img {
        height: 200px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 30px;
    }

    .timeline-item::before {
        left: -28px;
    }

    .timeline-date {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .timeline-date .year {
        font-size: 16px;
    }

    .timeline-date .month {
        font-size: 14px;
    }

    .info-table th,
    .info-table td {
        padding: 15px 20px;
    }

    .info-table th {
        width: 120px;
        font-size: 14px;
    }

    .info-table td {
        font-size: 14px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 18px;
    }

    .nav ul {
        gap: 10px;
    }

    .nav a {
        font-size: 14px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .about-card,
    .service-item {
        padding: 30px 20px;
    }

    .icon-box {
        width: 60px;
        height: 60px;
    }

    .icon-box i {
        font-size: 28px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon i {
        font-size: 28px;
    }

    .contact-item i {
        font-size: 24px;
    }
}