:root {
  color-scheme: dark;
  --bg: #070707;
  --ink: #18243a;
  --surface: #fbfbf9;
  --surface-warm: #fff2b8;
  --surface-pink: #ffd9ec;
  --surface-blue: #d9f1fb;
  --primary: #fdc800;
  --secondary: #5637d8;
  --text: #fbfbf9;
  --muted: #5d6676;
  --line: rgba(251, 251, 249, 0.22);
  --font-heading: "Space Grotesk", Inter, "Noto Sans JP", system-ui, sans-serif;
  --font-body: "Noto Sans JP", Inter, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --border: 3px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --section-x: clamp(18px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(253, 200, 0, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253, 200, 0, 0.055) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-wrap: break-word;
}

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

img,
video {
  max-width: 100%;
}

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

h1,
h2,
h3,
.brand,
.button,
.eyebrow,
.tag,
.open-link {
  font-family: var(--font-heading);
}

h2 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: clamp(2.4rem, 8vw, 5.8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  color: inherit;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.15;
}

a:focus-visible,
button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(253, 200, 0, 0.42), 0 0 0 7px var(--ink);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--section-x);
  border-bottom: var(--border);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 6px 0 var(--ink);
}

.brand,
.site-nav,
.cta-row,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  min-width: max-content;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: var(--border);
  background: var(--primary);
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
}

.site-nav {
  gap: clamp(8px, 1.8vw, 18px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a {
  border: 2px solid transparent;
  padding: 6px 8px;
}

.site-nav a:hover {
  border-color: var(--ink);
  background: var(--primary);
}

.hero {
  position: relative;
  display: grid;
  min-height: 94svh;
  align-items: center;
  overflow: hidden;
  border-bottom: var(--border);
  padding: 118px var(--section-x) 72px;
  background: var(--bg);
}

.hero-bg,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.88), rgba(7, 7, 7, 0.34) 58%, rgba(7, 7, 7, 0.9)),
    linear-gradient(0deg, #070707 2%, transparent 58%),
    url("assets/hero-bar-ai.png") center / cover;
  filter: saturate(1.05) contrast(1.05);
}

.hero-grid {
  background-image:
    linear-gradient(rgba(253, 200, 0, 0.16) 2px, transparent 2px),
    linear-gradient(90deg, rgba(253, 200, 0, 0.16) 2px, transparent 2px);
  background-size: 56px 56px;
  opacity: 0.34;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 1180px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  border: 2px solid var(--ink);
  padding: 6px 10px;
  background: var(--primary);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1 {
  display: grid;
  gap: 10px;
  max-width: 940px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 span,
h1 small {
  width: fit-content;
  border: var(--border);
  box-shadow: var(--shadow);
}

h1 span {
  padding: 6px 14px 10px;
  background: var(--surface);
  color: var(--ink);
}

h1 small {
  padding: 8px 12px;
  background: var(--secondary);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: clamp(0.92rem, 2.6vw, 1.5rem);
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 22px;
  border: var(--border);
  padding: 16px 18px;
  background: var(--surface-warm);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-weight: 900;
}

.cta-row,
.contact-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: var(--border);
  padding: 10px 16px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button-primary {
  background: var(--primary);
}

.button:hover,
.card:hover,
.media-card:hover,
.game-portal:hover,
.create-card:hover,
.track-card:hover,
.video-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--ink);
}

.button:hover {
  background: var(--secondary);
  color: var(--surface);
}

.hero-card,
.card,
.media-card,
.bar-panel,
.contact-card,
.track-card,
.game-portal,
.video-card {
  border: var(--border);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.hero-card::before,
.card::before,
.media-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--primary);
  content: "";
}

.hero-card__label {
  margin-bottom: 16px;
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-focus-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-focus-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  border-top: 2px solid var(--ink);
  padding: 12px 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

.hero-focus-list span,
.track-card__index {
  color: var(--secondary);
  font-family: var(--font-mono);
  font-weight: 900;
}

.section {
  padding: 68px var(--section-x);
}

.section-heading {
  max-width: 980px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(251, 251, 249, 0.78);
  font-weight: 800;
}

.create-section {
  overflow: hidden;
}

.create-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  margin-inline: calc(var(--section-x) * -1);
  padding: 6px var(--section-x) 26px;
  scrollbar-color: var(--primary) var(--ink);
  scrollbar-width: thin;
}

.create-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: create-marquee 64s linear infinite;
}

.create-scroller:hover .create-track,
.create-scroller:focus-within .create-track,
.create-scroller:active .create-track {
  animation-play-state: paused;
}

.create-card {
  position: relative;
  width: clamp(210px, 24vw, 300px);
  aspect-ratio: 9 / 16;
  flex: 0 0 auto;
  overflow: hidden;
  margin: 0;
  border: var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.create-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.create-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(28, 36, 58, 0.96));
  content: "";
}

.create-card figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 1;
}

.create-card figcaption span {
  display: block;
  color: var(--surface);
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.create-card figcaption small {
  display: block;
  color: rgba(251, 251, 249, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.5;
}

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

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

.game-portal {
  position: relative;
  display: grid;
  max-width: 880px;
  min-height: 0;
  gap: 8px;
  overflow: hidden;
  padding: 22px clamp(120px, 22vw, 230px) 22px 22px;
  background: var(--primary);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.game-portal__label {
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.game-portal__title {
  color: var(--ink);
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
}

.game-portal__text {
  color: var(--ink);
  font-weight: 900;
}

.game-portal__visual {
  position: absolute;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(8px, 2vw, 18px);
  width: clamp(92px, 18vw, 178px);
  pointer-events: none;
  transform: rotate(5deg);
}

.game-portal__visual img {
  display: block;
  width: 100%;
  filter: drop-shadow(5px 5px 0 var(--ink));
}

.category-stack {
  display: grid;
  gap: 44px;
}

.mobile-tabs {
  display: none;
}

.category-block {
  display: grid;
  gap: 16px;
}

.category-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: var(--border);
  padding-bottom: 12px;
}

.category-title-row h3,
.category-title-row p {
  margin: 0;
  color: var(--surface);
}

.category-title-row h3 {
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
  text-transform: uppercase;
}

.category-title-row p {
  font-size: 0.92rem;
  font-weight: 800;
}

.card-grid,
.media-grid,
.video-grid,
.track-list {
  display: grid;
  gap: 16px;
}

.card-grid,
.media-grid {
  grid-template-columns: repeat(12, 1fr);
}

.card {
  position: relative;
  display: flex;
  min-height: 205px;
  grid-column: span 4;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  overflow: hidden;
  padding: 24px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card:nth-child(3n + 1),
.media-card:nth-child(3n + 1),
.track-card:nth-child(3n + 1) {
  background: var(--surface-warm);
}

.card:nth-child(3n + 2),
.media-card:nth-child(3n + 2),
.track-card:nth-child(3n + 2) {
  background: var(--surface-pink);
}

.card:nth-child(3n),
.media-card:nth-child(3n),
.track-card:nth-child(3n) {
  background: var(--surface-blue);
}

.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  border: 2px solid var(--ink);
  padding: 5px 8px;
  background: var(--secondary);
  color: var(--surface);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.card p,
.media-card p,
.track-card p,
.video-card__body p,
.bar-lead,
address {
  color: var(--muted);
  font-weight: 800;
}

.card p,
.media-card p,
.video-card__body p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.open-link,
.track-card__footer {
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.open-link {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.card-number {
  position: absolute;
  right: 18px;
  bottom: 12px;
  color: rgba(28, 36, 58, 0.12);
  font-family: var(--font-mono);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
}

.work-video-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 0;
  overflow: hidden;
  margin-bottom: 38px;
  border: var(--border);
  background: var(--surface-pink);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.work-video-feature__copy {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(20px, 4vw, 34px);
}

.work-video-feature__copy h3 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2.3rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.work-video-feature__copy p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(1.1rem, 3vw, 1.65rem);
  font-weight: 900;
  line-height: 1.5;
}

.work-video-feature__media {
  min-height: 240px;
  max-height: 420px;
  overflow: hidden;
  border-left: var(--border);
  background: var(--ink);
}

.work-video-feature__media video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center center;
}

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

.video-card {
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.video-frame {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: var(--border);
  background: var(--ink);
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card__body {
  padding: 16px;
}

.video-card__body h3 {
  margin-bottom: 8px;
}

.music-layout {
  display: block;
}

.music-layout > .track-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.track-list .track-card {
  position: relative;
  display: grid;
  min-height: 198px;
  grid-template-columns: auto minmax(0, 1fr) clamp(96px, 13vw, 136px);
  align-items: start;
  gap: 16px;
  overflow: hidden;
  padding: 22px;
  color: var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.track-card__content {
  min-width: 0;
}

.track-card__content p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.track-card__art {
  display: block;
  grid-row: 1 / span 2;
  grid-column: 3;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.track-card__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-tab-list {
  display: none;
}

.track-list .track-card h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.track-list .track-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  grid-column: 2;
  align-self: end;
  border-top: 2px solid var(--ink);
  padding-top: 12px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
}

.media-card {
  position: relative;
  display: grid;
  min-height: 138px;
  grid-column: span 3;
  align-content: space-between;
  gap: 14px;
  overflow: hidden;
  padding: 20px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.media-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--primary);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
}

.media-card h3 {
  margin-bottom: 2px;
  font-size: 1.04rem;
}

.support-card {
  min-height: 156px;
  grid-template-columns: 52px minmax(0, 1fr);
  align-content: start;
  align-items: start;
  gap: 16px;
  padding: 22px;
}

.support-card::after {
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: rgba(28, 36, 58, 0.26);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  content: "LINE";
}

.support-icon {
  width: 52px;
  height: 52px;
  background: var(--secondary);
  color: var(--surface);
  font-size: 1.35rem;
}

.support-card p {
  max-width: 18rem;
  font-size: 0.9rem;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.bar-section {
  padding-top: 42px;
}

.bar-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  overflow: hidden;
  padding: clamp(22px, 5vw, 44px);
  background: var(--surface-warm);
}

.bar-panel h2,
.contact-card h2 {
  color: var(--ink);
}

.bar-lead {
  max-width: 720px;
  margin-bottom: 0;
}

.bar-motto {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  border: var(--border);
  padding: 18px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.bar-motto span {
  width: fit-content;
  border: 2px solid var(--ink);
  padding: 4px 8px;
  background: var(--primary);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bar-motto strong {
  color: var(--ink);
  font-size: clamp(1.15rem, 3vw, 2.1rem);
  font-weight: 900;
  line-height: 1.45;
}

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

.bar-photos figure {
  overflow: hidden;
  margin: 0;
  border: var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.bar-photos img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.bar-info {
  display: grid;
  align-content: start;
  gap: 16px;
  border-left: var(--border);
  padding-left: 24px;
}

.info-label {
  margin-bottom: 0;
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

address {
  font-style: normal;
}

.contact-section {
  display: grid;
  place-items: center;
}

.contact-card {
  display: grid;
  width: min(100%, 820px);
  gap: 14px;
  padding: clamp(22px, 5vw, 44px);
  background: var(--surface-pink);
}

.contact-card .eyebrow,
.contact-card h2,
.contact-card p {
  margin-bottom: 0;
}

.contact-card h2 {
  max-width: 620px;
  font-size: clamp(2.15rem, 7vw, 4.4rem);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: var(--border);
  padding: 22px var(--section-x);
  background: var(--surface);
  color: var(--ink);
  font-weight: 900;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--secondary);
  font-family: var(--font-mono);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
  }

  .hero-content,
  .bar-panel,
  .work-video-feature {
    grid-template-columns: 1fr;
  }

  .work-video-feature__media,
  .bar-info {
    border-left: 0;
    border-top: var(--border);
  }

  .bar-info {
    padding-top: 18px;
    padding-left: 0;
  }

  .card,
  .media-card {
    grid-column: span 6;
  }

  .video-grid,
  .music-layout > .track-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --section-x: 14px;
    --shadow: 4px 4px 0 var(--ink);
    --shadow-sm: 3px 3px 0 var(--ink);
  }

  .site-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    box-shadow: 0 3px 0 var(--ink);
  }

  .brand {
    flex: 0 0 auto;
    font-size: 0.68rem;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  .site-nav {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    gap: 5px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    min-height: 30px;
    border: 2px solid var(--ink);
    padding: 6px;
    background: var(--surface);
    box-shadow: 2px 2px 0 var(--ink);
    font-size: 0.58rem;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding: 24px var(--section-x) 30px;
  }

  .hero-content {
    gap: 14px;
  }

  h1 {
    margin-bottom: 12px;
  }

  h1 span {
    padding: 6px 7px 8px;
    font-size: clamp(2rem, 10.5vw, 2.75rem);
  }

  h1 small {
    padding: 7px 8px;
    font-size: clamp(0.92rem, 5vw, 1.18rem);
  }

  h2 {
    font-size: clamp(1.76rem, 8.8vw, 2.42rem);
    line-height: 1.02;
  }

  .hero-copy,
  .hero-card,
  .card,
  .media-card,
  .video-card__body,
  .track-card,
  .bar-panel,
  .contact-card {
    padding: 16px;
  }

  .cta-row,
  .contact-actions {
    display: grid;
    gap: 10px;
  }

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

  .cta-row .button:nth-child(3) {
    grid-column: 1 / -1;
  }

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

  .button,
  .open-link {
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.72rem;
  }

  .section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .section-heading {
    margin-bottom: 14px;
  }

  .section-heading p:not(.eyebrow),
  .hero-copy,
  .card p,
  .media-card p,
  .video-card__body p,
  .bar-lead,
  .contact-card > p:not(.eyebrow) {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .create-scroller {
    padding-bottom: 18px;
  }

  .create-track {
    gap: 10px;
    animation-duration: 70s;
  }

  .create-card {
    width: min(52vw, 178px);
  }

  .create-card figcaption small {
    display: none;
  }

  .game-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .game-portal {
    min-height: 142px;
    padding: 15px 58px 15px 14px;
  }

  .game-portal__label {
    font-size: 0.66rem;
  }

  .game-portal__title {
    font-size: clamp(1.5rem, 6.4vw, 2.4rem);
  }

  .game-portal__text {
    font-size: clamp(0.74rem, 3.6vw, 0.86rem);
  }

  .game-portal__visual {
    right: 8px;
    width: 54px;
  }

  .work-video-feature {
    margin-bottom: 18px;
  }

  .work-video-feature__copy {
    padding: 16px;
  }

  .work-video-feature__copy h3 {
    font-size: clamp(1.85rem, 10vw, 2.45rem);
  }

  .work-video-feature__media,
  .work-video-feature__media video {
    min-height: 220px;
    max-height: 240px;
  }

  .work-video-feature__media video {
    object-position: center 38%;
  }

  .category-stack {
    gap: 20px;
  }

  .mobile-tabs {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
  }

  .mobile-tab-list {
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    border: var(--border);
    padding: 6px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }

  .mobile-tab {
    min-height: 38px;
    border: 2px solid var(--ink);
    padding: 7px 4px;
    background: var(--surface-blue);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
  }

  .mobile-tab.is-active {
    background: var(--primary);
    box-shadow: 2px 2px 0 var(--ink);
  }

  .mobile-tab-panel {
    display: grid;
    gap: 10px;
  }

  .mobile-tab-panel[hidden] {
    display: none;
  }

  .mobile-tab-heading {
    border-bottom: var(--border);
    padding-bottom: 8px;
  }

  .mobile-tab-heading h3,
  .mobile-tab-heading p {
    margin-bottom: 0;
  }

  .mobile-tab-heading h3 {
    color: var(--surface);
    font-size: 1.25rem;
    line-height: 1.1;
    text-transform: uppercase;
  }

  .mobile-tab-heading p {
    color: rgba(251, 251, 249, 0.78);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.55;
  }

  #workContainer .category-block[data-mobile-tab-source="Web / Tools"],
  #workContainer .category-block[data-mobile-tab-source="Media"],
  #music {
    display: none;
  }

  .category-title-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .category-title-row h3 {
    font-size: 1.35rem;
  }

  .category-title-row p {
    font-size: 0.86rem;
    line-height: 1.6;
  }

  .card-grid,
  .video-grid,
  .media-grid,
  .music-layout > .track-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #work .card {
    min-height: 132px;
    gap: 8px;
    padding: 13px;
  }

  #work .card .tag {
    display: none;
  }

  #work .card h3 {
    max-width: calc(100% - 38px);
    margin-bottom: 6px;
    font-size: 1.06rem;
  }

  #work .card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  #work .open-link {
    width: auto;
    min-height: 26px;
    justify-content: flex-start;
    padding: 4px 0;
    font-size: 0.74rem;
  }

  .video-frame {
    aspect-ratio: 16 / 10;
  }

  .video-card__body {
    padding: 14px;
  }

  .track-list .track-card {
    min-height: 0;
    grid-template-columns: 28px minmax(0, 1fr) 76px;
    gap: 8px 10px;
    padding: 12px;
  }

  .track-list .track-card .tag {
    display: none;
  }

  .track-list .track-card h3 {
    margin-bottom: 6px;
    font-size: clamp(1.08rem, 5.8vw, 1.42rem);
  }

  .track-list .track-card p {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .track-card__art {
    grid-row: 1 / span 2;
    grid-column: 3;
  }

  .track-list .track-card__footer {
    grid-column: 2;
    padding-top: 7px;
    font-size: 0.7rem;
  }

  .track-card__index {
    width: 28px;
    font-size: 0.72rem;
  }

  .media-card {
    min-height: 90px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .media-icon {
    width: 42px;
    height: 42px;
    font-size: 0.78rem;
  }

  .support-card {
    min-height: 106px;
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 14px;
  }

  .support-icon {
    width: 44px;
    height: 44px;
    font-size: 1.18rem;
  }

  .support-card p {
    max-width: none;
    font-size: 0.84rem;
    line-height: 1.58;
  }

  .support-card::after {
    right: 12px;
    bottom: 10px;
    font-size: 0.62rem;
  }

  .bar-panel {
    gap: 18px;
  }

  .bar-panel h2 {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .bar-motto {
    padding: 14px;
  }

  .bar-motto strong {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .bar-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .bar-photos img {
    aspect-ratio: 4 / 3;
  }

  .bar-info address {
    overflow-wrap: anywhere;
  }

  .contact-card h2 {
    max-width: 9em;
    font-size: clamp(1.95rem, 10vw, 2.65rem);
  }

  .site-footer {
    display: grid;
    gap: 10px;
    text-align: center;
  }
}

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

/* AKT Web（ホームページ制作）のカードはLINEではなくサイトへのリンク */
.support-card.web-card::after {
  content: "WEB";
}
