/**
 * CSS File: entry.css
 * 2026-05-08 | Final checked
 */

.l-entry-section {
  padding: 60px 0 120px;
  background-color: #f69381;
  position: relative;
  width: 100%;
  z-index: var(--z_0-base);
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
}

.p-entry__container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.p-entry-card__title {
  font-size: 1.6rem;
  font-weight: bolder;
}

.p-entry__grid {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.p-entry-card {
  background-color: #ffffff;
  text-align: center;
  width: 100%;
  max-width: 450px;
  padding: 80px 30px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 3px solid transparent;
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
}

.p-entry-card__content,
.p-entry-card__cta {
  display: block;
  width: 100%;
  color: #333333;
}

.p-entry-card__external-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #f69381;
  display: block;
}

.c-cta-container {
  position: relative;
  width: 220px;
  height: 72px;
  margin: 0 auto;
  display: block;
  transition: transform 0.3s ease;
}

.c-cta-bg,
.c-cta-mask,
.c-cta-mask-delay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.c-recruit-cta {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
}

@media (hover: hover) {
  .p-entry-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #ffd1c9;
    background-color: #fff;
  }

  .p-entry-card:hover .p-entry-card__title {
    color: #f69381;
  }

  .p-entry-card:hover .c-cta-container {
    transform: scale(1.08);
  }
}

.p-entry-card:active {
  transform: scale(0.96);
  border-color: #f69381;
}

@media screen and (min-width: 768px) {
  .l-entry-section {
    padding: 50px 0 300px;
  }

  .p-entry__grid {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
  }

  .p-entry-card {
    flex: 1;
    max-width: 450px;
    height: auto;
  }
}

@media screen and (max-height: 500px) and (orientation: landscape) {
  .p-entry__grid {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
  }

  .p-entry-card {
    flex: 1;
    min-width: 0;
    max-width: none;
    padding: 20px 10px;
    border-radius: 20px;
  }

  .c-cta-container {
    width: 160px;
    height: 46px;
  }

  .c-recruit-cta {
    font-size: 0.9rem;
  }
}
