@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;700;800;900&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

:root {
  --bg: #090909;
  --ink: #f4efe7;
  --muted: #a9a094;
  --line: rgba(244, 239, 231, 0.14);
  --panel: rgba(244, 239, 231, 0.06);
  --panel-strong: rgba(244, 239, 231, 0.1);
  --accent: #d8ff5f;
  --pink: #ff6aa8;
  --blue: #6ea8ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(216, 255, 95, .16), transparent 26%),
    radial-gradient(circle at 92% 8%, rgba(255, 106, 168, .17), transparent 26%),
    radial-gradient(circle at 70% 90%, rgba(110, 168, 255, .16), transparent 28%),
    var(--bg);
  font-family: "Inter", "Noto Sans JP", system-ui, sans-serif;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .12;
  background-image:
    linear-gradient(0deg, transparent 24%, rgba(255,255,255,.18) 25%, rgba(255,255,255,.18) 26%, transparent 27%, transparent 74%, rgba(255,255,255,.18) 75%, rgba(255,255,255,.18) 76%, transparent 77%),
    linear-gradient(90deg, transparent 24%, rgba(255,255,255,.18) 25%, rgba(255,255,255,.18) 26%, transparent 27%, transparent 74%, rgba(255,255,255,.18) 75%, rgba(255,255,255,.18) 76%, transparent 77%);
  background-size: 48px 48px;
  mix-blend-mode: overlay;
}

.cursor-light {
  position: fixed;
  width: 520px;
  height: 520px;
  left: 50%;
  top: 20%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(216,255,95,.12), transparent 66%);
  filter: blur(10px);
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 5vw;
  background: rgba(9, 9, 9, .62);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.045em;
  font-size: 21px;
}

.mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #080808;
  background: var(--accent);
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: -0.08em;
  transform: rotate(-6deg);
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 48px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 74px 5vw 100px;
}

.tag,
.section-kicker,
.num {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(64px, 11vw, 164px);
  line-height: .79;
  letter-spacing: -0.095em;
  font-weight: 900;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.lead {
  max-width: 690px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 2;
  font-weight: 500;
}

.hero-panel {
  position: relative;
  min-height: 520px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 38px;
  background:
    linear-gradient(150deg, rgba(244,239,231,.14), rgba(244,239,231,.035)),
    rgba(9,9,9,.3);
  box-shadow: 0 40px 120px rgba(0,0,0,.38);
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.orb-1 {
  width: 250px;
  height: 250px;
  left: -70px;
  top: 85px;
  background: radial-gradient(circle, rgba(216,255,95,.5), rgba(216,255,95,.02) 68%);
}

.orb-2 {
  width: 300px;
  height: 300px;
  right: -105px;
  bottom: -65px;
  background: radial-gradient(circle, rgba(255,106,168,.42), rgba(255,106,168,.02) 68%);
}

.panel-top,
.panel-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.panel-top p {
  margin: 0;
}

.panel-top span {
  color: #080808;
  background: var(--accent);
  border-radius: 999px;
  padding: 5px 9px;
}

.panel-center {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 390px;
}

.panel-center p {
  position: absolute;
  color: rgba(244,239,231,.18);
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: -0.09em;
  transform: rotate(90deg);
}

.symbol {
  display: grid;
  place-items: center;
  width: min(65vw, 250px);
  height: min(65vw, 250px);
  border-radius: 52px;
  color: #090909;
  background: var(--ink);
  font-size: clamp(90px, 12vw, 160px);
  font-weight: 900;
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
  transform: rotate(5deg);
}

.panel-bottom {
  flex-wrap: wrap;
}

.panel-bottom span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9,9,9,.2);
}

.section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 118px 5vw;
  border-top: 1px solid var(--line);
}

.two-column {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 42px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 38px;
}

h2 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(42px, 7vw, 98px);
  line-height: .9;
  letter-spacing: -0.085em;
  font-weight: 900;
}

.section p:not(.section-kicker):not(.num) {
  max-width: 780px;
  color: var(--muted);
  font-size: 17px;
  line-height: 2.05;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(260px, auto);
  gap: 16px;
}

.work-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--panel);
  box-shadow: 0 26px 80px rgba(0,0,0,.18);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  background: var(--panel-strong);
  border-color: rgba(216,255,95,.45);
}

.work-card.large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 536px;
  background:
    linear-gradient(145deg, rgba(216,255,95,.16), rgba(244,239,231,.055)),
    var(--panel);
}

.work-card.wide {
  grid-column: span 2;
}

.work-card h3 {
  margin: auto 0 16px;
  font-size: clamp(32px, 4vw, 66px);
  line-height: .9;
  letter-spacing: -0.075em;
}

.work-card p:last-child {
  margin: 0;
}

.quote-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.quote-list p {
  max-width: none !important;
  margin: 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  color: var(--ink) !important;
  font-size: clamp(18px, 2.1vw, 28px) !important;
  line-height: 1.5 !important;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.contact {
  min-height: 70vh;
  display: grid;
  align-content: center;
}

.contact h2 {
  font-size: clamp(58px, 11vw, 154px);
}

.contact-link {
  display: inline-block;
  width: fit-content;
  margin-top: 24px;
  color: #090909;
  background: var(--accent);
  border-radius: 999px;
  padding: 16px 22px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.03em;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 5vw;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel {
    min-height: 420px;
  }

  .two-column,
  .section-head {
    display: block;
  }

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

  .work-card.large,
  .work-card.wide {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 300px;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  nav {
    gap: 12px;
  }

  h1 {
    font-size: clamp(58px, 18vw, 88px);
  }

  .section {
    padding: 86px 5vw;
  }

  .symbol {
    border-radius: 38px;
  }
}

.scroll-area {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 0;
}

.scroll-area::-webkit-scrollbar {
  height: 8px;
}

.scroll-area::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 999px;
}

.member-card {
  min-width: 300px;
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.member-role {
  width: fit-content;
  margin: 0;
  padding: 7px 10px;
  border-radius: 999px;
  color: #090909;
  background: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.member-icon {
  display: block;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-top: 8px;
  border-radius: 28px;
  background: var(--ink);
  color: #090909;
  font-size: 42px;
  font-weight: 900;
  transform: rotate(-4deg);
  
}

.member-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.member-card h3 {
  margin: 8px 0 0;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.member-work {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.member-comment {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 800;
}

.member-grid {
  display: flex;
  gap: 24px;

  overflow-x: auto;
  overflow-y: hidden;

  padding: 16px 0 28px;
  scroll-snap-type: x mandatory;

  -webkit-overflow-scrolling: touch;
}

.member-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.work-link {
  color: inherit;
  text-decoration: none;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(216,255,95,.18), transparent 32%),
    var(--bg);
  overflow: hidden;
  animation: loaderExit .9s cubic-bezier(.76, 0, .24, 1) forwards;
  animation-delay: 2.2s;
}

.member-grid {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) rgba(255, 255, 255, 0.06);
}

.member-grid:hover {
  scrollbar-color: rgba(205, 255, 62, 0.75) rgba(255, 255, 255, 0.08);
}

.member-grid::-webkit-scrollbar {
  height: 10px;
}

.member-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.member-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  border: 2px solid #050505;
}

.member-grid:hover::-webkit-scrollbar-thumb {
  background: rgba(205, 255, 62, 0.75);
}

.member-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(205, 255, 62, 0.95);
}

.loader::before,
.loader::after {
  content: "";
  position: absolute;
  width: 46vw;
  height: 46vw;
  border-radius: 999px;
  border: 1px solid var(--line);
  animation: ringBlast 1.8s ease-in-out infinite;
}

.loader::after {
  animation-delay: .35s;
}

.loader-logo {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: clamp(56px, 10vw, 130px);
  font-weight: 900;
  letter-spacing: -0.08em;
}

.loader-logo span {
  display: inline-block;
  color: var(--ink);
  text-shadow: 0 0 34px rgba(216,255,95,.22);
  animation: letterPlay 1.1s cubic-bezier(.2, 1.5, .3, 1) infinite;
}

.loader-logo span:nth-child(1) {
  animation-delay: 0s;
  color: var(--accent);
}

.loader-logo span:nth-child(2) {
  animation-delay: .08s;
}

.loader-logo span:nth-child(3) {
  animation-delay: .16s;
  color: var(--pink);
}

.loader-logo span:nth-child(4) {
  animation-delay: .24s;
  color: var(--accent);
}

.loader-logo span:nth-child(5) {
  animation-delay: .32s;
}

.loader-logo span:nth-child(6) {
  animation-delay: .4s;
  color: var(--blue);
}

.loader-logo span:nth-child(7) {
  animation-delay: .48s;
}

@keyframes letterPlay {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  20% {
    transform: translate(-4px, -24px) rotate(-12deg) scale(1.16);
  }

  40% {
    transform: translate(6px, 8px) rotate(10deg) scale(.9);
  }

  60% {
    transform: translate(-3px, -12px) rotate(370deg) scale(1.08);
  }

  80% {
    transform: translate(4px, 4px) rotate(352deg) scale(.98);
  }

  100% {
    transform: translate(0, 0) rotate(360deg) scale(1);
  }
}

@keyframes loaderExit {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  55% {
    opacity: 1;
    transform: scale(1.08);
  }

  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.25);
  }
}

/* =========================
   Project Member Tags
========================= */

.project-member-tags-simple {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.project-member-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(140, 255, 190, 0.2);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  line-height: 1;
  backdrop-filter: blur(8px);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.project-member-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(140, 255, 190, 0.72);
  box-shadow: 0 0 10px rgba(140, 255, 190, 0.35);
}

.project-member-tag:hover {
  transform: translateY(-2px);
  border-color: rgba(140, 255, 190, 0.45);
  background: rgba(140, 255, 190, 0.08);
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 640px) {
  .project-member-tags-simple {
    gap: 7px;
  }

  .project-member-tag {
    padding: 7px 10px;
    font-size: 0.74rem;
  }
}

.project-credit {
  margin-top: 20px;
}

.project-credit-label {
  margin: 0 0 8px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

/* =========================
   Site Notice / 整備中表示
========================= */

.site-notice {
  position: sticky;
  top: 0;
  z-index: 9999;

  width: 100%;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 10px 16px;

  color: #b8ffcf;
  background:
    linear-gradient(90deg, rgba(0, 255, 120, 0.08), rgba(0, 0, 0, 0.75), rgba(0, 255, 120, 0.08)),
    rgba(5, 12, 8, 0.92);

  border-bottom: 1px solid rgba(0, 255, 120, 0.35);
  box-shadow:
    0 0 18px rgba(0, 255, 120, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.site-notice__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;

  background: #39ff88;
  box-shadow: 0 0 10px rgba(57, 255, 136, 0.9);

  animation: siteNoticeBlink 1.6s ease-in-out infinite;
}

.site-notice__text {
  opacity: 0.92;
}

/* 点滅アニメーション */
@keyframes siteNoticeBlink {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

/* スマホ用 */
@media (max-width: 640px) {
  .site-notice {
    padding: 8px 12px;
    font-size: 11px;
    letter-spacing: 0.05em;
  }
}

/* =========================
   Polished content blocks
   Works / Members / Notes / Featured work
========================= */

.work-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.work-meta span, .project-tags span, .note-tag {
  width: fit-content; padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); background: rgba(9, 9, 9, .32); font-size: 11px; line-height: 1;
  font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
}
.work-card:hover .work-meta span { color: var(--ink); border-color: rgba(244,239,231,.26); }
.member-section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 36px; }
.member-grid { display: flex; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.member-card { min-width: 0; }
.member-icon { position: relative; overflow: hidden; }
.member-icon::after { content: ""; position: absolute; inset: -35%; background: radial-gradient(circle, rgba(216,255,95,.32), transparent 55%); opacity: .55; }
.member-icon span { position: relative; z-index: 2; }
.member-skill-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.member-skill-list span { padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(9,9,9,.24); font-size: 11px; font-weight: 900; letter-spacing: .05em; }
.featured-work, .note-card, .project-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 34px; background: linear-gradient(145deg, rgba(244,239,231,.09), rgba(244,239,231,.035)), rgba(9,9,9,.22); box-shadow: 0 28px 90px rgba(0,0,0,.22); }
.featured-work { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); min-height: 390px; }
.project-visual { position: relative; display: grid; place-items: center; min-height: 340px; border-right: 1px solid var(--line); background: radial-gradient(circle at 35% 30%, rgba(216,255,95,.18), transparent 34%), radial-gradient(circle at 72% 72%, rgba(110,168,255,.16), transparent 32%), rgba(244,239,231,.035); }
.project-visual::before, .project-visual::after { content: ""; position: absolute; border-radius: 999px; border: 1px solid rgba(244,239,231,.13); }
.project-visual::before { width: 72%; height: 72%; }
.project-visual::after { width: 48%; height: 48%; }
.project-symbol { position: relative; z-index: 2; display: grid; place-items: center; width: min(48vw, 190px); height: min(48vw, 190px); border-radius: 42px; color: #090909; background: var(--ink); font-size: clamp(78px, 9vw, 128px); font-weight: 900; transform: rotate(-5deg); box-shadow: 0 28px 80px rgba(0,0,0,.34); }
.project-body { padding: clamp(28px, 4vw, 46px); display: grid; align-content: center; }
.project-status { width: fit-content; margin: 0 0 18px; padding: 7px 10px; border-radius: 999px; color: #090909; background: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.project-body h3 { margin: 0; font-size: clamp(34px, 5vw, 72px); line-height: .92; letter-spacing: -0.075em; }
.project-body p { margin: 22px 0 0; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.project-link-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.project-link-row a, .back-link { display: inline-flex; align-items: center; width: fit-content; padding: 12px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: rgba(9,9,9,.32); text-decoration: none; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.project-link-row a:hover, .back-link:hover { border-color: rgba(216,255,95,.55); background: rgba(216,255,95,.12); }
.notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.note-card { padding: 24px; }
.note-date { margin: 0 0 16px !important; color: var(--accent) !important; font-size: 12px !important; line-height: 1 !important; font-weight: 900 !important; letter-spacing: .13em; }
.note-card h3 { margin: 0 0 14px; font-size: clamp(24px, 2.8vw, 38px); line-height: 1; letter-spacing: -0.06em; }
.note-card p:not(.note-date) { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.note-tag { display: inline-block; margin-top: 20px; }
.page-work-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.project-card { padding: 24px; }
.project-card h3 { margin: 0 0 12px; font-size: 28px; line-height: 1; letter-spacing: -0.05em; }
.project-card p { margin: 0; color: var(--muted); line-height: 1.9; }
@media (max-width: 1100px) { .member-grid, .notes-grid, .page-work-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .member-section-head { display: block; } .featured-work { grid-template-columns: 1fr; } .project-visual { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) { .member-grid, .notes-grid, .page-work-list { grid-template-columns: 1fr; } }
