:root {
  --static-shell-accent: #dce7e9;
  --static-shell-accent-soft: #78e0ef;
  --static-shell-text: #f2f2f2;
  --static-shell-muted: #aaa;
  --static-shell-background-image: url("https://studio-neutrino.com/wp-content/uploads/2020/02/uchuu_2.jpg");
  --static-header-height: 69px;
}

[hidden] {
  display: none !important;
}

.static-homepage-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: #11151d;
  color: var(--static-shell-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Yu Gothic UI", "Meiryo", sans-serif;
}

.static-homepage-page::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: #11151d;
  background-image:
    linear-gradient(180deg, rgba(4, 7, 13, 0.42), rgba(10, 12, 19, 0.68)),
    var(--static-shell-background-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  pointer-events: none;
}

.static-homepage-page > .static-page-header,
.static-homepage-page > .static-offcanvas-overlay,
.static-homepage-page > .static-offcanvas,
.static-homepage-page > #page {
  position: relative;
  z-index: 1;
}

.static-page-header {
  position: absolute !important;
  inset: 0 0 auto !important;
  z-index: 20 !important;
  display: block !important;
  width: 100%;
  opacity: 1 !important;
  visibility: visible !important;
}

.static-page-header .navigation-bar {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  background: linear-gradient(180deg, rgba(2, 0, 0, 0.78), rgba(2, 0, 0, 0.14));
  opacity: 1 !important;
  visibility: visible !important;
}

.static-page-header .navigation-wrapper {
  display: block !important;
  min-height: 88px;
  opacity: 1 !important;
  visibility: visible !important;
}

.static-page-header .basis-auto {
  align-items: center;
}

.static-page-header .logo_col,
.static-page-header .main_menu_col {
  display: flex !important;
}

.static-page-header .custom-logo-link {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.static-page-header .custom-logo {
  display: block;
  width: auto;
  max-width: 240px;
  max-height: 60px;
}

.static-page-header #mainmenu_container {
  display: flex !important;
  justify-content: flex-start;
  width: 100%;
  margin: 0;
}

.static-page-header .main-menu {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: clamp(9px, calc(-6.5px + 1.98vw), 22px);
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: 1 !important;
  visibility: visible !important;
}

.static-page-header .main-menu::after {
  display: none !important;
  content: none !important;
}

.static-page-header .main-menu > li {
  margin: 0;
  padding: 0;
}

.static-page-header .main-menu > li > a {
  display: block;
  padding: 12px 0;
  color: #e8e8e8;
  font-size: clamp(14px, calc(10.25px + 0.47vw), 17px);
  font-weight: 400;
  letter-spacing: clamp(0.9px, 0.1vw, 1.5px);
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

#page-top.static-page-header #main_menu > li > a:hover,
#page-top.static-page-header #main_menu > li.current-menu-item > a {
  color: #e8e8e8 !important;
}

.site-menu-toggle,
.static-offcanvas,
.static-offcanvas-overlay {
  display: none;
}

.static-page-footer {
  font-size: 14px;
  line-height: 1.5;
}

.static-page-footer,
.static-page-footer .footer-content {
  background: transparent !important;
}

.static-page-footer .footer-content {
  padding: 54px 0;
  color: var(--static-shell-muted);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.static-page-footer .footer-content::before {
  display: none !important;
  content: none !important;
}

.static-page-footer__row {
  align-items: center;
  text-align: left;
}

.static-page-footer p {
  margin: 5px 0;
  color: var(--static-shell-muted);
  font-size: 14px;
}

.static-page-footer .static-page-footer__title {
  color: #d9d9d9;
  font-size: 14px;
  font-weight: 700;
}

.static-page-footer__nav::before,
.static-page-footer__nav::after {
  display: none !important;
  content: none !important;
}

.static-page-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: flex-end;
}

.static-page-footer__nav a {
  color: #d8dae0;
  font-size: 14px;
  text-decoration: none;
}

.static-page-footer__nav a:hover,
.static-page-footer__nav a[aria-current="page"] {
  color: #d8dae0;
  text-decoration: none;
}

@media (max-width: 800px) {
  .static-homepage-page.static-menu-open {
    overflow: hidden;
  }

  .static-page-header .navigation-wrapper {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: 88px;
    padding: 14px 32px;
  }

  .static-page-header .navigation-wrapper > .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .static-page-header .logo_col {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .static-page-header .main_menu_col {
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    margin: 0 0 0 auto;
    padding-right: 0;
    padding-left: 0;
    overflow: visible;
  }

  .static-page-header #mainmenu_container {
    display: none !important;
  }

  .static-page-header .site-menu-toggle {
    position: relative;
    display: block;
    width: 35px;
    height: 35px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 14px;
    line-height: 35px;
    text-align: center;
    cursor: pointer;
  }

  .site-menu-toggle__bubble {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
  }

  .site-menu-toggle__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 14px;
    height: 2px;
    border-radius: 1px;
    background: #fff;
    box-shadow: 0 -4px 0 #fff, 0 4px 0 #fff;
    transform: translate(-50%, -50%);
  }

  .static-homepage-page > .static-offcanvas-overlay {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.68);
    opacity: 0;
    cursor: default;
    transition: opacity 220ms ease;
  }

  .static-homepage-page > .static-offcanvas-overlay[data-open="true"] {
    opacity: 1;
  }

  .static-homepage-page > .static-offcanvas {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 50;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: min(300px, calc(100vw - 100px));
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    background: #071320;
    color: #fff;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 250ms ease, opacity 180ms ease;
  }

  .static-homepage-page > .static-offcanvas[data-open="true"] {
    opacity: 1;
    transform: translateX(0);
  }

  .static-offcanvas__top {
    display: flex;
    flex: 0 0 172px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 34px 24px 22px;
  }

  .static-offcanvas__top .custom-logo-link {
    display: block;
    width: 100%;
  }

  .static-offcanvas__logo {
    display: block;
    width: 100%;
    max-width: 240px;
    height: auto;
    margin: 0 auto;
  }

  .static-offcanvas__nav,
  .static-offcanvas__menu {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .static-offcanvas__menu {
    list-style: none;
  }

  .static-offcanvas__menu > li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  }

  .static-offcanvas__menu > li > a {
    display: block;
    box-sizing: border-box;
    min-height: 34px;
    padding: 8px 35px;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
    text-decoration: none;
  }

  .static-offcanvas__menu > li > a:hover,
  .static-offcanvas__menu > li.current-menu-item > a {
    background: #f4f4f4;
    color: #33464e !important;
    text-decoration: none;
  }

  .static-page-footer__row {
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .static-page-header .navigation-wrapper {
    min-height: 78px;
    padding: 12px 20px;
  }

  .static-page-header .custom-logo {
    max-width: 205px;
    max-height: 50px;
  }

  .static-page-footer__row,
  .static-page-footer__identity {
    text-align: center;
  }

  .static-page-footer__nav {
    justify-content: center;
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .static-homepage-page > .static-offcanvas-overlay,
  .static-homepage-page > .static-offcanvas {
    transition: none;
  }
}


/* 2026-09-07 compact shared header and three-column footer */
.static-page-header .navigation-wrapper,
.static-page-footer .gridContainer {
  box-sizing: border-box;
  width: calc(100% - 20px);
  max-width: 1760px;
  margin-right: auto;
  margin-left: auto;
}

.static-page-header .navigation-wrapper > .row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.static-page-header .logo_col {
  flex: 0 1 auto;
  padding-right: 0;
  padding-left: 0;
}

.static-page-header .main_menu_col {
  flex: 1 1 auto;
  margin-left: clamp(16px, calc(-17px + 4.1vw), 42px);
  padding-right: 0;
  padding-left: 0;
}

.static-page-header .navigation-bar {
  padding-top: 4px;
  padding-bottom: 4px;
}

.static-page-header .navigation-wrapper {
  display: flex !important;
  min-height: 61px;
  align-items: center;
}

.static-page-header .custom-logo {
  width: clamp(168px, calc(133px + 4.375vw), 196px);
  max-width: none;
  max-height: none;
  height: auto;
}

.static-page-footer .footer-content {
  padding: 12px 0;
}

.static-page-footer__row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: 12px 24px;
  align-items: center;
  width: 100%;
  margin: 0;
}

.static-page-footer__identity,
.static-page-footer__copyright {
  min-width: 0;
}

.static-page-footer__home {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.static-page-footer__logo {
  display: block;
  width: 142px;
  height: auto;
}

.static-page-footer__copyright {
  margin: 0 !important;
  color: var(--static-shell-muted);
  line-height: 1.55;
  text-align: center;
  white-space: nowrap;
}

.static-page-footer__nav::before,
.static-page-footer__nav::after {
  display: none !important;
  content: none !important;
}

.static-page-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  justify-content: center;
  margin: 0;
}

@media (max-width: 1100px) {
  .static-page-footer__row {
    gap: 12px 16px;
  }

  .static-page-footer__nav {
    gap: 4px 12px;
  }
}

@media (max-width: 1000px) and (min-width: 801px) {
  .static-page-header .main-menu {
    gap: 7px;
  }
}

@media (max-width: 800px) {
  :root {
    --static-header-height: 67px;
  }

  .static-page-header .navigation-wrapper {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    min-height: 59px;
    padding: 3px 32px 3px 37px;
  }

}

@media (max-width: 767px) {
  :root {
    --static-header-height: 63px;
  }

  .static-page-header .navigation-wrapper {
    min-height: 55px;
    padding: 3px 20px 3px 25px;
  }


  .static-page-footer .footer-content {
    padding: 12px 0 10px;
  }

  .static-page-footer__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
    align-items: center;
  }

  .static-page-footer__nav {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row !important;
    gap: 8px 24px;
    justify-content: stretch;
  }

  .static-page-footer__nav a {
    display: block;
    min-width: 0;
    text-align: left;
  }

  .static-page-footer__identity {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
  }

  .static-page-footer__logo {
    width: 132px;
  }

  .static-page-footer__copyright {
    grid-column: 2;
    grid-row: 2;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .static-page-footer .footer-content {
    padding: 10px 0 9px;
  }

  .static-page-footer__row {
    gap: 16px 18px;
  }

  .static-page-footer__nav {
    gap: 7px 18px;
  }

  .static-page-footer p,
  .static-page-footer__nav a {
    font-size: 12px;
  }

  .static-page-footer__logo {
    width: 116px;
  }
}


/* 2026-09-08 official account navigation */
.static-page-header .main_menu_col {
  align-items: center;
}

.static-page-header #mainmenu_container {
  flex: 1 1 auto;
  min-width: 0;
}

.static-page-header .main-menu > li > a {
  text-transform: none;
}

.static-page-accounts {
  color: #f2f2f2;
  font-family: inherit;
}

.static-page-accounts__label {
  display: block;
  color: #e8e8e8;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: clamp(0.9px, 0.1vw, 1.5px);
  line-height: 1.1;
  white-space: nowrap;
}

.static-page-accounts__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.static-page-account-link {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  color: inherit;
  opacity: 1;
  transition: opacity 160ms ease;
}

.static-page-account-link:hover,
.static-page-account-link:focus-visible {
  opacity: 0.65;
}

.static-page-account-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.static-page-account-link--official-x img {
  width: 16px;
  height: 16px;
}

.static-page-account-link--fanbox img {
  border-radius: 2px;
}

.static-page-account-link--commons img {
  width: 18px;
  height: 18px;
}

.static-page-accounts--header {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-left: clamp(24px, 4vw, 64px);
}

.static-page-accounts--offcanvas {
  display: none;
}

.static-page-footer__center {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.static-page-accounts--footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.static-page-accounts--footer .static-page-accounts__links {
  gap: 7px;
}

.static-page-accounts--footer .static-page-account-link {
  width: 17px;
  height: 17px;
}

.static-page-accounts--footer .static-page-account-link--official-x img {
  width: 14px;
  height: 14px;
}

.static-page-accounts--footer .static-page-account-link--commons img {
  width: 16px;
  height: 16px;
}

@media (max-width: 1000px) and (min-width: 801px) {
  .static-page-accounts--header {
    gap: 5px;
    margin-left: 24px;
  }

  .static-page-accounts--header .static-page-accounts__label {
    font-size: 9px;
  }

  .static-page-accounts--header .static-page-accounts__links {
    gap: 5px;
  }

  .static-page-accounts--header .static-page-account-link {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 800px) {
  .static-page-accounts--header {
    display: none;
  }

  .static-page-accounts--offcanvas {
    display: flex;
    align-items: flex-start;
    text-align: left;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding: 24px 35px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
  }

  .static-page-accounts--offcanvas .static-page-accounts__label {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: inherit;
    color: #fff;
    text-align: left;
  }

  .static-page-accounts--offcanvas .static-page-accounts__links {
    gap: 14px;
  }

  .static-page-accounts--offcanvas .static-page-account-link {
    width: 24px;
    height: 24px;
  }

  .static-page-accounts--offcanvas .static-page-account-link--official-x img {
    width: 20px;
    height: 20px;
  }

  .static-page-accounts--offcanvas .static-page-account-link--commons img {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 767px) {
  .static-page-footer__center {
    grid-column: 1 / -1;
    grid-row: 1;
    gap: 12px;
  }

  .static-page-footer__center .static-page-footer__nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
  }

  .static-page-footer__center .static-page-footer__nav a {
    text-align: left;
  }

  .static-page-accounts--footer {
    align-self: flex-start;
    justify-content: flex-start;
  }

  .static-page-footer__identity,
  .static-page-footer__copyright {
    grid-row: 2;
  }
}

.character-static-page {
  --static-shell-accent-soft: color-mix(in srgb, var(--character-accent) 55%, white);
}
.static-page-accounts--footer .static-page-accounts__label {
  color: #d8dae0;
  font-weight: 400;
  letter-spacing: inherit;
}

/* Header label follows the enlarged navigation; footer type stays unchanged. */
.static-page-accounts--header .static-page-accounts__label {
  font-size: 11px;
}
@media (min-width: 801px) and (max-width: 1000px) {
  .static-page-accounts--header .static-page-accounts__label { font-size: 10px; }
}
.static-page-header .custom-logo,
.static-offcanvas__logo,
.static-page-footer__logo {
  transition: opacity 160ms ease;
}
.custom-logo-link:hover img,
.custom-logo-link:focus-visible img,
.static-page-footer__home:hover img,
.static-page-footer__home:focus-visible img {
  opacity: 0.7;
}

/* Mark navigation state without shifting labels or changing their color. */
.static-page-header .main-menu > li > a,
.static-page-footer__nav a {
  position: relative;
  padding-left: 0;
  padding-right: 1.15em;
}
.static-page-header .main-menu > li > a::after,
.static-page-footer__nav a::after {
  content: "";
  width: 1.55em;
  height: 1em;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2018%22%3E%3Cpath%20fill%3D%22white%22%20opacity%3D%22.55%22%20d%3D%22M1%203L4%200L15%209L4%2018L1%2015L8.5%209Z%22%2F%3E%3Cpath%20fill%3D%22white%22%20opacity%3D%22.9%22%20d%3D%22M15%203L18%200L29%209L18%2018L15%2015L22.5%209Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  position: absolute;
  right: -0.4em;
  top: 50%;
  transform: translate(-3px, -50%);
  opacity: 0;
  font-size: 0.7em;
  letter-spacing: -0.12em;
  transition: opacity 150ms ease, transform 150ms ease;
  pointer-events: none;
}
.static-page-header .main-menu > li > a:not([aria-current="page"]):is(:hover, :focus-visible)::after,
.static-page-footer__nav a:not([aria-current="page"]):is(:hover, :focus-visible)::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.static-page-header .main-menu {
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: clamp(4px, calc(9.18vw - 62.9px), 120px);
}
.static-page-header .main-menu > li > a {
  font-weight: 500;
  letter-spacing: clamp(1.1px, 0.125vw, 1.9px);
}
.static-page-accounts__label {
  letter-spacing: clamp(1px, 0.11vw, 1.65px);
}

@media (min-width: 801px) and (max-width: 900px) {
  .static-page-header .main-menu { gap: clamp(4px, calc(9.18vw - 65.9px), 17px); }
}

/* Shared Character shell palette and current-page marker. */
:root {
 --static-shell-header-bg: linear-gradient(90deg, rgba(70,91,100,.98), rgba(82,103,112,.98));
 --static-shell-footer-bg: #314149;
 --static-shell-footer-surface: linear-gradient(100deg, rgba(49,65,73,.98), rgba(60,73,79,.94));
 --static-shell-footer-text: rgba(239,244,245,.7);
 --static-shell-footer-link: rgba(255,255,255,.9);
}
.static-page-header .navigation-bar {
 background: var(--static-shell-header-bg);
 border-bottom: 1px solid rgba(185,224,229,.25);
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
}
.static-page-footer { background: var(--static-shell-footer-bg) !important; }
.static-page-footer .footer-content {
 background: var(--static-shell-footer-surface) !important;
 color: var(--static-shell-footer-text);
}
.static-page-footer p { color: var(--static-shell-footer-text); }
.static-page-footer__nav a,
.static-page-footer__nav a:hover,
.static-page-footer__nav a[aria-current="page"],
.static-page-accounts--footer .static-page-accounts__label { color: var(--static-shell-footer-link); }
.static-page-header .main-menu > li { overflow: visible !important; }
.static-page-header .main-menu > li > a,
.static-page-footer__nav a { overflow: visible !important; }
.static-page-header .main-menu > li > a[aria-current="page"]::before,
.static-page-footer__nav a[aria-current="page"]::before {
 content: "";
 position: absolute;
 width: 11px;
 height: 11px;
 left: calc(50% - .575em);
 bottom: 0;
 transform: translateX(-50%);
 background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M10%201.5c.9%205.2%203.3%207.6%208.5%208.5-5.2.9-7.6%203.3-8.5%208.5C9.1%2013.3%206.7%2010.9%201.5%2010%206.7%209.1%209.1%206.7%2010%201.5Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
 pointer-events: none;
}
.static-page-footer__nav a { padding-bottom: 12px; width: fit-content; }

/* Footer current-page markers appear only on hover or focus. */
.static-page-footer__nav a[aria-current="page"]::before { content: none !important; }
.static-page-footer__nav a { padding-bottom: 0; }
.static-page-footer__nav a[aria-current="page"]::after { opacity: 0; }
.static-page-footer__nav a:is(:hover,:focus-visible)::after { opacity: 1; transform: translate(0,-50%); }
