/* =======================================
   TOP COMMON
======================================= */
.p-top {
  overflow: hidden;
}

.p-top-section-heading {
  text-align: center;
}

.p-top-section-heading__title {
  display: inline-block;
  font-size: 3.4rem;
  line-height: 1.4;
  position: relative;
}

.p-top-section-heading__title::after {
  background-color: currentColor;
  bottom: 2px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.p-top-section-heading__english {
  color: #154AA0;
  font-size: 1.8rem;
  line-height: 1.4;
  margin-top: 6px;
}

.p-top-button {
  align-items: center;
  background: linear-gradient(90deg, #005b97 0%, #0075be 14%, #1e9cd7 44%, #dcb5d4 100%);
  color: #fff;
  display: flex;
  font-size: 1.8rem;
  font-weight: 700;
  height: 42px;
  justify-content: space-between;
  line-height: 1;
  min-width: 184px;
  padding: 0 12px;
  width: fit-content;
}

.p-top-button img {
  margin-left: 12px;
  width: 19px;
}

.p-top-button:hover,
.p-top-button:focus-visible {
  opacity: 0.72;
}

/* =======================================
   HERO
======================================= */
.p-top-hero {
  aspect-ratio: 1366 / 668;
  background-color: #263d79;
  position: relative;
}

.p-top-hero__slider {
  height: 100%;
  position: relative;
  width: 100%;
}

.p-top-hero__slide {
  height: 100%;
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 1s ease;
  width: 100%;
}

.p-top-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.p-top-hero__slide picture,
.p-top-hero__slide img {
  height: 100%;
  width: 100%;
}

.p-top-hero__slide img {
  object-fit: cover;
}

/* =======================================
   INTRODUCTION
======================================= */
.p-top-introduction {
  background-color: #fff;
  padding: 82px 0 87px;
}

.p-top-introduction__inner {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: 1fr 1fr;
}

.p-top-introduction__heading {
  justify-self: center;
  position: relative;
  text-align: left;
  width: fit-content;
}

.p-top-introduction__title {
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.p-top-introduction__symbol {
  bottom: -68px;
  position: absolute;
  right: -80px;
  width: 250px;
}

.p-top-introduction__body {
  font-family: var(--font-mincho);
}

.p-top-introduction__body p {
  font-size: 1.8rem;
  line-height: 2;
}

.p-top-introduction__body .p-top-button {
  font-family: var(--font-gothic);
  margin-top: 28px;
}

/* =======================================
   MEETING
======================================= */
.p-top-meeting {
  background-color: #edf8fc;
  padding: 43px 0 40px;
}

.p-top-meeting__grid {
  display: grid;
  gap: 6%;
  grid-template-columns: minmax(0, 32%) minmax(0, 1fr);
  margin-top: 53px;
}

.p-top-meeting__label {
  background: linear-gradient(90deg, #000 0 calc(100% - 13px), #1D97D5 calc(100% - 13px) 100%);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  padding: 9px 25px 8px 13px;
  width: fit-content;
}

.p-top-meeting__next-date {
  align-items: baseline;
  border-bottom: 1px solid #8a8a8a;
  display: flex;
  margin-top: 34px;
  white-space: nowrap;
}

.p-top-meeting__next-year {
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  font-size: 3.6rem;
}

.p-top-meeting__next-day {
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  font-size: 6.4rem;
  line-height: 1.2;
  margin-left: 10px;
}

.p-top-meeting__next-weekday {
  font-size: 5.5rem;
}

.p-top-meeting__next-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 10px;
  padding-left: 10px;
}

.p-top-meeting__next-details {
  font-size: 1.7rem;
  line-height: 2;
  padding-left: 10px;
}

.p-top-meeting__schedule {
  min-width: 0;
}

.p-top-meeting__list {
  border-top: 1px solid #707070;
  margin-top: 33px;
}

.p-top-meeting__item {
  align-items: center;
  border-bottom: 1px solid #707070;
  display: grid;
  font-size: 1.8rem;
  gap: 18px;
  grid-template-columns: 185px minmax(0, 1fr);
  min-height: 62px;
  padding: 10px 8px;
}

.p-top-meeting__date {
  font-weight: 700;
  white-space: nowrap;
}

.p-top-meeting__content {
  display: grid;
  min-width: 0;
}

.p-top-meeting__title {
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-top-meeting__title--red {
  color: #ef0000;
}

.p-top-meeting__title--blue {
  color: #152fbd;
}

.p-top-meeting__description {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-top-meeting__empty {
  font-size: 1.6rem;
  margin-top: 30px;
}

.p-top-meeting__button {
  margin-top: 29px;
}

/* =======================================
   NEWS
======================================= */
.p-top-news {
  background-color: #fff;
  padding: 60px 0 40px;
  position: relative;
}

.p-top-news__decoration {
  pointer-events: none;
  position: absolute;
  width: 243px;
}

.p-top-news__decoration--upper {
  right: -55px;
  top: -100px;
}

.p-top-news__decoration--lower {
  bottom: -100px;
  left: -44px;
}

.p-top-news__inner {
  display: grid;
  gap: 80px;
  grid-template-columns: 180px minmax(0, 1fr);
  position: relative;
  z-index: 1;
}

.p-top-news__heading {
  padding-top: 9px;
  text-align: left;
}

.p-top-news__body {
  max-width: 790px;
}

.p-top-news__item {
  border-bottom: 1px solid #8a8a8a;
}

.p-top-news__item a {
  align-items: center;
  display: grid;
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;;
  font-size: 1.8rem;
  gap: 38px;
  grid-template-columns: 145px minmax(0, 1fr);
  min-height: 62px;
}

.p-top-news__item time {
  font-weight: 700;
  white-space: nowrap;
}

.p-top-news__item a:hover,
.p-top-news__item a:focus-visible {
  opacity: 0.65;
}

.p-top-news__empty {
  border-bottom: 1px solid #8a8a8a;
  padding: 17px 0;
}

.p-top-news__button {
  margin: 44px 0 0 auto;
}

/* =======================================
   ACTIVITIES
======================================= */
.p-top-activities {
  background-color: #edf8fc;
  padding: 72px 0 76px;
}

.p-top-activities__lead {
  font-size: 1.8rem;
  margin-top: 42px;
  text-align: center;
}

.p-top-activities__button {
  margin: 43px auto 0;
}

.p-top-activities__list {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 55px;
}

.p-top-activities__item {
  display: block;
  overflow: hidden;
  position: relative;
}

.p-top-activities__item img {
  aspect-ratio: 374 / 325;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
}

.p-top-activities__item span {
  align-items: center;
  background: linear-gradient(90deg, rgba(255, 227, 129, 0.8) 0%, rgba(147, 204, 153, 0.8) 36%, rgba(85, 181, 148, 0.8) 100%);
  bottom: 0;
  color: #001D6E;
  display: flex;
  font-size: 2.1rem;
  font-weight: 600;
  height: 58px;
  justify-content: center;
  left: 0;
  position: absolute;
  right: 0;
}

.p-top-activities__item:hover img,
.p-top-activities__item:focus-visible img {
  transform: scale(1.04);
}

/* =======================================
   CLUB INFORMATION
======================================= */
.p-top-club {
  background-color: #fff;
  padding: 78px 0 96px;
}

.p-top-club__grid {
  display: grid;
  gap: 34px 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 56px;
}

.p-top-club-card,
.p-top-club-detail {
  background-color: #E2F5EB;
  border-radius: 24px;
}

.p-top-club-card {
  min-height: 280px;
  padding: 24px 15px 20px;
  text-align: center;
}

.p-top-club-card__title,
.p-top-club-detail__title {
  font-size: 2.7rem;
  line-height: 1.4;
}

.p-top-club-card__decoration,
.p-top-club-detail__decoration {
  margin: 12px auto 0;
  width: 54px;
}

.p-top-club-card__number {
  color: #002c8c;
  font-size: 4.4rem;
  line-height: 1;
  margin-top: 20px;
}

.p-top-club-card__number strong {
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  font-size: 9.8rem;
  font-weight: 400;
}

.p-top-club-card__note {
  color: #003b94;
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  font-size: 1.8rem;
  line-height: 1.5;
  margin-top: 15px;
}

.p-top-club-card__meeting-day {
  color: #001D6E;
  font-size: 3.8rem;
  line-height: 1;
  margin-top: 18px;
  white-space: nowrap;
}

.p-top-club-card__meeting-day strong {
  display: inline-block;
  font-size: 7.2rem;
  font-weight: 400;
  padding-inline: 5px;
}

.p-top-club-card__time {
  color: #001D6E;
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  font-size: 2.6rem;
  margin-top: 17px;
}

.p-top-club-card__ratio {
  color: #001D6E;
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  font-size: 9.8rem;
  line-height: 1;
  margin-top: 27px;
}

.p-top-club-card__clubs {
  color: #003b94;
  font-size: 2.8rem;
  line-height: 1.8;
  margin-top: 14px;
}

.p-top-club-detail {
  align-items: stretch;
  display: grid;
  grid-column: span 2;
  grid-template-columns: minmax(0, 1fr) 45%;
  min-height: 280px;
  overflow: hidden;
  padding: 24px;
}

.p-top-club-detail__body {
  align-self: center;
  text-align: center;
}

.p-top-club-detail__text {
  color: #001D6E;
  font-size: 2.6rem;
  line-height: 1.6;
  margin-top: 25px;
}

.p-top-club-detail__text small {
  font-size: 1.6rem;
}

.p-top-club-detail__image {
  align-self: stretch;
  border-radius: 20px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* =======================================
   GUIDANCE
======================================= */
.p-top-guidance {
  background-color: #edf8fc;
  padding: 78px 0 94px;
}

.p-top-guidance__inner {
  align-items: center;
  column-gap: 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 275px;
  row-gap: 45px;
}

.p-top-guidance__heading {
  grid-column: 1 / -1;
  text-align: center;
}

.p-top-guidance__body {
  padding-left: 65px;
}

.p-top-guidance__text {
  font-size: 1.6rem;
  line-height: 2.4;
  margin-top: 0;
}

.p-top-guidance__button {
  margin-top: 27px;
}

.p-top-guidance__contact-link {
  align-items: center;
  display: flex;
  font-weight: 700;
  justify-content: center;
  width: 100%;
}

.p-top-guidance__contact-link img {
  flex: 0 0 auto;
}

.p-top-guidance__contact-link span {
  margin-left: 18px;
}

.p-top-guidance__contact-link--mail {
  background-color: #3770b8;
  border-radius: 27px 0px 27px 0;
  color: #fff;
  font-size: 1.8rem;
  height: 72px;
}

.p-top-guidance__contact-link--mail img {
  width: 42px;
}

.p-top-guidance__contact-link--phone {
  border: 4px solid #3770b8;
  border-radius: 27px 0px 27px 0;
  color: #3770b8;
  font-size: 2.1rem;
  height: 68px;
  margin-top: 18px;
}

.p-top-guidance__contact-link--phone img {
  width: 39px;
}

.p-top-guidance__contact-link:hover,
.p-top-guidance__contact-link:focus-visible {
  opacity: 0.72;
}

@media (prefers-reduced-motion: reduce) {
  .p-top-hero__slide,
  .p-top-activities__item img {
    transition: none;
  }
}

@media (max-width: 767px) {
  /* =======================================
     TOP COMMON
  ======================================= */
  .p-top-section-heading__title {
    font-size: 2.8rem;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
  }

  .p-top-section-heading__title::after {
    content: none;
  }

  .p-top-section-heading__english {
    font-size: 1.6rem;
    margin-top: 3px;
  }

  .p-top-button {
    font-size: 1.6rem;
    height: 36px;
    padding: 0 7px 0 10px;
  }

  .p-top-button img {
    margin-left: 8px;
    width: 18px;
  }

  /* =======================================
     HERO
  ======================================= */
  .p-top-hero {
    aspect-ratio: 780 / 1146;
  }

  /* =======================================
     INTRODUCTION
  ======================================= */
  .p-top-introduction {
    padding: 51px 0 55px;
  }

  .p-top-introduction__inner {
    display: block;
    padding-inline: 30px;
  }

  .p-top-introduction__heading {
    justify-self: auto;
    width: 100%;
  }

  .p-top-introduction__title {
    font-size: 2.1rem;
    line-height: 1.7;
  }

  .p-top-introduction__symbol {
    bottom: -50px;
    right: 0;
    width: 185px;
  }

  .p-top-introduction__body {
    margin-top: 93px;
  }

  .p-top-introduction__body p {
    font-size: 1.6rem;
    line-height: 2;
  }

  .p-top-introduction__body .p-top-button {
    margin-top: 25px;
  }

  /* =======================================
     MEETING
  ======================================= */
  .p-top-meeting {
    padding: 36px 0 39px;
  }

  .p-top-meeting__grid {
    display: block;
    margin-top: 39px;
  }

  .p-top-meeting__label {
    font-size: 1.6rem;
  }

  .p-top-meeting__next-date {
    margin-top: 15px;
  }

  .p-top-meeting__next-year {
    font-size: 3rem;
  }

  .p-top-meeting__next-day {
    font-size: 6rem;
  }

  .p-top-meeting__next-weekday {
    font-size: 4.2rem;
  }

  .p-top-meeting__next-title {
    font-size: 1.6rem;
    padding-left: 5px;
  }

  .p-top-meeting__next-details {
    font-size: 1.4rem;
    padding-left: 5px;
  }

  .p-top-meeting__schedule {
    margin-top: 53px;
  }

  .p-top-meeting__list {
    margin-top: 22px;
  }

  .p-top-meeting__item {
    display: block;
    font-size: 1.4rem;
    min-height: 0;
    padding: 8px 5px;
  }

  .p-top-meeting__date {
    font-size: 1.4rem;
  }

  .p-top-meeting__empty {
    font-size: 1.4rem;
  }

  .p-top-meeting__button {
    margin-top: 23px;
  }

  /* =======================================
     NEWS
  ======================================= */
  .p-top-news {
    padding: 50px 0 62px;
  }

  .p-top-news__decoration {
    display: none;
  }

  .p-top-news__inner {
    display: block;
    padding-inline: 30px;
    position: relative;
  }

  .p-top-news__heading {
    padding-top: 0;
    text-align: center;
  }

  .p-top-news__body {
    margin-top: 29px;
    max-width: none;
  }

  .p-top-news__item a {
    display: block;
    font-size: 1.4rem;
    line-height: 1.6;
    min-height: 0;
    padding: 12px 0 11px;
  }

  .p-top-news__item time {
    display: block;
    font-size: 1.4rem;
  }

  .p-top-news__item span {
    display: block;
    margin-top: 3px;
  }

  .p-top-news__empty {
    font-size: 1.2rem;
    padding: 12px 0;
  }

  .p-top-news__button {
    margin: 28px 0 0;
  }

  /* =======================================
     ACTIVITIES
  ======================================= */
  .p-top-activities {
    padding: 51px 0 55px;
  }

  .p-top-activities__inner {
    padding-inline: 30px;
  }

  .p-top-activities__lead {
    font-size: 1.4rem;
    line-height: 2;
    margin-top: 30px;
  }

  .p-top-activities__button {
    margin: 27px auto 0;
  }

  .p-top-activities__list {
    display: block;
    margin-top: 28px;
  }

  .p-top-activities__item + .p-top-activities__item {
    margin-top: 20px;
  }

  .p-top-activities__item span {
    font-size: 1.8rem;
    height: 47px;
  }

  /* =======================================
     CLUB INFORMATION
  ======================================= */
  .p-top-club {
    padding: 55px 0 66px;
  }

  .p-top-club__inner {
    padding-inline: 15px;
  }

  .p-top-club__heading .p-top-section-heading__title {
    font-size: 2.4rem;
    line-height: 1.4;
  }

  .p-top-club__grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 34px;
  }

  .p-top-club-card,
  .p-top-club-detail {
    border-radius: 16px;
  }

  .p-top-club-card {
    min-height: 170px;
    padding: 14px 6px 12px;
  }

  .p-top-club-card__title,
  .p-top-club-detail__title {
    font-size: 1.6rem;
  }

  .p-top-club-card__decoration,
  .p-top-club-detail__decoration {
    margin-top: 7px;
    width: 32px;
  }

  .p-top-club-card__number {
    font-size: 2.7rem;
    margin-top: 10px;
  }

  .p-top-club-card__number strong {
    font-size: 5.8rem;
  }

  .p-top-club-card__note {
    font-size: 1.4rem;
    margin-top: 7px;
  }

  .p-top-club-card__meeting-day {
    font-size: 2.3rem;
    margin-top: 8px;
  }

  .p-top-club-card__meeting-day strong {
    font-size: 4.4rem;
  }

  .p-top-club-card__time {
    font-size: 1.6rem;
    margin-top: 9px;
  }

  .p-top-club-card__ratio {
    font-size: 6rem;
    line-height: 1;
    margin-top: 13px;
  }

  .p-top-club-card__clubs {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-top: 6px;
  }

  .p-top-club-detail {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) 145px;
    min-height: 170px;
    padding: 12px;
  }

  .p-top-club-detail__text {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-top: 10px;
  }

  .p-top-club-detail__text small {
    display: block;
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .p-top-club-detail__image {
    border-radius: 12px;
  }

  /* =======================================
     GUIDANCE
  ======================================= */
  .p-top-guidance {
    padding: 55px 0 58px;
  }

  .p-top-guidance__inner {
    display: block;
    padding-inline: 30px;
  }

  .p-top-guidance__heading {
    text-align: center;
  }

  .p-top-guidance__heading .p-top-section-heading__title {
    font-size: 2.4rem;
  }

  .p-top-guidance__body {
    padding-left: 0;
  }

  .p-top-guidance__text {
    font-size: 1.4rem;
    line-height: 2.2;
    margin-top: 34px;
  }

  .p-top-guidance__button {
    margin-top: 25px;
  }

  .p-top-guidance__contact {
    margin-top: 40px;
  }

  .p-top-guidance__contact-link--mail {
    border-radius: 20px 0 20px 0;
    height: 58px;
  }

  .p-top-guidance__contact-link--mail img {
    width: 44px;
  }

  .p-top-guidance__contact-link--phone {
    border-radius: 20px 0 20px 0;
    border-width: 3px;
    font-size: 2.1rem;
    height: 56px;
    margin-top: 13px;
  }

  .p-top-guidance__contact-link--phone img {
    width: 38px;
  }
}
