@charset "UTF-8";

:root {
  --onux-ink: #333330;
  --onux-paper: #f7f4ed;
  --onux-yellow: #ffc400;
  --onux-blue: #0759da;
  --onux-orange: #f05b31;
  --onux-line: #d8d3c9;
  --onux-muted: #6b6860;
}

html {
  scroll-behavior: smooth;
}

body.onux-home {
  margin: 0;
  color: var(--onux-ink);
  background: var(--onux-paper);
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .01em;
  overflow-x: hidden;
}

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

.onux-home a {
  color: inherit;
  text-decoration: none;
}

.onux-home img,
.onux-home svg {
  display: block;
}

.onux-home button,
.onux-home input,
.onux-home textarea,
.onux-home select {
  font: inherit;
}

.onux-page {
  width: min(100% - 64px, 1440px);
  margin: 0 auto;
}

.onux-header {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border-bottom: 1px solid var(--onux-line);
}

.onux-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 auto;
  line-height: 1;
}

.onux-logo {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  transform: none;
}

.onux-desktop-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  font-size: 14px;
  font-weight: 500;
}

.onux-desktop-nav a,
.onux-footer-nav a {
  position: relative;
}

.onux-desktop-nav a::after,
.onux-footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: var(--onux-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.onux-desktop-nav a:hover::after,
.onux-desktop-nav a:focus-visible::after,
.onux-footer-nav a:hover::after,
.onux-footer-nav a:focus-visible::after {
  transform: scaleX(1);
}

.onux-menu-button,
.onux-mobile-nav {
  display: none;
}

.onux-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 3.1fr) minmax(280px, 1fr);
  gap: clamp(26px, 3vw, 44px);
  padding: 32px 0 48px;
}

.onux-primary {
  min-width: 0;
}

.onux-hero {
  min-height: 248px;
  display: grid;
  grid-template-columns: minmax(560px, 1.6fr) minmax(260px, .68fr);
  align-items: end;
  gap: 24px;
  padding: 8px 8px 32px;
}

.onux-hero-copy h1 {
  margin: 0;
  font-size: clamp(46px, 3.65vw, 56px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.06em;
}

.onux-hero-copy p {
  margin: 21px 0 0;
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 600;
  letter-spacing: .04em;
}

.onux-hero-art {
  align-self: center;
  width: 100%;
  max-width: 420px;
  margin: 12px auto 0;
}

.onux-hero-art svg {
  width: 100%;
  overflow: visible;
}

.onux-dots {
  fill: var(--onux-ink);
}

.onux-line {
  fill: none;
  stroke: var(--onux-ink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.onux-line-points {
  fill: var(--onux-ink);
}

.onux-arrow {
  fill: none;
  stroke: var(--onux-ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.onux-ring {
  fill: var(--onux-paper);
  stroke-width: 4;
}

.onux-ring-blue {
  stroke: var(--onux-blue);
}

.onux-ring-yellow {
  stroke: var(--onux-yellow);
}

.onux-check {
  fill: none;
  stroke: var(--onux-yellow);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.onux-scribble {
  fill: none;
  stroke: var(--onux-orange);
  stroke-width: 4;
  stroke-linecap: round;
}

.onux-products {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(410px, 1fr);
  gap: 16px;
}

.onux-card {
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.onux-card:hover,
.onux-card:has(.onux-stretched-link:focus-visible) {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
}

.onux-stretched-link::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  cursor: pointer;
}

.onux-stretched-link:focus-visible {
  outline: 0;
}

.onux-card-feature {
  min-height: 520px;
  display: flex;
  padding: 28px 28px 24px;
  background: var(--onux-yellow);
}

.onux-card-feature > div {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.onux-eyebrow {
  display: inline-flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
}

.onux-eyebrow::after {
  content: "";
  width: 38px;
  height: 2px;
  background: currentColor;
}

.onux-card-feature h2 {
  margin: 23px 0 17px;
  font-size: clamp(35px, 3.3vw, 51px);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -.055em;
}

.onux-card-feature h2 span {
  font-weight: 400;
}

.onux-card-feature p,
.onux-card-project p,
.onux-card-mini p {
  margin: 0;
  font-weight: 600;
}

.onux-card-feature p {
  max-width: 330px;
  font-size: 14px;
}

.onux-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  padding: 9px 20px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.onux-button:hover,
.onux-button:focus-visible {
  transform: translateY(-2px);
}

.onux-button-disabled {
  cursor: default;
  opacity: .62;
}

.onux-button-disabled:hover {
  transform: none;
}

.onux-button-dark:hover,
.onux-button-dark:focus-visible {
  color: var(--onux-yellow);
  background: var(--onux-ink);
}

.onux-button-light:hover,
.onux-button-light:focus-visible {
  color: var(--onux-blue);
  background: #fff;
}

.onux-feature-icon {
  position: absolute;
  right: 10px;
  bottom: 56px;
  width: 43%;
  color: var(--onux-ink);
  transform: rotate(1deg);
}

.onux-secondary-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.onux-card-project {
  min-height: 253px;
  display: flex;
  padding: 26px 26px 21px;
  color: #fff;
  background: linear-gradient(140deg, #0865e7, #0347c2);
}

.onux-card-project > div {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.onux-card-project h2 {
  margin: 18px 0 2px;
  font-size: clamp(28px, 2.6vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.045em;
}

.onux-card-project p {
  max-width: 400px;
  font-size: 13px;
}

.onux-card-project .onux-button {
  margin-top: 14px;
}

.onux-project-icon {
  position: absolute;
  right: 20px;
  bottom: 16px;
  width: 29%;
  color: #fff;
}

.onux-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  flex: 1;
}

.onux-card-mini {
  min-height: 251px;
  padding: 20px;
  border: 1px solid #bdbab3;
  background: rgba(255, 255, 255, .42);
}

.onux-card-mini h2 {
  margin: 17px 0 7px;
  font-size: clamp(19px, 1.4vw, 23px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.035em;
}

.onux-card-mini p {
  max-width: calc(100% - 28px);
  font-size: 10px;
  line-height: 1.55;
}

.onux-card-mini > a {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-size: 12px;
  font-weight: 600;
}

.onux-mini-status {
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: var(--onux-muted);
  font-size: 12px;
  font-weight: 600;
}

.onux-card-mini > a:hover,
.onux-card-mini > a:focus-visible,
.onux-all-posts:hover,
.onux-all-posts:focus-visible {
  color: var(--onux-blue);
}

.onux-mini-symbol {
  position: absolute;
  right: 19px;
  bottom: 18px;
  color: var(--onux-blue);
}

.onux-minus {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border: 3px solid currentColor;
  border-radius: 50%;
  font-size: 27px;
  line-height: 1;
}

.onux-code {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0;
}

.onux-recent {
  min-width: 0;
  padding: 5px 0 0 clamp(22px, 2.2vw, 38px);
  border-left: 1px solid var(--onux-line);
}

.onux-recent > h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
}

.onux-title-rule {
  display: block;
  width: 45px;
  height: 4px;
  margin-top: 8px;
  background: var(--onux-yellow);
}

.onux-post-list {
  margin-top: 18px;
}

.onux-post-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px dashed #c2bfb8;
}

.onux-post-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  font-family: Georgia, serif;
  font-size: 40px;
  font-weight: 600;
}

.onux-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.onux-post-thumb span {
  opacity: .82;
}

.onux-thumb-1 { background: #ffc400; }
.onux-thumb-2 { color: var(--onux-blue); background: #dbeaf8; }
.onux-thumb-3 { background: #f4ad94; }
.onux-thumb-4 { background: #d8e7f2; }
.onux-thumb-5 { background: #f8d979; }

.onux-post-copy {
  min-width: 0;
}

.onux-post-copy h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.onux-post-copy h3 a:hover,
.onux-post-copy h3 a:focus-visible {
  color: var(--onux-blue);
}

.onux-post-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 7px 10px;
  margin-top: 9px;
  font-size: 10px;
}

.onux-post-meta span {
  display: inline-block;
  padding: 2px 11px;
  color: var(--onux-blue);
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
}

.onux-all-posts {
  display: inline-flex;
  gap: 18px;
  margin-top: 23px;
  color: #064bb8;
  font-size: 13px;
  font-weight: 500;
}

.onux-empty {
  padding: 25px 0;
  color: var(--onux-muted);
  border-bottom: 1px dashed #c2bfb8;
  font-size: 13px;
}

.onux-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 38px;
  padding: 5px 8px;
  border-top: 1px solid var(--onux-line);
}

.onux-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 36px;
  font-size: 12px;
  font-weight: 500;
}

@media (max-width: 1180px) {
  .onux-page {
    width: min(100% - 42px, 1120px);
  }

  .onux-content-grid {
    grid-template-columns: minmax(0, 2.6fr) minmax(250px, 1fr);
  }

  .onux-hero {
    grid-template-columns: minmax(430px, 1.4fr) minmax(210px, .65fr);
  }

  .onux-products {
    grid-template-columns: minmax(290px, .92fr) minmax(350px, 1.08fr);
  }

  .onux-card-feature h2 {
    font-size: 38px;
  }

  .onux-card-project h2 {
    font-size: 30px;
  }

  .onux-card-project p br,
  .onux-card-mini p br {
    display: none;
  }

  .onux-post-item {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 13px;
  }
}

@media (max-width: 960px) {
  .onux-page {
    width: min(100% - 34px, 820px);
  }

  .onux-header {
    min-height: 48px;
  }

  .onux-desktop-nav {
    display: none;
  }

  .onux-menu-button {
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 8px;
    border: 0;
    color: var(--onux-ink);
    background: transparent;
    cursor: pointer;
  }

  .onux-menu-button span {
    width: 30px;
    height: 2px;
    display: block;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }

  .onux-menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .onux-menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .onux-menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .onux-mobile-nav {
    padding: 12px 0 24px;
    border-bottom: 1px solid var(--onux-line);
  }

  .onux-mobile-nav:not([hidden]) {
    display: grid;
  }

  .onux-mobile-nav a {
    display: flex;
    justify-content: space-between;
    padding: 13px 6px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    font-weight: 700;
  }

  .onux-content-grid {
    display: block;
    padding-top: 20px;
  }

  .onux-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 18px 4px 31px;
  }

  .onux-hero-copy h1 {
    font-size: clamp(39px, 6vw, 50px);
  }

  .onux-hero-art {
    display: none;
  }

  .onux-products {
    grid-template-columns: 1fr;
  }

  .onux-card-feature {
    min-height: 455px;
  }

  .onux-card-feature h2 {
    font-size: 43px;
  }

  .onux-feature-icon {
    width: 32%;
    right: 30px;
    bottom: 36px;
  }

  .onux-card-project {
    min-height: 270px;
  }

  .onux-card-project h2 {
    font-size: 38px;
  }

  .onux-mini-grid {
    grid-template-columns: 1fr 1fr;
  }

  .onux-recent {
    margin-top: 50px;
    padding: 0;
    border-left: 0;
  }

  .onux-post-item {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .onux-footer {
    padding: 6px 2px;
  }

  .onux-footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  body.onux-home {
    font-size: 15px;
  }

  .onux-page {
    width: min(100% - 32px, 520px);
  }

  .onux-header {
    min-height: 46px;
  }

  .onux-logo {
    font-size: 26px;
  }

  .onux-menu-button {
    width: 43px;
    padding-right: 2px;
  }

  .onux-content-grid {
    padding-top: 15px;
  }

  .onux-hero {
    padding: 21px 2px 28px;
  }

  .onux-hero-copy h1 {
    font-size: clamp(29px, 7.7vw, 36px);
    line-height: 1.3;
    letter-spacing: -.065em;
  }

  .onux-hero-copy p {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.65;
  }

  .onux-products,
  .onux-secondary-cards,
  .onux-mini-grid {
    gap: 12px;
  }

  .onux-card-feature {
    min-height: 410px;
    padding: 21px 20px;
  }

  .onux-card-feature h2 {
    margin-top: 17px;
    font-size: clamp(32px, 9.5vw, 44px);
  }

  .onux-card-feature p {
    max-width: 67%;
    font-size: 12px;
    line-height: 1.75;
  }

  .onux-card-feature p br {
    display: none;
  }

  .onux-feature-icon {
    width: 40%;
    right: 7px;
    bottom: 42px;
  }

  .onux-button {
    padding: 7px 16px;
    font-size: 12px;
  }

  .onux-card-project {
    min-height: 270px;
    padding: 21px 20px;
  }

  .onux-card-project h2 {
    margin-top: 16px;
    font-size: clamp(27px, 8vw, 36px);
  }

  .onux-card-project p {
    max-width: 68%;
    font-size: 12px;
    line-height: 1.75;
  }

  .onux-card-project p br {
    display: none;
  }

  .onux-project-icon {
    right: 10px;
    bottom: 23px;
    width: 32%;
  }

  .onux-mini-grid {
    grid-template-columns: 1fr;
  }

  .onux-card-mini {
    min-height: 198px;
    padding: 19px 20px;
  }

  .onux-card-mini h2 {
    margin-top: 15px;
    font-size: 22px;
  }

  .onux-card-mini p {
    max-width: calc(100% - 50px);
    font-size: 11px;
  }

  .onux-card-mini > a {
    left: 20px;
    bottom: 15px;
  }

  .onux-recent {
    margin-top: 43px;
  }

  .onux-recent > h2 {
    font-size: 19px;
  }

  .onux-post-list {
    margin-top: 11px;
  }

  .onux-post-item {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 13px;
    padding: 15px 0;
  }

  .onux-post-item:nth-child(n+4) {
    display: none;
  }

  .onux-post-copy h3 {
    font-size: 13px;
    line-height: 1.45;
  }

  .onux-post-meta {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 6px;
    gap: 4px;
    font-size: 9px;
  }

  .onux-post-meta span {
    padding: 1px 8px;
  }

  .onux-footer {
    margin-top: 27px;
    padding: 7px 2px 9px;
  }

  .onux-footer-nav {
    display: flex;
    justify-content: flex-start;
    gap: 4px 13px;
    font-size: 9px;
  }
}

/* =========================================================
   V9 — full-width editorial home
   ========================================================= */
.onux-home-v9 .onux-page {
  width: min(calc(100% - 64px), 1240px);
}

.onux-home-v9 main {
  padding-bottom: 72px;
}

.onux-v9-hero {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  padding: 52px 8px 44px;
}

.onux-v9-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(46px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.055em;
}

.onux-v9-hero-copy p {
  margin: 24px 0 0;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: .03em;
}

.onux-v9-section {
  margin-top: 68px;
}

.onux-v9-section-head {
  margin-bottom: 20px;
}

.onux-v9-section-head.is-inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.onux-v9-section-head p {
  margin: 0 0 4px;
  color: var(--onux-blue);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .14em;
}

.onux-v9-section-head h2 {
  margin: 0;
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.onux-v9-section-head > a {
  padding-bottom: 3px;
  color: var(--onux-blue);
  font-size: 13px;
  font-weight: 600;
}

.onux-v9-section-head > a:hover,
.onux-v9-section-head > a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .25em;
}

/* 1 : 1 : .5 : .5 */
.onux-v9-themes {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr 1fr;
  gap: 14px;
}

.onux-v9-theme {
  min-width: 0;
  min-height: 276px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  background: var(--onux-surface, #fbfaf7);
  border: 1px solid var(--onux-line);
  border-radius: 8px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.onux-v9-theme:hover,
.onux-v9-theme:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(51, 51, 48, .08);
}

.onux-v9-theme.is-yellow {
  background: var(--onux-yellow);
  border-color: var(--onux-yellow);
}

.onux-v9-theme.is-blue {
  color: #fff;
  background: var(--onux-blue);
  border-color: var(--onux-blue);
}

.onux-v9-theme .onux-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.onux-v9-theme .onux-eyebrow::after {
  content: "";
  width: 32px;
  height: 2px;
  display: block;
  margin-top: 10px;
  background: currentColor;
}

.onux-v9-theme h3 {
  max-width: 82%;
  margin: 0;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.035em;
}

.onux-v9-theme p {
  max-width: 67%;
  margin: 14px 0 24px;
  font-size: 13px;
  line-height: 1.75;
}

.onux-v9-theme > a {
  width: fit-content;
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
}

.onux-v9-theme > a:hover,
.onux-v9-theme > a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .25em;
}

.onux-v9-theme > svg {
  width: clamp(94px, 9vw, 135px);
  position: absolute;
  right: 18px;
  bottom: 22px;
  opacity: .95;
}

.onux-v9-theme.is-small {
  padding: 24px 20px;
}

.onux-v9-theme.is-small h3 {
  max-width: 100%;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.45;
}

.onux-v9-theme.is-small > svg {
  width: 80px;
  position: static;
  margin: auto auto 12px;
}

.onux-v9-theme.is-small > a {
  white-space: nowrap;
}

.onux-v9-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.onux-v9-featured-card,
.onux-v9-latest-card {
  min-width: 0;
  overflow: hidden;
  background: var(--onux-surface, #fbfaf7);
  border: 1px solid var(--onux-line);
  border-radius: 8px;
  transition: transform .18s ease, border-color .18s ease;
}

.onux-v9-featured-card:hover,
.onux-v9-featured-card:focus-within,
.onux-v9-latest-card:hover,
.onux-v9-latest-card:focus-within {
  transform: translateY(-2px);
  border-color: #a9a397;
}

.onux-v9-featured-card > a {
  height: 100%;
  display: block;
}

.onux-v9-featured-thumb {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--onux-blue);
  background: #f0ede5;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.03em;
}

.onux-v9-featured-thumb img,
.onux-v9-latest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.onux-v9-featured-body {
  padding: 22px;
}

.onux-v9-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--onux-muted);
  font-size: 10px;
  line-height: 1.5;
}

.onux-v9-meta span {
  padding: 2px 8px;
  color: var(--onux-blue);
  background: #e9f1ff;
  border-radius: 999px;
  font-weight: 600;
}

.onux-v9-featured-card h3 {
  margin: 12px 0 10px;
  font-size: clamp(17px, 1.55vw, 21px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -.02em;
}

.onux-v9-featured-card p {
  margin: 0;
  color: var(--onux-muted);
  font-size: 12px;
  line-height: 1.75;
}

.onux-v9-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.onux-v9-latest-card > a {
  min-height: 118px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 12px;
}

.onux-v9-latest-thumb {
  width: 112px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--onux-blue);
  background: #f0ede5;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 700;
}

.onux-v9-latest-card h3 {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -.015em;
}

.onux-v9-lab {
  margin-top: 68px;
  padding: 28px;
  background: #f0ede5;
  border-radius: 8px;
}

.onux-v9-lab .onux-v9-section-head {
  margin-bottom: 18px;
}

.onux-v9-lab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.onux-v9-lab-grid > div {
  padding: 4px 24px;
  border-right: 1px solid var(--onux-line);
}

.onux-v9-lab-grid > div:first-child {
  padding-left: 0;
}

.onux-v9-lab-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.onux-v9-lab-grid strong {
  display: inline;
  margin-right: 8px;
  font-size: 14px;
}

.onux-v9-lab-grid span {
  display: inline-block;
  padding: 2px 8px;
  color: var(--onux-blue);
  background: #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
}

.onux-v9-lab-grid p {
  margin: 8px 0 0;
  color: var(--onux-muted);
  font-size: 12px;
  line-height: 1.65;
}

.onux-home-v9 .onux-footer {
  justify-content: space-between;
}

.onux-footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
}

.onux-footer-brand a {
  font-family: Inter, sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.onux-footer-brand span {
  padding-left: 18px;
  color: var(--onux-muted);
  border-left: 1px solid var(--onux-line);
}

@media (max-width: 1100px) {
  .onux-v9-themes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .onux-v9-theme.is-small {
    min-height: 220px;
  }

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

@media (max-width: 834px) {
  .onux-home-v9 .onux-page {
    width: min(calc(100% - 48px), 760px);
  }

  .onux-v9-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 44px 0 32px;
  }

  .onux-v9-hero-copy h1 {
    font-size: clamp(40px, 8vw, 58px);
  }

  .onux-v9-hero .onux-hero-art {
    width: min(68%, 380px);
    justify-self: end;
  }

  .onux-v9-featured-grid {
    grid-template-columns: 1fr;
  }

  .onux-v9-featured-card > a {
    display: grid;
    grid-template-columns: minmax(180px, .8fr) 1.2fr;
  }

  .onux-v9-featured-thumb {
    aspect-ratio: auto;
  }

  .onux-v9-lab-grid {
    grid-template-columns: 1fr;
  }

  .onux-v9-lab-grid > div,
  .onux-v9-lab-grid > div:first-child,
  .onux-v9-lab-grid > div:last-child {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--onux-line);
  }

  .onux-v9-lab-grid > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 600px) {
  .onux-home-v9 .onux-page {
    width: min(calc(100% - 32px), 520px);
  }

  .onux-home-v9 main {
    padding-bottom: 48px;
  }

  .onux-v9-hero {
    padding-top: 34px;
  }

  .onux-v9-hero-copy h1 {
    font-size: clamp(34px, 10.8vw, 46px);
    line-height: 1.22;
  }

  .onux-v9-hero-copy p {
    margin-top: 18px;
    font-size: 15px;
  }

  .onux-v9-hero .onux-hero-art {
    width: 82%;
  }

  .onux-v9-section,
  .onux-v9-lab {
    margin-top: 48px;
  }

  .onux-v9-themes,
  .onux-v9-latest-grid {
    grid-template-columns: 1fr;
  }

  .onux-v9-theme,
  .onux-v9-theme.is-small {
    min-height: 240px;
  }

  .onux-v9-theme.is-small h3 {
    font-size: 23px;
  }

  .onux-v9-theme.is-small > svg {
    width: 84px;
  }

  .onux-v9-featured-card > a {
    display: block;
  }

  .onux-v9-featured-thumb {
    aspect-ratio: 16 / 9;
  }

  .onux-v9-latest-card > a {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .onux-v9-latest-thumb {
    width: 92px;
  }

  .onux-v9-section-head.is-inline {
    align-items: flex-start;
  }

  .onux-v9-section-head > a {
    max-width: 110px;
    text-align: right;
  }

  .onux-v9-lab {
    padding: 22px 20px;
  }

  .onux-home-v9 .onux-footer {
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }

  .onux-footer-brand span {
    display: none;
  }
}

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

  .onux-home *,
  .onux-home *::before,
  .onux-home *::after {
    transition-duration: .01ms !important;
  }
}

/* V8共通シェル。カード本体の寸法・配色・配置には触れない。 */
.onux-page {
  width: min(calc(100% - 64px), 1440px);
}

.onux-header {
  min-height: 52px;
  gap: 32px;
}

.onux-logo {
  font-family: Inter, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  transform: none;
}

.onux-desktop-nav {
  gap: clamp(20px, 2.6vw, 40px);
  font-size: 14px;
  font-weight: 500;
}

.onux-footer {
  min-height: 44px;
  margin-top: 0;
  padding: 0;
  justify-content: flex-end;
}

.onux-footer-nav {
  justify-content: flex-end;
  gap: 24px;
  font-size: 12px;
  font-weight: 500;
}

@media (min-width: 835px) and (max-width: 960px) {
  .onux-desktop-nav {
    display: flex;
  }

  .onux-menu-button,
  .onux-mobile-nav {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .onux-page {
    width: min(calc(100% - 48px), 1440px);
  }
}

@media (max-width: 834px) {
  .onux-header {
    min-height: 48px;
  }

  .onux-logo {
    font-size: 26px;
  }

  .onux-menu-button {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    margin-right: -10px;
    padding: 0;
  }

  .onux-menu-button span {
    width: 21px;
  }

  .onux-menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .onux-menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .onux-mobile-nav {
    padding: 8px 0 16px;
  }

  .onux-mobile-nav a {
    min-height: 44px;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
  }
}

@media (max-width: 600px) {
  .onux-page {
    width: min(calc(100% - 32px), 520px);
  }

  .onux-footer {
    min-height: 0;
    padding-block: 12px;
    justify-content: center;
  }

  .onux-footer-nav {
    justify-content: center;
    gap: 8px 16px;
    font-size: 12px;
  }
}
