@charset "UTF-8";

*, *::before, *::after {
    box-sizing: border-box;
}

p {
    margin: 0;
}

/* ==========================================
   1. ルート設定・フォントサイズ切り替え制御
   ========================================== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html.font-large {
    font-size: 18px !important;
}

html.font-xlarge {
    font-size: 20px !important;
}

body.site-body {
    min-height: 100vh;
    padding: 1.5rem;
    width: 95vw;
    max-width: 95%; 
    margin-left: auto;
    margin-right: auto;
    background-color: #f9fafb;
    color: #1f2937;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI",
        "Yu Gothic", "Noto Sans JP", Meiryo, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    display: block;
}

@media (min-width: 768px) {
    body.site-body { padding: 2.5rem; }
}

/* ==========================================
   2. ヘッダー ＆ 文字サイズコントローラー
   ========================================== */
.site-header { 
    padding-top: 0.5rem; 
    padding-bottom: 0.75rem; 
    border-bottom: none;
    margin-bottom: 0;
}
.header-flex {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}
@media (min-width: 640px) {
    .header-flex {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.site-title { 
    font-size: 2rem; 
    font-weight: 800; 
    color: #111827; 
    letter-spacing: -0.025em; 
    margin: 0.67em 0;
}
@media (min-width: 768px) { .site-title { font-size: 2.5rem; } }
.site-subtitle { 
    font-size: 0.8125rem; 
    color: #6b7280; 
    margin-top: 0.25rem; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    font-weight: 600; 
}

.font-switcher {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    padding: 0.375rem 0.625rem;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}
.switcher-label {
    font-size: 0.75rem;
    color: #4b5563;
    font-weight: 600;
    margin-right: 0.25rem;
}
.font-btn {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid transparent;
    background-color: #f3f4f6;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s ease;
}
.font-btn:hover { background-color: #e5e7eb; }
.font-btn.active { background-color: #111827; color: #ffffff; }

.mobile-menu-button {
    display: none;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.55rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: #ffffff;
    color: #374151;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    justify-content: flex-end;
    background-color: rgba(15, 23, 42, 0.45);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-panel {
    display: flex;
    flex-direction: column;
    width: min(20rem, 100%);
    height: 100%;
    padding: 1rem;
    overflow-y: auto;
    background-color: #ffffff;
    box-shadow: -12px 0 30px -20px rgba(0, 0, 0, 0.4);
    -webkit-overflow-scrolling: touch;
}
.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}
.mobile-menu-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #111827;
}
.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 0.25rem;
    background-color: #f3f4f6;
    color: #374151;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}
.mobile-menu-close:hover { background-color: #e5e7eb; }
.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
}
.mobile-menu-nav a {
    display: block;
    padding: 0.5rem 0.25rem;
    border-radius: 0.25rem;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}
.mobile-menu-nav a:hover {
    background-color: #f9fafb;
    color: #111827;
}
.mobile-menu-nav a.is-sub {
    padding-left: 1.1rem;
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 500;
}
.mobile-menu-nav a.is-sub::before {
    content: "└ ";
    color: #9ca3af;
}
.mobile-menu-nav a.mobile-menu-back {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-weight: 500;
}
.mobile-menu-font {
    position: sticky;
    bottom: -1rem;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.375rem;
    margin-top: auto;
    padding: 0.75rem 0 1rem;
    border-top: 1px solid #e5e7eb;
    background-color: #ffffff;
}
.mobile-menu-font .switcher-label {
    margin-right: 0;
    font-size: 0.7rem;
}
.mobile-menu-font .font-btn { flex-shrink: 0; }

@media (min-width: 640px) {
    .mobile-menu-button { display: none; }
    .mobile-menu { display: none !important; }
}

/* ==========================================
   3. ヘッダーメニュー・レイアウト
   ========================================== */
.header-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: block;
    margin-top: 0;
    margin-bottom: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-top: none;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f9fafb;
}
.header-nav-row {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.header-nav-label {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #6b7280;
}
.header-nav-list {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 0.375rem;
    min-width: 0;
    margin: 0;
    padding: 0 0 0.25rem;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
}
.header-nav-list::-webkit-scrollbar { display: none; }
.header-nav-list li {
    flex: 0 0 auto;
    scroll-snap-align: start;
}
.header-nav-list a {
    display: block;
    padding: 0.35rem 0.65rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    background-color: #ffffff;
    color: #4b5563;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.header-nav-list a:hover {
    color: #111827;
    border-color: #9ca3af;
    background-color: #f9fafb;
}

.nav-item.nav-has-panel {
    display: flex;
    flex: 0 0 auto;
    align-items: stretch;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    background-color: #ffffff;
    overflow: hidden;
    scroll-snap-align: start;
}
.nav-item.nav-has-panel > .nav-link {
    display: flex;
    align-items: center;
    padding: 0.35rem 0.55rem 0.35rem 0.65rem;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.nav-item.nav-has-panel:hover {
    border-color: #9ca3af;
}
.nav-item.nav-has-panel:hover > .nav-link {
    color: #111827;
}
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    min-width: 1.75rem;
    padding: 0;
    border: 0;
    border-left: 1px solid #e5e7eb;
    background-color: #ffffff;
    color: #6b7280;
    font-size: 0;
    line-height: 1;
    cursor: pointer;
}
.nav-toggle::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 0.28rem solid transparent;
    border-bottom: 0.28rem solid transparent;
    border-left: 0.44rem solid currentColor;
    transition: transform 0.15s ease;
}
.nav-toggle[aria-expanded="true"]::before {
    transform: rotate(90deg);
}
.nav-toggle:hover {
    background-color: #f3f4f6;
    color: #111827;
}
.nav-toggle[aria-expanded="true"] {
    background-color: #eef2ff;
    color: #111827;
}

.nav-panel {
    position: absolute;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    width: max-content;
    max-width: calc(100vw - 2rem);
    max-height: min(70vh, 18rem);
    padding: 0.5rem 0.65rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    background-color: #ffffff;
    box-shadow: 0 8px 20px -16px rgba(15, 23, 42, 0.35);
    overflow-y: auto;
    scrollbar-width: thin;
}
.nav-panel[hidden] { display: none; }
.nav-panel-title {
    flex-shrink: 0;
    color: #374151;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}
.nav-panel-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-panel-list a {
    display: block;
    padding: 0.12rem 0;
    color: #6b7280;
    font-size: 0.72rem;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}
.nav-panel-list a:hover {
    color: #111827;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .header-nav-list {
        flex-wrap: wrap;
        overflow: visible;
        padding-bottom: 0;
    }
}

.layout-container {
    display: block;
}

section[id],
article[id] {
    scroll-margin-top: 6rem;
}

@media (min-width: 1024px) {
    .site-header,
    .header-nav,
    .site-main,
    .case-main {
        max-width: 1120px;
        margin-left: auto;
        margin-right: auto;
    }
}

.site-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
}

.site-footer { 
    padding-top: 4rem; 
    padding-bottom: 2rem; 
    text-align: center; 
    font-size: 0.8125rem; 
    color: #9ca3af; 
}

/* ==========================================
   4. カードおよび見出しの統一スタイル
   ========================================== */
.card {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
    scroll-margin-top: 2rem;
}

.profile-card,
.hub-card,
.infra-card,
.content-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media (min-width: 768px) {
    .profile-card, .hub-card, .infra-card, .content-card { padding: 2rem; }
}

.card-title-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 0.75rem;
}
.status-dot { 
    width: 0.5rem; 
    height: 0.5rem; 
    border-radius: 9999px; 
    background-color: #4b5563; 
    flex-shrink: 0; 
}

.card-title-bar h2,
.card-header-flex h2,
.nsp-header h2 { 
    font-size: 1.25rem; 
    font-weight: 700; 
    color: #111827; 
    letter-spacing: -0.01em;
}

.profile-text {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 1rem;
    color: #374151;
    line-height: 1.7;
}
.profile-text p,
.profile-text ul {
    margin: 0;
}
.profile-text ul {
    padding-left: 2.5rem;
}
.profile-text .notice-box {
    margin-top: 0.25rem;
}

.notice-box {
    color: #374151;
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    padding: 0.875rem;
    border-radius: 0.375rem;
}

.turnstile-widget {
    display: flex;
    align-items: flex-start;
}

/* リンク色を青色（#2563eb）に指定 */
.link-external {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    transition: color 0.15s ease;
}
.link-external:hover { color: #1d4ed8; }
.icon-ext { width: 0.875rem; height: 0.875rem; display: inline; flex-shrink: 0; }

.tags-container {
    padding-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
}
.tag {
    padding: 0.25rem 0.625rem;
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
}

.badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.25rem;
    background-color: #f3f4f6; 
    color: #111827; 
    border: 1px solid #d1d5db;
}
.badge-muted { 
    background-color: #f9fafb; 
    color: #6b7280; 
    border-radius: 9999px; 
    font-size: 0.8125rem; 
    font-weight: 400; 
    padding: 0.25rem 0.625rem; 
    border: 1px solid #e5e7eb; 
}

.card-header-flex { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.desc-text { font-size: 1rem; color: #4b5563; line-height: 1.7; margin: 0; }
.hub-desc {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.card-doc-actions { margin-top: 0.25rem; }

/* ==========================================
   5. サムネイル画像プレビュー領域（小さく固定）
   ========================================== */
.thumbnail-wrapper { margin-top: 0.75rem; }
.thumbnail-note { font-size: 0.85rem; color: #9ca3af; margin-bottom: 0.375rem; }
.thumbnail-box {
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background-color: #f3f4f6;
    max-width: 420px;
    height: 13rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 768px) { .thumbnail-box { height: 14rem; } }
.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: opacity 0.2s ease;
}
.thumbnail-box:hover .thumbnail-img { opacity: 0.9; }

.thumbnail-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thumbnail-box:hover .thumbnail-overlay { background-color: rgba(0, 0, 0, 0.2); }

.preview-btn {
    opacity: 0;
    background-color: rgba(17, 24, 39, 0.9);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.875rem;
    border-radius: 0.25rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.thumbnail-box:hover .preview-btn { opacity: 1; }
.icon-search { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }

/* ==========================================
   6. NSPセクション固有スタイル
   ========================================== */
.nsp-card { overflow: hidden; }
.nsp-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #d1d5db;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #f9fafb;
}

@media (min-width: 640px) {
    .nsp-header { 
        flex-direction: row; 
        align-items: center; 
        justify-content: space-between; 
        gap: 1.5rem;
    }
    .nsp-header > div:first-child {
        flex: 1;
        min-width: 0;
    }
}

.nsp-header h2 { 
    font-size: 1.25rem; 
    font-weight: 700; 
    color: #111827; 
    letter-spacing: -0.01em;
    white-space: normal; 
    word-break: break-all;
}

.nsp-subtitle { font-size: 0.85rem; color: #6b7280; margin-top: 0.125rem; }

.btn-group { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.625rem; 
    width: 100%; 
    flex-shrink: 0; 
}
@media (min-width: 640px) { 
    .btn-group { 
        flex-wrap: nowrap; 
        width: auto; 
    } 
}

.btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0.375rem;
    transition: background-color 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}
@media (min-width: 640px) { .btn { flex: none; } }

.btn-primary { background-color: #111827; color: #ffffff; }
.btn-primary:hover { background-color: #1f2937; }
.btn-secondary { background-color: #ffffff; border: 1px solid #d1d5db; color: #374151; }
.btn-secondary:hover { background-color: #f9fafb; }

.icon-arrow, .icon-faq { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }
.icon-arrow { margin-left: 0.25rem; }
.icon-faq { margin-right: 0.375rem; color: #6b7280; }

.nsp-content { padding: 1.5rem; display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .nsp-content { padding: 2rem; } }

.nsp-section { scroll-margin-top: 2rem; }

.section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    border-left: 4px solid #111827;
    padding-left: 0.75rem;
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
}
.section-text { line-height: 1.7; color: #374151; padding-left: 0.25rem; font-size: 1rem; margin-top: 0.5rem; }

.feature-list {
    list-style: disc;
    list-style-position: inside;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding-left: 0.25rem;
    line-height: 1.625;
    color: #374151;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.sub-header { border-bottom: 1px solid #e5e7eb; padding-bottom: 0.5rem; }
.tool-intro {
    line-height: 1.625;
    font-weight: 500;
    color: #111827;
    background-color: #f9fafb;
    padding: 0.875rem;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
    margin-top: 0.75rem;
    font-size: 1rem;
}

.grid-2col { display: grid; gap: 1rem; padding-top: 0.5rem; }
@media (min-width: 768px) { .grid-2col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.detail-box {
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 1rem;
}
.detail-summary {
    font-weight: 700;
    color: #111827;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}
.detail-summary::-webkit-details-marker { display: none; }

.dot { width: 0.5rem; height: 0.5rem; border-radius: 9999px; display: inline-block; flex-shrink: 0; }
.dot-emerald { background-color: #111827; }
.dot-amber { background-color: #4b5563; }

.title-emerald { display: flex; align-items: center; gap: 0.375rem; color: #111827; }
.title-amber { display: flex; align-items: center; gap: 0.375rem; color: #374151; }

.arrow-icon { color: #9ca3af; transition: transform 0.2s ease; flex-shrink: 0; }
details[open] .arrow-icon { transform: rotate(180deg); }

.detail-list {
    list-style: disc;
    list-style-position: inside;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 0.25rem;
    padding-top: 0.75rem;
    line-height: 1.625;
    font-size: 1rem;
    color: #374151;
}
.detail-list.text-muted { color: #4b5563; }

.summary-box {
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    padding: 0.875rem 1rem;
    border-radius: 0.375rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    color: #1f2937;
    font-size: 1rem;
    margin-top: 1rem;
}
.summary-title { 
    font-weight: 700; 
    color: #111827; 
    font-size: 1.05rem; 
    margin-bottom: 0.25rem; 
}

/* ==========================================
   7. モーダル表示領域（100vw/100vhベースで画面いっぱいに表示）
   ========================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    padding: 0;
}
.modal-overlay.hidden { display: none; }
.modal-overlay.flex { display: flex; }

.modal-card {
    position: relative;
    width: 100vw;
    height: 100vh;
    max-width: none;
    background-color: #ffffff;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: none;
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    background-color: #111827;
    color: #ffffff;
    flex-shrink: 0;
}
.modal-title { font-size: 0.95rem; font-weight: 500; }
.modal-close-btn { color: #9ca3af; font-size: 1rem; font-weight: 700; padding: 0.25rem 0.5rem; cursor: pointer; }
.modal-close-btn:hover { color: #ffffff; }

.modal-body {
    padding: 1rem;
    background-color: #030712;
    overflow: auto;
    flex: 1;
    display: block;
    -webkit-overflow-scrolling: touch;
}

.modal-img { 
    display: block;
    width: auto; 
    height: auto; 
    max-width: none; 
    max-height: none; 
    margin: 0 auto;
}

/* ==========================================
   8. スマホ（639px以下）専用の最適化レイアウト
   ========================================== */
@media (max-width: 639px) {
    body.site-body {
        padding: 0.75rem;
        width: 100vw;
        max-width: 100%;
    }

    .profile-card,
    .hub-card,
    .infra-card,
    .content-card,
    .nsp-header,
    .nsp-content {
        padding: 1rem;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
    }

    body.site-body {
        overflow-x: hidden;
    }
    .site-header {
        position: sticky;
        top: 0;
        z-index: 45;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #e5e7eb;
        background-color: #f9fafb;
    }
    .site-subtitle {
        display: none;
    }
    .site-title {
        margin: 0;
    }
    .header-flex {
        gap: 0.75rem;
    }
    .header-nav,
    .font-switcher {
        display: none;
    }
    .mobile-menu-button {
        position: absolute;
        top: 0.5rem;
        right: 0;
        z-index: 1;
        display: inline-flex;
        box-shadow: 0 4px 12px -6px rgba(15, 23, 42, 0.35);
    }
}
/* ==========================================
   テーブル（費用相場表）のキッチリスタイル
   ========================================== */
.content-card table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    overflow: hidden;
    margin: 1rem 0;
    font-size: 0.95rem;
}

/* ヘッダー（見出し行） */
.content-card th {
    background-color: #f3f4f6;
    color: #111827;
    font-weight: 700;
    padding: 0.75rem 1rem;
    text-align: left; /* 全列左揃え */
    border-bottom: 2px solid #d1d5db;
    white-space: nowrap;
}

/* ボディ（データ行） */
.content-card td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    vertical-align: middle;
    text-align: left; /* 全列左揃え */
}

/* 最後の行のボーダーを消す */
.content-card tr:last-child td {
    border-bottom: none;
}

/* 1行おきに薄いグレー背景（ゼブラ表示） */
.content-card tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

/* ホバー時の強調表示 */
.content-card tbody tr:hover {
    background-color: #f3f4f6;
}

/* 各列のテキスト配置指定（左揃えに統一・強調） */
.content-card td:nth-child(2) {
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.content-card td:nth-child(3) {
    text-align: left;
    white-space: nowrap;
}

/* スマホ表示の崩れ防止（横スクロール対応） */
@media (max-width: 639px) {
    .content-card {
        overflow-x: auto;
    }
}