@import url("./assets/css/reset.css");
@import url("./assets/css/style.css");
@import url("./assets/css/responsive.css");
@import url("./assets/css/styel2.css");

/* TOP page custom layout */
.p-top {
  background-color: #030303;
  color: #ffffff;
}

.p-top img {
  max-width: 100%;
  height: auto;
}

.top-hero {
  position: relative;
  min-height: 100vh;
  padding: 12vw 0 8vw;
  background: #040404 url("./assets/img/top/top-mv_bg.png") center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.top-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 3, 3, 0) 0%, rgba(3, 3, 3, 0.8) 100%);
}

.top-hero__content {
  position: relative;
  width: 100%;
  text-align: center;
  z-index: 1;
}

.top-hero__title img {
  width: min(90vw, 980px);
  margin: 0 auto;
}

.top-hero__btn {
  display: inline-flex;
  justify-content: center;
  margin-top: 3rem;
  transition: transform 0.3s ease;
}

.top-hero__btn:hover {
  transform: translateY(6px);
}

.top-slogan {
  padding: 6vw 0;
}

.top-slogan__inner {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.top-slogan__text {
  flex: 1;
}

.top-slogan__visual {
  flex: 1;
}

.top-story {
  position: relative;
  padding: 8vw 0;
  text-align: center;
  overflow: hidden;
}

.top-story__bg {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  opacity: 0.25;
}

.top-story__bg--left {
  left: 0;
}

.top-story__bg--right {
  right: 0;
  text-align: right;
}

.top-story__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-story__text {
  position: relative;
  z-index: 1;
}

.top-story__text img {
  width: min(90vw, 720px);
  margin: 0 auto;
}

.top-movie {
  padding: 4vw 0 8vw;
  display: flex;
  justify-content: center;
}

.top-movie__frame {
  width: min(90vw, 1000px);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 45px 120px rgba(0, 0, 0, 0.55);
}

.top-panels {
  padding: 6vw 0 8vw;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.top-panel {
  position: relative;
  padding: 2.5rem;
  background-color: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  overflow: hidden;
  min-height: 100%;
}

.top-panel a {
  display: block;
}

.top-panel__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.top-panel__gallery img {
  border-radius: 16px;
}

.top-panel__gallery--company {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.top-panel--interview img:first-child,
.top-panel--business img,
.top-panel--company img:first-child,
.top-panel--recruit img {
  width: 100%;
  display: block;
}

.top-panel--company {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top-panel--recruit {
  padding: 0;
}

.top-panel--recruit .top-panel__bg {
  position: absolute;
  inset: 0;
}

.top-panel--recruit .top-panel__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-panel--recruit a {
  position: relative;
  display: block;
  padding: 2.5rem;
  z-index: 1;
}

@media (max-width: 1024px) {
  .top-hero {
    padding: 32vw 0 16vw;
  }

  .top-slogan__inner {
    flex-direction: column;
  }

  .top-story {
    padding: 12vw 0;
  }
}

@media (max-width: 600px) {
  .top-hero__btn {
    margin-top: 1.5rem;
  }

  .top-panel {
    border-radius: 24px;
    padding: 1.75rem;
  }

  .top-panel__gallery {
    gap: 0.5rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .top-panel__gallery--company {
    flex-direction: column;
  }
}
