/* ─────────────────────────────────────────
   PAGE QUALITY ASSURANCE — 品質保証体制
───────────────────────────────────────── */

/* ── Title band (teal strip, no hero image) ──
   Aligned with the breadcrumb container (same max-width/padding). */
.qa-title-band-wrap {
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 0 2rem;
}
.qa-title-band {
    display: inline-block;
    background: #4DB1AF;
    color: #fff;
    font-size: 26px; font-weight: 700;
    line-height: 1;
    padding: 18px 48px 18px 28px;
    margin: 0;
}

/* ── Page title + intro ── */
.qa-page-intro {
    /* padding-bottom: 24px; */
    margin-bottom: 24px;
}
.qa-page-title {
    font-size: 22px; font-weight: 700; color: #008F8D;
    line-height: 1.6; margin: 0 0 18px;
}
.qa-intro-body { font-size: 15px; color: #333F50; line-height: 1.9; margin: 0; }

/* ── Section ── */
.qa-section { margin-bottom: 56px; }
.qa-section-title {
    font-size: 19px; font-weight: 700; color: #333F50;
    border-bottom: 2px solid #008F8DB2;
    padding-bottom: 2px;
    margin: 0 0 28px;
}

/* Numbered sub-heading: 1）xxx with teal left bar */
.qa-num-heading {
    display: flex; align-items: center; gap: 10px;
    font-size: 16px; font-weight: 700; color: #333F50;
    /* border-left: 8px solid #008F8D; */
    border-bottom: 2px solid #D1E8E7;
    padding: 0 12px;
    margin: 32px 0 18px;
    position: relative;
}

.qa-num-heading::before {
    --padding: 5px;
    content: "";
    background: #008F8D;
    width: 6px;
    height: calc(80% - var(--padding));
    position: absolute;
    left: 0;
    bottom: var(--padding);
}

.qa-num { color: #333F50; font-weight: 700; }
.qa-section .qa-cert-item:first-of-type .qa-num-heading { margin-top: 0; }

.qa-text { font-size: 15px; color: #333F50; line-height: 1.9; margin: 0 0 16px; }

/* ── Cert items: image left + text right ── */
.qa-cert-item { margin-bottom: 40px; }
.qa-cert-row {
    display: flex; gap: 28px; align-items: flex-start;
}
.qa-cert-img {
    flex: 0 0 165px;
    width: 165px; height: auto;
    border: 2px solid #BFE3E2;
    border-radius: 12px;
    background: #fff;
}
.qa-cert-text { flex: 1; }
.qa-cert-text p {
    font-size: 15px; color: #333F50; line-height: 1.9;
    margin: 0 0 16px;
}
.qa-cert-text p:last-child { margin-bottom: 0; }

/* ISO mini table inside item 3
   border-collapse: separate is required — collapse discards border-radius. */
.qa-iso-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    font-size: 14px; margin-top: 18px;
}
.qa-iso-table th {
    background: #008F8D; color: #fff;
    font-weight: 700; padding: 10px 16px;
    text-align: center;
    border-bottom: 1px solid #fff;
    width: 140px; white-space: nowrap;
}
.qa-iso-table tr:last-child th { border-bottom: none; }
.qa-iso-table td {
    padding: 10px 16px;
    border: 1px solid #D9E2EC;
    border-top: none;
    color: #333F50; line-height: 1.6;
    background: #fff;
}
.qa-iso-table tr:first-child td { border-top: 1px solid #D9E2EC; border-top-right-radius: 12px; }
.qa-iso-table tr:last-child td  { border-bottom-right-radius: 12px; }
/* Text link + teal circle arrow (no button background) */
.qa-link-btn {
    display: inline-flex; align-items: center; gap: 10px;
    color: #008F8D;
    font-size: 15px; font-weight: 700;
    text-decoration: none;
}
.qa-link-btn::after {
    content: "→";
    flex: 0 0 24px; height: 24px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #008F8D; color: #fff;
    border-radius: 50%;
    font-size: 14px; line-height: 1;
}
.qa-link-btn:hover { text-decoration: underline; }

/* ── Checklist (mint panel, 2-col, green checks) ── */
.qa-checklist-intro {
    font-size: 15px; color: #333F50; line-height: 1.9;
    margin: 28px 0 18px;
}
.qa-checklist {
    background: #EBF5F0;
    border-radius: 10px;
    padding: 28px 36px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 32px;
}
.qa-checklist-item {
    display: flex; align-items: center; gap: 12px;
    font-size: 15px; font-weight: 700; color: #333F50;
    line-height: 1.5;
}
.qa-check-icon {
    flex: 0 0 24px;
    width: 24px; height: 24px;
}

/* ── Proficiency tables ── */
.qa-pt-source {
    font-size: 15px; color: #333F50; line-height: 1.8;
    margin: 24px 0 14px;
}
.qa-pt-table-wrap { overflow-x: auto; margin-bottom: 8px; }
/* border-collapse: separate is required — collapse discards border-radius. */
.qa-pt-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #D9E2EC;
    border-radius: 12px;
    overflow: hidden;
    font-size: 14px; min-width: 560px;
}
.qa-pt-table th {
    background: #008F8D; color: #fff; font-weight: 700;
    padding: 12px 16px; text-align: center;
    border: none;
}
.qa-pt-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #D9E2EC;
    color: #333F50; line-height: 1.6;
    vertical-align: top;
}
.qa-pt-table tr:last-child td { border-bottom: none; }

/* ── Org chart ── */
.qa-org-chart { text-align: center; margin-top: 28px; }
.qa-org-chart img { max-width: 700px; width: 100%; height: auto; }

/* ── Future section (今後の取組み) ── */
.qa-future { text-align: center; }
.qa-future-title {
    font-size: 36px; font-weight: 700; color: #008F8D;
}
.qa-future-sub {
    font-size: 28px; font-weight: 700; color: #333F50;
    margin: 0 0 18px;
}
.qa-future-text {
    font-size: 15px; color: #333F50; line-height: 1.9;
    margin: 0 0 24px;
}
/* Mint rounded panel, same look as the ISO checklist */
.qa-future-list {
    background: #EBF5F0;
    border-radius: 12px;
    padding: 32px 48px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    text-align: left;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .qa-checklist { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .qa-title-band { font-size: 20px; padding: 14px 32px 14px 20px; }
    .qa-cert-row   { flex-direction: column; }
    .qa-cert-img   { width: 140px; }
    .qa-page-title { font-size: 18px; }
    .qa-future-title { font-size: 20px; }
}
