/**
 * Front page (PLAY! TOP)
 */

.home {
  background-color: #fff;
}

.home .g-header,
.home .g-header__spacer,
.home .g-nav-sp {
  display: none;
}

.home-top {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 40px 40px 0;
  overflow: hidden;
}

.home-top__logo {
  position: absolute;
  top: 16%;
  right: 20%;
  z-index: 1;
  width: clamp(180px, 22vw, 220px);
  margin: 0;
  pointer-events: none;
}

.home-top__logo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-top__logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.home-top__content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-block: clamp(80px, 12vh, 140px);
}

.home-top__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: clamp(48px, 8vw, 120px);
  width: 100%;
}

.home-top__section {
  display: flex;
  justify-content: center;
}

.home-top__section a:hover {
  text-decoration: none;
}

.home-top__section--park {
  align-items: flex-start;
  padding-top: clamp(0px, 2vw, 24px);
  margin-right: -40px;
  z-index: 1;
  position: relative;
}

.home-top__section--museum {
  align-items: flex-end;
  padding-top: clamp(120px, 16vw, 240px);
  margin-left: -40px;
}

.home-top__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.home-top__illust {
  margin: 0;
  width: 100%;
}

.home-top__illust img:not(.c-protector) {
  display: block;
  width: 100%;
  height: auto;
}

.home-top__caption {
  margin: 28px 0 0;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: center;
}

.home-top__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, fit-content);
  margin: 20px 0 0;
  padding: 14px 16px 14px 24px;
  border: 2px solid #000;
  border-radius: 9999px;
  background-color: #fff;
  transition: border-color 0.2s ease;
}

.home-top__button-label {
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  font-size: 28px;
}

.home-top__button-icon {
  flex-shrink: 0;
  display: flex;
}

.home-top__button-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.home-top__section--museum .home-top__link:hover .home-top__button {
  border-color: var(--color-museum-accent);
}
.home-top__section--park .home-top__link:hover .home-top__button {
  border-color: var(--color-park-accent-dark);
}

.home-top__footer {
  padding: 24px 40px 40px;
}

.home-top__copyright {
  margin: 0;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.04em;
}

@media screen and (max-width: 960px) {
  .home-top {
    padding: 24px 20px 0;
  }

  .home-top__logo {
    top: 20px;
    width: 160px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .home-top__content {
    padding-block: 110px 80px;
  }

  .home-top__grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .home-top__section--park,
  .home-top__section--museum {
    padding-top: 0;
    align-items: center;
    margin-right: 0;
    margin-left: 0;
  }

  .home-top__link {
    width: 100%;
  }

  .home-top__caption {
    margin-top: 16px;
  }

  .home-top__button {
    margin-top: 12px;
    padding: 10px 12px 10px 16px;
  }
  .home-top__button-label {
    font-size: 18px;
  }
  .home-top__button-icon svg {
    width: 20px;
    height: 20px;
  }

  .home-top__footer {
    padding: 20px 20px 32px;
  }
}
