.ps-global-head {
  position: sticky;
  top: 0;
  z-index: 110;
  background: #fff;
  border-bottom: 1px solid #dbe5e3;
  color: #102f3d;
}
.ps-global-inner {
  width: min(1140px, calc(100% - 40px));
  min-height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ps-global-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 25px/1.2 Georgia, serif;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.ps-global-brand svg { width: 29px; height: 32px; flex: none; }
.ps-global-brand .amp { color: #087f83; }
.ps-global-head a { color: inherit; text-decoration: none; }
.ps-global-links { display: flex; align-items: center; gap: 20px; }
.ps-global-links a { font-size: 12px; font-weight: 700; }
.ps-global-links .ps-global-contact {
  border-radius: 999px;
  background: #078494;
  color: white;
  padding: 11px 17px;
}
.ps-global-menu { display: none; }
.ps-global-menu summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid #dbe5e3;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12px;
  white-space: nowrap;
}
.ps-global-menu summary::-webkit-details-marker { display: none; }
.ps-global-menu nav {
  position: absolute;
  inset: 100% 0 auto;
  max-height: calc(100dvh - 70px);
  overflow: auto;
  padding: 10px 20px 16px;
  background: #fff;
  border-bottom: 1px solid #dbe5e3;
  box-shadow: 0 12px 24px #102f3d12;
}
.ps-global-menu nav a { display: block; padding: 10px 0; font-size: 14px; font-weight: 700; }
.ps-global-menu .ps-global-contact { color: #087f83; }
.ps-follow { display: none; }
.ps-org-perspectives { max-width: 1040px; margin: 20px auto 30px; padding: 0 16px; }
.ps-org-perspectives img { display: block; width: 100%; height: auto; }
.ps-org-perspectives-mobile { display: none; }
.ps-org-end { margin: 0 auto 36px; padding: 0 20px; text-align: center; }
@media (max-width: 1000px) {
  .ps-global-inner { min-height: 68px; }
  .ps-global-brand { font-size: clamp(18px, 5.6vw, 22px); gap: 6px; }
  .ps-global-brand svg { width: 24px; height: 26px; }
  .ps-global-links { display: none; }
  .ps-global-menu { display: block; }
}
@media (max-width: 780px) {
  .ps-follow {
    position: fixed;
    inset: auto 0 0;
    z-index: 90;
    display: flex;
    justify-content: center;
    visibility: hidden;
    padding: 9px 16px calc(9px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #dbe5e3;
  }
  .ps-follow.is-visible { visibility: visible; }
  .ps-follow > :is(a, button) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 560px);
    min-height: 48px;
    padding: 9px 14px;
    border: 0;
    border-radius: 999px;
    background: #087f83;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
  }
  .ps-org-perspectives { margin: 24px auto; }
  .ps-org-perspectives img { display: none; }
  .ps-org-perspectives-mobile {
    display: block;
    padding: 18px;
    background: #eaf4f1;
    border-radius: 16px;
  }
  .ps-org-perspectives-mobile .ps-org-figure-title { font-weight: 700; font-size: 16px; }
  .ps-org-perspectives-mobile ol { list-style: none; padding: 0; margin: 14px 0; }
  .ps-org-perspectives-mobile li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #c8dde1;
    border-radius: 10px;
    background: #fff;
    font-size: 16px;
    font-weight: 700;
  }
  .ps-org-perspectives-mobile li + li { margin-top: 26px; }
  .ps-org-perspectives-mobile li + li::before {
    content: "↓" / "";
    position: absolute;
    bottom: 100%;
    left: 18px;
    color: #087f83;
    line-height: 26px;
  }
  .ps-org-perspectives-mobile li span { color: #087f83; font-size: 13px; }
  .ps-org-perspectives-mobile p { margin: 0; font-size: 13px; }
}

.ps-global-head .ps-nav-group { position: relative; }
.ps-global-head .ps-nav-group > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #102f3d;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.ps-global-head summary::-webkit-details-marker { display: none; }
.ps-global-head .ps-nav-group > summary::before,
.ps-global-head .ps-global-menu > summary::before,
.ps-global-head .ps-global-menu > summary::after { content: none; }
.ps-global-head .ps-nav-group > summary::after {
  content: "";
  position: static;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
  flex: none;
}
.ps-global-head .ps-nav-group[open] > summary::after { transform: rotate(225deg); margin-top: 3px; }
.ps-global-head .ps-submenu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 2;
  width: 330px;
  padding: 8px 16px;
  margin: 0;
  list-style: none;
  border: 1px solid #dbe5e3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 24px #102f3d12;
}
.ps-global-head .ps-submenu li { margin: 0; padding: 0; list-style: none; border: 0; }
.ps-global-head .ps-submenu li + li { border-top: 1px solid #e5eded; }
.ps-global-head .ps-submenu a { display: block; padding: 13px 0; font-size: 13px; line-height: 1.65; }
.ps-global-head .ps-submenu-description { display: block; margin-top: 3px; color: #596f76; font-size: 12px; font-weight: 400; white-space: normal; }
.ps-global-head :is(a, summary):focus-visible { outline: 2px solid #087f83; outline-offset: 3px; }
.ps-home-sessions { margin-top: 38px; }
.ps-home-sessions-title { font-size: 21px; margin: 0 0 18px; }
#diagnostic-tools .ps-session-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#diagnostic-tools .ps-session-grid h4 { margin: 0 0 12px; color: #102f3d; font-size: 19px; line-height: 1.6; }
@media (max-width: 1180px) {
  .ps-global-inner { min-height: 68px; }
  .ps-global-brand { font-size: clamp(18px, 5.6vw, 22px); gap: 6px; }
  .ps-global-brand svg { width: 24px; height: 26px; }
  .ps-global-links { display: none; }
  .ps-global-menu { display: block; }
  .ps-global-head .ps-nav-group > summary { justify-content: space-between; padding: 12px 0; font-size: 14px; }
  .ps-global-head .ps-submenu {
    position: static;
    width: auto;
    margin: 0 0 8px 4px;
    padding: 0 0 0 14px;
    border: 0;
    border-left: 2px solid #c8dde1;
    border-radius: 0;
    box-shadow: none;
  }
  .ps-global-head .ps-submenu a { font-size: 14px; }
}
@media (max-width: 780px) {
  #diagnostic-tools .ps-session-grid { grid-template-columns: minmax(0, 1fr); }
  .ps-home-sessions-title { font-size: 19px; }
}

/* Shared navigation typography and stable dropdown placement. */
.ps-global-head {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
.ps-global-links { flex: none; }
.ps-global-links > a,
.ps-global-links > .ps-nav-group > summary {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  white-space: nowrap;
}
.ps-global-head .ps-nav-group:not([open]) > .ps-submenu { display: none; }
.ps-global-head .ps-nav-group[open] > .ps-submenu { display: block; }
.ps-global-head .ps-submenu a { font-family: inherit; font-weight: 700; }
.ps-global-head .ps-submenu-description { font-family: inherit; font-weight: 400; }
@media (min-width: 1181px) {
  .ps-global-inner { min-height: 78px; flex-wrap: nowrap; }
  .ps-global-head .ps-submenu { position: absolute; }
}

/* Click-to-open white link panel. */
.ps-global-head .ps-submenu {
  width: 370px;
  padding: 24px 28px;
  border: 1px solid #e6eded;
  border-radius: 5px;
  box-shadow: 0 12px 30px rgba(16, 47, 61, .08);
}
.ps-global-head .ps-submenu li + li { border-top: 0; }
.ps-global-head .ps-submenu a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 13px;
  line-height: 1.8;
  color: #102f3d;
  font-weight: 700;
}
.ps-global-head .ps-submenu a::before {
  content: "→" / "";
  flex: none;
  color: #087f83;
}
.ps-global-head .ps-submenu a:hover { color: #087f83; }
@media (min-width: 1181px) {
  .ps-global-head .ps-submenu { top: calc(100% + 8px); right: 0; }
}
@media (max-width: 1180px) {
  .ps-global-head .ps-submenu {
    width: auto;
    margin: 0 0 8px;
    padding: 8px 14px;
    border: 1px solid #e6eded;
    border-radius: 5px;
    background: #f5f9f9;
    box-shadow: none;
  }
  .ps-global-head .ps-submenu a { font-size: 14px; }
}
