@charset "utf-8";
* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
}

.line01 {
  background-image: url(./img/line01.png);
  background-repeat: repeat;
  height: 60px;
}

main {
  font: 18px / 1.4 "Shippori Mincho", serif;
}

/* mv */
.mv_box img {
  width: 100%;
  object-fit: cover;
}

/* 共通 */
.in {
  width: 100%;
  max-width: 1000px;
  margin: 0px auto 50px;
  padding: 0 50px;
}

section {
  margin-bottom: 50px;
}

section p {
  font-size: 1.8rem;
}

.bg_g {
  background: #849956;
  padding: 50px 0;
}

#about h2,
#movie h2,
#poster h2,
#carender h2,
#operation h2,
#pannhuretto h2 {
  position: relative;
  padding-left: 100px;
  margin-bottom: 15px;
  z-index: 20;
  font-size: 3rem;
  font-weight: bold;
}

.bg_g h2 {
  color: #fafafa;
}

.bg_g .lead {
  color: #fafafa;
}

#about h2,
#poster h2,
#operation h2 {
  color: #30802e;
}

#about h2,
#operation h2 {
  margin-bottom: 50px;
}

h2 .h2_bk {
  position: absolute;
  bottom: -10px;
  font-size: 6rem;
  font-weight: bolder;
  z-index: -1;
  opacity: 0.2;
  left: 0;
  white-space: nowrap;
}

.lead {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

/* ボタン */
.btn a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 350px;
  padding: 20px 25px;
  transition: 0.3s ease-in-out;
  border-radius: 10px;
  font-weight: bold;
}

#carender .btn a,
#pannhuretto .btn a {
  background: #849956;
  border: 2px solid #fafafa;
  color: #fafafa;
}

#carender p,
#pannhuretto p {
  color: #fafafa;
}

#operation .btn a {
  background: #fafafa;
  border: 2px solid #98ab6f;
  color: #98ab6f;
}

.btn a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -2em;
  transform: translateY(-50%);
  width: 50px;
  height: 2px;
  transition: 0.3s;
}

#carender .btn a::after,
#pannhuretto .btn a::after {
  background-color: #fafafa;
}

#operation .btn a::after {
  background-color: #98ab6f;
}

.btn a:hover:before,
.btn a:hover:after {
  right: -0.5em;
}

.btn a:hover {
  background: #edf6ff;
}

/* サステナブル */
#sustainable h2 {
  color: #fafafa;
  font-size: 4.2rem;
  margin-bottom: 20px;
  text-align: center;
}

#sustainable .box_area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  background: #fafafa;
  margin-top: 20px;
  padding: 30px 20px;
}

#sustainable h4 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

#sustainable .box h4 span {
  color: #30802e;
  font-size: 4rem;
}

/* サステナブル高尾について */
#about h3 {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  max-width: 900px;
  font-size: 2.4rem;
  margin-bottom: 20px;
}

#about h3::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 100%;
  width: calc(900px - 100% - 20px);
  max-width: calc(90vw - 100% - 20px);
  height: 1px;
  transform: translateY(-50%);
  margin-left: 10px;
  background-color: #30802e;
}

#about .box_area {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

#about .about_logo {
  flex-direction: row-reverse;
}

#about .text_box {
  padding: 0 15px;
  width: 80%;
}

#about .img_box {
  display: flex;
  align-items: center;
  gap: 7px;
}

#about .img_box img {
  max-width: calc(33.333% - 5px);
  width: 100%;
  height: auto;
  flex-shrink: 1;
  min-width: 0;
  margin-bottom: 50px;
}

#about a {
  display: block;
  max-width: 650px;
  margin: 15px auto;
}

/* ムービー */
#movie .takao_movie {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

#movie .takao_movie iframe {
  height: auto;
  aspect-ratio: 16 / 9;
}

/* ポスター */
#poster .box_area {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}

/* カレンダー */
#carender .pdf_download {
  margin-bottom: 30px;
  text-align: right;
}

#carender .pdf_ {
  display: block;
}

#carender h4 {
  font-size: 3rem;
  text-align: center;
  color: #fafafa;
  margin-bottom: 18px;
  text-shadow: 0 0 black;
}

#carender h4 span {
  font-size: 4rem;
}

#carender .text_haru {
  color: #fbeaf1;
}

#carender .text_natu {
  color: #eef7ea;
}

#carender .text_aki {
  color: #feede8;
}

#carender .text_huyu {
  color: #f0f5f9;
}

#carender .box_area {
  display: flex;
  margin-top: 10px;
  margin-bottom: 50px;
}

#carender .box {
  width: 245px;
  height: 300px;
  position: relative;
}

#carender .box .season_logo {
  position: absolute;
  right: 30%;
  bottom: 13%;
}

.bg_haru {
  background: #fbeaf1;
}

.bg_natu {
  background: #eef7ea;
}

.bg_aki {
  background: #feede8;
}

.bg_huyu {
  background: #f0f5f9;
}

/* 活動 */
#operation .pdf_ {
  display: block;
  max-width: 800px;
  margin: 30px auto 0 auto;
}

#operation .pdf_download {
  text-align: right;
  margin-bottom: 30px;
}

#operation .box_area {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

#operation .text_box {
  width: 70%;
}

#operation h4 {
  font-size: 2.4rem;
  color: #30802e;
  margin-bottom: 10px;
}

#operation .health_area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 30px 0;
  text-align: center;
}

#operation .health_box {
  padding: 15px 7px;
}

#operation .health_box .small_text {
  font-size: 1.6rem;
}

#operation .health_box:nth-child(1) {
  background: #f0f5f9;
}

#operation .health_box:nth-child(2) {
  background: #eef7ea;
}

#operation .health_box:nth-child(3) {
  background: #feede8;
}

#operation .btn a {
  background: #fff;
  border: 1px solid #98ab6f;
}

/* パンフレット */
#pannhuretto .box_area {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 15px;
}

#pannhuretto .box p {
  margin-bottom: 15px;
}

#pannhuretto p span {
  font-size: 2rem;
}

#pannhuretto .btn {
  margin: 15px 0;
}

@media screen and (max-width: 899px) {
  /* カレンダー */
  #carender .box {
    height: 250px;
  }
}

@media screen and (max-width: 768px) {
  /* サステナブル */
  #sustainable h2 {
    font-size: 3.6rem;
  }

  /* カレンダー */
  #carender .box {
    height: 215px;
  }
}

@media screen and (max-width: 670px) {
  /* 共通 */
  .in {
    margin: 30px auto 30px;
    padding: 0 10px;
  }

  .bg_g {
    padding: 30px 0;
  }

  #sustainable.bg_g {
    padding: 15px 0;
  }

  #about h2,
  #movie h2,
  #poster h2,
  #carender h2,
  #operation h2,
  #pannhuretto h2 {
    padding-left: 60px;
  }

  h2 .h2_bk {
    bottom: -5px;
    font-size: 5rem;
  }

  /* ボタン */
  .btn a {
    padding: 20px 25px;
  }

  .btn a::after {
    right: -1em;
    width: 30px;
  }

  /* サステナブル */
  #sustainable h2 {
    font-size: 3.2rem;
  }

  #sustainable .box_area {
    grid-template-columns: repeat(1, 1fr);
  }

  /* サステナブル高尾について */
  #about h3 {
    text-align: center;
    display: flex;
    justify-content: center;
    white-space: wrap;
    border-bottom: 1px solid #30802e;
    padding-bottom: 6px;
  }

  #about h3::after {
    content: none;
  }

  #about .box_area {
    margin-bottom: 30px;
  }

  #about .box_area img {
    width: 180px;
    margin-bottom: 15px;
  }

  #about .text_box {
    width: 100%;
    padding: 0 7px;
  }

  /* カレンダー */
  #carender .box {
    height: 180px;
  }

  /* 活動 */
  #operation .box_area {
    flex-wrap: wrap;
    justify-content: center;
  }

  #operation .text_box {
    width: 100%;
  }

  #operation .box_area:nth-child(odd) {
    flex-direction: row;
  }

  /* パンフレット */
  #pannhuretto .box_area {
    grid-template-columns: repeat(1, 1fr);
    text-align: center;
  }

  #pannhuretto .box_area img {
    height: 300px;
  }
}

@media screen and (max-width: 460px) {
  /* 共通 */
  #about h2,
  #movie h2,
  #poster h2,
  #carender h2,
  #operation h2,
  #pannhuretto h2 {
    padding-left: 30px;
    font-size: 2.4rem;
    /* margin-bottom: 30px; */
  }

  h2 .h2_bk {
    font-size: 4rem;
  }

  /* サステナブル高尾について */
  #about h3 {
    text-align: center;
    display: flex;
    justify-content: center;
  }

  #about .img_box {
    gap: 3px;
  }

  /* カレンダー */
  #carender .box {
    height: 130px;
  }

  /* 活動 */
  #operation .pdf_ {
    margin: 15px auto 0 auto;
  }
}

/* 下層ページ */
/* seasonここから */
.mv_season {
  background: #849956;
  padding-top: 50px;
  padding-bottom: 20vh;
  margin-bottom: 200px;
  position: relative;
}

.mv_season .in {
  position: relative;
  z-index: 2;
}

#carender.mv_season h4 span {
  font-size: 5.2rem;
  padding: 0 5px;
}

.mv_season .box_area {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  z-index: 1;
}

#season {
  margin-top: 200px;
}

#season .loop-wrap h2 {
  position: relative;
  margin-bottom: 15px;
  z-index: 20;
  font-size: 4rem;
  color: #30802e;
  text-align: center;
}

#season .loop-wrap .h2_bk {
  position: absolute;
  bottom: -10px;
  font-size: 7rem;
  font-weight: bolder;
  z-index: -1;
  opacity: 0.2;
  left: 0;
  white-space: nowrap;
  color: #30802e;
  overflow: hidden;
  width: 100%;
}

/* アニメーション*/
#season .loop-wrap .h2_bk .marquee {
  display: flex;
  gap: 1rem; /* 文字の間隔を調整 */
  width: max-content;
  animation: marquee 30s linear infinite;
}

/* アニメーション */
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

#season .bg_haru,
#season .bg_natu,
#season .bg_aki,
#season .bg_huyu {
  padding: 20px 10px;
  margin: 30px 0;
}

#season h3 {
  margin-bottom: 20px;
  text-align: center;
}

#season h3 span {
  font-size: 5rem;
  font-weight: bold;
  margin-right: 7px;
}

#season .bg_haru span {
  color: #f49ac1;
}

#season .bg_natu span {
  color: #32812f;
}

#season .bg_aki span {
  color: #f7941d;
}

#season .bg_huyu span {
  color: #4dc6e1;
}

#season .box_area {
  display: flex;
  gap: 10px;
  align-items: center;
}

#season .bg_natu .box_area,
#season .bg_huyu .box_area {
  flex-direction: row-reverse;
}

#season .box_area .text_box {
  width: 70%;
}

#season .box_area .text_box .event_text {
  margin-top: 20px;
}

#season .box_area .text_box .event_text p {
  font-size: 2rem;
  margin-bottom: 5px;
}

/* ボタン */
#season .btn a {
  background: #fafafa;
  border: 2px solid #98ab6f;
  color: #98ab6f;
}

#season .btn a::after {
  background-color: #98ab6f;
}

#season .btn {
  margin-top: 30px;
}

@media (max-width: 768px) {
  .mv_season {
    padding-bottom: 10vh;
    padding-top: 35px;
  }

  #season {
    margin-top: 100px;
  }
}

@media (max-width: 670px) {
  .mv_season {
    padding-bottom: 1vh;
    padding-top: 15px;
  }

  #season h2 {
    padding-left: 60px;
  }

  #carender.mv_season h4 span {
    padding: 0;
  }

  #season .box_area {
    flex-wrap: wrap;
    justify-content: center;
  }

  #season .bg_haru,
  #season .bg_natu,
  #season .bg_aki,
  #season .bg_huyu {
    margin: 20px 0;
  }

  #season .box_area .text_box {
    width: 100%;
  }

  #season .bg_natu .box_area,
  #season .bg_huyu .box_area {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  #season h2 {
    padding-left: 30px;
  }
}

/* courseここから */
.mv_box_area {
  position: relative;
  align-items: center;
  width: 100%;
  height: auto;
}

.mv_text {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 97%;
  max-width: 1000px;
  background: rgba(50, 129, 47, 0.8);
  padding: 20px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

#operation.mv_text h4 {
  color: #fafafa;
  font-size: 4.2rem;
}

#program {
  margin-top: 450px;
}
.text_wh {
  color: #fafafa;
}

#program h2 {
  position: relative;
  padding-left: 100px;
  margin-bottom: 15px;
  z-index: 20;
  font-size: 3rem;
  font-weight: bold;
  color: #30802e;
}

#program .box_area {
  display: flex;
  gap: 10px;
}

#program .img_box {
  width: 60%;
}

#program .courseSpotList span,
#program .courseSpotList .time {
  font-size: 2rem;
}

#program .courseSpotList li,
#course .container li {
  padding: 15px;
  text-align: left;
  border-radius: 10px;
  position: relative;
  list-style-type: none;
  display: flex;
  gap: 20px;
}
#program .courseSpotList li {
  border: 2px solid #65a163;
}
#course .container li {
  border: 2px solid #fafafa;
  background: #fafafa;
  justify-content: space-between;
}
#course .container .box li {
  display: block;
}

#program .courseSpotList li:nth-child(odd) {
  background-color: #65a163;
  color: #fafafa;
}

#program .courseSpotList li:nth-child(even) {
  background: #fafafa;
}

#program .courseSpotList li:not(:first-child)::before,
#course .container li:not(:first-child)::before {
  content: "";
  height: 45px;
  display: block;
  position: absolute;
  top: -40px;
  left: calc(10% + 30px - 2px);
  z-index: 1;
}

#program .courseSpotList li:not(:first-child)::before {
  border-left: 4px dotted #65a163;
}

#course .container li:not(:first-child)::before {
  border-left: 4px dotted #fafafa;
}

#program .courseSpotList li:not(:last-child),
#course .container li:not(:last-child) {
  margin-bottom: 30px;
}

#program .guidance_box1,
#program .guidance_box2 {
  padding: 25px 20px;
  border-radius: 15px;
  margin: 30px 0;
}

#program .guidance_box1 {
  background: #eef7ea;
}

#program .guidance_box2 {
  background: #feede8;
}

#program .guidance_box1 h3,
#program .guidance_box2 h3 {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 10px;
}

#program .guidance_box1 .box_area,
#program .guidance_box2 .box_area {
  justify-content: space-between;
  margin-top: 20px;
}

#program .guidance_box1 .img_box,
#program .guidance_box2 .img_box {
  width: 350px;
}

#program .guidance_box1 .text_box,
#program .guidance_box2 .text_box {
  width: 60%;
}

#program .guidance_box1 h4,
#program .guidance_box2 h4 {
  text-align: center;
  margin-bottom: 7px;
}

h3.left_line {
  padding-left: 7px;
  font-size: 2.4rem;
  margin-top: 70px;
}

#program h3.left_line {
  border-left: 3px solid #849956;
}

/* #program .application_area {
  text-align: center;
} */

#program .application_area .tel {
  font-size: 5.2rem;
  margin-left: 7px;
  white-space: nowrap;
  text-decoration: underline;
}

#program .application_area .box {
  margin-top: 25px;
}

#program .application_area .box img {
  margin-top: 15px;
}

p.appeal {
  color: #ff0000;
}

#course h2 {
  position: relative;
  padding-left: 100px;
  margin-bottom: 15px;
  z-index: 20;
  font-size: 3rem;
  font-weight: bold;
  color: #fafafa;
}

#course h3.left_line {
  border-left: 3px solid #fafafa;
  color: #fafafa;
  font-size: 3rem;
  margin-bottom: 7px;
}

#course .container h3 {
  font-size: 2.4rem;
  color: #fafafa;
  margin: 30px 0 10px 0;
}

#course .stay_container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

#course .container ul {
  margin-top: 15px;
}

#course .container li .time {
  font-size: 2rem;
  color: #ce7747;
  margin-bottom: 7px;
}

#course .container li img {
  margin-top: 7px;
  width: 220px;
  height: auto;
  aspect-ratio: 22 / 13;
  object-fit: cover;
}

/* ボタン */
#course .btn a {
  background: #849956;
  border: 2px solid #fafafa;
  color: #fafafa;
}

#course .btn a::after {
  background-color: #fafafa;
}

#course .btn {
  margin-top: 30px;
}

@media screen and (min-width: 801px) {
  #program .tel {
    pointer-events: none;
  }
}

@media screen and (max-width: 880px) {
  #program {
    margin-top: 500px;
  }

  #program .application_area .tel {
    font-size: 4.2rem;
  }
}

@media screen and (max-width: 768px) {
  #program {
    margin-top: 600px;
  }
}

@media screen and (max-width: 670px) {
  #operation .health_area {
    grid-template-columns: repeat(1, 1fr);
  }

  #program h2,
  #course h2 {
    padding-left: 60px;
  }

  #program {
    margin-top: 940px;
  }

  #operation.mv_text h4 {
    font-size: 3.2rem;
  }

  #program .box_area {
    flex-wrap: wrap;
    justify-content: center;
  }

  #program .box_area .img_box {
    order: 2;
  }

  #program .courseSpotList li:not(:first-child)::before {
    height: 30px;
    top: -33px;
  }

  #program .guidance_box1 .box_area,
  #program .guidance_box2 .box_area {
    justify-content: center;
    gap: 0;
  }

  #program .guidance_box1 .text_box,
  #program .guidance_box2 .text_box {
    width: 100%;
    margin-bottom: 7px;
  }

  #program .guidance_box1 h4,
  #program .guidance_box2 h4 {
    text-align: left;
  }

  h3.left_line {
    margin-top: 30px;
  }

  #course .stay_container {
    grid-template-columns: repeat(1, 1fr);
  }

  #course .container .box li {
    display: flex;
  }

  #course .container li {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
  }
}

/* フローティングバナー */
.floating-banner {
  position: fixed;
  bottom: 20px;
  right: 10px;
  z-index: 9999;
}
.floating-banner img {
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: block;
  width: 270px;
}

@media screen and (max-width: 550px) {
  #program {
    margin-top: 1000px;
  }

  .contents h4.st-h4 {
    padding: 0.3em 0.2em;
  }

  .floating-banner {
    bottom: 10px;
    right: 5px;
  }

  .floating-banner img {
    width: 150px;
  }
}

@media screen and (max-width: 450px) {
  #program {
    margin-top: 1120px;
  }

  #program h2,
  #course h2 {
    padding-left: 30px;
  }
}
