:root {
  --bg: #ffffff;
  --paper: #f7fbff;
  --ink: #10182f;
  --muted: #667085;
  --line: #dfe8f5;
  --blue: #176bff;
  --blue-deep: #0c45d9;
  --blue-soft: #eef6ff;
  --coral: #ff6654;
  --yellow: #ffc83d;
  --shadow: 0 18px 50px rgba(16, 42, 96, 0.1);
  --shadow-strong: 0 28px 80px rgba(16, 42, 96, 0.16);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --header-height: 88px;
  --section-x: clamp(20px, 4vw, 64px);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 32%, #ffffff 66%, #f8fbff 100%),
    #f8fbff;
  color: var(--ink);
  font-family: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

section,
#top {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.section-shell {
  width: min(100%, calc(var(--max) + var(--section-x) * 2));
  margin: 0 auto;
  padding-inline: var(--section-x);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 36px);
  width: 100%;
  height: var(--header-height);
  padding: 14px var(--section-x);
  border-bottom: 1px solid rgba(16, 24, 47, 0.06);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 32px rgba(16, 42, 96, 0.04);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 40px rgba(16, 42, 96, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand__mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand__text {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 1.02rem;
  font-weight: 950;
}

.brand__text small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.brand__name {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.05;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 38px);
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.86rem;
  font-weight: 900;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #1f2a44;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 14px 30px rgba(23, 107, 255, 0.24);
  font-weight: 950;
  line-height: 1.1;
}

.header-contact small {
  display: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
}

.lang-switch button {
  border: 0;
  padding: 6px 4px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.lang-switch button + button::before {
  content: "/";
  margin-right: 7px;
  color: #a7b0c0;
}

.lang-switch button.is-active {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--ink);
}

.wide-slider {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(14px, 2vw, 24px) 0 0;
  overflow: hidden;
}

.wide-slider__viewport {
  --slide-w: min(86vw, 1180px);
  position: relative;
  overflow: hidden;
  padding: 0;
  touch-action: pan-y;
}

.wide-slider__track {
  display: flex;
  align-items: stretch;
  gap: 0;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.wide-slide {
  position: relative;
  flex: 0 0 var(--slide-w);
  height: clamp(280px, 28vw, 356px);
  overflow: hidden;
  border: 1px solid rgba(23, 107, 255, 0.16);
  border-radius: 24px;
  background: var(--blue-soft);
  box-shadow: var(--shadow);
  opacity: 0.46;
  transform: none;
  transform-origin: center;
  transition: opacity 520ms ease, transform 520ms ease;
}

.wide-slide.is-active {
  z-index: 2;
  opacity: 1;
  transform: none;
}

.wide-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wide-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(12, 24, 47, 0.56) 0%, rgba(12, 24, 47, 0.18) 42%, rgba(12, 24, 47, 0.02) 100%);
  pointer-events: none;
}

.wide-slide__copy {
  position: absolute;
  top: 50%;
  left: clamp(26px, 6vw, 78px);
  z-index: 3;
  max-width: min(520px, 62%);
  min-width: 0;
  color: #fff;
  transform: translateY(-50%);
}

.wide-slide__copy span,
.wide-slide__copy small {
  display: block;
  font-size: 0.86rem;
  font-weight: 850;
  opacity: 0.9;
}

.wide-slide__copy strong {
  display: block;
  margin: 10px 0 14px;
  font-size: clamp(1.8rem, 3.3vw, 3.1rem);
  font-weight: 950;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(16, 24, 47, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 34px rgba(16, 42, 96, 0.14);
  color: var(--ink);
  cursor: pointer;
  transform: translateY(-50%);
}

.slider-arrow--prev {
  left: calc((100% - var(--slide-w)) / 2 - 28px);
}

.slider-arrow--next {
  right: calc((100% - var(--slide-w)) / 2 - 28px);
}

.slider-arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: #d4deed;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.slider-dots button.is-active {
  width: 26px;
  background: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  min-height: clamp(520px, 62vw, 700px);
  padding-top: clamp(62px, 8vw, 96px);
  padding-bottom: clamp(72px, 10vw, 116px);
  overflow: hidden;
}

.hero__copy {
  min-width: 0;
  max-width: 100%;
}

.hero h1 {
  max-width: 10em;
  margin: 0;
  color: #10182f;
  font-size: clamp(2.5rem, 4.6vw, 4.65rem);
  font-weight: 950;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.hero h1 span {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hero__copy p {
  max-width: 600px;
  margin: 28px 0 0;
  color: #3f4b63;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button svg {
  display: none;
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 18px 36px rgba(23, 107, 255, 0.24);
}

.button--ghost {
  border-color: rgba(23, 107, 255, 0.42);
  color: var(--blue);
  background: #fff;
}

.button--light {
  color: var(--blue);
  background: #fff;
}

.button--outline-light {
  border-color: rgba(255, 255, 255, 0.62);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(320px, 42vw, 520px);
  isolation: isolate;
}

.hero__visual img {
  position: relative;
  z-index: 4;
  width: min(54vw, 380px);
  min-width: 240px;
  filter: drop-shadow(0 26px 46px rgba(16, 42, 96, 0.14));
}

.hero__visual--custom img {
  width: min(54vw, 460px);
  max-height: 520px;
  object-fit: contain;
}

.orbit {
  position: absolute;
  z-index: 1;
  width: min(70vw, 540px);
  height: min(26vw, 210px);
  border: 3px solid currentColor;
  border-radius: 50%;
  opacity: 0.95;
}

.orbit--blue {
  color: #176bff;
  transform: rotate(-13deg);
}

.orbit--coral {
  color: #ff6654;
  transform: rotate(18deg);
}

.planet,
.spark {
  position: absolute;
  z-index: 3;
  display: block;
}

.planet {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(16, 42, 96, 0.18);
}

.planet--blue {
  left: 8%;
  bottom: 26%;
  background: var(--blue);
}

.planet--coral {
  top: 18%;
  right: 13%;
  background: var(--coral);
}

.spark {
  width: 28px;
  height: 28px;
  background: currentColor;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}

.spark--one {
  top: 18%;
  left: 8%;
  color: var(--yellow);
}

.spark--two {
  right: 2%;
  bottom: 28%;
  color: var(--blue);
}

.vision {
  padding-bottom: clamp(64px, 9vw, 110px);
}

.vision__panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid rgba(23, 107, 255, 0.08);
  border-radius: 36px;
  background:
    radial-gradient(circle at 86% 12%, rgba(23, 107, 255, 0.1), transparent 34%),
    linear-gradient(135deg, #f4f9ff 0%, #ffffff 58%, #eff7ff 100%);
  box-shadow: 0 22px 60px rgba(16, 42, 96, 0.08);
}

.section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vision h2,
.section-heading h2,
.featured h2,
.studio h2,
.blue-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  font-weight: 950;
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
}

.vision p,
.featured p,
.studio p,
.blue-cta p {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 650;
}

.inline-link,
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.inline-link {
  margin-top: 28px;
  padding: 10px 16px;
  border: 1px solid rgba(23, 107, 255, 0.24);
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
}

.section-link {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(23, 107, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 14px 30px rgba(23, 107, 255, 0.2);
}

.inline-link:hover,
.inline-link:focus-visible,
.section-link:hover,
.section-link:focus-visible {
  transform: translateY(-2px);
}

.inline-link::after,
.section-link::after {
  content: none;
}

.vision__diagram {
  margin: 0;
}

.vision__diagram img {
  width: min(100%, 560px);
  margin-left: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 44px rgba(16, 42, 96, 0.12));
}

.works,
.featured,
.services,
.process,
.studio,
.news,
.faq,
.blue-cta {
  padding-bottom: clamp(72px, 10vw, 124px);
}

.news {
  padding-top: clamp(64px, 9vw, 108px);
  background: linear-gradient(180deg, rgba(244, 249, 255, 0.86), rgba(255, 255, 255, 0.92));
  box-shadow: 0 0 0 100vmax rgba(244, 249, 255, 0.72);
  clip-path: inset(0 -100vmax);
}

.section-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  margin-bottom: clamp(28px, 4.5vw, 48px);
}

.section-heading .section-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading h2 {
  grid-column: 1 / -1;
  max-width: 940px;
  writing-mode: horizontal-tb;
  white-space: normal;
  line-break: strict;
  word-break: normal;
}

.section-heading p {
  grid-column: 1 / -1;
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 650;
  line-height: 1.85;
  overflow-wrap: normal;
  word-break: normal;
}

.section-heading .section-link {
  grid-column: 1 / -1;
  grid-row: auto;
  justify-self: start;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.3vw, 28px);
  align-items: stretch;
}

.work-card,
.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.work-card {
  position: relative;
  display: grid;
  grid-column: span 6;
  align-items: end;
  min-height: 420px;
  isolation: isolate;
}

.work-card:nth-child(1) {
  grid-column: span 7;
  min-height: 500px;
}

.work-card:nth-child(2) {
  grid-column: span 5;
  min-height: 500px;
}

.work-card:nth-child(3) {
  grid-column: span 5;
  min-height: 360px;
}

.work-card:nth-child(4) {
  grid-column: span 7;
  min-height: 360px;
}

.work-card:hover,
.work-card:focus-within,
.news-card:hover,
.news-card:focus-within,
.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(23, 107, 255, 0.22);
}

.work-card__media,
.news-card__media,
.service-card__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--blue-soft);
}

.work-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
}

.work-card:nth-child(2) .work-card__media {
  aspect-ratio: auto;
}

.work-card:nth-child(3) .work-card__media {
  aspect-ratio: auto;
}

.work-card:nth-child(4) .work-card__media {
  aspect-ratio: auto;
}

.work-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(12, 24, 47, 0.06) 0%, rgba(12, 24, 47, 0.26) 44%, rgba(12, 24, 47, 0.88) 100%),
    linear-gradient(90deg, rgba(12, 24, 47, 0.38), transparent 58%);
  pointer-events: none;
}

.work-card img,
.news-card img,
.service-card__media img,
.service-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1), filter 240ms ease;
}

.work-card:hover [data-hover-media] img,
.work-card:focus-within [data-hover-media] img,
.news-card:hover [data-hover-media] img,
.news-card:focus-within [data-hover-media] img,
.service-card:hover [data-hover-media] img,
.service-card:focus-within [data-hover-media] img,
.service-card:hover [data-hover-media] video,
.service-card:focus-within [data-hover-media] video,
.wide-slide:hover img,
.wide-slide:focus-within img {
  transform: scale(1.055);
}

.work-card div,
.news-card div {
  padding: 18px 18px 20px;
}

.work-card div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  align-content: end;
  grid-template-rows: auto minmax(3em, auto) minmax(3.4em, auto);
  min-height: 168px;
  color: #fff;
}

.work-card span,
.news-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 950;
}

.work-card span,
.work-card:nth-child(3) span {
  color: rgba(255, 255, 255, 0.88);
}

.news-card:nth-child(3) span {
  color: var(--coral);
}

.work-card h3,
.service-card h3,
.process-line h3,
.news-card h3,
.faq summary {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.work-card h3 {
  display: flex;
  align-items: flex-end;
  min-height: 3em;
  color: #fff;
}

.work-card p,
.service-card p,
.process-line p,
.news-card p,
.faq p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.work-card p {
  max-width: 30em;
  min-height: 3.4em;
  color: rgba(255, 255, 255, 0.84);
}

.featured__card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(23, 107, 255, 0.06), transparent 54%),
    #fff;
  box-shadow: var(--shadow);
}

.featured__card figure {
  position: relative;
  min-height: 320px;
  margin: 0;
}

.featured__card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured__card > div {
  display: grid;
  align-content: center;
  padding: clamp(28px, 5vw, 58px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
  align-items: stretch;
}

.service-card {
  position: relative;
  display: grid;
  grid-column: span 4;
  align-items: end;
  min-height: 330px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #10182f;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.service-card:nth-child(1),
.service-card:nth-child(6) {
  grid-column: span 5;
  min-height: 390px;
}

.service-card:nth-child(2),
.service-card:nth-child(5) {
  grid-column: span 4;
}

.service-card:nth-child(3),
.service-card:nth-child(4) {
  grid-column: span 3;
}

.service-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(12, 24, 47, 0.1) 0%, rgba(12, 24, 47, 0.28) 38%, rgba(12, 24, 47, 0.86) 100%),
    linear-gradient(90deg, rgba(12, 24, 47, 0.46), transparent 58%);
  pointer-events: none;
}

.service-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.service-card__media img,
.service-card__media video {
  position: absolute;
  inset: 0;
  display: block;
}

.service-card__media video {
  z-index: 1;
  opacity: 0;
}

.service-card:hover .service-card__media video,
.service-card:focus-within .service-card__media video {
  opacity: 1;
}

.service-card__body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  align-content: end;
  justify-items: start;
  grid-template-rows: auto minmax(3.1em, auto) minmax(3.4em, auto);
  min-height: 100%;
  padding: clamp(22px, 3vw, 34px);
  color: #fff;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.service-card:nth-child(2) .service-icon,
.service-card:nth-child(5) .service-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}

.service-card h3 {
  display: flex;
  align-items: flex-end;
  min-height: 3.1em;
  color: #fff;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.service-card p {
  max-width: 20em;
  min-height: 3.4em;
  color: rgba(255, 255, 255, 0.82);
}

.contact-section {
  padding-bottom: clamp(72px, 10vw, 124px);
}

.content-page--contact .content-page__inner {
  max-width: 960px;
}

.contact-page-copy {
  max-width: 720px;
}

.contact-page-form {
  margin-top: 28px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(23, 107, 255, 0.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-section__panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(23, 107, 255, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(23, 107, 255, 0.12), transparent 34%),
    #fff;
  box-shadow: var(--shadow);
}

.contact-section__copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #24304a;
  font-size: 0.9rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--ink);
  background: #f8fbff;
  font-weight: 650;
}

.contact-form textarea {
  resize: vertical;
}

.form-consent {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}

.form-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 0.3em;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.news-grid--archive {
  max-width: 100%;
  margin-top: clamp(34px, 5vw, 58px);
  gap: 16px;
}

.content-page--news .content-page__inner {
  max-width: 1080px;
}

.news-grid--archive .news-card {
  border-radius: 18px;
}

.news-grid--archive .news-card__media {
  min-height: 150px;
}

.single-post__media {
  margin: clamp(24px, 4vw, 42px) 0 0;
  overflow: hidden;
  border-radius: 22px;
}

.single-post__media img {
  width: 100%;
  height: auto;
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.process-line::before {
  position: absolute;
  top: 35px;
  right: 9%;
  left: 9%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, #8fb7ff, transparent);
}

.process-line article {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
}

.process-line span {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  border: 1px solid rgba(23, 107, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 18px 34px rgba(23, 107, 255, 0.18);
  font-size: 0.92rem;
  font-weight: 950;
}

.process-line article:nth-child(2n) span {
  background: linear-gradient(135deg, var(--coral), #ff8567);
  box-shadow: 0 18px 34px rgba(255, 102, 84, 0.18);
}

.studio {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 76px);
}

.studio__gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.studio__gallery img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.studio__gallery .studio__main {
  grid-row: 1 / 3;
  min-height: 380px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

.news-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
  align-items: stretch;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(16, 42, 96, 0.07);
}

.news-card__media {
  min-height: 132px;
}

.news-card time {
  display: inline-flex;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.news-card span {
  margin-left: 10px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--blue-soft);
  font-size: 0.7rem;
}

.news-card h3 {
  margin-top: 6px;
}

.news-card div {
  display: block;
  padding: 20px 24px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 42, 96, 0.06);
}

.faq summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  content: "+";
  color: var(--blue);
  font-size: 1.4rem;
  transform: translateY(-50%);
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  margin: 0;
  padding: 0 22px 20px;
}

.blue-cta {
  padding-bottom: 30px;
}

.blue-cta__panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 5vw, 54px);
  padding: clamp(24px, 4vw, 44px);
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.24), transparent 24%),
    linear-gradient(135deg, #1f76ff 0%, #0c45d9 100%);
  box-shadow: var(--shadow-strong);
  color: #fff;
}

.blue-cta__panel > img {
  width: clamp(74px, 9vw, 118px);
  filter: drop-shadow(0 18px 34px rgba(0, 21, 77, 0.18));
}

.blue-cta h2 {
  max-width: 720px;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
}

.blue-cta h2 span {
  display: block;
}

.blue-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.blue-cta__actions {
  display: grid;
  gap: 12px;
  min-width: min(280px, 100%);
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  width: min(100%, calc(var(--max) + var(--section-x) * 2));
  margin: 0 auto;
  padding: 24px var(--section-x) 34px;
  color: #4d5870;
  font-size: 0.82rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 30px;
  font-weight: 850;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 42, 96, 0.08);
  font-weight: 950;
  transition: transform 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(23, 107, 255, 0.14);
}

.footer-social svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.site-footer p {
  margin: 0;
  white-space: nowrap;
}

.content-page {
  width: min(100%, calc(var(--max) + var(--section-x) * 2));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 100px) var(--section-x) clamp(74px, 10vw, 128px);
}

.content-page__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.content-page__eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-page__lead {
  max-width: 720px;
  margin: clamp(18px, 3vw, 28px) 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 650;
}

.content-page h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 950;
  line-height: 1.2;
}

.content-page__body {
  margin-top: clamp(28px, 5vw, 54px);
  color: #27324a;
  font-weight: 650;
}

.content-page__body h2 {
  margin: 2.2em 0 0.55em;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 950;
  line-height: 1.45;
}

.content-page__body p {
  margin: 0 0 1.15em;
}

.content-page__body a {
  color: var(--blue);
  font-weight: 950;
}

.content-page__body .work-grid {
  margin-top: 30px;
}

.content-page--portfolio {
  background:
    linear-gradient(180deg, rgba(235, 244, 255, 0.9) 0, rgba(255, 255, 255, 0) 360px),
    #fff;
}

.content-page--portfolio .content-page__inner {
  max-width: 1120px;
}

.arbeaon-work-page-panels {
  position: relative;
}

.arbeaon-page-lead {
  max-width: 900px;
  margin: 0 0 clamp(24px, 4vw, 42px);
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  font-weight: 650;
  line-height: 1.9;
}

.portfolio-category-hub {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: clamp(18px, 3vw, 30px) 0 clamp(26px, 5vw, 48px);
}

.portfolio-category-hub a,
.portfolio-genre-list section,
.works-gallery-note,
.works-store-shelf > div,
.arbeaon-work-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 42, 96, 0.06);
}

.portfolio-category-hub a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 12px 14px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.portfolio-category-hub a:hover,
.portfolio-category-hub a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(23, 107, 255, 0.24);
  box-shadow: 0 18px 38px rgba(23, 107, 255, 0.11);
}

.arbeaon-work-card__meta,
.works-directory a {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 950;
}

.portfolio-category-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(23, 107, 255, 0.16);
  border-radius: 14px;
  color: var(--blue);
  background: linear-gradient(145deg, #eef5ff, #fff);
}

.portfolio-category-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portfolio-category-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.portfolio-category-kicker {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1.2;
}

.portfolio-category-hub strong {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 950;
  line-height: 1.25;
}

.portfolio-category-hub em,
.portfolio-genre-list p,
.works-gallery-note p,
.works-store-shelf p,
.arbeaon-work-card__description p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.7;
}

.portfolio-category-hub em {
  font-style: normal;
  line-height: 1.35;
}

.works-directory {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(20px, 3vw, 34px) 0 clamp(28px, 4vw, 44px);
}

.works-directory a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(23, 107, 255, 0.18);
  border-radius: 999px;
  background: var(--blue-soft);
}

.portfolio-genre-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(24px, 4vw, 42px) 0;
}

.portfolio-genre-list section,
.works-gallery-note,
.works-store-shelf > div {
  padding: clamp(18px, 3vw, 28px);
}

.portfolio-genre-list h2 {
  margin-top: 0;
}

.works-store-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 34px;
}

.works-gallery-note {
  margin: 24px 0 34px;
}

.works-gallery-note strong,
.works-store-shelf strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
}

.arbeaon-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 40px;
}

.arbeaon-work-grid--managed {
  display: block;
  column-count: 3;
  column-gap: 18px;
  margin-top: 28px;
}

.arbeaon-work-card {
  overflow: hidden;
  color: var(--ink);
}

.arbeaon-work-grid--managed .arbeaon-work-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  break-inside: avoid;
  vertical-align: top;
}

.arbeaon-work-card__media {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  aspect-ratio: 16 / 10;
  appearance: none;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--blue-soft);
  color: inherit;
  font: inherit;
  text-align: left;
}

.arbeaon-work-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.arbeaon-work-grid--managed .arbeaon-work-card__media {
  aspect-ratio: auto;
  background: #f4f8ff;
}

.arbeaon-work-grid--managed .arbeaon-work-card__image {
  height: auto;
  object-fit: contain;
}

.arbeaon-work-card:hover .arbeaon-work-card__image,
.arbeaon-work-card:focus-within .arbeaon-work-card__image {
  transform: scale(1.04);
}

.arbeaon-work-card__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(5, 16, 36, 0.72);
  font-size: 0.72rem;
  font-weight: 950;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.arbeaon-work-card__media:hover .arbeaon-work-card__zoom,
.arbeaon-work-card__media:focus-visible .arbeaon-work-card__zoom {
  opacity: 1;
  transform: translateY(0);
}

.arbeaon-work-card__body {
  padding: 18px;
}

.arbeaon-work-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

.arbeaon-work-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.45;
}

.arbeaon-work-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 14px;
  padding: 0 14px;
  border: 1px solid rgba(23, 107, 255, 0.18);
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  font-size: 0.84rem;
  font-weight: 950;
}

.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 46px);
  background: rgba(4, 12, 28, 0.78);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.portfolio-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.portfolio-lightbox__panel {
  position: relative;
  display: grid;
  gap: 14px;
  max-width: min(1120px, 94vw);
  max-height: 92vh;
  color: #fff;
}

.portfolio-lightbox__image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 76vh;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.portfolio-lightbox__caption {
  max-width: 760px;
}

.portfolio-lightbox__caption strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 950;
}

.portfolio-lightbox__caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.7;
}

.portfolio-lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  background: rgba(7, 16, 32, 0.86);
  cursor: pointer;
}

.portfolio-lightbox__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

body.is-lightbox-open {
  overflow: hidden;
}

.content-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.policy-updated {
  color: var(--muted);
  font-size: 0.9rem;
}

[data-lang-panel="en"] {
  display: none;
}

body[data-lang="en"] [data-lang-panel="ja"] {
  display: none;
}

body[data-lang="en"] [data-lang-panel="en"] {
  display: block;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible,
.hero .reveal,
.wide-slider .reveal {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1120px) {
  :root {
    --header-height: 82px;
  }

  .site-nav {
    gap: 18px;
    font-size: 0.8rem;
  }

  .header-contact {
    min-width: 118px;
  }

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

  .work-card,
  .work-card:nth-child(1),
  .work-card:nth-child(2),
  .work-card:nth-child(3),
  .work-card:nth-child(4) {
    grid-column: span 3;
  }

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

  .service-card {
    grid-column: span 3;
    min-height: 310px;
  }

  .service-card:nth-child(1),
  .service-card:nth-child(6) {
    grid-column: span 4;
    min-height: 370px;
  }

  .service-card:nth-child(2),
  .service-card:nth-child(5) {
    grid-column: span 2;
    min-height: 370px;
  }

  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    grid-column: span 3;
    min-height: 300px;
  }
}

@media (max-width: 920px) {
  .site-header {
    gap: 12px;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 16px;
    left: 16px;
    display: none;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    justify-content: center;
    min-height: 48px;
  }

  .header-contact {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .wide-slider__viewport {
    --slide-w: 100vw;
    padding: 0;
    overflow: hidden;
  }

  .wide-slider {
    overflow: hidden;
  }

  .wide-slide {
    height: clamp(250px, 54vw, 340px);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    opacity: 1;
    transform: none;
  }

  .slider-arrow {
    width: 46px;
    height: 46px;
  }

  .slider-arrow--prev {
    left: 14px;
  }

  .slider-arrow--next {
    right: 14px;
  }

  .hero,
  .vision__panel,
  .contact-section__panel,
  .blue-cta__panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero__visual {
    min-height: 360px;
  }

  .vision__diagram img {
    margin: 0 auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-heading h2,
  .section-heading p,
  .section-heading .section-link {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .news-card {
    grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  }

  .news-card__media {
    min-height: 156px;
  }

  .process-line {
    grid-template-columns: 1fr;
  }

  .process-line::before {
    top: 35px;
    bottom: 35px;
    left: 35px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, #8fb7ff, transparent);
  }

  .process-line article {
    grid-template-columns: 70px minmax(0, 1fr);
    justify-items: start;
    gap: 16px;
    text-align: left;
  }

  .process-line span {
    grid-row: 1 / 3;
    margin-bottom: 0;
  }

  .process-line p {
    margin-top: 2px;
  }

  .blue-cta__actions {
    width: 100%;
  }

  .site-footer {
    justify-items: center;
    text-align: center;
  }

  .portfolio-category-hub,
  .arbeaon-work-grid,
  .works-store-shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .arbeaon-work-grid--managed {
    column-count: 2;
  }

  .portfolio-genre-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 74px;
    --section-x: 18px;
  }

  .site-header {
    padding: 10px var(--section-x);
  }

  .brand__mark {
    width: 42px;
    height: 42px;
  }

  .brand__text strong {
    font-size: 0.92rem;
  }

  .brand__text small {
    font-size: 0.62rem;
  }

  .lang-switch {
    display: none;
  }

  .wide-slider {
    padding-top: 12px;
  }

  .wide-slide {
    height: 238px;
    border-radius: 18px;
  }

  .wide-slide::after {
    background: linear-gradient(90deg, rgba(12, 24, 47, 0.62), rgba(12, 24, 47, 0.16));
  }

  .wide-slide__copy {
    right: 18px;
    left: 18px;
    max-width: none;
  }

  .wide-slide__copy strong {
    font-size: 1.15rem;
    line-height: 1.28;
  }

  .slider-arrow {
    display: none;
    top: auto;
    bottom: 14px;
    transform: none;
  }

  .slider-arrow--prev {
    left: 18px;
    right: auto;
  }

  .slider-arrow--next {
    right: auto;
    left: calc(100vw - 90px);
  }

  .slider-dots {
    margin-top: 14px;
  }

  .hero {
    padding-top: 46px;
    padding-bottom: 74px;
    justify-items: stretch;
    overflow: hidden;
  }

  .hero__copy,
  .hero__visual {
    width: 100%;
    max-width: min(100%, 340px);
    min-width: 0;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 8.8vw, 2.25rem);
    max-width: 100%;
  }

  .hero__copy p {
    max-width: 100%;
    font-size: 0.98rem;
    word-break: break-all;
  }

  .hero__actions,
  .button {
    width: 100%;
    min-width: 0;
    max-width: 340px;
  }

  .button {
    padding: 0 18px;
  }

  .hero__visual {
    min-height: 300px;
  }

  .hero__visual img {
    width: min(76vw, 300px);
    min-width: 0;
  }

  .orbit {
    width: 88vw;
    height: 34vw;
  }

  .vision__panel,
  .featured__card > div,
  .blue-cta__panel {
    padding: 24px;
    border-radius: 24px;
  }

  .vision__copy,
  .section-heading {
    min-width: 0;
  }

  .vision h2,
  .section-heading h2,
  .featured h2,
  .studio h2,
  .blue-cta h2 {
    max-width: 100%;
    font-size: clamp(1.42rem, 6.2vw, 1.86rem);
    line-break: loose;
    overflow-wrap: anywhere;
    word-break: auto-phrase;
  }

  .vision p,
  .section-heading p {
    line-break: loose;
    overflow-wrap: anywhere;
    word-break: auto-phrase;
  }

  .work-grid,
  .service-grid,
  .news-grid,
  .faq-grid,
  .portfolio-category-hub,
  .arbeaon-work-grid,
  .works-store-shelf {
    grid-template-columns: 1fr;
  }

  .arbeaon-work-grid--managed {
    column-count: 1;
  }

  .portfolio-category-hub a {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 70px;
    padding: 10px 12px;
  }

  .portfolio-category-icon {
    width: 44px;
    height: 44px;
  }

  .work-card,
  .work-card:nth-child(1),
  .work-card:nth-child(2),
  .work-card:nth-child(3),
  .work-card:nth-child(4),
  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4),
  .service-card:nth-child(5),
  .service-card:nth-child(6) {
    grid-column: 1 / -1;
  }

  .work-card__media,
  .work-card:nth-child(2) .work-card__media,
  .work-card:nth-child(3) .work-card__media,
  .work-card:nth-child(4) .work-card__media {
    aspect-ratio: auto;
  }

  .work-card,
  .work-card:nth-child(1),
  .work-card:nth-child(2),
  .work-card:nth-child(3),
  .work-card:nth-child(4) {
    min-height: 320px;
  }

  .service-card {
    min-height: 280px;
  }

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

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card__media {
    aspect-ratio: 16 / 10;
    min-height: auto;
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 12px;
  }
}

.content-page--portfolio,
.content-page[class*="content-page--portfolio-"] {
  width: 100%;
  max-width: none;
  padding: 0;
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 200, 61, 0.08), transparent 24vw),
    radial-gradient(circle at 88% 5%, rgba(23, 107, 255, 0.08), transparent 30vw),
    linear-gradient(180deg, #fbfdff 0%, #f5f9ff 24%, #ffffff 56%, #f8fbff 100%);
}

.content-page--portfolio .content-page__inner,
.content-page[class*="content-page--portfolio-"] .content-page__inner {
  width: min(100%, calc(var(--max) + var(--section-x) * 2));
  max-width: none;
  margin: 0 auto;
  padding: 0 var(--section-x) clamp(56px, 8vw, 110px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.content-page--portfolio .content-page__eyebrow,
.content-page--portfolio .content-page__inner > h1,
.content-page[class*="content-page--portfolio-"] .content-page__eyebrow,
.content-page[class*="content-page--portfolio-"] .content-page__inner > h1 {
  display: none;
}

.content-page--portfolio .content-page__body,
.content-page[class*="content-page--portfolio-"] .content-page__body {
  margin-top: 0;
  color: var(--ink);
}

.content-page--portfolio .content-page__body h1,
.content-page--portfolio .content-page__body h2,
.content-page--portfolio .content-page__body h3,
.content-page--portfolio .content-page__body p,
.content-page[class*="content-page--portfolio-"] .content-page__body h1,
.content-page[class*="content-page--portfolio-"] .content-page__body h2,
.content-page[class*="content-page--portfolio-"] .content-page__body h3,
.content-page[class*="content-page--portfolio-"] .content-page__body p {
  margin-top: 0;
}

.portfolio-showcase {
  position: relative;
}

.portfolio-showcase-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.56fr);
  gap: clamp(44px, 7vw, 112px);
  align-items: start;
  min-height: clamp(300px, 30vw, 410px);
  padding: clamp(24px, 3.2vw, 48px) 0 clamp(28px, 4.4vw, 58px);
}

.portfolio-showcase-meta,
.portfolio-section-label,
.portfolio-archive-card__meta {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-showcase-meta {
  display: flex;
  gap: 11px;
  margin: 0 0 14px;
  color: #4a5871;
}

.portfolio-showcase-hero h1 {
  margin: 0;
  color: #11182d;
  font-family: "Georgia", "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(4.6rem, 9.2vw, 8.7rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0;
}

.portfolio-showcase-hero h2 {
  max-width: 740px;
  margin: clamp(20px, 3vw, 28px) 0 0;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.5vw, 2.35rem);
  font-weight: 900;
  line-height: 1.48;
}

.portfolio-showcase-hero p:not(.portfolio-showcase-meta):not(.portfolio-section-label) {
  max-width: 720px;
  margin: 18px 0 0;
  color: #3f4c66;
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  font-weight: 650;
  line-height: 2;
}

.portfolio-showcase-categories {
  margin-top: 28px;
  padding-left: 24px;
  border-left: 2px solid rgba(255, 102, 84, 0.52);
}

.portfolio-category-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
}

.portfolio-category-summary a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 14px;
  align-items: center;
  min-height: 40px;
  border-bottom: 1px solid rgba(16, 24, 47, 0.11);
  color: #28334c;
  font-size: 0.9rem;
  font-weight: 850;
}

.portfolio-category-summary strong {
  color: var(--blue);
  text-align: right;
}

.portfolio-featured-section {
  padding: 0 0 clamp(28px, 5vw, 58px);
}

.portfolio-section-tabs {
  display: flex;
  gap: 30px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(16, 24, 47, 0.1);
}

.portfolio-section-tabs span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #27324a;
  font-size: 0.84rem;
  font-weight: 850;
}

.portfolio-section-tabs .is-active {
  color: var(--blue);
}

.portfolio-section-tabs .is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
}

.portfolio-section-heading,
.portfolio-archive-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.portfolio-section-heading {
  margin-bottom: 18px;
}

.portfolio-section-heading h2,
.portfolio-archive-toolbar h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 950;
  line-height: 1.15;
}

.portfolio-section-heading a,
.portfolio-archive-toolbar span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(16, 24, 47, 0.13);
  border-radius: 999px;
  color: #516075;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 850;
}

.portfolio-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}

.portfolio-feature-card,
.portfolio-archive-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff !important;
  background: #111827;
  box-shadow: 0 18px 46px rgba(16, 42, 96, 0.12);
  isolation: isolate;
}

.portfolio-feature-card {
  min-height: 260px;
  border-radius: 4px;
}

.portfolio-feature-card img,
.portfolio-archive-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 520ms ease;
}

.portfolio-feature-card::after,
.portfolio-archive-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(7, 14, 28, 0.04) 0%, rgba(7, 14, 28, 0.22) 42%, rgba(7, 14, 28, 0.78) 100%);
}

.portfolio-feature-card:hover img,
.portfolio-feature-card:focus-visible img,
.portfolio-archive-card:hover img,
.portfolio-archive-card:focus-visible img {
  transform: scale(1.06);
}

.portfolio-chip {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 4px;
  color: #fff;
  background: rgba(23, 107, 255, 0.92);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
}

.portfolio-chip--coral {
  background: rgba(255, 102, 84, 0.92);
}

.portfolio-chip--violet {
  background: rgba(92, 92, 205, 0.92);
}

.portfolio-feature-card > .portfolio-chip {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
}

.portfolio-feature-card__copy,
.portfolio-archive-card__copy {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  gap: 6px;
}

.portfolio-feature-card__copy strong,
.portfolio-archive-card__copy strong {
  color: #fff;
  font-family: "Georgia", "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 500;
  line-height: 1.15;
}

.portfolio-feature-card__copy strong {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.portfolio-feature-card__copy small,
.portfolio-archive-card__copy small {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 750;
  line-height: 1.45;
}

.portfolio-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 clamp(24px, 5vw, 56px);
}

.portfolio-filter {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(16, 24, 47, 0.13);
  border-radius: 999px;
  color: #27324a !important;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(16, 42, 96, 0.05);
  font-size: 0.84rem;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.portfolio-filter:hover,
.portfolio-filter:focus-visible,
.portfolio-filter.is-active {
  color: var(--blue) !important;
  transform: translateY(-2px);
  border-color: rgba(23, 107, 255, 0.26);
  box-shadow: 0 16px 34px rgba(23, 107, 255, 0.1);
}

.portfolio-filter__icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
}

.portfolio-filter__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portfolio-archive-section {
  padding-bottom: clamp(40px, 7vw, 88px);
}

.portfolio-archive-toolbar {
  margin-bottom: 18px;
}

.portfolio-archive-masonry {
  columns: 5 190px;
  column-gap: 14px;
}

.portfolio-archive-card {
  width: 100%;
  height: var(--portfolio-card-height, 250px);
  margin: 0 0 14px;
  break-inside: avoid;
  border: 0;
  border-radius: 8px;
  padding: 0;
  cursor: zoom-in;
  text-align: left;
}

.portfolio-archive-card__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #16213a;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(5, 16, 36, 0.18);
  opacity: 0.92;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease;
}

.portfolio-archive-card:hover .portfolio-archive-card__zoom,
.portfolio-archive-card:focus-visible .portfolio-archive-card__zoom {
  opacity: 1;
  transform: translateY(-2px);
}

.portfolio-archive-card__zoom svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.portfolio-archive-card__copy strong {
  font-size: clamp(1.1rem, 1.6vw, 1.42rem);
}

.portfolio-genre-showcase {
  padding-top: clamp(24px, 3.2vw, 48px);
}

.portfolio-genre-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.54fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: stretch;
  padding-bottom: clamp(26px, 5vw, 54px);
}

.portfolio-genre-hero__copy {
  align-self: start;
}

.portfolio-genre-hero h1 {
  margin: 0;
  color: #11182d;
  font-family: "Georgia", "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(3.2rem, 5.8vw, 5.9rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
  word-break: keep-all;
}

.portfolio-genre-hero h2 {
  max-width: 720px;
  margin: clamp(18px, 2.8vw, 28px) 0 0;
  color: var(--ink);
  font-size: clamp(1.36rem, 2.3vw, 2.2rem);
  font-weight: 950;
  line-height: 1.42;
}

.portfolio-genre-hero p:not(.portfolio-showcase-meta) {
  max-width: 760px;
  margin: 18px 0 0;
  color: #3f4c66;
  font-size: clamp(0.96rem, 1.15vw, 1.08rem);
  font-weight: 650;
  line-height: 1.95;
}

.portfolio-genre-visual {
  position: relative;
  min-height: clamp(260px, 29vw, 420px);
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 24px 60px rgba(16, 42, 96, 0.14);
  isolation: isolate;
}

.portfolio-genre-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 520ms ease;
}

.portfolio-genre-visual::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(7, 14, 28, 0.03) 0%, rgba(7, 14, 28, 0.22) 44%, rgba(7, 14, 28, 0.8) 100%);
}

.portfolio-genre-visual:hover img {
  transform: scale(1.055);
}

.portfolio-genre-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  gap: 9px;
  color: #fff;
}

.portfolio-genre-visual strong {
  color: #fff;
  font-family: "Georgia", "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  font-weight: 500;
  line-height: 1.12;
}

.portfolio-genre-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: clamp(30px, 6vw, 62px);
}

.portfolio-genre-detail-grid article,
.portfolio-genre-empty {
  border: 1px solid rgba(16, 24, 47, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(16, 42, 96, 0.08);
}

.portfolio-genre-detail-grid article {
  padding: clamp(22px, 3.4vw, 36px);
}

.portfolio-genre-detail-grid h2 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-weight: 950;
  line-height: 1.25;
}

.portfolio-genre-detail-grid p,
.portfolio-genre-empty p {
  margin: 0;
  color: #4a5871;
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.85;
}

.portfolio-genre-archive {
  padding-bottom: clamp(40px, 7vw, 88px);
}

.portfolio-genre-archive .portfolio-archive-masonry {
  columns: 3 220px;
}

.portfolio-genre-back {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(23, 107, 255, 0.18);
  border-radius: 999px;
  color: var(--blue) !important;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 900;
}

.portfolio-genre-empty {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: clamp(20px, 3vw, 32px);
}

.portfolio-genre-empty strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.5vw, 1.34rem);
  font-weight: 950;
}

@media (max-width: 1120px) {
  .portfolio-showcase-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .portfolio-showcase-categories {
    margin-top: 0;
  }

  .portfolio-feature-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-feature-card {
    min-height: 240px;
  }

  .portfolio-genre-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .portfolio-archive-masonry {
    columns: 3 180px;
  }

  .portfolio-genre-archive .portfolio-archive-masonry {
    columns: 2 190px;
  }
}

@media (max-width: 640px) {
  .content-page--portfolio .content-page__inner,
  .content-page[class*="content-page--portfolio-"] .content-page__inner {
    padding-inline: var(--section-x);
  }

  .portfolio-showcase-hero {
    padding-top: 18px;
  }

  .portfolio-showcase-hero h1 {
    font-size: clamp(3.6rem, 17vw, 5rem);
  }

  .portfolio-showcase-hero h2 {
    font-size: clamp(1.28rem, 6vw, 1.9rem);
  }

  .portfolio-showcase-categories {
    padding-left: 16px;
  }

  .portfolio-category-summary {
    grid-template-columns: 1fr;
  }

  .portfolio-section-heading,
  .portfolio-archive-toolbar {
    display: block;
  }

  .portfolio-section-heading a,
  .portfolio-archive-toolbar span {
    margin-top: 10px;
  }

  .portfolio-filter-row {
    flex-wrap: nowrap;
    margin-inline: calc(var(--section-x) * -1);
    padding-inline: var(--section-x);
    overflow-x: auto;
  }

  .portfolio-filter {
    flex: 0 0 auto;
  }

  .portfolio-archive-masonry {
    columns: 1;
  }

  .portfolio-genre-showcase {
    padding-top: 18px;
  }

  .portfolio-genre-hero h1 {
    font-size: clamp(2.7rem, 11.5vw, 3.5rem);
  }

  .portfolio-genre-visual {
    min-height: 260px;
  }

  .portfolio-genre-detail-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-genre-archive .portfolio-archive-masonry {
    columns: 1;
  }

  .portfolio-archive-card {
    height: min(var(--portfolio-card-height, 260px), 360px);
  }
}
