@charset "UTF-8";
body {
  background: #fff;
  margin: 0;
}

#header {
  position: fixed;
  top: 0;
  opacity: 0;
  transition: 0.5s; /* アニメーションタイミング */
}
#header.is-show {
  opacity: 1;
  transition: 0.5s;
  top: 0;
}

/* #mainImg {
  width: 100%;
  height: auto;
}
.video-wrap {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}
video {
  width: 100%;
  height: 100%;
} */
.slide01 {
  width: 98%;
  margin-top: max(-100px, -5%);
}
.slide01 a {
  height: auto;
}
.top-text {
  color: #005032;
  font-size: 1.3rem;
  margin-top: 50px;
  line-height: 2.5;
}

.tile01 .course-wrap li {
  width: 50%;
  height: 470px;
}

.tile01 .course-wrap li.kyousei {
  height: 530px;
}
.course-wrap .kyousei .top-course-textwrap {
  width: 100%;
}
.kyousei-contents {
  width: 95%;
  display: block;
}
.oecm {
  width: 100%;
  max-width: 284px;
  min-width: 170px;
}
.kyousei .top-course-textwrap p {
  text-align: center;
  color: #fff;
  padding: 5px 20px;
  margin: 20px auto;
}
.kyousei .top-course-text {
  font-size: 2.2em;
}
.kyousei .btn01 {
  border: solid 1px #fff;
}
.tile01 .kyousei a {
  display: flex;
  justify-content: center;
  width: 100%;
}
.course-wrap .kyousei:hover .top-course-textwrap .btn01 {
  background: #fff;
  color: #005032;
}
.tile01 .kyousei {
  width: 100%;
  height: 470px;
  position: relative;
  overflow: hidden;
}
.tile01 .btn01 a {
  color: #005032;
  justify-content: center;
}
.tile01 .cou-left::after {
  background: url(https://www.karuizawa-kogen.com/wordpress/wp-content/themes/karuizawa_golf/common/img/top/bg01-1.png)
    no-repeat center center;
  background-size: cover;
}

.tile01 .kyousei::after {
  content: "";
  background: url(../img/top/bg01-2.png) no-repeat center center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transition: all 0.3s ease-out;
  background-position: 50% 60%;
}
.flex.Jsb.course-wrap {
  display: block;
}
.flex.Jsb.course-wrap li {
  width: 100%;
}
.top-course-textwrap {
  width: 50%;
}
.top-course-text {
  color: #005032;
  font-size: 2.6em;
  font-family:
    "Vollkorn", "Noto Serif JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo",
    sans-serif;
  display: flex;
  flex-direction: column;
}
.top-course-text span {
  font-size: 0.4em;
}

.top-course-textwrap .explanation {
  width: 70%;
  text-align: left;
  color: #000;
  margin: 40px auto 0;
  font-size: 16px;
}
.tile01 .cou-left::after {
  content: none;
}
.tile01 .cou::after,
.tile01 li::after {
  content: none;
}
.tile01 a {
  opacity: 1;
  width: auto;
  font-size: unset;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.tile01 .fwrap a {
  width: 100%;
}

.tile01 .course-wrap li:hover img {
  opacity: 0.75;
}
.top-image-wrap {
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
}
.top-image-wrap img {
  /* position: absolute; */
  width: 100%;
  left: 0;
  transition: all 0.3s ease-out;
  height: 470px;
  object-fit: cover;
  object-position: 50% 55%;
}
.three-column .top-image-wrap {
  height: auto;
  width: 100%;
}
.course-wrap li:hover .top-image-wrap img,
.fwrap .three-column:hover .top-image-wrap img {
  transform: scale(1.1);
}
a:hover .top-course-textwrap {
  opacity: 1;
}
.top-course-textwrap .btn01:hover {
  background: #005032;
  opacity: 1;
  text-decoration: none;
}
.top-course-textwrap .btn01:hover a {
  color: #fff;
}
.course-wrap li.row-reverse {
  flex-direction: row-reverse;
}
.three-column {
  position: relative;
}
.three-column .top-course-text {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  justify-content: center;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .course-wrap {
    flex-wrap: nowrap;
  }

  /* .tile01 .course-wrap li {
      height: 240px;
    } */
  .course-wrap .tile01 .cou-left {
    width: 50%;
    height: 240px;
  }
  .tile01 .kyousei::after {
    background: url(../img/top/bg01-2-sp.png) no-repeat center center;
    background-size: cover;
  }
  .slide01 {
    margin-top: max(-115px, -18%);
  }
  .slide01 .slick-next.slick-arrow {
    width: 15px;
    right: 20px;
  }
  .slide01 .slick-prev.slick-arrow {
    width: 15px;
    left: 20px;
  }
  .top-text {
    font-size: 1em;
    line-height: 2.2;
    width: 90%;
    margin: 20px auto 0;
  }
  .kyousei .top-course-textwrap .top-course-text {
    line-height: 45px;
    font-size: 1.7em;
  }
  .oecm {
    max-width: 210px;
    min-width: 120px;
  }
  .top-course-textwrap .explanation {
    font-size: 1em;
    width: 90%;
    margin: 20px auto 0;
  }
  .tile01 .course-wrap li.kyousei {
    height: 460px;
  }

  .top-course-textwrap {
    width: 100%;
  }
  .top-course-text {
    width: 100%;
    margin-top: 30px;
  }
  .top-image-wrap {
    width: 100%;
    aspect-ratio: calc(4 / 3);
  }
  .tile01 .course-wrap li {
    height: unset;
    display: block;
  }
  .news .btn01 {
    margin: -5px 0 20px;
  }
  .btn01 {
    margin: 30px 0 40px;
  }
  .top-image-wrap img {
    height: auto;
  }
  .flex.Jsb {
    justify-content: center;
  }
  .wrap .flex.Jsb.uw25.suw50.fwrap {
    justify-content: center;
    margin-top: 10px;
    gap: 4%;
  }
  .fwrap .three-column {
    height: auto;
  }
  .three-column .top-course-text {
    font-size: 2em;
    margin-top: 0;
  }
  .suw50 > * {
    width: 48%;
  }
  .btn02 {
    padding: 10px 5px;
  }
  footer .fNav li:last-child {
    border-left: 0;
  }
  .video-wrap {
    position: relative;
    width: 100%;
    height: 45vh;
    overflow: hidden;
  }
  video {
    display: block;
  }
}

.slide01 .slick-next.slick-arrow {
  background: url(../img/top/icoNext-gray.svg) no-repeat;
}
.slide01 .slick-prev.slick-arrow {
  background: url(../img/top/icoPrev-gray.svg) no-repeat;
}

.top-course-textwrap .btn01 {
  padding: 0;
}
.top-course-textwrap .btn01 a {
  padding: 5px 20px;
}
