/* ===== Entry Page Styles ===== */

main {
  background: var(--color-white);
}

/* Hero */
.ent-hero {
  position: relative;
  height: 600px;
  margin-top: 100px;
  overflow: hidden;
}

.ent-hero__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ent-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.ent-hero__title-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--color-gray2);
  padding: 20px 50px;
}

.ent-hero__title {
  font-family: var(--font-en);
  font-weight: bold;
  font-size: 10rem;
  color: var(--color-dark);
  letter-spacing: 0.03em;
  line-height: 1;
}

.ent-hero__title--ja {
  font-family: var(--font-jp);
  font-size: 5.6rem;
}

/* Breadcrumb */
.ent-hero__breadcrumb {
  background: var(--color-gray2);
  padding: 16px 0;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  margin: 0;
}

.ent-hero__breadcrumb a {
  color: var(--color-gold);
}

.ent-hero__breadcrumb span {
  color: var(--color-dark);
}

/* ===== Section ===== */
.ent-sec {
  padding: 100px 0 0;
}

.ent-sec + .ent-sec {
  padding-top: 80px;
}

.ent-sec--persona {
  padding-bottom: 100px;
}

.ent-sec__inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

/* Anchor Title */
.ent-anchorTtl {
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 5.2rem;
  letter-spacing: 0.06em;
  padding: 0 0 15px 70px;
  background: url('../images/shared/icon_anchor.png') no-repeat left top;
  background-size: 52px auto;
  border-bottom: solid 3px #ccc;
  position: relative;
  margin-bottom: 60px;
}

.ent-anchorTtl::after {
  content: "";
  display: block;
  background: var(--color-navy);
  width: 100px;
  height: 3px;
  position: absolute;
  bottom: -3px;
  right: 0;
}

/* Box */
.ent-box__head {
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 3.6rem;
  letter-spacing: 0.06em;
  padding: 32px 50px;
}

.ent-box__body {
  background: #f5f5f5;
  padding: 38px 50px 50px;
}

.ent-text {
  font-size: 1.6rem;
  line-height: 3.6rem;
  letter-spacing: 0.03em;
}

.ent-text + .ent-text {
  margin-top: 3.6rem;
}

.ent-subTtl {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 3.6rem;
  letter-spacing: 0.06em;
  color: var(--color-navy);
  margin: 39px 0 9px;
}

.ent-subTtl::before {
  content: "";
  width: 15px;
  height: 8px;
  background: url('../images/shared/ico-list.png') center / contain no-repeat;
  flex-shrink: 0;
}

.ent-group + .ent-group {
  margin-top: 3.6rem;
}

.ent-group__ttl {
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 3.6rem;
  letter-spacing: 0.05em;
  color: var(--color-gold);
}

.ent-list li {
  font-size: 1.6rem;
  line-height: 3.6rem;
  letter-spacing: 0.03em;
  padding-left: 1em;
  text-indent: -1em;
}

.ent-list li::before {
  content: "・";
}

/* ===== Requirements ===== */
.ent-sec--require {
  background: #eeeeee;
  padding-bottom: 100px;
}

.ent-sec.ent-sec--require {
  padding-top: 100px;
}

.ent-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border: 1px solid #ddd;
}

.ent-table th,
.ent-table td {
  border-bottom: 1px solid #ddd;
  font-size: 1.6rem;
  line-height: 3.6rem;
  letter-spacing: 0.03em;
  padding: 11px 30px;
}

.ent-table th {
  width: 280px;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
}

.ent-table td {
  text-align: left;
  vertical-align: top;
}

.ent-table__map {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Apply Button */
.ent-apply {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  height: 150px;
  margin-top: 80px;
  background: var(--color-gold);
  color: var(--color-white);
  overflow: hidden;
  z-index: 1;
}

.ent-apply::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #f03c78;
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.ent-apply:hover {
  opacity: 1;
}

.ent-apply:hover::before {
  width: 100%;
}

.ent-apply__text {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 7.2rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.ent-apply__arrow {
  display: flex;
  transition: transform 0.3s;
}

.ent-apply:hover .ent-apply__arrow {
  transform: translateX(8px);
}

.ent-apply__arrow svg {
  width: 36px;
  height: 26px;
}

/* Back Button */
.ent-back-btn {
  display: flex;
  justify-content: center;
  padding: 100px 0;
  background: var(--color-white);
}

.ent-back-btn__link {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 600px;
  max-width: 100%;
  height: 90px;
  padding-right: 50px;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.06em;
}

.ent-back-btn__link:hover {
  opacity: 0.85;
}

.ent-back-btn__arrow {
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 100%;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ent-back-btn__arrow svg {
  width: 16px;
  height: 11px;
  color: var(--color-white);
}

/* ===== Responsive ===== */
@media screen and (max-width: 1240px) {
  .ent-hero__title--ja {
    font-size: 4.8rem;
  }

  .ent-sec__inner {
    padding: 0 20px;
  }
}

@media screen and (max-width: 900px) {
  .ent-hero__title--ja {
    font-size: 4rem;
  }
}

@media screen and (max-width: 768px) {
  .ent-hero {
    height: auto;
    margin-top: 50px;
  }

  .ent-hero__img {
    height: 200px;
    position: relative;
  }

  .ent-hero__title-wrap {
    padding: 12px 20px;
  }

  .ent-hero__title {
    font-size: 3.2rem;
  }

  .ent-hero__title--ja {
    font-size: 2rem;
  }

  .ent-sec {
    padding-top: 50px;
  }

  .ent-sec + .ent-sec {
    padding-top: 40px;
  }

  .ent-sec--persona {
    padding-bottom: 50px;
  }

  .ent-sec.ent-sec--require {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .ent-sec__inner {
    padding: 0 15px;
  }

  .ent-anchorTtl {
    background-size: 40px auto;
    background-position: left top;
    font-size: 2.2rem;
    line-height: 4rem;
    padding: 0 0 10px 52px;
    margin-bottom: 30px;
  }

  .ent-anchorTtl::after {
    width: 60px;
  }

  .ent-box__head {
    font-size: 1.8rem;
    line-height: 2.8rem;
    padding: 18px 20px;
  }

  .ent-box__body {
    padding: 22px 20px 30px;
  }

  .ent-text,
  .ent-list li,
  .ent-group__ttl {
    font-size: 1.4rem;
    line-height: 2.6rem;
  }

  .ent-text + .ent-text,
  .ent-group + .ent-group {
    margin-top: 2.4rem;
  }

  .ent-subTtl {
    font-size: 1.6rem;
    line-height: 2.6rem;
    margin: 30px 0 8px;
  }

  .ent-list li {
    margin-bottom: 4px;
  }

  /* Table -> stacked */
  .ent-table,
  .ent-table tbody,
  .ent-table tr,
  .ent-table th,
  .ent-table td {
    display: block;
    width: 100%;
  }

  .ent-table th,
  .ent-table td {
    font-size: 1.4rem;
    line-height: 2.6rem;
    padding: 10px 15px;
  }

  .ent-table th {
    text-align: left;
    border-bottom: none;
  }

  .ent-apply {
    height: 90px;
    margin-top: 40px;
    gap: 20px;
  }

  .ent-apply__text {
    font-size: 4.2rem;
  }

  .ent-apply__arrow svg {
    width: 26px;
    height: 19px;
  }

  .ent-back-btn {
    padding: 50px 0;
  }

  .ent-back-btn__link {
    width: calc(100% - 40px);
    font-size: 1.6rem;
    height: 70px;
  }
}
