* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
}

.anime {
  height: 100svh;
  min-height: 480px;
  background: #101827;
  color: white;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.problem {
  position: absolute;
  left: 50%;
  top: 50%;
  white-space: nowrap;
  font-size: clamp(15px, 2.5vw, 32px);
  font-weight: 700;
  color: #e2e8f0;
  opacity: 0;
  will-change: transform, opacity;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transform-origin: center center;
}

.brand {
  position: relative;
  text-align: center;
  padding: 24px;
  opacity: 0;
  z-index: 2;
}

.brand h1 {
  font-size: clamp(24px, 4vw, 52px);
  margin: 0 0 24px;
}

.brand p {
  font-size: clamp(16px, 2.3vw, 28px);
  color: #93c5fd;
  margin: 0;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
}

.anime {
  height: 100svh;
  min-height: 480px;
  background: #101827;
  color: white;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.problem {
  position: absolute;
  left: 50%;
  top: 50%;
  white-space: nowrap;
  font-size: clamp(15px, 2.5vw, 32px);
  font-weight: 700;
  color: #e2e8f0;
  opacity: 0;
  will-change: transform, opacity;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transform-origin: center center;
}

.brand {
  position: relative;
  text-align: center;
  padding: 24px;
  opacity: 0;
  z-index: 2;
}

.brand h1 {
  font-size: clamp(24px, 4vw, 52px);
  margin: 0 0 24px;
  color: white;
}

.brand p {
  font-size: clamp(16px, 2.3vw, 28px);
  color: #93c5fd;
  margin: 0;
}

/* スマホ向け */
@media (max-width: 767px) {
  .anime {
    position: relative;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
  }

  .anime .problem {
    position: absolute;
    max-width: 85vw;
    font-size: clamp(14px, 4vw, 20px);
    white-space: normal;
    text-align: center;
    line-height: 1.5;
  }

  .anime .brand {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    text-align: center;
    transform: translate(-50%, -50%);
  }

  .anime .brand h1 {
    font-size: clamp(20px, 6vw, 30px);
    line-height: 1.4;
  }

  .anime .brand p {
    font-size: 14px;
  }
}
