/* css/about.css - 「組合について」ページ専用スタイル */

/* ページヘッダー */
.page-header {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 4rem 1rem;
    text-align: center;
    margin-top: var(--header-height);
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
}

/* ご挨拶セクション */
.philosophy-section {
    padding: 4rem 0;
    background-color: #fff;
}
.philosophy-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}
.philosophy-text {
    flex: 1;
}
.philosophy-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}
.philosophy-image {
    flex: 0 0 300px;
}
.philosophy-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* メリットセクション */
.benefits-section {
    padding: 4rem 0;
    background-color: var(--bg-color);
}
.benefits-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--heading-color);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.benefit-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* 組合概要セクション */
.company-info-section {
    padding: 4rem 0;
    background-color: #fff;
}
.company-info-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--heading-color);
}
.table-container {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}
.company-info-section table {
    width: 100%;
    border-collapse: collapse;
}
.company-info-section th, .company-info-section td {
    border: 1px solid var(--border-color);
    padding: 1rem;
    text-align: left;
}
.company-info-section th {
    background-color: var(--bg-color);
    font-weight: 700;
    width: 30%;
}
.company-info-section td a {
    color: var(--link-color);
    text-decoration: underline;
}

/* 沿革セクション */
.history-section {
    padding: 4rem 0;
    background-color: var(--bg-color);
}
.history-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--heading-color);
}
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 4px;
    background: var(--primary-color);
    opacity: 0.3;
}
.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 50px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--bg-color);
}
.timeline dt {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--heading-color);
}
.timeline dd {
    margin-top: 0.3rem;
    color: var(--text-color);
}

/* アクセスセクション */
.access-section {
    padding: 4rem 0;
    background-color: #fff;
}
.access-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--heading-color);
}
.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-header {
        padding: 3rem 1rem;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }

    .philosophy-content {
        flex-direction: column-reverse; /* スマホでは画像を上に */
        gap: 2rem;
    }
    .philosophy-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .company-info-section th, .company-info-section td {
        display: block;
        width: 100%;
        border-bottom: none;
    }
    .company-info-section th {
        border-bottom: 2px solid var(--primary-color);
    }
    .company-info-section tr:not(:last-child) td {
        border-bottom: 1px solid var(--border-color);
    }
}