/* 開発秘話の下層ページ。2026-09-11: 他の下層と同じ白背景へ統一。原文と年表配置は継承する。 */
/* 共通の1440px固定キャンバスを解除し、中間幅でも年表全文を画面内に収める。 */
html body.subpage.history-page {
  position: static;
  left: auto;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

.history-page .history-main {
  padding: 0;
  margin: 0;
}

.history-page .history-sec {
  position: relative;
  margin: 0;
  padding: 80px 0 96px;
  background: #fff;
  isolation: isolate;
}

.history-page .history-sec::before {
  content: none;
  display: none;
}

.history-page .history-2col {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1040px;
  margin: 0 auto;
  gap: 40px;
  align-items: start;
}

.history-page .history-head {
  position: static;
  padding-top: 0;
}

.history-page .history-head .eyebrow {
  position: static;
  margin: 0 0 20px;
  color: #034c92;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .14em;
}

.history-page .history-head .eyebrow::before {
  background: #034c92;
}

.history-page .history-intro-title {
  margin: 0;
  color: #112e56;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: .025em;
}

.history-page .history-scroll {
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: #fff;
  box-shadow: none;
}

.history-page .htl {
  position: relative;
}

.history-page .htl-ch {
  --history-year-size: 64px;
  --history-mark-y: calc(var(--history-year-size) * .55);
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  position: relative;
  padding-bottom: 64px;
}

.history-page .htl-ch::before {
  content: "";
  position: absolute;
  top: var(--history-mark-y);
  bottom: calc(-1 * var(--history-mark-y));
  left: 176px;
  width: 1px;
  background: #aebfd0;
}

.history-page .htl-ch::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: calc(var(--history-mark-y) - 6.5px);
  left: 170px;
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #034c92;
  box-shadow: 0 0 0 1px #034c92;
}

.history-page .htl-ch:last-of-type::before {
  bottom: 0;
}

.history-page .htl-year {
  align-self: start;
  margin: 0;
  padding-right: 24px;
  color: #b9cbdc;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--history-year-size);
  font-weight: 700;
  line-height: 1.1;
  text-align: right;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.history-page .htl-body {
  min-width: 0;
  padding-top: calc(var(--history-mark-y) - 16px);
  padding-left: 28px;
}

.history-page .htl-body p,
.history-page .htl-body li,
.history-page .htl-end p {
  color: #171717;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  overflow-wrap: anywhere;
}

.history-page .htl-body p {
  margin: 0 0 20px;
}

.history-page .htl-body p:last-child {
  margin-bottom: 0;
}

.history-page .htl-body ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 20px 22px;
  border: 1px solid #c4d1dc;
  background: #fff;
  list-style: none;
}

.history-page .htl-body li {
  position: relative;
  padding-left: 16px;
}

.history-page .htl-body li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  width: 8px;
  height: 1px;
  background: #034c92;
}

.history-page .htl-end {
  --history-year-size: 64px;
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  margin-left: 0;
  padding-top: 26px;
}

.history-page .htl-end p {
  margin: 0;
  color: #112e56;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .history-page .history-2col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .history-page .history-head {
    position: static;
    padding-top: 0;
  }
  .history-page .history-intro-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .history-page .history-2col {
    gap: 28px;
  }
  .history-page .history-head .eyebrow {
    margin-bottom: 14px;
    font-size: 15px;
  }
  .history-page .history-intro-title {
    font-size: 22px;
    line-height: 1.8;
  }
  .history-page .history-scroll {
    padding: 0 6px;
  }
  .history-page .htl-ch {
    --history-year-size: 52px;
    display: block;
    padding: 0 0 48px 21px;
  }
  .history-page .htl-ch::before {
    left: 0;
  }
  .history-page .htl-ch::after {
    left: -6px;
  }
  .history-page .htl-year {
    margin-bottom: 16px;
    padding: 0;
    text-align: left;
  }
  .history-page .htl-body {
    padding-top: 0;
    padding-left: 0;
  }
  .history-page .htl-body p,
  .history-page .htl-body li,
  .history-page .htl-end p {
    line-height: 1.95;
  }
  .history-page .htl-body ul {
    padding: 16px 14px;
  }
  .history-page .htl-end {
    --history-year-size: 52px;
    display: block;
    margin-left: 21px;
    padding-top: 24px;
  }
}
