@charset "UTF-8";

:root {
  --onux-ink: #0b0b0b;
  --onux-paper: #f7f4ed;
  --onux-yellow: #ffc400;
  --onux-blue: #0759da;
  --onux-orange: #f05b31;
  --onux-line: #b9b6af;
  --onux-muted: #5d5b56;
}

html {
  scroll-behavior: smooth;
}

body.onux-home {
  margin: 0;
  color: var(--onux-ink);
  background: var(--onux-paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .02em;
  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: clamp(28px, 2.2vw, 36px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .82;
  transform: scaleY(.78);
  transform-origin: left center;
}

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

.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: 28px 0 30px;
}

.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 26px 8px;
}

.onux-hero-copy h1 {
  margin: 0;
  font-size: clamp(46px, 3.65vw, 59px);
  font-weight: 900;
  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: 900;
  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: 700;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

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

.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: 900;
  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: 900;
  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: 800;
}

.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: 900;
  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: 800;
  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: 700;
  white-space: nowrap;
}

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

.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: 700;
}

@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: 28px;
  }

  .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;
  }
}

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

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