/* イントロセクション */
.intro {
  height: calc(100vh - 112px);
  display: flex;
  flex-direction: column;
}

.intro__title-container {
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro__headding {
  height: 300px;
}

.intro__big-dipper {
  position: absolute;
  right: 0;
  margin-right: 0rem;
  margin-top: -9rem;
  width: 70%;
  z-index: -1;
}

.intro__title {
  width: 16rem;
  text-align: left;
}

.intro__subtitle {
  margin-top: 2rem;
  color: var(--black2);
  font-weight: 400;
  display: flex;
  flex-wrap: wrap;
}

.intro__subtitle p {
  font-size: 1.4rem;
  line-height: 1.4rem;
}

.intro__links {
  list-style: none;
  text-align: center;
}

.intro__links-item {
  font-size: 1rem;
  padding: 0.5rem 0;
  margin-bottom: 0.6rem;
  background-color: var(--white);
  border: var(--blue) 2px solid;
  border-radius: 0.4rem;
  box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.intro__links-item a {
  color: var(--black);
  font-weight: 400;
}

/* 外部リンク用スタイル */
.intro__links-item--external::after {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-left: 0.5em;
  background-image: url("/images/page-transition-black.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

/* 共通セクションスタイル */
.section {
  margin-bottom: 6rem;
}

/* ボタンリスト */
.button-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}

.button-list__item {
  background-color: var(--white2);
  color: var(--black);
  border-radius: 0.4rem;
  padding: 0;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.button-list__item a {
  color: var(--black);
  text-decoration: none;
  font-size: 0.8rem;
}

/* アクセスセクション */
.access__address {
  font-weight: 600;
}

/* メディアクエリ */
@media screen and (min-width: 480px) {
  .intro__big-dipper {
    right: 0;
    margin-right: 3rem;
    margin-top: -6rem;
    width: 60%;
  }
}

@media screen and (min-width: 720px) {
  .intro__big-dipper {
    right: 0;
    margin-right: 6rem;
    margin-top: -3rem;
    width: 60%;
  }

  .access__content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2列 */
    grid-template-rows: 1fr 3fr;
    gap: 2rem; /* 各アイテム間のスペース */
  }
  .access__content div:nth-of-type(1) {
    grid-row: 1 / span 2; /* 1番目の要素を1行目から2行分にまたがらせる */
  }
}

@media screen and (min-width: 960px) {
  .intro {
    justify-content: space-around;
  }

  .intro__links {
    margin-bottom: 3rem;
  }

  .intro__big-dipper {
    right: 0;
    margin-right: 8rem;
    margin-top: -3rem;
    width: 60%;
  }

  .intro__title {
    width: 18rem;
  }

  .intro__subtitle p {
    font-size: 1.8rem;
    line-height: 1rem;
  }

  .section {
    margin-bottom: 12rem;
  }

  .button-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (min-width: 1920px) {
  .intro__big-dipper {
    margin-right: 3rem;
    margin-top: -6rem;
  }

  .intro__title {
    width: 24rem;
  }

  .intro__subtitle p {
    font-size: 2rem;
  }
}
