/* Top page dedicated styles */

/* top page: intro copy block above news */
#top-intro {
  background: #fff;
}

#top-intro .section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px 70px;
}

#top-intro .top-intro-copy-wrap {
  max-width: 680px;
  margin: 0 auto;
}

#top-intro .top-intro-copy-sp {
  display: none;
}

#top-intro .top-intro-copy {
  display: flex;
  justify-content: center;
  direction: rtl;
  gap: 34px;
}

#top-intro .top-intro-copy > div {
  display: block;
  direction: ltr;
  padding: 0 8px;
  flex-shrink: 0;
}

#top-intro .top-intro-copy p {
  margin: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 18px;
  line-height: 2.6;
  color: #1f1f1f;
  letter-spacing: 0.08em;
}

@media screen and (max-width: 900px) {
  #top-intro .section-wrap {
    padding: 48px 20px 44px;
  }

  #top-intro .top-intro-copy {
    display: none;
  }

  #top-intro .top-intro-copy-sp {
    display: block;
  }

  #top-intro .top-intro-copy-sp p {
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
    color: #1f1f1f;
    letter-spacing: 0.02em;
  }

  #top-intro .top-intro-copy-sp p + p {
    margin-top: 25px;
  }
}

/* top page: topics section above about */
#topics .section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 86px 20px 0;
}

#topics .section-title .title {
  margin: 0;
}

#topics .section-title .title .en {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}

#topics .section-title .title .ja {
  display: block;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.4;
}

#topics .section-content {
  margin-top: 44px;
}

#topics .topics-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

#topics .topics-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

#topics .topics-thumb {
  width: 100%;
  aspect-ratio: 37 / 26;
  background: #c4c4c4;
}

#topics .topics-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#topics .topics-title {
  margin: 18px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

#topics .topics-date {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.3;
}

#topics .topics-more {
  margin-top: 24px;
}

#topics .topics-more a {
  display: flex;
  font-family: var(--en);
  font-size: 15px;
}

#topics .topics-more a span {
  display: inline-flex;
  height: 30px;
  align-items: center;
  gap: 8px;
  position: relative;
  white-space: nowrap;
}

@media screen and (max-width: 900px) {
  #topics .section-wrap {
    padding: 56px 16px 0;
  }

  #topics .section-title .title .ja {
    margin-top: 6px;
  }

  #topics .section-content {
    margin-top: 28px;
  }

  #topics .topics-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  #topics .topics-title {
    font-size: 14px;
  }

  #topics .topics-date {
    font-size: 12px;
  }

  #topics .topics-more {
    margin-top: 20px;
  }

  #topics .topics-more a span {
    gap: 8px;
    font-size: 20px;
  }
}

#news .section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  justify-content: flex-start;
  gap: 160px;
}
@media screen and (max-width: 900px) {
  #news .section-wrap {
    gap: 40px;
    padding: 0;
  }
}

/* top page: room detail button in about section */
#about .section-content .child-link-btn-wrap {
  margin-top: 36px;
}

#about .section-content .child-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 220px);
  min-height: 50px;
  border: 1px solid #707070;
  background-color: #fff;
  color: inherit;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.2;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

@media (hover: hover) {
  #about .section-content .child-link-btn:hover {
    background-color: #707070;
    color: #fff;
  }
}
@media screen and (max-width: 900px) {
  #about .section-content .child-link-btn {
    margin: auto;
  }
}
