/*
Theme Name: Handai Medinfo
Theme URI: https://www.med.osaka-u.ac.jp/pub/hp-info/
Author: Shoya Wada
Description: Codex CLIで構築した Osaka University Medical Informatics WP migration のテーマ. Material Design と `https://developers.openai.com/blog/designing-delightful-frontends-with-gpt-5-4` を参考に作成した。
Version: 20260520
Text Domain: handai-medinfo
*/

:root {
  --hm-space-1: var(--wp--preset--spacing--20, 0.5rem);
  --hm-space-2: var(--wp--preset--spacing--30, 1rem);
  --hm-space-3: var(--wp--preset--spacing--40, 1.5rem);
  --hm-space-4: var(--wp--preset--spacing--50, 2rem);
  --hm-space-5: var(--wp--preset--spacing--60, 3rem);
  --hm-space-6: var(--wp--preset--spacing--70, 4.5rem);
  --hm-space-7: var(--wp--preset--spacing--80, 6rem);
  --hm-container: var(--wp--style--global--wide-size, 72rem);
  --hm-reading: var(--wp--style--global--content-size, 48rem);
  --hm-home-header-height: var(--wp--custom--layout--home-header-height, 4.5rem);
  --hm-stage-height: calc(100svh - var(--hm-home-header-height));
  --hm-border: rgba(10, 28, 39, 0.14);
  --hm-ink: var(--wp--preset--color--ink, #10212b);
  --hm-ink-soft: var(--wp--preset--color--ink-soft, #425562);
  --hm-surface: var(--wp--preset--color--surface, #ffffff);
  --hm-surface-soft: var(--wp--preset--color--surface-soft, #f4efe6);
  --hm-surface-deep: var(--wp--preset--color--surface-deep, #08131f);
  --hm-surface-panel: var(--wp--preset--color--surface-panel, #0f2231);
  --hm-line: rgba(234, 243, 246, 0.2);
  --hm-accent: var(--wp--preset--color--accent, #67d6c3);
  --hm-accent-2: var(--wp--preset--color--accent-2, #f0b35f);
  --hm-accent-3: #7fd9ff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--hm-ink);
  background: var(--hm-surface-soft);
  font-family: var(--wp--preset--font-family--ui-sans, "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", sans-serif);
  line-height: 1.75;
}

body.hm-nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  line-height: 1.16;
}

:lang(ja) .hm-hero h1,
:lang(ja) .hm-page-hero h1,
:lang(ja) .hm-section-heading h2,
:lang(ja) .hm-section-heading__lead,
:lang(ja) .hm-hero__lead,
:lang(ja) .hm-pillar h3,
:lang(ja) .hm-pillar p,
:lang(ja) .hm-nav a,
:lang(ja) .hm-ecosystem__node-copy strong,
:lang(ja) .hm-ecosystem__node-copy small {
  word-break: normal;
  line-break: strict;
  overflow-wrap: break-word;
}

@supports (word-break: auto-phrase) {
  :lang(ja) .hm-hero h1,
  :lang(ja) .hm-page-hero h1,
  :lang(ja) .hm-section-heading h2,
  :lang(ja) .hm-section-heading__lead,
  :lang(ja) .hm-hero__lead,
  :lang(ja) .hm-pillar h3,
  :lang(ja) .hm-pillar p,
  :lang(ja) .hm-nav a,
  :lang(ja) .hm-ecosystem__node-copy strong,
  :lang(ja) .hm-ecosystem__node-copy small {
    word-break: auto-phrase;
    overflow-wrap: normal;
  }
}

.hm-brand,
.hm-eyebrow,
.hm-hero__metrics span,
.hm-pillar__index {
  font-family: var(--wp--preset--font-family--ui-sans, "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", sans-serif);
}

.home .hm-hero h1 {
  font-family: var(--wp--preset--font-family--ui-serif, "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif);
}

.hm-container {
  width: min(100% - 2rem, var(--hm-container));
  margin: 0 auto;
}

.hm-main {
  padding: var(--hm-space-5) 0 var(--hm-space-6);
}

.hm-main > article,
.hm-main > header,
.hm-main > section,
.hm-main .page,
.hm-main .type-page {
  max-width: var(--hm-reading);
  margin-inline: auto;
}

.hm-header,
.hm-footer {
  position: relative;
  z-index: 10;
}

.hm-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(234, 243, 246, 0.14);
  background:
    linear-gradient(135deg, rgba(7, 16, 25, 0.94), rgba(15, 34, 49, 0.92));
  backdrop-filter: blur(16px);
}

.hm-header[data-menu-open="true"] {
  z-index: 60;
}

.hm-header a {
  color: #f4efe6;
}

.home .hm-header {
  background: rgba(8, 19, 31, 0.52);
  border-bottom-color: rgba(234, 243, 246, 0.14);
}

.home .hm-header a {
  color: #f4efe6;
}

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

.hm-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  min-height: calc(var(--hm-home-header-height) - 1px);
}

.hm-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  max-width: 100%;
  min-width: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.hm-brand__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  min-height: 2.1rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(244, 239, 230, 0.1);
  box-shadow: inset 0 0 0 1px rgba(244, 239, 230, 0.18);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hm-brand__wordmark {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-header__nav {
  min-width: 0;
  margin-left: auto;
}

.hm-header__nav-label {
  display: none;
}

.hm-nav-toggle {
  display: none;
  align-items: center;
  gap: 0.7rem;
  margin-left: auto;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 239, 230, 0.2);
  background: rgba(244, 239, 230, 0.06);
  color: #f4efe6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.hm-nav-toggle__bars {
  display: inline-grid;
  gap: 0.24rem;
}

.hm-nav-toggle__bars span {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: currentColor;
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hm-nav-toggle__label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hm-header[data-menu-open="true"] .hm-nav-toggle__bars span:nth-child(1) {
  transform: translateY(0.34rem) rotate(45deg);
}

.hm-header[data-menu-open="true"] .hm-nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.hm-header[data-menu-open="true"] .hm-nav-toggle__bars span:nth-child(3) {
  transform: translateY(-0.34rem) rotate(-45deg);
}

.hm-header__backdrop {
  display: none;
}

.hm-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0.7rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}

.hm-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .hm-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .hm-brand {
    gap: 0.6rem;
  }

  .hm-brand__badge {
    min-width: 2.4rem;
    min-height: 2rem;
    padding: 0 0.62rem;
    font-size: 0.72rem;
  }

  .hm-brand__wordmark {
    font-size: 0.95rem;
  }

  .hm-nav-toggle {
    display: inline-flex;
  }

  .hm-header[data-menu-enhanced="false"] .hm-header__nav {
    grid-column: 1 / -1;
    margin-top: 0.85rem;
  }

  .hm-header[data-menu-enhanced="true"] .hm-header__nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    z-index: 30;
    margin-top: 0;
    padding: 1rem 1rem 0.5rem;
    border: 1px solid rgba(234, 243, 246, 0.14);
    border-radius: 1.4rem;
    background:
      linear-gradient(160deg, rgba(8, 19, 31, 0.96), rgba(15, 34, 49, 0.98));
    box-shadow: 0 26px 50px rgba(8, 19, 31, 0.28);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .hm-header[data-menu-open="true"][data-menu-enhanced="true"] .hm-header__nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hm-header__nav-label {
    display: block;
    margin: 0 0 0.55rem;
    color: rgba(244, 239, 230, 0.58);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .hm-nav {
    display: grid;
    gap: 0;
    font-size: 0.98rem;
  }

  .hm-nav li {
    border-top: 1px solid rgba(234, 243, 246, 0.12);
  }

  .hm-nav a {
    min-height: 3.15rem;
    justify-content: space-between;
    padding: 0 0.1rem;
  }

  .hm-header__backdrop {
    position: fixed;
    inset: var(--hm-home-header-height) 0 0;
    z-index: 20;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: rgba(8, 19, 31, 0.34);
    backdrop-filter: blur(3px);
  }
}

@media (min-width: 1101px) {
  .hm-header__nav {
    display: block !important;
  }
}

.hm-footer {
  padding: var(--hm-space-4) 0;
  color: #f4efe6;
  background: var(--hm-surface-deep);
}

.hm-eyebrow {
  margin-bottom: var(--hm-space-2);
  color: var(--hm-accent);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hm-button,
.hm-text-link,
button,
input[type="submit"] {
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hm-button,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1.15rem;
  border: 1px solid var(--hm-ink);
  background: var(--hm-ink);
  color: #f7f3eb;
  text-decoration: none;
  cursor: pointer;
}

.hm-button:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
}

.hm-button--light {
  border-color: transparent;
  background: var(--hm-surface-soft);
  color: var(--hm-surface-deep);
}

.hm-button--ghost {
  border-color: rgba(244, 239, 230, 0.36);
  background: transparent;
  color: #f4efe6;
}

.hm-text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
}

.hm-text-link::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  transition: width 180ms ease;
}

.hm-text-link:hover::after {
  width: 3rem;
}

.hm-section-heading {
  max-width: 42rem;
  margin-bottom: var(--hm-space-4);
}

.hm-main--page .hm-section-heading__headline {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.25rem);
}

.hm-main--page .hm-section-heading__headline-copy {
  min-width: 0;
}

.hm-main--page .hm-section-heading__headline-copy .hm-eyebrow {
  margin-bottom: 0.35rem;
}

.hm-main--page .hm-section-heading__headline-copy h2,
.hm-main--page .hm-section-heading__headline-copy h3 {
  margin-bottom: 0;
}

.hm-main--page .hm-section-heading__icon-shell {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.hm-section-heading__icon-shell {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1rem;
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0) 42%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.94), rgba(244, 239, 230, 0.92));
  box-shadow:
    inset 0 0 0 1px rgba(16, 33, 43, 0.08),
    0 10px 24px rgba(16, 33, 43, 0.1);
}

.hm-section-heading__icon {
  width: 3.2rem;
  height: 3.2rem;
}

.hm-section-heading__icon--glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hm-section-heading__icon--glyph svg {
  width: 100%;
  height: 100%;
}

.hm-section-heading__icon--glyph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hm-icon-image {
  filter: drop-shadow(0 6px 16px rgba(8, 19, 31, 0.18));
}

.hm-section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.hm-section-heading--light h2,
.hm-section-heading--light .hm-eyebrow {
  color: #f4efe6;
}

.hm-section-heading--light .hm-section-heading__lead {
  color: rgba(244, 239, 230, 0.88);
}

.hm-top-section {
  padding-top: var(--hm-space-6);
}

.hm-main--top {
  padding-top: 0;
}

body.home {
  scroll-padding-top: var(--hm-home-header-height);
}

.landing {
  position: relative;
}

.landing__section {
  position: relative;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: var(--hm-stage-height);
  display: grid;
  align-items: center;
}

.landing__section.hm-top-section {
  padding-top: 0;
}

.hm-main--top > article,
.hm-main--top > header,
.hm-main--top > section,
.hm-main--top .page,
.hm-main--top .type-page {
  max-width: none;
}

.hm-main--page {
  padding-top: 0;
}

.hm-main--page > article,
.hm-main--page > header,
.hm-main--page > section,
.hm-main--page .page,
.hm-main--page .type-page {
  max-width: none;
}

.hm-page-hero {
  position: relative;
  overflow: clip;
  padding: clamp(3.2rem, 6.5vw, 5rem) 0 clamp(2.4rem, 5vw, 3.35rem);
  color: #f4efe6;
  background:
    radial-gradient(circle at 16% 18%, rgba(103, 214, 195, 0.2), transparent 24%),
    radial-gradient(circle at 84% 20%, rgba(240, 179, 95, 0.16), transparent 24%),
    linear-gradient(160deg, #071019 0%, #0a1824 48%, #132c3d 100%);
}

.hm-page-hero__aurora {
  position: absolute;
  inset: auto auto -14rem -8rem;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(103, 214, 195, 0.18), transparent 66%);
  filter: blur(22px);
  pointer-events: none;
}

.hm-page-hero__aurora--secondary {
  inset: -10rem -8rem auto auto;
  background: radial-gradient(circle, rgba(240, 179, 95, 0.18), transparent 68%);
}

.hm-page-hero__inner,
.hm-page-shell {
  width: min(100% - 2rem, var(--hm-container));
  margin: 0 auto;
}

.hm-page-hero__inner {
  position: relative;
  z-index: 1;
}

.hm-page-hero__content {
  max-width: 44rem;
}

.hm-page-hero__headline {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.35rem);
}

.hm-page-hero__headline-copy {
  min-width: 0;
}

.hm-page-hero__headline-copy .hm-eyebrow {
  margin-bottom: 0.4rem;
}

.hm-page-hero__headline-copy h1 {
  margin-bottom: 0;
}

.hm-page-hero__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(3.3rem, 6.2vw, 4rem);
  height: clamp(3.3rem, 6.2vw, 4rem);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 42%),
    linear-gradient(155deg, rgba(244, 239, 230, 0.18), rgba(103, 214, 195, 0.12));
  box-shadow:
    inset 0 0 0 1px rgba(244, 239, 230, 0.18),
    0 10px 24px rgba(8, 19, 31, 0.22);
}

.hm-page-hero__icon-glyph {
  display: inline-flex;
  width: clamp(2.15rem, 4.3vw, 2.6rem);
  height: clamp(2.15rem, 4.3vw, 2.6rem);
}

.hm-page-hero__icon-glyph svg {
  width: 100%;
  height: 100%;
}

.hm-page-hero__icon-glyph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hm-page-hero h1 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.95rem, 3.2vw, 2.95rem);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hm-page-hero--detail h1 {
  font-size: clamp(1.85rem, 2.8vw, 2.45rem);
  letter-spacing: -0.025em;
}

.hm-page-hero__lead {
  max-width: 38rem;
  margin-top: 1rem;
  margin-bottom: 0;
  color: rgba(244, 239, 230, 0.88);
  font-size: 1.05rem;
}

.hm-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: var(--hm-space-3);
}

.hm-page-shell {
  display: grid;
  gap: var(--hm-space-4);
  padding: clamp(2rem, 5vw, 4rem) 0 var(--hm-space-6);
}

.hm-page-layout {
  display: grid;
  gap: var(--hm-space-4);
}

.hm-page-aside {
  display: grid;
  gap: var(--hm-space-3);
  align-self: start;
}

.hm-page-section,
.hm-page-panel,
.hm-page-role,
.hm-page-meta,
.hm-page-article,
.hm-page-aside__panel {
  position: relative;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(249, 244, 235, 0.96));
}

.hm-page-section,
.hm-page-panel,
.hm-page-role,
.hm-page-article,
.hm-page-aside__panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.hm-page-section,
.hm-page-article {
  border-top: 3px solid rgba(16, 33, 43, 0.12);
}

.hm-page-section--dark {
  color: #f4efe6;
  background:
    radial-gradient(circle at 12% 18%, rgba(103, 214, 195, 0.14), transparent 24%),
    linear-gradient(150deg, rgba(8, 19, 31, 0.98), rgba(20, 48, 67, 0.96));
}

.hm-page-section--dark .hm-eyebrow,
.hm-page-section--dark .hm-section-heading h2,
.hm-page-section--dark .hm-section-heading__lead,
.hm-page-section--dark p,
.hm-page-section--dark li,
.hm-page-section--dark a {
  color: inherit;
}

.hm-page-section--dark .hm-section-heading__icon-shell {
  background: rgba(244, 239, 230, 0.1);
  box-shadow: inset 0 0 0 1px rgba(244, 239, 230, 0.16);
}

.hm-page-section--dark .hm-page-panel,
.hm-page-section--dark .hm-page-role {
  color: var(--hm-ink);
}

.hm-page-section--dark .hm-eyebrow {
  color: #9ee3d7;
}

.hm-page-panels,
.hm-page-topic-list,
.hm-page-role-list,
.hm-page-meta-grid {
  display: grid;
  gap: var(--hm-space-3);
}

.hm-page-profile {
  display: grid;
  gap: var(--hm-space-3);
}

.hm-page-profile__portrait {
  margin: 0;
  max-width: 22rem;
}

.hm-page-profile__portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.2rem;
  box-shadow: 0 18px 42px rgba(8, 19, 31, 0.12);
}

.hm-page-aside__panel .hm-section-heading {
  margin-bottom: var(--hm-space-3);
}

.hm-page-aside .hm-filter {
  margin-bottom: 0;
}

.hm-page-panel {
  padding-top: var(--hm-space-2);
  border-top: 1px solid var(--hm-border);
}

.hm-page-panel h3,
.hm-page-role h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.hm-page-panel p:last-child,
.hm-page-role p:last-child {
  margin-bottom: 0;
}

.hm-page-role {
  padding-top: var(--hm-space-2);
  border-top: 1px solid var(--hm-border);
}

.hm-page-article > :last-child,
.hm-page-section > :last-child,
.hm-page-panel > :last-child,
.hm-page-aside__panel > :last-child {
  margin-bottom: 0;
}

.hm-page-richtext > :last-child,
.hm-page-richtext .wp-block-group > :last-child {
  margin-bottom: 0;
}

.hm-page-richtext h1,
.hm-page-richtext h2,
.hm-page-richtext h3,
.hm-page-richtext h4 {
  margin-top: 2rem;
}

.hm-page-richtext h1:first-child,
.hm-page-richtext h2:first-child,
.hm-page-richtext h3:first-child,
.hm-page-richtext h4:first-child {
  margin-top: 0;
}

.hm-page-richtext h1 {
  position: relative;
  margin-bottom: 1.05rem;
  padding-bottom: 0.85rem;
  color: #102f3c;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.28;
}

.hm-page-richtext h1::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: min(9rem, 42%);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(74, 154, 140, 0.95), rgba(240, 179, 95, 0.86));
}

.hm-page-richtext h2 {
  position: relative;
  padding: 0.95rem 1.1rem 0.95rem 1.4rem;
  border-left: 5px solid rgba(74, 154, 140, 0.92);
  border-radius: 0 1rem 1rem 0;
  background:
    linear-gradient(90deg, rgba(74, 154, 140, 0.14), rgba(74, 154, 140, 0.04) 55%, rgba(74, 154, 140, 0) 100%),
    linear-gradient(180deg, rgba(7, 16, 25, 0.02), rgba(7, 16, 25, 0.05));
  box-shadow:
    inset 0 0 0 1px rgba(19, 44, 61, 0.08),
    0 10px 24px rgba(8, 19, 31, 0.05);
  color: #173d4a;
  line-height: 1.4;
}

.hm-page-richtext h2::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 0.7rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: #d59a45;
  transform: translateY(-50%);
  box-shadow: 0 0 0 0.24rem rgba(213, 154, 69, 0.16);
}

.hm-page-richtext h3 {
  position: relative;
  margin-bottom: 0.8rem;
  padding: 0.18rem 0 0.32rem 1rem;
  border-left: 4px solid rgba(74, 154, 140, 0.78);
  border-bottom: 1px solid rgba(19, 44, 61, 0.12);
  color: #123246;
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  line-height: 1.45;
}

.hm-page-richtext h3::before {
  content: "";
  position: absolute;
  inset: 0.72em auto auto 0.28rem;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 999px;
  background: #f0b35f;
  box-shadow: 0 0 0 0.18rem rgba(240, 179, 95, 0.14);
}

.hm-page-richtext h4 {
  margin-bottom: 0.6rem;
  padding-left: 0.75rem;
  border-left: 3px solid rgba(240, 179, 95, 0.72);
  color: #294652;
  font-size: clamp(1.03rem, 1.5vw, 1.16rem);
  line-height: 1.5;
  font-weight: 700;
}

.hm-page-richtext ul,
.hm-page-richtext ol {
  padding-left: 1.25rem;
}

/* 固定ページ本文（the_content）内の画像: 四隅を丸める（クラシック／ブロックエディタ共通） */
.hm-page-richtext img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: clamp(0.9rem, 2.2vw, 1.0rem);
}

.hm-page-richtext figure.wp-block-image {
  margin-left: 0;
  margin-right: 0;
}

.hm-page-meta {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-top: 3px solid rgba(103, 214, 195, 0.42);
}

.hm-page-meta-grid {
  margin: 0;
}

.hm-page-meta-grid div {
  padding-top: 0.9rem;
  border-top: 1px solid var(--hm-border);
}

.hm-page-meta-grid dt {
  margin-bottom: 0.35rem;
  color: var(--hm-ink-soft);
  font-size: 0.92rem;
}

.hm-page-meta-grid dd {
  margin: 0;
  font-weight: 600;
}

.hm-page-meta-grid dd a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(18, 50, 70, 0.24);
  transition: color 160ms ease, border-color 160ms ease;
}

.hm-page-meta-grid dd a:hover,
.hm-page-meta-grid dd a:focus-visible {
  color: #0d6b73;
  border-color: rgba(13, 107, 115, 0.55);
}

.hm-page-link-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-page-link-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--hm-border);
  text-decoration: none;
}

.hm-page-link-list__meta {
  color: var(--hm-ink-soft);
  white-space: nowrap;
}

.hm-page-summary {
  color: var(--hm-ink-soft);
  font-size: 1rem;
}

.hm-page-backlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.hm-page-backlink::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: currentColor;
}

.hm-section-heading__lead {
  max-width: 38rem;
  margin-top: 1rem;
  color: var(--hm-ink-soft);
}

.hm-hero {
  position: relative;
  overflow: clip;
  min-height: var(--hm-stage-height);
  padding: clamp(3rem, 6vh, 4.75rem) 0 clamp(1.75rem, 3.5vh, 3rem);
  color: #f4efe6;
  background:
    radial-gradient(circle at 14% 18%, rgba(127, 217, 255, 0.18), transparent 26%),
    radial-gradient(circle at 84% 16%, rgba(103, 214, 195, 0.2), transparent 28%),
    radial-gradient(circle at 62% 72%, rgba(240, 179, 95, 0.1), transparent 26%),
    linear-gradient(145deg, #06111c 0%, #081a29 38%, #0d2435 68%, #123349 100%);
}

.hm-hero__aurora {
  position: absolute;
  inset: auto auto -12rem -8rem;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(103, 214, 195, 0.18), transparent 66%);
  filter: blur(26px);
  pointer-events: none;
}

.hm-hero__aurora--secondary {
  inset: -8rem -6rem auto auto;
  background: radial-gradient(circle, rgba(127, 217, 255, 0.16), transparent 68%);
}

.hm-hero__inner {
  position: relative;
  display: grid;
  gap: var(--hm-space-5);
  align-items: center;
  width: min(100% - 2rem, 92rem);
  margin: 0 auto;
}

.hm-hero__content {
  position: relative;
  z-index: 12;
  max-width: 36rem;
}

.hm-hero__content--secondary {
  max-width: 30rem;
}

.hm-hero__kicker {
  margin-bottom: 0.9rem;
  color: rgba(244, 239, 230, 0.76);
  font-size: 0.86rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hm-hero h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 5vw, 5.65rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hm-hero__lead {
  max-width: 34rem;
  margin-bottom: var(--hm-space-3);
  color: rgba(244, 239, 230, 0.86);
  font-size: 1.05rem;
}

.hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin-bottom: var(--hm-space-4);
}

.hm-hero__metrics {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-hero__metrics li {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(244, 239, 230, 0.16);
  color: rgba(244, 239, 230, 0.9);
}

.hm-hero__metrics span {
  min-width: 2rem;
  color: var(--hm-accent-2);
}

.hm-hero__visual {
  position: relative;
  z-index: 4;
}

.hm-ecosystem {
  position: relative;
  width: min(100%, 52rem);
  aspect-ratio: 1 / 1.05;
  margin-inline: auto;
  --hm-ecosystem-orbit-angle: -4deg;
  --hm-ecosystem-orbit-center-x: 50;
  --hm-ecosystem-orbit-center-y: 50.5;
  --hm-ecosystem-orbit-radius-x: 39;
  --hm-ecosystem-orbit-radius-y: 22.5;
  --hm-ecosystem-platform-scale-outer: 0.46;
  --hm-ecosystem-platform-scale-middle: 0.49;
  --hm-ecosystem-platform-scale-inner: 0.55;
}

.hm-ecosystem__glow,
.hm-ecosystem__grid,
.hm-ecosystem__orbit,
.hm-ecosystem__platform,
.hm-ecosystem__character,
.hm-ecosystem__nodes {
  position: absolute;
}

.hm-ecosystem__glow,
.hm-ecosystem__grid,
.hm-ecosystem__orbit,
.hm-ecosystem__platform,
.hm-ecosystem__character {
  inset: 0;
}

.hm-ecosystem__glow {
  pointer-events: none;
}

.hm-ecosystem__glow--primary {
  inset: 12% 10% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103, 214, 195, 0.22), rgba(103, 214, 195, 0.04) 42%, transparent 72%);
  filter: blur(12px);
}

.hm-ecosystem__glow--secondary {
  inset: 22% 18% 24%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 217, 255, 0.2), transparent 68%);
  filter: blur(22px);
  opacity: 0.86;
}

.hm-ecosystem__grid {
  inset: 8% 4% 6%;
  background:
    radial-gradient(circle at 50% 56%, rgba(103, 214, 195, 0.12), transparent 42%),
    radial-gradient(circle at 16% 20%, rgba(127, 217, 255, 0.16), transparent 12%),
    radial-gradient(circle at 82% 30%, rgba(127, 217, 255, 0.14), transparent 12%),
    linear-gradient(rgba(127, 217, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 217, 255, 0.08) 1px, transparent 1px);
  background-size: auto, auto, auto, 5.5rem 5.5rem, 5.5rem 5.5rem;
  mask-image: radial-gradient(circle at 50% 48%, rgba(0, 0, 0, 0.92), transparent 78%);
  opacity: 0.32;
}

.hm-ecosystem__orbit {
  inset: 8% 2% 4%;
  z-index: 2;
  animation: hmOrbitDrift 16s ease-in-out infinite;
}

.hm-ecosystem__orbit svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 18px rgba(103, 214, 195, 0.14));
  transform: rotate(var(--hm-ecosystem-orbit-angle));
  transform-origin: center;
  transform-box: fill-box;
}

.hm-ecosystem__orbit ellipse {
  fill: none;
  stroke: rgba(103, 214, 195, 0.74);
  stroke-width: 8;
}

.hm-ecosystem__orbit-dash {
  stroke: rgba(240, 179, 95, 0.72);
  stroke-dasharray: 2 16;
  stroke-linecap: round;
  stroke-width: 6;
}

.hm-ecosystem__orbit--back {
  clip-path: inset(0 0 44% 0);
  opacity: 0.8;
}

.hm-ecosystem__orbit--front {
  z-index: 9;
  clip-path: inset(54% 0 0 0);
}

.hm-ecosystem__orbit--front ellipse {
  stroke: rgba(127, 217, 255, 0.92);
}

.hm-ecosystem__orbit--front .hm-ecosystem__orbit-dash {
  stroke: rgba(240, 179, 95, 0.92);
}

.hm-ecosystem__nodes {
  inset: 0;
  z-index: 10;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-ecosystem__node {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  width: clamp(7.2rem, 11.8vw, 9.8rem);
  transform: translate(-50%, -50%) scale(var(--hm-orbit-scale, 1));
  color: #f4efe6;
  text-align: center;
  opacity: var(--hm-orbit-opacity, 1);
  transition: opacity 220ms ease;
  will-change: left, top, transform, opacity;
}

.hm-ecosystem__node-link {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
  outline: none;
}

.hm-ecosystem__node-link:hover .hm-ecosystem__node-orb,
.hm-ecosystem__node-link:focus-visible .hm-ecosystem__node-orb {
  box-shadow:
    0 24px 40px rgba(5, 15, 24, 0.32),
    inset 0 0 0 1px rgba(244, 239, 230, 0.28),
    inset 0 1px 14px rgba(127, 217, 255, 0.28),
    0 0 0 3px rgba(127, 217, 255, 0.18);
}

.hm-ecosystem__node-link:hover .hm-ecosystem__node-copy strong,
.hm-ecosystem__node-link:focus-visible .hm-ecosystem__node-copy strong {
  color: #ffffff;
}

.hm-ecosystem__node--knowledge {
  top: 20%;
  left: 21%;
  animation-delay: -1.4s;
}

.hm-ecosystem__node--ai {
  top: 10%;
  left: 50%;
  animation-delay: -0.4s;
}

.hm-ecosystem__node--staff {
  top: 21%;
  left: 79%;
  animation-delay: -2.8s;
}

.hm-ecosystem__node--patient {
  top: 48%;
  left: 92%;
  animation-delay: -4.1s;
}

.hm-ecosystem__node--ehr {
  top: 78%;
  left: 80%;
  animation-delay: -1.8s;
}

.hm-ecosystem__node--phr {
  top: 91%;
  left: 56%;
  animation-delay: -3.2s;
}

.hm-ecosystem__node--database {
  top: 84%;
  left: 28%;
  animation-delay: -2.2s;
}

.hm-ecosystem__node--security {
  top: 55%;
  left: 10%;
  animation-delay: -5s;
}

.hm-ecosystem__node-orb {
  display: grid;
  place-items: center;
  order: 1;
  width: clamp(4rem, 7vw, 5.1rem);
  padding: 12%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(130, 182, 219, 0.42), rgba(13, 34, 52, 0.82)),
    rgba(11, 28, 41, 0.9);
  box-shadow:
    0 20px 32px rgba(5, 15, 24, 0.24),
    inset 0 0 0 1px rgba(244, 239, 230, 0.22),
    inset 0 1px 14px rgba(127, 217, 255, 0.22);
  backdrop-filter: blur(12px);
}

.hm-ecosystem__node-icon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #f6fbff;
}

.hm-ecosystem__node-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(5, 15, 24, 0.22));
}

.hm-ecosystem__node-copy {
  display: grid;
  gap: 0.18rem;
  order: 2;
  max-width: 100%;
  text-wrap: pretty;
}

.hm-ecosystem__node-copy strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
}

.hm-ecosystem__node-copy small {
  display: block;
  color: rgba(244, 239, 230, 0.74);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.hm-ecosystem__node-copy--above {
  order: 0;
}

.hm-ecosystem__platform {
  inset: auto 17% 13% 17%;
  height: 20%;
  z-index: 5;
  transform: rotate(var(--hm-ecosystem-orbit-angle));
  transform-origin: center;
}

.hm-ecosystem__platform-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.hm-ecosystem__platform-ring--outer {
  background:
    radial-gradient(circle at 50% 50%, rgba(127, 217, 255, 0.34), transparent 52%),
    radial-gradient(circle at 50% 50%, rgba(103, 214, 195, 0.18), transparent 72%);
  box-shadow: 0 0 28px rgba(103, 214, 195, 0.3);
  transform: scale(1.04, var(--hm-ecosystem-platform-scale-outer));
}

.hm-ecosystem__platform-ring--middle {
  inset: 15% 10%;
  border: 2px solid rgba(127, 217, 255, 0.66);
  box-shadow: 0 0 24px rgba(127, 217, 255, 0.24);
  transform: scaleY(var(--hm-ecosystem-platform-scale-middle));
}

.hm-ecosystem__platform-ring--inner {
  inset: 29% 23%;
  background: radial-gradient(circle, rgba(103, 214, 195, 0.28), rgba(103, 214, 195, 0.02) 62%, transparent 70%);
  border: 1px solid rgba(244, 239, 230, 0.2);
  transform: scaleY(var(--hm-ecosystem-platform-scale-inner));
}

.hm-ecosystem__character {
  inset: auto auto 18% 50%;
  width: clamp(12rem, 27vw, 18rem);
  z-index: 7;
  transform: translateX(-50%);
  animation: hmCharacterFloat 9s ease-in-out infinite;
}

.hm-ecosystem__character img {
  width: 100%;
  filter: drop-shadow(0 18px 30px rgba(3, 11, 18, 0.34));
}

.landing__support,
.landing__proof,
.landing__cta {
  padding-block: clamp(4rem, 8vw, 6rem);
}

.landing__support {
  background:
    radial-gradient(circle at 14% 22%, rgba(103, 214, 195, 0.18), transparent 28%),
    radial-gradient(circle at 82% 80%, rgba(127, 217, 255, 0.16), transparent 24%),
    linear-gradient(150deg, #0b1823 0%, #102332 55%, #173448 100%);
  color: #f4efe6;
}

.landing__proof {
  background:
    radial-gradient(circle at 14% 26%, rgba(103, 214, 195, 0.1), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(127, 217, 255, 0.12), transparent 22%),
    linear-gradient(145deg, #eff3f3 0%, #f6f0e6 100%);
}

.landing__cta {
  padding-bottom: var(--hm-space-6);
  background:
    linear-gradient(180deg, rgba(8, 19, 31, 0.02), rgba(8, 19, 31, 0)),
    var(--hm-surface-soft);
}

.hm-pillar-grid,
.hm-latest-columns,
.hm-cta-links,
.hm-proof-metrics {
  display: grid;
  gap: var(--hm-space-3);
}

.hm-pillar {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding-top: var(--hm-space-2);
  border-top: 1px solid rgba(244, 239, 230, 0.18);
}

.hm-pillar__icon {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1rem;
  color: #f4efe6;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 28%, rgba(244, 239, 230, 0.32), rgba(244, 239, 230, 0) 42%),
    linear-gradient(160deg, rgba(244, 239, 230, 0.2), rgba(103, 214, 195, 0.22));
  box-shadow:
    inset 0 0 0 1px rgba(244, 239, 230, 0.18),
    0 10px 24px rgba(8, 19, 31, 0.22);
}

.hm-pillar__icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.hm-pillar__icon img {
  display: block;
  width: 1.95rem;
  height: 1.95rem;
  object-fit: contain;
}

.hm-pillar__index {
  margin-bottom: 0.65rem;
  color: var(--hm-accent-2);
}

.hm-pillar h3 {
  margin-bottom: 0.75rem;
  font-size: 1.45rem;
}

.landing__support .hm-section-heading__icon-shell {
  background:
    radial-gradient(circle at 32% 24%, rgba(244, 239, 230, 0.26), rgba(244, 239, 230, 0) 40%),
    linear-gradient(155deg, rgba(244, 239, 230, 0.16), rgba(103, 214, 195, 0.16));
  box-shadow:
    inset 0 0 0 1px rgba(244, 239, 230, 0.18),
    0 14px 32px rgba(8, 19, 31, 0.26);
}

.landing__support .hm-eyebrow {
  color: #9ee3d7;
}

.landing__support .hm-section-heading h2,
.landing__support .hm-pillar h3 {
  color: #f4efe6;
}

.landing__support .hm-section-heading__lead,
.landing__support .hm-pillar p {
  color: rgba(244, 239, 230, 0.84);
}

.hm-proof-shell {
  display: grid;
  gap: var(--hm-space-4);
}

.hm-proof-intro {
  display: grid;
  gap: var(--hm-space-3);
  align-self: start;
}

.hm-proof-main {
  display: grid;
  gap: var(--hm-space-3);
}

.landing__proof .hm-section-heading__icon-shell {
  background: rgba(103, 214, 195, 0.14);
}

.landing__proof .hm-eyebrow {
  color: #35596c;
}

.hm-proof-year-stack,
.hm-proof-aside {
  display: grid;
  gap: var(--hm-space-2);
}

.hm-proof-year {
  display: grid;
  gap: 0.9rem;
  padding: 1rem 1.15rem 1.05rem;
  border-top: 1px solid var(--hm-border);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(249, 244, 235, 0.96));
}

.hm-proof-year--primary {
  box-shadow: 0 18px 40px rgba(8, 19, 31, 0.06);
}

.hm-proof-year__head,
.hm-proof-year__types li,
.hm-filter-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.hm-proof-year__head {
  align-items: flex-start;
}

.hm-proof-year__eyebrow,
.hm-link-panel__eyebrow,
.hm-filter-summary__lead {
  margin: 0;
  font-family: var(--wp--preset--font-family--ui-sans, "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", sans-serif);
  color: #35596c;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hm-proof-year__caption,
.hm-link-panel__lead,
.hm-proof-note {
  margin: 0;
  color: var(--hm-ink-soft);
  font-size: 0.92rem;
}

.hm-proof-year__total {
  display: grid;
  justify-items: end;
  gap: 0.15rem;
}

.hm-proof-year__total-link,
.hm-proof-year__total-value {
  font-family: var(--wp--preset--font-family--ui-sans, "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", sans-serif);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.hm-proof-year__total-link {
  color: var(--hm-surface-deep);
}

.hm-proof-year__total-link:hover,
.hm-proof-year__type-count:hover {
  color: #0d5265;
}

.hm-proof-year--primary .hm-proof-year__total-link,
.hm-proof-year--primary .hm-proof-year__total-value {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
}

.hm-proof-year--secondary .hm-proof-year__total-link,
.hm-proof-year--secondary .hm-proof-year__total-value {
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
}

.hm-proof-year--tertiary .hm-proof-year__total-link,
.hm-proof-year--tertiary .hm-proof-year__total-value {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.hm-proof-year--quaternary .hm-proof-year__total-link,
.hm-proof-year--quaternary .hm-proof-year__total-value {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.hm-proof-year__total-label {
  color: var(--hm-ink-soft);
  font-size: 0.82rem;
}

.hm-proof-year__types,
.hm-filter-summary__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-proof-year__types {
  display: grid;
  gap: 0.45rem;
}

.hm-proof-year__types li {
  padding-top: 0.55rem;
  border-top: 1px solid rgba(10, 28, 39, 0.08);
}

.hm-proof-year__type-label {
  color: var(--hm-ink);
  font-weight: 600;
}

.hm-proof-year__type-count {
  color: var(--hm-surface-deep);
  font-weight: 700;
  text-decoration: none;
}

.hm-proof-year__type-count--inactive {
  color: #7b8a94;
}

.hm-proof-year__empty {
  margin: 0;
  color: var(--hm-ink-soft);
}

.hm-proof-note {
  padding-top: 0.9rem;
  border-top: 1px solid var(--hm-border);
}

.landing__proof .hm-link-panel__lead,
.landing__proof .hm-link-list__meta,
.landing__proof .hm-link-list__empty,
.landing__proof .hm-section-heading__lead,
.landing__proof .hm-proof-note,
.landing__proof .hm-proof-year__caption,
.landing__proof .hm-proof-year__total-label {
  color: #4d6170;
}

.hm-link-panel {
  display: grid;
  gap: 0.9rem;
  padding-top: var(--hm-space-2);
  border-top: 1px solid var(--hm-border);
}

.hm-link-panel--compact {
  padding-top: 0.85rem;
}

.hm-link-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: var(--hm-space-2);
}

.hm-link-panel__head h3 {
  margin-bottom: 0;
  font-size: 1.4rem;
}

.hm-link-panel__head > div {
  display: grid;
  gap: 0.18rem;
}

.hm-update-feature {
  display: grid;
  gap: 1rem;
  margin-bottom: 0.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hm-border);
}

.hm-update-feature__thumb {
  overflow: hidden;
  background: #d8dfdf;
}

.hm-update-feature__thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hm-update-feature__meta {
  margin-bottom: 0.45rem;
  color: #52646F;
  font-size: 0.92rem;
}

.hm-update-feature__body h4 {
  margin-bottom: 0;
  font-size: 1.22rem;
}

.hm-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-link-list--compact li:first-child {
  border-top: 1px solid var(--hm-border);
}

.hm-link-list li {
  border-bottom: 1px solid var(--hm-border);
}

.hm-link-list a {
  display: grid;
  gap: 0.4rem;
  padding: 0.95rem 0;
  text-decoration: none;
}

.hm-link-list__title {
  font-weight: 600;
}

.hm-link-list__meta,
.hm-link-list__empty {
  color: #52646F;
  font-size: 0.92rem;
}

.hm-filter-summary {
  padding: 1rem 1.15rem;
  margin-bottom: var(--hm-space-2);
  border-top: 3px solid rgba(103, 214, 195, 0.45);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(249, 244, 235, 0.96));
}

.hm-filter-summary__lead {
  color: var(--hm-surface-deep);
  font-size: 0.9rem;
}

.hm-filter-summary__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-inline: auto 0;
}

.hm-filter-summary__list li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(103, 214, 195, 0.12);
}

.hm-filter-summary__list span {
  color: var(--hm-ink-soft);
  font-size: 0.84rem;
}

.hm-cta-shell {
  width: 100%;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  color: #f4efe6;
  background:
    radial-gradient(circle at 12% 20%, rgba(103, 214, 195, 0.16), transparent 24%),
    radial-gradient(circle at 88% 74%, rgba(240, 179, 95, 0.16), transparent 20%),
    linear-gradient(145deg, rgba(10, 26, 39, 0.98), rgba(20, 48, 67, 0.98));
  box-shadow: 0 24px 70px rgba(8, 19, 31, 0.12);
}

.hm-cta-links {
  margin-top: var(--hm-space-4);
}

.hm-section-heading--light .hm-section-heading__icon-shell {
  background: rgba(244, 239, 230, 0.1);
  box-shadow: inset 0 0 0 1px rgba(244, 239, 230, 0.18);
}

.hm-cta-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem 0;
  color: inherit;
  text-decoration: none;
  border-top: 1px solid var(--hm-line);
  transition: transform 180ms ease, border-color 180ms ease;
}

.hm-cta-card:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 239, 230, 0.38);
}

.hm-cta-card__index {
  font-style: normal;
  color: var(--hm-accent);
  font-family: var(--wp--preset--font-family--ui-sans, "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", sans-serif);
  letter-spacing: 0.12em;
}

.hm-cta-card strong {
  font-size: 1.28rem;
}

.hm-cta-card span {
  color: rgba(244, 239, 230, 0.88);
}

.hm-cards {
  display: grid;
  gap: var(--hm-space-2);
}

.hm-card,
.hm-post-item {
  border: 1px solid var(--hm-border);
  background: var(--hm-surface);
}

.hm-card {
  padding: var(--hm-space-2);
}

.hm-filter {
  display: grid;
  gap: 0.75rem;
  margin-bottom: var(--hm-space-3);
}

.hm-filter__field {
  display: grid;
  gap: 0.25rem;
}

.hm-filter__hint {
  margin: 0;
  color: var(--wp--preset--color--contrast-2, #4b5563);
  font-size: 0.95rem;
}

.hm-view-toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--hm-space-2);
}

.hm-view-toggle__label {
  color: var(--wp--preset--color--contrast-2, #4b5563);
  font-size: 0.95rem;
}

.hm-view-toggle__buttons {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--hm-border);
  border-radius: 999px;
  background: var(--hm-surface);
}

.hm-view-toggle__button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  padding: 0.7rem 1rem;
  cursor: pointer;
}

.hm-view-toggle__button[aria-pressed="true"] {
  background: #1f2937;
  color: #fff;
}

.hm-filter select,
.hm-form input,
.hm-form textarea {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--hm-border);
  background: var(--hm-surface);
  font: inherit;
}

.hm-post-list {
  display: grid;
  gap: var(--hm-space-2);
}

.hm-post-list[data-current-view="list"] {
  grid-template-columns: 1fr;
}

.hm-post-item {
  overflow: hidden;
}

.hm-post-list a {
  text-decoration: none;
}

.hm-post-list[data-current-view="card"] .hm-post-item {
  display: flex;
  flex-direction: column;
}

.hm-post-list[data-current-view="list"] .hm-post-item {
  display: block;
  padding: 0.1rem 0;
  border: 0;
  background: transparent;
}

.hm-post-item__body {
  padding: var(--hm-space-2);
  min-width: 0;
  flex: 1 1 auto;
}

.hm-post-item__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
}

.hm-post-item__title a {
  min-width: 0;
}

.hm-post-item__type-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.65rem;
  border: 1px solid rgba(18, 50, 70, 0.16);
  border-radius: 999px;
  background: rgba(103, 214, 195, 0.12);
  color: #0f5a63;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  vertical-align: middle;
  white-space: nowrap;
}

.hm-post-item__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.35rem;
  margin: 0 0 0.35rem;
  color: var(--hm-ink-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.hm-post-item__meta--card {
  justify-content: flex-end;
  margin: 0.55rem 0 0;
}

.hm-post-list[data-current-view="card"] .hm-post-item__meta--list,
.hm-post-list[data-current-view="list"] .hm-post-item__meta--card,
.hm-post-list[data-current-view="list"] .hm-post-item__type-badge--title {
  display: none;
}

.hm-post-list[data-current-view="list"] .hm-post-item__body {
  padding: 0;
}

.hm-post-list[data-current-view="list"] .hm-post-item__body h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  font-family: var(--wp--preset--font-family--ui-sans, "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", sans-serif);
  font-weight: 500;
}

.hm-post-list[data-current-view="list"] .hm-post-item__type-badge--meta {
  padding: 0.14rem 0.55rem;
  font-size: 0.72rem;
}

.hm-post-list[data-current-view="list"] .hm-thumb {
  display: none;
}

.hm-post-list[data-current-view="list"] .hm-post-item__excerpt {
  display: block;
  margin-top: 0.5rem;
  padding-left: 1rem;
  color: var(--hm-ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
  font-weight: 400;
  border-left: 2px solid rgba(19, 44, 61, 0.12);
}

.hm-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hm-meta {
  padding: var(--hm-space-2);
  margin: var(--hm-space-2) 0;
  border: 1px solid var(--hm-border);
  background: rgba(255, 255, 255, 0.74);
}

.hm-form {
  display: grid;
  gap: 0.75rem;
}

.hm-notice {
  padding: 0.75rem;
  border: 1px solid #1f7a1f;
  background: #eef9ee;
}

.hm-notice--error {
  border-color: #a21515;
  background: #fee;
}

@keyframes hmFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes hmOrbitDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -8px, 0) scale(1.01);
  }
}

@keyframes hmCharacterFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-12px);
  }
}

@keyframes hmNodeFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-8px);
  }
}

@media (max-width: 767px) {
  .hm-main {
    padding-top: var(--hm-space-4);
  }

  .home .hm-main,
  .hm-main--page {
    padding-top: 0;
  }

  .hm-header__inner {
    align-items: center;
  }

  .hm-nav-toggle__label {
    display: none;
  }

  .hm-page-hero {
    padding-top: 3.75rem;
    padding-bottom: 2.2rem;
  }

  .hm-page-hero--detail h1 {
    font-size: clamp(1.65rem, 6.6vw, 2.05rem);
  }

  .hm-hero {
    padding-top: clamp(4rem, 16vw, 4.85rem);
    padding-bottom: 2.1rem;
  }

  .hm-hero__inner {
    width: min(100% - 1.5rem, 88rem);
    gap: 2rem;
  }

  .hm-hero__kicker {
    letter-spacing: 0.2em;
  }

  .hm-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .hm-hero__lead {
    margin-bottom: 1rem;
    font-size: 0.98rem;
  }

  .hm-hero__actions {
    margin-bottom: 1.1rem;
  }

  .hm-hero__metrics {
    display: none;
  }

  .hm-ecosystem {
    width: min(100%, 28rem);
    aspect-ratio: 1 / 1.16;
  }

  .hm-hero__visual {
    margin-top: -1rem;
  }

  .hm-ecosystem__node {
    width: 6rem;
    gap: 0.45rem;
  }

  .hm-ecosystem__node-orb {
    width: 3.55rem;
  }

  .hm-ecosystem__node-copy strong {
    font-size: 0.84rem;
  }

  .hm-ecosystem__node-copy small {
    font-size: 0.6rem;
  }

  .hm-ecosystem__node--patient {
    left: 90%;
  }

  .hm-ecosystem__node--security {
    left: 12%;
  }

  .hm-ecosystem__character {
    bottom: 20%;
    width: 10.75rem;
  }

  .hm-ecosystem__platform {
    inset: auto 14% 15% 14%;
    height: 18%;
  }

  .landing__section {
    min-height: auto;
    scroll-snap-stop: normal;
  }

  .landing__support,
  .landing__proof,
  .landing__cta {
    padding-block: 4rem;
  }

  .hm-link-panel__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hm-page-link-list a {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 768px) {
  .hm-ecosystem {
    width: min(100%, 46rem);
    aspect-ratio: 1 / 0.94;
  }

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

  .hm-proof-shell {
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.82fr);
    align-items: start;
  }

  .hm-proof-year-stack {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .hm-proof-year {
    min-height: 100%;
  }

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

  .hm-update-feature {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
  }

  .hm-page-layout--archive {
    grid-template-columns: minmax(18rem, 0.45fr) minmax(0, 1fr);
    align-items: start;
  }

  .hm-page-layout--archive .hm-page-aside {
    position: sticky;
    top: calc(var(--hm-home-header-height) + 1rem);
  }

  .hm-page-layout--archive .hm-page-aside__panel {
    max-height: calc(100svh - var(--hm-home-header-height) - 2rem);
    overflow-y: auto;
    scrollbar-gutter: stable;
  }

  .hm-page-panels,
  .hm-page-topic-list,
  .hm-page-role-list,
  .hm-page-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-page-profile {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.65fr);
    align-items: start;
  }

  .hm-page-profile__portrait {
    justify-self: end;
    width: min(100%, 20rem);
  }

  .hm-filter {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
  }

  .hm-page-aside .hm-filter {
    grid-template-columns: 1fr;
  }

  .hm-cards--overview,
  .hm-post-list:not([data-current-view="list"]) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hm-post-item {
    display: flex;
    flex-direction: column;
  }
}

@media (min-width: 960px) {
  body.home {
    scroll-snap-type: y mandatory;
  }

  .hm-hero__inner {
    min-height: calc(var(--hm-stage-height) - 1rem);
    display: block;
  }

  .hm-hero__content {
    max-width: 35rem;
    padding-top: clamp(0.75rem, 2.4vh, 2rem);
  }

  .hm-hero__content--secondary {
    max-width: 28rem;
    padding-top: 0.75rem;
  }

  .hm-hero__visual {
    position: absolute;
    inset: 0 0 0 23%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
  }

  .hm-hero__visual * {
    pointer-events: auto;
  }

  .hm-ecosystem {
    width: min(100%, 72rem);
    aspect-ratio: 1.36 / 1;
    margin-right: -3rem;
  }

  .hm-ecosystem__node {
    width: clamp(7rem, 9vw, 9rem);
  }

  .hm-ecosystem__node--knowledge {
    left: 20%;
  }

  .hm-ecosystem__node--security {
    left: 12%;
  }

  .hm-ecosystem__node--patient {
    left: 88%;
  }

  .hm-ecosystem__platform {
    inset: auto 25% 12% 25%;
    height: 18%;
  }

  .hm-ecosystem__character {
    bottom: 18%;
    width: clamp(13rem, 20vw, 18rem);
  }

  .hm-proof-shell {
    min-height: auto;
    align-content: center;
  }

  .hm-proof-year-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-cta-shell {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-content: center;
    align-items: start;
  }

  .hm-cta-links {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
}

@media (max-width: 959px) {
  .hm-filter-summary {
    display: grid;
    gap: 0.75rem;
  }

  .hm-filter-summary__list {
    margin-inline: 0;
  }
}

@media (max-height: 860px) {
  .hm-hero {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

@media (min-width: 960px) and (max-height: 860px) {
  .hm-hero__content {
    padding-top: 0.25rem;
  }

  .hm-hero__content--secondary {
    padding-top: 0.5rem;
  }
}

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

  body.home {
    scroll-snap-type: none;
  }

  .hm-ecosystem__orbit,
  .hm-ecosystem__character,
  .hm-ecosystem__node {
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
