:root {
  --bg: #0c0a10;
  --panel: #15121b;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f1f7;
  --muted: #9a93a6;
  --pink: #ff3d7f;
  --violet: #6f63ff;
  --display: "Anton", "Noto Sans JP", sans-serif;
  --body: "Inter", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #050407;
  color: var(--text);
  font-family: var(--body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.frame {
  max-width: 1440px;
  margin: 0 auto;
  background: var(--bg);
  min-height: 100vh;
  position: relative;
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(16px, 4vw, 48px);
  background: linear-gradient(var(--bg) 60%, transparent);
}
.logo {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.02em;
}
.logo-mark {
  /* Antonの「.」と同じ四角に揃える */
  display: inline-block;
  width: 0.24em; height: 0.26em;
  margin: 0 0.06em 0 0.08em;
  background: var(--pink);
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  letter-spacing: 0.28em;
}
.nav a { opacity: 0.85; transition: color 0.2s; }
.nav a:hover { color: var(--pink); opacity: 1; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.header-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  transition: background 0.2s;
}
.header-btn:hover { background: var(--pink); color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 8px clamp(16px, 4vw, 48px) 40px;
  overflow: hidden;
}
.hero::before {
  /* うっすら照準線 */
  content: "";
  position: absolute;
  left: 50%; top: 52%;
  width: min(80vw, 900px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.12em;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tags li {
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 99px;
  padding: 2px 10px;
}
.hero-release { color: var(--muted); }

.hero-names {
  display: flex;
  justify-content: space-between;
  margin-top: clamp(20px, 3vw, 36px);
  font-family: var(--display);
  font-size: clamp(16px, 2vw, 26px);
  letter-spacing: 0.01em;
}

.hero-title {
  position: relative;
  margin-top: clamp(-6px, -0.5vw, 0px);
  text-align: center;
}
.hero-sub {
  position: absolute;
  left: 50%; top: -22px;
  transform: translateX(-50%);
  z-index: 4;
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--text);
  white-space: nowrap;
}
.big {
  font-family: var(--display);
  font-weight: 400;
  font-size: min(26vw, 370px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--text);
  position: relative;
  z-index: 1;
  user-select: none;
}
.hero-disc {
  position: absolute;
  left: 50%; top: 50%;
  width: clamp(200px, 34vw, 480px);
  aspect-ratio: 1;
  transform: translate(-50%, -46%);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 30px 80px rgba(255, 61, 127, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* レコード盤：溝 + 縁 */
.record-spin {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at center,
      #121014 0 1.5px, #1d1a21 1.5px 2.5px, #0e0c10 2.5px 3.5px),
    #111;
  box-shadow: inset 0 0 0 3px #0a090c, inset 0 0 0 5px #2a2630;
  transform: rotate(var(--rot, 0deg));
  will-change: transform;
}
/* 溝のトラック間の区切り線 */
.record-spin::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle,
    transparent 37%, rgba(0, 0, 0, 0.9) 37.3%, transparent 37.8%,
    transparent 52%, rgba(0, 0, 0, 0.8) 52.3%, transparent 52.8%,
    transparent 66%, rgba(0, 0, 0, 0.8) 66.3%, transparent 66.8%);
}
.record-label {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 4px var(--pink), 0 0 0 6px #0e0c10;
}
.record-label img { width: 100%; height: 100%; object-fit: cover; }
/* 光の反射（回さないので回転してるように見える） */
.record-sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(from 20deg,
    transparent 0deg, rgba(255, 255, 255, 0.14) 25deg, transparent 60deg,
    transparent 180deg, rgba(255, 61, 127, 0.16) 205deg, transparent 240deg);
  -webkit-mask: radial-gradient(circle, transparent 31.5%, #000 32%);
          mask: radial-gradient(circle, transparent 31.5%, #000 32%);
}
.big-outline {
  position: absolute;
  inset: 0;
  z-index: 3;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.45);
  pointer-events: none;
}
.hero-year {
  /* 縦書き。「A.BEAR」の下端にそろえて、上の SHORTS〜TIKTOK の段にかぶらないようにする */
  position: absolute;
  right: 0; bottom: 4%;
  writing-mode: vertical-rl;
  font-family: var(--display);
  font-size: clamp(12px, 1.4vw, 18px);
  letter-spacing: 0.08em;
  z-index: 4;
}

/* film strip */
.strip {
  position: relative;
  z-index: 5;
  background-color: var(--bg);
  margin: clamp(10px, 2vw, 24px) calc(-1 * clamp(16px, 4vw, 48px)) 0;
  padding: 10px 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(circle, #2a2531 2px, transparent 2.5px) 0 3px / 14px 6px repeat-x,
    radial-gradient(circle, #2a2531 2px, transparent 2.5px) 0 calc(100% - 3px) / 14px 6px repeat-x,
    var(--bg);
}
.strip-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: slide 60s linear infinite;
}
.strip-track img {
  width: 52px; height: 52px;
  object-fit: cover;
  border-radius: 6px;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.55;
}
@keyframes slide { to { transform: translateX(-50%); } }

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-top: 28px;
}
.hero-story { max-width: min(540px, calc(50vw - 100px)); /* 中央のSCROLL表示に重ならない幅 */ font-size: 12px; color: var(--muted); }
.story-label {
  display: flex; align-items: center; gap: 10px;
  color: var(--text);
  font-size: 11px;
  letter-spacing: 0.24em;
  margin-bottom: 8px;
}
.rec {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 61, 127, 0.25);
  animation: blink 1.6s infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }

.hero-cta { display: flex; align-items: center; gap: 18px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--text);
  border-radius: 99px;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.04em;
  background: none;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pill:hover { background: var(--text); color: var(--bg); }
.pill-solid { background: var(--pink); border-color: var(--pink); color: #fff; }
.pill-solid:hover { background: #fff; border-color: #fff; color: var(--bg); }
.arrow { font-family: var(--body); font-size: 14px; }
.pill-dot {
  padding: 8px 8px 8px 26px;
  gap: 18px;
  font-size: 19px;
}
.arrow-dot {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--pink);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.25s, background 0.2s, color 0.2s;
}
.pill-dot:hover .arrow-dot { transform: rotate(45deg); background: var(--pink); color: #fff; }

.badge {
  position: relative;
  width: 104px; height: 104px;
  display: grid; place-items: center;
}
.badge svg {
  position: absolute; inset: 0;
  animation: spin 14s linear infinite;
}
.badge text {
  fill: var(--text);
  font-family: var(--body);
  font-size: 10.5px;
  letter-spacing: 2.2px;
}
/* ミニレコード：外側=スクロール分の回転、内側=常に回転 */
.badge-record,
.badge-sheen {
  position: absolute;
  left: 50%; top: 50%;
  width: 62px; height: 62px;
  margin: -31px 0 0 -31px;
  border-radius: 50%;
}
.badge-record { transform: rotate(var(--rot, 0deg)); }
.badge-record i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, transparent 0 40deg, rgba(255, 255, 255, 0.10) 55deg, transparent 75deg,
      transparent 200deg, rgba(255, 255, 255, 0.06) 220deg, transparent 240deg),
    repeating-radial-gradient(circle, #121014 0 1px, #221e27 1px 2px),
    #111;
  box-shadow: inset 0 0 0 2px #0a090c, inset 0 0 0 3px #2e2934, 0 6px 18px rgba(0, 0, 0, 0.5);
  animation: spin 2.2s linear infinite;
}
.badge-sheen {
  pointer-events: none;
  background: conic-gradient(from 30deg, transparent 0, rgba(255, 255, 255, 0.16) 30deg, transparent 60deg,
    transparent 180deg, rgba(255, 61, 127, 0.18) 210deg, transparent 240deg);
}
.badge-play {
  position: relative;
  box-shadow: 0 0 0 2px #0e0c10, 0 0 0 3px rgba(255, 61, 127, 0.5);
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--pink);
  font-size: 11px;
  padding-left: 2px;
  transition: transform 0.2s;
}
.badge:hover .badge-play { transform: scale(1.12); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- sections ---------- */
.section {
  padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.section-head {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: end;
  gap: 16px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-no {
  font-family: var(--display);
  font-size: 18px;
  color: var(--pink);
  align-self: start;
  padding-top: 8px;
}
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 10vw, 140px);
  line-height: 0.9;
}
.section-note {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  letter-spacing: 0.04em;
}
.hint { color: var(--pink); }

/* works */
.works {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
  gap: 28px 24px;
}
.work { cursor: pointer; }
.work-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
}
.work-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s, filter 0.5s;
  filter: saturate(0.85);
}
.work:hover .work-thumb img { transform: scale(1.05); filter: saturate(1.1); }
.play {
  position: absolute;
  left: 50%; top: 50%;
  width: 58px; height: 58px;
  transform: translate(-50%, -50%) scale(0.9);
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--pink);
  font-size: 16px;
  padding-left: 3px;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
}
.work:hover .play, .short:hover .play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.work-info {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.work-no { font-family: var(--display); color: var(--pink); font-size: 15px; padding-top: 1px; }
.work-title { font-size: 15px; font-weight: 500; line-height: 1.5; }
.work-cat {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 1px 10px;
}

/* shorts */
.shorts {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  margin-inline: calc(-1 * clamp(16px, 4vw, 48px));
  padding-inline: clamp(16px, 4vw, 48px);
  scrollbar-width: thin;
  scrollbar-color: var(--pink) transparent;
}
.short {
  position: relative;
  flex: 0 0 clamp(150px, 17vw, 210px);
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  scroll-snap-align: start;
  cursor: pointer;
  border: 0;
  padding: 0;
}
.short img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.short:hover img { transform: scale(1.06); }
.short-no {
  position: absolute;
  left: 10px; bottom: 8px;
  font-family: var(--display);
  font-size: 22px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* contact */
.contact-body { max-width: 760px; }
.form { display: grid; gap: 18px; }
.form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.form input, .form select, .form textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--pink); }
.form textarea { resize: vertical; }
.form button { justify-self: start; margin-top: 6px; }
.form-note { font-size: 11px; color: var(--muted); }
.form button:disabled { opacity: 0.5; cursor: wait; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 13px; min-height: 1em; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #7be0a8; }
.form-status.is-error { color: #ff8fb1; }
.form-status a { text-decoration: underline; }

.footer {
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(16px, 4vw, 48px);
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(5, 4, 7, 0.92);
  backdrop-filter: blur(6px);
}
.modal[hidden] { display: none; }
.modal-inner { width: min(100%, 1100px); }
.modal-inner.is-short { width: min(100%, 400px); }
.modal-inner iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
  background: #000;
}
.modal-inner.is-short iframe { aspect-ratio: 9 / 16; max-height: 86vh; }
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.modal-close:hover { background: var(--pink); border-color: var(--pink); }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .nav { display: none; }
  .hero-names, .hero-release { display: none; }
  .tags { gap: 4px; letter-spacing: 0.04em; }
  .tags li { white-space: nowrap; padding: 2px 7px; }
  .hero-title { margin-top: 48px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .hero-cta { width: 100%; justify-content: space-between; }
  .hero-story { max-width: none; }
  .section-head { grid-template-columns: 1fr; gap: 6px; }
  .section-no { padding-top: 0; }
  .section-note { text-align: left; }
  .big-outline { -webkit-text-stroke-width: 1px; }
}

@media (prefers-reduced-motion: reduce) {
  .strip-track, .badge svg, .rec, .badge-record i { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- scroll motion ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 60;
  width: 100%; height: 2px;
  background: var(--pink);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}

/* 読み込み時：ヒーローがせり上がる */
.hero-title { animation: heroIn 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.hero-names, .hero-meta { animation: fadeIn 1s .4s both; }
.hero-bottom { animation: fadeIn 1s .7s both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(60px); } }
@keyframes fadeIn { from { opacity: 0; } }

/* パララックス（値は script.js が入れる） */
.big { transform: translateY(var(--pb, 0px)); }
.hero-disc {
  transform: translate(-50%, -46%) translateY(var(--pd, 0px)) scale(var(--ps, 1));
}

/* 画面に入ったら表示 */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

.section-title.reveal {
  opacity: 1;
  clip-path: inset(0 0 100% 0);
  transform: translateY(40%);
  transition: clip-path 1s cubic-bezier(.7, 0, .2, 1), transform 1s cubic-bezier(.7, 0, .2, 1);
}
.section-title.reveal.is-in { clip-path: inset(0 0 -10% 0); transform: none; }

.work.reveal .work-thumb img { transform: scale(1.18); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1), filter .5s; }
.work.reveal.is-in .work-thumb img { transform: scale(1); }
.work.reveal.is-in:hover .work-thumb img { transform: scale(1.05); }

/* 見出しの裏を流れる大きい縁取り文字 */
.section { position: relative; overflow-x: clip; }
.drift {
  position: absolute;
  top: clamp(24px, 4vw, 56px);
  left: 0;
  white-space: nowrap;
  font-family: var(--display);
  font-size: clamp(110px, 20vw, 280px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  pointer-events: none;
  user-select: none;
  transform: translateX(var(--dx, 0px));
  will-change: transform;
}
.section > *:not(.drift) { position: relative; }

/* スクロールの案内 */
.hero { padding-bottom: 96px; }
.scroll-cue {
  position: fixed;
  z-index: 40;
  left: 50%; bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.4em;
  padding-left: 0.4em; /* letter-spacing分の中央ずれを補正 */
  color: var(--text);
  animation: fadeIn 1s 1.2s both;
  transition: opacity 0.4s;
}
.scroll-cue i {
  position: relative;
  width: 1px; height: 56px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 40%;
  background: var(--pink);
  animation: cue 1.8s cubic-bezier(.6, 0, .3, 1) infinite;
}
@keyframes cue {
  from { transform: translateY(-100%); }
  to { transform: translateY(260%); }
}
.scroll-cue.is-hidden { opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .scroll-cue, .scroll-cue i::after { animation: none; }
  .hero-title, .hero-names, .hero-meta, .hero-bottom { animation: none; }
  .reveal, .section-title.reveal { opacity: 1; transform: none; clip-path: none; transition: none; }
  .drift { display: none; }
}

/* スマホ：レコードを大きく見せる（帯に隠れないよう上下に余白） */
@media (max-width: 760px) {
  .hero-title { margin-top: 28px; }
  /* 白文字と縁取り文字の両方に同じ余白を付けて重ねる */
  .big { padding-block: calc(39vw - 46px) calc(39vw - 40px); }
  .big-outline { inset: 0 0 auto 0; }
  .hero-disc {
    width: 78vw;
    transform: translate(-50%, -50%) translateY(var(--pd, 0px)) scale(var(--ps, 1));
  }
  .hero-sub { top: -18px; }
  .hero-year { bottom: 30%; }
}

/* スマホ：SCROLL表示が紹介文に重なるので、背景付きの小さいボタン風にして読めるようにする */
@media (max-width: 760px) {
  .scroll-cue {
    flex-direction: row;
    gap: 8px;
    bottom: 16px;
    padding: 8px 14px 8px calc(14px + 0.4em);
    background: rgba(12, 10, 16, 0.88);
    border: 1px solid var(--line);
    border-radius: 99px;
    backdrop-filter: blur(6px);
  }
  .scroll-cue i { width: 1px; height: 16px; }
}
