/* 災害派遣実績ページ専用スタイル */

/* セクション全体 */
.deployment-section {
    padding: 40px 0;
    background-color: #fff;
}

/* サイドバー */
.deployment-section .section-sidebar {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    min-height: 100%;
}

.deployment-section .sidebar-line {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.deployment-section .sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    align-self: flex-start;
}

/* 戻るボタンはcommon.cssのスタイルを使用 */

.deployment-section .sidebar-title {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-weight: 600;
    color: #2f7340;
    width: 100%;
}

.deployment-section .sidebar-title h2 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 3.2px;
    line-height: 1.8;
    color: #2f7340;
    margin: 0;
}

.deployment-section .sidebar-subtitle {
    font-size: 0px;
    letter-spacing: 14.4px;
    line-height: 1.8;
    white-space: nowrap;
    font-weight: 600;
    color: #2f7340;
}

.deployment-section .large-text {
    font-size: 32px;
    font-weight: 600;
    color: #2f7340;
    letter-spacing: 12.8px;
    line-height: 1.8;
}

.deployment-section .small-text {
    font-size: 24px;
    letter-spacing: 9.6px;
    color: #2f7340;
    line-height: 1.8;
}

/* サイドバーの区切り線はcommon.cssのスタイルを使用 */

.deployment-section .section-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 72px;
    box-sizing: border-box;
}

/* メインコンテンツ */
.deployment-section .section-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 848px;
    flex-shrink: 0;
    position: relative;
}

/* イントロテキスト */
.deployment-intro {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 2.4;
    color: #2f7340;
}

/* 支援概要セクション */
.support-overview,
.monthly-overview,
.municipality-overview,
.deployment-images {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.support-overview h3,
.monthly-overview h3,
.municipality-overview h3,
.deployment-images h3 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 3.12px;
    line-height: 1.8;
    color: #2f7340;
}

/* 年セクション */
.year-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.year-section h4 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 3.2px;
    line-height: 1.8;
    color: #2f7340;
}

/* 表スタイル */
.overview-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #2f7340;
    background-color: #2f7340;
    margin-bottom: 16px;
    table-layout: fixed;
}

.overview-table td {
    padding: 10px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 3.2px;
    line-height: 1.55;
    color: #2f7340;
    text-align: center;
    background-color: white;
    border: 1px solid #2f7340;
}

.overview-table td:first-child {
    width: 180px;
}

.overview-table td:nth-child(2) {
    width: 140px;
    white-space: nowrap;
}

.overview-table td:last-child {
    width: auto;
    text-align: left;
}

.overview-table td.header {
    background-color: #eef0ed;
    font-size: 16px;
    letter-spacing: 1px;
}

.overview-table .nowrap {
    white-space: nowrap;
}
/* 年月別表 */
.monthly-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #2f7340;
    background-color: #2f7340;
    margin-bottom: 16px;
}

.monthly-table th,
.monthly-table td {
    padding: 6px 4px;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.55;
    color: #2f7340;
    text-align: center;
    background-color: white;
    border: 1px solid #2f7340;
}

.monthly-table th {
    background-color: #eef0ed;
    font-size: 12px;
    letter-spacing: 1.2px;
}

.monthly-table td.header {
    background-color: #eef0ed;
    font-size: 12px;
    letter-spacing: 1.2px;
}

/* 支援側自治体別表 */
.municipality-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #2f7340;
    background-color: #2f7340;
    margin-bottom: 16px;
}

.municipality-table th,
.municipality-table td {
    padding: 6px 4px;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.55;
    color: #2f7340;
    text-align: center;
    background-color: white;
    border: 1px solid #2f7340;
}

.municipality-table th {
    background-color: #eef0ed;
    font-size: 12px;
    letter-spacing: 1.2px;
}

.municipality-table td.facility-name {
    text-align: left;
}

/* 出動・設置・運用の模様 */
.deployment-images {
    margin-bottom: 40px;
}

.deployment-images h3 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2.4px;
    line-height: 1.5;
    color: #2f7340;
    margin-bottom: 24px;
}

.image-gallery {
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 16px;
    height: 600px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item.large-image {
    grid-row: 2 / 4;
    grid-column: 4;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 過去の災害派遣実績セクション */
.past-deployments-section {
    padding: 80px 0;
    background-color: white;
}

.past-deployments-section .section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 0px 0;
    display: flex;
    gap: 72px;
}

.past-deployments-section .section-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: relative;
    min-height: 100%;
}

.past-deployments-section .sidebar-line {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.past-deployments-section .line-dot {
    width: 8px;
    height: 8px;
    background-color: #2f7340;
    border-radius: 50%;
    flex-shrink: 0;
}

.past-deployments-section .line-vertical {
    flex: 1;
    width: 1px;
    background-color: #2f7340;
}

.past-deployments-section .sidebar-title h2 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 3.2px;
    line-height: 1.8;
    color: #2f7340;
    margin: 0;
}

.past-deployments-section .sidebar-subtitle {
    font-size: 0px;
    letter-spacing: 10.4px;
    line-height: 1.8;
    white-space: nowrap;
    font-weight: 600;
    color: #2f7340;
}

.past-deployments-section .large-text {
    font-size: 30px;
    font-weight: 600;
    color: #2f7340;
}

.past-deployments-section .small-text {
    font-size: 24px;
    letter-spacing: 9.6px;
    color: #2f7340;
}

.past-deployments-section .section-main {
    flex: 1;
    min-width: 0;
}

.past-deployments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.deployment-card {
    background-color: transparent;
    border: none;
    padding: 0;
}

.card-header {
    margin-bottom: 16px;
}

.card-header h4 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1.8px;
    line-height: 1.4;
    color: #2f7340;
    margin: 0;
}

.card-content {
    margin-bottom: 16px;
}

.card-content p {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.4px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 8px;
}

.card-images {
    display: flex;
    gap: 8px;
}

.card-image {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

/* 年セクション */
.year-section {
    margin-bottom: 32px;
}

.year-section h4 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 3.2px;
    line-height: 1.8;
    color: #2f7340;
    margin-bottom: 8px;
}

/* 注釈 */
.note {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2.8px;
    line-height: 1.55;
    color: #2f7340;
}

/* 画像ギャラリー */
.deployment-images {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.image-gallery {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 24px;
    height: 479px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* 過去の災害派遣実績 */
.past-deployments {
    padding: 0 0 160px 0;
    background-color: #fff;
}

.past-deployments .section-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 72px;
    box-sizing: border-box;
}

.past-deployments .section-main {
    display: flex;
    flex-direction: column;
    gap: 80px;
    width: 848px;
    flex-shrink: 0;
    position: relative;
}

.past-deployments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 223px);
    gap: 40px;
}

.deployment-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-header {
    width: 100%;
    background-color: #2f7340;
    padding: 8px 10px;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-header h4 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2.08px;
    line-height: 1.8;
    color: white;
    text-align: center;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.card-content p {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2.4px;
    line-height: 1.55;
    color: #232a22;
    margin: 0;
}

.card-images {
    display: flex;
    gap: 16px;
    width: 100%;
}

.card-image {
    flex: 1;
    aspect-ratio: 300/200;
    object-fit: cover;
    border-radius: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .deployment-section .section-container,
    .past-deployments .section-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .deployment-section .section-main,
    .past-deployments .section-main {
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 1fr);
    }
    
    .past-deployments-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(10, auto);
        height: auto;
    }
}