@charset "UTF-8";

/* top-section-mv
------------------------------------- */
.top-section-mv {
  margin-bottom: 16px;
}

@media screen and (min-width: 768px) {
  .top-section-mv {
    margin-bottom: 24px;
  }
}

.top-section-mv:has(+ .section-content) {
  margin-bottom: 0;
}

.top-section-mv__inner {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
  top: 0;
  left: 0;
}

@media screen and (min-width: 768px) {
  .top-section-mv__inner {
    height: 423px;
  }
}

.top-section-mv__text {
  position: absolute;
  padding: 8px 32px 8px 24px;
  left: 0;
  bottom: 40px;
  max-width: 90%;
  text-wrap: nowrap;
  background-image: linear-gradient(
    90deg,
    #fff 74.52%,
    rgba(255, 255, 255, 0.3) 94.71%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: mv-text-animation 15s linear 0s normal;
}

@keyframes mv-text-animation {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@media screen and (min-width: 768px) {
  .top-section-mv__text {
    padding: 24px 120px 24px min(4.55vw, 60px);
    bottom: 32px;
  }
}

.top-section-mv__text em {
  color: VAR(--COLOR_BRAND_PRIMARY);
  font-size: 2.4rem;
  font-weight: 600;
  font-family: "Yu Mincho";
}

@media screen and (min-width: 768px) {
  .top-section-mv__text em {
    font-size: 4.8rem;
  }
}

.top-section-mv__slide {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -100;
  opacity: 0;
}

.top-section-mv__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-section-mv__slide:nth-of-type(1) {
  animation: mv-animation-01 15s linear 0s infinite normal;
}

.top-section-mv__slide:nth-of-type(2) {
  animation: mv-animation-02 15s linear 5s infinite normal;
}

.top-section-mv__slide:nth-of-type(3) {
  animation: mv-animation-03 15s linear 10s infinite normal;
}

@keyframes mv-animation-01 {
  0% {
    opacity: 0;
    transform: scale(1.2);
  }
  10% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  46.3% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
  }
}

@keyframes mv-animation-02 {
  0% {
    opacity: 0;
    transform: scale(1.1) translateX(-20px);
  }
  10% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  46.3% {
    opacity: 0;
    transform: scale(1.1) translateX(20px);
  }
  100% {
    opacity: 0;
  }
}

@keyframes mv-animation-03 {
  0% {
    opacity: 0;
    transform: scale(1.1) translateX(20px) translateY(20px);
  }
  10% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  46.3% {
    opacity: 0;
    transform: scale(1.1) translateX(-20px) translateY(20px);
  }
  100% {
    opacity: 0;
  }
}

/* ==========================================================================
    TOPCARD
========================================================================== */
/* top-card-list
------------------------------------- */
.top-card-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  margin-bottom: 24px;
  gap: 16px;
}

@media screen and (width >= 769px) {
  .top-card-list {
    gap: clamp(16px, calc((100vw - 1200px) / 2), 40px);
    flex-direction: row;
    margin-bottom: 32px;
  }
}

@media screen and (width >= 769px) {
  .top-card-list__item {
    flex: 0 1 calc((100% - clamp(16px, calc((100vw - 1200px) / 2), 40px)) / 2);
  }
}

/* top-card
------------------------------------- */
.top-card {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  width: 100%;
  gap: 16px;
  padding: 16px;
  box-shadow: 4px 4px 14px 0 VAR(--COLOR_BOX_SHADOW);
  border-radius: 10px;
  transition: border 0.4s, box-shadow 0.4s;
  border: 2px solid transparent;
  background-color: VAR(--COLOR_BACKGROUND);
  outline: none;
}

@media screen and (width >= 769px) {
  .top-card {
    gap: clamp(16px, calc((100vw - 1200px) / 2), 40px);
    padding: 16px 20px 16px 32px;
  }
}

@media (any-hover: hover) {
  .top-card:hover {
    border-color: VAR(--COLOR_BRAND_PRIMARY);
    box-shadow: none;
  }
  .top-card:hover .top-card__content::after {
    background-image: url("/corporate/recruit/challenged/common/img/icon-arrow-02_o.svg");
  }
}

.top-card:focus-visible {
  border-color: VAR(--COLOR_BRAND_PRIMARY);
  box-shadow: none;
}

.top-card:focus-visible .top-card__content::after {
  background-image: url("/corporate/recruit/challenged/common/img/icon-arrow-02_o.svg");
}

.top-card__content {
  display: flex;
  flex-direction: column;
  column-gap: 16px;
  padding: 16px 20px 16px 32px;
  row-gap: 8px;
  width: 100%;
  position: relative;
}

@media screen and (width >= 769px) {
  .top-card__content {
    gap: 16px;
    padding: 10px 0 0;
  }
}

.top-card__content::after {
  position: absolute;
  content: "";
  display: inline-block;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background-image: url("/corporate/recruit/challenged/common/img/icon-arrow-10.svg");
  transition: background-image 0.3s;
}

@media (any-hover: hover) {
  .top-card:hover .top-card__content::after {
    background-image: url("/corporate/recruit/challenged/common/img/icon-arrow-02_o.svg");
  }
}

.top-card__sub {
  font-weight: bold;
}

.top-card__title {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.5;
}

@media screen and (width >= 769px) {
  .top-card__title {
    font-size: 3.2rem;
  }
}

.top-card__media {
  flex: 0 0 109px;
}

.top-card__img {
  width: 100%;
  border-radius: 50vw;
}

/* top-section-recruit
------------------------------------- */
.top-section-recruit {
  overflow: hidden;
}

.top-section-recruit__inner {
  background: url(/corporate/recruit/challenged/top/img/index-img-04.webp) top
    center no-repeat;
  background-size: cover;
  padding: 313px 40px 64px;
  width: 100%;
  border-radius: 20px;
}

.top-section-recruit__inner > :first-child {
  margin-top: 0 !important;
}

.top-section-recruit__inner > :last-child {
  margin-bottom: 0 !important;
}

@media screen and (width < 769px) {
  .top-section-recruit__inner {
    background: url(/corporate/recruit/challenged/top/img/index-img-04-narrow.webp)
      top center no-repeat;
    background-size: cover;
    padding-top: 88px;
    padding-bottom: 32px;
  }
}
