:root {
  --poa-navy: #0b2942;
  --poa-blue: #315f7d;
  --poa-teal: #397565;
  --poa-gold: #9a6d2c;
  --poa-gold-text: #76531f;
  --poa-paper: #f7f4ed;
  --poa-white: #fff;
  --poa-ink: #183449;
  --poa-muted: #506875;
  --poa-line: #cfd9df;
  --poa-soft-blue: #eaf1f3;
  --poa-warm: #f2ece0;
}

.poa-page *,
.poa-page *::before,
.poa-page *::after {
  box-sizing: border-box;
}

.poa-page {
  color: var(--poa-ink);
  background: var(--poa-white);
}

.poa-shell {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.poa-article-width {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
}

.poa-page .nav-main {
  gap: clamp(.7rem, 1.25vw, 1.35rem);
}

.poa-page .nav-main a {
  font-size: .72rem;
}

.poa-page .content-context {
  margin-top: 79px;
  border-bottom: 1px solid var(--poa-line);
  background: var(--poa-white);
}

.poa-page .content-context-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1080px, calc(100% - 48px));
  min-height: 54px;
  margin: 0 auto;
}

.poa-page .content-context ol {
  display: flex;
  min-width: 0;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  color: #647888;
  font-size: .76rem;
  list-style: none;
}

.poa-page .content-context li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.poa-page .content-context li:not(:last-child)::after {
  color: #a6b3bc;
  content: "/";
}

.poa-page .content-context a {
  color: #40596d;
  text-decoration: none;
}

.poa-page .content-context-all {
  flex: 0 0 auto;
  font-weight: 700;
}

.poa-hero {
  padding: 5rem 0 4.8rem;
  border-bottom: 1px solid var(--poa-line);
  background:
    radial-gradient(circle at 90% 8%, rgba(57, 117, 101, .14), transparent 28%),
    linear-gradient(90deg, rgba(11, 41, 66, .026) 1px, transparent 1px) 0 0 / 88px 88px,
    var(--poa-paper);
}

.poa-hero h1 {
  max-width: 940px;
  margin: 0;
  color: var(--poa-navy);
  font: 600 clamp(2rem, 4vw, 3.15rem) / 1.48 'Noto Serif JP', serif;
  letter-spacing: -.045em;
}

.poa-title-unit,
.poa-heading-unit {
  display: inline-block;
}

.poa-lead,
.poa-intro {
  max-width: 820px;
  margin: 1.55rem 0 0;
  color: var(--poa-muted);
  font-size: 1.075rem;
  line-height: 2.05;
}

.poa-intro {
  margin-top: 1rem;
}

.poa-catch {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 2.7rem;
  border: 1px solid var(--poa-line);
  background: var(--poa-white);
  box-shadow: 0 16px 36px rgba(11, 41, 66, .08);
}

.poa-section {
  padding: 5rem 0;
  scroll-margin-top: 112px;
  background: var(--poa-white);
}

.poa-section:nth-of-type(even) {
  background: var(--poa-paper);
}

.poa-section h2 {
  margin: 0;
  color: var(--poa-navy);
  font: 600 clamp(1.72rem, 3.4vw, 2.35rem) / 1.55 'Noto Serif JP', serif;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.poa-section p {
  margin: 1.25rem 0 0;
  color: var(--poa-muted);
  font-size: 1.075rem;
  line-height: 2.05;
}

.poa-section ul {
  margin: 1.5rem 0 0;
  padding-left: 1.45rem;
  color: var(--poa-muted);
  font-size: 1.075rem;
}

.poa-section li {
  padding: .35rem 0;
  line-height: 1.95;
}

.poa-table-section {
  border-top: 1px solid var(--poa-line);
  border-bottom: 1px solid var(--poa-line);
}

.poa-table-wrap {
  width: min(1060px, calc(100% - 48px));
  margin: 2.2rem auto;
  border: 1px solid var(--poa-line);
  background: var(--poa-white);
}

.poa-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.poa-table th,
.poa-table td {
  padding: 1rem 1.05rem;
  border-right: 1px solid var(--poa-line);
  border-bottom: 1px solid var(--poa-line);
  font-size: .96rem;
  line-height: 1.75;
  text-align: left;
  vertical-align: top;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.poa-table th:last-child,
.poa-table td:last-child {
  border-right: 0;
}

.poa-table tbody tr:last-child > * {
  border-bottom: 0;
}

.poa-table thead th {
  color: var(--poa-white);
  background: var(--poa-navy);
  font-size: .88rem;
}

.poa-table thead th:first-child {
  width: 25%;
}

.poa-table thead th:nth-child(2) {
  width: 38%;
}

.poa-table thead th:nth-child(3) {
  width: 37%;
}

.poa-table tbody th {
  color: var(--poa-navy);
  background: var(--poa-soft-blue);
}

.poa-table tbody td:last-child {
  background: #fbfaf7;
}

.poa-close-section {
  border-top: 1px solid var(--poa-line);
}

.poa-related {
  margin-top: 2.3rem !important;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--poa-gold);
  background: var(--poa-warm);
  font-size: 1rem !important;
}

.poa-related a {
  color: var(--poa-navy);
  font-weight: 700;
  text-underline-offset: .2em;
}

.poa-page .content-taxonomy-primary > p,
.poa-page .content-related > h2 {
  color: var(--poa-gold-text);
}

.poa-page .content-back {
  border-top: 1px solid var(--poa-line);
  background: var(--poa-navy);
}

.poa-page .content-back a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .15rem .8rem;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 1.8rem 0;
  color: var(--poa-white);
  text-decoration: none;
}

.poa-page .content-back a > span {
  grid-row: 1 / 2;
  align-self: center;
  color: #ead9b7;
  font-size: 1.2rem;
}

.poa-page .content-back a > span::before {
  content: "←";
}

.poa-page .content-back a > strong {
  display: block;
  font-size: 1rem;
}

.poa-page a:focus-visible {
  outline: 3px solid var(--poa-gold);
  outline-offset: 4px;
}

.poa-page .site-footer {
  margin-top: 0;
}

@media (max-width: 640px) {
  .poa-page .nav-main {
    padding-block: 0;
    border-bottom: 0;
  }

  .poa-page .nav-main.active {
    padding-block: 1rem;
    border-bottom: .5px solid var(--color-border-light);
  }

  .poa-page .nav-main a {
    font-size: .85rem;
  }

  .poa-page .content-context {
    margin-top: 69px;
  }

  .poa-shell,
  .poa-article-width,
  .poa-table-wrap,
  .poa-page .content-context-inner,
  .poa-page .content-back a {
    width: calc(100% - 28px);
  }

  .poa-page .content-context-inner {
    min-height: 48px;
  }

  .poa-page .content-context ol {
    overflow: hidden;
    font-size: .68rem;
    white-space: nowrap;
  }

  .poa-page .content-context li:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .poa-page .content-context-all {
    display: none;
  }

  .poa-hero {
    padding: 3.8rem 0 3.4rem;
  }

  .poa-hero h1 {
    font-size: 1.72rem;
    line-height: 1.58;
  }

  .poa-lead,
  .poa-intro,
  .poa-section p,
  .poa-section ul {
    font-size: 1.0625rem;
  }

  .poa-lead,
  .poa-intro {
    line-height: 1.95;
  }

  .poa-catch {
    margin-top: 2.1rem;
  }

  .poa-section {
    padding: 3.8rem 0;
    scroll-margin-top: 118px;
  }

  .poa-section h2 {
    font-size: 1.52rem;
  }

  .poa-table-wrap {
    margin: 1.8rem auto;
    border: 0;
    background: transparent;
  }

  .poa-table,
  .poa-table tbody,
  .poa-table tr,
  .poa-table th,
  .poa-table td {
    display: block;
    width: 100%;
  }

  .poa-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .poa-table tbody {
    display: grid;
    gap: 1rem;
  }

  .poa-table tbody tr {
    overflow: hidden;
    border: 1px solid var(--poa-line);
    background: var(--poa-white);
  }

  .poa-table th,
  .poa-table td {
    padding: .9rem 1rem;
    border: 0;
    border-bottom: 1px solid var(--poa-line);
    font-size: .94rem;
  }

  .poa-table tbody tr > *:last-child {
    border-bottom: 0;
  }

  .poa-table th::before,
  .poa-table td::before {
    display: block;
    margin-bottom: .3rem;
    color: var(--poa-gold-text);
    content: attr(data-label);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.5;
  }

  .poa-table tbody th {
    background: var(--poa-soft-blue);
  }

  .poa-table tbody td:last-child {
    background: #fbfaf7;
  }

  .poa-related {
    font-size: .96rem !important;
  }

  .poa-page .content-back a {
    padding: 1.5rem 0;
  }
}
