.wp-overview-ja {
  --domain-ink: #0b2144;
  --domain-blue: #1758ed;
  --domain-muted: #455b78;
  --domain-rule: #d2deef;
  background: #fff;
  color: var(--domain-ink);
}
.wp-overview-ja-heading {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(16px, 4vw, 58px);
  align-items: end;
  margin-block-end: clamp(25px, 3.4vw, 44px);
}
.wp-overview-ja-heading .kicker { color: var(--domain-blue); }
.wp-overview-ja-heading .section-title {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 3.25rem);
  line-height: 1.29;
  letter-spacing: -.04em;
}
.wp-overview-ja-heading > p { color: var(--domain-muted); line-height: 1.95; }
.wp-overview-ja-diagram {
  border-block-start: 2px solid var(--domain-ink);
  margin: 0;
}
.wp-overview-ja-diagram figcaption,
.wp-overview-ja-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2px 18px;
  color: var(--domain-muted);
  font-size: .86rem;
}
.wp-overview-ja-diagram figcaption { padding: 14px 0; border-bottom: 1px solid var(--domain-rule); }
.wp-overview-ja-diagram figcaption strong { color: var(--domain-ink); font-size: 1.04rem; }
.wp-overview-ja-layers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: clamp(22px, 2.5vw, 35px);
}
.wp-overview-ja-layer {
  position: relative;
  min-width: 0;
  padding: 0 clamp(12px, 2.1vw, 32px) 8px;
}
.wp-overview-ja-layer:not(:first-child, .wp-overview-ja-foundation) { border-left: 1px solid var(--domain-rule); }
.wp-overview-ja-layer svg {
  display: block;
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--domain-blue);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.wp-overview-ja-layer .wp-domain-mark { stroke: #008c89; }
.wp-overview-ja-layer h3 {
  margin: 13px 0 10px;
  font-size: clamp(1.1rem, 1.65vw, 1.4rem);
  letter-spacing: .01em;
}
.wp-overview-ja-layer ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 4px;
  list-style: none;
  font-size: clamp(.83rem, 1.08vw, .95rem);
  line-height: 1.7;
  color: var(--domain-muted);
}
.wp-overview-ja-layer:not(.wp-overview-ja-foundation)::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 29px;
  top: calc(100% + 8px);
  left: 50%;
  background: #87a7e5;
}
.wp-overview-ja-layer:not(.wp-overview-ja-foundation)::before {
  content: "";
  position: absolute;
  left: calc(50% - 3.5px);
  top: calc(100% + 5px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  z-index: 1;
  background: var(--domain-blue);
}
.wp-overview-ja-foundation {
  grid-column: 1 / -1;
  background: #0c2a59;
  display: grid;
  grid-template-columns: 1.12fr 3fr;
  align-items: center;
  gap: 12px;
  color: #fff;
  margin-top: 37px;
  padding: 22px clamp(16px, 2.1vw, 32px);
}
.wp-overview-ja-foundation h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(.92rem, 1.22vw, 1.05rem);
}
.wp-overview-ja-foundation svg { stroke: #7adee1; width: 28px; height: 28px; flex: none; }
.wp-overview-ja-foundation ul { grid-template-columns: .95fr 1.1fr 1fr; color: #f4f8ff; }
.wp-overview-ja-foundation li { text-align: center; padding: 0 7px; border-left: 1px solid #43618a; }
.wp-overview-ja-footer { padding-top: 12px; }
.wp-overview-ja-footer a { padding-block: 8px; }
@media (max-width: 970px) {
  .wp-overview-ja-layers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; padding-top: 24px; }
  .wp-overview-ja-layer:not(.wp-overview-ja-foundation) { padding: 0 18px; }
  .wp-overview-ja-layer:not(.wp-overview-ja-foundation)::before,
  .wp-overview-ja-layer:not(.wp-overview-ja-foundation)::after { display: none; }
  .wp-overview-ja-layer:nth-child(3):not(.wp-overview-ja-foundation) { border-left: none; }
  .wp-overview-ja-layer:nth-child(n+3):not(.wp-overview-ja-foundation) { border-top: 1px solid var(--domain-rule); padding-top: 20px; }
  .wp-overview-ja-foundation { grid-template-columns: 1fr; margin-top: 5px; }
  .wp-overview-ja-foundation h3 { justify-content: center; }
  .wp-overview-ja-foundation li:first-child { border-left: 0; }
}
@media (max-width: 720px) {
  .wp-overview-ja-heading { grid-template-columns: 1fr; }
  .wp-overview-ja-layer:not(.wp-overview-ja-foundation) { padding-inline: 12px 4px; }
  .wp-overview-ja-layer:nth-child(odd):not(.wp-overview-ja-foundation) { padding-inline: 0 12px; }
  .wp-overview-ja-layer svg { width: 31px; height: 31px; }
  .wp-overview-ja-layer h3 { margin-block: 8px; }
  .wp-overview-ja-layer ul { font-size: .83rem; }
  .wp-overview-ja-foundation { padding: 15px 18px; gap: 5px; }
  .wp-overview-ja-foundation h3 { justify-content: start; margin: 0; }
  .wp-overview-ja-foundation ul { grid-template-columns: 1fr; padding: 5px 0 0 43px; }
  .wp-overview-ja-foundation li { text-align: left; border: 0; padding: 0; }
}
@media (max-width: 380px) {
  .wp-overview-ja-layers { grid-template-columns: 1fr; gap: 15px; }
  .wp-overview-ja-layer:nth-child(n):not(.wp-overview-ja-foundation) {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 10px;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--domain-rule);
  }
  .wp-overview-ja-layer:first-child:not(.wp-overview-ja-foundation) { padding-top: 0; border-top: 0; }
  .wp-overview-ja-layer h3 { margin-top: 2px; }
  .wp-overview-ja-layer:not(.wp-overview-ja-foundation) ul { grid-column: 2; }
}
@media (prefers-reduced-motion: no-preference) {
  .wp-overview-ja-layers.motion-revealed svg {
    animation: wp-domain-enter .55s cubic-bezier(.18,.8,.19,1) backwards;
  }
  .wp-overview-ja-layers.motion-revealed section:nth-child(2) svg { animation-delay: 80ms; }
  .wp-overview-ja-layers.motion-revealed section:nth-child(3) svg { animation-delay: 160ms; }
  .wp-overview-ja-layers.motion-revealed section:nth-child(4) svg { animation-delay: 240ms; }
  .wp-overview-ja-layers.motion-revealed section:nth-child(5) svg { animation-delay: 320ms; }
  @keyframes wp-domain-enter {
    from { opacity: .2; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
