@charset "UTF-8";

:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f8fafc;
  --color-bg-blue: #edf3f8;
  --color-text: #2b4050;
  --color-text-sub: #627785;
  --color-brand: #9fc9e2;
  --color-navy: #294554;
  --color-navy-deep: #203845;
  --color-white: #ffffff;
  --border-soft: rgba(88, 115, 136, 0.18);
  --site-width: 480px;
  --section-space: 82px;
  --font-size-caption: 12px;
  --font-size-label: 14px;
  --font-size-section-label: 15px;
  --font-size-body: 16px;
  --font-size-lead: 20px;
  --font-size-subheading: 22px;
  --font-size-heading: 32px;
  --line-height-body: 1.8;
  --line-height-heading: 1.5;
  --font-serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", Georgia, serif;
  --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--color-text);
  background: var(--color-bg-blue);
  font-family: var(--font-sans);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  letter-spacing: 0.035em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site-header,
main,
.site-footer {
  width: min(100%, var(--site-width));
  margin-inline: auto;
}

main {
  background: var(--color-bg);
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.container {
  width: calc(100% - 40px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 16px;
  color: var(--color-white);
  background: var(--color-navy-deep);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border-soft);
}

.header-inner {
  display: flex;
  width: calc(100% - 40px);
  height: 78px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: height 0.25s ease;
}

.site-header.is-scrolled .header-inner {
  height: 70px;
}

.site-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.site-title a {
  display: inline-block;
  max-width: 100%;
  color: var(--color-text-sub);
  font-family: var(--font-sans);
  font-size: var(--font-size-caption);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.footer-brand span {
  color: var(--color-text-sub);
  font-family: Arial, sans-serif;
  font-size: var(--font-size-caption);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.18em;
}

.global-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: grid;
  padding: 16px 20px 27px;
  background: rgba(255, 255, 255, 0.99);
  border-bottom: 1px solid var(--border-soft);
  gap: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.global-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.global-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  padding-inline: 3px;
  align-items: center;
  color: #394957;
  border-bottom: 1px solid var(--border-soft);
  font-size: var(--font-size-label);
  font-weight: 500;
  letter-spacing: 0.055em;
}

.global-nav a::after {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-soft);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  cursor: pointer;
}

.menu-toggle span {
  width: 19px;
  height: 1px;
  background: var(--color-text);
  transition: transform 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  background: var(--color-bg-blue);
}

.hero-inner {
  width: 100%;
  margin-inline: auto;
}

.hero-image {
  margin: 0;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  -webkit-mask-image: none;
  mask-image: none;
}

.section {
  padding-block: var(--section-space);
}

.section-heading {
  align-self: start;
}

.section-label {
  display: flex;
  margin: 0 0 20px;
  color: #4f6f85;
  align-items: center;
  gap: 14px;
  font-size: var(--font-size-section-label);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

.section-label::before {
  width: 34px;
  height: 1px;
  content: "";
  background: var(--color-brand);
}

.section-heading h2 {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: var(--font-size-heading);
  font-weight: 500;
  line-height: var(--line-height-heading);
  letter-spacing: 0.05em;
}

.heading-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: color 0.25s ease;
}

.heading-arrow {
  flex: 0 0 auto;
  color: var(--color-navy);
  font-family: var(--font-sans);
  font-size: var(--font-size-subheading);
  transition: transform 0.25s ease;
}

.heading-link:hover,
.heading-link:focus-visible {
  color: var(--color-navy);
}

.heading-link:hover .heading-arrow,
.heading-link:focus-visible .heading-arrow {
  transform: translateX(6px);
}

.section-description {
  margin: 26px 0 0;
  color: var(--color-text-sub);
  font-size: var(--font-size-body);
}

.link-hub-cast {
  background: var(--color-bg);
}

.link-hub-staff,
.related-sites-section {
  background: var(--color-bg-soft);
}

.section-link-list {
  margin-top: 36px;
  border-top: 1px solid var(--border-soft);
}

.section-link-list a {
  display: flex;
  min-height: 64px;
  padding-inline: 2px;
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--color-text);
  font-size: var(--font-size-body);
  font-weight: 500;
  letter-spacing: 0.07em;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.section-link-list a > span:last-child {
  color: var(--color-navy);
  transition: transform 0.25s ease;
}

.section-link-list a:hover,
.section-link-list a:focus-visible {
  border-color: var(--color-brand);
  color: var(--color-navy);
}

.section-link-list a:hover > span:last-child,
.section-link-list a:focus-visible > span:last-child {
  transform: translateX(6px);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
}

.brand-intro {
  background: var(--color-bg);
}

.intro-copy {
  padding-top: 0;
}

.intro-copy .lead {
  margin: 0 0 30px;
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: var(--font-size-lead);
  line-height: var(--line-height-body);
  letter-spacing: 0.05em;
}

.group-data {
  margin: 0;
  border-top: 1px solid var(--border-soft);
}

.group-data > div {
  display: grid;
  min-height: 68px;
  padding: 17px 0;
  grid-template-columns: 94px 1fr;
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
}

.group-data dt {
  color: var(--color-text-sub);
  font-size: var(--font-size-label);
}

.group-data dd {
  margin: 0;
  font-size: var(--font-size-body);
}

.related-link-list {
  margin-top: 39px;
  border-top: 1px solid var(--border-soft);
}

.related-link {
  display: flex;
  min-height: 68px;
  padding-inline: 2px;
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--color-text);
  font-size: var(--font-size-body);
  font-weight: 500;
  letter-spacing: 0.055em;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.related-link > span:last-child {
  color: var(--color-navy);
  transition: transform 0.25s ease;
}

a.related-link:hover,
.related-link:focus-visible {
  border-color: var(--color-brand);
  color: var(--color-navy);
}

a.related-link:hover > span:last-child,
.related-link:focus-visible > span:last-child {
  transform: translateX(6px);
}

.related-link-pending {
  color: var(--color-text-sub);
}

.related-link-pending small {
  flex: 0 0 auto;
  color: var(--color-text-sub);
  font-size: var(--font-size-caption);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.site-footer {
  padding: 49px 0 25px;
  color: var(--color-white);
  background: var(--color-navy-deep);
}

.footer-inner {
  display: grid;
  width: calc(100% - 40px);
  margin-inline: auto;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer-brand img {
  width: 175px;
  max-height: 46px;
  filter: brightness(0) invert(1);
  object-fit: contain;
  object-position: left center;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.6);
}

.site-footer nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1px 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--font-size-label);
}

.site-footer nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-footer nav a:hover {
  color: var(--color-white);
}

.site-footer small {
  grid-column: 1;
  padding-top: 23px;
  color: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: Arial, sans-serif;
  font-size: var(--font-size-caption);
  text-align: center;
  letter-spacing: 0.16em;
}

.global-nav a:focus-visible,
.menu-toggle:focus-visible,
.heading-link:focus-visible,
.section-link-list a:focus-visible,
.related-link:focus-visible,
.site-footer a:focus-visible,
.site-title a:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
