/* ============================================================
   KYUICHI — Main Stylesheet
   Base colors: Cyan (#00E5FF), White (#FFFFFF), Black (#0A0A0A)
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --cyan:      #00E5FF;
  --cyan-dim:  #00B8CC;
  --black:     #0A0A0A;
  --gray-dark: #141414;
  --gray-mid:  #1E1E1E;
  --gray-line: #2A2A2A;
  --white:     #FFFFFF;
  --white-60:  rgba(255,255,255,0.6);
  --white-20:  rgba(255,255,255,0.12);

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

  --header-h: 64px;
  --section-gap: clamp(80px, 12vw, 140px);
  --container-w: 1100px;
  --radius: 4px;

  --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(--black);
  color: var(--white);
  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; }

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

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s;
}
.site-header.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-color: var(--gray-line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  font-family: var(--font-disp);
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--white);
  transition: color 0.2s;
}
.logo:hover { color: var(--cyan); }

.global-nav ul {
  display: flex;
  gap: clamp(24px, 3vw, 48px);
}
.global-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  font-weight: 400;
  color: var(--white-60);
  transition: color 0.2s;
  padding-block: 4px;
  position: relative;
}
.global-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  transition: width 0.3s var(--ease-out);
}
.global-nav a:hover { color: var(--white); }
.global-nav a:hover::after { width: 100%; }

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-placeholder-img {
  width: 100%; height: 100%;
  /* 実際の背景画像に差し替え: background-image: url('images/hero.jpg'); */
  background: linear-gradient(135deg, #0a0a0a 0%, #0d2030 50%, #0a0a0a 100%);
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.55) 60%,
    rgba(10,10,10,1) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--header-h);
}
.hero-sub {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--cyan);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-disp);
  font-size: clamp(5rem, 14vw, 12rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-tagline {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--white-60);
  margin-bottom: 40px;
  max-width: 420px;
}
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  font-weight: 400;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-primary {
  background: var(--cyan);
  color: var(--black);
  border: 1px solid var(--cyan);
}
.btn-primary:hover {
  background: transparent;
  color: var(--cyan);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--white-60);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--white-60), transparent);
  animation: scrollDrop 1.8s var(--ease-out) infinite;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section {
  padding-block: var(--section-gap);
}
.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--cyan);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-disp);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.15;
  margin-bottom: 40px;
}
.section-desc {
  color: var(--white-60);
  font-size: 0.875rem;
  margin-top: -24px;
  margin-bottom: 48px;
}

/* ============================================================
   CONCEPT
   ============================================================ */
.concept {
  background: var(--gray-dark);
}
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.concept-text p {
  color: var(--white-60);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.concept-accent {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.concept-line {
  width: 1px;
  height: 60px;
  background: var(--cyan);
}
.concept-accent blockquote {
  font-family: var(--font-disp);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: var(--white-60);
}

/* ============================================================
   WORKS
   ============================================================ */
.works {
  background: var(--black);
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.work-card {
  background: var(--gray-mid);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.work-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
}

.work-thumb-link { display: block; }
.work-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0d1f2d, #0a2a3a);
  background-size: cover;
  transition: transform 0.5s var(--ease-out);
}
.work-card:hover .thumb-placeholder { transform: scale(1.05); }

.work-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.work-card:hover .work-thumb img { transform: scale(1.05); }

.play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  transition: background 0.3s;
}
.play-icon svg {
  width: 48px;
  height: 48px;
  color: var(--white);
  opacity: 0.8;
  transition: opacity 0.3s, color 0.3s, transform 0.3s;
}
.work-card:hover .play-icon { background: rgba(0,0,0,0.15); }
.work-card:hover .play-icon svg {
  opacity: 1;
  color: var(--cyan);
  transform: scale(1.12);
}

.work-info {
  padding: 20px 24px 24px;
}
.work-tag {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.3);
  padding: 3px 10px;
  border-radius: 2px;
}
.work-title {
  font-size: 1rem;
  font-weight: 400;
  margin: 12px 0 8px;
  line-height: 1.4;
}
.work-desc {
  font-size: 0.82rem;
  color: var(--white-60);
  line-height: 1.7;
}

/* ============================================================
   CREATOR
   ============================================================ */
.creator {
  background: var(--gray-dark);
}
.creator-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
}
.creator-photo {
  position: relative;
}
.creator-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--gray-line);
  display: block;
}
.creator-name {
  font-family: var(--font-disp);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.creator-name-en {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--white-60);
}
.creator-role {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin-bottom: 24px;
}
.creator-history {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.creator-history li {
  font-size: 0.85rem;
  color: var(--white-60);
  display: flex;
  gap: 16px;
  align-items: baseline;
  line-height: 1.6;
}
.history-year {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  white-space: nowrap;
  min-width: 40px;
}

.creator-text {
  font-size: 0.9rem;
  color: var(--white-60);
  margin-bottom: 24px;
  line-height: 2;
}
.creator-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.creator-skills li {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  border: 1px solid var(--gray-line);
  padding: 6px 14px;
  border-radius: 2px;
  color: var(--white-60);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--black);
}
.contact-inner {
  text-align: center;
}
.contact-desc {
  color: var(--white-60);
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto 40px;
}
.contact-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.contact-phone {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.contact-phone-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
}
.contact-phone-number {
  font-family: var(--font-disp);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--white);
  transition: color 0.2s;
}
.contact-phone-number:hover { color: var(--cyan); }
.contact-notice {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  margin-bottom: 40px;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}
.social-links a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--white-60);
  transition: color 0.2s;
  position: relative;
}
.social-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  transition: width 0.3s var(--ease-out);
}
.social-links a:hover { color: var(--cyan); }
.social-links a:hover::after { width: 100%; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--gray-dark);
  border-top: 1px solid var(--gray-line);
  padding-block: 48px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-disp);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
}
.footer-location {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--white-60);
}
.footer-copy {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
  margin-top: 8px;
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Nav */
  .nav-toggle { display: flex; }
  .global-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
  }
  .global-nav.open {
    opacity: 1;
    pointer-events: auto;
  }
  .global-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }
  .global-nav a {
    font-size: 1rem;
    letter-spacing: 0.25em;
    color: var(--white-60);
  }

  /* Concept */
  .concept-grid { grid-template-columns: 1fr; }
  .concept-accent { display: none; }

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

  /* Creator */
  .creator-card {
    grid-template-columns: 1fr;
  }
  .creator-photo {
    max-width: 200px;
    margin-inline: auto;
  }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(4rem, 18vw, 6rem);
  }
  .section-title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }
  .creator-card { padding: 24px 20px; }
}
