:root {
  --bg: #fff8ef;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --ink: #1f2533;
  --muted: #5d6477;
  --line: rgba(32, 37, 56, 0.12);
  --accent: #ff6f4c;
  --accent-2: #0ea7a0;
  --accent-3: #ffc145;
  --shadow: 0 22px 45px rgba(17, 24, 39, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 193, 69, 0.34), transparent 22rem),
    radial-gradient(circle at 92% 5%, rgba(14, 167, 160, 0.25), transparent 22rem),
    radial-gradient(circle at 78% 86%, rgba(255, 111, 76, 0.2), transparent 28rem),
    var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 248, 239, 0.82);
  border-bottom: 1px solid rgba(31, 37, 51, 0.08);
  backdrop-filter: blur(14px);
}

.site-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 0.97rem;
  letter-spacing: 0.03em;
}

.brand img {
  width: 140px;
  height: auto;
}

.site-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-links a {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  transition: 0.24s ease;
}

.site-links a:hover,
.site-links a.active {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.07);
}

.site-links a.out {
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.site-links a.out .out-link-icon {
  font-size: 0.76em;
  opacity: 0.78;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.42rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
  color: var(--ink);
}

main {
  padding-bottom: 3.2rem;
}

.hero {
  position: relative;
  margin-top: 1.35rem;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(138deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.74));
  border: 1px solid rgba(31, 37, 51, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -140px -160px auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 111, 76, 0.26), transparent 67%);
  pointer-events: none;
  z-index: 4;
  animation: drift 12s ease-in-out infinite alternate;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.6rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 111, 76, 0.12);
  color: #aa3f24;
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0.65rem 0 0;
  font-family: "Yusei Magic", "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: clamp(2.05rem, 5.2vw, 3.6rem);
  line-height: 1.1;
}

.hero-title ruby rt {
  font-size: 0.34em;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-copy {
  color: var(--muted);
  margin: 0.9rem 0 0;
  max-width: 40ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font-weight: 700;
  font-size: 0.88rem;
  transition: 0.22s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff9464);
  color: #fff;
  box-shadow: 0 14px 26px rgba(255, 111, 76, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-sub {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
}

.btn-sub:hover {
  border-color: rgba(14, 167, 160, 0.45);
  color: var(--accent-2);
}

.hero-visual {
  display: grid;
  gap: 0.95rem;
  justify-items: center;
}

.hero-visual-main {
  width: min(390px, 100%);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(31, 37, 51, 0.1);
  box-shadow: 0 26px 36px rgba(17, 24, 39, 0.16);
}

.hero-visual-sub {
  width: min(260px, 82%);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(31, 37, 51, 0.1);
  box-shadow: 0 16px 24px rgba(17, 24, 39, 0.12);
  transform: rotate(var(--hero-sub-tilt, 2.2deg));
}

.hero-visual-entry .hero-visual-main {
  --hero-main-tilt: -1.2deg;
  transform: rotate(var(--hero-main-tilt));
  transform-origin: 80% 88%;
  aspect-ratio: 1 / 1;
}

.hero-visual-entry .hero-visual-sub {
  --hero-sub-tilt: 2.2deg;
  transform-origin: 20% 88%;
  aspect-ratio: 1 / 1;
}

.hero-visual-entry .hero-visual-main img,
.hero-visual-entry .hero-visual-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-block {
  margin-top: 2rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.section-title {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-family: "Noto Sans JP", sans-serif;
}

.section-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.news-list li {
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(31, 37, 51, 0.08);
  font-size: clamp(0.82rem, 1.4vw, 0.92rem);
}

.news-list time {
  margin-right: 0.45rem;
  font-weight: 700;
  color: var(--accent-2);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.9rem;
}

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.content-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.content-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transform: scale(1);
  opacity: 1;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.26s ease;
  will-change: transform, opacity;
  transform-origin: 50% 100%;
}

.js-reveal .content-card img.is-media-pending {
  opacity: 0;
}

.js-reveal .content-card img.is-media-pending[data-reveal-effect="upfade"] {
  transform: translateY(12px) scale(1.04);
}

.leftworks-card .content-media {
  position: relative;
}
.leftworks-card .content-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 20, 33, 0.18) 0%, rgba(14, 20, 33, 0.06) 45%, rgba(14, 20, 33, 0.24) 100%);
  pointer-events: none;
  z-index: 4;
}

.leftworks-card .content-media-title {
  position: absolute;
  left: clamp(0.75rem, 2.2vw, 1.3rem);
  bottom: clamp(0.72rem, 2vw, 1.15rem);
  transform: none;
  z-index: 2;
  color: rgba(255, 255, 255, 0.97);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: clamp(1.08rem, 2.95vw, 1.85rem);
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-shadow:
    0 2px 7px rgba(7, 10, 20, 0.84),
    0 0 16px rgba(8, 12, 25, 0.6),
    0 0 12px rgba(255, 255, 255, 0.2);
  -webkit-text-stroke: 1.5px rgba(7, 11, 22, 0.82);
  pointer-events: none;
  z-index: 4;
  opacity: 1;
  transition: opacity 0.24s ease;
}

.js-reveal .leftworks-card .content-media img.is-media-pending + .content-media-title {
  opacity: 0;
}

.content-body {
  padding: 0.85rem 0.9rem 1rem;
}

.content-title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(0.9rem, 1.55vw, 1rem);
}

.content-meta {
  margin-top: 0.35rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.93);
  color: #b03e1f;
}

.tag.teal { color: #0d6e69; }
.tag.gold { color: #996b00; }

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-size: clamp(0.74rem, 1.35vw, 0.84rem);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.mini-pill:hover {
  border-color: rgba(14, 167, 160, 0.45);
  color: var(--accent-2);
}

.release {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.95rem;
}

.release.has-play {
  grid-template-columns: 210px minmax(0, 1fr) auto;
}

.release-body {
  min-width: 0;
}

.release[id] {
  scroll-margin-top: 100px;
}

.release-cover {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.release-cover-link {
  display: block;
  text-decoration: none;
}

.release-cover-link:focus-visible {
  outline: 2px solid #0ea7a0;
  outline-offset: 2px;
}

.release-cover img {
  aspect-ratio: 1;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  transform-origin: 50% 100%;
}

.release-title {
  margin: 0;
  font-weight: 800;
  font-size: 1.2rem;
}

.release-desc {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: clamp(0.82rem, 1.4vw, 0.92rem);
}

.release-tracks {
  margin: 0.65rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.84rem;
  display: grid;
  gap: 0.2rem;
}

.release-play {
  min-width: 148px;
  height: 44px;
  padding: 0 0.95rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f2533;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: #f2f5fb;
  border: 1px solid rgba(31, 37, 51, 0.18);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.release-play:hover {
  background: #e8eef8;
  border-color: rgba(14, 167, 160, 0.45);
  transform: translateY(-1px);
}

 .release-play .out-link-icon {
  font-size: 0.78em;
  opacity: 0.78;
  margin-left: 0.28rem;
}

.release-play:focus-visible {
  outline: 2px solid #0ea7a0;
  outline-offset: 2px;
}
.music-pickup-image {
  display: block;
  text-decoration: none;
}

.music-pickup-image:focus-visible {
  outline: 2px solid #0ea7a0;
  outline-offset: 2px;
}

.music-pickup-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-height: 108px;
}

.music-pickup-actions {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

.music-pickup-play {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.56rem;
  border-radius: 8px;
  border: 1px solid rgba(31, 37, 51, 0.18);
  background: #f2f5fb;
  color: #1f2533;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.music-pickup-play:hover {
  background: #e8eef8;
  border-color: rgba(14, 167, 160, 0.45);
}

.music-pickup-play .out-link-icon {
  font-size: 0.76em;
  opacity: 0.78;
}

.music-pickup-play:focus-visible {
  outline: 2px solid #0ea7a0;
  outline-offset: 2px;
}
.video-thumb {
  position: relative;
}

.video-thumb::after {
  content: "PLAY";
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
}

.talkbox {
  display: grid;
  gap: 0.7rem;
}

.talkbox-chara {
  grid-template-columns: 92px 1fr;
  align-items: start;
  gap: 0.8rem;
}

.talk-avatar {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 111, 76, 0.35);
  background: #fff;
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.12);
}

.talkballoon {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem;
  font-size: clamp(0.82rem, 1.45vw, 0.93rem);
  min-height: 76px;
  display: grid;
  align-content: center;
}

.talkballoon::before,
.talkballoon::after {
  content: "";
  position: absolute;
  top: 24px;
  left: -10px;
  border-style: solid;
}

.talkballoon::before {
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--line) transparent transparent;
}

.talkballoon::after {
  left: -8px;
  border-width: 9px 9px 9px 0;
  border-color: transparent #fff transparent transparent;
}

.talk-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.talk-buttons button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0.48rem 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.talk-buttons button:hover {
  border-color: rgba(255, 111, 76, 0.55);
  color: #b5482a;
}

.gallery-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.7rem;
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  transform-origin: 50% 100%;
}

.gallery-caption {
  padding: 0.5rem 0.58rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #495064;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
}

.search-area input {
  flex: 1 1 240px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0 1rem;
  font-size: clamp(0.82rem, 1.4vw, 0.92rem);
}

.search-area p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (hover: hover) and (pointer: fine) {
  .content-card:hover img,
  .content-card:focus-within img {
    transform: scale(1.03);
  }

  .gallery-item:hover img,
  .gallery-item:focus-within img {
    transform: scale(1.03);
  }
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(18, 23, 32, 0.78);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 4;
  transition: opacity 0.32s ease, visibility 0s linear 0.32s;
}

.modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.32s ease;
}

.modal.is-closing {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  z-index: 4;
  transition: opacity 0.36s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.36s;
}

.modal-panel {
  width: min(1080px, 100%);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(31, 37, 51, 0.15);
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translate3d(0, 8px, 0) scale(0.97);
  transition: opacity 0.30s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal.open .modal-panel {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.modal.is-closing .modal-panel {
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(0.955);
  transition-duration: 0.36s, 0.42s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1), cubic-bezier(0.32, 0, 0.2, 1);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.modal-head h3 {
  margin: 0;
  font-size: clamp(0.82rem, 1.4vw, 0.92rem);
}

.modal-head button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.34rem 0.65rem;
  cursor: pointer;
  font-size: 0.78rem;
}

.modal-body {
  background: #10131d;
}

.modal-body iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.modal-image-wrap {
  display: none;
  justify-content: center;
  padding: 0;
  background: #10131d;
}

.modal-image-wrap img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.site-footer {
  border-top: 1px solid rgba(31, 37, 51, 0.09);
  padding: 1.4rem 0 2rem;
  background: rgba(255, 248, 239, 0.72);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.footer-copy {
  font-size: 0.84rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.82rem;
}



.reveal {
  opacity: 1;
  transition: opacity 0.28s ease;
}

.js-reveal .reveal {
  opacity: 0;
}

.js-reveal .reveal.in {
  opacity: 1;
}

.js-reveal .hero.reveal .hero-grid > :first-child > * {
  opacity: 0;
  will-change: transform, opacity;
  transition-property: opacity, transform;
  transition-duration: 1.12s, 1.12s;
  transition-timing-function: ease-out, cubic-bezier(0.2, 0.72, 0.22, 1);
  transition-delay: 0.25s, 0.25s;
  transform: translate3d(14px, 0, 0);
}

.js-reveal .hero.reveal .hero-grid > :first-child > :nth-child(2) {
  transition-delay: 0.31s, 0.31s;
}

.js-reveal .hero.reveal .hero-grid > :first-child > :nth-child(3) {
  transition-delay: 0.37s, 0.37s;
}

.js-reveal .hero.reveal .hero-grid > :first-child > :nth-child(4) {
  transition-delay: 0.43s, 0.43s;
}

.js-reveal .hero.reveal .hero-grid > :first-child > :nth-child(5) {
  transition-delay: 0.49s, 0.49s;
}

.js-reveal .hero.reveal .hero-grid > :first-child > :nth-child(6) {
  transition-delay: 0.55s, 0.55s;
}

.js-reveal .hero.reveal.in .hero-grid > :first-child > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.js-reveal .hero.reveal .hero-visual-entry .hero-visual-main,
.js-reveal .hero.reveal .hero-visual-entry .hero-visual-sub {
  opacity: 0;
  will-change: transform, opacity;
  transition-property: opacity, transform;
  transition-duration: 1.24s, 1.24s;
  transition-timing-function: ease-out, cubic-bezier(0.2, 0.72, 0.22, 1);
  transition-delay: 0.25s, 0.25s;
}

.js-reveal .hero.reveal .hero-visual-entry .hero-visual-main {
  transform: translate3d(-12px, 10px, 0) rotate(var(--hero-main-tilt, -1.2deg));
}

.js-reveal .hero.reveal .hero-visual-entry .hero-visual-sub {
  --hero-sub-tilt: 2.2deg;
  transform: translate3d(14px, -10px, 0) rotate(var(--hero-sub-tilt));
  transition-delay: 0.31s, 0.31s;
}

.js-reveal .hero.reveal.in .hero-visual-entry .hero-visual-main {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(var(--hero-main-tilt, -1.2deg));
}

.js-reveal .hero.reveal.in .hero-visual-entry .hero-visual-sub {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(var(--hero-sub-tilt));
}

@media (max-width: 920px) {
  .js-reveal .hero.reveal .hero-visual-entry.hero-visual-overlap-mobile .hero-visual-main {
    transform: translate3d(-10px, 8px, 0) rotate(var(--hero-main-tilt, -1.2deg));
  }

  .js-reveal .hero.reveal .hero-visual-entry.hero-visual-overlap-mobile .hero-visual-sub {
    --hero-sub-tilt: 2.8deg;
    transform: translate3d(12px, -8px, 0) rotate(var(--hero-sub-tilt));
  }
}

.js-reveal .hero.reveal .hero-visual-entry-horizontal .hero-visual-main {
  opacity: 0;
  will-change: transform, opacity;
  transition-property: opacity, transform;
  transition-duration: 1.24s, 1.24s;
  transition-timing-function: ease-out, cubic-bezier(0.2, 0.72, 0.22, 1);
  transition-delay: 0.25s, 0.25s;
  transform: translate3d(-14px, 0, 0);
}

.js-reveal .hero.reveal.in .hero-visual-entry-horizontal .hero-visual-main {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 920px) {
  .js-reveal .hero.reveal .hero-visual-entry-horizontal .hero-visual-main {
    transform: translate3d(-10px, 0, 0);
  }
}
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-28px, -18px) scale(1.08); }
}

@media (max-width: 920px) {
  .site-nav {
    min-height: clamp(60px, 8.4vw, 66px);
  }

  .brand img {
    width: clamp(110px, 15.6vw, 124px);
  }

  .menu-toggle {
    display: inline-flex;
    padding: clamp(0.4rem, 1.45vw, 0.46rem) clamp(0.5rem, 1.7vw, 0.58rem);
    border-radius: 11px;
  }

  .menu-toggle-label {
    font-size: clamp(0.78rem, 1.9vw, 0.84rem);
  }

  .site-links {
    position: absolute;
    top: clamp(60px, 8.4vw, 66px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
    background: rgba(255, 248, 239, 0.97);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 1;
    pointer-events: none;
  z-index: 4;
    transition: 0.24s ease;
  }

  .site-links.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .site-links a {
    border-radius: 0;
    padding: 0.82rem 1rem;
    border-bottom: 1px solid rgba(31, 37, 51, 0.08);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual-overlap-mobile {
    position: relative;
    width: min(320px, 78vw);
    justify-items: start;
    margin-inline: auto;
    padding-bottom: clamp(2rem, 8vw, 3rem);
  }

  .hero-visual-overlap-mobile .hero-visual-main {
    width: 100%;
  }

  .hero-visual-overlap-mobile .hero-visual-sub {
    position: absolute;
    right: -6px;
    bottom: 0;
    width: min(150px, 44vw);
    transform: rotate(var(--hero-sub-tilt, 2.8deg));
    z-index: 2;
  }


  .hero-visual-main {
    width: min(320px, 78vw);
  }

  .hero-visual-sub {
    width: min(220px, 62vw);
  }


  .hero-visual-main img {
    max-height: 42svh;
    object-fit: cover;
  }

  .release {
    grid-template-columns: 1fr;
  }

  .release.has-play {
    grid-template-columns: 1fr;
    position: relative;
    padding-right: 10.4rem;
  }

  .release.has-play .release-play {
    position: absolute;
    top: 0.95rem;
    right: 0.75rem;
    min-width: 136px;
    height: 40px;
    justify-self: auto;
  }

  .talkbox-chara {
    grid-template-columns: 1fr;
  }

  .talk-avatar {
    width: 82px;
    height: 82px;
    margin: 0 auto;
  }

  .talkballoon::before,
  .talkballoon::after {
    display: none;
  }

  .release-cover {
    max-width: 250px;
  }

  .release-cover-link {
  display: block;
  text-decoration: none;
}

.release-cover-link:focus-visible {
  outline: 2px solid #0ea7a0;
  outline-offset: 2px;
}

.release-cover img {
    margin-inline: auto;
  }

  .span-3,
  .span-4,
  .span-6 {
    grid-column: span 6;
  }

  .span-8,
  .span-12 {
    grid-column: span 12;
  }
}

@media (min-width: 768px) and (max-width: 920px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: clamp(0.9rem, 2.1vw, 1.2rem);
    align-items: center;
  }

  .hero-title {
    font-size: clamp(1.55rem, 4vw, 2.35rem);
    line-height: 1.15;
  }

  .hero-copy {
    max-width: 34ch;
    font-size: clamp(0.84rem, 1.6vw, 0.95rem);
  }

  .hero-visual-main {
    width: min(300px, 100%);
  }

  .hero-visual-sub {
    width: min(190px, 68%);
  }

  .hero-visual-overlap-mobile {
    width: min(300px, 100%);
    margin-inline: 0;
    padding-bottom: clamp(1.2rem, 3.2vw, 2rem);
  }
}
@media (min-width: 771px) and (max-width: 920px) {
  .menu-toggle {
    display: none;
  }

  .site-links {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    display: flex;
    gap: 0.4rem;
    border-top: 0;
    background: transparent;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }

  .site-links a {
    border-radius: 999px;
    padding: 0.65rem 1rem;
    border-bottom: 0;
  }
}
@media (max-width: 770px) {
  .site-nav {
    min-height: clamp(54px, 9.8vw, 60px);
  }

  .brand img {
    width: clamp(100px, 23vw, 112px);
  }

  .menu-toggle {
    min-height: 44px;
    padding: clamp(0.28rem, 1.6vw, 0.36rem) clamp(0.42rem, 2vw, 0.5rem);
  }

  .menu-toggle .menu-icon-bars {
    font-size: clamp(0.86rem, 2.5vw, 0.96rem);
  }

  .menu-toggle-label {
    font-size: clamp(0.68rem, 2.8vw, 0.76rem);
  }

  .site-links {
    top: clamp(54px, 9.8vw, 60px);
  }
}
@media (max-width: 640px) {
  .site-nav {
    min-height: clamp(50px, 14vw, 56px);
  }

  .brand img {
    width: clamp(92px, 27vw, 104px);
  }

  .menu-toggle {
    min-height: 44px;
    padding: clamp(0.24rem, 1.2vw, 0.32rem) clamp(0.36rem, 1.6vw, 0.46rem);
  }

  .menu-toggle-label {
    font-size: clamp(0.64rem, 2.8vw, 0.72rem);
  }

  .site-links {
    top: clamp(50px, 14vw, 56px);
  }

  .span-3,
  .span-4,
  .span-6 {
    grid-column: span 6;
  }

  .span-8,
  .span-12 {
    grid-column: span 12;
  }
}

@media (max-width: 380px) {
  .span-3,
  .span-4,
  .span-6,
  .span-8,
  .span-12 {
    grid-column: span 12;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@layer modern-upgrade {
  @view-transition {
    navigation: none;
  }

  html {
    scroll-behavior: smooth;
  }

  .hero-title,
  .section-title,
  .content-title {
    text-wrap: balance;
    word-break: auto-phrase;
  }

  .content-card {
    content-visibility: auto;
    contain-intrinsic-size: 320px;
  }

  .content-card[role="button"],
  [data-youtube],
  [data-lightbox-src],
  .gallery-item button {
    cursor: pointer;
  }

  .gallery-item button {
    width: 100%;
    border: 0;
    margin: 0;
    padding: 0;
    text-align: inherit;
    font: inherit;
    background: transparent;
    color: inherit;
  }

  a:focus-visible,
  button:focus-visible,
  [role="button"]:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--accent-2) 70%, white 30%);
    outline-offset: 3px;
    border-radius: 10px;
  }

  @supports (view-transition-name: none) {
    .site-header {
      view-transition-name: site-header;
    }

    main {
      view-transition-name: site-main;
    }

    .site-footer {
      view-transition-name: site-footer;
    }

    ::view-transition-old(site-main) {
      animation: fade-out 120ms ease both;
    }

    ::view-transition-new(site-main) {
      animation: fade-in 180ms ease both;
    }
  }

  @keyframes fade-out {
    to {
      opacity: 1;
    }
  }

  @keyframes fade-in {
    from {
      opacity: 1;
    }
    to {
      opacity: 1;
    }
  }

  @starting-style {
    .site-links.open {
      opacity: 1;
      transform: scaleY(0.9);
    }
  }
}

@view-transition {
  navigation: none;
}

@supports (transition-behavior: allow-discrete) {
  .site-links {
    transition-behavior: allow-discrete;
  }
}


.hero-visual-main img,
.hero-visual-sub img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
  transition: opacity 0.85s ease;
}

.hero-visual-main img.is-fading {
  opacity: 0;
}

.hero-visual-main img.is-random-pending,
.hero-visual-sub img.is-random-pending {
  opacity: 0;
}
.talk-avatar {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.talk-avatar.is-switching {
  opacity: 0.55;
  transform: scale(0.94);
}

.hero-crop-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.hero-compact {
  padding: clamp(0.95rem, 2vw, 1.25rem);
}

.hero-compact .hero-grid {
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.hero-compact .hero-title {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
}

.hero-compact .hero-copy {
  max-width: none;
}

.hero-compact .hero-actions {
  margin-top: 0.7rem;
}




.artworks-hero {
  position: relative;
  min-height: clamp(170px, 22vw, 230px);
}

.artworks-hero .hero-grid {
  max-width: min(760px, 100%);
}

.artworks-hero .hero-actions {
  position: absolute;
  top: clamp(0.8rem, 1.9vw, 1.08rem);
  right: clamp(1rem, 2.6vw, 1.6rem);
  margin: 0;
  z-index: 5;
}

.artworks-hero .hero-actions .btn-sub {
  background: #ffffff;
  border-color: rgba(31, 37, 51, 0.16);
  box-shadow: 0 8px 16px rgba(14, 20, 33, 0.08);
}

.artworks-hero .hero-brandmark {
  margin: 0.34rem 0 0.22rem;
  white-space: nowrap;
  pointer-events: none;
  font-family: "Trebuchet MS", "Segoe UI", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(1.62rem, 4.55vw, 3.35rem);
  letter-spacing: 0.03em;
  line-height: 1;
  color: rgba(35, 49, 76, 0.42);
}

.artworks-hero.leftworks-hero .hero-brandmark {
  color: rgba(46, 61, 94, 0.44);
  letter-spacing: 0.08em;
}
.news-chat-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 0.9rem;
  align-items: stretch;
}

.news-chat-grid .panel {
  height: 100%;
}

.news-chat-grid .section-head {
  margin-bottom: 0.55rem;
}

@media (max-width: 770px) {
  .news-chat-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .artworks-hero .hero-actions {
    top: 0.6rem;
    right: 0.6rem;
  }

  .artworks-hero .hero-brandmark {
    font-size: clamp(1.18rem, 5.2vw, 1.62rem);
  }
}
/* Gallery TOP hero size tune: same scale as site TOP */
.hero-gallery-main {
  width: min(390px, 100%);
}

.hero-gallery-img {
  width: 100%;
  aspect-ratio: auto;
  object-fit: initial;
  background: transparent;
  padding: 0;
}

@media (max-width: 920px) {
  .hero-gallery-main {
    width: min(320px, 78vw);
  }

  .hero-gallery-img {
    max-height: 42svh;
    object-fit: contain;
  }
}















.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}









.modal.image-mode {
  padding: 0.4rem;
}

.modal.image-mode .modal-panel {
  width: auto;
  max-width: min(98vw, 1480px);
}

.modal.image-mode .modal-image-wrap img {
  max-width: min(98vw, 1480px);
  max-height: 88vh;
}




html {
  scrollbar-width: auto;
  scrollbar-color: color-mix(in srgb, var(--accent-2) 62%, white 38%) color-mix(in srgb, var(--surface-strong) 78%, var(--accent-3) 22%);
}

*::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--surface-strong) 80%, var(--accent-3) 20%);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-2) 72%, white 28%), color-mix(in srgb, var(--accent) 68%, white 32%));
  border: 2px solid color-mix(in srgb, var(--surface-strong) 84%, white 16%);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-2) 82%, white 18%), color-mix(in srgb, var(--accent) 78%, white 22%));
}
.menu-toggle .menu-icon-bars {
  font-size: 1.05rem;
  line-height: 1;
  color: var(--muted);
}

.menu-toggle[aria-expanded="true"] .menu-icon-bars {
  transform: rotate(90deg);
}

.menu-toggle-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
}




















.hero-dual-compact .hero-visual-main {
  width: min(340px, 100%);
}

.hero-dual-compact .hero-visual-sub {
  width: min(210px, 68%);
}

.hero-dual-compact .hero-visual-entry .hero-visual-main {
  aspect-ratio: 16 / 10;
}

.hero-dual-compact .hero-visual-entry .hero-visual-sub {
  aspect-ratio: 1 / 1;
}

@media (max-width: 920px) {
  .hero-dual-compact .hero-visual-overlap-mobile {
    width: min(300px, 74vw);
    padding-bottom: clamp(1.6rem, 7vw, 2.4rem);
  }

  .hero-dual-compact .hero-visual-overlap-mobile .hero-visual-sub {
    width: min(136px, 40vw);
  }
}









































