.apply-list {
  padding: 0;
}

.apply-item {
  position: relative;
  margin: 0;
  padding: 1.4rem 0 calc(1.4rem + 0.64rem);
  scroll-margin-top: 1.15rem;
}

.apply-item:nth-child(odd) {
  background: rgba(247, 250, 252, 1);
}

.apply-inner {
  position: relative;
}

.apply-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.62 / 1;
  min-height: 280px;
  border-radius: 0.2rem;
  background: #16304f;
}

.apply-bg {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transform: scale(1.2);
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.apply-item.is-in .apply-bg {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .apply-bg,
  .apply-item.is-in .apply-bg {
    transform: none;
    transition: none;
  }
}

.apply-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 24, 48, 0.38) 0%,
    rgba(10, 24, 48, 0.08) 36%,
    rgba(10, 24, 48, 0) 58%
  );
  pointer-events: none;
}

.apply-visual h2 {
  position: absolute;
  z-index: 1;
  left: 0.8rem;
  top: 0.8rem;
  margin: 0;
  color: #fff;
  font-size: var(--font48);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0.06rem 0.18rem rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translate3d(0, 0.24rem, 0);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.12s,
    transform 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.12s;
}

.apply-item.is-in .apply-visual h2 {
  opacity: 1;
  transform: none;
}

.apply-panel {
  position: absolute;
  z-index: 2;
  right: 1.2rem;
  bottom: -0.64rem;
  display: flex;
  flex-direction: column;
  width: min(6rem, 36%);
  min-width: 300px;
  padding: 0.6rem 0.4rem 0.8rem;
  border-radius: 0.04rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0.06rem 0.1rem 0.18rem 0 rgba(1, 13, 20, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0.32rem, 0);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.22s,
    transform 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.22s;
}

.apply-item.is-in .apply-panel {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.apply-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.2rem 0.08rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apply-points li {
  position: relative;
  min-width: 0;
  text-align: center;
}

.apply-points li.is-open {
  z-index: 2;
}

.apply-points .meta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.apply-points .icon {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  margin-bottom: 0.08rem;
  border-radius: 50%;
  border: 2px solid rgba(196, 196, 196, 1);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.apply-points .icon img,
.apply-points .icon svg {
  width: 0.6rem;
  height: 0.6rem;
}

.apply-points .title {
  color: rgba(51, 51, 51, 1);
  font-size: var(--font16);
  text-align: center;
}

.apply-points li.is-open .icon {
  border-color: #2f6bff;
}

.apply-points .relate {
  position: absolute;
  z-index: 8;
  top: 0;
  left: calc(100% + 0.08rem);
  width: 2.5rem;
  padding: 0.28rem 0.32rem 0.22rem;
  background: #fff;
  text-align: left;
  box-shadow: 0 0.1rem 0.32rem rgba(16, 40, 80, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-0.08rem);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s;
}

.apply-points li:nth-child(3n) .relate {
  left: auto;
  right: calc(100% + 0.08rem);
  transform: translateX(0.08rem);
}

.apply-points li.is-open .relate {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition: opacity 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
}

.apply-points .relate::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 0.12rem;
}

.apply-points li:nth-child(3n) .relate::before {
  right: auto;
  left: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .apply-visual h2,
  .apply-item.is-in .apply-visual h2,
  .apply-panel,
  .apply-item.is-in .apply-panel {
    opacity: 1;
    pointer-events: auto;
    transition: none;
    transform: none;
  }

  .apply-points .icon,
  .apply-points .relate,
  .apply-points li.is-open .relate {
    transition: none;
    transform: none;
  }
}

.relate-title {
  color: #2f6bff;
  font-size: 0.2rem;
  font-weight: 600;
  line-height: 1.3;
}

.relate-title::after {
  content: "";
  display: block;
  width: 0.42rem;
  height: 2px;
  margin-top: 0.1rem;
  background: #2f6bff;
}

.relate-list {
  margin-top: 0.16rem;
}

.relate-list p {
  margin: 0;
  color: #333;
  font-size: 0.16rem;
  line-height: 1.9;
}

.relate-more {
  display: block;
  margin-top: 0.16rem;
  color: #2f6bff;
  font-size: 0.15rem;
  text-align: right;
}

.apply-item:has(.is-open) {
  z-index: 4;
}

.apply-copy {
  margin-top: 0.4rem;
  color: rgba(51, 51, 51, 1);
  font-size: var(--font16);
  font-weight: 300;
  line-height: 2;
}

.apply-copy p {
  text-indent: 2em;
}

.more-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.44rem;
}

@media only screen and (max-width: 1000px) {
  .apply-item {
    padding: 24px 0 36px;
  }

  .apply-visual {
    aspect-ratio: 16 / 9;
    min-height: 0;
    border-radius: 10px;
  }

  .apply-visual h2 {
    left: 16px;
    top: 16px;
    right: 16px;
    opacity: 1;
    transform: none;
  }

  .apply-panel {
    position: relative;
    z-index: 2;
    right: auto;
    bottom: auto;
    width: 100%;
    min-width: 0;
    margin-top: 16px;
    padding: 20px 16px 24px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .apply-points {
    position: relative;
    z-index: 3;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 8px;
  }

  .apply-points li,
  .apply-points .icon {
    position: static;
  }

  .apply-points .icon {
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
  }

  .apply-points .icon img,
  .apply-points .icon svg {
    width: 28px;
    height: 28px;
  }

  .apply-points .title {
    font-size: 14px;
    line-height: 1.45;
  }

  .apply-copy {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.75;
  }

  .more-row {
    justify-content: center;
    margin-top: 20px;
  }

  .apply-panel .public_button_box {
    --btn-width: 128px;
    --btn-border-radius: 20px;
    --btn-icon-width: 36px;
    --btn-icon-arrow-width: 14px;
    --btn-label-font-size: 14px;
  }

  .apply-points .relate,
  .apply-points li:nth-child(3n) .relate {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    width: auto;
    max-height: 220px;
    overflow: auto;
    padding: 16px;
    transform: none;
  }

  .apply-points li.is-open .relate {
    transform: none;
  }

  .apply-points .relate::before,
  .apply-points li:nth-child(3n) .relate::before {
    display: none;
  }

  .relate-title {
    font-size: 15px;
  }

  .relate-list p,
  .relate-more {
    font-size: 14px;
    line-height: 1.7;
  }
}
