@charset "UTF-8";

/*------------------------
アニメーション初期状態（GSAPで表示）
-------------------------*/
.js-fade-in {
  opacity: 0;
}

/*------------------------
イントロ
-------------------------*/
.grounds-intro {
  position: relative;
  padding: 6.2857142857142865vw 0 5.571428571428571vw;
  /*90px 0 100px*/
  overflow: hidden;
}

.grounds-intro__bg {
  position: absolute;
  inset: 0;
  opacity: 1;
  pointer-events: none;
}

.grounds-intro__wave {
  position: absolute;
}

.grounds-intro__wave_position_right {
  top: 0.214286vw;
  /*3px*/
  right: -2.142857vw;
  /*-30px*/
  width: 53.854167%;
  max-width: 1034px;
  opacity: .6;
}

.grounds-intro__wave_position_left {
  bottom: -10vw;
  /*344px*/
  left: -13.333333333333334vw;
  /*-254px*/
  width: 40.46875%;
  max-width: 777px;
}

.grounds-intro__inner {
  position: relative;
}

.grounds-intro__title {
  margin-bottom: 3.428571428571429vw;
  /*34px*/
  font-family: var(--font-mincho);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

.grounds-intro__picture {
  display: block;
}

.grounds-intro__image {
  display: block;
  width: 100%;
  aspect-ratio: 1100 / 600;
  object-fit: cover;
}

@media screen and (min-width: 1400px) {
  .grounds-intro {
    padding: 88px 0 78px;
  }

  .grounds-intro__title {
    margin-bottom: 48px;
  }
}

@media screen and (max-width: 750px) {
  .grounds-intro {
    padding: 10.666667vw 0 10.4vw;
    /*80px 0 78px*/
  }

  .grounds-intro__wave_position_right {
    top: 0;
    right: 0;
    width: 100%;
    opacity: 1;
  }

  .grounds-intro__wave_position_left {
    display: none;
  }

  .grounds-intro__title {
    margin-bottom: 7.733333vw;
    /*32px*/
    font-size: 5.5rem;
    line-height: 1.2;
  }

  .grounds-intro__image {
    aspect-ratio: 690 / 376;
  }
}

/*------------------------
境内一覧
-------------------------*/
.grounds-list {
  position: relative;
  padding: 5vw 0 8.571429vw;
  /*100px 0 120px*/
  overflow: hidden;
  background: var(--color-gray-light);
}

.grounds-list__inner {
  position: relative;
  z-index: 1;
}

.grounds-list__bg {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  pointer-events: none;
}

.grounds-list__wave {
  position: absolute;
}

.grounds-list__wave_position_right {
  top: 67.857143vw;
  /*950px*/
  right: -2.142857vw;
  width: 53.854167%;
  max-width: 1034px;
}

.grounds-list__wave_position_left {
  bottom: 8.571429vw;
  /*120px*/
  left: -18.142857vw;
  width: 40.46875%;
  max-width: 777px;
}

/*------------------------
境内スポット
-------------------------*/
.grounds-spot {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.grounds-spot:last-child {
  margin-bottom: 0;
}

.grounds-spot__content {
  position: relative;
  width: 50%;
}

.grounds-spot__content::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -7.142857vw;
  /*-100px*/
  z-index: -1;
  background: var(--color-white);
}

.grounds-spot__title {
  margin-bottom: 1.7142857142857144vw;
  /*29px*/
  font-family: var(--font-mincho);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
}

.grounds-spot__paragraph {
  margin: 0;
  line-height: 1.875;
  letter-spacing: 0.05em;
}

.grounds-spot__gallery {
  width: 49.090909%;
}

.grounds-spot__photo {
  display: block;
  width: 100%;
  object-fit: cover;
}

.grounds-spot__gallery_type_cluster {
  /* padding: 2.428571vw 0 0; */
  display: flex;
  flex-direction: column;
  /* gap: 16px; */
}

.grounds-spot__subphotos {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.grounds-spot__subphoto {
  /* flex: 1; */
}

.grounds-spot__subphoto:last-child {
  /* flex: 0 0 52.631579%; */
}

@media screen and (min-width: 751px) {

  .grounds-spot {
    min-height: 24.142857142857142vw;
    margin-bottom: 5vw;
    gap: 1.4285714285714286vw;
  }

  .grounds-spot.grounds-spot_layout_text-left {
    min-height: 31.642857142857146vw;
  }

  .grounds-spot_layout_text-right {
    flex-direction: row-reverse;
  }

  .grounds-spot__content {
    padding: 3.428571428571429vw 5.714285714285714vw 4.285714vw 0;
  }

  .grounds-spot_layout_text-right .grounds-spot__content {
    padding-left: 5.714285714285714vw;
    padding-right: 0;
  }

  .grounds-spot__gallery_type_cluster {
    padding: 2.428571vw 0 0;
    gap: 1.1428571428571428vw;
  }

  .grounds-spot__gallery {
    width: 50%;
    padding: 3.428571428571429vw 0 0;
    align-items: flex-end;
  }

  .grounds-spot__photo_role_main {
    max-width: 454px;
    width: 32.42857142857143vw;
  }

  .grounds-spot__subphoto:first-child {
    max-width: 278px;
    margin-top: -4.642857142857143vw;
  }

  .grounds-spot__subphoto:nth-of-type(2) {
    max-width: 180px;
  }

  .grounds-spot__subphotos {
    width: 100%;
    gap: 3.1428571428571432vw;
  }

  .grounds-spot__content::before {
    width: calc(50vw + 317px);
    height: 100%;
    min-height: 24.142857142857142vw;
  }

  .grounds-spot_layout_text-left .grounds-spot__content::before {
    left: calc((50% + (317px / 2)) - 50vw);
    left: calc(100% - 50vw);
    height: 29.5vw;
  }

  .grounds-spot_layout_text-right .grounds-spot__content::before {
    /* right: calc((50% + (317px / 2)) - 50vw); */
    right: calc(100% - 50vw);
    /* border: solid red 1px; */
  }

}

@media screen and (min-width: 1400px) {
  .grounds-list {
    padding: 70px 0 120px;
  }

  .grounds-spot {
    margin-bottom: 70px;
    gap: 20px;
    min-height: 338px;
  }

  .grounds-spot.grounds-spot_layout_text-left {
    min-height: 443px;
  }

  .grounds-spot__content {
    padding: 48px 80px 60px 0;
  }

  .grounds-spot_layout_text-right .grounds-spot__content {
    padding-left: 80px;
  }

  .grounds-spot__content::before {
    min-height: 338px;
  }

  .grounds-spot_layout_text-left .grounds-spot__content::before {
    height: 413px;
    /* border: solid 1px red; */
  }

  .grounds-spot__title {
    margin-bottom: 24px;
  }

  .grounds-spot__gallery_type_cluster {
    padding: 48px 0 0;
    gap: 16px;
  }

  .grounds-spot__gallery {
    padding: 48px 0 0;
  }

  .grounds-spot__subphoto:first-child {
    margin-top: -65px;
  }

  .grounds-spot__subphotos {
    gap: 44px;
  }
}


@media screen and (max-width: 750px) {
  .grounds-list {
    padding: 8vw 0 13.333333vw;
    /*80px 0 100px*/
  }

  .grounds-list__wave_position_right {
    top: 120vw;
    right: -4vw;
    width: 82.666667%;
  }

  .grounds-list__wave_position_left {
    bottom: 20vw;
    left: -13.333333vw;
    width: 72%;
  }

  .grounds-spot {
    display: block;
    margin-bottom: 8.666666666666668vw;
  }

  .grounds-spot:last-child {
    padding-bottom: 0;
  }

  .grounds-spot__content {
    width: auto;
    margin-bottom: 0;
    /*40px*/
    margin-left: 4vw;
    padding: 6.4vw  0 5.333333vw 0;
    /*48px 30px 40px*/
  }

  .grounds-spot_layout_text-right .grounds-spot__content {
    margin-left: 0;
    margin-right: 4vw;
    padding-right: 0;
  }

  .grounds-spot__content::before {
    content: none;
  }

  .grounds-spot::before {
    content: "";
    width: calc(100% + 4vw);
    height: calc(100% - 27.46666666666667vw);
    position: absolute;
    top: 0;
    right: -4vw;
    left: -4vw;
    bottom: 0;
    z-index: -1;
    background: var(--color-white);
    /* border: solid 1px red; */
  }

  .grounds-spot.grounds-spot_layout_text-left::before {
    /* right: 0; */
    left: 0;
    /* border: solid 1px blue; */
  }

  .grounds-spot__title {
    margin-bottom: 2vw;
    /*36px*/
    font-size: 5.5rem;
  }

  .grounds-spot__paragraph {
    font-size: 2.8rem;
  }

  .grounds-spot__gallery {
    width: auto;
    padding: 0;
  }

  .grounds-spot__gallery_type_cluster {
    gap: 2.666667vw;
    /*20px*/
  }

  .grounds-spot__gallery_type_cluster {
    gap: 2.533333333333333vw;
  }

  .grounds-spot_layout_text-left .grounds-spot__gallery {
    padding: 0 0 0 4vw;
  }

  .grounds-spot__gallery {
    align-items: flex-end;
    padding-right: 4vw;
  }

  .grounds-spot__photo_role_main {
    max-width: 553px;
    width: 73.73333333333333vw;
  }

  .grounds-spot__subphoto:first-child {
    max-width: 338px;
    width: 45.06666666666666vw;
    margin-top: -10.666666666666668vw;
  }

  .grounds-spot__subphoto:nth-of-type(2) {
    max-width: 219px;
    width: 29.2vw;
  }

  .grounds-spot__subphotos {
    width: 100%;
    gap: 7.199999999999999vw;
  }
}