/* ===========================================
   テーブル表示用 CSS
   助成金情報テーブルとよくある質問のスタイル
   =========================================== */

/* 助成金情報テーブル
   =========================================== */
.nc-acf-table-support-wrap {
    margin: 2em 0;
    overflow-x: auto;
}

.nc-acf-table-support {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nc-acf-table-support thead {
    background: #2db6b91a;
    color: #000;
}

.nc-acf-table-support th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.nc-acf-table-support tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s;
}

.nc-acf-table-support tbody tr:hover {
    background-color: #f7fafc;
}

.nc-acf-table-support td {
    padding: 12px 15px;
    font-size: 14px;
    line-height: 1.6;
}

.nc-acf-table-support .nc-acf-table-support__area {
    min-width: 100px;
    font-weight: 500;
}


.nc-acf-table-support .nc-acf-table-support__agency {
    min-width: 150px;
}

.nc-acf-table-support .nc-acf-table-support__content {
    min-width: 250px;
}

.nc-acf-table-support .nc-acf-table-support__content a {
    color: #2563eb;
    text-decoration: underline;
}

.nc-acf-table-support .nc-acf-table-support__content a:hover {
    color: #1d4ed8;
}

.nc-acf-table-support .nc-acf-table-support__end-date {
    min-width: 100px;
    white-space: nowrap;
    color: #000;
    font-weight: 500;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .nc-acf-table-support-wrap {
        margin: 1.5em -15px;
        padding: 0 15px;
    }
    
    .nc-acf-table-support {
        font-size: 13px;
    }
    
    .nc-acf-table-support th,
    .nc-acf-table-support td {
        padding: 10px 8px;
    }
}

/* サポートテーブル用コントロール */
.nc-acf-table-controls {
    display:flex;
    gap:8px;
    align-items:center;
    flex-wrap:wrap;
    margin-bottom:20px;
}
.nc-acf-table-controls label{font-size:13px;color:#444}

/* ヘルプテキスト（検索ヒント） */
.nc-support-help {
    width:100%;
    margin-bottom:15px;
    color:#666;
    font-size:13px;
    text-align:left;
}

/* ページング・表示件数 */
.nc-support-page-size {
    margin-left:6px;
    padding:4px 6px;
    font-size:13px;
}
.nc-support-pager {
    display:inline-flex;
    gap:6px;
    align-items:center;
    margin-top:8px;
}
.nc-support-pager button {
    background:#fff;
    border:1px solid #e2e8f0;
    padding:6px 8px;
    border-radius:4px;
    cursor:pointer;
}
.nc-support-pager button[disabled] {
    opacity:0.6;
    cursor:default;
}

/* クイック表示件数ボタン */
.nc-support-quicksize-select {
    display:inline-flex;
    gap:6px;
    align-items:center;
    margin-left:8px;
}
.nc-support-quicksize-select label{font-size:13px;color:#444}
.nc-support-quicksize-dropdown{
    margin-left:6px;
    padding:4px 6px;
    font-size:13px;
    border:1px solid #e2e8f0;
    border-radius:4px;
    background:#fff;
}

