:root {
  color-scheme: light;
  --bg: #f4fbfa;
  --bg-elevated: #ffffff;
  --bg-soft: #e8f6f4;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(18, 111, 128, 0.16);
  --line-strong: rgba(15, 148, 164, 0.34);
  --text: #092633;
  --muted: #486672;
  --subtle: #718992;
  --cyan: #0ea5b7;
  --blue: #4f7de8;
  --green: #1ebf97;
  --gold: #c58b27;
  --coral: #ef7d61;
  --danger: #ff8d8d;
  --shadow: 0 24px 70px rgba(20, 90, 104, 0.16);
  --radius: 8px;
  --max: 1160px;
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background:
    linear-gradient(rgba(14, 165, 183, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 183, 0.055) 1px, transparent 1px),
    var(--bg);
  background-size: 52px 52px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94) 0 18rem, rgba(229, 248, 246, 0.78) 18rem 36rem, rgba(244, 251, 250, 0.92) 36rem),
    var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.45;
  background-image:
    linear-gradient(115deg, transparent 0 28%, rgba(14, 165, 183, 0.13) 28.2%, transparent 29% 100%),
    linear-gradient(65deg, transparent 0 55%, rgba(239, 125, 97, 0.12) 55.2%, transparent 56% 100%);
}

img,
svg {
  max-width: 100%;
  height: auto;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

code {
  color: var(--gold);
  background: rgba(242, 198, 109, 0.08);
  border: 1px solid rgba(242, 198, 109, 0.22);
  border-radius: 6px;
  padding: 0.08rem 0.35rem;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--cyan);
  color: #041016;
  padding: 0.7rem 1rem;
  font-weight: 700;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 255, 254, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 28px rgba(16, 70, 82, 0.06);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 74px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(110, 231, 242, 0.52);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(14, 165, 183, 0.18), rgba(30, 191, 151, 0.12)),
    #ffffff;
  color: var(--cyan);
  font-weight: 800;
}

.brand strong,
.site-footer__brand {
  display: block;
  font-size: 1.08rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 0.18rem;
  color: var(--subtle);
  font-size: 0.72rem;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.92rem;
}

.site-nav a {
  border-radius: var(--radius);
  color: var(--muted);
  padding: 0.55rem 0.75rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(110, 231, 242, 0.08);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  content: "";
}

.nav-toggle__bar::before {
  transform: translateY(-6px);
}

.nav-toggle__bar::after {
  transform: translateY(4px);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero__media,
.hero__media picture,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.05) contrast(1.02) brightness(1.06);
  transform: translate3d(0, calc(var(--scroll-y, 0px) * 0.08), 0) scale(1.045);
  transform-origin: center;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 19, 27, 0.92) 0%, rgba(4, 28, 38, 0.74) 38%, rgba(255, 255, 255, 0.12) 100%),
    linear-gradient(180deg, rgba(6, 37, 49, 0.08), rgba(244, 251, 250, 0.94) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  pointer-events: none;
  background:
    repeating-linear-gradient(100deg, transparent 0 34px, rgba(14, 165, 183, 0.16) 35px, transparent 36px),
    linear-gradient(180deg, transparent, rgba(244, 251, 250, 0.92));
  opacity: 0.72;
  transform: translate3d(0, calc(var(--scroll-y, 0px) * -0.035), 0);
  will-change: transform;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 7rem 4rem;
  color: #f7ffff;
  transform: translate3d(0, calc(var(--scroll-y, 0px) * -0.025), 0);
  will-change: transform;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
  font-weight: 800;
  word-break: keep-all;
}

h1 {
  max-width: 940px;
  font-size: 3.35rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.18rem;
}

.hero__lead {
  max-width: 720px;
  margin: 1.3rem 0 0;
  color: #e8fbff;
  font-size: 1.06rem;
}

.hero__title-line {
  display: block;
}

.hero__title-line--wide {
  white-space: nowrap;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0.68rem 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 14px 34px rgba(14, 165, 183, 0.28);
}

.button--primary:hover {
  transform: translateY(-1px);
}

.button--ghost {
  border: 1px solid var(--line-strong);
  color: inherit;
  background: rgba(255, 255, 255, 0.16);
}

.button--ghost:hover {
  border-color: var(--cyan);
  background: rgba(110, 231, 242, 0.08);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 820px;
  margin: 3rem 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.17);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.signal-strip div {
  padding: 1rem;
  border-right: 1px solid var(--line);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip dt {
  color: var(--cyan);
  font-weight: 800;
}

.signal-strip dd {
  margin: 0.2rem 0 0;
  color: rgba(238, 252, 255, 0.82);
  font-size: 0.9rem;
}

.section {
  padding-block: 5.5rem;
}

.section--intro {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(233, 248, 246, 0.68));
}

.section--muted {
  background: rgba(234, 248, 246, 0.72);
  border-block: 1px solid var(--line);
}

.section--note {
  padding-block: 3.2rem;
}

.section__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.section__header .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section__tail {
  margin-top: 1.4rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 3rem;
}

.concept-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(235, 249, 247, 0.9)),
    var(--surface-strong);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.concept-panel__heading {
  position: relative;
  padding-left: 1.2rem;
}

.concept-panel__heading::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  bottom: 0.2rem;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--coral));
}

.concept-panel__body p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.prose {
  color: var(--muted);
}

.prose p,
.prose h2,
.prose h3 {
  margin-top: 0;
}

.prose p + p,
.prose h2 + p,
.prose p + h2 {
  margin-top: 1.2rem;
}

.text-link,
.card__link {
  color: var(--cyan);
  font-weight: 800;
}

.text-link:hover,
.card__link:hover {
  color: var(--gold);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  position: relative;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 252, 250, 0.84)),
    var(--surface);
  box-shadow: 0 16px 48px rgba(22, 91, 105, 0.11);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  border-top: 1px solid rgba(110, 231, 242, 0.24);
}

.card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 24px 58px rgba(22, 91, 105, 0.17);
  transform: translateY(-4px);
}

.card h3 {
  margin-top: 0.3rem;
}

.card p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.card__topline,
.tag-row,
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.card__topline span,
.tag-row span,
.article__meta span,
.article__meta time {
  border: 1px solid rgba(14, 165, 183, 0.2);
  border-radius: 999px;
  color: #0b7285;
  background: rgba(14, 165, 183, 0.07);
  padding: 0.12rem 0.5rem;
  font-size: 0.76rem;
}

.mini-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.mini-list span {
  position: relative;
  color: var(--text);
  border-left: 2px solid rgba(30, 191, 151, 0.55);
  padding-left: 0.65rem;
  font-size: 0.9rem;
}

.card__link {
  display: inline-flex;
  margin-top: 1.1rem;
}

.card__link--disabled {
  color: var(--subtle);
}

.card__note,
.small-note {
  color: var(--subtle);
  font-size: 0.9rem;
}

.work-card--featured {
  display: block;
  max-width: 880px;
}

.inline-cta,
.cta-panel {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(14, 165, 183, 0.1), rgba(30, 191, 151, 0.06)),
    var(--surface-strong);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.inline-cta h3,
.inline-cta p,
.cta-panel h2,
.cta-panel p {
  margin: 0;
}

.inline-cta p,
.cta-panel p {
  color: var(--muted);
  margin-top: 0.35rem;
}

.section--cta {
  padding-block: 4rem;
  background:
    linear-gradient(90deg, rgba(14, 165, 183, 0.12), transparent),
    #eef9f7;
  border-top: 1px solid var(--line);
}

.page-hero {
  padding-block: 6.5rem 4.5rem;
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(112deg, transparent 0 42px, rgba(14, 165, 183, 0.08) 43px, transparent 44px),
    linear-gradient(135deg, rgba(214, 247, 243, 0.92), rgba(255, 255, 255, 0.9));
}

.page-hero h1 {
  font-size: 2.65rem;
}

.page-hero p:last-child {
  max-width: 780px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.notice,
.legal,
.article {
  max-width: 860px;
}

.notice {
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1rem;
}

.info-card dt {
  color: var(--subtle);
  font-size: 0.82rem;
}

.info-card dd {
  margin: 0.35rem 0 0;
  font-weight: 800;
}

.strength-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.strength-list p {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
}

.article__eyecatch {
  display: block;
  width: 100%;
  margin: 1.2rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.centered {
  text-align: center;
}

.centered .actions {
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #082733;
  color: #dff7f7;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  padding-block: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0.2rem 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.copyright {
  color: rgba(223, 247, 247, 0.64);
}

.site-footer__inner {
  color: rgba(223, 247, 247, 0.78);
}

.reveal-item {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.85, 0.22, 1);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 940px) {
  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    min-height: 650px;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(4, 19, 27, 0.94) 0%, rgba(4, 28, 38, 0.78) 64%, rgba(4, 28, 38, 0.52)),
      linear-gradient(180deg, rgba(7, 16, 24, 0.1), rgba(244, 251, 250, 0.95) 100%);
  }

  .card-grid--3,
  .card-grid--2,
  .split,
  .concept-panel,
  .info-grid,
  .strength-list {
    grid-template-columns: 1fr;
  }

  .section__header {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    width: 100%;
    justify-self: stretch;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(250, 255, 254, 0.97);
    padding: 0.5rem 1rem 1rem;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 0.78rem 0.8rem;
  }

  .hero {
    min-height: 690px;
  }

  .hero__content {
    padding-block: 5.2rem 3rem;
  }

  h1,
  .page-hero h1 {
    font-size: 2.05rem;
  }

  .hero__title-line--wide {
    white-space: normal;
  }

  h2 {
    font-size: 1.5rem;
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-strip div:last-child {
    border-bottom: 0;
  }

  .section,
  .page-hero {
    padding-block: 4rem;
  }

  .inline-cta,
  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .button--primary:hover {
    transform: none;
  }

  .hero__media img,
  .hero__content,
  .hero::after,
  .reveal-item {
    transform: none !important;
  }

  .reveal-item {
    opacity: 1 !important;
  }
}
