/* NAGATA SSH — image-free design, scoped to the banner and SSH content. */
.ssh-banner,
.ssh-page {
  --ssh-ink: #162c37;
  --ssh-muted: #596b73;
  --ssh-navy: #102b37;
  --ssh-teal: #b9eee0;
  --ssh-line: #d7e1e2;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .02em;
}
.ssh-banner *, .ssh-page * { box-sizing: border-box; }
.ssh-banner:focus-visible,
.ssh-page a:focus-visible {
  outline: 3px solid #087b70;
  outline-offset: 5px;
}
.ssh-banner {
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  align-items: center;
  gap: 28px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 180px;
  margin: 30px 0 42px;
  padding: 32px 40px;
  border-radius: 3px;
  background: var(--ssh-navy);
  color: #fff;
  text-decoration: none;
  font-weight: normal;
  box-shadow: 0 12px 28px #102b3714;
  transition: background-color .2s, box-shadow .2s;
}
.ssh-banner::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  right: 12%;
  top: -180px;
  border: 1px solid #b9eee02e;
  border-radius: 50%;
  box-shadow: 0 0 0 35px #b9eee009, 0 0 0 70px #b9eee006;
  pointer-events: none;
}
.ssh-banner__label,
.ssh-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1.6;
}
.ssh-banner__label { color: var(--ssh-teal); margin-bottom: 12px; }
.ssh-banner__name {
  display: block;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.ssh-banner__copy { display: block; }
.ssh-banner__catch {
  display: block;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 700;
  margin-bottom: 7px;
}
.ssh-banner__sub { display: block; color: #c5d3d8; font-size: 12px; }
.ssh-banner__action { display: flex; align-items: center; gap: 14px; white-space: nowrap; font-size: 12px; }
.ssh-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 21px;
  font-weight: normal;
  line-height: 1;
  transition: transform .2s, background-color .2s;
}
.ssh-banner .ssh-arrow { color: var(--ssh-teal); }
.ssh-page {
  max-width: 1280px;
  margin: 0 auto;
  color: var(--ssh-ink);
}
.ssh-page h1, .ssh-page h2, .ssh-page h3, .ssh-page p { margin: 0; line-height: inherit; }
.ssh-page a { color: inherit; text-decoration: none; font-weight: normal; }
.ssh-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--ssh-muted);
  font-size: 12px;
}
.ssh-breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.ssh-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 3px;
  background: var(--ssh-navy);
  color: #fff;
}
.ssh-hero__top { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px; }
.ssh-hero .ssh-eyebrow { color: var(--ssh-teal); }
.ssh-hero__school { font-size: 11px; color: #c5d3d8; }
.ssh-hero .ssh-hero__name {
  position: relative;
  z-index: 1;
  margin: 38px 0 24px;
  font-size: clamp(40px, 7vw, 102px);
  line-height: .95;
  font-weight: 800;
  letter-spacing: -.06em;
}
.ssh-hero__name span { color: var(--ssh-teal); }
.ssh-hero .ssh-hero__catch {
  position: relative;
  z-index: 1;
  font-size: clamp(21px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .07em;
}
.ssh-hero__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid #ffffff29;
  color: #c5d3d8;
  font-size: 12px;
}
.ssh-hero__keywords { display: flex; flex-wrap: wrap; gap: 18px; font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .15em; }
.ssh-orbit {
  position: absolute;
  z-index: 0;
  width: 420px;
  height: 420px;
  right: -70px;
  top: -55px;
  border: 1px solid #b9eee02b;
  border-radius: 50%;
  pointer-events: none;
}
.ssh-orbit::before, .ssh-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid #b9eee025;
  border-radius: 50%;
}
.ssh-orbit::before { inset: 60px; }
.ssh-orbit::after { inset: 120px; background: #b9eee005; }
.ssh-orbit__point {
  position: absolute;
  width: 9px;
  height: 9px;
  top: 110px;
  left: 24px;
  border-radius: 50%;
  background: var(--ssh-teal);
  box-shadow: 0 0 0 7px #b9eee012;
}
.ssh-section { margin-top: 48px; }
.ssh-section__heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.ssh-section .ssh-eyebrow { color: #437067; font-size: 10px; margin-bottom: 6px; }
.ssh-section h2 { font-size: 23px; font-weight: 700; letter-spacing: .04em; }
.ssh-section__index { color: #61777d; font-family: Arial, sans-serif; font-size: 12px; letter-spacing: .12em; }
.ssh-overview {
  display: grid;
  grid-template-columns: .8fr 1.2fr auto;
  align-items: center;
  gap: 28px;
  padding: 32px;
  border: 1px solid var(--ssh-line);
  border-left: 4px solid #38695f;
  background: #fff;
  transition: border-color .2s, background-color .2s;
}
.ssh-overview__name { display: block; }
.ssh-overview h3 { font-size: 22px; line-height: 1.5; margin-bottom: 5px; font-weight: 700; }
.ssh-overview__en { color: var(--ssh-muted); font-size: 10px; letter-spacing: .12em; }
.ssh-overview p { color: var(--ssh-muted); font-size: 14px; }
.ssh-overview .ssh-arrow { color: #38695f; }
.ssh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ssh-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 242px;
  padding: 26px;
  border: 1px solid var(--ssh-line);
  background: #fff;
  transition: border-color .2s, background-color .2s, transform .2s;
}
.ssh-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 29px; }
.ssh-card__category { font-size: 10px; letter-spacing: .14em; color: #486f68; font-weight: 700; }
.ssh-card__number { color: #738489; font-family: Arial, sans-serif; font-size: 12px; }
.ssh-card h3 { font-size: 19px; font-weight: 700; line-height: 1.6; margin-bottom: 10px; }
.ssh-card p { font-size: 13px; color: var(--ssh-muted); line-height: 1.9; }
.ssh-card__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 24px; }
.ssh-card__link { font-size: 11px; color: #4c666c; }
.ssh-card .ssh-arrow { width: 30px; height: 30px; flex-basis: 30px; font-size: 17px; color: #38695f; }
.ssh-card--journal { background: #eaf2ef; border-color: #ceded7; }
.ssh-page__footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--ssh-line);
  font-size: 11px;
  color: var(--ssh-muted);
}
.ssh-page__footer a { text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) {
  .ssh-banner:hover { background: #183e4a; box-shadow: 0 14px 30px #102b3726; }
  .ssh-banner:hover .ssh-arrow, .ssh-page a:hover .ssh-arrow { transform: translateX(3px); }
  .ssh-overview:hover, .ssh-card:hover { border-color: #73988d; background: #f2f7f4; }
  .ssh-card:hover { transform: translateY(-3px); }
  .ssh-breadcrumb a:hover, .ssh-page__footer a:hover { color: #087b70; }
}
/* Breakpoints account for the existing 323px school navigation column. */
@media (min-width: 821px) and (max-width: 1150px) {
  .ssh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ssh-grid .ssh-card:last-child { grid-column: 1 / -1; min-height: 200px; }
  .ssh-banner { grid-template-columns: 1fr auto; gap: 20px; padding: 28px; }
  .ssh-banner__copy { grid-column: 1; }
  .ssh-banner__action { grid-column: 2; grid-row: 1 / 3; }
  .ssh-overview { grid-template-columns: 1fr auto; gap: 18px; }
  .ssh-overview p { grid-column: 1; }
  .ssh-overview .ssh-arrow { grid-column: 2; grid-row: 1 / 3; }
}
@media (max-width: 820px) {
  .ssh-page { width: 92%; }
  .ssh-banner { margin: 24px 4% 36px; padding: 28px; }
  .ssh-banner__name { font-size: clamp(28px, 5.2vw, 43px); }
  .ssh-hero__name { font-size: clamp(40px, 10vw, 80px) !important; }
  .ssh-card { padding: 22px; }
  .ssh-card h3 { font-size: 18px; }
  .ssh-overview { padding: 28px; }
}
@media (min-width: 601px) and (max-width: 750px) {
  .ssh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ssh-grid .ssh-card:last-child { grid-column: 1 / -1; min-height: 200px; }
}
@media (max-width: 600px) {
  .ssh-banner { grid-template-columns: 1fr auto; gap: 22px 14px; min-height: 0; padding: 27px 24px; }
  .ssh-banner__brand { grid-column: 1 / -1; }
  .ssh-banner__name { font-size: clamp(32px, 9vw, 48px); }
  .ssh-banner__copy { grid-column: 1; }
  .ssh-banner__catch { font-size: 16px; }
  .ssh-banner__sub { font-size: 10px; }
  .ssh-banner__action { grid-column: 2; }
  .ssh-banner__action-label { display: none; }
  .ssh-banner::before { right: -120px; top: -160px; }
  .ssh-hero { padding: 28px 24px; }
  .ssh-hero__top { flex-direction: column; gap: 7px; }
  .ssh-hero .ssh-eyebrow { font-size: 9px; letter-spacing: .12em; }
  .ssh-hero .ssh-hero__name { margin: 35px 0 24px; }
  .ssh-hero .ssh-hero__catch { font-size: 23px; }
  .ssh-hero__bottom { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; }
  .ssh-hero__keywords { font-size: 9px; gap: 14px; }
  .ssh-orbit { right: -235px; top: -60px; opacity: .65; }
  .ssh-section { margin-top: 36px; }
  .ssh-section h2 { font-size: 21px; }
  .ssh-overview { grid-template-columns: 1fr auto; gap: 18px; padding: 24px; }
  .ssh-overview p { grid-column: 1; font-size: 13px; }
  .ssh-overview .ssh-arrow { grid-column: 2; grid-row: 1 / 3; }
  .ssh-overview h3 { font-size: 20px; }
  .ssh-grid { grid-template-columns: 1fr; gap: 12px; }
  .ssh-card { min-height: 0; padding: 24px; }
  .ssh-card__top { margin-bottom: 19px; }
  .ssh-card__bottom { padding-top: 18px; }
  .ssh-page__footer { margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .ssh-banner, .ssh-page a, .ssh-arrow { transition: none; }
  .ssh-card:hover, .ssh-banner:hover .ssh-arrow, .ssh-page a:hover .ssh-arrow { transform: none; }
}
@media print {
  .ssh-hero, .ssh-banner { background: #fff; color: #162c37; border: 1px solid #d7e1e2; box-shadow: none; }
  .ssh-hero .ssh-eyebrow, .ssh-hero__name span, .ssh-hero__school, .ssh-hero__bottom,
  .ssh-banner__label, .ssh-banner__sub, .ssh-banner .ssh-arrow { color: #162c37; }
  .ssh-orbit, .ssh-banner::before { display: none; }
  .ssh-card, .ssh-overview, .ssh-hero { break-inside: avoid; }
}
