:root {
  --color-default: #87a6a9;
  --color-inverted: white;
  --color-black: black;
  --color-border: #c9c9c9;
  --bg-default: #f7f8f8;
  --bg-light: #f7f6f0;
  --bg-dark: #f5f0e2;
  --bg-inverted: var(--color-default);
  --color-link: inherit;
  --bg-gradient-light: linear-gradient(to bottom, var(--bg-default), var(--bg-light));
  --bg-gradient-middle: linear-gradient(to bottom, var(--bg-light), var(--bg-dark));
  --bg-gradient-dark: linear-gradient(to bottom, var(--bg-dark), var(--bg-default));
}

.table--yardage {
  width: 100%;
  color: #333;
}
.table--yardage th,
.table--yardage td {
  font-size: 12px;
  text-align: center !important;
  border: 1px solid var(--color-border);
}
.table--yardage th:last-child,
.table--yardage td:last-child {
  background: #f4e3e9 !important;
}
.table--yardage th:nth-last-child(2),
.table--yardage td:nth-last-child(2),
.table--yardage th:nth-last-child(12),
.table--yardage td:nth-last-child(12) {
  background: #d9ecff !important;
}
.table--yardage th {
  background: #fffff0;
}
.table--yardage td {
  font-weight: 400;
}
.table--yardage tr:first-child th {
  background: #d7f7d0;
}
.table--yardage tr:nth-child(2) th {
  background: #fff2d7;
}
.table--rating {
  width: auto;
  color: #333;
}
.table--rating th,
.table--rating td {
  font-size: 12px;
  text-align: center !important;
  border: 1px solid var(--color-border);
  padding: 0 10px;
}
.table--rating tr:first-child th {
  background: #d7f7d0;
}

/*
====================================================================
 INTRO
====================================================================
*/
.intro-section {
  background: linear-gradient(to bottom, var(--bg-default), var(--bg-dark));
}
.intro-section .section-block__container {
  display: block;
}
.intro-section .section-block__content {
  display: block;
  width: 100%;
  position: relative;
  margin-bottom: 250px;
}

.intro-section .section-block__body {
  position: relative;
  width: 100%;
}

.intro-section .section-block__media {
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
}
.intro-section .section-block__image-box {
  aspect-ratio: 1/1.1;
}
.intro-section .section-block__image-box--main {
  width: 44.35%;
  max-width: 660px;
}
.intro-section .section-block__image-box--sub {
  width: 27%;
}

.button--gallery {
  position: absolute;
  right: 0;
  top: 160px;
  width: 25%;
}
.button--gallery span {
  border-bottom: 1px solid var(--color-default);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-bottom: 10px;
}
.button--gallery span::after {
  content: "";
  display: block;
  position: static;
  width: 10px;
  height: 10px;
  background: url(../../images/common/icon_arrow.svg) right center/contain no-repeat;
}

.section-block.intro-section h2 span {
  margin-top: 0;
}

/*
====================================================================
 COURSE
====================================================================
*/
.course-section {
  background: linear-gradient(to bottom, var(--bg-dark), var(--bg-default) 50%);
}
.course-section .section-block__content {
  display: block;
  width: 100%;
}
.course-section .section-block__body {
  display: flex;
  justify-content: space-between;
  align-items: top;
  -moz-column-gap: 9.4%;
       column-gap: 9.4%;
}
.course-section .section-block__detail {
  width: 29.4%;
  min-width: 387px;
  flex-shrink: 0;
}
.course-section .section-block__detail table {
  border-top: 1px solid var(--color-default);
}
.course-section .section-block__detail th {
  border-bottom: 1px solid var(--color-default);
  padding: 9px 0;
  width: 40%;
}
.course-section .section-block__detail td {
  border-bottom: 1px solid var(--color-default);
  padding: 9px 0;
}
.course-section .section-block__detail .button {
  width: 152px;
  margin-top: 56px;
  padding-bottom: 12px;
  min-width: unset;
}
.course-section .section-block__media img {
  mix-blend-mode: multiply;
}

.swiper__container {
  margin-top: 120px;
  width: 100%;
}
.swiper-thumbs {
  margin-bottom: 12px;
}
.swiper-thumbs .swiper-slide {
  cursor: pointer;
  width: -moz-fit-content !important;
  width: fit-content !important;
  margin-right: 56px !important;
}
.swiper-thumbs .swiper-slide span {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.5s;
}
.swiper-thumbs .swiper-slide-thumb-active span {
  border-bottom-color: var(--color-default);
}
.swiper-main .swiper-slide__content {
  display: flex;
  column-gap: 80px;
  margin-right: -56px;
  /* justify-content: space-between; */
}
@media (width < 1217px) {
  .swiper-main .swiper-slide__content {
    overflow-x: scroll;
    padding-right: 56px;
  }
}

.swiper-main .swiper-slide__content .table__wrapper {
  display: flex;
  -moz-column-gap: 12px;
       column-gap: 12px;
}
.swiper-main .swiper-slide__content h3 {
  text-align: right;
  writing-mode: sideways-lr;
}
.swiper-main .swiper-slide .table__wrapper {
  background-color: var(--bg-default);
  padding: 12px 0;
}

.table--rating {
  display: inline-block;
  vertical-align: top;
}

/*----------------------------------------------------------------*/
@media (max-width: 768px) {
  /*----------------------------------------------------------------*/
  /*
  ====================================================================
   SP / INTRO
  ====================================================================
  */
  .intro-section .section-block__content {
    margin-bottom: 120px;
  }
  .intro-section .section-block__content h2 {
    letter-spacing: 0;
    margin-right: -24px;
  }
  .intro-section .section-block__media {
    display: flex;
    flex-direction: column-reverse;
    row-gap: 18px;
  }
  .intro-section .section-block__image-box--main {
    width: 61%;
    align-self: flex-end;
  }
  .intro-section .section-block__image-box--sub {
    width: 37.4%;
  }
  .button--gallery {
    position: static;
    transform: none;
    width: 65%;
    margin-top: 80px;
    /* margin-left: 32px; */
  }
  .button--gallery span {
    margin-top: 24px;
    padding-bottom: 10px;
  }
  /*
  ====================================================================
   COURSE
  ====================================================================
  */
  .course-section {
    padding-bottom: 90px;
  }
  .course-section .section-block__body {
    display: block;
  }
  .course-section .section-block__detail {
    width: 100%;
    min-width: unset;
    margin-bottom: 56px;
  }
  .course-section .section-block__detail th {
    border-bottom: 1px solid var(--color-default);
    width: 30%;
  }
  .course-section .section-block__detail .button {
    width: 62.5%;
    margin-top: 40px;
    margin-left: 0;
    min-width: unset;
  }
  .swiper__container {
    margin-top: 64px;
  }
  .swiper-main .swiper-slide {
    overflow-x: scroll;
  }
  .swiper-main .swiper-slide .table__wrapper {
    padding: 8px;
  }
  .swiper-main th,
  .swiper-main td {
    font-size: 10px !important;
    padding: 0 5px !important;
  }
  .swiper-thumbs .swiper-slide {
    margin-right: 40px !important;
  }
  /*----------------------------------------------------------------*/
}
/*----------------------------------------------------------------*/