/* 司工業所「健康経営への取り組み」レスポンシブHTML専用CSS */
.ts-health {
  --ts-blue: #155e9a;
  --ts-blue-dark: #123d62;
  --ts-blue-pale: #eef6fc;
  --ts-green: #16836b;
  --ts-green-dark: #126451;
  --ts-green-pale: #edf8f3;
  --ts-ink: #243548;
  --ts-muted: #607184;
  --ts-line: #d9e5ed;
  max-width: 1080px;
  margin: 0 auto;
  color: var(--ts-ink);
  line-height: 1.9;
  font-size: 16px;
  font-family: inherit;
}
.ts-health * { box-sizing: border-box; }
.ts-health p { margin: 0 0 1.15em; }
.ts-health h1, .ts-health h2, .ts-health h3 { line-height: 1.45; letter-spacing: .01em; }
.ts-health h1 { margin: 0 0 18px; font-size: clamp(29px, 4vw, 44px); color: var(--ts-blue-dark); }
.ts-health h2 {
  position: relative;
  margin: 0 0 25px;
  padding: 0 0 15px;
  border-bottom: 1px solid var(--ts-line);
  color: var(--ts-blue-dark);
  font-size: clamp(23px, 3vw, 31px);
}
.ts-health h2:after { content: ""; position: absolute; bottom: -2px; left: 0; width: 78px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ts-blue), var(--ts-green)); }
.ts-health h3 { margin: 32px 0 14px; padding-left: 13px; border-left: 4px solid var(--ts-green); color: var(--ts-blue-dark); font-size: 20px; }
.ts-health-hero {
  position: relative; overflow: hidden;
  margin: 0 0 36px; padding: clamp(30px, 5vw, 62px);
  border: 1px solid #d9e8f0; border-radius: 18px;
  background: linear-gradient(125deg, #eef6fc 0%, #f5fbf8 58%, #e8f6ef 100%);
  box-shadow: 0 12px 30px rgba(18, 61, 98, .06);
}
.ts-health-hero:after { content: ""; position: absolute; width: 220px; height: 220px; right: -75px; bottom: -100px; border: 30px solid rgba(22,131,107,.08); border-radius: 50%; pointer-events: none; }
.ts-health-hero > * { position: relative; z-index: 1; }
.ts-health-eyebrow { color: var(--ts-green-dark); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.ts-health-lead { color: var(--ts-blue-dark); font-size: clamp(18px, 2.5vw, 24px); font-weight: 750; }
.ts-health-kicker { margin-bottom: 8px !important; color: var(--ts-green-dark); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.ts-health-section { margin: 0 0 58px; scroll-margin-top: 30px; }
.ts-health-nav { margin: 0 0 50px; padding: 25px 28px; border: 1px solid var(--ts-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(18,61,98,.045); }
.ts-health-nav strong { color: var(--ts-blue-dark); letter-spacing: .14em; }
.ts-health-nav ul { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 14px 0 0; padding-left: 20px; }
.ts-health a { color: var(--ts-blue); text-decoration: underline; text-underline-offset: 3px; }
.ts-health a:hover { color: var(--ts-green-dark); }
.ts-health-signature { margin-top: 28px !important; text-align: right; font-weight: 700; }
.ts-health-highlight { margin: 26px 0; padding: 26px; border: 1px solid #cce6dc; border-left: 5px solid var(--ts-green); border-radius: 0 12px 12px 0; background: var(--ts-green-pale); }
.ts-health-highlight-label { margin-bottom: 5px !important; color: var(--ts-green-dark); font-weight: 750; }
.ts-health-number { color: var(--ts-blue-dark); font-size: 22px; }
.ts-health-number strong { color: var(--ts-green-dark); font-size: 38px; }
.ts-health-note { color: var(--ts-muted); font-size: 13px; }
.ts-health-list { padding-left: 1.5em; }
.ts-health-list li { margin-bottom: 9px; padding-left: 5px; }
.ts-health-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px 0; }
.ts-health-card { padding: 23px; border: 1px solid var(--ts-line); border-top: 4px solid var(--ts-green); border-radius: 12px; background: #fff; box-shadow: 0 7px 20px rgba(18,61,98,.045); }
.ts-health-card h3 { margin-top: 0; }
.ts-health-card ul { margin-bottom: 0; padding-left: 1.3em; }
.ts-health-card li { margin-bottom: 7px; }
.ts-health-stat { margin: 24px 0; padding: 28px; text-align: center; border: 1px solid #d3e5f1; border-radius: 14px; background: linear-gradient(135deg, var(--ts-blue-pale), var(--ts-green-pale)); }
.ts-health-stat-number { margin-bottom: 0 !important; color: var(--ts-green-dark); font-size: 50px; font-weight: 850; line-height: 1.2; }
.ts-health-stat-label { margin: 8px 0 0 !important; color: var(--ts-blue-dark); font-weight: 750; }
.ts-health-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin: 22px 0; }
.ts-health-metric { display: flex; flex-direction: column; justify-content: center; min-height: 130px; padding: 18px 12px; text-align: center; border: 1px solid var(--ts-line); border-radius: 12px; background: #f8fbfd; }
.ts-health-metric:nth-child(even) { background: #f4fbf7; }
.ts-health-metric strong { display: block; color: var(--ts-blue); font-size: 29px; line-height: 1.35; }
.ts-health-metric span { display: block; margin-top: 8px; font-size: 13px; }
.ts-health-table-wrap { overflow-x: auto; }
.ts-health-table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--ts-line); border-radius: 10px; margin: 18px 0; }
.ts-health-table th, .ts-health-table td { padding: 13px 16px; border-right: 1px solid var(--ts-line); border-bottom: 1px solid var(--ts-line); text-align: left; }
.ts-health-table th:last-child, .ts-health-table td:last-child { border-right: 0; }
.ts-health-table tbody tr:last-child th, .ts-health-table tbody tr:last-child td { border-bottom: 0; }
.ts-health-table thead th { color: var(--ts-blue-dark); background: var(--ts-blue-pale); }
.ts-health-table tbody th { background: #f7fafc; }
.ts-health-placeholder { padding: 20px; border: 1px dashed #c69a46; border-radius: 10px; background: #fffaf0; }
.ts-health-placeholder p:last-child { margin-bottom: 0; }
.ts-health-footer { margin-top: 56px; padding: 30px; text-align: center; border: 1px solid #d6e9e1; border-top: 4px solid var(--ts-green); border-radius: 12px; background: linear-gradient(120deg, #f1f7fc, #eff9f4); }
.ts-health-footer p:first-child { color: var(--ts-blue-dark); font-weight: 800; }
.ts-health-figure { margin: 22px 0; text-align: center; }
.ts-health-figure img { display: block; width: 100%; max-width: 100%; height: auto; margin: 0 auto; border: 0; border-radius: 8px; }
.ts-health-figure figcaption { margin-top: 8px; color: var(--ts-muted); font-size: 13px; text-align: center; }
.ts-health-figure-wide img { max-width: 900px; }
.ts-health-image-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; margin: 24px 0; }
.ts-health-image-grid .ts-health-figure { margin: 0; }
.ts-health-image-grid-narrow { grid-template-columns: minmax(0, 480px); justify-content: center; }
.ts-health-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ts-health-news-grid img { max-width: 300px; }
@media (max-width: 680px) {
  .ts-health { font-size: 15px; }
  .ts-health-cards, .ts-health-metrics, .ts-health-image-grid, .ts-health-news-grid { grid-template-columns: 1fr; }
  .ts-health-nav { padding: 20px; }
  .ts-health-nav ul { display: block; }
  .ts-health-nav li { margin-bottom: 7px; }
  .ts-health-card { padding: 18px; }
  .ts-health-table th, .ts-health-table td { padding: 10px; white-space: nowrap; }
  .ts-health-image-grid-narrow { grid-template-columns: 1fr; }
  .ts-health-news-grid img { max-width: 260px; }
}

/* Standalone page shell */
:root { color-scheme: light; scroll-behavior: smooth; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: #fff; color: #243548; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; }
.site-header { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:14px clamp(18px, 4vw, 54px); border-bottom:1px solid #d9e5ed; background:rgba(255,255,255,.97); }
.site-brand { display:flex; align-items:center; gap:12px; text-decoration:none !important; color:#123d62 !important; min-width:0; }
.brand-mark { display:grid; place-items:center; flex:0 0 42px; width:42px; height:42px; border-radius:50%; color:#fff; font-weight:800; background:linear-gradient(145deg,#155e9a,#16836b); }
.brand-copy { display:flex; flex-direction:column; line-height:1.25; }
.brand-copy strong { font-size:17px; letter-spacing:.03em; }
.brand-copy small { margin-top:4px; font-size:9px; letter-spacing:.1em; color:#607184; }
.site-nav { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:8px 22px; }
.site-nav a { color:#243548; font-size:13px; font-weight:650; text-decoration:none; padding:8px 0; }
.site-nav a:hover, .site-nav .site-nav-current { color:#155e9a; }
.site-nav .site-nav-current { border-bottom:3px solid #16836b; }
main { padding: clamp(18px, 3vw, 38px); }
.skip-link { position:absolute; left:-9999px; top:auto; }
.skip-link:focus { left:12px; top:12px; z-index:999; padding:10px 14px; background:#fff; border:2px solid #155e9a; }
.back-top { max-width:1080px; margin:0 auto 24px; text-align:right; }
.back-top a { color:#155e9a; font-size:14px; }
.ts-health-hero { background-image: radial-gradient(circle at 88% 20%, rgba(22,131,107,.12), transparent 24%), linear-gradient(125deg, #eef6fc 0%, #f5fbf8 58%, #e8f6ef 100%); }
.ts-health img { max-width:100%; }
@media (max-width: 760px) {
  .site-header { align-items:flex-start; flex-direction:column; gap:10px; padding:12px 18px; }
  .site-nav { width:100%; justify-content:flex-start; gap:5px 16px; }
  .site-nav a { font-size:12px; }
  main { padding: 16px 12px; }
  .ts-health-hero { border-radius:12px; }
}
@media (max-width: 420px) {
  .brand-copy strong { font-size:15px; }
  .brand-copy small { font-size:8px; }
  .site-nav { gap:4px 12px; }
  .site-nav a { font-size:11px; }
  .ts-health-number { font-size:19px; }
  .ts-health-number strong { font-size:32px; }
  .ts-health-stat-number { font-size:42px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } }

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}


/* 健康経営推進体制図：原資料の配置・関係性を踏襲 */
.ts-health-org-chart {
  --org-blue: #155e9a;
  --org-blue-dark: #123d62;
  --org-green: #16836b;
  --org-green-dark: #126451;
  --org-line: #91aabd;
  margin: 28px 0 36px;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid #d9e5ed;
  border-radius: 16px;
  background: linear-gradient(135deg, #f7fbfe 0%, #f5faf7 100%);
}
.ts-org-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  padding-bottom: 34px;
}
.ts-org-leadership {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 390px);
}
.ts-org-node {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 58px;
  padding: 10px 18px;
  border: 1.5px solid #b9cedb;
  border-radius: 5px;
  background: #fff;
  color: var(--org-blue-dark);
  text-align: center;
  box-shadow: 0 3px 10px rgba(18, 61, 98, .045);
}
.ts-org-node strong { font-size: 15px; line-height: 1.5; }
.ts-org-manager, .ts-org-office { width: 100%; max-width: 330px; }
.ts-org-manager span, .ts-org-office span {
  display: block;
  width: calc(100% + 36px);
  margin: -10px -18px 8px;
  padding: 7px 10px;
  border-radius: 3px 3px 0 0;
  background: var(--org-blue-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
}
.ts-org-office span { background: var(--org-green-dark); }
.ts-org-report {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  color: #4d6578;
  font-size: 13px;
  font-weight: 750;
}
.ts-org-report:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 2px solid var(--org-line);
}
.ts-org-report:after {
  content: "▼";
  position: absolute;
  bottom: -1px;
  left: calc(50% - 5px);
  color: var(--org-line);
  font-size: 10px;
}
.ts-org-report { isolation: isolate; }
.ts-org-report { background: transparent; }
.ts-org-report::first-line { background: #f7fbfe; }
.ts-org-report { width: 100%; }
.ts-org-report:before { z-index: -1; }
.ts-org-report { text-shadow: 0 0 5px #f7fbfe, 0 0 5px #f7fbfe; }
.ts-org-internal {
  position: relative;
  width: min(100%, 790px);
  margin-top: 24px;
  padding-top: 28px;
  border-top: 2px solid var(--org-line);
}
.ts-org-internal:before {
  content: "";
  position: absolute;
  top: -29px;
  left: 50%;
  height: 29px;
  border-left: 2px solid var(--org-line);
}
.ts-org-side-label {
  position: absolute;
  top: -17px;
  right: 8%;
  padding: 3px 10px;
  background: #f7fbfe;
  color: #4d6578;
  font-size: 13px;
  font-weight: 750;
}
.ts-org-branch {
  position: absolute;
  top: 0;
  left: 16.66%;
  right: 16.66%;
  height: 13px;
  border-left: 2px solid var(--org-line);
  border-right: 2px solid var(--org-line);
}
.ts-org-sites {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ts-org-sites .ts-org-node {
  position: relative;
  min-height: 54px;
  font-weight: 750;
}
.ts-org-sites .ts-org-node:before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  height: 14px;
  border-left: 2px solid var(--org-line);
}
.ts-org-external {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(115px, .55fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  position: relative;
  margin-top: 6px;
}
.ts-org-external:before {
  content: "";
  position: absolute;
  left: 17%;
  top: -38px;
  height: 38px;
  border-left: 2px solid var(--org-line);
}
.ts-org-partner {
  min-height: 100%;
  padding: 20px 22px;
  border: 1.5px solid #a9c0ce;
  border-radius: 5px;
  background: rgba(255,255,255,.94);
}
.ts-org-partner h4 {
  margin: 0 auto 16px;
  color: var(--org-blue-dark);
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
}
.ts-org-support h4 {
  width: fit-content;
  padding: 8px 12px;
  border: 1.5px solid var(--org-blue);
  background: #f5faff;
}
.ts-org-partner ul {
  margin: 0;
  padding-left: 1.25em;
  color: #243548;
  font-size: 13px;
}
.ts-org-partner li { margin: 5px 0; }
.ts-org-insurer h4 span { font-size: 14px; }
.ts-org-insurer-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
  color: #243548;
  font-size: 15px;
  text-align: center;
}
.ts-org-collaboration {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #34566d;
  font-size: 14px;
  text-align: center;
}
.ts-org-collaboration span {
  color: var(--org-green);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.05;
}
@media (max-width: 680px) {
  .ts-org-internal { padding-top: 24px; }
  .ts-org-side-label { right: 0; }
  .ts-org-sites { grid-template-columns: 1fr; gap: 9px; }
  .ts-org-branch { display: none; }
  .ts-org-sites .ts-org-node:before { display: none; }
  .ts-org-external { grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }
  .ts-org-external:before { display: none; }
  .ts-org-collaboration { flex-direction: row; gap: 12px; }
  .ts-org-collaboration span { transform: rotate(90deg); font-size: 30px; }
  .ts-org-partner { padding: 17px; }
}


/* 健康経営施策から目標・方針への流れ（原資料と同じ横並び） */
.ts-health-flow {
  display: grid;
  grid-template-columns:
    minmax(145px, 1fr) 34px
    minmax(125px, .9fr) 34px
    minmax(125px, .9fr) 38px
    minmax(145px, 1fr) 38px
    minmax(145px, 1fr);
  align-items: stretch;
  gap: 7px;
  margin: 24px 0 20px;
  padding: 22px 18px;
  border: 1px solid var(--ts-line);
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fbfd, #f3faf6);
  overflow-x: auto;
}
.ts-health-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 14px 10px;
  border-radius: 5px;
  color: #fff;
  text-align: center;
}
.ts-health-flow-step strong {
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.5;
}
.ts-health-flow-step span {
  display: block;
  margin-top: 9px;
  font-size: 11px;
  opacity: .92;
}
.ts-flow-action, .ts-flow-kpi { background: #969da2; }
.ts-flow-kgi, .ts-flow-goal, .ts-flow-policy { background: #333f49; }
.ts-health-flow-arrow, .ts-health-flow-equals {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aab5bc;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.ts-health-flow-equals {
  color: #8a969e;
  font-size: 29px;
}
.ts-health-kpi-kgi {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.ts-health-definition {
  padding: 20px;
  border: 1px solid var(--ts-line);
  border-radius: 12px;
  background: #fff;
}
.ts-definition-kpi { border-top: 4px solid #969da2; }
.ts-definition-kgi { border-top: 4px solid var(--ts-green); }
.ts-health-definition h4 {
  margin: 0 0 12px;
  color: var(--ts-blue-dark);
  font-size: 17px;
}
.ts-health-definition h4 span {
  display: inline-block;
  margin-right: 7px;
  color: var(--ts-green-dark);
  font-size: 22px;
  letter-spacing: .04em;
}
.ts-health-definition p { margin-bottom: 10px; }
.ts-health-definition .ts-health-definition-example {
  margin: 0;
  color: var(--ts-muted);
  font-size: 13px;
}
@media (max-width: 760px) {
  /* スマートフォンでも順番・矢印・イコールの意味を変えず、横スクロールで表示 */
  .ts-health-flow {
    grid-template-columns:
      145px 30px 125px 30px 125px 34px 145px 34px 145px;
    gap: 5px;
    padding: 14px;
    -webkit-overflow-scrolling: touch;
  }
  .ts-health-flow-step { min-height: 118px; }
  .ts-health-flow-arrow { font-size: 30px; }
  .ts-health-flow-equals { font-size: 25px; }
  .ts-health-kpi-kgi { grid-template-columns: 1fr; }
}


/* 健康経営推進体制図：画像で表示し、文字・線のズレを防止 */
.ts-health-org-image {
  margin: 22px 0 30px;
}
.ts-health-org-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 1px solid #d8e5ec;
  border-radius: 14px;
  background: #fff;
}
.ts-health-org-image figcaption {
  margin-top: 9px;
  text-align: center;
  color: var(--ts-muted);
  font-size: 13px;
}
.ts-health-certificates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  margin: 28px 0 36px;
}

.ts-health-certificate {
  margin: 0;
  text-align: center;
}

.ts-health-certificate img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid #e1e6e9;
  background: #fff;
  box-shadow: 0 5px 18px rgba(20, 50, 70, .08);
}

.ts-health-certificate figcaption {
  margin-top: 10px;
  color: #607184;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 680px) {
  .ts-health-certificates {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ts-health-certificate img {
    max-width: 440px;
  }
}

.walking-rally-photo,
.walking-rally-result {
  margin: 28px auto;
  text-align: center;
}
.workplace-photo {
  width: 100%;
  margin: 30px auto;
  text-align: center;
}

.workplace-photo img {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(20, 55, 75, 0.10);
}