@charset "UTF-8";

:root {
  --ink: #f5f6fa;
  --muted: #9da2af;
  --line: rgba(255, 255, 255, .16);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; min-height: 100%; }
body {
  color: var(--ink);
  background: #08090d;
  font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

body::before {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: rgba(255, 255, 255, .72);
  transform-origin: left center;
  animation: line-in .9s cubic-bezier(.22, 1, .36, 1) both;
}

.member-detail {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 0 clamp(30px, 6vw, 96px) 26px;
}
.member-detail__header {
  display: flex;
  flex: 0 0 76px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  animation: fade-down .7s .08s cubic-bezier(.22, 1, .36, 1) both;
}
.brand { width: 116px; }
.brand img { display: block; width: 100%; height: auto; transition: opacity .25s ease; }
.brand:hover img,
.brand:focus-visible img { opacity: .68; }
.back { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: lowercase; }
.back span { display: inline-block; margin-right: 7px; transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
.back:hover span,
.back:focus-visible span { transform: translateX(-4px); }

.member-detail__body {
  display: grid;
  flex: 1;
  grid-template-areas: "visual content";
  grid-template-columns: minmax(300px, 440px) minmax(390px, 620px);
  align-items: center;
  justify-content: center;
  gap: clamp(54px, 8vw, 130px);
  padding: 42px 0 34px;
}
.member-detail__content { grid-area: content; width: 100%; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #08090d;
  border-radius: 50%;
  background: #fff;
  animation: icon-in .5s cubic-bezier(.22, 1, .36, 1) both;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1), opacity .2s ease, box-shadow .25s ease;
}
.socials a:nth-child(1) { animation-delay: .36s; }
.socials a:nth-child(2) { animation-delay: .41s; }
.socials a:nth-child(3) { animation-delay: .46s; }
.socials a:nth-child(4) { animation-delay: .51s; }
.socials a.socials__youtube { color: #fff; background: #f00; }
.socials svg { width: 19px; height: 19px; fill: currentColor; }
.socials a:hover,
.socials a:focus-visible { transform: translateY(-3px) scale(1.06); box-shadow: 0 8px 24px rgba(255, 255, 255, .13); outline: none; }

h1 {
  margin: 0 0 28px;
  font-size: clamp(72px, 8vw, 120px);
  font-weight: 750;
  line-height: .86;
  letter-spacing: -.065em;
  text-transform: lowercase;
  animation: title-in .85s .18s cubic-bezier(.22, 1, .36, 1) both;
}
.member-detail__text { max-width: 610px; font-size: clamp(13px, 1.05vw, 16px); font-weight: 500; line-height: 1.9; }
.member-detail__text p { margin: 0 0 15px; animation: fade-up .7s cubic-bezier(.22, 1, .36, 1) both; }
.member-detail__text p:nth-child(1) { animation-delay: .30s; }
.member-detail__text p:nth-child(2) { animation-delay: .36s; }
.member-detail__text p:nth-child(3) { animation-delay: .42s; }
.member-detail__text p:nth-child(4) { animation-delay: .48s; }
.member-detail__text p:nth-child(5) { animation-delay: .54s; }
.member-detail__text p:last-of-type { margin-top: 25px; padding-top: 21px; border-top: 1px solid var(--line); }
.streaming-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 390px);
  margin-top: 24px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .045em;
  animation: fade-up .7s .60s cubic-bezier(.22, 1, .36, 1) both;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.streaming-link[hidden] { display: none; }
.streaming-link svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.streaming-link:hover,
.streaming-link:focus-visible { color: #08090d; border-color: #fff; background: #fff; outline: none; }
.streaming-link:hover svg,
.streaming-link:focus-visible svg { transform: translateX(4px); }

.member-detail__visual { grid-area: visual; width: min(100%, 400px); margin: 0 auto; }
.member-detail__visual img {
  display: block;
  width: 100%;
  height: auto;
  animation: visual-in 1s .1s cubic-bezier(.22, 1, .36, 1) both;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1), filter .55s ease;
}
.member-detail__visual:hover img { filter: brightness(1.035); transform: translateY(-4px); }
.copyright { margin: 0; color: #747986; font-size: 8px; letter-spacing: .12em; text-align: right; text-transform: uppercase; animation: fade-up .6s .62s ease both; }

@keyframes line-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes title-in {
  from { opacity: 0; letter-spacing: -.09em; transform: translateY(20px); }
  to { opacity: 1; letter-spacing: -.065em; transform: translateY(0); }
}

@keyframes icon-in {
  from { opacity: 0; transform: translateY(10px) scale(.78); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes visual-in {
  from { opacity: 0; filter: blur(8px); transform: translateY(18px) scale(.985); }
  to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
  .member-detail__body { grid-template-columns: minmax(260px, 330px) minmax(340px, 1fr); gap: 38px; }
  .member-detail__visual { width: min(100%, 310px); }
}

@media (max-width: 680px) {
  .member-detail { padding: 0 22px 22px; }
  .member-detail__header { flex-basis: 64px; }
  .brand { width: 102px; }
  .back { font-size: 8px; }
  .member-detail__body { display: flex; flex-direction: column; gap: 34px; padding: 38px 0 28px; }
  .member-detail__visual { order: 0; width: min(72vw, 280px); }
  .member-detail__content { order: 1; }
  h1 { margin-bottom: 24px; font-size: clamp(72px, 24vw, 96px); }
  .member-detail__text { font-size: 13px; line-height: 1.85; }
}

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