@charset "utf-8";

.home-hero {
  position: relative;
  height: 38.5625rem;
  overflow: hidden;
  color: var(--color-white);
  background: var(--color-primary) url("../images/bg-home-catch.png") center / 120rem 37.5rem no-repeat;
}

.home-hero__ring.pc {
  position: absolute;
  top: 0;
  left: 50%;
  width: 51rem;
  height: 37.5rem;
  max-width: none;
  transform: translateX(-50%);
}

.home-hero__ring.sp {
  display: none;
}

.home-hero__photo {
  position: absolute;
  max-width: none;
}

.home-hero__photo--1 {
  top: 2.35rem;
  left: max(calc(50% - 35rem), 3rem);
  width: 12rem;
  height: 10.5rem;
}

.home-hero__photo--2 {
  top: 2.1rem;
  right: max(calc(50% - 36rem), 2rem);
  width: 12.5rem;
  height: 13.5rem;
}

.home-hero__photo--3 {
  bottom: 1.5rem;
  left: max(calc(50% - 32rem), 7rem);
  width: 14.5rem;
  height: 12.5rem;
}

.home-hero__photo--4 {
  right: max(calc(50% - 34rem), 4rem);
  bottom: 4.5rem;
  width: 8.5rem;
  height: 9rem;
}

.home-hero__content {
  position: relative;
  z-index: 2;
  width: 32.5rem;
  margin-inline: auto;
  padding-top: 4.1rem;
}

.home-hero__eyebrow {
  width: 22.5rem;
  height: 2.5rem;
  margin-inline: auto;
}

.home-hero__copy {
  width: 32.5rem;
  height: 9.25rem;
  margin-top: 1.45rem;
}

.home-hero__lead {
  margin-top: 1.25rem;
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.9;
  text-align: center;
}

.home-news {
  min-height: 27.9375rem;
  padding: 4rem 0 3.5rem;
  background: linear-gradient(var(--color-white) 24%, var(--color-aqua-pale));
}

.home-news>.container {
  position: relative;
}

.home-news__header {
  padding-inline: 2.5rem;
}

.home-news__title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.3;
}

.home-news__en {
  color: var(--color-primary-dark);
  font-size: 0.875rem;
  letter-spacing: 0.3em;
}

.home-news__all {
  position: absolute;
  top: 0.75rem;
  right: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
  padding: 0.6rem 1.25rem;
  background: linear-gradient(90deg, #c2fae8, #f1fa62);
  border-radius: 999px;
}

.home-news__all:hover,
.home-news__all:focus-visible {
  opacity: 1;
}

.home-news__all::after {
  transition: transform var(--transition);
}

.home-news__all:hover::after,
.home-news__all:focus-visible::after {
  transform: translateX(0.25rem);
}

.news-list {
  margin-top: 2rem;
}

.news-list__link {
  display: grid;
  grid-template-columns: 6.75rem 5.625rem 1fr;
  gap: 1.5rem;
  align-items: center;
  min-height: 3.5rem;
  padding: 0.45rem 2.5rem;
  border-bottom: 1px solid var(--color-line);
}

.news-list__date {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
}

.news-list__tag {
  display: inline-grid;
  place-items: center;
  height: 1.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  padding-bottom: 0.1em;
}

.news-list__tag--news {
  background: #66efae;
}

.news-list__tag--achievements {
  background: #54dddc;
}

.news-list__tag--papers {
  background: #f28bd8;
}

.news-list__tag--awards {
  background: #f9ee4c;
}

.news-list__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-links {
  min-height: 24.25rem;
  padding: 2.5rem 0 3.5rem;
  background: linear-gradient(var(--color-aqua-pale), var(--color-aqua));
}

.home-links__grid {
  display: flex;
  gap: 3.75rem;
  justify-content: center;
}

.home-links__grid>li {
  flex: 0 0 18rem;
  height: 18rem;
}

.circle-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background: url("../images/btn-contents.png") center / contain no-repeat;
  text-align: center;
  transition: filter var(--transition), opacity var(--transition), transform var(--transition);
}

.circle-link:hover,
.circle-link:focus-visible {
  opacity: 1;
  filter: drop-shadow(0 0.625rem 0.5rem rgb(0 100 79 / 12%));
  transform: translateY(-0.25rem) scale(1.015);
}

.circle-link>span {
  position: absolute;
  inset: 0;
}

.circle-link__ja {
  position: absolute;
  top: 31.5%;
  left: 0;
  width: 100%;
  font-family: var(--font-serif);
  font-size: 1.78rem;
  font-weight: 500;
  line-height: 1.4;
}

.circle-link__en {
  position: absolute;
  top: 57%;
  left: 0;
  width: 100%;
  color: var(--color-primary-dark);
}

.circle-link__arrow {
  position: absolute;
  top: 72%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  overflow: hidden;
  background: url("../images/icon-arrow.png") center / contain no-repeat;
  font-size: 0;
  transform: translateX(-50%);
  transition: transform var(--transition);
}

.circle-link:hover .circle-link__arrow,
.circle-link:focus-visible .circle-link__arrow {
  transform: translateX(calc(-50% + 0.25rem));
}

.home-recruit {
  padding: 4rem 0 1.25rem;
}

.home-recruit__banner {
  width: 40rem;
  height: 10rem;
  margin-inline: auto;
}

.home-recruit .related-links {
  padding: 3rem 1.25rem 1rem;
}

@media (max-width: 68rem) {
  .home-links__grid {
    gap: 1rem;
  }

  .home-links__grid>li {
    flex-basis: 15rem;
    height: 15rem;
  }
}

@media (max-width: 55rem) and (min-width: 48rem) {
  .home-links__grid {
    gap: 0.5rem;
  }

  .home-links__grid>li {
    flex-basis: 13.5rem;
    height: 13.5rem;
  }

  .circle-link__ja {
    font-size: 1.45rem;
  }
}

@media (max-width: 47.9375rem) {
  .home-hero {
    height: 85vw;
    background-size: auto 100%;
  }

  .home-hero__ring.pc{
    display: none;
  }

  .home-hero__ring.sp {
    position: absolute;
    display: block;
    top: 0;
    left: 50%;
    width: calc(100% - 1.5rem);
    height: auto;
    transform: translate(-50%, 0);
  }

  .home-hero__photo--1 {
    top: 0.5rem;
    left: 0.5rem;
    width: 5.5rem;
    height: auto;
  }

  .home-hero__photo--2 {
    top: 0.5rem;
    right: -2rem;
    width: 6rem;
    height: auto;
  }

  .home-hero__photo--3 {
    bottom: 0;
    left: 0.75rem;
    width: 6.5rem;
    height: auto;
  }

  .home-hero__photo--4 {
    right: 1rem;
    bottom: 1.5rem;
    width: 4rem;
    height: auto;
  }

  .home-hero__content {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: calc(100% - 3rem);
    height: 100%;
    padding: 0;
  }

  .home-hero__eyebrow {
    width: 55vw;
    height: auto;
    margin-bottom: 0.5rem;
  }

  .home-hero__copy {
    width: 65vw;
    height: auto;
    margin-top: 0.375rem;
  }

  .home-hero__lead {
    margin-top: 0.75rem;
    font-size: 0.5rem;
    line-height: 1.65;
    margin-bottom: 2rem;
  }

  .home-news {
    padding: 3rem 0;
  }

  .home-news__header {
    padding-inline: 0;
  }

  .home-news>.container {
    width: min(calc(100% - 3rem), var(--container));
  }

  .home-news__title {
    font-size: 1.6rem;
    line-height: 1.4;
  }

  .home-news__en{
    font-size: 0.95rem;
  }

  .home-news__all {
    position: static;
    display: flex;
    width: max-content;
    min-width: auto;
    margin: 1.5rem 0 0 auto;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
  }

  .news-list {
    margin-top: 1.5rem;
  }

  .news-list__link {
    grid-template-columns: 5.6rem 4.75rem 1fr;
    gap: 0.5rem;
    padding: 0.8rem 0;
  }

  .news-list__title {
    grid-column: 1 / -1;
    white-space: normal;
  }

  .news-list__tag{
    font-size: 0.7rem;
    height: 1.4rem;
    padding-bottom: 0;
  }

  .home-links {
    min-height: auto;
    padding: 0 0 3rem;
  }

  .home-links__grid {
    width: min(calc(100% - 2rem), var(--container));
    gap: 0.25rem;
  }

  .home-links__grid>li {
    display: flex;
    flex: 1 1 0;
    justify-content: center;
    height: auto;
  }

  .circle-link {
    width: 100%;
    max-width: 7rem;
    height: auto;
    aspect-ratio: 1;
  }

  .circle-link__ja {
    font-size: clamp(0.6875rem, 3vw, 0.8125rem);
    white-space: nowrap;
  }

  .circle-link__en {
    font-size: clamp(0.5rem, 2.4vw, 0.625rem);
  }

  .circle-link__arrow {
    width: 0.6875rem;
    height: 0.6875rem;
  }

  .home-recruit {
    padding-top: 3.5rem;
  }

  .home-recruit__banner {
    width: 100%;
    height: auto;
  }

  .home-recruit .related-links {
    padding-top: 2rem;
  }
}
