@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@1,700;1,900&display=swap');

.ots-hero-banner {
  position: relative;
  width: 100%;
  height: 240px;
  background: #1A6DC7;
  overflow: hidden;
}

.ots-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      transparent 49.7%,
      rgba(255,255,255,0.12) 49.7%,
      rgba(255,255,255,0.12) 50.3%,
      transparent 50.3%),
    linear-gradient(to bottom,
      transparent 19%,
      rgba(255,255,255,0.09) 19%,
      rgba(255,255,255,0.09) 20.5%,
      transparent 20.5%,
      transparent 79%,
      rgba(255,255,255,0.09) 79%,
      rgba(255,255,255,0.09) 80.5%,
      transparent 80.5%),
    linear-gradient(to bottom,
      transparent 49%,
      rgba(255,255,255,0.12) 49%,
      rgba(255,255,255,0.12) 51%,
      transparent 51%);
  pointer-events: none;
  z-index: 0;
}

.ots-hero-accent-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 100%;
  background: #FFC200;
  z-index: 10;
}

.ots-hero-accent-top,
.ots-hero-accent-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 6px;
  background: #FFC200;
  z-index: 10;
}

.ots-hero-accent-top {
  top: 0;
}

.ots-hero-accent-bottom {
  bottom: 0;
}

.ots-hero-ball {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-52%);
  width: 210px;
  height: 210px;
  z-index: 1;
  animation: otsHeroBallSlide 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.ots-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.ots-hero-catchcopy {
  background: #FFC200;
  padding: 5px 28px;
  border-radius: 3px;
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(15px, 1.9vw, 22px);
  font-weight: 900;
  font-style: italic;
  color: #0A3A70;
  letter-spacing: 0.04em;
  white-space: nowrap;
  margin-bottom: 12px;
  animation: otsHeroSlideFromLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.ots-hero-logo-row {
  display: flex;
  align-items: center;
}

.ots-hero-ots {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(88px, 14vw, 172px);
  font-weight: 900;
  font-style: italic;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.22);
  padding-right: 24px;
  animation: otsHeroSlideFromLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.ots-hero-divider {
  width: 2.5px;
  height: clamp(80px, 10vw, 130px);
  background: rgba(255, 198, 0, 0.7);
  border-radius: 2px;
  margin: 0 24px;
  animation: otsHeroSlideFromLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.ots-hero-text-area {
  display: flex;
  flex-direction: column;
  animation: otsHeroSlideFromLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

.ots-hero-school-name {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(20px, 3vw, 40px);
  font-weight: 900;
  font-style: italic;
  color: #FFFFFF;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

.ots-hero-underline {
  width: 100%;
  height: 3px;
  background: #FFC200;
  border-radius: 2px;
  margin: 6px 0 8px;
}

.ots-hero-sub-en {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(10px, 1.2vw, 16px);
  font-weight: 700;
  font-style: italic;
  color: #E6F1FB;
  letter-spacing: 0.32em;
  margin-bottom: 7px;
}

.ots-hero-tagline {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(8px, 0.9vw, 12px);
  font-weight: 700;
  font-style: italic;
  color: #FFE680;
  letter-spacing: 0.2em;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 7px;
}

@keyframes otsHeroBallSlide {
  from {
    opacity: 0;
    transform: translateY(-52%) translateX(120px);
  }
  to {
    opacity: 1;
    transform: translateY(-52%) translateX(0);
  }
}

@keyframes otsHeroSlideFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100vw);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 767px) {
  .ots-hero-banner {
    height: 190px;
  }

  .ots-hero-ball {
    right: -58px;
    width: 155px;
    height: 155px;
  }

  .ots-hero-catchcopy {
    padding: 5px 14px;
    font-size: 14px;
  }

  .ots-hero-ots {
    font-size: 68px;
    padding-right: 10px;
  }

  .ots-hero-divider {
    height: 58px;
    margin: 0 10px;
  }

  .ots-hero-school-name {
    font-size: 19px;
  }

  .ots-hero-sub-en {
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .ots-hero-tagline {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
}
