/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    color: #0056b3;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #007bff;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ヘッダー */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #003366;
}

.contact-info {
    display: flex;
    align-items: center;
}

.contact-phone {
    margin-right: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #003366;
}

.contact-button {
    display: inline-block;
    background-color: #e86400;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: bold;
}

.contact-button:hover {
    background-color: #ff8c40;
    color: white;
}

/* ハンバーガーメニューの基本スタイル - デスクトップでは非表示 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 15px 20px;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

/* ハンバーガーメニューアニメーション */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* オーバーレイ */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}

/* ナビゲーション */
nav {
    background-color: #003366;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-weight: 500;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: #004c99;
}

/* メインビジュアル */
.main-visual {
    margin-top: 116px; /* ヘッダーの高さ分 */
    position: relative;
    height: 500px;
    background-image: url('top_photo.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
}

.visual-content {
    text-align: center;
    color: rgb(9, 9, 161);
    position: relative;
    z-index: 1;
}

.visual-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.visual-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* お知らせセクション */
.news-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 10px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #e86400;
}

.section-subtitle {
    font-size: 1rem;
    color: #6c757d;
}

.news-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #dee2e6;
}

.news-date {
    display: inline-block;
    margin-right: 15px;
    color: #6c757d;
}

.news-category {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-right: 15px;
}

/* メインコンテンツ */
main {
    margin-top: 116px;
    padding: 60px 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 116px);
}

.breadcrumb {
    background-color: #e9ecef;
    padding: 15px 0;
    margin-bottom: 30px;
    border-radius: 5px;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
}

.breadcrumb-list li {
    margin-right: 15px;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin-left: 15px;
    color: #6c757d;
}

/* ページヘッダー */
.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-subtitle {
    font-size: 1rem;
    color: #6c757d;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* 理事長挨拶ページ専用スタイル */
.greeting-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.greeting-text {
    font-size: 1.1rem;
    line-height: 2;
    color: #333;
    margin-bottom: 40px;
}

.greeting-signature {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #dee2e6;
}

.signature-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.signature-text {
    text-align: right;
    flex: 1;
}

.signature-photo {
    flex-shrink: 0;
}

.director-photo {
    width: 150px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #003366;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.signature-date {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.signature-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #003366;
    margin-bottom: 10px;
}

.signature-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #003366;
}

/* 会員名簿ページ専用スタイル */
.member-list-page {
    padding-top: 120px;
    padding-bottom: 100px;
}

.member-table {
    width: 90%;
    max-width: 1200px;
    table-layout: fixed;
    border-collapse: collapse;
    border: 1px solid #ddd;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.member-table th,
.member-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    overflow: hidden;
    word-wrap: break-word;
}

.member-table th {
    background-color: #003366;
    color: white;
    font-weight: bold;
}

/* 列幅の設定 */
.member-table .col-no {
    width: 40px;
}

.member-table .col-company {
    width: 180px;
}

.member-table .col-postal {
    width: 90px;
}

.member-table .col-address {
    width: 210px;
}

.member-table .col-representative {
    width: 100px;
}

.member-table .col-position {
    width: 70px;
}

.member-table .col-phone {
    width: 140px;
}

/* テキスト中央寄せ */
.text-center {
    text-align: center;
}

/* 組合概要ページ専用スタイル */
.overview-section,
.history-section,
.certification-section,
.documents-section {
    margin-bottom: 50px;
}

.overview-section .section-title,
.history-section .section-title,
.certification-section .section-title,
.documents-section .section-title {
    font-size: 1.8rem;
    color: #003366;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #e86400;
    position: relative;
}

.overview-section .section-title::before,
.history-section .section-title::before,
.certification-section .section-title::before,
.documents-section .section-title::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #003366;
}

.table-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 30px;
}

.overview-table,
.history-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.overview-table th,
.overview-table td,
.history-table th,
.history-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.overview-table th,
.history-table th {
    background-color: #003366;
    color: white;
    font-weight: bold;
    width: 25%;
}

.overview-table td,
.history-table td {
    background-color: #fff;
}

.overview-table tr:hover td,
.history-table tr:hover td {
    background-color: #f8f9fa;
}

.certification-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.certification-left,
.certification-right {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.certification-list {
    list-style: none;
    padding: 0;
}

.certification-list li {
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    line-height: 1.6;
}

.certification-list li:last-child {
    border-bottom: none;
}

/* 証明書・登録資格画像セクション */
.documents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.document-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.document-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.document-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.document-image:hover {
    transform: scale(1.02);
}

.document-caption {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    color: #003366;
    background-color: white;
    margin: 0;
    font-size: 0.9rem;
}

/* 事業内容ページ専用スタイル */
.business-content-section {
    margin-bottom: 50px;
}

.business-description {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.business-content-section .section-title {
    font-size: 1.5rem;
    color: #003366;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #e86400;
    position: relative;
}

.business-content-section .section-title::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #003366;
}

/* 共同受注事業テーブル */
.business-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
}

.business-table th,
.business-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    vertical-align: top;
}

.business-table th:last-child,
.business-table td:last-child {
    border-right: none;
}

.business-table tr:last-child th,
.business-table tr:last-child td {
    border-bottom: none;
}

.business-table th {
    background-color: #003366;
    color: white;
    font-weight: bold;
    width: 200px;
}

.business-table td {
    background-color: #fff;
    line-height: 1.8;
}

.business-table tr:hover td {
    background-color: #f8f9fa;
}

/* 業務項目リスト */
.business-item {
    margin-bottom: 8px;
    padding-left: 0;
}

.business-item::before {
    content: '•';
    color: #e86400;
    font-weight: bold;
    margin-right: 8px;
}

.business-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* 事業内容グリッドレイアウト */
.business-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.business-category {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 単一列の場合 */
.business-grid:has(.business-category:only-child) {
    grid-template-columns: 1fr;
    max-width: 600px;
}

/* リンクページ専用スタイル */
.link-section {
    margin-bottom: 50px;
}

.link-description {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: left;
    font-size: 1.1rem;
    color: #333;
}

.link-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.link-table td {
    padding: 15px;
    border: 1px solid #ccc;
    vertical-align: middle;
}

.link-name {
    background-color: #e6f3ff;
    font-weight: bold;
    width: 300px;
}

.link-url {
    background-color: #fff;
}

.link-url a {
    color: #ff6600;
    text-decoration: underline;
}

.link-url a:hover {
    color: #cc5200;
}

.link-placeholder {
    color: #666;
    font-style: italic;
}

/* モーダルスタイル */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.close:hover,
.close:focus {
    color: #000;
}

.meibo-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.meibo-link {
    color: #ff6600;
    text-decoration: underline;
    cursor: pointer;
}

.meibo-link:hover {
    color: #cc5200;
}

/* ナビゲーションボタンセクション */
.navigation-section {
    margin-top: 50px;
    padding: 40px 0;
}

.nav-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.nav-button-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.nav-circle-button {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 3px solid transparent;
}

.nav-circle-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.home-button {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    border-color: #2e5f8a;
}

.director-button {
    background: linear-gradient(135deg, #e84393, #d63384);
    border-color: #b02a5b;
}

.member-button {
    background: linear-gradient(135deg, #00b894, #00a085);
    border-color: #007965;
}

.link-button {
    background: linear-gradient(135deg, #e17055, #d63031);
    border-color: #a52831;
}

.link-button.active {
    border-color: #fff;
    box-shadow: 0 0 20px rgba(225, 112, 85, 0.5);
}

.nav-button-text {
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.2;
}

.nav-contact-button {
    background: linear-gradient(135deg, #fd7e14, #e85d00);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid #d14900;
}

.nav-contact-button:hover {
    background: linear-gradient(135deg, #e85d00, #d14900);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    color: white;
}

.nav-contact-text {
    font-size: 1rem;
}

/* フッター */
footer {
    background-color: #003366;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    text-align: center;
    padding-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-address {
    margin-bottom: 15px;
    line-height: 1.8;
}

.footer-contact {
    margin-bottom: 15px;
}

.footer-bottom {
    background-color: #002244;
    padding: 20px 0;
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* レスポンシブデザイン */
/* デスクトップ用ナビゲーション */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
    
    .nav-menu {
        display: flex !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background-color: transparent !important;
        flex-direction: row !important;
        padding-top: 0 !important;
        transition: none !important;
        box-shadow: none !important;
        left: auto !important;
        transform: none !important;
    }

    .nav-overlay {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .header-top {
        flex-direction: column;
    }

    .contact-info {
        margin-top: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
    }

    .nav-menu li {
        width: 50%;
    }

    .main-visual {
        margin-top: 180px;
        height: 400px;
    }

    main {
        margin-top: 180px;
    }

    .visual-title {
        font-size: 2rem;
    }

    .visual-subtitle {
        font-size: 1.1rem;
    }

    .greeting-content {
        padding: 30px;
    }

    .member-list-page {
        padding-top: 180px;
    }

    .page-header {
        padding-left: 20px;
    }

    .member-table {
        width: 95%;
    }

    .signature-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .signature-text {
        text-align: right;
        flex: 1;
    }

    .signature-photo {
        flex-shrink: 0;
    }

    .director-photo {
        width: 120px;
        height: 160px;
        object-fit: cover;
        border-radius: 8px;
        border: 2px solid #003366;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .certification-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .certification-left,
    .certification-right {
        padding: 20px;
    }

    .documents-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 15px;
    }

    .document-image {
        height: 200px;
    }

    .document-caption {
        padding: 8px;
        font-size: 0.8rem;
    }

    .overview-table th,
    .overview-table td,
    .history-table th,
    .history-table td {
        padding: 10px;
    }

    /* リンクページ - 992px以下 */
    .nav-button-row {
        gap: 25px;
    }

    .nav-circle-button {
        width: 80px;
        height: 80px;
    }

    .nav-button-text {
        font-size: 0.8rem;
    }

    .link-table td {
        padding: 10px;
    }

    .link-description {
        padding: 15px;
        font-size: 1rem;
    }

    /* 事業内容ページ - 992px以下 */
    .business-table th {
        width: 150px;
    }

    .business-table th,
    .business-table td {
        padding: 10px;
    }

    .business-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .business-category {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    /* ヘッダーの調整 */
    .header-top {
        flex-direction: row;
        padding: 10px 0;
    }

    .logo {
        font-size: 1.2rem;
    }

    .contact-info {
        margin-top: 0;
    }

    .contact-phone {
        display: none;
    }

    .contact-button {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    /* ハンバーガーメニューの表示 */
    .hamburger {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        cursor: pointer !important;
        padding: 15px 20px !important;
        background: none !important;
        border: none !important;
        z-index: 1001 !important;
        position: relative !important;
        width: 60px !important;
        height: 50px !important;
    }

    .hamburger span {
        width: 25px !important;
        height: 3px !important;
        background-color: white !important;
        margin: 2px 0 !important;
        transition: all 0.3s ease !important;
        transform-origin: center !important;
        display: block !important;
        border-radius: 1px !important;
    }

    /* ハンバーガーメニューアニメーション */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0 !important;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px) !important;
    }

    /* ナビゲーションメニューをモバイル用に調整 */
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 280px !important;
        height: 100vh !important;
        background-color: #003366 !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 80px 0 0 0 !important;
        margin: 0 !important;
        transition: left 0.3s ease !important;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3) !important;
        z-index: 999 !important;
        list-style: none !important;
        overflow-y: auto !important;
    }

    .nav-menu.active {
        left: 0 !important;
    }

    .nav-menu li {
        width: 100% !important;
        border-bottom: 1px solid #004c99 !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
    }

    .nav-menu li a {
        display: block !important;
        color: white !important;
        padding: 20px 25px !important;
        text-align: left !important;
        border-bottom: none !important;
        text-decoration: none !important;
        font-weight: 500 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        transition: background-color 0.3s ease !important;
    }

    .nav-menu li a:hover,
    .nav-menu li a.active {
        background-color: #004c99 !important;
    }

    .nav-overlay.active {
        display: block !important;
    }

    /* ヘッダーとナビゲーションの調整 */
    header {
        position: fixed !important;
        width: 100% !important;
        top: 0 !important;
        z-index: 1000 !important;
    }

    nav {
        background-color: #003366 !important;
        position: relative !important;
    }

    nav .container {
        position: relative !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
    }

    /* メインコンテンツの調整 */
    main {
        margin-top: 80px !important;
    }

    .main-visual {
        margin-top: 80px;
        height: 300px;
    }

    .visual-title {
        font-size: 1.8rem;
    }

    .visual-subtitle {
        font-size: 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .news-item {
        text-align: left;
    }

    .news-date,
    .news-category {
        display: block;
        margin-bottom: 5px;
    }

    .greeting-content {
        padding: 20px;
    }

    .greeting-text {
        font-size: 1rem;
        line-height: 1.8;
    }

    .member-list-page {
        padding-top: 80px;
    }

    .page-header {
        padding-left: 15px;
    }

    .member-table {
        width: 100%;
        font-size: 0.9rem;
    }

    .member-table th,
    .member-table td {
        padding: 6px;
    }

    /* モバイル向けの列幅調整 */
    .member-table .col-no {
        width: 30px;
    }

    .member-table .col-company {
        width: 150px;
    }

    .member-table .col-postal {
        width: 80px;
    }

    .member-table .col-address {
        width: 180px;
    }

    .member-table .col-representative {
        width: 80px;
    }

    .member-table .col-position {
        width: 60px;
    }

    .member-table .col-phone {
        width: 120px;
    }

    .documents-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
    }

    .document-image {
        height: 150px;
    }

    .document-caption {
        padding: 6px;
        font-size: 0.7rem;
    }

    .signature-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .signature-text {
        text-align: center;
        order: 2;
    }

    .signature-photo {
        order: 1;
    }

    .director-photo {
        width: 100px;
        height: 130px;
    }

    .certification-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .certification-left,
    .certification-right {
        padding: 20px;
    }

    .overview-table th,
    .overview-table td,
    .history-table th,
    .history-table td {
        padding: 8px;
        font-size: 0.9rem;
    }

    /* リンクページ - 768px以下 */
    .nav-button-row {
        gap: 15px;
    }

    .nav-circle-button {
        width: 70px;
        height: 70px;
    }

    .nav-button-text {
        font-size: 0.7rem;
    }

    .nav-contact-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .link-table td {
        padding: 8px;
        font-size: 0.9rem;
    }

    .link-name {
        width: auto;
    }

    .link-description {
        padding: 15px;
        font-size: 0.9rem;
    }

    .navigation-section {
        margin-top: 30px;
        padding: 20px 0;
    }

    /* モーダル - 768px以下 */
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 15px;
    }

    .close {
        top: 5px;
        right: 15px;
        font-size: 24px;
    }

    /* 事業内容ページ - 768px以下 */
    .business-description {
        padding: 20px;
        font-size: 1rem;
    }

    .business-table {
        font-size: 0.9rem;
    }

    .business-table th,
    .business-table td {
        padding: 8px;
    }

    .business-table th {
        width: 120px;
    }

    .business-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .business-category {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }

    .contact-button {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .nav-menu {
        width: 250px !important;
    }

    .hamburger {
        width: 50px !important;
        height: 45px !important;
    }

    .hamburger span {
        width: 20px !important;
        height: 2px !important;
    }

    .visual-title {
        font-size: 1.5rem;
    }

    .visual-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    /* ナビゲーションボタン - 480px以下 */
    .nav-button-row {
        gap: 10px;
    }

    .nav-circle-button {
        width: 60px;
        height: 60px;
    }

    .nav-button-text {
        font-size: 0.6rem;
    }

    .nav-contact-button {
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    /* 事業内容ページ - 480px以下 */
    .business-description {
        padding: 15px;
        font-size: 0.9rem;
    }

    .business-table {
        font-size: 0.8rem;
    }

    .business-table th,
    .business-table td {
        padding: 6px;
    }

    .business-table th {
        width: 100px;
    }

    .business-category {
        padding: 10px;
    }

    /* 証明書グリッド - 480px以下 */
    .documents-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .document-image {
        height: 120px;
    }

    .document-caption {
        padding: 4px;
        font-size: 0.6rem;
    }

    /* 組合概要テーブル - 480px以下 */
    .overview-table th,
    .overview-table td,
    .history-table th,
    .history-table td {
        padding: 6px;
        font-size: 0.8rem;
    }

    /* 理事長挨拶 - 480px以下 */
    .greeting-content {
        padding: 15px;
    }

    .greeting-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .director-photo {
        width: 80px;
        height: 100px;
    }

    .signature-date,
    .signature-title,
    .signature-name {
        font-size: 0.9rem;
    }

    /* 会員名簿 - 480px以下 */
    .member-table {
        font-size: 0.8rem;
    }

    .member-table th,
    .member-table td {
        padding: 4px;
    }

    .member-table .col-no {
        width: 25px;
    }

    .member-table .col-company {
        width: 120px;
    }

    .member-table .col-postal {
        width: 70px;
    }

    .member-table .col-address {
        width: 150px;
    }

    .member-table .col-representative {
        width: 70px;
    }

    .member-table .col-position {
        width: 50px;
    }

    .member-table .col-phone {
        width: 100px;
    }

    /* リンクページ - 480px以下 */
    .link-table td {
        padding: 6px;
        font-size: 0.8rem;
    }

    .link-description {
        padding: 10px;
        font-size: 0.8rem;
    }

    /* フッター - 480px以下 */
    .footer-logo {
        font-size: 1.2rem;
    }

    .footer-address,
    .footer-contact {
        font-size: 0.9rem;
    }
}