:root {
  color-scheme: light;
  --ink: #1f2428;
  --muted: #5c646b;
  --paper: #f8f3e8;
  --panel: #fffdf8;
  --line: #ded5c4;
  --navy: #243b63;
  --red: #a33d35;
  --green: #496f53;
  --gold: #b8872b;
  --sky: #e7f0f7;
  --shadow: 0 14px 34px rgba(31, 36, 40, 0.08);
}

/* Imagawa Yoshimoto profile */
.yoshimoto-profile .yoshimoto-key-grid,
.yoshimoto-profile .yoshimoto-layer-grid,
.yoshimoto-profile .yoshimoto-rule-grid,
.yoshimoto-profile .yoshimoto-culture-grid,
.yoshimoto-profile .yoshimoto-campaign-grid,
.yoshimoto-profile .yoshimoto-aftermath-grid,
.yoshimoto-profile .yoshimoto-people-grid,
.yoshimoto-profile .yoshimoto-qa-grid {
  display: grid;
  gap: 14px;
}

.yoshimoto-profile .yoshimoto-key-grid,
.yoshimoto-profile .yoshimoto-rule-grid,
.yoshimoto-profile .yoshimoto-culture-grid,
.yoshimoto-profile .yoshimoto-people-grid,
.yoshimoto-profile .yoshimoto-qa-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yoshimoto-profile .yoshimoto-layer-grid,
.yoshimoto-profile .yoshimoto-campaign-grid,
.yoshimoto-profile .yoshimoto-aftermath-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yoshimoto-profile .yoshimoto-key,
.yoshimoto-profile .yoshimoto-layer-grid article,
.yoshimoto-profile .yoshimoto-rule-grid article,
.yoshimoto-profile .yoshimoto-culture-grid article,
.yoshimoto-profile .yoshimoto-campaign-grid article,
.yoshimoto-profile .yoshimoto-aftermath-grid article,
.yoshimoto-profile .yoshimoto-people-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: linear-gradient(145deg, #fff, rgba(24, 50, 75, 0.035));
}

.yoshimoto-profile .yoshimoto-key::before,
.yoshimoto-profile .yoshimoto-layer-grid article::before,
.yoshimoto-profile .yoshimoto-rule-grid article::before,
.yoshimoto-profile .yoshimoto-culture-grid article::before,
.yoshimoto-profile .yoshimoto-campaign-grid article::before,
.yoshimoto-profile .yoshimoto-aftermath-grid article::before,
.yoshimoto-profile .yoshimoto-people-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}

.yoshimoto-profile .yoshimoto-key > span,
.yoshimoto-profile .yoshimoto-layer-grid article > span,
.yoshimoto-profile .yoshimoto-rule-grid article > span,
.yoshimoto-profile .yoshimoto-culture-grid article > span,
.yoshimoto-profile .yoshimoto-campaign-grid article > span,
.yoshimoto-profile .yoshimoto-aftermath-grid article > span,
.yoshimoto-profile .yoshimoto-people-grid article > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.yoshimoto-profile .yoshimoto-key h3,
.yoshimoto-profile .yoshimoto-layer-grid h3,
.yoshimoto-profile .yoshimoto-rule-grid h3,
.yoshimoto-profile .yoshimoto-culture-grid h3,
.yoshimoto-profile .yoshimoto-campaign-grid h3,
.yoshimoto-profile .yoshimoto-aftermath-grid h3,
.yoshimoto-profile .yoshimoto-people-grid h3 {
  margin: 8px 0 7px;
  color: var(--navy);
  font-size: 17px;
}

.yoshimoto-profile .yoshimoto-key p,
.yoshimoto-profile .yoshimoto-layer-grid p,
.yoshimoto-profile .yoshimoto-rule-grid p,
.yoshimoto-profile .yoshimoto-culture-grid p,
.yoshimoto-profile .yoshimoto-campaign-grid p,
.yoshimoto-profile .yoshimoto-aftermath-grid p,
.yoshimoto-profile .yoshimoto-people-grid p {
  margin: 0;
}

.yoshimoto-profile .yoshimoto-caution,
.yoshimoto-profile .section-insight {
  margin-top: 18px;
  border-left: 5px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 15px 18px;
  background: linear-gradient(90deg, rgba(180, 137, 54, 0.12), rgba(255, 255, 255, 0.75));
}

.yoshimoto-profile .yoshimoto-caution strong,
.yoshimoto-profile .section-insight strong {
  color: var(--navy);
}

.yoshimoto-profile .yoshimoto-succession-flow,
.yoshimoto-profile .yoshimoto-motoyasu-flow,
.yoshimoto-profile .yoshimoto-after-chain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
}

.yoshimoto-profile .yoshimoto-alliance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
}

.yoshimoto-profile .yoshimoto-succession-flow article,
.yoshimoto-profile .yoshimoto-motoyasu-flow article,
.yoshimoto-profile .yoshimoto-alliance article,
.yoshimoto-profile .yoshimoto-after-chain article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(24, 50, 75, 0.18);
  border-radius: 11px;
  padding: 15px;
  background: #fff;
}

.yoshimoto-profile .yoshimoto-succession-flow article > span,
.yoshimoto-profile .yoshimoto-motoyasu-flow article > span,
.yoshimoto-profile .yoshimoto-alliance article > span,
.yoshimoto-profile .yoshimoto-after-chain article > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.yoshimoto-profile .yoshimoto-succession-flow h3,
.yoshimoto-profile .yoshimoto-motoyasu-flow h3,
.yoshimoto-profile .yoshimoto-alliance h3,
.yoshimoto-profile .yoshimoto-after-chain h3 {
  margin: 6px 0;
  color: var(--navy);
  font-size: 16px;
}

.yoshimoto-profile .yoshimoto-succession-flow p,
.yoshimoto-profile .yoshimoto-motoyasu-flow p,
.yoshimoto-profile .yoshimoto-alliance p,
.yoshimoto-profile .yoshimoto-after-chain p {
  margin: 0;
  font-size: 14px;
}

.yoshimoto-profile .yoshimoto-succession-flow i,
.yoshimoto-profile .yoshimoto-motoyasu-flow i,
.yoshimoto-profile .yoshimoto-alliance i,
.yoshimoto-profile .yoshimoto-after-chain i,
.yoshimoto-profile .yoshimoto-okehazama-chain i {
  align-self: center;
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
}

.yoshimoto-profile .yoshimoto-two-view {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.yoshimoto-profile .yoshimoto-two-view article {
  border: 1px solid rgba(24, 50, 75, 0.16);
  border-radius: 11px;
  padding: 17px;
  background: rgba(24, 50, 75, 0.035);
}

.yoshimoto-profile .yoshimoto-two-view article:last-child {
  border-color: rgba(180, 137, 54, 0.34);
  background: rgba(180, 137, 54, 0.07);
}

.yoshimoto-profile .yoshimoto-two-view h3 {
  margin: 0 0 8px;
  color: var(--navy);
}

.yoshimoto-profile .yoshimoto-two-view p {
  margin: 0;
}

.yoshimoto-profile .yoshimoto-life {
  display: grid;
  gap: 11px;
}

.yoshimoto-profile .yoshimoto-life article {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 0 0 13px;
}

.yoshimoto-profile .yoshimoto-life article:last-child {
  border-bottom: 0;
}

.yoshimoto-profile .life-year {
  display: grid;
  place-items: center;
  min-height: 48px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

.yoshimoto-profile .yoshimoto-life h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 17px;
}

.yoshimoto-profile .yoshimoto-life p {
  margin: 0;
}

.yoshimoto-profile .yoshimoto-layer-grid article:nth-child(1)::before {
  background: var(--navy);
}

.yoshimoto-profile .yoshimoto-layer-grid article:nth-child(2)::before {
  background: var(--gold);
}

.yoshimoto-profile .yoshimoto-layer-grid article:nth-child(3)::before {
  background: var(--red);
}

.yoshimoto-profile .yoshimoto-okehazama-chain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  margin-top: 16px;
}

.yoshimoto-profile .yoshimoto-okehazama-chain span,
.yoshimoto-profile .yoshimoto-okehazama-chain strong {
  display: grid;
  place-items: center;
  min-height: 72px;
  border-radius: 10px;
  padding: 13px;
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-weight: 800;
}

.yoshimoto-profile .yoshimoto-okehazama-chain strong {
  background: var(--red);
}

.yoshimoto-profile .yoshimoto-people-grid article {
  transition: transform .18s ease, box-shadow .18s ease;
}

.yoshimoto-profile .yoshimoto-people-grid article:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(24, 50, 75, 0.1);
}

.yoshimoto-profile .yoshimoto-qa {
  border: 1px solid rgba(163, 61, 53, 0.16);
  border-radius: 11px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(163, 61, 53, 0.05), #fff 55%);
}

.yoshimoto-profile .yoshimoto-qa h3 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  margin: 0;
  color: var(--navy);
  font-size: 17px;
}

.yoshimoto-profile .yoshimoto-qa h3::before {
  content: "Q";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.yoshimoto-profile .yoshimoto-qa p {
  margin: 12px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  line-height: 1.78;
}

@media (max-width: 760px) {
  .yoshimoto-profile .yoshimoto-key-grid,
  .yoshimoto-profile .yoshimoto-layer-grid,
  .yoshimoto-profile .yoshimoto-rule-grid,
  .yoshimoto-profile .yoshimoto-culture-grid,
  .yoshimoto-profile .yoshimoto-campaign-grid,
  .yoshimoto-profile .yoshimoto-aftermath-grid,
  .yoshimoto-profile .yoshimoto-people-grid,
  .yoshimoto-profile .yoshimoto-qa-grid,
  .yoshimoto-profile .yoshimoto-two-view {
    grid-template-columns: 1fr;
  }

  .yoshimoto-profile .yoshimoto-succession-flow,
  .yoshimoto-profile .yoshimoto-motoyasu-flow,
  .yoshimoto-profile .yoshimoto-alliance,
  .yoshimoto-profile .yoshimoto-okehazama-chain,
  .yoshimoto-profile .yoshimoto-after-chain {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .yoshimoto-profile .yoshimoto-succession-flow i,
  .yoshimoto-profile .yoshimoto-motoyasu-flow i,
  .yoshimoto-profile .yoshimoto-alliance i,
  .yoshimoto-profile .yoshimoto-okehazama-chain i,
  .yoshimoto-profile .yoshimoto-after-chain i {
    transform: rotate(90deg);
  }

  .yoshimoto-profile .yoshimoto-life article {
    grid-template-columns: 1fr;
  }

  .yoshimoto-profile .life-year {
    justify-self: start;
    min-width: 104px;
    min-height: 38px;
  }
}

/* 桶狭間：結論、戦場の構造、経過、通説を異なる形で読み分ける。 */
.okehazama-page ruby {
  ruby-position: over;
}

.okehazama-page rt {
  color: var(--muted);
  font-size: 0.46em;
  font-weight: 700;
}

.okehazama-page .answer-lead {
  margin: 4px 0 18px;
  border-left: 5px solid var(--red);
  padding: 13px 16px;
  background: rgba(163, 61, 53, 0.07);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.85;
}

.okehazama-page .victory-grid,
.okehazama-page .battlefield-grid,
.okehazama-page .okehazama-qa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.okehazama-page .victory-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 11px;
  border: 1px solid rgba(36, 59, 99, 0.17);
  border-radius: 11px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 36, 40, 0.05);
}

.okehazama-page .victory-card > span,
.okehazama-page .flow-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.okehazama-page .victory-card h3,
.okehazama-page .victory-card p,
.okehazama-page .battlefield-grid h3,
.okehazama-page .battlefield-grid p,
.okehazama-page .battle-flow h3,
.okehazama-page .battle-flow p,
.okehazama-page .okehazama-qa h3,
.okehazama-page .okehazama-qa p {
  margin: 0;
}

.okehazama-page .victory-card h3 {
  color: var(--navy);
  font-size: 17px;
}

.okehazama-page .victory-card p {
  grid-column: 2;
  color: #41474c;
  line-height: 1.75;
}

.okehazama-page .battlefield-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.okehazama-page .battlefield-grid article {
  border-top: 5px solid var(--navy);
  border-radius: 9px;
  padding: 18px;
  background: var(--sky);
}

.okehazama-page .battlefield-grid article:nth-child(2) {
  border-top-color: var(--red);
}

.okehazama-page .battlefield-grid article:nth-child(3) {
  border-top-color: var(--gold);
}

.okehazama-page .battlefield-grid h3 {
  color: var(--navy);
  font-size: 17px;
}

.okehazama-page .battlefield-grid p {
  margin-top: 8px;
  color: #3e464c;
  line-height: 1.75;
}

.okehazama-page .question-callout {
  margin-top: 16px;
  border: 1px solid rgba(184, 135, 43, 0.28);
  border-left: 5px solid var(--gold);
  border-radius: 9px;
  padding: 16px;
  background: rgba(184, 135, 43, 0.08);
}

.okehazama-page .question-callout strong {
  color: #76571a;
  font-size: 17px;
}

.okehazama-page .question-callout p {
  margin: 7px 0 0;
}

.okehazama-page .battle-flow {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}

.okehazama-page .battle-flow article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  border: 1px solid rgba(36, 59, 99, 0.15);
  border-left: 5px solid var(--navy);
  border-radius: 10px;
  padding: 17px;
  background: linear-gradient(100deg, rgba(231, 240, 247, 0.72), #fff 45%);
}

.okehazama-page .battle-flow h3 {
  color: var(--navy);
  font-size: 18px;
}

.okehazama-page .battle-flow p {
  margin-top: 5px;
  line-height: 1.8;
}

.okehazama-page .okehazama-qa {
  border: 1px solid rgba(163, 61, 53, 0.17);
  border-radius: 11px;
  padding: 19px;
  background: linear-gradient(145deg, rgba(163, 61, 53, 0.06), #fff 45%);
  box-shadow: 0 8px 22px rgba(31, 36, 40, 0.04);
}

.okehazama-page .okehazama-qa h3 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.55;
}

.okehazama-page .okehazama-qa h3::before {
  content: "Q";
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 12px;
}

.okehazama-page .okehazama-qa p {
  margin-top: 11px;
  border-top: 1px solid var(--line);
  padding-top: 11px;
  line-height: 1.82;
}

.okehazama-page .aftermath-chain {
  display: flex;
  align-items: stretch;
  gap: 7px;
  margin: 18px 0;
}

.okehazama-page .aftermath-chain span {
  display: grid;
  flex: 1;
  place-items: center;
  min-height: 72px;
  border: 1px solid rgba(36, 59, 99, 0.17);
  border-radius: 8px;
  padding: 10px;
  background: var(--sky);
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.okehazama-page .aftermath-chain i {
  display: grid;
  place-items: center;
  color: var(--red);
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 760px) {
  .okehazama-page .victory-grid,
  .okehazama-page .battlefield-grid,
  .okehazama-page .okehazama-qa-grid {
    grid-template-columns: 1fr;
  }

  .okehazama-page .aftermath-chain {
    display: grid;
    grid-template-columns: 1fr;
  }

  .okehazama-page .aftermath-chain i {
    transform: rotate(90deg);
  }
}

/* 武田信玄：軍事・外交・領国経営を一続きで読む人物ページ */
.shingen-profile .shingen-key-grid,
.shingen-profile .shingen-engine-grid,
.shingen-profile .shingen-direction-grid,
.shingen-profile .shingen-system-grid,
.shingen-profile .shingen-people-grid,
.shingen-profile .shingen-qa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.shingen-profile .shingen-key,
.shingen-profile .shingen-engine-grid article,
.shingen-profile .shingen-direction-grid article,
.shingen-profile .shingen-system-grid article,
.shingen-profile .shingen-people-grid article {
  border: 1px solid rgba(36, 59, 99, 0.14);
  border-top: 5px solid var(--navy);
  border-radius: 11px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(36, 59, 99, 0.055), #fff 58%);
}

.shingen-profile .shingen-key:nth-child(even),
.shingen-profile .shingen-direction-grid article:nth-child(even) {
  border-top-color: var(--gold);
  background: linear-gradient(145deg, rgba(184, 135, 43, 0.075), #fff 58%);
}

.shingen-profile .shingen-key:last-child {
  grid-column: 1 / -1;
}

.shingen-profile .shingen-key > span,
.shingen-profile .shingen-engine-grid article > span,
.shingen-profile .shingen-system-grid article > span,
.shingen-profile .shingen-people-grid article > span,
.shingen-profile .shingen-direction-grid article > span,
.shingen-profile .shingen-state-grid article > span,
.shingen-profile .shingen-campaign-grid article > span,
.shingen-profile .shingen-two-view article > span,
.shingen-profile .shingen-inheritance article > span {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.shingen-profile .shingen-key h3,
.shingen-profile .shingen-engine-grid h3,
.shingen-profile .shingen-direction-grid h3,
.shingen-profile .shingen-system-grid h3,
.shingen-profile .shingen-people-grid h3,
.shingen-profile .shingen-state-grid h3,
.shingen-profile .shingen-campaign-grid h3,
.shingen-profile .shingen-two-view h3,
.shingen-profile .shingen-inheritance h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
}

.shingen-profile .shingen-key p,
.shingen-profile .shingen-engine-grid p,
.shingen-profile .shingen-direction-grid p,
.shingen-profile .shingen-system-grid p,
.shingen-profile .shingen-people-grid p,
.shingen-profile .shingen-state-grid p,
.shingen-profile .shingen-campaign-grid p,
.shingen-profile .shingen-two-view p {
  margin: 0;
  line-height: 1.78;
}

.shingen-profile .shingen-caution {
  margin-top: 20px;
  border-left: 6px solid var(--red);
  border-radius: 8px;
  padding: 16px 18px;
  background: rgba(163, 61, 53, 0.065);
}

.shingen-profile .shingen-caution strong {
  color: var(--red);
}

.shingen-profile .shingen-caution p {
  margin: 6px 0 0;
}

.shingen-profile .shingen-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  margin-top: 20px;
}

.shingen-profile .shingen-route article {
  display: grid;
  align-content: center;
  min-height: 112px;
  border: 1px solid rgba(36, 59, 99, 0.16);
  border-radius: 10px;
  padding: 14px;
  background: #fff;
  text-align: center;
}

.shingen-profile .shingen-route article:last-of-type {
  background: rgba(163, 61, 53, 0.065);
}

.shingen-profile .shingen-route span,
.shingen-profile .shingen-route small {
  color: var(--muted);
  font-size: 12px;
}

.shingen-profile .shingen-route strong {
  margin: 5px 0;
  color: var(--navy);
  font-size: 19px;
}

.shingen-profile .shingen-route i {
  display: grid;
  place-items: center;
  padding: 0 7px;
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
}

.shingen-profile .shingen-life {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}

.shingen-profile .shingen-life article {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 17px;
  border: 1px solid rgba(36, 59, 99, 0.13);
  border-radius: 11px;
  padding: 17px;
  background: #fff;
}

.shingen-profile .shingen-life article:nth-child(even) {
  background: rgba(184, 135, 43, 0.055);
}

.shingen-profile .life-year {
  display: grid;
  place-items: center;
  align-self: start;
  min-height: 48px;
  border-radius: 999px;
  padding: 9px 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  text-align: center;
}

.shingen-profile .shingen-life h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 18px;
}

.shingen-profile .shingen-life p {
  margin: 0;
  line-height: 1.8;
}

.shingen-profile .shingen-engine-grid article,
.shingen-profile .shingen-system-grid article {
  border-top-color: var(--green);
  background: linear-gradient(145deg, rgba(54, 112, 88, 0.07), #fff 58%);
}

.shingen-profile .shingen-engine-grid article > span,
.shingen-profile .shingen-system-grid article > span {
  color: var(--green);
}

.shingen-profile .shingen-engine-grid article:last-child {
  grid-column: 1 / -1;
}

.shingen-profile .shingen-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
  border-radius: 11px;
  padding: 18px;
  background: var(--sky);
}

.shingen-profile .shingen-formula span,
.shingen-profile .shingen-formula strong {
  border-radius: 999px;
  padding: 8px 13px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 3px 12px rgba(36, 59, 99, 0.08);
}

.shingen-profile .shingen-formula b {
  color: var(--gold);
}

.shingen-profile .shingen-two-view,
.shingen-profile .shingen-inheritance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.shingen-profile .shingen-two-view article,
.shingen-profile .shingen-inheritance article {
  border-top: 6px solid var(--red);
  border-radius: 11px;
  padding: 19px;
  background: rgba(163, 61, 53, 0.06);
}

.shingen-profile .shingen-two-view article:last-child,
.shingen-profile .shingen-inheritance .asset {
  border-top-color: var(--green);
  background: rgba(54, 112, 88, 0.07);
}

.shingen-profile .section-insight {
  margin: 18px 0 0;
  border-radius: 9px;
  padding: 16px 18px;
  background: var(--sky);
}

.shingen-profile .section-insight strong {
  color: var(--navy);
}

.shingen-profile .shingen-state-grid,
.shingen-profile .shingen-campaign-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.shingen-profile .shingen-state-grid article,
.shingen-profile .shingen-campaign-grid article {
  border-top: 5px solid var(--gold);
  border-radius: 11px;
  padding: 18px;
  background: rgba(184, 135, 43, 0.07);
}

.shingen-profile .shingen-state-grid article:nth-child(2),
.shingen-profile .shingen-campaign-grid article:nth-child(2) {
  border-top-color: var(--green);
  background: rgba(54, 112, 88, 0.07);
}

.shingen-profile .shingen-state-grid article:nth-child(3),
.shingen-profile .shingen-campaign-grid article:nth-child(3) {
  border-top-color: var(--red);
  background: rgba(163, 61, 53, 0.06);
}

.shingen-profile .shingen-inheritance ul {
  margin: 12px 0 0;
  padding-left: 1.25em;
}

.shingen-profile .shingen-inheritance li + li {
  margin-top: 6px;
}

.shingen-profile .shingen-people-grid article > span {
  color: var(--gold);
}

.shingen-profile .shingen-qa {
  border: 1px solid rgba(163, 61, 53, 0.16);
  border-radius: 11px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(163, 61, 53, 0.05), #fff 55%);
}

.shingen-profile .shingen-qa h3 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  margin: 0;
  color: var(--navy);
  font-size: 17px;
}

.shingen-profile .shingen-qa h3::before {
  content: "Q";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.shingen-profile .shingen-qa p {
  margin: 12px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  line-height: 1.78;
}

@media (max-width: 760px) {
  .shingen-profile .shingen-key-grid,
  .shingen-profile .shingen-engine-grid,
  .shingen-profile .shingen-direction-grid,
  .shingen-profile .shingen-system-grid,
  .shingen-profile .shingen-state-grid,
  .shingen-profile .shingen-campaign-grid,
  .shingen-profile .shingen-two-view,
  .shingen-profile .shingen-inheritance,
  .shingen-profile .shingen-people-grid,
  .shingen-profile .shingen-qa-grid {
    grid-template-columns: 1fr;
  }

  .shingen-profile .shingen-key:last-child,
  .shingen-profile .shingen-engine-grid article:last-child {
    grid-column: auto;
  }

  .shingen-profile .shingen-route {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .shingen-profile .shingen-route i {
    transform: rotate(90deg);
  }

  .shingen-profile .shingen-life article {
    grid-template-columns: 1fr;
  }

  .shingen-profile .life-year {
    justify-self: start;
    min-height: auto;
  }
}

/* 本能寺の変：確実な経過、軍団配置、動機の諸説、事件後の波及を読み分ける。 */
.honnoji-page ruby {
  ruby-position: over;
}

.honnoji-page rt {
  color: var(--muted);
  font-size: 0.46em;
  font-weight: 700;
}

.honnoji-page .answer-lead {
  margin: 4px 0 14px;
  border-left: 5px solid var(--red);
  padding: 14px 17px;
  background: rgba(163, 61, 53, 0.07);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.85;
}

.honnoji-page .honnoji-key-grid,
.honnoji-page .theory-grid,
.honnoji-page .aftermath-response-grid,
.honnoji-page .honnoji-qa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.honnoji-page .honnoji-key-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 11px;
  border: 1px solid rgba(36, 59, 99, 0.17);
  border-radius: 11px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 36, 40, 0.05);
}

.honnoji-page .honnoji-key-card > span,
.honnoji-page .flow-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.honnoji-page :is(.honnoji-key-card, .deployment-board article, .honnoji-flow article, .theory-card, .aftermath-response-grid article, .honnoji-qa) :is(h3, p) {
  margin: 0;
}

.honnoji-page .honnoji-key-card h3 {
  color: var(--navy);
  font-size: 17px;
}

.honnoji-page .honnoji-key-card p {
  grid-column: 2;
  color: #41474c;
  line-height: 1.75;
}

.honnoji-page .honnoji-caution {
  margin-top: 17px;
  border: 1px solid rgba(184, 135, 43, 0.28);
  border-left: 5px solid var(--gold);
  border-radius: 9px;
  padding: 16px;
  background: rgba(184, 135, 43, 0.08);
}

.honnoji-page .honnoji-caution strong {
  color: #76571a;
  font-size: 17px;
}

.honnoji-page .honnoji-caution p {
  margin: 7px 0 0;
}

.honnoji-page .deployment-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.honnoji-page .deployment-board article {
  position: relative;
  border: 1px solid rgba(36, 59, 99, 0.15);
  border-left: 5px solid var(--navy);
  border-radius: 10px;
  padding: 17px 17px 17px 19px;
  background: linear-gradient(110deg, rgba(231, 240, 247, 0.76), #fff 58%);
}

.honnoji-page .deployment-board article:nth-child(2) {
  border-left-color: var(--red);
  background: linear-gradient(110deg, rgba(163, 61, 53, 0.07), #fff 58%);
}

.honnoji-page .deployment-board article:last-child {
  grid-column: 1 / -1;
}

.honnoji-page .deployment-board article > span {
  display: inline-flex;
  margin-bottom: 7px;
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.honnoji-page .deployment-board article:nth-child(2) > span {
  background: var(--red);
}

.honnoji-page .deployment-board h3 {
  color: var(--navy);
  font-size: 17px;
}

.honnoji-page .deployment-board p {
  margin-top: 7px;
  line-height: 1.75;
}

.honnoji-page .deployment-insight {
  margin: 16px 0 0;
  border-radius: 9px;
  padding: 15px 17px;
  background: var(--navy);
  color: #fff;
  line-height: 1.8;
}

.honnoji-page .deployment-insight strong {
  color: #f7d98d;
}

.honnoji-page .honnoji-flow {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}

.honnoji-page .honnoji-flow article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  border: 1px solid rgba(36, 59, 99, 0.15);
  border-left: 5px solid var(--navy);
  border-radius: 10px;
  padding: 17px;
  background: linear-gradient(100deg, rgba(231, 240, 247, 0.72), #fff 45%);
}

.honnoji-page .honnoji-flow h3 {
  color: var(--navy);
  font-size: 18px;
}

.honnoji-page .honnoji-flow p {
  margin-top: 5px;
  line-height: 1.8;
}

.honnoji-page .theory-card {
  border: 1px solid rgba(163, 61, 53, 0.16);
  border-top: 5px solid var(--red);
  border-radius: 10px;
  padding: 18px;
  background: linear-gradient(150deg, rgba(163, 61, 53, 0.06), #fff 48%);
}

.honnoji-page .theory-label {
  display: inline-flex;
  margin-bottom: 9px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.honnoji-page .theory-card h3 {
  color: var(--navy);
  font-size: 18px;
}

.honnoji-page .theory-card p {
  margin-top: 8px;
  line-height: 1.78;
}

.honnoji-page .theory-card strong {
  display: block;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: #684f1e;
  font-size: 13px;
  line-height: 1.65;
}

.honnoji-page .honnoji-chain {
  display: flex;
  align-items: stretch;
  gap: 7px;
  margin: 18px 0;
}

.honnoji-page .honnoji-chain span {
  display: grid;
  flex: 1;
  place-items: center;
  min-height: 72px;
  border: 1px solid rgba(36, 59, 99, 0.17);
  border-radius: 8px;
  padding: 10px;
  background: var(--sky);
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.honnoji-page .honnoji-chain i {
  display: grid;
  place-items: center;
  color: var(--red);
  font-style: normal;
  font-weight: 900;
}

.honnoji-page .aftermath-response-grid article {
  border-radius: 10px;
  padding: 18px;
  background: var(--sky);
}

.honnoji-page .aftermath-response-grid article:nth-child(even) {
  background: rgba(184, 135, 43, 0.09);
}

.honnoji-page .aftermath-response-grid h3 {
  color: var(--navy);
  font-size: 17px;
}

.honnoji-page .aftermath-response-grid p {
  margin-top: 7px;
  line-height: 1.75;
}

.honnoji-page .honnoji-qa {
  border: 1px solid rgba(163, 61, 53, 0.17);
  border-radius: 11px;
  padding: 19px;
  background: linear-gradient(145deg, rgba(163, 61, 53, 0.06), #fff 45%);
  box-shadow: 0 8px 22px rgba(31, 36, 40, 0.04);
}

.honnoji-page .honnoji-qa h3 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.55;
}

.honnoji-page .honnoji-qa h3::before {
  content: "Q";
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 12px;
}

.honnoji-page .honnoji-qa p {
  margin-top: 11px;
  border-top: 1px solid var(--line);
  padding-top: 11px;
  line-height: 1.82;
}

@media (max-width: 760px) {
  .honnoji-page .honnoji-key-grid,
  .honnoji-page .deployment-board,
  .honnoji-page .theory-grid,
  .honnoji-page .aftermath-response-grid,
  .honnoji-page .honnoji-qa-grid {
    grid-template-columns: 1fr;
  }

  .honnoji-page .deployment-board article:last-child {
    grid-column: auto;
  }

  .honnoji-page .honnoji-chain {
    display: grid;
    grid-template-columns: 1fr;
  }

  .honnoji-page .honnoji-chain i {
    transform: rotate(90deg);
  }
}

/* 関ヶ原：政権内対立、全国戦線、本戦、戦後処分を段階ごとに読み分ける。 */
.sekigahara-page ruby {
  ruby-position: over;
}

.sekigahara-page rt {
  color: var(--muted);
  font-size: 0.46em;
  font-weight: 700;
}

.sekigahara-page .answer-lead {
  margin: 4px 0 14px;
  border-left: 5px solid var(--red);
  padding: 14px 17px;
  background: rgba(163, 61, 53, 0.07);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.85;
}

.sekigahara-page .sekigahara-key-grid,
.sekigahara-page .front-grid,
.sekigahara-page .battle-stage,
.sekigahara-page .decision-grid,
.sekigahara-page .after-grid,
.sekigahara-page .sekigahara-qa-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.sekigahara-page .sekigahara-key-grid,
.sekigahara-page .battle-stage,
.sekigahara-page .after-grid,
.sekigahara-page .sekigahara-qa-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sekigahara-page .sekigahara-key {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 11px;
  border: 1px solid rgba(36, 59, 99, 0.17);
  border-radius: 11px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 36, 40, 0.05);
}

.sekigahara-page .sekigahara-key > span,
.sekigahara-page .flow-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.sekigahara-page :is(.sekigahara-key, .army-card, .sekigahara-flow article, .front-grid a, .battle-stage article, .decision-grid article, .victory-stack article, .after-grid article, .sekigahara-qa) :is(h3, p) {
  margin: 0;
}

.sekigahara-page .sekigahara-key h3 {
  color: var(--navy);
  font-size: 17px;
}

.sekigahara-page .sekigahara-key p {
  grid-column: 2;
  color: #41474c;
  line-height: 1.75;
}

.sekigahara-page .sekigahara-caution {
  margin-top: 17px;
  border: 1px solid rgba(184, 135, 43, 0.28);
  border-left: 5px solid var(--gold);
  border-radius: 9px;
  padding: 16px;
  background: rgba(184, 135, 43, 0.08);
}

.sekigahara-page .sekigahara-caution strong {
  color: #76571a;
  font-size: 17px;
}

.sekigahara-page .sekigahara-caution p {
  margin: 7px 0 0;
}

.sekigahara-page .army-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.sekigahara-page .army-card {
  border: 1px solid rgba(36, 59, 99, 0.19);
  border-top: 6px solid var(--navy);
  border-radius: 11px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(231, 240, 247, 0.8), #fff 52%);
}

.sekigahara-page .army-card.west {
  border-top-color: var(--red);
  background: linear-gradient(145deg, rgba(163, 61, 53, 0.07), #fff 52%);
}

.sekigahara-page .army-label {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.sekigahara-page .army-card.west .army-label {
  background: var(--red);
}

.sekigahara-page .army-card h3 {
  color: var(--navy);
  font-size: 19px;
  line-height: 1.55;
}

.sekigahara-page .army-card ul {
  margin: 14px 0;
  padding-left: 1.25rem;
}

.sekigahara-page .army-card li {
  margin: 7px 0;
  line-height: 1.65;
}

.sekigahara-page .army-card p {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  line-height: 1.78;
}

.sekigahara-page .division-insight {
  margin: 16px 0 0;
  border-radius: 9px;
  padding: 15px 17px;
  background: var(--navy);
  color: #fff;
  line-height: 1.8;
}

.sekigahara-page .division-insight strong {
  color: #f7d98d;
}

.sekigahara-page .sekigahara-flow,
.sekigahara-page .victory-stack {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}

.sekigahara-page .sekigahara-flow article,
.sekigahara-page .victory-stack article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  border: 1px solid rgba(36, 59, 99, 0.15);
  border-left: 5px solid var(--navy);
  border-radius: 10px;
  padding: 17px;
  background: linear-gradient(100deg, rgba(231, 240, 247, 0.72), #fff 45%);
}

.sekigahara-page .sekigahara-flow h3,
.sekigahara-page .victory-stack h3 {
  color: var(--navy);
  font-size: 18px;
}

.sekigahara-page .sekigahara-flow p,
.sekigahara-page .victory-stack p {
  margin-top: 5px;
  line-height: 1.8;
}

.sekigahara-page .front-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sekigahara-page .front-grid a {
  display: block;
  border: 1px solid rgba(36, 59, 99, 0.15);
  border-radius: 10px;
  padding: 17px;
  background: var(--sky);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sekigahara-page .front-grid a:hover,
.sekigahara-page .front-grid a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 36, 40, 0.09);
}

.sekigahara-page .front-grid span,
.sekigahara-page .decision-label {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.sekigahara-page .front-grid h3 {
  margin-top: 6px;
  color: var(--navy);
  font-size: 17px;
}

.sekigahara-page .front-grid p {
  margin-top: 7px;
  line-height: 1.72;
}

.sekigahara-page .battle-stage article {
  border: 1px solid rgba(36, 59, 99, 0.16);
  border-top: 5px solid var(--navy);
  border-radius: 10px;
  padding: 18px;
  background: #fff;
}

.sekigahara-page .battle-stage article:nth-child(3),
.sekigahara-page .battle-stage article:nth-child(4) {
  border-top-color: var(--red);
}

.sekigahara-page .battle-stage article > span {
  display: inline-flex;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.sekigahara-page .battle-stage article:nth-child(3) > span,
.sekigahara-page .battle-stage article:nth-child(4) > span {
  background: var(--red);
}

.sekigahara-page .battle-stage h3 {
  color: var(--navy);
  font-size: 18px;
}

.sekigahara-page .battle-stage p {
  margin-top: 8px;
  line-height: 1.78;
}

.sekigahara-page .decision-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sekigahara-page .decision-grid article {
  border: 1px solid rgba(163, 61, 53, 0.16);
  border-top: 5px solid var(--red);
  border-radius: 10px;
  padding: 18px;
  background: linear-gradient(150deg, rgba(163, 61, 53, 0.06), #fff 48%);
}

.sekigahara-page .decision-grid h3 {
  margin-top: 7px;
  color: var(--navy);
  font-size: 18px;
}

.sekigahara-page .decision-grid p {
  margin-top: 8px;
  line-height: 1.78;
}

.sekigahara-page .decision-grid strong {
  display: block;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: #684f1e;
  font-size: 13px;
  line-height: 1.65;
}

.sekigahara-page .victory-stack article > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.sekigahara-page .sekigahara-chain {
  display: flex;
  align-items: stretch;
  gap: 7px;
  margin: 18px 0;
}

.sekigahara-page .sekigahara-chain span {
  display: grid;
  flex: 1;
  place-items: center;
  min-height: 72px;
  border: 1px solid rgba(36, 59, 99, 0.17);
  border-radius: 8px;
  padding: 10px;
  background: var(--sky);
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.sekigahara-page .sekigahara-chain i {
  display: grid;
  place-items: center;
  color: var(--red);
  font-style: normal;
  font-weight: 900;
}

.sekigahara-page .after-grid article {
  border-radius: 10px;
  padding: 18px;
  background: var(--sky);
}

.sekigahara-page .after-grid article:nth-child(even) {
  background: rgba(184, 135, 43, 0.09);
}

.sekigahara-page .after-grid h3 {
  color: var(--navy);
  font-size: 17px;
}

.sekigahara-page .after-grid p {
  margin-top: 7px;
  line-height: 1.75;
}

.sekigahara-page .sekigahara-qa {
  border: 1px solid rgba(163, 61, 53, 0.17);
  border-radius: 11px;
  padding: 19px;
  background: linear-gradient(145deg, rgba(163, 61, 53, 0.06), #fff 45%);
  box-shadow: 0 8px 22px rgba(31, 36, 40, 0.04);
}

.sekigahara-page .sekigahara-qa h3 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.55;
}

.sekigahara-page .sekigahara-qa h3::before {
  content: "Q";
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 12px;
}

.sekigahara-page .sekigahara-qa p {
  margin-top: 11px;
  border-top: 1px solid var(--line);
  padding-top: 11px;
  line-height: 1.82;
}

@media (max-width: 900px) {
  .sekigahara-page .front-grid,
  .sekigahara-page .decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sekigahara-page .sekigahara-key-grid,
  .sekigahara-page .army-compare,
  .sekigahara-page .front-grid,
  .sekigahara-page .battle-stage,
  .sekigahara-page .decision-grid,
  .sekigahara-page .after-grid,
  .sekigahara-page .sekigahara-qa-grid {
    grid-template-columns: 1fr;
  }

  .sekigahara-page .sekigahara-chain {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sekigahara-page .sekigahara-chain i {
    transform: rotate(90deg);
  }
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) ruby {
  ruby-position: over;
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) rt {
  color: var(--muted);
  font-size: 0.46em;
  font-weight: 700;
  letter-spacing: 0.04em;
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) .discovery-panel {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 5%, rgba(184, 135, 43, 0.16), transparent 28%),
    var(--panel);
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) .discovery-grid,
.nobunaga-profile .scene-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) .discovery-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 8px 13px;
  min-height: 190px;
  border: 1px solid rgba(36, 59, 99, 0.17);
  border-radius: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(31, 36, 40, 0.05);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) .discovery-card:hover,
:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) .discovery-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(36, 59, 99, 0.42);
  box-shadow: 0 14px 30px rgba(31, 36, 40, 0.09);
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) .discovery-number {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) .discovery-card h3,
:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) .discovery-card p {
  margin: 0;
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) .discovery-card h3 {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.55;
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) .discovery-card p {
  grid-column: 2;
  color: #41474c;
  line-height: 1.8;
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) .discovery-link {
  grid-column: 2;
  align-self: end;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.nobunaga-profile .scenes-panel {
  background:
    linear-gradient(145deg, rgba(36, 59, 99, 0.055), transparent 36%),
    var(--panel);
}

.nobunaga-profile .scene-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(36, 59, 99, 0.16);
  border-top: 5px solid var(--navy);
  border-radius: 13px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(31, 36, 40, 0.05);
}

.nobunaga-profile .scene-card.is-later {
  border-top-color: var(--gold);
}

.nobunaga-profile .scene-card.is-caution {
  border-top-color: var(--green);
}

.nobunaga-profile .scene-label {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--sky);
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.nobunaga-profile .scene-card.is-later .scene-label {
  background: rgba(184, 135, 43, 0.13);
  color: #76571a;
}

.nobunaga-profile .scene-card.is-caution .scene-label {
  background: rgba(73, 111, 83, 0.13);
  color: var(--green);
}

.nobunaga-profile .scene-card h3 {
  margin: 12px 0 8px;
  color: var(--navy);
  font-size: 20px;
}

.nobunaga-profile .scene-card p {
  line-height: 1.82;
}

.nobunaga-profile .scene-quote {
  margin: 10px 0 12px;
  border-left: 3px solid var(--red);
  padding: 8px 0 8px 13px;
  color: var(--red);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 21px;
  font-weight: 800;
}

.nobunaga-profile .scene-verdict {
  margin: 14px 0 0;
  border-radius: 9px;
  padding: 12px 13px;
  background: rgba(231, 240, 247, 0.56);
  color: #3b444a;
  font-size: 14px;
}

.nobunaga-profile .scene-source-note {
  margin: 16px 0 0;
  border-left: 4px solid var(--gold);
  padding: 12px 15px;
  background: rgba(184, 135, 43, 0.08);
  line-height: 1.85;
}

/* 三英傑の中心記事：長い説明を段階カードとQ&Aカードに分けて読みやすくする。 */
:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) #life .story-block {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1.58fr);
  gap: 12px 24px;
  margin-top: 14px;
  border: 1px solid rgba(36, 59, 99, 0.16);
  border-left: 5px solid var(--navy);
  border-radius: 12px;
  padding: 22px;
  background:
    linear-gradient(120deg, rgba(231, 240, 247, 0.76), rgba(255, 255, 255, 0) 42%),
    #fff;
  box-shadow: 0 10px 28px rgba(31, 36, 40, 0.06);
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) #life .story-block h3 {
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.55;
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) #life .story-block h3::before {
  content: "TURNING POINT";
  display: block;
  width: fit-content;
  margin-bottom: 9px;
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) #life .story-block p {
  grid-column: 2;
  line-height: 1.9;
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) #questions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) #questions > :is(.panel-kicker, h2) {
  grid-column: 1 / -1;
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) #questions .panel-kicker {
  margin-bottom: -7px;
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) #questions .story-block {
  position: relative;
  align-content: start;
  gap: 10px;
  border: 1px solid rgba(131, 49, 44, 0.18);
  border-radius: 12px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(131, 49, 44, 0.07), rgba(255, 255, 255, 0) 48%),
    #fff;
  box-shadow: 0 10px 26px rgba(31, 36, 40, 0.05);
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) #questions .story-block h3 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.55;
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) #questions .story-block h3::before {
  content: "Q";
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

:is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) #questions .story-block p {
  border-top: 1px solid rgba(222, 213, 196, 0.8);
  padding-top: 11px;
  color: #363b40;
  line-height: 1.85;
}

@media (max-width: 760px) {
  :is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) .discovery-grid,
  .nobunaga-profile .scene-grid {
    grid-template-columns: 1fr;
  }

  :is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) .discovery-card {
    min-height: 0;
    padding: 18px;
  }

  :is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) #life .story-block {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px;
  }

  :is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) #life .story-block h3 {
    grid-row: auto;
  }

  :is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) #life .story-block p {
    grid-column: 1;
  }

  :is(.nobunaga-profile, .hideyoshi-profile, .ieyasu-profile) #questions {
    grid-template-columns: 1fr;
  }
}

:is(.hideyoshi-profile, .ieyasu-profile) #family .story-block {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1.58fr);
  gap: 12px 24px;
  margin-top: 14px;
  border: 1px solid rgba(184, 135, 43, 0.24);
  border-left: 5px solid var(--gold);
  border-radius: 12px;
  padding: 22px;
  background:
    linear-gradient(120deg, rgba(184, 135, 43, 0.12), rgba(255, 255, 255, 0) 44%),
    #fff;
  box-shadow: 0 10px 28px rgba(31, 36, 40, 0.06);
}

:is(.hideyoshi-profile, .ieyasu-profile) #family .story-block h3 {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  color: #76571a;
  font-size: 19px;
  line-height: 1.55;
}

:is(.hideyoshi-profile, .ieyasu-profile) #family .story-block h3::before {
  content: "SUCCESSION";
  display: block;
  width: fit-content;
  margin-bottom: 9px;
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

:is(.hideyoshi-profile, .ieyasu-profile) #family .story-block p {
  grid-column: 2;
  grid-row: 1;
  color: #363b40;
  line-height: 1.9;
}

@media (max-width: 760px) {
  :is(.hideyoshi-profile, .ieyasu-profile) #family .story-block {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px;
  }

  :is(.hideyoshi-profile, .ieyasu-profile) #family .story-block h3 {
    grid-column: 1;
    grid-row: auto;
  }

  :is(.hideyoshi-profile, .ieyasu-profile) #family .story-block p {
    grid-column: 1;
    grid-row: auto;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(36, 59, 99, 0.10), rgba(248, 243, 232, 0) 360px),
    var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid rgba(222, 213, 196, 0.8);
  background: rgba(255, 253, 248, 0.82);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 62px;
  margin: 0 auto;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-size: 15px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

/* 旧式ページのヘッダーも、現在の横並びナビゲーションへそろえる。 */
.site-header > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 62px;
  margin: 0 auto;
  gap: 18px;
}

.site-title {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.site-title::before {
  content: "戦";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-size: 15px;
}

.site-header > .wrap > .nav {
  justify-content: flex-end;
  flex-wrap: wrap;
  width: auto;
  min-height: 0;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 28px;
  align-items: center;
  padding: 42px 0 38px;
}

.hero.hero-single {
  display: block;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border: 1px solid rgba(36, 59, 99, 0.22);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 253, 248, 0.76);
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.22;
  letter-spacing: 0;
}

h1 {
  margin-top: 16px;
  font-size: clamp(34px, 6vw, 66px);
}

.lead {
  max-width: 740px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-nav-label {
  margin: 24px 0 -14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-section-links {
  gap: 8px;
}

.hero-section-links .button {
  min-height: 38px;
  padding: 7px 11px;
  font-size: 14px;
}

.hero-media {
  display: grid;
  grid-template-columns: minmax(180px, 0.48fr) minmax(0, 0.52fr);
  gap: 14px;
  align-items: stretch;
}

.hero-media.solo-portrait {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.hero-media.solo-portrait .portrait-card {
  width: min(360px, 100%);
}

.hero-media.solo-portrait .portrait-card img {
  min-height: 400px;
}

.portrait-card {
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #1f2428;
  box-shadow: var(--shadow);
}

.portrait-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.portrait-card.figure-fit img {
  object-position: center 16%;
}

.image-caption {
  margin: 0;
  padding: 9px 11px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(31, 36, 40, 0.92);
  font-size: 12px;
  line-height: 1.45;
}

.image-caption a {
  text-decoration: underline;
}

.visual-stack {
  display: grid;
  gap: 14px;
}

.visual-panel {
  position: relative;
  overflow: hidden;
  min-height: 164px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(36, 59, 99, 0.90), rgba(163, 61, 53, 0.86)),
    radial-gradient(circle at 82% 20%, rgba(248, 243, 232, 0.36), transparent 28%);
  box-shadow: var(--shadow);
}

.visual-panel::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -64px;
  width: 190px;
  height: 190px;
  border: 22px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.visual-panel strong {
  display: block;
  max-width: 280px;
  font-size: 24px;
  line-height: 1.25;
}

.visual-panel span {
  display: block;
  max-width: 320px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  padding: 9px 14px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

.button.secondary {
  border-color: var(--line);
  background: #fffdf8;
  color: var(--ink);
}

.button.ghost {
  border-color: rgba(36, 59, 99, 0.28);
  background: rgba(255, 253, 248, 0.72);
  color: var(--navy);
}

.button.ghost:hover {
  background: #fffdf8;
  text-decoration: none;
}

.band {
  padding: 30px 0;
}

.band.alt {
  background: rgba(255, 253, 248, 0.54);
  border-top: 1px solid rgba(222, 213, 196, 0.72);
  border-bottom: 1px solid rgba(222, 213, 196, 0.72);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 16px;
}

.section-head p {
  max-width: 660px;
  margin: 8px 0 0;
  color: var(--muted);
}

.topic-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* 尾張の五地点は、上段3枚・下段2枚を同じ余白でそろえる。 */
.owari-place-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 16px;
}

.owari-place-grid > :nth-child(-n + 3) {
  grid-column: span 2;
}

.owari-place-grid > :nth-child(n + 4) {
  grid-column: span 3;
}

/* 場所ページの「次に読む」は、4枚でも余白が残らない二列配置にする。 */
.place-route-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.place-route-grid.place-route-grid-five {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.place-route-grid-five > :nth-child(-n + 3) {
  grid-column: span 2;
}

.place-route-grid-five > :nth-child(n + 4) {
  grid-column: span 3;
}

/* 熱田・津島の案内カードも、標準のリンクカードにそろえる。 */
.place-link-grid > a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.place-link-grid > a:hover {
  text-decoration: none;
}

.place-link-grid > a > span {
  display: block;
  margin-bottom: 7px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.place-link-grid > a > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.place-link-grid > a > small {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.topic-card,
.link-card,
.note-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.topic-card,
.link-card {
  padding: 16px;
}

/* 旧ページの link-grid は link-card クラスなしで作られている。
   新旧どちらの記法でも、回遊カードとして同じ見た目にそろえる。 */
.link-grid > a:not(.link-card) {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.link-grid > a:not(.link-card):hover {
  text-decoration: none;
}

.topic-card h3,
.link-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.link-grid > a:not(.link-card) > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.link-grid > a:not(.link-card) > h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.link-grid > a:not(.link-card) > span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.link-grid > a:not(.link-card) > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card-title-link {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(36, 59, 99, 0.35);
  text-underline-offset: 0.18em;
}

.card-title-link:hover {
  color: var(--red);
}

.route-card-label {
  display: block;
  margin-bottom: 7px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.link-card-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.timeline-order {
  display: inline-block;
  margin-right: 0.45em;
  color: var(--gold);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.08em;
  vertical-align: 0.08em;
}

.topic-card p,
.link-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.aftermath-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.aftermath-list li {
  border-top: 1px solid var(--line);
  padding-top: 9px;
}

.aftermath-list span {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.tag-row > a:not(.tag) {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(36, 59, 99, 0.18);
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--navy);
  background: var(--sky);
  font-size: 12px;
  font-weight: 800;
}

.tag-row > a:not(.tag):hover {
  border-color: rgba(36, 59, 99, 0.34);
  background: #fffdf8;
  text-decoration: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 3px 9px;
  color: #334;
  background: var(--sky);
  font-size: 12px;
  font-weight: 800;
}

.tag.red {
  color: #72322e;
  background: #f5dfdc;
}

.tag.green {
  color: #2e5a3c;
  background: #e3efdf;
}

.tag.gold {
  color: #6f4a13;
  background: #f6ead1;
}

/* 既存の場所ページで使われているチップも、標準のタグと同じ密度にそろえる。 */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 3px 9px;
  color: #334;
  background: var(--sky);
  font-size: 12px;
  font-weight: 800;
}

.chips span:nth-child(2) {
  color: #6f4a13;
  background: #f6ead1;
}

.chips span:nth-child(3) {
  color: #2e5a3c;
  background: #e3efdf;
}

.chips span:nth-child(4) {
  color: #72322e;
  background: #f5dfdc;
}

.relation-board {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(36, 59, 99, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(36, 59, 99, 0.08) 1px, transparent 1px),
    #fffdf8;
  background-size: 28px 28px;
  box-shadow: var(--shadow);
}

.relation-board.compact {
  min-height: 360px;
}

.node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 132px;
  min-height: 62px;
  border: 2px solid var(--navy);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  background: #fff;
  box-shadow: 0 9px 22px rgba(31, 36, 40, 0.10);
  font-weight: 800;
  z-index: 2;
}

.node small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.node.center {
  left: 50%;
  top: 50%;
  width: 150px;
  min-height: 78px;
  transform: translate(-50%, -50%);
  color: #fff;
  background: var(--navy);
}

.node.family {
  border-color: var(--gold);
}

.node.ally {
  border-color: var(--green);
}

.node.enemy {
  border-color: var(--red);
}

a.node:hover {
  outline: 3px solid rgba(36, 59, 99, 0.18);
  outline-offset: 2px;
  text-decoration: none;
  transform: translateY(-2px);
}

a.node:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.relation-board.nobunaga-relations {
  min-height: 500px;
}

.nobunaga-relations .relation-family-left {
  left: 30%;
  top: 3%;
  transform: translateX(-50%);
}

.nobunaga-relations .relation-family-right {
  left: 70%;
  top: 3%;
  transform: translateX(-50%);
}

.nobunaga-relations .relation-family-top-center {
  left: 50%;
  top: 3%;
  transform: translateX(-50%);
}

.nobunaga-relations .relation-left-upper {
  left: 4%;
  top: 28%;
}

.nobunaga-relations .relation-right-upper {
  right: 4%;
  top: 28%;
}

.nobunaga-relations .relation-left-middle {
  left: 4%;
  top: 56%;
}

.nobunaga-relations .relation-right-middle {
  right: 4%;
  top: 56%;
}

.nobunaga-relations .relation-left-lower {
  left: 20%;
  bottom: 3%;
}

.nobunaga-relations .relation-right-lower {
  right: 20%;
  bottom: 3%;
}

.nobunaga-relations a.relation-family-left:hover,
.nobunaga-relations a.relation-family-right:hover,
.nobunaga-relations a.relation-family-top-center:hover {
  transform: translateX(-50%) translateY(-2px);
}

.line {
  position: absolute;
  height: 3px;
  background: rgba(36, 59, 99, 0.34);
  transform-origin: left center;
  border-radius: 999px;
  pointer-events: none;
  z-index: 1;
}

.line.red {
  background: rgba(163, 61, 53, 0.38);
}

.line.green {
  background: rgba(73, 111, 83, 0.38);
}

.line.gold {
  background: rgba(184, 135, 43, 0.44);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

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

.swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--navy);
}

.swatch.gold {
  background: var(--gold);
}

.swatch.green {
  background: var(--green);
}

.swatch.red {
  background: var(--red);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  padding-bottom: 52px;
}

.content-layout.article-only {
  grid-template-columns: minmax(0, 1fr);
}

.content-layout > article:not(.article) {
  display: grid;
  gap: 24px;
}

/* 新しいテンプレートへ移行途中のページも、導入文の密度を統一する。 */
body:has(.site-title) .hero.hero-single > p:not(.eyebrow) {
  max-width: 980px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

/* 本文を主役にする。旧ページに残る右メニューは幅を取らせず、
   三英傑ページと同じ一列の読み物レイアウトに統一する。 */
.content-layout > .side-nav {
  display: none;
}

/* 右に余白がある単独見出しでは、短すぎる行幅で折り返さない。 */
.hero.hero-single .lead {
  max-width: 980px;
}

.article .section-head p {
  max-width: 900px;
}

/* 信長ページから読む人物は、本文を主役にした読み物型へ統一する。 */
body.nobunaga-linked-person .content-layout {
  grid-template-columns: minmax(0, 1fr);
}

body.nobunaga-linked-person .side-nav,
body.nobunaga-linked-person section:has(.quiz-list),
body.nobunaga-linked-person .nav a[href="#quiz"] {
  display: none;
}

/* 信長ルートの個別事件・城ページも、長い本文を一列で読ませる。 */
:is(body.nobunaga-linked-detail, body:has(.nav a[href="../places/ichijodani.html"])) .content-layout {
  grid-template-columns: minmax(0, 1fr);
}

:is(body.nobunaga-linked-detail, body:has(.nav a[href="../places/ichijodani.html"])) .side-nav,
:is(body.nobunaga-linked-detail, body:has(.nav a[href="../places/ichijodani.html"])) section:has(.quiz-list),
:is(body.nobunaga-linked-detail, body:has(.nav a[href="../places/ichijodani.html"])) .nav a[href="#quiz"] {
  display: none;
}

/* 秀吉ルートの旧型ページも、リンク先で本文に集中できる構成へそろえる。 */
body.hideyoshi-linked-person .content-layout,
body:has(.nav a[href="ukita-hideie.html"]) .content-layout,
body:has(.nav a[href="kobayakawa-hideaki.html"]) .content-layout,
body.hideyoshi-linked-detail .content-layout {
  grid-template-columns: minmax(0, 1fr);
}

body.hideyoshi-linked-person .side-nav,
body:has(.nav a[href="ukita-hideie.html"]) .side-nav,
body:has(.nav a[href="kobayakawa-hideaki.html"]) .side-nav,
body.hideyoshi-linked-detail .side-nav,
body.hideyoshi-linked-person section:has(.quiz-list),
body:has(.nav a[href="ukita-hideie.html"]) section:has(.quiz-list),
body:has(.nav a[href="kobayakawa-hideaki.html"]) section:has(.quiz-list),
body.hideyoshi-linked-detail section:has(.quiz-list),
body.hideyoshi-linked-person .nav a[href="#quiz"],
body:has(.nav a[href="ukita-hideie.html"]) .nav a[href="#quiz"],
body:has(.nav a[href="kobayakawa-hideaki.html"]) .nav a[href="#quiz"],
body.hideyoshi-linked-detail .nav a[href="#quiz"] {
  display: none;
}

/* 家康ルートの旧型ページも、人物・事件の本文を続けて読める形へ統一する。 */
:is(
  body.ieyasu-linked-person,
  body:has(.nav a[href="tokugawa-ieyasu.html"]):has(.nav a[href="tokugawa-iemitsu.html"]):has(.nav a[href="../events/osaka-summer-siege.html"]),
  body:has(.nav a[href="oeyo.html"]):has(.nav a[href="toyotomi-hideyori.html"]):has(.nav a[href="../events/osaka-summer-siege.html"]),
  body:has(.nav a[href="sanada-nobushige.html"]):has(.nav a[href="../places/ueda-castle.html"]),
  body.ieyasu-linked-detail
) .content-layout {
  grid-template-columns: minmax(0, 1fr);
}

:is(
  body.ieyasu-linked-person,
  body:has(.nav a[href="tokugawa-ieyasu.html"]):has(.nav a[href="tokugawa-iemitsu.html"]):has(.nav a[href="../events/osaka-summer-siege.html"]),
  body:has(.nav a[href="oeyo.html"]):has(.nav a[href="toyotomi-hideyori.html"]):has(.nav a[href="../events/osaka-summer-siege.html"]),
  body:has(.nav a[href="sanada-nobushige.html"]):has(.nav a[href="../places/ueda-castle.html"]),
  body.ieyasu-linked-detail
) .side-nav,
:is(
  body.ieyasu-linked-person,
  body:has(.nav a[href="tokugawa-ieyasu.html"]):has(.nav a[href="tokugawa-iemitsu.html"]):has(.nav a[href="../events/osaka-summer-siege.html"]),
  body:has(.nav a[href="oeyo.html"]):has(.nav a[href="toyotomi-hideyori.html"]):has(.nav a[href="../events/osaka-summer-siege.html"]),
  body:has(.nav a[href="sanada-nobushige.html"]):has(.nav a[href="../places/ueda-castle.html"]),
  body.ieyasu-linked-detail
) section:has(.quiz-list),
:is(
  body.ieyasu-linked-person,
  body:has(.nav a[href="tokugawa-ieyasu.html"]):has(.nav a[href="tokugawa-iemitsu.html"]):has(.nav a[href="../events/osaka-summer-siege.html"]),
  body:has(.nav a[href="oeyo.html"]):has(.nav a[href="toyotomi-hideyori.html"]):has(.nav a[href="../events/osaka-summer-siege.html"]),
  body:has(.nav a[href="sanada-nobushige.html"]):has(.nav a[href="../places/ueda-castle.html"]),
  body.ieyasu-linked-detail
) .nav a[href="#quiz"] {
  display: none;
}

/* 地方勢力の入口ページも、三英傑ページと同じ読み物型に整える。 */
:is(
  body.regional-route-reader,
  body:has(.nav a[href="mori-terumoto.html"]):has(.nav a[href="kikkawa-motoharu.html"]):has(.nav a[href="kobayakawa-takakage.html"])
) .content-layout {
  grid-template-columns: minmax(0, 1fr);
}

:is(
  body.regional-route-reader,
  body:has(.nav a[href="mori-terumoto.html"]):has(.nav a[href="kikkawa-motoharu.html"]):has(.nav a[href="kobayakawa-takakage.html"])
) .side-nav,
:is(
  body.regional-route-reader,
  body:has(.nav a[href="mori-terumoto.html"]):has(.nav a[href="kikkawa-motoharu.html"]):has(.nav a[href="kobayakawa-takakage.html"])
) section:has(.quiz-list),
:is(
  body.regional-route-reader,
  body:has(.nav a[href="mori-terumoto.html"]):has(.nav a[href="kikkawa-motoharu.html"]):has(.nav a[href="kobayakawa-takakage.html"])
) .nav a[href="#quiz"],
:is(body.nobunaga-linked-person, body.nobunaga-linked-detail, body.hideyoshi-linked-person, body.hideyoshi-linked-detail, body.ieyasu-linked-person, body.ieyasu-linked-detail, body.regional-route-reader) .hero-media > .note-panel {
  display: none;
}

/* 地方勢力の入口から進む旧型の人物・事件・城も、本文中心の導線へそろえる。 */
:is(
  body.regional-linked-person,
  body.regional-linked-detail,
  body:has(.nav a[href="mori-motonari.html"]):has(.nav a[href="kobayakawa-takakage.html"]):has(.nav a[href="mori-terumoto.html"]),
  body:has(.nav a[href="../people/mori-motonari.html"]):has(.nav a[href="../people/kikkawa-motoharu.html"]):has(.nav a[href="../people/kobayakawa-takakage.html"])
) .content-layout {
  grid-template-columns: minmax(0, 1fr);
}

:is(
  body.regional-linked-person,
  body.regional-linked-detail,
  body:has(.nav a[href="mori-motonari.html"]):has(.nav a[href="kobayakawa-takakage.html"]):has(.nav a[href="mori-terumoto.html"]),
  body:has(.nav a[href="../people/mori-motonari.html"]):has(.nav a[href="../people/kikkawa-motoharu.html"]):has(.nav a[href="../people/kobayakawa-takakage.html"])
) .side-nav,
:is(
  body.regional-linked-person,
  body.regional-linked-detail,
  body:has(.nav a[href="mori-motonari.html"]):has(.nav a[href="kobayakawa-takakage.html"]):has(.nav a[href="mori-terumoto.html"]),
  body:has(.nav a[href="../people/mori-motonari.html"]):has(.nav a[href="../people/kikkawa-motoharu.html"]):has(.nav a[href="../people/kobayakawa-takakage.html"])
) section:has(.quiz-list),
:is(
  body.regional-linked-person,
  body.regional-linked-detail,
  body:has(.nav a[href="mori-motonari.html"]):has(.nav a[href="kobayakawa-takakage.html"]):has(.nav a[href="mori-terumoto.html"]),
  body:has(.nav a[href="../people/mori-motonari.html"]):has(.nav a[href="../people/kikkawa-motoharu.html"]):has(.nav a[href="../people/kobayakawa-takakage.html"])
) .nav a[href="#quiz"],
:is(
  body.regional-linked-person,
  body.regional-linked-detail,
  body:has(.nav a[href="mori-motonari.html"]):has(.nav a[href="kobayakawa-takakage.html"]):has(.nav a[href="mori-terumoto.html"]),
  body:has(.nav a[href="../people/mori-motonari.html"]):has(.nav a[href="../people/kikkawa-motoharu.html"]):has(.nav a[href="../people/kobayakawa-takakage.html"])
) .hero-media > .note-panel {
  display: none;
}

/* 圧縮済みの既存人物ページにも、同じ読み物型の見せ方を適用する。 */
:is(
  body:has(.nav a[href="ukita-hideie.html"]),
  body:has(.nav a[href="kobayakawa-hideaki.html"]),
  body:has(.nav a[href="tokugawa-ieyasu.html"]):has(.nav a[href="tokugawa-iemitsu.html"]):has(.nav a[href="../events/osaka-summer-siege.html"]),
  body:has(.nav a[href="oeyo.html"]):has(.nav a[href="toyotomi-hideyori.html"]):has(.nav a[href="../events/osaka-summer-siege.html"]),
  body:has(.nav a[href="sanada-nobushige.html"]):has(.nav a[href="../places/ueda-castle.html"])
) .hero-media > .note-panel {
  display: none;
}

.article {
  display: grid;
  gap: 24px;
}

.note-panel {
  padding: 18px;
}

.note-panel h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.note-subhead {
  margin: 14px 0 8px;
  font-size: 18px;
}

.note-panel p {
  margin: 0;
  color: var(--muted);
}

.quick-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.quick-list li {
  border-left: 4px solid var(--navy);
  padding: 8px 10px;
  background: rgba(231, 240, 247, 0.55);
}

.check-list,
.feature-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.feature-list li {
  border-left: 4px solid var(--navy);
  padding: 8px 10px;
  background: rgba(231, 240, 247, 0.55);
}

.story-block {
  display: grid;
  gap: 12px;
}

.story-block p {
  color: #363b40;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.compare-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.compare-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 16px;
}

.compare-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* 旧ページでは compare-grid の子要素に compare-card が付かない場合がある。
   比較項目が素の文章のまま並ばないよう、同じカード表示を補う。 */
.compare-grid > :not(.compare-card) {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.compare-grid > :not(.compare-card) h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 16px;
}

.compare-grid > :not(.compare-card) p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.compact-point-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.compact-point-card {
  border-left: 3px solid var(--gold);
  padding: 4px 10px;
}

.compact-point-card strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}

.compact-point-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.flow-list {
  counter-reset: flow;
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  counter-increment: flow;
  position: relative;
  padding: 10px 12px 10px 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.flow-list li::before {
  content: counter(flow);
  position: absolute;
  left: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  width: 118px;
  color: #37414c;
  background: #f3eadc;
}

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: 0;
}

.timeline {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
}

.timeline-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
}

.year {
  color: var(--red);
  font-weight: 900;
}

.nobunaga-timeline .timeline-item {
  grid-template-columns: 136px minmax(0, 1fr);
}

.nobunaga-timeline .year {
  white-space: nowrap;
}

.timeline-age {
  margin-left: 0.3em;
  color: var(--muted);
  font-size: 0.78em;
  font-weight: 700;
}

.timeline-text {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.quiz-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  background: #fff;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.side-nav {
  position: sticky;
  top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 16px;
}

.side-nav h2 {
  margin-bottom: 10px;
  font-size: 18px;
}

.side-nav a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-weight: 700;
}

.source-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.source-note {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  padding: 30px 0 42px;
  color: var(--muted);
  font-size: 13px;
}

body > footer:not(.site-footer) {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding: 24px 0 32px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.54);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
}

.footer-links a {
  color: var(--navy);
  font-weight: 800;
}

.legal-page {
  padding: 58px 0 72px;
}

.not-found-page {
  display: grid;
  min-height: calc(100vh - 180px);
  place-items: center;
  padding: 64px 0;
}

.not-found-card {
  max-width: 780px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--navy);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 42px;
}

.not-found-card h1 {
  margin: 12px 0 14px;
  font-size: 36px;
}

.narrow-wrap {
  max-width: 860px;
}

.legal-hero {
  margin-bottom: 24px;
}

.legal-hero h1 {
  margin: 12px 0 14px;
  font-size: 42px;
}

.legal-hero .lead {
  max-width: 760px;
}

.legal-panel {
  margin-top: 16px;
}

.legal-panel h2 {
  font-size: 21px;
}

.legal-list {
  margin: 0;
  padding-left: 1.4em;
  color: var(--muted);
}

.legal-list li + li {
  margin-top: 6px;
}

.contact-pending {
  border-left: 4px solid var(--gold);
}

/* Home: three equal hubs for Nobunaga, Hideyoshi, and Ieyasu. */
.home-page {
  --paper: #f2f4f2;
  --panel: #ffffff;
  --line: #d5dad7;
  background: var(--paper);
}

.home-page .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
}

.triad-hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
  background: #f2f4f2;
}

.triad-intro {
  max-width: none;
}

.triad-intro h1 {
  max-width: none;
  margin-top: 14px;
  font-size: 58px;
}

.triad-intro .lead {
  max-width: 820px;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.home-search {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(320px, 1.28fr);
  gap: 22px 34px;
  margin-top: 30px;
  border: 1px solid rgba(36, 59, 99, 0.2);
  border-left: 6px solid var(--navy);
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(31, 36, 40, 0.08);
}

.search-label {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.home-search h2 {
  margin-top: 5px;
  font-size: 24px;
}

.home-search-copy p,
.search-help,
.search-noscript {
  color: var(--muted);
}

.home-search-copy p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.75;
}

.search-form {
  align-self: center;
}

.search-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.search-control input {
  min-width: 0;
  min-height: 50px;
  border: 1px solid #aeb8c1;
  border-radius: 8px;
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.search-control input:focus {
  border-color: var(--navy);
  outline: 3px solid rgba(36, 59, 99, 0.15);
}

.search-control button {
  min-width: 84px;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  padding: 10px 17px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.search-help {
  margin: 7px 0 0;
  font-size: 12px;
}

.search-results {
  grid-column: 1 / -1;
}

.search-status {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.search-result-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-result-list a {
  display: block;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #f8faf9;
  color: inherit;
  text-decoration: none;
}

.search-result-list a:hover,
.search-result-list a:focus-visible {
  border-color: var(--navy);
  background: #fff;
}

.search-result-title,
.search-result-description {
  display: block;
}

.search-result-title {
  color: var(--navy);
  font-weight: 900;
}

.search-result-description {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.relationship-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
}

.relationship-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.relationship-strip b {
  margin-right: 5px;
  color: var(--ink);
}

.home-page ruby {
  ruby-position: over;
}

.home-page rt {
  color: var(--muted);
  font-size: 0.45em;
  font-weight: 700;
}

@media (min-width: 901px) {
  .triad-intro .lead,
  .story-band .section-head p,
  .route-band .section-head p,
  .power-band .section-head p,
  .directory-band .section-head p {
    max-width: none;
  }
}

.triad-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
  margin-top: 14px;
  padding-top: 0;
}

.triad-person {
  --hub-color: var(--navy);
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 238px 1fr;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-top: 6px solid var(--hub-color);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(31, 36, 40, 0.11);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.triad-person:hover {
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(31, 36, 40, 0.15);
}

.hub-nobunaga {
  --hub-color: #913b35;
}

.hub-hideyoshi {
  --hub-color: #a77922;
}

.hub-ieyasu {
  --hub-color: #3f6a4a;
}

.triad-person figure {
  overflow: hidden;
  margin: 0;
  background: #202429;
}

.triad-person img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.88) contrast(1.03);
  transition: transform 220ms ease;
}

.triad-person:hover img {
  transform: scale(1.025);
}

.hub-hideyoshi img {
  object-position: center 24%;
}

.hub-ieyasu img {
  object-position: center 52%;
}

.triad-person-copy {
  display: grid;
  align-content: start;
  padding: 18px;
}

.hub-era {
  color: var(--hub-color);
  font-size: 12px;
  font-weight: 900;
}

.triad-person h2 {
  margin-top: 3px;
  font-size: 28px;
}

.triad-person p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.text-link {
  align-self: end;
  margin-top: 14px;
  color: var(--hub-color);
  font-size: 13px;
  font-weight: 900;
}

.text-link::after,
.route-more::after {
  content: " →";
}

.image-credit {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.section-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.home-page .section-head h2 {
  font-size: 32px;
}

.story-band {
  padding: 52px 0;
  background: #fff;
}

.question-band {
  padding: 52px 0 58px;
  border-bottom: 1px solid var(--line);
  background: #f8faf9;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.question-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  border: 1px solid rgba(131, 49, 44, 0.17);
  border-radius: 11px;
  padding: 19px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 9px 23px rgba(31, 36, 40, 0.05);
}

.question-entry:hover,
.question-entry:focus-visible {
  border-color: var(--red);
  text-decoration: none;
  transform: translateY(-2px);
}

.question-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 900;
}

.question-entry h3,
.question-entry p {
  margin: 0;
}

.question-entry h3 {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.55;
}

.question-entry p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.question-answer {
  display: inline-block;
  margin-top: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.era-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.era-rail li {
  position: relative;
  min-width: 0;
}

.era-rail a {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: start;
  min-height: 136px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: 2px;
  padding: 14px;
  background: #fff;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.era-rail a:hover {
  text-decoration: none;
  border-color: var(--navy);
  box-shadow: 0 10px 20px rgba(31, 36, 40, 0.10);
  transform: translateY(-2px);
}

.era-rail a::after {
  content: "→";
  position: absolute;
  top: 10px;
  right: 12px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.era-year {
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.era-rail strong {
  margin-top: 8px;
  font-size: 15px;
}

.era-rail small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.route-band {
  padding: 52px 0 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f2f4f2;
}

.hub-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-top: 28px;
}

.route-column {
  --route-color: var(--navy);
  min-width: 0;
  border-top: 5px solid var(--route-color);
  padding-top: 17px;
}

.route-nobunaga {
  --route-color: #913b35;
}

.route-hideyoshi {
  --route-color: #a77922;
}

.route-ieyasu {
  --route-color: #3f6a4a;
}

.route-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 74px;
}

.route-number {
  color: var(--route-color);
  font-size: 13px;
  font-weight: 900;
}

.route-heading h3 {
  font-size: 22px;
}

.route-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.route-link {
  display: block;
  min-height: 88px;
  border-top: 1px solid var(--line);
  padding: 13px 2px;
}

.route-link:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.55);
}

.route-link strong,
.route-link span {
  display: block;
}

.route-link strong {
  color: var(--route-color);
  font-size: 15px;
}

.route-link span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.route-more {
  display: inline-flex;
  margin-top: 15px;
  color: var(--route-color);
  font-size: 13px;
  font-weight: 900;
}

.power-band {
  padding: 48px 0;
  background: #fff;
}

.region-gateways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.region-gateway {
  display: grid;
  align-content: start;
  min-height: 190px;
  border: 1px solid rgba(36, 59, 99, 0.19);
  border-top: 6px solid var(--navy);
  border-radius: 9px;
  padding: 20px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(31, 36, 40, 0.07);
}

.region-gateway.routes {
  border-top-color: var(--red);
}

.region-gateway.cities {
  border-top-color: var(--green);
}

.region-gateway:hover,
.region-gateway:focus-visible {
  text-decoration: none;
  transform: translateY(-2px);
}

.gateway-number {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.region-gateway strong {
  margin-top: 8px;
  color: var(--navy);
  font-size: 21px;
}

.region-gateway > span:last-child {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.region-route-title {
  margin: 32px 0 14px;
  font-size: 20px;
}

.regional-route-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.power-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.power-grid a {
  min-height: 128px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 17px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 36, 40, 0.06);
}

.power-grid a:hover {
  border-color: var(--navy);
  text-decoration: none;
}

.power-grid strong,
.power-grid span {
  display: block;
}

.power-grid strong {
  color: var(--navy);
  font-size: 17px;
}

.power-grid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.directory-band {
  padding: 48px 0 58px;
  border-top: 1px solid var(--line);
  background: #eef1ef;
}

.directory-grid {
  display: grid;
  gap: 12px;
}

.directory-group {
  padding: 0;
  background: #fff;
}

.directory-group summary {
  padding: 15px 17px;
  color: var(--navy);
}

.complete-index-band {
  border-top: 1px solid var(--line);
}

.complete-index-jumps {
  margin-bottom: 18px;
}

.complete-directory-grid {
  gap: 14px;
}

.complete-directory-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 900;
}

.complete-directory-group summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.directory-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
  padding: 10px 14px 14px;
}

.directory-links a {
  border-right: 1px solid var(--line);
  margin-top: 7px;
  padding: 2px 10px;
  color: #39434c;
  font-size: 13px;
  font-weight: 700;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-inner a {
  color: var(--navy);
  font-weight: 800;
}

.footer-utility {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.footer-utility a {
  color: var(--navy);
  font-weight: 800;
}

/* 公開版の共通仕上げ。世代の異なる記事も、読み幅・カード・操作感をそろえる。 */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid rgba(36, 59, 99, 0.78);
  outline-offset: 3px;
  border-radius: 4px;
}

.article > .note-panel {
  border-radius: 12px;
  padding: clamp(20px, 2.4vw, 28px);
}

.article > .summary-panel {
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--navy);
  background:
    linear-gradient(135deg, rgba(231, 240, 247, 0.72), rgba(255, 253, 248, 0) 54%),
    var(--panel);
}

.article > .summary-panel::after {
  content: "";
  position: absolute;
  top: -44px;
  right: -44px;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(36, 59, 99, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.panel-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.summary-panel .quick-list strong {
  color: var(--navy);
}

.article > .note-panel > h2 {
  line-height: 1.4;
}

.article :where(p, li, td, th, a),
.source-list a {
  overflow-wrap: anywhere;
}

.link-card,
.link-grid > a {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.link-card:hover,
.link-card:focus-visible,
.link-grid > a:hover,
.link-grid > a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(36, 59, 99, 0.42);
  box-shadow: 0 18px 38px rgba(31, 36, 40, 0.12);
  text-decoration: none;
}

.source-list li + li {
  margin-top: 6px;
}

.site-footer {
  border-top: 1px solid rgba(222, 213, 196, 0.82);
  background: rgba(255, 253, 248, 0.42);
}

.site-footer .footer-utility {
  margin-top: 0;
}

/* 肖像と並ぶ旧式の要約カードは本文と重複するため、画像を主役にする。 */
.hero-media:has(figure) > .note-panel {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .link-card,
  .link-grid > a {
    transition: none;
  }
}

@media (max-width: 900px) {
  .hero,
  .hero-media,
  .content-layout,
  .compare-grid,
  .compact-point-grid,
  .topic-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .owari-place-grid > * {
    grid-column: auto;
  }

  .place-route-grid {
    grid-template-columns: 1fr;
  }

  .place-route-grid-five > * {
    grid-column: auto;
  }

  .side-nav {
    position: static;
  }

  .relation-board {
    min-height: 560px;
  }

  .node {
    width: 128px;
  }

  .triad-stage {
    gap: 20px;
  }

  .triad-person {
    grid-template-rows: 210px 1fr;
  }

  .hub-routes,
  .power-grid,
  .regional-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-search {
    grid-template-columns: 1fr;
  }

  .search-results {
    grid-column: 1;
  }

  .region-gateways {
    grid-template-columns: 1fr;
  }

  .region-gateway {
    min-height: 0;
  }

  .route-ieyasu {
    grid-column: 1 / -1;
  }

  .era-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 22px;
  }

}

@media (max-width: 620px) {
  .article > .note-panel {
    padding: 18px;
  }

  .data-table th {
    width: 94px;
  }

  .nobunaga-timeline .timeline-item {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 8px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .site-header > .wrap {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 12px 0;
  }

  .site-header > .wrap > .nav {
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    padding: 0;
  }

  .hero {
    padding-top: 28px;
  }

  .relation-board,
  .relation-board.compact {
    min-height: 640px;
  }

  .line {
    display: none;
  }

  .node,
  .node.center {
    position: static;
    transform: none;
    width: calc(100% - 28px);
    margin: 12px 14px;
  }

  .nobunaga-relations .relation-family-left,
  .nobunaga-relations .relation-family-right,
  .nobunaga-relations .relation-family-top-center,
  .nobunaga-relations a.relation-family-left:hover,
  .nobunaga-relations a.relation-family-right:hover,
  .nobunaga-relations a.relation-family-top-center:hover {
    transform: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .triad-hero {
    padding: 34px 0 36px;
  }

  .triad-intro h1 {
    font-size: 38px;
  }

  .legal-page {
    padding: 36px 0 52px;
  }

  .not-found-page {
    min-height: auto;
    padding: 36px 0 52px;
  }

  .not-found-card {
    padding: 28px 22px;
  }

  .not-found-card h1 {
    font-size: 29px;
  }

  .legal-hero h1 {
    font-size: 32px;
  }

  .triad-stage {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 0;
  }

  .relationship-strip,
  .question-grid,
  .search-result-list {
    grid-template-columns: 1fr;
  }

  .relationship-strip {
    gap: 6px;
    margin-top: 24px;
  }

  .relationship-strip span {
    border-radius: 8px;
    text-align: left;
  }

  .home-search {
    gap: 18px;
    margin-top: 24px;
    padding: 19px;
  }

  .home-search h2 {
    font-size: 21px;
  }

  .search-control {
    grid-template-columns: 1fr;
  }

  .search-control button {
    width: 100%;
  }

  .triad-person {
    grid-template-columns: 118px minmax(0, 1fr);
    grid-template-rows: minmax(196px, auto);
  }

  .triad-person-copy {
    padding: 15px;
  }

  .triad-person h2 {
    font-size: 23px;
  }

  .image-credit {
    text-align: left;
  }

  .home-page .section-head h2 {
    font-size: 27px;
  }

  .era-rail,
  .hub-routes,
  .power-grid,
  .regional-route-grid {
    grid-template-columns: 1fr;
  }

  .era-rail {
    gap: 0;
  }

  .era-rail a {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    justify-items: start;
    min-height: 116px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--navy);
    padding: 14px;
    text-align: left;
  }

  .era-year {
    margin: 0;
  }

  .era-rail strong {
    margin: 0;
  }

  .route-ieyasu {
    grid-column: auto;
  }

  .route-heading {
    min-height: 66px;
  }

  .power-grid a {
    min-height: 104px;
  }

  .directory-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-links a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 7px 4px;
  }
}
/* 明智光秀：前半生、政務と軍事、丹波支配、本能寺後の11日間を読み分ける。 */
.akechi-profile ruby {
  ruby-position: over;
}

.akechi-profile rt {
  color: var(--muted);
  font-size: 0.46em;
  font-weight: 700;
}

.akechi-profile .answer-lead {
  margin: 4px 0 14px;
  border-left: 5px solid var(--red);
  border-radius: 0 9px 9px 0;
  padding: 14px 17px;
  background: linear-gradient(90deg, rgba(163, 61, 53, 0.09), rgba(163, 61, 53, 0.02));
  color: #252b31;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.85;
}

.akechi-profile .akechi-key-grid,
.akechi-profile .ability-grid,
.akechi-profile .decision-grid,
.akechi-profile .akechi-qa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.akechi-profile .akechi-key {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 11px;
  border: 1px solid rgba(36, 59, 99, 0.14);
  border-radius: 10px;
  padding: 16px;
  background: #fff;
}

.akechi-profile .akechi-key > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.akechi-profile :is(.akechi-key, .evidence-board article, .ability-grid article, .akechi-life article, .tamba-flow article, .governance-grid article, .decision-grid article, .honnoji-balance article, .eleven-days article, .akechi-qa) :is(h3, p) {
  margin: 0;
}

.akechi-profile .akechi-key h3 {
  color: var(--navy);
  font-size: 17px;
}

.akechi-profile .akechi-key p {
  grid-column: 2;
  color: #41474c;
  line-height: 1.75;
}

.akechi-profile .akechi-key:last-child {
  grid-column: 1 / -1;
}

.akechi-profile .akechi-caution {
  margin-top: 17px;
  border: 1px solid rgba(184, 135, 43, 0.3);
  border-left: 5px solid var(--gold);
  border-radius: 9px;
  padding: 15px 17px;
  background: rgba(184, 135, 43, 0.08);
}

.akechi-profile .akechi-caution strong {
  color: #76571a;
  font-size: 17px;
}

.akechi-profile .akechi-caution p {
  margin: 7px 0 0;
}

.akechi-profile .profile-table-wrap {
  overflow-x: auto;
}

.akechi-profile .evidence-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.akechi-profile .evidence-board article {
  border: 1px solid rgba(36, 59, 99, 0.16);
  border-top: 5px solid var(--green);
  border-radius: 10px;
  padding: 17px;
  background: #fff;
}

.akechi-profile .evidence-board article:nth-child(2) {
  border-top-color: var(--gold);
}

.akechi-profile .evidence-board article:nth-child(3) {
  border-top-color: var(--red);
}

.akechi-profile .evidence-board span,
.akechi-profile .ability-grid span,
.akechi-profile .decision-grid span,
.akechi-profile .honnoji-balance span,
.akechi-profile .eleven-days span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.akechi-profile .evidence-board h3,
.akechi-profile .ability-grid h3,
.akechi-profile .governance-grid h3,
.akechi-profile .decision-grid h3,
.akechi-profile .honnoji-balance h3,
.akechi-profile .eleven-days h3 {
  color: var(--navy);
  font-size: 17px;
}

.akechi-profile .evidence-board p,
.akechi-profile .ability-grid p,
.akechi-profile .governance-grid p,
.akechi-profile .decision-grid p,
.akechi-profile .honnoji-balance p,
.akechi-profile .eleven-days p {
  margin-top: 8px;
  line-height: 1.75;
}

.akechi-profile .section-insight {
  margin: 17px 0 0;
  border-radius: 9px;
  padding: 15px 17px;
  background: var(--sky);
}

.akechi-profile .section-insight strong {
  color: var(--navy);
}

.akechi-profile .ability-grid article {
  border-radius: 10px;
  padding: 18px;
  background: var(--sky);
}

.akechi-profile .ability-grid article:nth-child(even) {
  background: rgba(184, 135, 43, 0.09);
}

.akechi-profile .ability-grid span {
  color: var(--red);
}

.akechi-profile .relationship-strip {
  display: flex;
  align-items: stretch;
  gap: 7px;
  margin-top: 18px;
}

.akechi-profile .relationship-strip span {
  display: grid;
  flex: 1;
  place-items: center;
  min-height: 88px;
  border: 1px solid rgba(36, 59, 99, 0.16);
  border-radius: 9px;
  padding: 13px;
  background: #fff;
  text-align: center;
}

.akechi-profile .relationship-strip strong {
  color: var(--navy);
}

.akechi-profile .relationship-strip small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.akechi-profile .relationship-strip i,
.akechi-profile .eleven-days > i {
  display: grid;
  place-items: center;
  color: var(--red);
  font-style: normal;
  font-weight: 900;
}

.akechi-profile .akechi-life,
.akechi-profile .tamba-flow {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}

.akechi-profile .akechi-life article,
.akechi-profile .tamba-flow article {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid rgba(36, 59, 99, 0.14);
  border-left: 5px solid var(--navy);
  border-radius: 10px;
  padding: 17px;
  background: linear-gradient(100deg, rgba(36, 59, 99, 0.06), #fff 48%);
}

.akechi-profile .akechi-life article:last-child {
  border-left-color: var(--red);
  background: linear-gradient(100deg, rgba(163, 61, 53, 0.08), #fff 48%);
}

.akechi-profile .life-year {
  align-self: start;
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.akechi-profile .akechi-life article:last-child .life-year {
  background: var(--red);
}

.akechi-profile .akechi-life h3,
.akechi-profile .tamba-flow h3 {
  color: var(--navy);
  font-size: 18px;
}

.akechi-profile .akechi-life p,
.akechi-profile .tamba-flow p {
  margin-top: 6px;
  line-height: 1.8;
}

.akechi-profile .tamba-flow article {
  grid-template-columns: auto minmax(0, 1fr);
  border-left-color: var(--green);
  background: linear-gradient(100deg, rgba(54, 112, 88, 0.07), #fff 48%);
}

.akechi-profile .tamba-flow article > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.akechi-profile .governance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.akechi-profile .governance-grid article {
  border-top: 5px solid var(--gold);
  border-radius: 10px;
  padding: 17px;
  background: rgba(184, 135, 43, 0.08);
}

.akechi-profile .decision-grid article {
  border: 1px solid rgba(36, 59, 99, 0.15);
  border-radius: 10px;
  padding: 18px;
  background: #fff;
}

.akechi-profile .decision-grid span {
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--sky);
  color: var(--navy);
}

.akechi-profile .honnoji-balance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.akechi-profile .honnoji-balance article {
  border-top: 6px solid var(--green);
  border-radius: 11px;
  padding: 19px;
  background: rgba(54, 112, 88, 0.07);
}

.akechi-profile .honnoji-balance .failure {
  border-top-color: var(--red);
  background: rgba(163, 61, 53, 0.07);
}

.akechi-profile .honnoji-balance .success span {
  color: var(--green);
}

.akechi-profile .honnoji-balance .failure span {
  color: var(--red);
}

.akechi-profile .eleven-days {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  margin-top: 18px;
}

.akechi-profile .eleven-days article {
  border: 1px solid rgba(36, 59, 99, 0.15);
  border-radius: 10px;
  padding: 17px;
  background: #fff;
}

.akechi-profile .eleven-days span {
  color: var(--red);
}

.akechi-profile .detail-link {
  margin: 17px 0 0;
  font-weight: 800;
}

.akechi-profile .akechi-qa {
  border: 1px solid rgba(163, 61, 53, 0.17);
  border-radius: 11px;
  padding: 19px;
  background: linear-gradient(145deg, rgba(163, 61, 53, 0.05), #fff 55%);
}

.akechi-profile .akechi-qa h3 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  color: var(--navy);
  font-size: 17px;
}

.akechi-profile .akechi-qa h3::before {
  content: "Q";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.akechi-profile .akechi-qa p {
  margin-top: 11px;
  border-top: 1px solid var(--line);
  padding-top: 11px;
  line-height: 1.78;
}

@media (max-width: 760px) {
  .akechi-profile .akechi-key-grid,
  .akechi-profile .evidence-board,
  .akechi-profile .ability-grid,
  .akechi-profile .governance-grid,
  .akechi-profile .decision-grid,
  .akechi-profile .honnoji-balance,
  .akechi-profile .akechi-qa-grid {
    grid-template-columns: 1fr;
  }

  .akechi-profile .akechi-key:last-child {
    grid-column: auto;
  }

  .akechi-profile .relationship-strip,
  .akechi-profile .eleven-days {
    display: grid;
    grid-template-columns: 1fr;
  }

  .akechi-profile .relationship-strip i,
  .akechi-profile .eleven-days > i {
    transform: rotate(90deg);
  }

  .akechi-profile .akechi-life article {
    grid-template-columns: 1fr;
  }

  .akechi-profile .life-year {
    justify-self: start;
  }
}
/* 伊達政宗：南奥州の拡大、全国政権への転換、仙台開府と外交を読み分ける。 */
.date-profile ruby {
  ruby-position: over;
}

.date-profile rt {
  color: var(--muted);
  font-size: 0.46em;
  font-weight: 700;
}

.date-profile .answer-lead {
  margin: 4px 0 14px;
  border-left: 5px solid var(--red);
  border-radius: 0 9px 9px 0;
  padding: 14px 17px;
  background: linear-gradient(90deg, rgba(163, 61, 53, 0.09), rgba(163, 61, 53, 0.02));
  color: #252b31;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.85;
}

.date-profile .date-key-grid,
.date-profile .formation-grid,
.date-profile .turning-grid,
.date-profile .sendai-system,
.date-profile .date-people-grid,
.date-profile .date-qa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.date-profile :is(.date-key, .formation-grid article, .date-life article, .expansion-flow article, .region-balance article, .scale-compare article, .turning-grid article, .promise-grid article, .sendai-system article, .mission-grid article, .date-people-grid article, .date-qa) :is(h3, p) {
  margin: 0;
}

.date-profile .date-key {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 11px;
  border: 1px solid rgba(36, 59, 99, 0.14);
  border-radius: 10px;
  padding: 16px;
  background: #fff;
}

.date-profile .date-key > span,
.date-profile .expansion-flow article > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.date-profile .date-key h3 {
  color: var(--navy);
  font-size: 17px;
}

.date-profile .date-key p {
  grid-column: 2;
  color: #41474c;
  line-height: 1.75;
}

.date-profile .date-key:last-child {
  grid-column: 1 / -1;
}

.date-profile .date-caution {
  margin-top: 17px;
  border: 1px solid rgba(184, 135, 43, 0.3);
  border-left: 5px solid var(--gold);
  border-radius: 9px;
  padding: 15px 17px;
  background: rgba(184, 135, 43, 0.08);
}

.date-profile .date-caution strong {
  color: #76571a;
  font-size: 17px;
}

.date-profile .date-caution p {
  margin: 7px 0 0;
}

.date-profile .profile-table-wrap {
  overflow-x: auto;
}

.date-profile .formation-grid article,
.date-profile .turning-grid article,
.date-profile .sendai-system article,
.date-profile .date-people-grid article {
  border: 1px solid rgba(36, 59, 99, 0.15);
  border-radius: 10px;
  padding: 18px;
  background: #fff;
}

.date-profile .formation-grid article {
  border-top: 5px solid var(--navy);
  background: linear-gradient(145deg, rgba(36, 59, 99, 0.06), #fff 58%);
}

.date-profile .formation-grid span,
.date-profile .region-balance span,
.date-profile .scale-compare span,
.date-profile .promise-grid span,
.date-profile .sendai-system span,
.date-profile .mission-grid span,
.date-profile .date-people-grid span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.date-profile :is(.formation-grid, .region-balance, .scale-compare, .turning-grid, .promise-grid, .sendai-system, .mission-grid, .date-people-grid) h3 {
  color: var(--navy);
  font-size: 17px;
}

.date-profile :is(.formation-grid, .region-balance, .scale-compare, .turning-grid, .promise-grid, .sendai-system, .mission-grid, .date-people-grid) p {
  margin-top: 8px;
  line-height: 1.75;
}

.date-profile .date-life,
.date-profile .expansion-flow {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}

.date-profile .date-life article,
.date-profile .expansion-flow article {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid rgba(36, 59, 99, 0.14);
  border-left: 5px solid var(--navy);
  border-radius: 10px;
  padding: 17px;
  background: linear-gradient(100deg, rgba(36, 59, 99, 0.06), #fff 48%);
}

.date-profile .date-life article:nth-child(4) {
  border-left-color: var(--red);
  background: linear-gradient(100deg, rgba(163, 61, 53, 0.07), #fff 48%);
}

.date-profile .date-life article:last-child {
  border-left-color: var(--green);
  background: linear-gradient(100deg, rgba(54, 112, 88, 0.07), #fff 48%);
}

.date-profile .life-year {
  align-self: start;
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.date-profile .date-life article:nth-child(4) .life-year {
  background: var(--red);
}

.date-profile .date-life article:last-child .life-year {
  background: var(--green);
}

.date-profile .date-life h3,
.date-profile .expansion-flow h3 {
  color: var(--navy);
  font-size: 18px;
}

.date-profile .date-life p,
.date-profile .expansion-flow p {
  margin-top: 6px;
  line-height: 1.8;
}

.date-profile .expansion-flow article {
  grid-template-columns: auto minmax(0, 1fr);
  border-left-color: var(--red);
  background: linear-gradient(100deg, rgba(163, 61, 53, 0.06), #fff 48%);
}

.date-profile .expansion-flow article > span {
  background: var(--red);
}

.date-profile .region-balance,
.date-profile .promise-grid,
.date-profile .mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.date-profile .region-balance article,
.date-profile .promise-grid article,
.date-profile .mission-grid article {
  border-top: 5px solid var(--gold);
  border-radius: 10px;
  padding: 17px;
  background: rgba(184, 135, 43, 0.08);
}

.date-profile .region-balance span,
.date-profile .promise-grid span,
.date-profile .mission-grid span {
  color: #76571a;
}

.date-profile .scale-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  margin-top: 18px;
}

.date-profile .scale-compare article {
  border-top: 6px solid var(--red);
  border-radius: 11px;
  padding: 19px;
  background: rgba(163, 61, 53, 0.07);
}

.date-profile .scale-compare .national {
  border-top-color: var(--navy);
  background: rgba(36, 59, 99, 0.07);
}

.date-profile .scale-compare .local span {
  color: var(--red);
}

.date-profile .scale-compare .national span {
  color: var(--navy);
}

.date-profile .scale-mark {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 27px;
  font-weight: 900;
}

.date-profile .turning-grid article {
  background: var(--sky);
}

.date-profile .turning-grid article:nth-child(even) {
  background: rgba(184, 135, 43, 0.08);
}

.date-profile .section-insight {
  margin: 17px 0 0;
  border-radius: 9px;
  padding: 15px 17px;
  background: var(--sky);
}

.date-profile .section-insight strong {
  color: var(--navy);
}

.date-profile .promise-grid article {
  border-top-color: var(--navy);
  background: rgba(36, 59, 99, 0.06);
}

.date-profile .promise-grid span {
  color: var(--navy);
}

.date-profile .sendai-system article {
  border-top: 5px solid var(--green);
  background: linear-gradient(145deg, rgba(54, 112, 88, 0.07), #fff 58%);
}

.date-profile .sendai-system span {
  color: var(--green);
}

.date-profile .base-shift {
  display: flex;
  align-items: stretch;
  gap: 7px;
  margin-top: 18px;
}

.date-profile .base-shift span {
  display: grid;
  flex: 1;
  place-items: center;
  min-height: 86px;
  border: 1px solid rgba(36, 59, 99, 0.16);
  border-radius: 9px;
  padding: 12px;
  background: #fff;
  text-align: center;
}

.date-profile .base-shift strong {
  color: var(--navy);
}

.date-profile .base-shift small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.date-profile .base-shift i {
  display: grid;
  place-items: center;
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.date-profile .mission-grid article {
  border-top-color: var(--green);
  background: rgba(54, 112, 88, 0.07);
}

.date-profile .mission-grid span {
  color: var(--green);
}

.date-profile .date-people-grid span {
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--sky);
  color: var(--navy);
}

.date-profile .date-qa {
  border: 1px solid rgba(163, 61, 53, 0.17);
  border-radius: 11px;
  padding: 19px;
  background: linear-gradient(145deg, rgba(163, 61, 53, 0.05), #fff 55%);
}

.date-profile .date-qa h3 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  color: var(--navy);
  font-size: 17px;
}

.date-profile .date-qa h3::before {
  content: "Q";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.date-profile .date-qa p {
  margin-top: 11px;
  border-top: 1px solid var(--line);
  padding-top: 11px;
  line-height: 1.78;
}

@media (max-width: 760px) {
  .date-profile .date-key-grid,
  .date-profile .formation-grid,
  .date-profile .region-balance,
  .date-profile .scale-compare,
  .date-profile .turning-grid,
  .date-profile .promise-grid,
  .date-profile .sendai-system,
  .date-profile .mission-grid,
  .date-profile .date-people-grid,
  .date-profile .date-qa-grid {
    grid-template-columns: 1fr;
  }

  .date-profile .date-key:last-child {
    grid-column: auto;
  }

  .date-profile .date-life article {
    grid-template-columns: 1fr;
  }

  .date-profile .life-year {
    justify-self: start;
  }

  .date-profile .base-shift {
    display: grid;
    grid-template-columns: 1fr;
  }

  .date-profile .base-shift i {
    transform: rotate(90deg);
  }
}

/* 上杉謙信：権威・遠征・領国経営・後継問題をつなぐ人物ページ */
.kenshin-profile .kenshin-key-grid,
.kenshin-profile .kenshin-front-grid,
.kenshin-profile .kenshin-strength-grid,
.kenshin-profile .kenshin-battle-grid,
.kenshin-profile .kenshin-system-grid,
.kenshin-profile .kenshin-people-grid,
.kenshin-profile .kenshin-qa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.kenshin-profile .kenshin-key,
.kenshin-profile .kenshin-front-grid article,
.kenshin-profile .kenshin-strength-grid article,
.kenshin-profile .kenshin-battle-grid article,
.kenshin-profile .kenshin-system-grid article,
.kenshin-profile .kenshin-people-grid article {
  border: 1px solid rgba(36, 59, 99, 0.14);
  border-top: 5px solid var(--navy);
  border-radius: 11px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(36, 59, 99, 0.055), #fff 58%);
}

.kenshin-profile .kenshin-key:nth-child(3n + 2),
.kenshin-profile .kenshin-front-grid article:nth-child(even),
.kenshin-profile .kenshin-battle-grid article:nth-child(even) {
  border-top-color: var(--gold);
  background: linear-gradient(145deg, rgba(184, 135, 43, 0.07), #fff 58%);
}

.kenshin-profile .kenshin-key:nth-child(3n),
.kenshin-profile .kenshin-front-grid article:last-child {
  border-top-color: var(--green);
  background: linear-gradient(145deg, rgba(54, 112, 88, 0.065), #fff 58%);
}

.kenshin-profile .kenshin-key > span,
.kenshin-profile .kenshin-front-grid article > span,
.kenshin-profile .kenshin-strength-grid article > span,
.kenshin-profile .kenshin-battle-grid article > span,
.kenshin-profile .kenshin-system-grid article > span,
.kenshin-profile .kenshin-people-grid article > span,
.kenshin-profile .kenshin-kanto-flow article > span,
.kenshin-profile .kenshin-two-view article > span,
.kenshin-profile .kenshin-justice-compare article > span,
.kenshin-profile .kenshin-faith-grid article > span,
.kenshin-profile .kenshin-hokuriku-flow article > span,
.kenshin-profile .kenshin-heir-grid article > span {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.kenshin-profile .kenshin-key h3,
.kenshin-profile .kenshin-front-grid h3,
.kenshin-profile .kenshin-strength-grid h3,
.kenshin-profile .kenshin-battle-grid h3,
.kenshin-profile .kenshin-system-grid h3,
.kenshin-profile .kenshin-people-grid h3,
.kenshin-profile .kenshin-kanto-flow h3,
.kenshin-profile .kenshin-two-view h3,
.kenshin-profile .kenshin-justice-compare h3,
.kenshin-profile .kenshin-faith-grid h3,
.kenshin-profile .kenshin-hokuriku-flow h3,
.kenshin-profile .kenshin-heir-grid h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
}

.kenshin-profile .kenshin-key p,
.kenshin-profile .kenshin-front-grid p,
.kenshin-profile .kenshin-strength-grid p,
.kenshin-profile .kenshin-battle-grid p,
.kenshin-profile .kenshin-system-grid p,
.kenshin-profile .kenshin-people-grid p,
.kenshin-profile .kenshin-kanto-flow p,
.kenshin-profile .kenshin-two-view p,
.kenshin-profile .kenshin-faith-grid p,
.kenshin-profile .kenshin-hokuriku-flow p,
.kenshin-profile .kenshin-heir-grid p {
  margin: 0;
  line-height: 1.78;
}

.kenshin-profile .kenshin-caution {
  margin-top: 20px;
  border-left: 6px solid var(--red);
  border-radius: 8px;
  padding: 16px 18px;
  background: rgba(163, 61, 53, 0.065);
}

.kenshin-profile .kenshin-caution strong {
  color: var(--red);
}

.kenshin-profile .kenshin-caution p {
  margin: 6px 0 0;
}

.kenshin-profile .kenshin-name-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  margin-top: 20px;
}

.kenshin-profile .kenshin-name-flow article {
  display: grid;
  align-content: center;
  min-height: 112px;
  border: 1px solid rgba(36, 59, 99, 0.16);
  border-radius: 10px;
  padding: 13px;
  background: #fff;
  text-align: center;
}

.kenshin-profile .kenshin-name-flow article:nth-of-type(3),
.kenshin-profile .kenshin-name-flow article:nth-of-type(4) {
  background: rgba(184, 135, 43, 0.07);
}

.kenshin-profile .kenshin-name-flow article:last-of-type {
  background: rgba(54, 112, 88, 0.07);
}

.kenshin-profile .kenshin-name-flow span,
.kenshin-profile .kenshin-name-flow small {
  color: var(--muted);
  font-size: 11px;
}

.kenshin-profile .kenshin-name-flow strong {
  margin: 5px 0;
  color: var(--navy);
  font-size: 17px;
}

.kenshin-profile .kenshin-name-flow i,
.kenshin-profile .kenshin-kanto-flow i,
.kenshin-profile .kenshin-hokuriku-flow i {
  display: grid;
  place-items: center;
  padding: 0 7px;
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
}

.kenshin-profile .section-insight {
  margin: 18px 0 0;
  border-radius: 9px;
  padding: 16px 18px;
  background: var(--sky);
}

.kenshin-profile .section-insight strong {
  color: var(--navy);
}

.kenshin-profile .kenshin-balance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
  border-radius: 11px;
  padding: 18px;
  background: var(--sky);
}

.kenshin-profile .kenshin-balance span,
.kenshin-profile .kenshin-balance strong {
  border-radius: 999px;
  padding: 8px 13px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 3px 12px rgba(36, 59, 99, 0.08);
}

.kenshin-profile .kenshin-balance b {
  color: var(--gold);
}

.kenshin-profile .kenshin-life {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}

.kenshin-profile .kenshin-life article {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 17px;
  border: 1px solid rgba(36, 59, 99, 0.13);
  border-radius: 11px;
  padding: 17px;
  background: #fff;
}

.kenshin-profile .kenshin-life article:nth-child(even) {
  background: rgba(184, 135, 43, 0.055);
}

.kenshin-profile .life-year {
  display: grid;
  place-items: center;
  align-self: start;
  min-height: 48px;
  border-radius: 999px;
  padding: 9px 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  text-align: center;
}

.kenshin-profile .kenshin-life h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 18px;
}

.kenshin-profile .kenshin-life p {
  margin: 0;
  line-height: 1.8;
}

.kenshin-profile .kenshin-strength-grid article,
.kenshin-profile .kenshin-system-grid article {
  border-top-color: var(--green);
  background: linear-gradient(145deg, rgba(54, 112, 88, 0.065), #fff 58%);
}

.kenshin-profile .kenshin-strength-grid article > span,
.kenshin-profile .kenshin-system-grid article > span {
  color: var(--green);
}

.kenshin-profile .kenshin-kanto-flow,
.kenshin-profile .kenshin-hokuriku-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  margin-top: 20px;
}

.kenshin-profile .kenshin-kanto-flow article,
.kenshin-profile .kenshin-hokuriku-flow article {
  border-top: 5px solid var(--gold);
  border-radius: 10px;
  padding: 16px;
  background: rgba(184, 135, 43, 0.065);
}

.kenshin-profile .kenshin-kanto-flow article:nth-of-type(even),
.kenshin-profile .kenshin-hokuriku-flow article:nth-of-type(even) {
  border-top-color: var(--navy);
  background: rgba(36, 59, 99, 0.055);
}

.kenshin-profile .kenshin-kanto-flow article > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}

.kenshin-profile .kenshin-two-view,
.kenshin-profile .kenshin-justice-compare,
.kenshin-profile .kenshin-heir-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.kenshin-profile .kenshin-two-view article,
.kenshin-profile .kenshin-justice-compare article,
.kenshin-profile .kenshin-heir-grid article {
  border-top: 6px solid var(--green);
  border-radius: 11px;
  padding: 19px;
  background: rgba(54, 112, 88, 0.07);
}

.kenshin-profile .kenshin-two-view article:last-child,
.kenshin-profile .kenshin-justice-compare .interest,
.kenshin-profile .kenshin-heir-grid .kagetora {
  border-top-color: var(--red);
  background: rgba(163, 61, 53, 0.06);
}

.kenshin-profile .kenshin-justice-compare ul {
  margin: 12px 0 0;
  padding-left: 1.25em;
}

.kenshin-profile .kenshin-justice-compare li + li {
  margin-top: 6px;
}

.kenshin-profile .kenshin-faith-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.kenshin-profile .kenshin-faith-grid article {
  border-top: 5px solid var(--gold);
  border-radius: 11px;
  padding: 18px;
  background: rgba(184, 135, 43, 0.07);
}

.kenshin-profile .kenshin-hokuriku-flow article > span {
  color: var(--green);
}

.kenshin-profile .kenshin-succession-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
  border-radius: 11px;
  padding: 18px;
  background: rgba(163, 61, 53, 0.06);
}

.kenshin-profile .kenshin-succession-chain span,
.kenshin-profile .kenshin-succession-chain strong {
  border-radius: 8px;
  padding: 9px 12px;
  background: #fff;
  color: var(--navy);
}

.kenshin-profile .kenshin-succession-chain i {
  color: var(--red);
  font-style: normal;
  font-weight: 900;
}

.kenshin-profile .kenshin-people-grid article > span {
  color: var(--gold);
}

.kenshin-profile .kenshin-qa {
  border: 1px solid rgba(163, 61, 53, 0.16);
  border-radius: 11px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(163, 61, 53, 0.05), #fff 55%);
}

.kenshin-profile .kenshin-qa h3 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  margin: 0;
  color: var(--navy);
  font-size: 17px;
}

.kenshin-profile .kenshin-qa h3::before {
  content: "Q";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.kenshin-profile .kenshin-qa p {
  margin: 12px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  line-height: 1.78;
}

@media (max-width: 760px) {
  .kenshin-profile .kenshin-key-grid,
  .kenshin-profile .kenshin-front-grid,
  .kenshin-profile .kenshin-strength-grid,
  .kenshin-profile .kenshin-battle-grid,
  .kenshin-profile .kenshin-system-grid,
  .kenshin-profile .kenshin-two-view,
  .kenshin-profile .kenshin-justice-compare,
  .kenshin-profile .kenshin-faith-grid,
  .kenshin-profile .kenshin-heir-grid,
  .kenshin-profile .kenshin-people-grid,
  .kenshin-profile .kenshin-qa-grid {
    grid-template-columns: 1fr;
  }

  .kenshin-profile .kenshin-name-flow,
  .kenshin-profile .kenshin-kanto-flow,
  .kenshin-profile .kenshin-hokuriku-flow {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .kenshin-profile .kenshin-name-flow i,
  .kenshin-profile .kenshin-kanto-flow i,
  .kenshin-profile .kenshin-hokuriku-flow i {
    transform: rotate(90deg);
  }

  .kenshin-profile .kenshin-life article {
    grid-template-columns: 1fr;
  }

  .kenshin-profile .life-year {
    justify-self: start;
    min-height: auto;
  }

  .kenshin-profile .kenshin-succession-chain {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .kenshin-profile .kenshin-succession-chain i {
    transform: rotate(90deg);
  }
}

/* 長篠・設楽原：籠城、救援、野戦築城、鉄砲、戦後をつなぐ合戦ページ */
.nagashino-page .nagashino-key-grid,
.nagashino-page .nagashino-place-grid,
.nagashino-page .nagashino-background-grid,
.nagashino-page .nagashino-siege-grid,
.nagashino-page .nagashino-terrain-grid,
.nagashino-page .nagashino-decision-grid,
.nagashino-page .nagashino-victory-grid,
.nagashino-page .nagashino-loss-grid,
.nagashino-page .nagashino-people-grid,
.nagashino-page .nagashino-qa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.nagashino-page .nagashino-key,
.nagashino-page .nagashino-place-grid article,
.nagashino-page .nagashino-background-grid article,
.nagashino-page .nagashino-siege-grid article,
.nagashino-page .nagashino-terrain-grid article,
.nagashino-page .nagashino-decision-grid article,
.nagashino-page .nagashino-victory-grid article,
.nagashino-page .nagashino-loss-grid article,
.nagashino-page .nagashino-people-grid article {
  border: 1px solid rgba(36, 59, 99, 0.14);
  border-top: 5px solid var(--navy);
  border-radius: 11px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(36, 59, 99, 0.055), #fff 58%);
}

.nagashino-page .nagashino-key:nth-child(3n + 2),
.nagashino-page .nagashino-place-grid article:nth-child(2),
.nagashino-page .nagashino-background-grid article:nth-child(even),
.nagashino-page .nagashino-terrain-grid article:nth-child(even) {
  border-top-color: var(--gold);
  background: linear-gradient(145deg, rgba(184, 135, 43, 0.07), #fff 58%);
}

.nagashino-page .nagashino-key:nth-child(3n),
.nagashino-page .nagashino-place-grid article:last-child {
  border-top-color: var(--green);
  background: linear-gradient(145deg, rgba(54, 112, 88, 0.065), #fff 58%);
}

.nagashino-page .nagashino-key > span,
.nagashino-page .nagashino-place-grid article > span,
.nagashino-page .nagashino-background-grid article > span,
.nagashino-page .nagashino-siege-grid article > span,
.nagashino-page .nagashino-terrain-grid article > span,
.nagashino-page .nagashino-evidence-grid article > span,
.nagashino-page .nagashino-decision-grid article > span,
.nagashino-page .nagashino-victory-grid article > span,
.nagashino-page .nagashino-loss-grid article > span,
.nagashino-page .nagashino-people-grid article > span,
.nagashino-page .nagashino-suneemon-flow article > span {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.nagashino-page .nagashino-key h3,
.nagashino-page .nagashino-place-grid h3,
.nagashino-page .nagashino-background-grid h3,
.nagashino-page .nagashino-siege-grid h3,
.nagashino-page .nagashino-terrain-grid h3,
.nagashino-page .nagashino-evidence-grid h3,
.nagashino-page .nagashino-decision-grid h3,
.nagashino-page .nagashino-victory-grid h3,
.nagashino-page .nagashino-loss-grid h3,
.nagashino-page .nagashino-people-grid h3,
.nagashino-page .nagashino-suneemon-flow h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
}

.nagashino-page .nagashino-key p,
.nagashino-page .nagashino-place-grid p,
.nagashino-page .nagashino-background-grid p,
.nagashino-page .nagashino-siege-grid p,
.nagashino-page .nagashino-terrain-grid p,
.nagashino-page .nagashino-evidence-grid p,
.nagashino-page .nagashino-decision-grid p,
.nagashino-page .nagashino-victory-grid p,
.nagashino-page .nagashino-loss-grid p,
.nagashino-page .nagashino-people-grid p,
.nagashino-page .nagashino-suneemon-flow p {
  margin: 0;
  line-height: 1.78;
}

.nagashino-page .nagashino-caution,
.nagashino-page .nagashino-source-note {
  margin-top: 20px;
  border-left: 6px solid var(--red);
  border-radius: 8px;
  padding: 16px 18px;
  background: rgba(163, 61, 53, 0.065);
}

.nagashino-page .nagashino-caution strong,
.nagashino-page .nagashino-source-note strong {
  color: var(--red);
}

.nagashino-page .nagashino-caution p,
.nagashino-page .nagashino-source-note p {
  margin: 6px 0 0;
}

.nagashino-page .nagashino-place-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  margin-top: 20px;
}

.nagashino-page .nagashino-place-flow article {
  display: grid;
  align-content: center;
  min-height: 112px;
  border: 1px solid rgba(36, 59, 99, 0.16);
  border-radius: 10px;
  padding: 15px;
  background: rgba(54, 112, 88, 0.065);
  text-align: center;
}

.nagashino-page .nagashino-place-flow article:last-child {
  background: rgba(184, 135, 43, 0.07);
}

.nagashino-page .nagashino-place-flow span,
.nagashino-page .nagashino-place-flow small {
  color: var(--muted);
  font-size: 12px;
}

.nagashino-page .nagashino-place-flow strong {
  margin: 5px 0;
  color: var(--navy);
  font-size: 21px;
}

.nagashino-page .nagashino-place-flow i,
.nagashino-page .nagashino-suneemon-flow i,
.nagashino-page .nagashino-aftermath-chain i {
  display: grid;
  place-items: center;
  padding: 0 12px;
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
}

.nagashino-page .section-insight {
  margin: 18px 0 0;
  border-radius: 9px;
  padding: 16px 18px;
  background: var(--sky);
}

.nagashino-page .section-insight strong {
  color: var(--navy);
}

.nagashino-page .nagashino-siege-grid article,
.nagashino-page .nagashino-victory-grid article {
  border-top-color: var(--green);
  background: linear-gradient(145deg, rgba(54, 112, 88, 0.065), #fff 58%);
}

.nagashino-page .nagashino-siege-grid article > span,
.nagashino-page .nagashino-victory-grid article > span {
  color: var(--green);
}

.nagashino-page .nagashino-suneemon-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  margin-top: 20px;
}

.nagashino-page .nagashino-suneemon-flow article {
  border-top: 5px solid var(--gold);
  border-radius: 10px;
  padding: 16px;
  background: rgba(184, 135, 43, 0.065);
}

.nagashino-page .nagashino-suneemon-flow article > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
}

.nagashino-page .nagashino-life {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}

.nagashino-page .nagashino-life article {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 17px;
  border: 1px solid rgba(36, 59, 99, 0.13);
  border-radius: 11px;
  padding: 17px;
  background: #fff;
}

.nagashino-page .nagashino-life article:nth-child(even) {
  background: rgba(184, 135, 43, 0.055);
}

.nagashino-page .battle-time {
  display: grid;
  place-items: center;
  align-self: start;
  min-height: 48px;
  border-radius: 999px;
  padding: 9px 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  text-align: center;
}

.nagashino-page .nagashino-life h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 18px;
}

.nagashino-page .nagashino-life p {
  margin: 0;
  line-height: 1.8;
}

.nagashino-page .nagashino-terrain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  margin-top: 20px;
}

.nagashino-page .nagashino-terrain article {
  display: grid;
  align-content: center;
  min-height: 125px;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.nagashino-page .nagashino-terrain .takeda {
  border-top: 6px solid var(--red);
  background: rgba(163, 61, 53, 0.07);
}

.nagashino-page .nagashino-terrain .lowland {
  border-top: 6px solid #56849b;
  background: rgba(86, 132, 155, 0.1);
}

.nagashino-page .nagashino-terrain .fence {
  border-top: 6px solid var(--gold);
  background: rgba(184, 135, 43, 0.08);
}

.nagashino-page .nagashino-terrain .alliance {
  border-top: 6px solid var(--green);
  background: rgba(54, 112, 88, 0.075);
}

.nagashino-page .nagashino-terrain span,
.nagashino-page .nagashino-terrain small {
  color: var(--muted);
  font-size: 12px;
}

.nagashino-page .nagashino-terrain strong {
  margin: 6px 0;
  color: var(--navy);
  font-size: 17px;
}

.nagashino-page .nagashino-terrain i {
  display: grid;
  place-items: center;
  padding: 0 7px;
  color: var(--red);
  font-style: normal;
  font-weight: 900;
}

.nagashino-page .nagashino-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.nagashino-page .nagashino-evidence-grid article {
  border-top: 6px solid var(--green);
  border-radius: 11px;
  padding: 18px;
  background: rgba(54, 112, 88, 0.07);
}

.nagashino-page .nagashino-evidence-grid .debated {
  border-top-color: var(--gold);
  background: rgba(184, 135, 43, 0.07);
}

.nagashino-page .nagashino-evidence-grid .later {
  border-top-color: var(--red);
  background: rgba(163, 61, 53, 0.06);
}

.nagashino-page .nagashino-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
  border-radius: 11px;
  padding: 18px;
  background: var(--sky);
}

.nagashino-page .nagashino-formula span,
.nagashino-page .nagashino-formula strong {
  border-radius: 999px;
  padding: 8px 13px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 3px 12px rgba(36, 59, 99, 0.08);
}

.nagashino-page .nagashino-formula b {
  color: var(--gold);
}

.nagashino-page .nagashino-loss-grid article {
  border-top-color: var(--red);
  background: linear-gradient(145deg, rgba(163, 61, 53, 0.055), #fff 58%);
}

.nagashino-page .nagashino-aftermath-chain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  margin-top: 20px;
}

.nagashino-page .nagashino-aftermath-chain article {
  display: grid;
  align-content: center;
  min-height: 118px;
  border-top: 5px solid var(--red);
  border-radius: 10px;
  padding: 14px;
  background: rgba(163, 61, 53, 0.06);
  text-align: center;
}

.nagashino-page .nagashino-aftermath-chain article:nth-of-type(2),
.nagashino-page .nagashino-aftermath-chain article:nth-of-type(3) {
  border-top-color: var(--gold);
  background: rgba(184, 135, 43, 0.07);
}

.nagashino-page .nagashino-aftermath-chain span,
.nagashino-page .nagashino-aftermath-chain small {
  color: var(--muted);
  font-size: 12px;
}

.nagashino-page .nagashino-aftermath-chain strong {
  margin: 6px 0;
  color: var(--navy);
}

.nagashino-page .nagashino-people-grid article > span {
  color: var(--gold);
}

.nagashino-page .nagashino-qa {
  border: 1px solid rgba(163, 61, 53, 0.16);
  border-radius: 11px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(163, 61, 53, 0.05), #fff 55%);
}

.nagashino-page .nagashino-qa h3 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  margin: 0;
  color: var(--navy);
  font-size: 17px;
}

.nagashino-page .nagashino-qa h3::before {
  content: "Q";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.nagashino-page .nagashino-qa p {
  margin: 12px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  line-height: 1.78;
}

@media (max-width: 760px) {
  .nagashino-page .nagashino-key-grid,
  .nagashino-page .nagashino-place-grid,
  .nagashino-page .nagashino-background-grid,
  .nagashino-page .nagashino-siege-grid,
  .nagashino-page .nagashino-terrain-grid,
  .nagashino-page .nagashino-evidence-grid,
  .nagashino-page .nagashino-decision-grid,
  .nagashino-page .nagashino-victory-grid,
  .nagashino-page .nagashino-loss-grid,
  .nagashino-page .nagashino-people-grid,
  .nagashino-page .nagashino-qa-grid {
    grid-template-columns: 1fr;
  }

  .nagashino-page .nagashino-place-flow,
  .nagashino-page .nagashino-suneemon-flow,
  .nagashino-page .nagashino-terrain,
  .nagashino-page .nagashino-aftermath-chain {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .nagashino-page .nagashino-place-flow i,
  .nagashino-page .nagashino-suneemon-flow i,
  .nagashino-page .nagashino-terrain i,
  .nagashino-page .nagashino-aftermath-chain i {
    transform: rotate(90deg);
  }

  .nagashino-page .nagashino-life article {
    grid-template-columns: 1fr;
  }

  .nagashino-page .battle-time {
    justify-self: start;
    min-height: auto;
  }
}

/* Ishida Mitsunari profile */
.mitsunari-profile .content-layout {
  grid-template-columns: minmax(0, 1fr);
}

.mitsunari-profile .article {
  max-width: 1040px;
  margin-inline: auto;
}

.mitsunari-profile .note-panel > h2 {
  position: relative;
  padding-bottom: 12px;
}

.mitsunari-profile .note-panel > h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 72px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.mitsunari-profile .mitsunari-key-grid,
.mitsunari-profile .mitsunari-commissioner-grid,
.mitsunari-profile .mitsunari-qa-grid {
  display: grid;
  gap: 14px;
}

.mitsunari-profile .mitsunari-key-grid,
.mitsunari-profile .mitsunari-commissioner-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mitsunari-profile .mitsunari-qa-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mitsunari-profile .mitsunari-key-grid article,
.mitsunari-profile .mitsunari-commissioner-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: linear-gradient(145deg, #fff, rgba(36, 59, 99, 0.04));
}

.mitsunari-profile .mitsunari-key-grid article::before,
.mitsunari-profile .mitsunari-commissioner-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}

.mitsunari-profile .mitsunari-key-grid article > span,
.mitsunari-profile .mitsunari-commissioner-grid article > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.mitsunari-profile .mitsunari-key-grid h3,
.mitsunari-profile .mitsunari-commissioner-grid h3 {
  margin: 8px 0 7px;
  color: var(--navy);
  font-size: 17px;
}

.mitsunari-profile .mitsunari-key-grid p,
.mitsunari-profile .mitsunari-commissioner-grid p {
  margin: 0;
}

.mitsunari-profile .mitsunari-insight {
  margin: 18px 0 0;
  border-left: 5px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 15px 18px;
  background: linear-gradient(90deg, rgba(184, 135, 43, 0.13), rgba(255, 255, 255, 0.72));
}

.mitsunari-profile .mitsunari-insight strong {
  color: var(--navy);
}

.mitsunari-profile .story-block {
  border: 1px solid rgba(36, 59, 99, 0.12);
  border-radius: 12px;
  padding: 18px 20px;
  background: linear-gradient(145deg, rgba(36, 59, 99, 0.035), #fff 58%);
}

.mitsunari-profile .story-block p:first-child {
  margin-top: 0;
}

.mitsunari-profile .story-block p:last-child {
  margin-bottom: 0;
}

.mitsunari-profile #relations .data-table {
  display: table;
  width: 100%;
}

.mitsunari-profile #relations .data-table th {
  width: 190px;
  color: var(--navy);
}

.mitsunari-profile .mitsunari-commissioner-grid article:first-child {
  border-color: rgba(163, 61, 53, 0.34);
  background: linear-gradient(145deg, rgba(163, 61, 53, 0.08), #fff 60%);
}

.mitsunari-profile .mitsunari-commissioner-grid article:first-child::before {
  background: var(--red);
}

.mitsunari-profile .mitsunari-qa {
  border: 1px solid rgba(163, 61, 53, 0.16);
  border-radius: 11px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(163, 61, 53, 0.05), #fff 55%);
}

.mitsunari-profile .mitsunari-qa h3 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  margin: 0;
  color: var(--navy);
  font-size: 17px;
}

.mitsunari-profile .mitsunari-qa h3::before {
  content: "Q";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.mitsunari-profile .mitsunari-qa p {
  margin: 12px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  line-height: 1.78;
}

.mitsunari-profile #five-stages .compare-card,
.mitsunari-profile #comparison .compare-card,
.mitsunari-profile #three-faces .compare-card,
.mitsunari-profile #places .compare-card {
  border-top: 4px solid var(--navy);
}

.mitsunari-profile #sekigahara {
  border-color: rgba(163, 61, 53, 0.3);
  box-shadow: 0 16px 34px rgba(163, 61, 53, 0.07);
}

@media (max-width: 760px) {
  .mitsunari-profile .mitsunari-key-grid,
  .mitsunari-profile .mitsunari-commissioner-grid,
  .mitsunari-profile .mitsunari-qa-grid {
    grid-template-columns: 1fr;
  }

  .mitsunari-profile #relations {
    overflow-x: auto;
  }

  .mitsunari-profile #relations .data-table {
    min-width: 660px;
  }

  .mitsunari-profile .story-block {
    padding: 16px;
  }
}

/* Sanada Nobushige profile */
.nobushige-profile .nobushige-key-grid,
.nobushige-profile .nobushige-name-grid,
.nobushige-profile .nobushige-choice-grid,
.nobushige-profile .nobushige-two-view,
.nobushige-profile .nobushige-ueda-grid,
.nobushige-profile .nobushige-kudoyama-grid,
.nobushige-profile .nobushige-osaka-grid,
.nobushige-profile .nobushige-marugrid,
.nobushige-profile .nobushige-after-grid,
.nobushige-profile .nobushige-people-grid,
.nobushige-profile .nobushige-qa-grid,
.nobushige-profile .nobushige-meaning-grid {
  display: grid;
  gap: 14px;
}

.nobushige-profile .nobushige-key-grid,
.nobushige-profile .nobushige-choice-grid,
.nobushige-profile .nobushige-marugrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nobushige-profile .nobushige-name-grid,
.nobushige-profile .nobushige-two-view,
.nobushige-profile .nobushige-ueda-grid,
.nobushige-profile .nobushige-kudoyama-grid,
.nobushige-profile .nobushige-osaka-grid,
.nobushige-profile .nobushige-after-grid,
.nobushige-profile .nobushige-qa-grid,
.nobushige-profile .nobushige-meaning-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nobushige-profile .nobushige-people-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nobushige-profile .nobushige-key-grid article,
.nobushige-profile .nobushige-name-grid article,
.nobushige-profile .nobushige-choice-grid article,
.nobushige-profile .nobushige-two-view article,
.nobushige-profile .nobushige-ueda-grid article,
.nobushige-profile .nobushige-kudoyama-grid article,
.nobushige-profile .nobushige-osaka-grid article,
.nobushige-profile .nobushige-marugrid article,
.nobushige-profile .nobushige-after-grid article,
.nobushige-profile .nobushige-people-grid article,
.nobushige-profile .nobushige-meaning-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: linear-gradient(145deg, #fff, rgba(163, 61, 53, 0.035));
}

.nobushige-profile .nobushige-key-grid article::before,
.nobushige-profile .nobushige-choice-grid article::before,
.nobushige-profile .nobushige-ueda-grid article::before,
.nobushige-profile .nobushige-kudoyama-grid article::before,
.nobushige-profile .nobushige-osaka-grid article::before,
.nobushige-profile .nobushige-marugrid article::before,
.nobushige-profile .nobushige-after-grid article::before,
.nobushige-profile .nobushige-people-grid article::before,
.nobushige-profile .nobushige-meaning-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.nobushige-profile :is(
  .nobushige-key-grid,
  .nobushige-name-grid,
  .nobushige-choice-grid,
  .nobushige-two-view,
  .nobushige-ueda-grid,
  .nobushige-kudoyama-grid,
  .nobushige-osaka-grid,
  .nobushige-marugrid,
  .nobushige-after-grid,
  .nobushige-people-grid,
  .nobushige-meaning-grid
) article > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .07em;
}

.nobushige-profile :is(
  .nobushige-key-grid,
  .nobushige-name-grid,
  .nobushige-choice-grid,
  .nobushige-two-view,
  .nobushige-ueda-grid,
  .nobushige-kudoyama-grid,
  .nobushige-osaka-grid,
  .nobushige-marugrid,
  .nobushige-after-grid,
  .nobushige-people-grid,
  .nobushige-meaning-grid
) h3 {
  margin: 8px 0 7px;
  color: var(--navy);
  font-size: 17px;
}

.nobushige-profile :is(
  .nobushige-key-grid,
  .nobushige-name-grid,
  .nobushige-choice-grid,
  .nobushige-two-view,
  .nobushige-ueda-grid,
  .nobushige-kudoyama-grid,
  .nobushige-osaka-grid,
  .nobushige-marugrid,
  .nobushige-after-grid,
  .nobushige-people-grid,
  .nobushige-meaning-grid
) p {
  margin: 0;
}

.nobushige-profile .nobushige-name-grid article:first-child {
  border-color: rgba(73, 111, 83, 0.3);
  background: linear-gradient(145deg, rgba(73, 111, 83, 0.08), #fff 62%);
}

.nobushige-profile .nobushige-name-grid article:last-child {
  border-color: rgba(184, 135, 43, 0.36);
  background: linear-gradient(145deg, rgba(184, 135, 43, 0.1), #fff 62%);
}

.nobushige-profile .nobushige-insight {
  margin: 18px 0 0;
  border-left: 5px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 15px 18px;
  background: linear-gradient(90deg, rgba(184, 135, 43, 0.13), rgba(255, 255, 255, 0.74));
}

.nobushige-profile .nobushige-insight strong {
  color: var(--navy);
}

.nobushige-profile .nobushige-life {
  display: grid;
  gap: 11px;
}

.nobushige-profile .nobushige-life article {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 0 0 13px;
}

.nobushige-profile .nobushige-life article:last-child {
  border-bottom: 0;
}

.nobushige-profile .life-year {
  display: grid;
  place-items: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 7px;
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.nobushige-profile .nobushige-life h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 17px;
}

.nobushige-profile .nobushige-life p {
  margin: 0;
}

.nobushige-profile .nobushige-route-flow,
.nobushige-profile .nobushige-summer-flow,
.nobushige-profile .nobushige-winter-chain {
  display: grid;
  align-items: stretch;
  gap: 10px;
}

.nobushige-profile .nobushige-route-flow {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
}

.nobushige-profile .nobushige-summer-flow,
.nobushige-profile .nobushige-winter-chain {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
}

.nobushige-profile .nobushige-route-flow article,
.nobushige-profile .nobushige-summer-flow article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(36, 59, 99, 0.18);
  border-radius: 11px;
  padding: 15px;
  background: #fff;
}

.nobushige-profile .nobushige-route-flow article > span,
.nobushige-profile .nobushige-summer-flow article > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.nobushige-profile .nobushige-route-flow h3,
.nobushige-profile .nobushige-summer-flow h3 {
  margin: 6px 0;
  color: var(--navy);
  font-size: 16px;
}

.nobushige-profile .nobushige-route-flow p,
.nobushige-profile .nobushige-summer-flow p {
  margin: 0;
  font-size: 14px;
}

.nobushige-profile .nobushige-route-flow i,
.nobushige-profile .nobushige-summer-flow i,
.nobushige-profile .nobushige-winter-chain i {
  align-self: center;
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
}

.nobushige-profile .nobushige-winter-chain {
  margin-top: 18px;
}

.nobushige-profile .nobushige-winter-chain span,
.nobushige-profile .nobushige-winter-chain strong {
  display: grid;
  place-items: center;
  min-height: 68px;
  border-radius: 10px;
  padding: 12px;
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.nobushige-profile .nobushige-winter-chain strong {
  background: var(--red);
}

.nobushige-profile .nobushige-qa {
  border: 1px solid rgba(163, 61, 53, 0.16);
  border-radius: 11px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(163, 61, 53, 0.05), #fff 55%);
}

.nobushige-profile .nobushige-qa h3 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  margin: 0;
  color: var(--navy);
  font-size: 17px;
}

.nobushige-profile .nobushige-qa h3::before {
  content: "Q";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.nobushige-profile .nobushige-qa p {
  margin: 12px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  line-height: 1.78;
}

.nobushige-profile #sanadamaru,
.nobushige-profile #summer {
  border-color: rgba(163, 61, 53, 0.28);
  box-shadow: 0 16px 34px rgba(163, 61, 53, 0.06);
}

@media (max-width: 760px) {
  .nobushige-profile .nobushige-key-grid,
  .nobushige-profile .nobushige-name-grid,
  .nobushige-profile .nobushige-choice-grid,
  .nobushige-profile .nobushige-two-view,
  .nobushige-profile .nobushige-ueda-grid,
  .nobushige-profile .nobushige-kudoyama-grid,
  .nobushige-profile .nobushige-osaka-grid,
  .nobushige-profile .nobushige-marugrid,
  .nobushige-profile .nobushige-after-grid,
  .nobushige-profile .nobushige-people-grid,
  .nobushige-profile .nobushige-qa-grid,
  .nobushige-profile .nobushige-meaning-grid {
    grid-template-columns: 1fr;
  }

  .nobushige-profile .nobushige-route-flow,
  .nobushige-profile .nobushige-summer-flow,
  .nobushige-profile .nobushige-winter-chain {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .nobushige-profile .nobushige-route-flow i,
  .nobushige-profile .nobushige-summer-flow i,
  .nobushige-profile .nobushige-winter-chain i {
    transform: rotate(90deg);
  }

  .nobushige-profile .nobushige-life article {
    grid-template-columns: 1fr;
  }

.nobushige-profile .life-year {
    justify-self: start;
    min-width: 108px;
    min-height: 38px;
  }
}

/* Nobunaga relationship hub: show the essential relationships before the full index. */
.nobunaga-network-page .network-core-grid .compare-card {
  border-top: 4px solid var(--gold);
}

.nobunaga-network-page .network-core-grid .compare-card:nth-child(2) {
  border-top-color: var(--green);
}

.nobunaga-network-page .network-core-grid .compare-card:nth-child(3) {
  border-top-color: var(--red);
}

.nobunaga-network-page .network-core-grid .compare-card:nth-child(4) {
  border-top-color: var(--navy);
}

.nobunaga-network-page .network-directory {
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--panel);
}

.nobunaga-network-page .network-directory summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  color: var(--navy);
  font-size: 18px;
}

.nobunaga-network-page .network-directory summary small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.nobunaga-network-page .network-directory .topic-grid {
  padding: 20px;
  border-top: 1px solid var(--line);
  background: #f8f5ee;
}

@media (max-width: 760px) {
  .nobunaga-network-page .network-directory summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    padding: 17px;
  }

  .nobunaga-network-page .network-directory summary small {
    text-align: left;
  }

  .nobunaga-network-page .network-directory .topic-grid {
    padding: 14px;
  }
}
