/* ============================================================
   KYUICHI — Redesign
   Base: White / Accent: Cyan (#00D4E8) / Text: Black (#0A0A0A)
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --white:     #FFFFFF;
  --black:     #0A0A0A;
  --cyan:      #00D4E8;
  --cyan-dark: #00A8BB;
  --gray-50:   #F5F5F5;
  --gray-100:  #EBEBEB;
  --gray-300:  #BBBBBB;
  --gray-500:  #888888;

  --font-sans: 'DM Sans', 'Noto Sans JP', sans-serif;
  --font-jp:   'Noto Sans JP', sans-serif;
  --font-disp: 'Bebas Neue', sans-serif;

  --header-h:  68px;
  --max-w:     1200px;
  --gap:       clamp(64px, 10vw, 120px);

  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }

.container {
  width: min(var(--max-w), 100% - 48px);
  margin-inline: auto;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow 0.3s;
}
.site-header.shadow { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

.header-inner {
  max-width: calc(var(--max-w) + 48px);
  margin-inline: auto;
  padding-inline: 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-disp);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--black);
  transition: color 0.2s;
}
.logo:hover { color: var(--cyan-dark); }

.global-nav {
  display: flex;
  gap: 40px;
}
.global-nav a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gray-500);
  transition: color 0.2s;
  position: relative;
}
.global-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--cyan);
  transition: width 0.3s var(--ease-out);
}
.global-nav a:hover { color: var(--black); }
.global-nav a:hover::after { width: 100%; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 7px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--black);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: translateY(-8.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 32px 24px;
  gap: 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gray-500);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--black); }

/* ============================================================
   HERO — full-width video background, no crop
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  background: var(--black);
}

/* 映像ラッパー：動画の縦横比をそのまま維持 */
.hero-video-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
}
.hero-video {
  width: 100%;
  height: auto;      /* クロップなし：アスペクト比を保持 */
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.2) 40%,
    rgba(0,0,0,0.55) 100%
  );
}

/* テキストを映像の上に絶対配置 */
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(24px, 5vw, 80px) clamp(40px, 6vw, 80px);
  padding-top: calc(var(--header-h) + 20px);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.7);
}
.cyan-bar {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--cyan);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-disp);
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-sub {
  font-family: var(--font-jp);
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  font-weight: 300;
  line-height: 2;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--white);
  border-bottom: 1.5px solid var(--white);
  padding-bottom: 6px;
  width: fit-content;
  transition: color 0.2s, border-color 0.2s, gap 0.3s var(--ease-out);
}
.hero-cta:hover { color: var(--cyan); border-color: var(--cyan); gap: 20px; }
.cta-arrow { font-size: 1rem; }

.hero-cta-sub {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.hero-cta-sub:hover { color: var(--cyan); }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: clamp(24px, 4vw, 56px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.4);
}
.scroll-track {
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.scroll-thumb {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 40%;
  background: var(--cyan);
  animation: scrollSlide 1.8s var(--ease-out) infinite;
}
@keyframes scrollSlide {
  0%   { left: -40%; }
  100% { left: 140%; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrap {
  background: var(--black);
  overflow: hidden;
  padding-block: 14px;
}
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: var(--font-disp);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.5);
  padding-inline: 20px;
}
.marquee-track .sep { color: var(--cyan); padding-inline: 4px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTION — shared
   ============================================================ */
.section {
  padding-block: var(--gap);
}
.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(40px, 6vw, 72px);
  border-top: 1.5px solid var(--black);
  padding-top: 16px;
}
.section-num {
  font-family: var(--font-disp);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--cyan-dark);
}
.section-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--gray-500);
}

/* ============================================================
   CONCEPT
   ============================================================ */
.concept-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.concept-title {
  font-family: var(--font-jp);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.concept-title::before {
  content: '';
  display: block;
  width: 40px; height: 3px;
  background: var(--cyan);
  margin-bottom: 24px;
}

.concept-lead {
  font-family: var(--font-jp);
  font-size: 1rem;
  font-weight: 500;
  line-height: 2;
  margin-bottom: 24px;
}
.concept-text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 2.2;
  margin-bottom: 40px;
}
.concept-quote {
  font-family: var(--font-disp);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--black);
  border-left: 3px solid var(--cyan);
  padding-left: 20px;
}

/* ============================================================
   WORKS
   ============================================================ */
.works-title {
  font-family: var(--font-jp);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: clamp(32px, 5vw, 56px);
  padding-inline: calc((100% - min(var(--max-w), 100% - 48px)) / 2 + 24px);
}

.works-grid-wrap {
  max-width: 100%;
  overflow: hidden;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--gray-100);
}
.work-item {
  background: var(--white);
}
.work-link {
  display: block;
  transition: background 0.25s;
}
.work-link:hover { background: var(--gray-50); }

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-100);
}
.work-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.work-link:hover .work-thumb img { transform: scale(1.04); }

.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.work-link:hover .work-overlay { opacity: 1; }
.play-svg {
  width: 56px; height: 56px;
  transition: transform 0.3s var(--ease-out);
}
.work-link:hover .play-svg { transform: scale(1.1); }

.work-meta {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--gray-100);
}
.work-tag {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--white);
  background: var(--cyan-dark);
  padding: 4px 10px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 3px;
}
.work-title {
  font-family: var(--font-jp);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
  flex: 1;
}
.work-arrow {
  font-size: 1rem;
  color: var(--gray-300);
  transition: color 0.2s, transform 0.3s var(--ease-out);
  flex-shrink: 0;
  margin-top: 2px;
}
.work-link:hover .work-arrow { color: var(--cyan-dark); transform: translateX(4px); }

/* Playlist card — thumbnail only, full width */
.playlist-card {
  display: block;
  margin-top: 2px;
  position: relative;
  overflow: hidden;
}
.playlist-thumb {
  position: relative;
  aspect-ratio: 21 / 6;
  overflow: hidden;
  background: var(--black);
}
.playlist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: brightness(0.55);
  transition: transform 0.6s var(--ease-out), filter 0.4s;
}
.playlist-card:hover .playlist-thumb img {
  transform: scale(1.04);
  filter: brightness(0.4);
}
.playlist-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.playlist-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--cyan);
  background: rgba(0,212,232,0.12);
  border: 1px solid rgba(0,212,232,0.4);
  padding: 5px 14px;
}
.playlist-overlay .play-svg {
  width: 64px;
  height: 64px;
  transition: transform 0.3s var(--ease-out);
}
.playlist-card:hover .play-svg { transform: scale(1.12); }
.playlist-sub {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.6);
}

.works-footer {
  margin-top: clamp(32px, 5vw, 56px);
  text-align: right;
}
.all-works-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--black);
  border-bottom: 1.5px solid var(--gray-300);
  padding-bottom: 6px;
  transition: color 0.2s, border-color 0.2s, gap 0.3s var(--ease-out);
}
.all-works-link:hover { color: var(--cyan-dark); border-color: var(--cyan); gap: 16px; }

/* ============================================================
   CREATOR
   ============================================================ */
.creator { background: var(--gray-50); }

.creator-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.creator-photo-wrap {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.creator-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.creator-name {
  font-family: var(--font-jp);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.creator-name-en {
  display: block;
  font-family: var(--font-disp);
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.16em;
  color: var(--gray-300);
  margin-top: 4px;
}
.creator-role {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--cyan-dark);
  font-weight: 500;
  margin-bottom: 40px;
}

.creator-history {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--gray-100);
  margin-bottom: 32px;
}
.creator-history li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.875rem;
}
.hist-key {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--cyan-dark);
  font-weight: 500;
  padding-top: 2px;
}
.hist-val {
  color: var(--black);
  line-height: 1.7;
}

.creator-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 2.1;
}

/* ============================================================
   CLIENTS
   ============================================================ */
.clients { background: var(--gray-50); }

.clients-title {
  font-family: var(--font-jp);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 40px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-100);
}
.clients-grid li {
  font-size: 0.78rem;
  font-family: var(--font-jp);
  color: var(--black);
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--gray-100);
  line-height: 1.55;
  transition: color 0.2s;
}
.clients-grid li::before {
  content: '—';
  color: var(--cyan);
  margin-right: 10px;
  font-size: 0.7rem;
}

.clients-note {
  margin-top: 20px;
  font-size: 0.7rem;
  color: var(--gray-300);
  letter-spacing: 0.08em;
}

@media (max-width: 560px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 360px) {
  .clients-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-body {
  max-width: 680px;
}
.contact-title {
  font-family: var(--font-jp);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
}
.contact-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 2;
  margin-bottom: 48px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  border-top: 1.5px solid var(--black);
  margin-bottom: 16px;
}
.contact-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.2s;
}
.contact-item--tel { pointer-events: none; }
.contact-type {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--gray-500);
  font-weight: 500;
}
.contact-type em {
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0;
  display: block;
  margin-top: 2px;
}
.contact-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  transition: color 0.2s;
}
a.contact-item:hover .contact-value { color: var(--cyan-dark); }
.contact-go {
  font-size: 1rem;
  color: var(--gray-300);
  transition: transform 0.3s var(--ease-out), color 0.2s;
}
a.contact-item:hover .contact-go { transform: translateX(6px); color: var(--cyan-dark); }

.contact-notice {
  font-size: 0.72rem;
  color: var(--gray-300);
  letter-spacing: 0.06em;
  margin-bottom: 48px;
}

.social-row {
  display: flex;
  gap: 12px;
}
.social-btn {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--black);
  border: 1.5px solid var(--gray-100);
  padding: 10px 20px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan-dark);
  background: rgba(0, 212, 232, 0.05);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  padding-block: 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-logo {
  font-family: var(--font-disp);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  color: var(--white);
}
.footer-right {
  text-align: right;
}
.footer-location {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.footer-copy {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  .hero-content {
    justify-content: flex-end;
  }
  .hero-scroll { display: none; }

  .concept-body { grid-template-columns: 1fr; }
  .concept-title { position: static; }

  .creator-body {
    grid-template-columns: 200px 1fr;
  }
  .creator-photo-wrap { position: static; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  .global-nav { display: none; }
  .nav-toggle { display: flex; }

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

  .creator-body {
    grid-template-columns: 1fr;
  }
  .creator-photo-wrap {
    max-width: 240px;
  }

  .contact-item {
    grid-template-columns: 80px 1fr auto;
    gap: 12px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-right { text-align: left; }

  .works-title {
    padding-inline: 24px;
  }
}

@media (max-width: 400px) {
  .social-row { flex-wrap: wrap; }
  .contact-item { grid-template-columns: 70px 1fr; }
  .contact-go { display: none; }
}
