:root {
  --black: #000;
  --white: #fff;
  --red: #fc100f;
  --deep: #070712;
  --blue: #12182d;
  --gray: #8d8d99;
  --line: rgba(255, 255, 255, 0.16);
  --rail-width: 88px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: #000;
  color: #fff;
  transition: opacity 600ms ease, visibility 600ms ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  display: grid;
  justify-items: center;
  gap: 18px;
  transform: translateY(-56px);
}

.loader-mark img {
  width: min(300px, 56vw);
  height: auto;
  filter: invert(1);
}

.loader-mark strong {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 3.5vw;
  font-weight: 900;
}

.loader-line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 5px;
  background: transparent;
}

.loader-line span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
  transform: skewX(-24deg);
  transition: width 80ms linear;
}

.cursor,
.scroll-progress {
  display: none;
}

.site-header {
  position: fixed;
  top: 30px;
  left: 38px;
  right: 30px;
  z-index: 180;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}

.brand,
.menu-button {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.72);
}

.brand-logo {
  width: 176px;
  height: auto;
  filter: invert(1) drop-shadow(0 0 12px rgba(0, 0, 0, 0.75));
}

.nav {
  display: none;
}

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: 52px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
}

.menu-text {
  display: none;
}

.menu-glyph {
  position: relative;
  width: 52px;
  height: 44px;
}

.menu-glyph::before,
.menu-glyph::after,
.menu-glyph {
  border-top: 3px solid currentColor;
}

.menu-glyph::before,
.menu-glyph::after {
  content: "";
  position: absolute;
  left: 0;
  width: 52px;
  transition: transform 220ms ease, top 220ms ease, opacity 220ms ease;
}

.menu-glyph::before {
  top: 17px;
}

.menu-glyph::after {
  top: 37px;
}

.menu-button[aria-expanded="true"] .menu-glyph {
  border-color: transparent;
}

.menu-button[aria-expanded="true"] .menu-glyph::before {
  top: 18px;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-glyph::after {
  top: 18px;
  transform: rotate(-45deg);
}

.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #000;
  transform: translateX(100%);
  transition: transform 520ms cubic-bezier(0.895, 0.03, 0.685, 0.22);
}

.overlay-menu.is-open {
  transform: translateX(0);
}

.overlay-menu nav {
  display: grid;
  gap: 1.4vw;
  text-align: center;
}

.overlay-menu a {
  overflow: hidden;
  color: #000;
  font-size: clamp(3.8rem, 8vw, 8.8rem);
  font-weight: 900;
  line-height: 0.9;
  transform: translateX(-16vw);
  opacity: 0;
  transition: transform 520ms ease, opacity 520ms ease;
}

.overlay-menu.is-open a {
  transform: translateX(0);
  opacity: 1;
}

.overlay-menu.is-open a:nth-child(2) {
  transition-delay: 70ms;
}

.overlay-menu.is-open a:nth-child(3) {
  transition-delay: 140ms;
}

.overlay-menu.is-open a:nth-child(4) {
  transition-delay: 210ms;
}

.overlay-menu.is-open a:nth-child(5) {
  transition-delay: 280ms;
}

.overlay-menu p {
  position: absolute;
  bottom: 34px;
  margin: 0;
  color: rgba(0, 0, 0, 0.72);
  font-weight: 900;
  white-space: nowrap;
}

.side-index {
  display: none;
}

.side-index span:nth-child(2) {
  width: 1px;
  height: 72px;
  background: rgba(255, 255, 255, 0.64);
}

.side-index strong {
  writing-mode: vertical-rl;
}

.section-number,
.about::before,
.members::before,
.work::before,
.contact::before {
  display: none;
}

.section-panel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  padding: clamp(92px, 9vw, 150px) clamp(42px, 8vw, 120px);
}

.hero {
  display: block;
  padding: 0;
  min-height: 0;
  height: calc((100vw - var(--rail-width)) * 9 / 16);
  background: #000;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background: #000;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    repeating-linear-gradient(90deg, rgba(252, 16, 15, 0.08) 0 7.6vw, rgba(8, 10, 28, 0.06) 7.6vw 15.2vw),
    linear-gradient(90deg, rgba(0, 0, 0, 0.14), transparent 42%, rgba(0, 0, 0, 0.16));
  mix-blend-mode: normal;
}

.hero-copy-block {
  position: absolute;
  right: 8vw;
  bottom: 6vh;
  z-index: 8;
  width: min(760px, 52vw);
  color: #fff;
  text-align: right;
}

.eyebrow,
.section-kicker,
.section-number {
  margin: 0;
  color: var(--red);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(3.2rem, 6vw, 7.1rem);
  font-weight: 900;
  line-height: 0.98;
  text-shadow: 0 0 22px rgba(0, 0, 0, 0.76);
}

.hero-lines {
  display: grid;
  gap: clamp(8px, 1.2vw, 18px);
  justify-items: end;
  min-width: min(760px, 52vw);
}

.hero-lines > span {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}

.hero-lines em {
  display: block;
  color: #fff;
  font-style: normal;
  letter-spacing: 0;
  transform: translateX(110%) skewX(-10deg);
  filter: blur(10px);
  opacity: 0;
}

body.is-loaded .hero-copy-block .hero-lines em,
.about-headline.is-visible .hero-lines em {
  animation: heroLineIn 1050ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(420ms + var(--line-index) * 320ms);
}

.about .hero-lines em {
  animation-delay: calc(120ms + var(--line-index) * 260ms);
}

.hero-char {
  display: inline-block;
  transform: translateY(0) scale(1);
  transform-origin: 50% 100%;
  transition: transform 720ms cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

.hero-char:hover {
  transform: translateY(-0.045em);
}

.hero-lines > span:nth-child(2) em {
  margin-right: 0.16em;
}

.hero-lines > span:nth-child(3) em {
  margin-right: 0.32em;
}

.hero-lines > span::after {
  content: "";
  display: block;
  height: 4px;
  margin-top: 7px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
}

body.is-loaded .hero-copy-block .hero-lines > span::after,
.about-headline.is-visible .hero-lines > span::after {
  animation: heroRuleIn 860ms cubic-bezier(0.895, 0.03, 0.685, 0.22) forwards;
  animation-delay: calc(650ms + var(--line-index) * 320ms);
}

.about .hero-lines > span::after {
  animation-delay: calc(320ms + var(--line-index) * 260ms);
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-video-frame {
  position: absolute;
  left: var(--rail-width);
  top: 0;
  right: 0;
  z-index: 1;
  width: calc(100vw - var(--rail-width));
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.hero-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.1), transparent 12%, transparent 70%, rgba(0, 0, 0, 0.32)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.18), transparent 20%, transparent 72%, rgba(0, 0, 0, 0.22));
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.05) contrast(1.04) brightness(1.18);
}

.hero-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
}

.hero-card-a {
  inset: 0;
  z-index: 1;
  opacity: 0.28;
  mix-blend-mode: luminosity;
}

.hero-card-b {
  display: none;
}

.hero-card-a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.18) saturate(0.2);
}

.signal {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  will-change: transform;
}

.signal-one {
  left: 0;
  top: 0;
  width: var(--rail-width);
  height: 100%;
  background: var(--red);
  color: transparent;
  transform: none;
}

.signal-one::before {
  display: none;
}

.signal-one::after {
  display: none;
}

.signal-two,
.signal-three {
  display: none;
}

.hero-bottom {
  position: absolute;
  left: calc(var(--rail-width) + clamp(44px, 5.2vw, 78px));
  bottom: clamp(28px, 5vw, 54px);
  z-index: 8;
  display: grid;
  gap: 22px;
  max-width: min(560px, calc(100vw - var(--rail-width) - 80px));
  padding: 22px 0 0;
}

.hero-bottom p {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.95), 0 0 4px rgba(0, 0, 0, 0.88);
}

.circle-link {
  display: inline-grid;
  grid-template-columns: auto 20px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 190px;
  min-height: 54px;
  border: 1px solid #fff;
  color: #fff;
  font-weight: 900;
  transition: background 220ms ease, color 220ms ease;
}

.circle-link:hover {
  background: var(--red);
  border-color: var(--red);
}

.circle-link svg,
.submit-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.marquee {
  overflow: hidden;
  width: calc(100% - var(--rail-width));
  margin-left: var(--rail-width);
  background: var(--red);
  color: #000;
}

.marquee div {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee span {
  padding: clamp(12px, 1.5vw, 18px) clamp(32px, 4vw, 58px);
  font-size: clamp(2.2rem, 5vw, 5.8rem);
  font-weight: 900;
  line-height: 0.9;
  white-space: nowrap;
}

.about,
.members,
.work,
.contact {
  background:
    radial-gradient(circle at 78% 28%, rgba(252, 16, 15, 0.18), transparent 22%),
    linear-gradient(90deg, rgba(252, 16, 15, 0.18), transparent 18%),
    #000;
}

.about::before,
.members::before,
.work::before,
.contact::before {
  content: attr(data-count);
  position: absolute;
  right: 5vw;
  top: 8vh;
  color: rgba(252, 16, 15, 0.16);
  font-size: clamp(12rem, 28vw, 32rem);
  font-weight: 900;
  line-height: 0.7;
}

.chapter {
  display: grid;
  gap: 8px;
  color: var(--red);
  font-weight: 900;
}

.about-grid,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(38px, 8vw, 120px);
  align-items: center;
}

.about h2,
.section-heading h2,
.contact h2 {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(3rem, 6vw, 8.2rem);
  font-weight: 900;
  line-height: 1.02;
}

.about-headline {
  position: relative;
  z-index: 2;
}

.about-headline .eyebrow {
  margin-bottom: 16px;
}

.about .hero-lines {
  min-width: 0;
  justify-items: start;
}

.about .hero-lines > span:nth-child(2) em,
.about .hero-lines > span:nth-child(3) em {
  margin-right: 0;
}

.about .hero-lines > span::after {
  transform-origin: left;
}

.about-text,
.contact-copy p:last-child,
.member-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
}

.section-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: clamp(24px, 6vw, 90px);
  align-items: end;
  margin-bottom: 58px;
}

.member-rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.member-card {
  min-height: 360px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #0b0b0b;
  transition: background 220ms ease, color 220ms ease;
}

.member-card:hover {
  background: var(--red);
  color: #000;
}

.member-card span {
  color: var(--red);
  font-weight: 900;
}

.member-card:hover span,
.member-card:hover p {
  color: #000;
}

.member-card h3 {
  margin-bottom: 16px;
  color: currentColor;
  font-size: clamp(1.7rem, 2.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
}

.work-showcase {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(360px, 44vw);
  gap: 20px;
}

.work-card {
  position: relative;
  overflow: hidden;
  background: #111;
  transform-style: preserve-3d;
}

.work-card:first-child {
  grid-row: span 2;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.1) contrast(1.25) brightness(0.62);
  transition: filter 320ms ease, transform 520ms ease;
}

.work-card::before,
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.work-card::before {
  background: rgba(252, 16, 15, 0.35);
  mix-blend-mode: multiply;
}

.work-card::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent 60%);
}

.work-card:hover img {
  filter: saturate(0.65) contrast(1.15) brightness(0.78);
  transform: scale(1.06);
}

.work-card div {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 30px;
}

.work-card span {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.work-card h3 {
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 3.6rem);
  line-height: 1.1;
}

.contact {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
}

.contact-copy,
.contact-form {
  position: relative;
  z-index: 2;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  background: #090909;
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #000;
  color: #fff;
  padding: 12px;
}

.submit-button {
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  border: 0;
  background: var(--red);
  color: #000;
  font-weight: 900;
}

.thanks-popup {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.66);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.thanks-popup.is-visible {
  opacity: 1;
}

.thanks-popup div {
  display: grid;
  gap: 12px;
  min-width: min(420px, 92vw);
  padding: clamp(28px, 5vw, 46px);
  background: var(--red);
  color: #000;
  text-align: center;
  transform: translateY(18px) rotate(-2deg) scale(0.96);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.thanks-popup.is-visible div {
  transform: translateY(0) rotate(-2deg) scale(1);
}

.thanks-popup span {
  font-size: 0.82rem;
  font-weight: 900;
}

.thanks-popup strong {
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 900;
  line-height: 1;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  padding: 28px clamp(24px, 7vw, 110px);
  background: var(--red);
  color: #000;
  font-weight: 900;
}

.footer a {
  justify-self: end;
}

.footer small {
  grid-column: 1 / -1;
  justify-self: center;
  font-size: 0.72rem;
  font-weight: 800;
  opacity: 0.72;
}

.subpage {
  min-height: 100vh;
  background: #f5f2ec;
}

.subpage .brand-logo {
  width: 128px;
  filter: none;
}

.subpage .menu-button {
  color: #050505;
}

.company-hero {
  --company-content-width: 860px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: clamp(32px, 5vw, 58px);
  align-items: start;
  padding: clamp(118px, 9vw, 142px) clamp(28px, 6vw, 92px) clamp(76px, 8vw, 108px);
  background: #f5f2ec;
  color: #050505;
}

.company-top {
  display: grid;
  width: min(var(--company-content-width), 100%);
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3vw, 34px);
  align-items: start;
}

.company-title {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.company-title h1 {
  margin: 10px 0 0;
  color: #050505;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(3.2rem, 5.4vw, 5rem);
  font-weight: 700;
  line-height: 1.04;
  text-shadow: none;
}

.sns-subpage {
  background: #050505;
  color: #fff;
}

.sns-subpage::before {
  content: "";
  position: fixed;
  inset: -18vh -18vw;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 0, 80, 0.24), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(0, 242, 234, 0.16), transparent 24%),
    radial-gradient(circle at 76% 82%, rgba(131, 58, 180, 0.22), transparent 30%),
    linear-gradient(135deg, #020202, #0d0d0d 52%, #030303);
  animation: snsBackgroundDrift 18s ease-in-out infinite alternate;
}

.sns-subpage .brand-logo {
  filter: invert(1) drop-shadow(0 0 12px rgba(0, 0, 0, 0.65));
}

.sns-subpage .menu-button {
  color: #fff;
}

.sns-hero {
  min-height: 74vh;
  display: grid;
  align-items: end;
  padding: clamp(130px, 11vw, 180px) clamp(24px, 7vw, 110px) clamp(78px, 8vw, 118px);
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.5)),
    url("./assets/hokuriku-sns.jpg") center / cover;
  color: #fff;
  overflow: hidden;
}

.sns-hero-copy {
  max-width: 1040px;
  transform: rotate(-4deg);
  transform-origin: left center;
}

.sns-hero-copy .eyebrow,
.sns-section-head .eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: clamp(0.78rem, 1vw, 1rem);
  font-weight: 900;
}

.sns-hero-copy h1 {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: clamp(3.6rem, 9.5vw, 9.8rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
}

.sns-hero-copy > p:last-child {
  max-width: 680px;
  margin: clamp(26px, 4vw, 42px) 0 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.9;
}

.sns-channel-section {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(34px, 5vw, 68px);
  padding: clamp(84px, 9vw, 136px) clamp(24px, 7vw, 110px) clamp(92px, 10vw, 150px);
  background: transparent;
  color: #fff;
  overflow: hidden;
}

.sns-channel-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.055) 42.2% 42.8%, transparent 43%),
    linear-gradient(70deg, transparent 0 64%, rgba(255, 255, 255, 0.04) 64.2% 64.8%, transparent 65%);
  transform: translateX(-6%);
  animation: snsLineFlow 12s linear infinite;
}

.sns-section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
}

.sns-section-head h2 {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: clamp(2.35rem, 5.4vw, 5.4rem);
  font-weight: 900;
  line-height: 1;
}

.sns-platform-block {
  --platform-main: var(--red);
  --platform-sub: var(--violet);
  --platform-bg: #fff;
  --platform-text: #080808;
  --platform-card-bg:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.66)),
    radial-gradient(circle at 88% 12%, rgba(147, 44, 255, 0.2), transparent 34%),
    #fff;
  --platform-card-hover:
    linear-gradient(135deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.68)),
    radial-gradient(circle at 84% 16%, rgba(147, 44, 255, 0.4), transparent 38%),
    #080808;
  display: grid;
  gap: clamp(12px, 1.5vw, 18px);
  background: transparent;
  transform: skewY(-2.5deg);
  transform-origin: left center;
}

.sns-subpage .sns-platform-block.reveal {
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(var(--sns-enter-x, 0), var(--sns-enter-y, 74px), 0) rotate(var(--sns-enter-rotate, 4deg)) skewY(-2.5deg) scale(0.96);
  transition-duration: 1500ms;
}

.sns-subpage .sns-platform-block.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) rotate(0deg) skewY(-2.5deg) scale(1);
}

.sns-subpage .youtube-block {
  --sns-enter-x: -9vw;
  --sns-enter-y: 72px;
  --sns-enter-rotate: -5deg;
}

.sns-subpage .tiktok-block {
  --sns-enter-x: 9vw;
  --sns-enter-y: 76px;
  --sns-enter-rotate: 5deg;
}

.sns-subpage .instagram-block {
  --sns-enter-x: -6vw;
  --sns-enter-y: 88px;
  --sns-enter-rotate: -3deg;
}

.youtube-block {
  --platform-main: #b80018;
  --platform-sub: #fff;
  --platform-bg: linear-gradient(135deg, #6f000d 0%, #a80016 54%, #d01022 100%);
  --platform-text: #fff;
  --platform-title-icon: #fff;
  --platform-card-bg:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 239, 239, 0.78)),
    radial-gradient(circle at 88% 12%, rgba(255, 0, 51, 0.22), transparent 36%),
    #fff;
  --platform-card-hover:
    linear-gradient(135deg, rgba(255, 0, 51, 0.95), rgba(20, 0, 0, 0.84)),
    #ff0033;
}

.tiktok-block {
  --platform-main: #00f2ea;
  --platform-sub: #fff;
  --platform-bg:
    linear-gradient(90deg, #00f2ea 0 6px, #ff0050 6px 12px, transparent 12px),
    linear-gradient(135deg, #050505 0%, #121212 62%, #050505 100%);
  --platform-text: #fff;
  --platform-title-icon: #00f2ea;
  --platform-card-bg:
    linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(16, 16, 16, 0.82)),
    radial-gradient(circle at 84% 14%, rgba(0, 242, 234, 0.24), transparent 34%),
    radial-gradient(circle at 18% 84%, rgba(255, 0, 80, 0.22), transparent 32%),
    #050505;
  --platform-card-hover:
    linear-gradient(135deg, rgba(0, 242, 234, 0.24), rgba(255, 0, 80, 0.2)),
    #050505;
}

.instagram-block {
  --platform-main: #fff;
  --platform-sub: #fff;
  --platform-bg: linear-gradient(135deg, #405de6 0%, #833ab4 28%, #c13584 48%, #e1306c 66%, #fd1d1d 82%, #fcaf45 100%);
  --platform-text: #fff;
  --platform-title-icon: #fff;
  --platform-card-bg:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 251, 0.72)),
    radial-gradient(circle at 84% 14%, rgba(225, 48, 108, 0.22), transparent 34%),
    radial-gradient(circle at 12% 88%, rgba(131, 58, 180, 0.18), transparent 34%),
    #fff;
  --platform-card-hover:
    linear-gradient(135deg, rgba(131, 58, 180, 0.96), rgba(225, 48, 108, 0.86) 52%, rgba(252, 175, 69, 0.82)),
    #e1306c;
}

.sns-platform-title,
.sns-card-grid {
  transform: skewY(2.5deg);
}

.sns-platform-title {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(14px, 2vw, 24px);
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
  background: var(--platform-bg);
  color: var(--platform-text);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.18);
}

.sns-platform-title i {
  width: clamp(34px, 4vw, 52px);
  height: clamp(34px, 4vw, 52px);
  color: var(--platform-title-icon, var(--platform-main));
  stroke-width: 1.8;
}

.sns-platform-title h3 {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.7vw, 3.25rem);
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
}

.sns-platform-title span {
  color: var(--platform-sub);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 900;
}

.sns-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
}

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

.sns-channel-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto auto auto auto;
  align-content: stretch;
  gap: 0;
  padding: 0;
  color: #080808;
  text-decoration: none;
  background: var(--platform-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 260ms ease, background 260ms ease, color 260ms ease;
}

.sns-subpage .sns-channel-card {
  opacity: 0;
  transform: translate3d(var(--card-enter-x, 0), var(--card-enter-y, 44px), 0) rotate(var(--card-enter-rotate, 3deg)) scale(0.96);
  transition:
    opacity 1180ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1280ms cubic-bezier(0.16, 1, 0.3, 1),
    background 260ms ease,
    color 260ms ease;
  transition-delay: calc(var(--reveal-delay, 0ms) + var(--card-delay, 0ms));
}

.sns-platform-block.is-visible .sns-channel-card {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

.sns-channel-card:nth-child(1) {
  --card-enter-x: -34px;
  --card-enter-y: 54px;
  --card-enter-rotate: -5deg;
  --card-delay: 70ms;
}

.sns-channel-card:nth-child(2) {
  --card-enter-x: 0;
  --card-enter-y: 74px;
  --card-enter-rotate: 4deg;
  --card-delay: 170ms;
}

.sns-channel-card:nth-child(3) {
  --card-enter-x: 34px;
  --card-enter-y: 52px;
  --card-enter-rotate: -3deg;
  --card-delay: 270ms;
}

.sns-channel-card::before {
  display: none;
}

.sns-channel-card::after {
  content: "↗";
  position: absolute;
  right: clamp(22px, 2.7vw, 38px);
  bottom: clamp(20px, 2.5vw, 34px);
  color: currentColor;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 900;
  line-height: 1;
  opacity: 0.42;
  transition: transform 260ms ease, opacity 260ms ease;
}

.sns-card-media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.1), transparent 48%),
    #070707;
}

.sns-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, 0.36)),
    linear-gradient(135deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.sns-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: clamp(8px, 1.2vw, 14px);
  filter: saturate(0.95) contrast(1.04);
  animation: snsImageBreathe 7s ease-in-out infinite alternate;
  transition: transform 520ms ease, filter 320ms ease;
}

.tiktok-block .sns-channel-card {
  color: #fff;
}

.sns-channel-card span {
  color: var(--platform-main);
  display: block;
  margin: clamp(20px, 2.5vw, 28px) clamp(20px, 2.5vw, 30px) 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.sns-channel-card h4 {
  margin: 0 clamp(20px, 2.5vw, 30px);
  font-size: clamp(1.25rem, 2.1vw, 2.45rem);
  font-weight: 900;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.sns-channel-card p {
  max-width: 78%;
  margin: 10px clamp(20px, 2.5vw, 30px) 0;
  color: currentColor;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 800;
  line-height: 1.45;
  opacity: 0.66;
}

.sns-channel-card b {
  display: inline-flex;
  width: fit-content;
  margin: clamp(18px, 2vw, 24px) clamp(20px, 2.5vw, 30px) clamp(22px, 2.7vw, 32px);
  padding-top: 10px;
  border-top: 1px solid currentColor;
  color: currentColor;
  font-size: 0.72rem;
  font-weight: 900;
  opacity: 0.82;
}

.sns-channel-card:hover {
  background: var(--platform-card-hover);
  color: #fff;
  transform: translateY(-8px) rotate(-0.6deg);
}

.sns-channel-card:hover .sns-card-media img {
  filter: saturate(1.12) contrast(1.12) brightness(0.9);
  transform: scale(1.035);
}

.sns-channel-card:hover span {
  color: #fff;
}

.sns-channel-card:hover::before {
  opacity: 0.48;
  transform: rotate(28deg) scale(1.14);
}

.sns-channel-card:hover::after {
  opacity: 1;
  transform: translate(5px, -5px);
}

.sns-subpage .footer {
  background: #000;
  color: #fff;
}

.sns-subpage .footer a {
  color: #fff;
}

@media (max-width: 820px) {
  .sns-hero {
    min-height: 62vh;
    padding-left: 24px;
    padding-right: 24px;
  }

  .sns-hero-copy {
    transform: rotate(-3deg);
  }

  .sns-channel-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .sns-section-head {
    display: grid;
    align-items: start;
  }

  .sns-platform-block {
    transform: skewY(-1.5deg);
  }

  .sns-subpage .sns-platform-block.reveal {
    transform: translate3d(var(--sns-enter-x, 0), var(--sns-enter-y, 58px), 0) rotate(var(--sns-enter-rotate, 3deg)) skewY(-1.5deg) scale(0.97);
  }

  .sns-subpage .sns-platform-block.reveal.is-visible {
    transform: translate3d(0, 0, 0) rotate(0deg) skewY(-1.5deg) scale(1);
  }

  .sns-platform-title,
  .sns-card-grid {
    transform: skewY(1.5deg);
  }

  .sns-platform-title {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
  }

  .sns-card-grid,
  .sns-card-grid-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sns-hero {
    min-height: 560px;
    padding-top: 112px;
    padding-bottom: 72px;
  }

  .sns-hero-copy h1 {
    font-size: clamp(3rem, 16vw, 4.7rem);
  }

  .sns-hero-copy > p:last-child {
    font-size: 0.95rem;
  }

  .sns-channel-section {
    gap: 34px;
    padding-top: 72px;
    padding-bottom: 84px;
  }

  .sns-section-head h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .sns-platform-title {
    padding: 22px;
  }

  .sns-platform-title i {
    width: 28px;
    height: 28px;
  }

  .sns-platform-title h3 {
    font-size: clamp(1.05rem, 6.4vw, 1.55rem);
  }


  .sns-channel-card {
    min-height: 158px;
  }
}

.company-profile-panel {
  display: grid;
  width: min(var(--company-content-width), 100%);
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
  padding: clamp(36px, 4.5vw, 58px);
  background: #fff;
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.1);
}

.company-message {
  min-width: 0;
  width: min(var(--company-content-width), 100%);
  padding: clamp(30px, 4vw, 46px);
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.message-label {
  margin: 0 0 18px;
  color: var(--red);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.company-message p {
  max-width: none;
  margin: 0;
  color: #050505;
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  font-weight: 700;
  line-height: 1.95;
  overflow-wrap: anywhere;
}

.company-signature {
  width: min(260px, 72vw);
  height: auto;
  margin: 0 0 clamp(20px, 3vw, 30px);
}

.company-concept-image {
  width: min(var(--company-content-width), 100%);
  margin: 0;
  overflow: hidden;
  background: #000;
}

.company-concept-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 28%;
  filter: none;
}

.company-table {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.company-table div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 34px;
  padding: 28px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
}

.company-table div:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
}

.company-table dt {
  color: var(--red);
  font-size: 1rem;
  font-weight: 800;
}

.company-table dd {
  margin: 0;
  color: #050505;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.company-table a {
  color: #050505;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.business-heading {
  display: block;
  margin: 0 0 8px;
  color: var(--red);
  font-size: 0.92em;
  font-weight: 800;
}

.business-heading:not(:first-child) {
  margin-top: 22px;
}

.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 78px, 0) rotate(1.2deg) scale(0.985);
  transform-origin: 50% 100%;
  transition:
    opacity 1180ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 1180ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1280ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes heroLineIn {
  0% {
    transform: translateX(110%) skewX(-10deg);
    filter: blur(10px);
    opacity: 0;
  }

  68% {
    filter: blur(0);
    opacity: 1;
  }

  100% {
    transform: translateX(0) skewX(0);
    filter: blur(0);
    opacity: 1;
  }
}

@keyframes heroRuleIn {
  0% {
    transform: scaleX(0);
  }

  48% {
    transform: scaleX(1);
  }

  100% {
    transform: scaleX(0.18);
  }
}

@keyframes glitchRedPulse {
  0%,
  8%,
  12%,
  30%,
  35%,
  62%,
  68%,
  100% {
    color: #fff;
    transform: translate(0, 0);
    text-shadow: 0.08em 0 rgba(255, 255, 255, 0.08);
  }

  9%,
  31%,
  63% {
    color: var(--red);
    transform: translate(-0.025em, 0.012em) skewX(-4deg);
    text-shadow: 0.06em 0 #fff, -0.06em 0 rgba(252, 16, 15, 0.78);
  }

  10%,
  33%,
  65% {
    color: #fff;
    transform: translate(0.02em, -0.012em) skewX(3deg);
    text-shadow: 0.08em 0 var(--red);
  }
}

@keyframes glitchSliceA {
  0%,
  8%,
  12%,
  30%,
  36%,
  62%,
  68%,
  100% {
    opacity: 0;
    transform: translate(0, 0);
  }

  9%,
  31%,
  63% {
    opacity: 0.95;
    transform: translate(-0.08em, 0.025em);
  }

  10%,
  34%,
  66% {
    opacity: 0.62;
    transform: translate(0.065em, -0.02em);
  }
}

@keyframes glitchSliceB {
  0%,
  8%,
  12%,
  30%,
  36%,
  62%,
  68%,
  100% {
    opacity: 0;
    transform: translate(0, 0);
  }

  9%,
  32%,
  64% {
    opacity: 0.9;
    transform: translate(0.07em, -0.025em);
  }

  11%,
  35%,
  67% {
    opacity: 0.52;
    transform: translate(-0.055em, 0.025em);
  }
}

@keyframes glitchVioletPulse {
  0%,
  8%,
  12%,
  30%,
  35%,
  62%,
  68%,
  100% {
    color: #fff;
    transform: translate(0, 0);
    text-shadow: 0.08em 0 rgba(255, 255, 255, 0.08);
  }

  9%,
  31%,
  63% {
    color: var(--violet);
    transform: translate(0.028em, -0.014em) skewX(4deg);
    text-shadow: 0.055em 0 #00d5ff, -0.055em 0 rgba(160, 32, 255, 0.85);
  }

  10%,
  33%,
  65% {
    color: #00d5ff;
    transform: translate(-0.02em, 0.012em) skewX(-3deg);
    text-shadow: 0.075em 0 var(--violet);
  }
}

@keyframes glitchVioletSliceA {
  0%,
  8%,
  12%,
  30%,
  36%,
  62%,
  68%,
  100% {
    opacity: 0;
    transform: translate(0, 0);
  }

  9%,
  31%,
  63% {
    opacity: 0.95;
    transform: translate(0.085em, -0.026em);
  }

  10%,
  34%,
  66% {
    opacity: 0.6;
    transform: translate(-0.065em, 0.02em);
  }
}

@keyframes glitchVioletSliceB {
  0%,
  8%,
  12%,
  30%,
  36%,
  62%,
  68%,
  100% {
    opacity: 0;
    transform: translate(0, 0);
  }

  9%,
  32%,
  64% {
    opacity: 0.9;
    transform: translate(-0.075em, 0.026em);
  }

  11%,
  35%,
  67% {
    opacity: 0.52;
    transform: translate(0.055em, -0.025em);
  }
}

@keyframes glitchRedPulseInk {
  0%,
  8%,
  12%,
  30%,
  35%,
  62%,
  68%,
  100% {
    color: #080808;
    transform: translate(0, 0);
    text-shadow: 0.08em 0 rgba(0, 0, 0, 0.08);
  }

  9%,
  31%,
  63% {
    color: var(--red);
    transform: translate(-0.025em, 0.012em) skewX(-4deg);
    text-shadow: 0.06em 0 #080808, -0.06em 0 rgba(252, 16, 15, 0.78);
  }

  10%,
  33%,
  65% {
    color: #080808;
    transform: translate(0.02em, -0.012em) skewX(3deg);
    text-shadow: 0.08em 0 var(--red);
  }
}

@keyframes snsBackgroundDrift {
  0% {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }

  100% {
    transform: translate3d(1.5%, 1%, 0) scale(1.04);
  }
}

@keyframes snsLineFlow {
  0% {
    transform: translateX(-8%);
  }

  100% {
    transform: translateX(8%);
  }
}

@keyframes snsImageBreathe {
  0% {
    transform: translate3d(-1.5%, -1%, 0) scale(0.985);
  }

  100% {
    transform: translate3d(1.5%, 1%, 0) scale(1.015);
  }
}

@keyframes hokurikuRedGlitch {
  0%,
  8%,
  13%,
  32%,
  37%,
  66%,
  71%,
  100% {
    color: #080808;
    transform: translate(0, 0);
  }

  9%,
  33%,
  67% {
    color: var(--red);
    transform: translate(0.025em, -0.012em) skewX(5deg);
  }

  11%,
  35%,
  69% {
    color: #080808;
    transform: translate(-0.018em, 0.01em) skewX(-4deg);
  }
}

@keyframes hokurikuBlueGlitch {
  0%,
  8%,
  13%,
  32%,
  37%,
  66%,
  71%,
  100% {
    color: #080808;
    transform: translate(0, 0);
  }

  9%,
  33%,
  67% {
    color: #00a9ff;
    transform: translate(0.025em, -0.012em) skewX(5deg);
  }

  11%,
  35%,
  69% {
    color: #080808;
    transform: translate(-0.018em, 0.01em) skewX(-4deg);
  }
}

@keyframes glitchVioletPulseInk {
  0%,
  8%,
  12%,
  30%,
  35%,
  62%,
  68%,
  100% {
    color: #080808;
    transform: translate(0, 0);
    text-shadow: 0.08em 0 rgba(0, 0, 0, 0.08);
  }

  9%,
  31%,
  63% {
    color: var(--violet);
    transform: translate(0.028em, -0.014em) skewX(4deg);
    text-shadow: 0.055em 0 #00d5ff, -0.055em 0 rgba(160, 32, 255, 0.85);
  }

  10%,
  33%,
  65% {
    color: #00a9d8;
    transform: translate(-0.02em, 0.012em) skewX(-3deg);
    text-shadow: 0.075em 0 var(--violet);
  }
}

@media (max-width: 980px) {
  .side-index {
    display: none;
  }

  .hero-copy-block {
    right: 24px;
    bottom: 18vh;
    width: min(640px, calc(100vw - 156px));
  }

  .hero-bottom {
    left: 148px;
    right: 24px;
  }

  .about-grid,
  .contact,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .member-rail,
  .work-showcase {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --rail-width: 64px;
  }

  .loader-mark strong {
    font-size: 2rem;
  }

  .site-header {
    top: 12px;
    left: 10px;
    right: 12px;
  }

  .brand-logo {
    width: 86px;
  }

  .menu-button,
  .menu-glyph {
    width: 30px;
  }

  .menu-glyph::before,
  .menu-glyph::after {
    width: 30px;
  }

  .menu-button {
    height: 34px;
  }

  .menu-glyph {
    height: 30px;
  }

  .section-panel {
    min-height: auto;
    padding: 92px 20px;
  }

  .hero {
    min-height: 0;
    height: calc((100vw - var(--rail-width)) * 9 / 16);
    padding: 0;
  }

  .hero-video-frame {
    left: var(--rail-width);
    top: 0;
    width: calc(100vw - var(--rail-width));
    max-width: none;
    aspect-ratio: 16 / 9;
  }

  .hero-video-frame::after {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent 22%, transparent 72%, rgba(0, 0, 0, 0.24)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.1), transparent 26%, transparent 72%, rgba(0, 0, 0, 0.2));
  }

  .signal-one {
    width: var(--rail-width);
  }

  .signal-one::before {
    display: none;
  }

  .signal-one::after {
    display: none;
  }

  .hero-copy-block {
    left: 96px;
    right: 18px;
    bottom: 33vh;
    width: auto;
    text-align: left;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5.2rem);
  }

  .hero-copy-block h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 10.4vw, 3.1rem);
    overflow-wrap: anywhere;
  }

  .hero-lines {
    min-width: 0;
    justify-items: start;
    gap: 7px;
  }

  .hero-lines > span:nth-child(2) em,
  .hero-lines > span:nth-child(3) em {
    margin-right: 0;
  }

  .hero-lines > span::after {
    height: 3px;
    transform-origin: left;
  }

  .hero-bottom {
    display: none;
  }

  .circle-link {
    justify-self: end;
    width: min(150px, 52vw);
    min-height: 42px;
    font-size: 0.82rem;
    background: rgba(0, 0, 0, 0.62);
  }

  .marquee {
    width: calc(100% - var(--rail-width));
    margin-left: var(--rail-width);
  }

  .marquee span {
    padding: 10px 24px;
    font-size: 2rem;
  }

  .menu-button {
    position: fixed;
    top: 16px;
    right: 12px;
    z-index: 210;
    background: rgba(0, 0, 0, 0.32);
  }

  .member-rail,
  .work-showcase {
    grid-template-columns: 1fr;
  }

  .work-card:first-child {
    grid-row: auto;
  }

  .work-showcase {
    grid-auto-rows: minmax(320px, 92vw);
  }

  .footer {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 22px 16px;
    font-size: clamp(0.62rem, 3vw, 0.8rem);
  }

  .footer a {
    justify-self: end;
  }

  .footer span:first-child {
    justify-self: start;
  }

  .footer span:nth-child(2) {
    justify-self: center;
    white-space: nowrap;
  }

  .footer small {
    grid-column: 1 / -1;
    justify-self: center;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(0.58rem, 2.7vw, 0.72rem);
  }

  .overlay-menu p {
    left: 50%;
    bottom: 22px;
    width: max-content;
    max-width: calc(100vw - 24px);
    font-size: clamp(0.72rem, 3.6vw, 0.95rem);
    transform: translateX(-50%);
    white-space: nowrap;
  }

  .company-hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 48px;
    padding-top: 118px;
    overflow-x: hidden;
  }

  .company-top,
  .company-profile-panel {
    grid-template-columns: 1fr;
  }

  .company-title,
  .company-top,
  .company-profile-panel,
  .company-message,
  .company-table,
  .company-table div,
  .company-table dd {
    min-width: 0;
    max-width: 100%;
  }

  .company-title h1 {
    font-size: clamp(3rem, 14vw, 4.2rem);
    line-height: 1;
  }

  .company-concept-image {
    width: 100%;
  }

  .company-message p {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .company-message {
    padding: 28px;
  }

  .company-profile-panel {
    padding: 28px;
  }

  .company-signature {
    width: min(240px, 70vw);
  }

  .company-table div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }

  .company-table dd {
    font-size: 1rem;
    word-break: break-all;
  }
}

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

  .loader {
    display: none;
  }
}

/* Reference-style LP: diagonal layout, bold type, monochrome imagery. */
:root {
  --violet: #a020ff;
  --paper: #f4f1eb;
}

body:not(.subpage) {
  background: #000;
}

body:not(.subpage) .site-header {
  top: clamp(18px, 3vw, 34px);
  left: clamp(24px, 5vw, 52px);
  right: clamp(18px, 4vw, 44px);
}

body:not(.subpage) .brand::after {
  content: "BBELIEVE INC.";
  color: #fff;
  font-size: clamp(0.78rem, 1.2vw, 1rem);
  font-weight: 900;
}

body:not(.subpage) .brand-logo {
  display: none;
}

body:not(.subpage) .menu-button {
  width: auto;
  min-width: 78px;
  gap: 10px;
  color: #fff;
}

body:not(.subpage) .menu-text {
  display: inline;
  color: currentColor;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

body:not(.subpage) .menu-glyph,
body:not(.subpage) .menu-glyph::before,
body:not(.subpage) .menu-glyph::after {
  width: 26px;
  border-top-width: 2px;
}

body:not(.subpage) .menu-glyph {
  height: 24px;
}

body:not(.subpage) .menu-glyph::before {
  top: 8px;
}

body:not(.subpage) .menu-glyph::after {
  top: 18px;
}

body:not(.subpage) .section-panel {
  min-height: auto;
}

.signal-promo {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  margin-top: clamp(-64px, -5vw, -28px);
  padding: clamp(88px, 9vw, 142px) clamp(24px, 7vw, 110px) clamp(104px, 11vw, 168px);
  background:
    linear-gradient(116deg, rgba(0, 0, 0, 0.96) 0 42%, rgba(252, 16, 15, 0.82) 42.2% 45.8%, transparent 46%),
    linear-gradient(116deg, transparent 0 34%, rgba(252, 16, 15, 0.18) 34.2% 39%, transparent 39.2%),
    radial-gradient(circle at 84% 30%, rgba(160, 32, 255, 0.28), transparent 28%),
    linear-gradient(135deg, #060606 0%, #111 58%, #030303 100%);
  color: #fff;
  clip-path: polygon(0 7vw, 100% 0, 100% calc(100% - 7vw), 0 100%);
  overflow: hidden;
}

.signal-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 8vw),
    linear-gradient(111deg, transparent 0 62%, rgba(244, 241, 235, 0.14) 62.2% 71%, transparent 71.2%);
  pointer-events: none;
}

.signal-promo-copy,
.signal-promo-visual {
  position: relative;
  z-index: 2;
}

.signal-logo {
  width: min(520px, 100%);
  height: auto;
  margin: 0 0 clamp(20px, 2.8vw, 34px);
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.34));
}

.signal-promo-copy h2 {
  margin: 0;
  color: #fff;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: clamp(2.7rem, 5.8vw, 6.4rem);
  font-weight: 900;
  line-height: 0.98;
}

.signal-promo-copy h2 span {
  display: block;
  white-space: nowrap;
}

.signal-promo-copy .glitch-word {
  color: #fff;
  animation-name: glitchRedPulse;
}

.signal-promo-copy .glitch-word::before {
  color: var(--red);
  animation-name: glitchSliceA;
}

.signal-promo-copy .glitch-word::after {
  color: #fff;
  text-shadow: 0.035em 0 var(--red);
  animation-name: glitchSliceB;
}

.signal-promo-copy .signal-glitch-blue {
  animation-name: glitchVioletPulse;
  animation-delay: 0.45s;
}

.signal-promo-copy .signal-glitch-blue::before {
  color: #00d5ff;
  animation-name: glitchVioletSliceA;
  animation-delay: 0.45s;
}

.signal-promo-copy .signal-glitch-blue::after {
  color: #fff;
  text-shadow: 0.035em 0 #00d5ff;
  animation-name: glitchVioletSliceB;
  animation-delay: 0.45s;
}

.signal-promo-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: clamp(18px, 2.5vw, 30px) 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  font-weight: 800;
  line-height: 1.9;
}

.promo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-height: 56px;
  margin-top: clamp(22px, 3vw, 34px);
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: #fff;
  color: #080808;
  font-weight: 900;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.promo-button:hover,
.promo-button:focus-visible {
  background: #080808;
  color: #fff;
  transform: translateY(-3px);
}

.promo-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.3;
}

.signal-promo-visual {
  margin: 0;
  transform: skewY(-6deg);
  transform-origin: 50% 50%;
}

.signal-promo-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.signal-device {
  position: absolute;
  inset: 6% 6% 8% 4%;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(26px, 4vw, 46px);
  border: 10px solid #111;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 72% 28%, rgba(160, 32, 255, 0.54), transparent 34%),
    #f4f1eb;
  color: #080808;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.signal-device span,
.signal-device strong {
  display: block;
  font-size: clamp(2.7rem, 7vw, 7.4rem);
  font-weight: 900;
  line-height: 0.82;
}

.signal-device strong {
  color: var(--red);
}

.signal-device em {
  width: fit-content;
  margin-top: clamp(16px, 2vw, 28px);
  padding: 8px 12px;
  background: #080808;
  color: #fff;
  font-style: normal;
  font-size: clamp(0.82rem, 1.5vw, 1.2rem);
  font-weight: 900;
}

.signal-chip {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 104px;
  min-height: 46px;
  padding: 6px 18px;
  background: var(--violet);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}

.signal-chip-a {
  top: 2%;
  left: -2%;
}

.signal-chip-b {
  right: 0;
  top: 36%;
  background: var(--red);
}

.signal-chip-c {
  left: 14%;
  bottom: 1%;
  background: #080808;
}

body:not(.subpage) .hero {
  height: clamp(680px, 75vw, 1080px);
  min-height: 100svh;
  overflow: hidden;
  background: #030303;
}

body:not(.subpage) .hero::after {
  z-index: 1;
  background:
    linear-gradient(111deg, rgba(0, 0, 0, 0) 0 52%, var(--paper) 52.2% 61.5%, rgba(0, 0, 0, 0) 61.8%),
    linear-gradient(111deg, rgba(0, 0, 0, 0) 0 64%, rgba(255, 255, 255, 0.14) 64.2% 71%, rgba(0, 0, 0, 0) 71.2%),
    radial-gradient(circle at 74% 44%, rgba(160, 32, 255, 0.15), transparent 22%);
}

body:not(.subpage) .hero-video-frame {
  left: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  opacity: 0.38;
  transform: skewY(-8deg) translateY(-8%);
  transform-origin: 0 0;
}

body:not(.subpage) .hero-video {
  filter: grayscale(1) contrast(1.25) brightness(0.62);
}

.hero-person {
  position: absolute;
  right: clamp(-12px, 3vw, 58px);
  bottom: 0;
  z-index: 5;
  width: min(520px, 40vw);
  margin: 0;
  aspect-ratio: 0.92;
  overflow: hidden;
  background: #111;
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  transform: skewY(-8deg) translateY(1%);
  transform-origin: 50% 100%;
  box-shadow: -34px 0 0 rgba(255, 255, 255, 0.06);
}

.hero-person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% top;
  filter: grayscale(1) contrast(1.18) brightness(0.9);
  transform: skewY(8deg) scale(1.12) translateY(-2%);
  transform-origin: 50% 100%;
}

.hero-side-note {
  position: absolute;
  top: 18%;
  right: clamp(22px, 6vw, 96px);
  z-index: 6;
  margin: 0;
  color: #fff;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  font-weight: 900;
  line-height: 1.9;
  writing-mode: vertical-rl;
}

body:not(.subpage) .hero-bottom {
  display: grid;
  left: clamp(24px, 6vw, 88px);
  right: clamp(18px, 10vw, 180px);
  top: 20%;
  bottom: auto;
  z-index: 6;
  max-width: none;
  gap: clamp(24px, 5vw, 48px);
}

.hero-message h1 {
  display: grid;
  gap: clamp(8px, 1.4vw, 18px);
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: clamp(3.2rem, 9vw, 9.4rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 10px 10px 0 rgba(255, 255, 255, 0.12);
  transform: rotate(-16deg);
  transform-origin: left center;
}

.hero-message h1 span {
  display: block;
}

.glitch-word {
  position: relative;
  display: inline-block;
  color: #fff;
  font-style: normal;
  animation: glitchRedPulse 3.2s steps(1, end) infinite;
}

.glitch-word::before,
.glitch-word::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.glitch-word::before {
  color: var(--red);
  transform: translate(-0.045em, 0.018em);
  clip-path: inset(0 0 58% 0);
  animation: glitchSliceA 3.2s steps(1, end) infinite;
}

.glitch-word::after {
  color: #fff;
  text-shadow: 0.035em 0 var(--red);
  transform: translate(0.05em, -0.02em);
  clip-path: inset(46% 0 0 0);
  animation: glitchSliceB 3.2s steps(1, end) infinite;
}

.glitch-word-alt {
  animation-name: glitchVioletPulse;
  animation-delay: 0.45s;
}

.glitch-word-alt::before {
  color: var(--violet);
  animation-name: glitchVioletSliceA;
  animation-delay: 0.45s;
}

.glitch-word-alt::after {
  color: #fff;
  text-shadow: 0.035em 0 #00d5ff;
  animation-name: glitchVioletSliceB;
  animation-delay: 0.45s;
}

.diagonal-white .glitch-word {
  color: #080808;
  animation-name: glitchRedPulseInk;
}

.diagonal-white .glitch-word::after {
  color: #080808;
}

.diagonal-white .glitch-word-alt {
  animation-name: glitchVioletPulseInk;
}

.diagonal-white .glitch-word-alt::after {
  color: #080808;
}

body:not(.subpage) .circle-link {
  border-color: currentColor;
  background: rgba(0, 0, 0, 0.3);
}

.diagonal-white {
  position: relative;
  z-index: 4;
  margin-top: clamp(-92px, -7vw, -44px);
  padding: clamp(86px, 11vw, 150px) clamp(24px, 6vw, 88px);
  background: var(--paper);
  color: #080808;
  clip-path: polygon(0 12vw, 100% 0, 100% calc(100% - 10vw), 0 100%);
}

.diagonal-black {
  position: relative;
  z-index: 3;
  margin-top: clamp(-70px, -6vw, -32px);
  padding: clamp(96px, 11vw, 150px) clamp(24px, 6vw, 88px);
  background: #000;
  color: #fff;
  clip-path: polygon(0 8vw, 100% 0, 100% calc(100% - 6vw), 0 100%);
}

.diagonal-white .section-heading,
.diagonal-white .section-heading h2,
.diagonal-white .about-text,
.diagonal-white .member-card p {
  color: #080808;
}

.diagonal-white .section-kicker,
.diagonal-white .section-number,
.diagonal-white .eyebrow {
  color: var(--violet);
}

.service-inner {
  display: grid;
  gap: clamp(34px, 6vw, 62px);
  transform: rotate(-4.2deg);
  transform-origin: 50% 50%;
}

.service .section-heading {
  margin: 0;
  align-items: center;
}

.service .section-heading h2,
.diagonal-black .section-heading h2,
.about-reference h2,
.contact h2 {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: clamp(2.6rem, 7vw, 7rem);
  font-weight: 900;
  line-height: 0.98;
}

.service .section-heading h2 {
  white-space: nowrap;
  font-size: clamp(2.3rem, 5.8vw, 6.2rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: end;
  padding-top: clamp(12px, 2vw, 28px);
}

.service-item {
  display: grid;
  justify-items: center;
  gap: 12px;
  color: #080808;
  text-align: center;
}

.service-item svg {
  width: clamp(34px, 4vw, 54px);
  height: clamp(34px, 4vw, 54px);
  color: var(--violet);
  stroke-width: 1.8;
}

.service-item span {
  color: var(--violet);
  font-size: clamp(0.86rem, 1.8vw, 1.6rem);
  font-weight: 900;
}

.service-item p {
  margin: 0;
  color: #111;
  font-size: 0.78rem;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(22px, 4vw, 44px) clamp(16px, 3vw, 34px);
  }

  .service-item {
    grid-column: span 2;
  }

  .service-item:nth-child(4) {
    grid-column: 2 / span 2;
  }

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

.work .section-heading {
  margin-bottom: clamp(54px, 8vw, 112px);
  transform: rotate(-5deg);
  transform-origin: left center;
}

.work .section-heading h2 {
  max-width: min(1120px, 88vw);
}

.work-title-line {
  display: block;
  white-space: nowrap;
}

.work .section-kicker,
.work .section-number {
  color: var(--violet);
}

.work-strip {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(210px, 24vw, 360px);
  gap: 0;
  margin-top: clamp(10px, 2vw, 30px);
  transform: skewY(-8deg);
  transform-origin: left center;
}

.work-strip .work-card {
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.work-strip .work-card:first-child {
  grid-row: auto;
}

.work-strip .work-card img {
  filter: saturate(1.1) contrast(1.18) brightness(0.72) hue-rotate(210deg);
  transform: skewY(8deg) scale(1.2);
}

.work-strip .work-card::before {
  background: rgba(160, 32, 255, 0.38);
}

.work-strip .work-card div {
  transform: skewY(8deg);
}

.work-card span {
  color: var(--violet);
}

.about-reference {
  margin-top: clamp(-54px, -4vw, -24px);
}

.about-reference .about-grid {
  grid-template-columns: minmax(0, 0.74fr) minmax(320px, 0.6fr);
  gap: clamp(30px, 8vw, 110px);
  align-items: center;
}

.about-reference .about-headline h2 {
  color: #080808;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: clamp(2.2rem, 5vw, 5.6rem);
}

.about-reference .about-text p {
  color: #111;
  font-weight: 900;
  line-height: 2;
}

.about-video-collage {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  min-height: clamp(440px, 44vw, 660px);
  transform: skewY(-10deg);
  transform-origin: 50% 50%;
}

.about-video {
  position: absolute;
  display: block;
  overflow: hidden;
  object-fit: cover;
  filter: grayscale(1) contrast(1.2) brightness(0.88);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22);
}

.about-video-a {
  left: 3%;
  top: 4%;
  z-index: 3;
  width: 48%;
  aspect-ratio: 0.74;
}

.about-video-b {
  right: 0;
  top: 0;
  z-index: 2;
  width: 42%;
  aspect-ratio: 1.1;
}

.about-video-c {
  left: 39%;
  top: 36%;
  z-index: 4;
  width: 55%;
  aspect-ratio: 1.28;
}

.about-video-d {
  left: 0;
  bottom: 1%;
  z-index: 1;
  width: 38%;
  aspect-ratio: 1;
}

.about-video-e {
  right: 10%;
  bottom: 0;
  z-index: 5;
  width: 30%;
  aspect-ratio: 0.82;
}

.text-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  color: #080808;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.text-link svg {
  width: 20px;
  height: 20px;
}

body:not(.subpage) .contact {
  margin-top: clamp(-46px, -4vw, -22px);
  padding: clamp(110px, 12vw, 170px) clamp(24px, 7vw, 110px) clamp(76px, 8vw, 110px);
  background: #000;
  clip-path: polygon(0 8vw, 100% 0, 100% 100%, 0 100%);
}

.hokuriku-section {
  position: relative;
  z-index: 5;
  margin-top: clamp(-42px, -4vw, -20px);
  padding: clamp(118px, 12vw, 180px) clamp(24px, 7vw, 110px) clamp(116px, 11vw, 170px);
  background: var(--paper);
  color: #080808;
  clip-path: polygon(0 7vw, 100% 0, 100% calc(100% - 7vw), 0 100%);
  overflow: hidden;
}

.hokuriku-copy {
  display: grid;
  gap: clamp(12px, 2vw, 22px);
  max-width: 1060px;
  margin: 0 0 clamp(44px, 6vw, 86px);
  transform: rotate(-8deg);
  transform-origin: left center;
}

.hokuriku-copy .eyebrow {
  margin: 0;
  color: var(--violet);
  font-size: clamp(0.78rem, 1vw, 1rem);
  font-weight: 900;
  letter-spacing: 0;
}

.hokuriku-copy h2 {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: clamp(3rem, 8vw, 8.4rem);
  font-weight: 900;
  line-height: 0.95;
  text-wrap: balance;
}

.hokuriku-glitch {
  position: relative;
  display: inline-block;
  color: #080808;
  animation: hokurikuRedGlitch 3.3s steps(1, end) infinite;
}

.hokuriku-glitch::before,
.hokuriku-glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.hokuriku-glitch::before {
  color: var(--red);
  transform: translate(-0.045em, 0.016em);
  clip-path: inset(0 0 58% 0);
  animation: glitchSliceA 3.3s steps(1, end) infinite;
}

.hokuriku-glitch::after {
  color: #080808;
  text-shadow: 0.04em 0 var(--red);
  transform: translate(0.045em, -0.018em);
  clip-path: inset(46% 0 0 0);
  animation: glitchSliceB 3.3s steps(1, end) infinite;
}

.hokuriku-glitch-blue {
  animation-name: hokurikuBlueGlitch;
  animation-delay: 0.45s;
}

.hokuriku-glitch-blue::before {
  color: #00a9ff;
  animation-name: glitchVioletSliceA;
  animation-delay: 0.45s;
}

.hokuriku-glitch-blue::after {
  text-shadow: 0.04em 0 #00a9ff;
  animation-name: glitchVioletSliceB;
  animation-delay: 0.45s;
}

.hokuriku-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(8, 8, 8, 0.16);
  border: 1px solid rgba(8, 8, 8, 0.16);
  transform: skewY(-4deg);
  transform-origin: left center;
}

.hokuriku-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  min-height: clamp(190px, 22vw, 320px);
  display: grid;
  align-content: end;
  gap: clamp(14px, 2vw, 24px);
  padding: clamp(24px, 4vw, 52px);
  background: #080808;
  color: #fff;
  transition: color 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hokuriku-card::before,
.hokuriku-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hokuriku-card::before {
  background-position: center;
  background-size: cover;
  filter: grayscale(0.1) saturate(1.08) contrast(1.08) brightness(0.72);
  transform: scale(1.08);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), filter 0.75s ease;
}

.hokuriku-card::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.82)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.08));
  transition: opacity 0.55s ease, background 0.55s ease;
}

.hokuriku-card:nth-child(1)::before {
  background-image: url("./assets/hokuriku-sns.jpg");
  background-position: center 42%;
}

.hokuriku-card:nth-child(2)::before {
  background-image: url("./assets/hokuriku-vtuber.jpg");
  background-position: center 48%;
}

.hokuriku-card:nth-child(3)::before {
  background-image: url("./assets/hokuriku-streamer.jpg");
  background-position: center 40%;
}

.hokuriku-card > * {
  transform: skewY(4deg);
}

.hokuriku-card p {
  margin: 0;
  color: #b347ff;
  font-size: clamp(0.76rem, 1.1vw, 1rem);
  font-weight: 900;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.hokuriku-card h3 {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 0.45s ease;
}

.hokuriku-card:nth-child(2) p {
  color: var(--red);
}

.hokuriku-card:not(a) {
  cursor: default;
}

.hokuriku-card:hover,
.hokuriku-card:focus-within {
  color: #fff;
  transform: translateY(-10px);
}

.hokuriku-card:hover::before,
.hokuriku-card:focus-within::before {
  filter: grayscale(0) saturate(1.35) contrast(1.18) brightness(0.76);
  transform: scale(1.18) translateY(-2%);
}

.hokuriku-card:hover::after,
.hokuriku-card:focus-within::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.34) 44%, rgba(0, 0, 0, 0.78)),
    linear-gradient(90deg, rgba(147, 44, 255, 0.36), rgba(255, 23, 23, 0.12));
}

.hokuriku-card:hover h3,
.hokuriku-card:focus-within h3 {
  transform: skewY(4deg) translateX(10px);
  text-shadow: 2px 0 0 rgba(255, 23, 23, 0.72), -2px 0 0 rgba(147, 44, 255, 0.68);
}

body:not(.subpage) .contact .section-kicker,
body:not(.subpage) .contact .section-number {
  color: var(--violet);
}

body:not(.subpage) .contact-form {
  background: transparent;
}

body:not(.subpage) .submit-button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
}

body:not(.subpage) .footer {
  background: #000;
  color: #fff;
  place-items: center;
  font-size: 0.8rem;
}

@media (max-width: 820px) {
  body:not(.subpage) .hero {
    height: 730px;
    min-height: 680px;
  }

  body:not(.subpage) .brand::after {
    font-size: 0.78rem;
  }

  .hero-message h1 {
    font-size: clamp(2.65rem, 12vw, 5.4rem);
    transform: rotate(-14deg);
  }

  .hero-person {
    right: -30px;
    bottom: 0;
    width: 70vw;
  }

  .hero-side-note {
    display: block;
    top: auto;
    right: 20px;
    bottom: 118px;
    max-width: 220px;
    padding: 0 0 0 14px;
    border-left: 3px solid var(--red);
    font-size: 0.78rem;
    line-height: 1.65;
    text-align: right;
    writing-mode: horizontal-tb;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.88);
  }

  body:not(.subpage) .hero-bottom {
    display: grid;
    top: 19%;
    left: 24px;
    right: 18px;
  }

  .signal-promo {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .signal-promo-visual {
    width: min(100%, 520px);
    justify-self: center;
  }

  .diagonal-white,
  .diagonal-black,
  .hokuriku-section,
  body:not(.subpage) .contact {
    clip-path: polygon(0 7vw, 100% 0, 100% calc(100% - 7vw), 0 100%);
    padding-left: 24px;
    padding-right: 24px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 18px;
  }

  .service-item,
  .service-item:nth-child(4),
  .service-item:nth-child(5) {
    grid-column: auto;
  }

  .service-inner {
    transform: rotate(-3deg);
  }

  .service-item:last-child {
    grid-column: 1 / -1;
  }

  .work-strip {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 210px;
    margin-top: 34px;
  }

  .about-reference .about-grid {
    grid-template-columns: 1fr;
  }

  .about-video-collage {
    grid-column: auto;
    grid-row: auto;
    min-height: 520px;
  }

  .hokuriku-grid {
    grid-template-columns: 1fr;
    transform: skewY(-3deg);
  }

  .hokuriku-card > * {
    transform: skewY(3deg);
  }

  .hokuriku-card:hover,
  .hokuriku-card:focus-within {
    transform: translateY(-4px);
  }

  .hokuriku-card:hover h3,
  .hokuriku-card:focus-within h3 {
    transform: skewY(3deg) translateX(6px);
  }
}

@media (max-width: 640px) {
  body:not(.subpage) .site-header {
    top: 18px;
    left: 22px;
    right: 18px;
  }

  body:not(.subpage) .menu-button {
    top: 18px;
    right: 18px;
    min-width: 68px;
  }

  body:not(.subpage) .menu-glyph,
  body:not(.subpage) .menu-glyph::before,
  body:not(.subpage) .menu-glyph::after {
    width: 22px;
  }

  .hero-message h1 {
    font-size: clamp(2.55rem, 13vw, 4.7rem);
  }

  .hero-side-note {
    right: 18px;
    bottom: 96px;
    max-width: 176px;
    font-size: 0.68rem;
    line-height: 1.55;
  }

  body:not(.subpage) .circle-link {
    width: 152px;
    min-height: 46px;
    font-size: 0.82rem;
  }

  body:not(.subpage) .hero-message .circle-link {
    justify-self: center;
    margin-inline: auto;
  }

  .signal-promo {
    margin-top: -26px;
    padding-top: 92px;
    padding-bottom: 104px;
  }

  .signal-promo-copy h2 {
    font-size: clamp(2.25rem, 11vw, 3.8rem);
    line-height: 1.03;
  }

  .signal-promo-copy > p:not(.eyebrow) {
    font-size: 0.94rem;
    line-height: 1.8;
  }

  .promo-button {
    min-height: 50px;
    padding: 0 18px;
    font-size: 0.88rem;
  }

  .signal-promo-visual {
    transform: skewY(-4deg);
  }

  .signal-device {
    inset: 4% 4% 9%;
    border-width: 7px;
  }

  .signal-device span,
  .signal-device strong {
    font-size: clamp(2.3rem, 13vw, 4.4rem);
  }

  .signal-chip {
    min-width: 82px;
    min-height: 38px;
    padding: 6px 12px;
    font-size: 0.72rem;
  }

  .service .section-heading,
  .diagonal-black .section-heading {
    grid-template-columns: 1fr;
  }

  .work .section-heading {
    margin-bottom: 44px;
    transform: rotate(-4deg);
  }

  .work .section-heading h2 {
    font-size: clamp(1.25rem, 5.6vw, 2.2rem);
    line-height: 1.04;
  }

  .service .section-heading h2,
  .diagonal-black .section-heading h2,
  .about-reference h2,
  .contact h2 {
    font-size: clamp(2.35rem, 13vw, 4.2rem);
  }

  .service .section-heading h2 {
    font-size: clamp(1.35rem, 6.2vw, 2.35rem);
  }

  .service-inner {
    transform: rotate(-2.2deg);
  }

  .about-reference .about-headline h2 {
    max-width: 100%;
    font-size: clamp(2.05rem, 10vw, 3.2rem);
    overflow-wrap: anywhere;
  }

  .about-reference .about-text p {
    font-size: 0.92rem;
  }

  .about-video-collage {
    display: block;
    position: relative;
    min-height: 520px;
    transform: skewY(-7deg);
  }

  .about-video {
    position: absolute;
    height: auto;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  }

  .about-video-a {
    left: 0;
    top: 4%;
    z-index: 3;
    width: 54%;
    aspect-ratio: 0.78;
  }

  .about-video-b {
    right: 0;
    top: 0;
    z-index: 2;
    width: 45%;
    aspect-ratio: 1.08;
  }

  .about-video-c {
    left: 26%;
    top: 30%;
    z-index: 5;
    width: 66%;
    aspect-ratio: 1.36;
  }

  .about-video-d {
    left: 4%;
    bottom: 7%;
    z-index: 1;
    width: 43%;
    aspect-ratio: 1;
  }

  .about-video-e {
    right: 4%;
    bottom: 0;
    z-index: 4;
    width: 40%;
    aspect-ratio: 0.86;
  }

  .work-strip {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
    margin-top: 26px;
  }

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

  .work-card h3 {
    font-size: 1rem;
  }

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

/* Requested advertising section and color swaps for 04 / 05. */
.ad-section {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: clamp(32px, 7vw, 100px);
  align-items: start;
  margin-top: clamp(-54px, -4vw, -24px);
  padding: clamp(96px, 12vw, 168px) clamp(24px, 7vw, 110px) clamp(136px, 13vw, 210px);
  background: var(--paper);
  color: #080808;
  clip-path: polygon(0 7vw, 100% 0, 100% calc(100% - 7vw), 0 100%);
}

.ad-copy {
  position: relative;
  z-index: 2;
}

.ad-copy h2 {
  margin: 0;
  color: #080808;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 900;
  line-height: 0.98;
}

.ad-copy p:last-child {
  margin: clamp(18px, 3vw, 32px) 0 0;
  color: #080808;
  font-size: clamp(1.25rem, 2.4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.35;
}

.ad-copy .glitch-word {
  color: #080808;
  animation-name: glitchVioletPulseInk;
}

.ad-copy .glitch-word::after {
  color: #080808;
}

.ad-copy .ad-glitch-red {
  color: #080808;
  animation-name: glitchRedPulseInk;
}

.ad-copy .ad-glitch-red::before {
  color: var(--red);
  animation-name: glitchSliceA;
}

.ad-copy .ad-glitch-red::after {
  color: #080808;
  text-shadow: 0.035em 0 var(--red);
  animation-name: glitchSliceB;
}

.ad-visuals {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
  align-items: start;
  transform: skewY(-5deg);
  transform-origin: 50% 50%;
}

.ad-item {
  display: grid;
  gap: 14px;
  margin: 0;
}

.ad-item img,
.ad-item video {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: none;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.ad-item:nth-child(2) {
  transform: translateY(clamp(18px, 3vw, 38px));
}

.ad-item figcaption {
  color: #080808;
  font-size: clamp(1rem, 1.7vw, 1.45rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.ad-item:nth-child(2) figcaption {
  color: var(--red);
}

body:not(.subpage) .about-reference {
  background: #000;
  color: #fff;
}

body:not(.subpage) .about-reference .eyebrow,
body:not(.subpage) .about-reference .section-kicker,
body:not(.subpage) .about-reference .section-number {
  color: var(--violet);
}

body:not(.subpage) .about-reference .about-headline h2,
body:not(.subpage) .about-reference .about-text,
body:not(.subpage) .about-reference .about-text p,
body:not(.subpage) .about-reference .text-link {
  color: #fff;
}

body:not(.subpage) .about-reference .glitch-word {
  color: #fff;
  animation-name: glitchRedPulse;
}

body:not(.subpage) .about-reference .glitch-word::after {
  color: #fff;
}

body:not(.subpage) .about-reference .glitch-word-alt {
  animation-name: glitchVioletPulse;
}

body:not(.subpage) .about-reference .glitch-word-alt::after {
  color: #fff;
}

body:not(.subpage) .contact {
  background: #000;
  color: #fff;
}

body:not(.subpage) .contact .section-kicker,
body:not(.subpage) .contact .section-number {
  color: var(--violet);
}

body:not(.subpage) .contact h2,
body:not(.subpage) .contact-copy p:last-child,
body:not(.subpage) .contact-form label {
  color: #fff;
}

body:not(.subpage) .contact-form input,
body:not(.subpage) .contact-form textarea {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

body:not(.subpage) .submit-button {
  border-color: rgba(255, 255, 255, 0.82);
  color: #fff;
}

@media (max-width: 820px) {
  .ad-section {
    grid-template-columns: 1fr;
    gap: 38px;
    clip-path: polygon(0 7vw, 100% 0, 100% calc(100% - 7vw), 0 100%);
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 116px;
  }

  .ad-visuals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: min(100%, 352px);
    margin: 0 auto;
    transform: skewY(-5deg);
  }

  .ad-item {
    gap: 10px;
  }

  .ad-item:nth-child(2) {
    transform: translateY(14px);
  }
}

@media (max-width: 640px) {
  body:not(.subpage) .work .section-heading {
    width: calc(100vw - 34px);
    transform: rotate(-2deg);
  }

  body:not(.subpage) .work .section-heading h2 {
    max-width: 100%;
    font-size: clamp(1.48rem, 6.35vw, 2.4rem);
    line-height: 1.06;
  }

  .ad-copy h2 {
    font-size: clamp(2.25rem, 10.4vw, 3.6rem);
    line-height: 1.03;
    overflow-wrap: anywhere;
  }

  .ad-copy p:last-child {
    font-size: clamp(1.2rem, 6vw, 1.85rem);
  }

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

  .ad-item figcaption {
    font-size: 0.92rem;
  }

  body:not(.subpage) .about-reference .about-headline h2 {
    font-size: clamp(1.9rem, 8.8vw, 3rem);
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  .hokuriku-section {
    margin-top: -26px;
    padding-top: 96px;
    padding-bottom: 104px;
  }

  .hokuriku-copy {
    margin-bottom: 36px;
    transform: rotate(-6deg);
  }

  .hokuriku-copy h2 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .hokuriku-card {
    min-height: 210px;
    padding: 26px 24px;
  }

  .hokuriku-card:nth-child(1)::before {
    background-position: center 44%;
  }

  .hokuriku-card:nth-child(2)::before {
    background-position: center 50%;
  }

  .hokuriku-card:nth-child(3)::before {
    background-position: center 32%;
  }

  .hokuriku-card h3 {
    font-size: clamp(1.5rem, 8vw, 2.35rem);
  }
}
