/* ─────────────────────────────────────────
   PAGE WORK STYLE REFORM — 働き方改革に関する取り組み
───────────────────────────────────────── */

/* ── Title band (teal strip, same look as the QA page band) ── */
.wsr-title-band-wrap {
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 0 2rem;
}
.wsr-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;
}

/* ── Section: centered title with teal rules on both sides ── */
.wsr-section { margin-bottom: 64px; }
.wsr-section-title {
    display: flex; align-items: center; gap: 24px;
    font-size: 22px; font-weight: 700; color: #008F8D;
    text-align: center;
    margin: 0 0 28px;
}
.wsr-section-title::before,
.wsr-section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #008F8D;
}

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

/* ── Sub heading (登録 / 表彰 / 取組内容のご紹介 / 託児所) ── */
.wsr-sub-heading {
    font-size: 17px; font-weight: 700; color: #333F50;
    margin: 36px 0 18px;
}

/* ── Honor rows (badge/logo + year list) ── */
.wsr-honor-row {
    display: flex; align-items: center; gap: 36px;
    margin-bottom: 8px;
}
.wsr-honor-img { flex: 0 0 150px; width: 150px; height: auto; }
.wsr-honor-list { list-style: none; margin: 0; padding: 0; }
.wsr-honor-list li {
    display: flex; gap: 18px;
    font-size: 15px; color: #333F50; line-height: 2.1;
}
.wsr-honor-year { flex: 0 0 4.5em; }

/* ── 取組内容 table ──
   border-collapse: separate is required — collapse discards border-radius,
   and overflow:hidden clips the outer half of collapsed borders (outer border vanishes).
   Outer border lives on the table; cells only draw right/bottom to avoid doubles. */
.wsr-table-wrap { overflow-x: auto; }
.wsr-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px; min-width: 560px;
    border: 1px solid #D9E2EC;
    border-radius: 10px;
    overflow: hidden;
}
.wsr-table thead th {
    background: #EAF0F6; color: #333F50; font-weight: 700;
    padding: 12px 18px; text-align: left;
    border-bottom: 1px solid #D9E2EC;
}
.wsr-table thead th:first-child { border-right: 1px solid #D9E2EC; }
.wsr-table tbody th {
    width: 240px;
    padding: 14px 18px;
    border-bottom: 1px solid #D9E2EC;
    border-right: 1px solid #D9E2EC;
    color: #333F50; font-weight: 400; text-align: left;
    vertical-align: top; line-height: 1.7;
    background: #fff;
}
.wsr-table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid #D9E2EC;
    color: #333F50; line-height: 1.7;
    background: #fff;
}
.wsr-table tbody tr:last-child th,
.wsr-table tbody tr:last-child td { border-bottom: none; }

/* ── 託児所 (photo left + text right) ── */
.wsr-nursery-row {
    display: flex; gap: 32px; align-items: flex-start;
}
.wsr-nursery-img {
    flex: 0 0 200px;
    width: 200px; height: auto;
}
.wsr-nursery-text { flex: 1; }

/* ── データ公表 cards ── */
.wsr-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.wsr-card {
    border: 1px solid #7CC5C4;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    display: flex; flex-direction: column;
}
.wsr-card-head {
    background: #2E9D9B; color: #fff;
    font-size: 15px; font-weight: 700;
    text-align: center;
    padding: 12px 8px;
}
.wsr-card-body {
    display: flex; flex-direction: column; align-items: center;
    padding: 22px 16px 18px;
    flex: 1;
}
.wsr-card-icon { height: 64px; width: auto; margin-bottom: 14px; }
.wsr-card-value {
    font-size: 40px; font-weight: 700; color: #1B2A4A;
    line-height: 1.2;
}
.wsr-card-unit { font-size: 17px; font-weight: 700; margin-left: 6px; }
.wsr-card-sub  { font-size: 12px; color: #333F50; margin-top: 2px; }
.wsr-card-note { font-size: 12px; color: #333F50; margin-top: auto; padding-top: 16px; }
/* 育児休業取得率: 男性/女性 value rows */
.wsr-card-pair {
    display: flex; align-items: baseline; gap: 10px;
    line-height: 1.3;
}
.wsr-card-pair-label { font-size: 15px; font-weight: 700; color: #1B2A4A; }
.wsr-card-pair-value { font-size: 34px; font-weight: 700; color: #1B2A4A; }

/* ── Responsive ── */
@media (max-width: 1000px) {
    .wsr-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .wsr-title-band { font-size: 20px; padding: 14px 32px 14px 20px; }
    .wsr-section-title { font-size: 18px; gap: 14px; }
    .wsr-honor-row { flex-direction: column; align-items: flex-start; gap: 16px; }
    .wsr-nursery-row { flex-direction: column; }
    .wsr-nursery-img { width: 100%; flex-basis: auto; }
    .wsr-card-grid { grid-template-columns: 1fr; }
    .wsr-table tbody th { width: 160px; }
}
