* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #fff;
  background:#0b0f0c;
}

section, footer {
  position: relative;
}

.header {
  position: fixed;
  z-index: 100;
  padding: 16px 5%;
  width: 100%;
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Nav (PC) */
.nav {
  display: flex;
  align-items: center;
}

.nav a {
  margin-left: 32px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  opacity: 0.9;
}

/* ---------- Hamburger ---------- */

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 101;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { bottom: 0; }

/* ---------- Mobile ---------- */

@media (max-width: 768px) {
  .header
  .hamburger {
    display: block;
  }

  .nav {
    position: absolute;
    top: 59px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 32px 0;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .nav a {
    margin: 16px 0;
    font-size: 16px;
  }

  /* open */
  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.7);
  }

  /* hamburger animation */
  .hamburger.is-open span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }

  .hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.is-open span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }
}

.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  padding: 0 5%;
  isolation: isolate;
}

/* アニメーション */
/* =========================
   Base
========================= */

.bg {
  position: fixed;
  inset: -15%;
  pointer-events: none;
  will-change: transform, opacity;
}

/* =========================
   Base Background（blurはここだけ）
========================= */

.bg-base {
  background:
    radial-gradient(45% 55% at 15% 20%,
      rgba(8, 27, 22, 0.95), transparent 72%),
    radial-gradient(45% 55% at 85% 20%,
      rgba(184, 174, 165, 0.85), transparent 72%),
    radial-gradient(50% 60% at 85% 85%,
      rgba(6, 24, 46, 0.9), transparent 72%),
    radial-gradient(50% 60% at 15% 85%,
      rgba(137, 177, 153, 0.85), transparent 72%),
    linear-gradient(140deg, #050b0a, #081B16);

  filter: blur(22px) saturate(120%);
  opacity: 0.85;
  animation: baseDim 22s cubic-bezier(0.4,0,0.2,1) infinite;
}

/* =========================
   Shared Drift Animation
========================= */

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1.05);
    opacity: 0.25;
  }

  30% {
    transform: translate3d(6%, -4%, 0) scale(1.35);
    opacity: 0.9;
  }

  /* pause */
  50% {
    transform: translate3d(6%, -4%, 0) scale(1.35);
    opacity: 0.9;
  }

  100% {
    transform: translate3d(-5%, 6%, 0) scale(1.12);
    opacity: 0.35;
  }
}

/* =========================
   Corners（動き担当）
========================= */

.bg-corners {
  background:
    radial-gradient(60% 70% at 15% 20%,
      rgba(8, 27, 22, 0.6), transparent 75%),
    radial-gradient(60% 70% at 85% 20%,
      rgba(184, 174, 165, 0.55), transparent 75%),
    radial-gradient(65% 75% at 85% 85%,
      rgba(6, 24, 46, 0.6), transparent 78%),
    radial-gradient(65% 75% at 15% 85%,
      rgba(137, 177, 153, 0.55), transparent 78%);

  animation: drift 18s cubic-bezier(0.4,0,0.2,1) infinite alternate;
  opacity: 0.85;
}

/* =========================
   Dark Pulse（暗転イベント）
========================= */

.bg-dark {
  background: radial-gradient(
    120% 120% at 50% 50%,
    rgba(0,0,0,0.95),
    rgba(0,0,0,0.65) 45%,
    transparent 72%
  );

  mix-blend-mode: multiply;
  animation: darkPulse 16s cubic-bezier(0.4,0,0.2,1) infinite;
}

/* =========================
   Fusion（アクセント）
========================= */

.bg-fusion {
  background:
    radial-gradient(140% 140% at 50% 50%,
      rgba(184, 174, 165, 0.35),
      transparent 65%);

  mix-blend-mode: overlay;
  animation: fusionPulse 12s cubic-bezier(0.4,0,0.2,1) infinite;
}

/* =========================
   Animations
========================= */

@keyframes baseDim {
  0%, 40% { opacity: 0.85; }
  55%     { opacity: 0.55; }
  70%,100%{ opacity: 0.85; }
}

@keyframes darkPulse {
  0%, 45% {
    opacity: 0;
    transform: scale(1);
  }

  55%, 65% {
    opacity: 0.9;
    transform: scale(1.05);
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes fusionPulse {
  0%, 40% {
    transform: scale(0.6);
    opacity: 0;
  }

  55% {
    transform: scale(1.4);
    opacity: 0.65;
  }

  70%, 100% {
    transform: scale(0.6);
    opacity: 0;
  }
}

/* アニメーション */

  .scroll-wrapper {
    position: absolute;
    top: 50%; left: 0;
    width: 100%;
    overflow: hidden;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
  }

  .scroll-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: scrollText 41s linear infinite;
  }

  .scroll-text {
    font-size: 20vw;
    font-weight: 300;
    white-space: nowrap;
    padding-right: 8vw;
    line-height: 1.2;
    padding-bottom: 0.15em;
  }

  .kerling-narrow {
    letter-spacing: -18px;
  }

  .kerling-wide {
  letter-spacing: 10px;
  }

   @media (max-width:480px) {
      .kerling-narrow {
        letter-spacing: -6px;
      }

      .kerling-wide {
      letter-spacing: 4px;
      }
   }

  @keyframes scrollText {
    from { transform: translate3d(0,0,0); }
    to { transform: translate3d(-50%,0,0); }
  }

    /* =============================
       Bottom copy
       ============================= */
    .bottom {
      position: absolute;
      bottom: 16px;
      left: 0;
      z-index: 2;
      margin: 0 auto;
      width: 100%;
    }

    .bottom-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .title { font-family: 'Roboto Slab', serif; font-size: 40px; font-weight: 500; margin-bottom: 16px; }
    .desc { max-width: 520px; font-size: 18px; line-height: 1.7; font-weight: 300; }

    @media (max-width: 768px) {
      .scroll-text { font-size: 28vw; }
      .bottom { left: 5%; bottom: 32px; }
    }

    /* @media (prefers-reduced-motion: reduce) {
      .bg, .scroll-track { animation: none; }
    } */

/* ==========================
   SECTION BASE
========================== */

.section {
  color: #fff;
  padding: clamp(80px, 10vw, 140px) 24px;
}

.section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section__inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(10% + 72px);
}

/* ==========================
   TEXT
========================== */

.section__title {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: 0.08em;
  margin-bottom: 64px;
  line-height: 1.2;
  font-weight: 300;
}

.section__text h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.section__text p {
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 520px;
  position: relative;
  z-index: 1;
  font-weight: 300;
}

/* ==========================
   IMAGES
========================== */

.section__images {
  position: relative;
}

.section__images--triple {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 24px;
}

.section__images--double {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.image {
  overflow: hidden;
}

.image img {
  width: 100%;
  display: block;
  object-fit: cover;
}


/* staggered rhythm */

.image--top {
  width: 85%;
  margin-left: auto;
}

.image--middle {
  width: 100%;
}

.image--bottom {
  width: 70%;
  margin-left: auto;
}

/* ==========================
   ABOUT
========================== */

.section--about {
  padding-bottom: clamp(50px, 7vw, 90px);
}

.section--about .section__images--triple .image--top {
  width: 90%;
  margin-right: 10%;
}

.section--about .section__images--triple .image--middle {
  width: 115%;
  margin-left: -30%;
}

.section--about .section__images--triple .image--bottom {
  width: 40%;
}

/* ==========================
   PARTNERSHIP
========================== */

.section--partnership .section__title {
  letter-spacing: 0.1em;
}

.section--partnership .image--top {
  width: 70%;
  margin-top: 25%;
}

.section--partnership .image--bottom {
  width: 75%;
  margin-left: -20%;
}

.section--marketing--supoprt .image--top {
  width: 60%;
  margin-top: 15%;
  margin-right: 10%;
}

.section--marketing--supoprt .image--bottom{
  width: 60%;
  margin-left: -10%;
  margin-top: 10%;
}

.section--athlete--supoprt .image--top {
  width: 60%;
  margin-left: 0;
}

.section--athlete--supoprt .image--bottom {
  width: 60%;
  margin-top: 10%;
}

@media (max-width: 1024px) {

  .section__inner--split {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .section__images--triple {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 32px;
  }

  .section__images--triple .image--top {
    grid-column: 1 / 3;
    width: 100%;
    margin-left: 0;
  }

  .section__images--double {
    flex-direction: row;
  }

  .section--about .section__images--triple .image--top,
  .section--about .section__images--triple .image--bottom,
  .section--partnership .image--top,
  .section--partnership .image--bottom,
  .section--marketing--supoprt .image--top,
  .section--marketing--supoprt .image--bottom,
  .section--athlete--supoprt .image--top {
    width: 100%;
    margin: 0;
  }

  .section--athlete--supoprt .image--bottom {
    display: none;
  }
}

@media (max-width: 640px) {

  .section {
    padding: 64px 20px;
  }

  .section__text h3 {
    font-size: 15px;
  }

  .section__text p {
    font-size: 15px;
  }

  .section__images--triple,
  .section__images--double {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* ==========================
   CASE STUDY SECTION
========================== */

.section--case {
  padding: clamp(100px, 12vw, 180px) 24px;
}

.section--case .section__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 8vw, 120px);
}

/* ==========================
   CASE CARD
========================== */

.case {
  background: linear-gradient(
    135deg,
    rgba(120,120,120,0.55),
    rgba(255,255,255,0.55)
  );
  padding: clamp(40px, 6vw, 72px);
  color: #fff;
}

/* ==========================
   HEADER
========================== */

.case__label {
  font-family: 'Roboto Slab', serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.case__client {
  font-family: 'Roboto Slab', serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  margin-bottom: 32px;
  color: #0C152A;
}

/* ==========================
   LOGOS
========================== */

.case__logos {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.case__logos img {
  height: 40px;
  width: auto;
}

.case__logos img.case__logos_one{
  height: 80px;
}

.case__x {
  color: #050b0a;
  font-size: 24px;
}

/* ==========================
   CONTENT
========================== */

.case__content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.case__content ul {
  list-style: disc;
  padding-left: 18px;
  margin-bottom: 24px;
}

.case__content li {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 6px;
}

.case__content p {
  font-size: 18px;
  line-height: 1.9;
  max-width: 700px;
}

/* ==========================
   TABLET
========================== */

@media (max-width: 1024px) {

  .case {
    padding: 40px;
  }

  .case__logos img {
    height: 36px;
  }

.case__content h4 {
  font-size: 15px;
}

.case__content li {
  font-size: 14px;
}

.case__content p {
  font-size: 14px;
}
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 640px) {

  .case {
    padding: 32px 24px;
  }

  .case__client {
    font-size: 20px;
  }

  .case__logos {
    flex-wrap: wrap;
  }
}

/* ==========================
   COMPANY SECTION
========================== */

.section--company {
  color: #fff;
  padding: clamp(100px, 12vw, 180px) 24px 48px;
}

.section--company .section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================
   COMPANY INFO
========================== */

.company {
  margin-bottom: clamp(80px, 10vw, 140px);
}

.company__title {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0.08em;
  margin-bottom: clamp(80px, 10vw, 140px);
  font-weight: 300;
}

.company__list {
  display: grid;
  grid-template-columns: 240px 1fr;
  row-gap: 24px;
}

.company__list dt {
  font-size: 18px;
}

.company__list dd {
  font-size: 18px;
  line-height: 1.9;
}

.company__list a {
  color: #fff;
  text-decoration: none;
}

.company__list a:hover {
  opacity: 0.7;
}

/* ==========================
   CONTACT CTA
========================== */

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;

  border: 1px solid rgba(255,255,255,0.5);
  padding: clamp(32px, 5vw, 56px);
  margin-bottom: clamp(80px, 10vw, 140px);

  color: #fff;
  text-decoration: none;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: 0.08em;

  transition: all 0.3s ease;
}

.contact-cta__arrow {
  font-size: 1.4em;
  transition: transform 0.3s ease;
}

.contact-cta:hover {
  background: rgba(255,255,255,0.05);
}

.contact-cta:hover .contact-cta__arrow {
  transform: translateX(8px);
}

/* ==========================
   FOOTER
========================== */

.footer {
  padding-bottom: 16px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer__copy {
  font-size: 11px;
}

/* ==========================
   TABLET
========================== */

@media (max-width: 1024px) {

  .company__list {
    grid-template-columns: 160px 1fr;
  }
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 640px) {

  .company__list {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .company__list dt {
    margin-top: 16px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
