@charset "UTF-8";
/**************************************************
 * ESGサイト（esg.html）専用スタイル
 * style.css / style-redesign.css の後に読み込む
 **************************************************/

:root {
  --esg-e: #2a9d8f;
  --esg-e-dark: #1b7a6e;
  --esg-e-light: #e2f5f1;
  --esg-s: #2f80c4;
  --esg-s-dark: #1a4a80;
  --esg-s-light: #e6f4fc;
  --esg-g: #4c5fb5;
  --esg-g-dark: #2f3d85;
  --esg-g-light: #e9ecfa;
  --esg-text: #24425f;
  --esg-muted: #5b7690;
}

.esg-page article {
  padding-bottom: 40px;
}
.esg-wrap {
  margin: 0 40px;
}
.esg-wrap p {
  margin-left: 0;
}

/* ---------- ヒーロー ---------- */
.esg-hero {
  margin: 110px 40px 0;
  padding: 56px 56px 48px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(79, 160, 220, 0.28), transparent 42%),
    radial-gradient(circle at 6% 96%, rgba(42, 157, 143, 0.2), transparent 40%),
    linear-gradient(135deg, #e6f4fc 0%, #f6fbff 60%, #ffffff 100%);
  border: 1px solid var(--blue-200);
  box-shadow: 0 14px 36px var(--shadow-blue);
}
.esg-hero-label {
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 20px;
  border-radius: 999px;
  background: var(--blue-600);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.esg-hero h1 {
  margin: 0 0 14px;
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
  font-size: 2.6rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--blue-900);
}
.esg-hero-catch {
  margin: 0 0 20px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-700);
}
.esg-hero-lead {
  margin: 0;
  max-width: 880px;
  line-height: 1.95;
  color: var(--esg-text);
}

.esg-kpis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.esg-kpis li {
  padding: 20px 14px 18px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--blue-200);
  border-radius: 16px;
  box-shadow: 0 6px 16px var(--shadow-blue);
}
.esg-kpi-num {
  display: block;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--blue-700);
}
.esg-kpi-num small {
  font-size: 0.95rem;
  font-weight: 700;
  margin-left: 2px;
}
.esg-kpi-name {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-900);
}
.esg-kpi-note {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--esg-muted);
}

/* ---------- ページ内ナビ ---------- */
.esg-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 40px 0;
  padding: 0;
  list-style: none;
}
.esg-nav a {
  display: block;
  padding: 10px 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--blue-300);
  color: var(--blue-800);
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.esg-nav a:hover {
  background: var(--blue-600);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- セクション ---------- */
.esg-sec {
  margin: 90px 40px 0;
  scroll-margin-top: 90px;
}
.esg-sec-head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 12px;
}
.esg-badge {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  color: #fff;
  font-size: 2.3rem;
  font-weight: 700;
  box-shadow: 0 8px 18px var(--shadow-blue-strong);
}
.esg-sec-head h2.esg-title {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--blue-900);
}
.esg-sec-head h2.esg-title::before {
  display: none;
}
.esg-title small {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--esg-muted);
}
.esg-sec-lead {
  margin: 0 0 28px;
  max-width: 960px;
  line-height: 1.95;
  color: var(--esg-text);
}
.esg-sec.is-e .esg-badge { background: linear-gradient(135deg, var(--esg-e), var(--esg-e-dark)); }
.esg-sec.is-s .esg-badge { background: linear-gradient(135deg, var(--esg-s), var(--esg-s-dark)); }
.esg-sec.is-g .esg-badge { background: linear-gradient(135deg, var(--esg-g), var(--esg-g-dark)); }
.esg-sec.is-base .esg-badge { background: linear-gradient(135deg, var(--blue-500), var(--blue-800)); font-size: 1.5rem; }

/* ---------- カード ---------- */
.esg-grid {
  display: grid;
  gap: 24px;
  margin: 0;
}
.esg-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.esg-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.esg-grid + .esg-grid,
.esg-grid + .esg-block,
.esg-grid + .esg-link-panel,
.esg-steps + .esg-grid,
.esg-block + .esg-grid,
.esg-block + .esg-block {
  margin-top: 28px;
}

.esg-card {
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--blue-200);
  border-top-width: 5px;
  border-radius: 18px;
  box-shadow: 0 8px 20px var(--shadow-blue);
}
.is-e .esg-card { border-top-color: var(--esg-e); }
.is-s .esg-card { border-top-color: var(--esg-s); }
.is-g .esg-card { border-top-color: var(--esg-g); }
.is-base .esg-card { border-top-color: var(--blue-500); }

.esg-card h3 {
  margin: 0 0 12px;
  padding: 0;
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--blue-900);
}
.esg-card p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--esg-text);
}
.esg-card p:last-child { margin-bottom: 0; }
.esg-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.esg-card li {
  position: relative;
  padding: 0 0 0 20px;
  margin: 0 0 8px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--esg-text);
}
.esg-card li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
}
.is-e .esg-card li::before { background: var(--esg-e); }
.is-g .esg-card li::before { background: var(--esg-g); }

.esg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.esg-tags li {
  padding: 4px 12px;
  margin: 0;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--blue-100);
  color: var(--blue-800);
}
.esg-tags li::before { display: none; }

/* ---------- ブロック（図・表） ---------- */
.esg-block {
  padding: 30px 32px;
  background: #fff;
  border: 1px solid var(--blue-200);
  border-radius: 18px;
  box-shadow: 0 8px 20px var(--shadow-blue);
}
.esg-block h3 {
  margin: 0 0 6px;
  padding: 0;
  border: none;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-900);
}
.esg-block .esg-block-sub {
  margin: 0 0 20px;
  font-size: 0.85rem;
  color: var(--esg-muted);
}
.esg-block p {
  margin: 0 0 12px;
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--esg-text);
}
.esg-note,
.esg-block p.esg-note,
.esg-card p.esg-note {
  margin: 18px 0 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--esg-muted);
}

/* ---------- 棒グラフ ---------- */
.esg-bars {
  display: grid;
  gap: 12px;
}
.esg-bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 90px;
  align-items: center;
  gap: 14px;
}
.esg-bar-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue-900);
}
.esg-bar-track {
  position: relative;
  height: 22px;
  border-radius: 999px;
  background: var(--blue-100);
  overflow: hidden;
}
.esg-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
}
.esg-bar-fill.is-ref {
  background: linear-gradient(90deg, #c4d4e2, #9fb4c7);
}
.esg-bar-fill.is-e { background: linear-gradient(90deg, #5fc4b6, var(--esg-e-dark)); }
.esg-bar-value {
  font-size: 0.95rem;
  font-weight: 700;
  text-align: right;
  color: var(--blue-800);
}

/* ---------- 表 ---------- */
.esg-table-wrap {
  overflow-x: auto;
}
.esg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.6;
}
.esg-table th,
.esg-table td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--blue-200);
  color: var(--esg-text);
}
.esg-table thead th {
  background: var(--blue-100);
  color: var(--blue-900);
  font-weight: 700;
  white-space: nowrap;
}
.esg-table td.num,
.esg-table th.num {
  text-align: right;
  white-space: nowrap;
}
.esg-table tbody tr:hover td {
  background: var(--blue-050);
}
.esg-table td.yr {
  white-space: nowrap;
  font-weight: 700;
  color: var(--blue-700);
}

/* ---------- 3ステップ ---------- */
.esg-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.esg-steps li {
  position: relative;
  padding: 26px 26px 24px 26px;
  background: #fff;
  border: 1px solid var(--blue-200);
  border-radius: 18px;
  box-shadow: 0 8px 20px var(--shadow-blue);
  counter-increment: step;
}
.esg-steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  font-weight: 700;
}
.esg-steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: var(--blue-900);
}
.esg-steps span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--esg-text);
}

/* ---------- 認証タイムライン ---------- */
.esg-timeline {
  margin: 0;
  padding: 0 0 0 4px;
  list-style: none;
}
.esg-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  padding: 0 0 22px 28px;
  border-left: 3px solid var(--blue-200);
}
.esg-timeline li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--blue-500);
}
.esg-timeline li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}
.esg-tl-year {
  font-weight: 700;
  color: var(--blue-700);
  white-space: nowrap;
}
.esg-tl-body strong {
  display: block;
  font-size: 1rem;
  color: var(--blue-900);
}
.esg-tl-body span {
  display: block;
  margin-top: 3px;
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--esg-muted);
}

/* ---------- 認証写真 ---------- */
.esg-figs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.esg-figs figure {
  margin: 0;
}
.esg-figs img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 28px var(--shadow-blue);
}
.esg-figs figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: center;
  color: var(--esg-muted);
}

/* ---------- 健康経営への導線 ---------- */
.esg-link-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 40px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  box-shadow: 0 14px 32px var(--shadow-blue-strong);
  color: #fff;
}
.esg-link-panel h3 {
  margin: 0 0 8px;
  padding: 0;
  border: none;
  font-size: 1.4rem;
  color: #fff;
}
.esg-link-panel p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #eaf5fc;
}
.esg-link-panel a.esg-btn {
  flex: 0 0 auto;
  padding: 16px 34px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-800);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}
.esg-link-panel a.esg-btn:hover {
  transform: translateY(-2px);
}

/* ---------- 方針リンク ---------- */
.esg-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.esg-links a {
  display: block;
  padding: 16px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--blue-200);
  color: var(--blue-800);
  font-size: 0.93rem;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--shadow-blue);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.esg-links a::after {
  content: " ＞";
  color: var(--blue-500);
}
.esg-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px var(--shadow-blue-strong);
}

/* ---------- 会社概要 ---------- */
.esg-profile {
  display: grid;
  grid-template-columns: 160px 1fr;
  margin: 0;
}
.esg-profile dt,
.esg-profile dd {
  margin: 0;
  padding: 12px 6px;
  border-bottom: 1px solid var(--blue-200);
  font-size: 0.93rem;
  color: var(--esg-text);
}
.esg-profile dt {
  font-weight: 700;
  color: var(--blue-800);
}
.esg-source {
  margin: 28px 40px 0;
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--esg-muted);
}
