:root {
  --ink: #211112;
  --muted: #766568;
  --paper: #fbf3ef;
  --white: #fffaf7;
  --line: rgba(33, 17, 18, 0.14);
  --red: #af1e23;
  --red-deep: #681013;
  --red-dark: #2a0c0e;
  --coral: #d96a4b;
  --gold: #d6a84c;
  --green: #52756a;
  --shadow: 0 22px 80px rgba(72, 17, 19, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Inter", system-ui, sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(251, 243, 239, 0.82);
  border-bottom: 1px solid rgba(33, 17, 18, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.header-nav,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: inline-block;
  background:
    linear-gradient(135deg, var(--red) 0 50%, transparent 50%),
    linear-gradient(315deg, var(--red-deep) 0 50%, var(--gold) 50%);
  border-radius: 7px;
}
.brand img {
	height: 70px;
}

.header-nav {
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.header-nav a {
  transition: color 0.2s ease;
}
.header-nav a:last-child {
	padding: 20px;
    background-color: #af1e23;
	display: block;
	color: #FFF;
}

.header-nav a:hover {
  color: var(--red);
}
.header-nav a:hover:last-child  {
	color: #FFF;
	background-color: #d0343a;
}
.header-nav a.active {
  color: var(--red);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 122px clamp(20px, 6vw, 84px) 72px;
  overflow: hidden;
  color: var(--white);
  background: var(--red-dark);
}

#heroCanvas,
.hero-media,
.hero-slider,
.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: 0;
}

.hero-slider {
  z-index: 0;
}

.hero-slider img {
  object-fit: cover;
  opacity: 0;
  animation: heroFade 20s infinite;
}

.hero-slider img:nth-child(2) {
  animation-delay: 4s;
}

.hero-slider img:nth-child(3) {
  animation-delay: 8s;
}

.hero-slider img:nth-child(4) {
  animation-delay: 12s;
}

.hero-slider img:nth-child(5) {
  animation-delay: 16s;
}

@keyframes heroFade {
  0%, 18% { opacity: 0.5; transform: scale(1.02); }
  24%, 94% { opacity: 0; transform: scale(1.09); }
  100% { opacity: 0; }
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(42, 12, 14, 0.88), rgba(42, 12, 14, 0.2) 58%, rgba(42, 12, 14, 0.58)),
    linear-gradient(0deg, rgba(42, 12, 14, 0.88), transparent 46%);
}

.hero-copy,
.page-hero > div {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold) !important;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.eyebrow2{
  margin: 0 0 14px;
  color: var(--gold) !important;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: clamp(20px, 3vw, 16px);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-message-slider {
  position: relative;
  min-height: clamp(112px, 13vw, 160px);
  font-size: clamp(36px, 5.8vw, 68px);
  line-height: 1.12;
}

.hero-message-slider span {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  max-width: 980px;
  opacity: 0;
  transform: translateY(22px);
  animation: heroMessage 15s ease-in-out infinite;
}

.hero-message-slider span:nth-child(2) {
  animation-delay: 5s;
}

.hero-message-slider span:nth-child(3) {
  animation-delay: 10s;
}

@keyframes heroMessage {
  0% { opacity: 0; transform: translateY(22px); }
  8%, 28% { opacity: 1; transform: translateY(0); }
  36%, 100% { opacity: 0; transform: translateY(-18px); }
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.7vw, 45px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
  /*text-wrap: balance;*/
}
h2.data {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.7vw, 45px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
	white-space: nowrap;
}
@media (max-width: 767px) {
    h2.data  {
       white-space: normal;
    }
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(20px, 2.8vw, 24px);
  line-height: 1.36;
}

p {
  line-height: 1.95;
}

.hero-copy p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(16px, 2vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 16px;
  font-weight: normal;
}

.button.primary {
  color: #2a0c0e;
  background: var(--gold);
  border-color: var(--gold);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  /*margin-top: 14px;*/
  color: var(--red);
  font-weight: 800;
}

.text-link::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  right: clamp(20px, 6vw, 84px);
  bottom: 44px;
  width: 28px;
  height: 52px;
  border: 1px solid rgba(255, 253, 248, 0.54);
  border-radius: 20px;
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 4px;
  height: 10px;
  border-radius: 3px;
  background: var(--white);
  transform: translateX(-50%);
  animation: cue 1.7s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.35; }
  45% { transform: translate(-50%, 16px); opacity: 1; }
}

.news-strip {
  display: grid;
  grid-template-columns: minmax(110px, 0.2fr) 1fr;
  align-items: center;
  gap: 20px;
  min-height: 96px;
  padding: 20px clamp(20px, 6vw, 84px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.news-strip span {
  color: var(--red);
  font-family: "Inter", sans-serif;
  font-weight: 800;
}

.news-strip p {
  margin: 0;
  font-weight: 700;
}

.split-section,
.comfort-section,
.message-section,
.overview-section,
.history-section,
.voice-list,
.work-sections {
  padding: clamp(54px, 8vw, 110px) clamp(20px, 6vw, 84px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
}

.section-copy {
  max-width: 760px;
}

.section-copy p:not(.eyebrow),
.section-copy p:not(.eyebrow2),
.message-section p,
.work-card p,
.benefit-band p,
.overview-list,
.history-list {
  color: var(--muted);
}

.portrait-card {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portrait-card figcaption {
  padding: 18px 20px;
  font-weight: 800;
}

.feature-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.feature-link {
  min-height: 520px;
  display: grid;
  grid-template-rows: 1fr auto auto auto;
  padding: clamp(22px, 4vw, 42px);
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.feature-link:last-child {
  border-right: 0;
}

.feature-link img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.92);
  transition: transform 0.35s ease;
}

.feature-link:hover img {
  transform: scale(1.03);
}

.feature-link span {
  margin-top: 24px;
  color: var(--red);
  font-family: "Inter", sans-serif;
  font-weight: 800;
}

.feature-link strong {
  margin-top: 8px;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.25;
}

.feature-link small {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.entry-section {
  padding: clamp(54px, 8vw, 110px) clamp(20px, 6vw, 84px);
  background:
    linear-gradient(135deg, rgba(175, 30, 35, 0.96), rgba(42, 12, 14, 0.98)),
    var(--red-dark);
  color: var(--white);
}

.entry-inner {
  max-width: 980px;
}

.entry-inner > p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 253, 248, 0.84);
}

.requirement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 34px 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.requirement-grid div {
  min-height: 138px;
  padding: 22px;
  background: rgba(255, 250, 247, 0.08);
}

.requirement-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.requirement-grid strong {
  font-size: 20px;
  line-height: 1.5;
}

.page-hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  padding: 128px clamp(20px, 6vw, 84px) 66px;
  overflow: hidden;
  color: var(--white);
  background: var(--red-dark);
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.red-hero::after {
  background:
    linear-gradient(90deg, rgba(104, 16, 19, 0.92), rgba(104, 16, 19, 0.18) 55%, rgba(42, 12, 14, 0.64)),
    linear-gradient(0deg, rgba(42, 12, 14, 0.88), transparent 46%);
}

.work-sections {
  display: grid;
  gap: clamp(34px, 6vw, 74px);
}

.work-card,
.timeline-card,
.benefit-band {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 45px rgba(72, 17, 19, 0.08);
}

.work-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1fr);
  overflow: hidden;
}

.work-card.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.95fr);
}

.work-card.reverse img {
  order: 2;
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.work-card > div,
.timeline-card,
.benefit-band > div {
  padding: clamp(26px, 5vw, 58px);
}

.timeline {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 124px minmax(140px, 0.26fr) 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}

.timeline-time {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.timeline-time i {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 2px solid var(--red);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--red) 0 2px, transparent 2px),
    var(--white);
  box-shadow: 0 8px 20px rgba(175, 30, 35, 0.14);
}

.timeline-time i::before,
.timeline-time i::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 2px;
  border-radius: 2px;
  background: var(--red-deep);
  transform-origin: 50% 100%;
}

.timeline-time i::before {
  height: 9px;
  transform: translateX(-50%) rotate(var(--hour-hand));
}

.timeline-time i::after {
  height: 12px;
  background: var(--gold);
  transform: translateX(-50%) rotate(var(--minute-hand));
}

.timeline li　strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.timeline time {
  color: var(--red);
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.timeline span {
  color: var(--muted);
  line-height: 1.8;
}

.comfort-section {
  background: var(--white);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.photo-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-grid figcaption {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 800;
}
.photo-grid5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 36px;
}
.photo-grid5 figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
}

.photo-grid5 img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-grid5 figcaption {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 800;
}

.benefit-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  margin: clamp(54px, 8vw, 110px) clamp(20px, 6vw, 84px);
  overflow: hidden;
}

.benefit-band img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.message-section {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.message-section figure {
  position: sticky;
  top: 96px;
  margin: 0;
}

.message-section img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.person-name {
  color: var(--red);
	font-size: 18px;
  font-weight: 600;
	font-family:  "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN","游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	line-height: 1.6;
}

.voice-list {
  background: var(--white);
}

.qa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 32px;
  background: var(--line);
  border: 1px solid var(--line);
}

.qa-grid article {
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
}

.qa-grid h3 {
  color: var(--red-deep);
  font-size: 21px;
}

.qa-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.data-section {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 1fr);
  gap: 1px;
  padding: clamp(54px, 8vw, 110px) clamp(20px, 6vw, 84px);
  background: var(--line);
}
.data-section2 {
  display: grid;
  grid-template: repeat(2, 1fr) / repeat(2, 1fr);
  gap: 1px;
  padding: clamp(54px, 8vw, 110px) clamp(20px, 6vw, 84px);
  background: var(--line);
}
@media (max-width: 767px) {
    .data-section2 {
        grid-template-columns: 1fr; /* 1列に変更 */
    }
}

.data-card {
  min-height: 220px;
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
}
.data-section2 .data-card img  {
  margin: auto;
}

.data-card.large {
  grid-row: span 2;
}

.data-card span {
  color: var(--red);
  font-weight: 800;
	font-size: 0.6em:
}

.data-card strong {
  /*margin-top: 10px;*/
  color: var(--red-deep);
  font-family: "Inter", sans-serif;
  font-size: clamp(46px, 8vw, 82px);
  line-height: 1;
	display: inline-block;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 32px;
  background: var(--line);
  border: 1px solid var(--line);
}

.data-card small {
  /*margin-top: 10px;*/
  color: var(--muted);
  font-weight: 700;
	font-size: 0.3em;
	line-height: 1;
	/*display: inline-block;*/
}

.data-visual-section {
  padding: clamp(54px, 8vw, 110px) clamp(20px, 6vw, 84px);
}

.data-visual-section .section-copy p:not(.eyebrow) {
  color: var(--muted);
}

.data-visual-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(320px, 1.14fr);
  gap: 18px;
  margin-top: 36px;
}

.visual-panel {
  min-height: 390px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 45px rgba(72, 17, 19, 0.08);
}

.visual-panel h3 {
  margin-bottom: 0;
  color: var(--red-deep);
}

.panel-label {
  margin-bottom: 8px;
  color: var(--gold);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.gender-panel {
  justify-items: center;
  text-align: center;
}

.donut-chart {
  position: relative;
  width: min(350px, 68vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 80%;
  background: conic-gradient(var(--red) 0 calc(var(--male) * 1%), var(--gold) 0 100%);
  box-shadow: inset 0 0 0 1px rgba(33, 17, 18, 0.08);
}

.donut-chart::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(33, 17, 18, 0.08);
}

.donut-chart span {
  position: relative;
  z-index: 1;
  color: var(--red-deep);
  font-family: "Inter", sans-serif;
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 800;
}
.donut-chart span small {
  font-size: 0.5em;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chart-legend i,
.stacked-bar i {
  display: inline-block;
}

.chart-legend i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.male,
.new-grad {
  background: var(--red);
}

.female,
.mid-career {
  background: var(--gold);
}

.age-panel {
  grid-column: span 1;
}

.age-bars {
  display: grid;
  gap: 10px;
}

.age-bars div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 58px;
  gap: 14px;
  align-items: center;
}

.age-bars span,
.age-bars strong,
.join-row span,
.join-row strong {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.age-bars b {
  position: relative;
  height: 18px;
  overflow: hidden;
  background: rgba(33, 17, 18, 0.08);
  border-radius: 999px;
}

.age-bars b::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--ratio) * 1%);
  background: linear-gradient(90deg, var(--coral), var(--red));
  border-radius: inherit;
}

.join-panel {
  grid-column: 1 / -1;
  min-height: 300px;
}

.join-chart {
  display: grid;
  gap: 20px;
}

.join-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(160px, 220px);
  gap: 16px;
  align-items: center;
}

.stacked-bar {
  height: 26px;
  display: flex;
  overflow: hidden;
  background: rgba(33, 17, 18, 0.08);
  border-radius: 999px;
}

.stacked-bar i {
  width: calc(var(--ratio) * 1%);
}

.chart-legend.compact {
  justify-content: flex-start;
}

.overview-section {
  display: grid;
  grid-template-columns: minmax(200px, 0.3fr) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 80px);
  background: var(--white);
}

.overview-list {
  display: grid;
  grid-template-columns: 180px 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
}

.overview-list dt,
.overview-list dd {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.overview-list dt {
  color: var(--red-deep);
  font-weight: 800;
}

.overview-section {
  display: grid;
  grid-template-columns: minmax(200px, 0.3fr) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 80px);
  background: var(--white);
}

.overview-list {
  display: grid;
  grid-template-columns: 200px 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
}

.overview-list dt,
.overview-list dd {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.overview-list dt {
  color: var(--red-deep);
  font-weight: 600;
}

.overview-content {
  min-width: 0;
}

.overview-heading {
  margin: 0 0 30px;
  padding-left: 14px;
  border-left: 4px solid #d71920;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #222;
  letter-spacing: 0.04em;
}
.overview-item + .overview-item {
  margin-top: 48px;
}
.career-message {
  display: flex;
  align-items: center;
  min-height: 160px;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
}
.history-section {
  display: grid;
  grid-template-columns: minmax(200px, 0.3fr) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 80px);
  background: var(--paper);
}

.history-list {
  display: grid;
  grid-template-columns: 180px 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
}

.history-list dt,
.history-list dd {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.history-list dt {
  color: var(--red-deep);
  font-weight: 600;
}
.
.history-list {
  display: grid;
  gap: 0;
  max-width: 980px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.history-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.history-list time {
  color: var(--red);
  font-weight: 800;
}

.entry-section2 {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  color: var(--ink);
}
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 34px clamp(20px, 6vw, 84px);
  color: var(--white);
  background: var(--red-dark);
}

.site-footer nav {
  gap: 22px;
  color: rgba(255, 250, 247, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.site-footer small {
  color: rgba(255, 250, 247, 0.58);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    color: var(--white);
    background: var(--red);
    border: 0;
    border-radius: 6px;
    font-weight: 800;
  }

  .header-nav {
    position: fixed;
    top: 70px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-open .header-nav {
    display: flex;
  }

  .feature-links,
  .qa-grid,
  .photo-grid,
  .requirement-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-card,
  .work-card.reverse,
  .benefit-band,
  .message-section,
  .overview-section,
  .history-section {
    grid-template-columns: 1fr;
  }

  .work-card.reverse img {
    order: 0;
  }

  .message-section figure {
    position: static;
    max-width: 340px;
  }

  .data-section {
    grid-template-columns: 1fr 1fr;
  }

  .data-visual-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .hero-message-slider {
    min-height: clamp(72px, 18vw, 112px);
    font-size: clamp(24px, 6.4vw, 36px);
    line-height: 1.2;
  }

  .hero,
  .page-hero {
    min-height: 82vh;
    padding-top: 104px;
  }

  .news-strip,
  .feature-links,
  .qa-grid,
  .photo-grid,
  .requirement-grid,
  .data-section {
    grid-template-columns: 1fr;
  }

  .data-card.large {
    grid-row: auto;
  }

  .feature-link {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline li,
  .overview-list,
  .history-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .join-row,
  .age-bars div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .join-row strong,
  .age-bars strong {
    text-align: left;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}
