.hero {
  /* width: 1440px; */
  width: 100%;
  /* max-width: 1440px; */
  height: 771.413px;
  margin: 0;
  background: linear-gradient(
    180deg,
    #f2eb49 80.28%,
    #f9f39f 80.29%,
    #f9f39f 92.3%,
    #fcf7cb 92.31%,
    #fcf7cb 99.99%,
    #fffbf6 100%
  );
  position: relative;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-bg-img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  /* aspect-ratio: 1440/821.41; */
  object-fit: cover;
}

.header-container {
  display: flex;
  width: 100%;
  max-width: 1440px;
  margin-left: 53px;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  box-sizing: border-box;
  transition: transform 0.3s ease, top 0.3s ease, background-color 0.3s ease;
  z-index: 2;
}

.header-nav {
  width: 837px;
  height: 91px;
  flex-shrink: 0;
}

.header-nav-list {
  height: 87px;
  flex-shrink: 0;
  border-radius: 0 0 0 40px;
  background: linear-gradient(180deg, #4be79c 5.17%, #9ef4ca 100%);
  box-shadow: 3px 4px 0 0 #ffffff;
  margin: 0;
  padding-left: 54px;

  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
}

.header-nav-list-item {
  color: var(--darknavy_apple, #1e285c);

  /* AS/H4/JP */
  font-family: "M PLUS 2";
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.logo-container {
  display: flex;
  height: 362px;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo-office {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);

  width: 638px;
  height: 327px;
  flex-shrink: 0;
  aspect-ratio: 638/327;
}

.logo-kv {
  position: absolute;
  top: -30px;
  transform-origin: 50% 50%;

  width: 871.095px;
  height: 468px;
  flex-shrink: 0;
  aspect-ratio: 871.1/468;
}

.hero-info {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-info-img {
  width: 406px;
  height: 82px;
}

.scroll-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 24px;
}

.scroll-text-wrapper {
  display: flex;
  padding-bottom: 40px;
  justify-content: center;
  align-items: flex-start;
  gap: 11px;
  align-self: stretch;
}

.scroll-text {
  color: #14c106;
  text-align: center;
  font-family: "M PLUS 2";
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 24px;
}

.hero-cta {
  width: 400px;
}

.under-cta-bt {
  margin-top: 24px;
}

.fixed-logo-apple {
  width: 216px;
  height: 111px;
  display: block;
}

@media (max-width: 1080px) {
  .hero {
    width: 100%;
    max-width: 1080px;
    height: 523px;
    margin: 0;
    background: linear-gradient(
      180deg,
      #f2eb49 80.28%,
      #f9f39f 80.29%,
      #f9f39f 92.3%,
      #fcf7cb 92.31%,
      #fcf7cb 99.99%,
      #fffbf6 100%
    );
    position: relative;
  }

  .hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero-bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    object-fit: cover;
  }

  .logo-office {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);

    width: 268.235px;
    height: 150.137px;
    flex-shrink: 0;
    aspect-ratio: 268.24/150.14;
  }

  .logo-kv {
    position: absolute;
    top: 20px;
    transform-origin: 50% 50%;

    width: 300px;
    height: 204.157px;
    flex-shrink: 0;
    aspect-ratio: 380/204.16;
  }

  .hero-info-img {
    width: 287px;
    height: 68px;
  }

  .hero-cta {
    width: 343px;
  }

  .scroll-wrapper {
    margin-top: 24px;
  }

  .scroll-text-wrapper {
    padding-bottom: 20px;
    gap: 11px;
  }

  .logo-container {
    display: flex;
    height: 222px;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .hero-cta-wrapper {
    margin-top: 12px;
  }

  .header-container {
    display: flex;
    width: 100%;
    max-width: 1080px;
    margin-left: 0;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    position: relative;
    box-sizing: border-box;
  }

  .fixed-logo-apple {
    position: unset;
    display: block;
    width: 92px;
    height: 47px;
  }

  .header-nav {
    width: 837px;
    height: 91px;
    flex-shrink: 0;
  }

  .header-nav-list {
    height: 87px;
    flex-shrink: 0;
    border-radius: 0 0 0 40px;
    background: linear-gradient(180deg, #4be79c 5.17%, #9ef4ca 100%);
    box-shadow: 3px 4px 0 0 #ffffff;
    margin: 0;
    padding-left: 54px;

    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
  }

  .header-nav-list-item {
    color: var(--darknavy_apple, #1e285c);

    /* AS/H4/JP */
    font-family: "M PLUS 2";
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }

  .menu-button {
    width: 59px;
    height: 52px;
  }

  .entry-button-header {
    width: 203px;
    height: 42px;
    display: block;
  }
}

.header-container.is-floating {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1440px);
  padding: 0 0;
  z-index: 1000;
}

.header-placeholder {
  width: 100%;
  height: 0;
  transition: height 0.3s ease;
}

.header-placeholder.pc-item {
  display: block !important;
}

.header-placeholder.sp-item {
  display: none !important;
}

@media (max-width: 1080px) {
  .header-container.is-floating {
    left: 0;
    transform: none;
    width: 100%;
    max-width: none;
    padding: 0 0;
  }

  .header-placeholder {
    height: 0;
  }

  .header-placeholder.pc-item {
    display: none !important;
  }

  .header-placeholder.sp-item {
    display: block !important;
  }
}
