/* ===========================
   Front Page Styles
   =========================== */

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero_content.animate-in {
  animation-delay: 0.2s;
}

.hero_image.animate-in {
  animation-delay: 0.4s;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  position: relative;
  z-index: 0;
  padding: 0;
  height: 480px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50vw;
    height: 100%;
    background-image: url(../images/hero-bk.png);
    background-size: contain;
    z-index: -1;
    background-repeat: no-repeat;
}

.hero_inner {
  padding: 30px 0 120px;
  position: relative;
  height: 100%;
}

.hero_content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: left;
}

.hero_title {
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1.6;
  color: #333;
  letter-spacing: 0.05em;
  text-shadow: 0px 0px 10px rgba(255, 255, 255, 1), 0px 0px 10px rgba(255, 255, 255, 1);
}

.hero_subtitle {
  font-size: 1.8rem;
  margin-bottom: 0;
  color: #333;
  font-weight: 400;
  width: 330px;
  filter: drop-shadow(0 0 10px #fff);
}

.hero_image {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}

.hero_image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* Hero Notice Box */
.hero_notice {
  width: 100%;
  max-width: 1200px;
  margin: 0;
  padding: 0 40px;
  position: absolute;
  bottom: 0;
  z-index: 10;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}

.notice_box {
  width: 450px;
  background: #fff;
  box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.1);
  padding: 25px 35px;
  border: solid 1px #FFFF66;
}

.notice_label {
  color: #333;
  font-size: 1.5rem;
  font-weight: 700;
  white-space: nowrap;
}

.notice_date {
  font-size: 1.4rem;
  color: #666;
  white-space: nowrap;
}

.notice_text {
  font-size: 1.5rem;
  color: #333;
  line-height: 1.6;
  flex: 1;
}

/* ===========================
   Responsive Design
   =========================== */
@media screen and (max-width: 1024px) {
  .hero_inner {
    gap: 50px;
  }
}

@media screen and (max-width: 768px) {
  /* Hero */
  .hero_inner {
    padding: 30px 0 120px;
  }
  .hero_content {
    max-width: 100%;
  }

  .hero_title {
    font-size: 2.8rem;
  }

  .hero_subtitle {
    font-size: 1.6rem;
    width: 200px;
  }

  .hero_image {
    max-width: 100%;
    bottom: 0;
    top: inherit;
  }

  /* Hero Notice */
  .hero_notice {
    padding: 0 20px;
    bottom: -40px;
  }

  .notice_box {
    padding: 20px;
  }

  .notice_date {
    font-size: 1.3rem;
  }

  .notice_text {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 600px) {
  .hero {
    padding: 0 0 100px;
  }
 .hero_image img {
    height: 350px;
 }
  .hero_notice {
    position: relative;
    bottom: -20%;
  }
  .notice_box {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .hero_title {
    font-size: 2.4rem;
  }
}
