@media screen and (min-width: 600px) {
  .sp-vimeo {
    display: none;
  }
  #main_movie {
    min-height: 100vh;
  }
  .movieWrap {
    position: relative;
    width: 100%;
    height: 80vh;
    margin-bottom: 100px;
  }
  .movieWrap .movieBox {
    position: absolute;
    bottom: 0;
    left: 5vw;
    right: 5vw;
    top: 0;
    width: 90vw;
    border-radius: 15px;
    overflow: hidden;
  }
  .movieWrap .movieBox iframe,
  .movieWrap .movieBox video {
    height: 56.25vw;
    left: 50%;
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 156vh;
  }
  .movieWrap .movie_illust {
    position: absolute;
    bottom: -80px;
    left: calc(5vw + 30px);
  }
  .movieWrap .movie_illust img {
    width: 20vw;
    max-width: 150px;
  }
  .movieWrap .movie_illust2 {
    position: absolute;
    top: -20px;
    right: calc(5vw + 30px);
    z-index: 201;
  }
  .movieWrap .movie_illust2 img {
    width: 15vw;
    max-width: 220px;
  }
}
@media screen and (min-width: 600px) and (max-width: 1200px) {
  #main_movie {
    min-height: 700px;
  }
  .movieWrap {
    height: 600px;
  }
}

@media screen and (max-width: 599px) {
  .pc-vimeo {
    display: none;
  }
  #main_movie {
    min-height: 70vw;
  }
  .movieWrap {
    position: relative;
    width: 100%;
    height: 60vh;
    margin-bottom: 100px;
  }
  .movieWrap .movieBox {
    position: absolute;
    bottom: 0;
    left: 5vw;
    right: 5vw;
    top: 0;
    width: 90vw;
    border-radius: 15px;
    overflow: hidden;
  }
  .movieWrap .movieBox video,
  .movieWrap .movieBox iframe {
    height: 56.25vw;
    left: 50%;
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 156vh;
  }
  .movieWrap .movie_illust {
    position: absolute;
    bottom: -80px;
    left: 5px;
    width: 35%;
  }
  .movieWrap .movie_illust2 {
    position: absolute;
    top: -20px;
    right: 3px;
    width: 35%;
  }
}
#top_message {
  position: relative;
  height: 600px;
}

#top_message::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../img/main_illusto_n.png) center / contain no-repeat;
  /* background-repeat: no-repeat;
  background-size: contain; */
  background-size: inherit;
  background-position: right;
  min-height: 600px;
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 1s ease,
    transform 1.2s ease;

  z-index: 0;
}

#top_message.show::before {
  opacity: 1;
  transform: translateY(0);
}

#top_message .content {
  position: relative;
  z-index: 1;
}
#top_message .top_message_container {
  width: 90%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
#top_message .top_message_container h1 img {
  max-width: 60%;
}

#top_message .top_message_container .link a {
  display: block;
  font-weight: 700;
  color: #008b3e;
}
/* #top_message .top_message_container .link a::after {
  content: url(../img/yajirushi.svg);
  display: inline-block;
  width: 26px;
  height: 26px;
  padding-left: 8px;
  position: relative;
  vertical-align: sub;
} */

@media screen and (max-width: 599px) {
  #top_message {
    padding-bottom: 100px;
    background-position: right bottom;
    background-size: 95% auto;
    margin-bottom: 30px;
  }
  #top_message::before {
    background-position: bottom;
  }
  #top_message .top_message_container h1 {
    width: 85%;
  }
  #top_message .top_message_container h1 img {
    max-width: 100%;
  }
  #top_message .top_message_container .text p br {
    display: none;
  }
}

@media screen and (min-width: 600px) {
  #top_message {
    background-position: left 40vw bottom;
    background-size: auto 100%;
    margin-bottom: 50px;
  }
  #top_message .top_message_container {
    width: 90%;
    margin: auto;
    gap: 80px;
  }
  #top_message .top_message_container .text p {
    font-size: 24px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  /*　for iPad 　*/
  #top_message {
    background-position: right bottom;
    background-size: auto 60%;
    min-height: 800px;
    margin-bottom: 80px;
  }
}
/* -- ------園庭------  -- */
#garden {
  background-image: url(../img/illusto_01.png), url(../img/illusto_02.png);
  background-repeat: no-repeat, no-repeat;
}
#garden h2 {
  font-size: 26px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.4em;
  color: #008b3e;
  text-align: center;
  margin-bottom: 1em;
}
#garden h2 img {
  display: block;
  width: 180px;
  margin: 0 auto;
  margin-top: 6px;
}
@media screen and (max-width: 479px) {
  #garden {
    padding: 15px 15px 150px;
    background-position:
      left 5px bottom 70px,
      right 5% bottom 120px;
    background-size:
      60% auto,
      45% auto;
    margin-bottom: 30px;
  }
  #garden .spMap {
    width: 100%;
    margin-bottom: 30px;
  }
  #garden .spMap p {
    width: 100%;
    aspect-ratio: 980 / 1091;
  }
  /* #garden .spMap p img {
    height:100%;
  } */
  #garden .gardenmap {
    display: none;
  }
  #garden .spPick {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 100px;
  }
  #garden .spPick li {
    flex-basis: calc(50% - 7.5px);
  }
  #garden .spPick li:nth-child(odd) {
    margin-top: -60px;
  }
}
@media screen and (min-width: 480px) {
  #garden {
    width: 90%;
    margin: 0 auto 300px;
    padding-bottom: 200px;
    background-position:
      left 5% bottom,
      left 3% top 8%;
    background-size:
      500px auto,
      320px auto;
  }
  #garden h2 {
    font-size: 30px;
    margin-bottom: 80px;
  }
  #garden h2 img {
    width: 380px;
    margin-top: 20px;
  }
  #garden .text {
    width: 520px;
    margin-left: 50px;
    margin-top: 50px;
  }
  #garden .spMap,
  #garden .spPick {
    display: none;
  }
  #garden .gardenmap {
    position: relative;
    height: 100vh;
    width: 100%;
    aspect-ratio: 1379 / 746;
    background-image: url(../img/gardenmap_n.png);
    background-size: contain; /* 要素全体を覆うように表示 */
    background-position: center; /* 中央に配置 */
    background-repeat: no-repeat; /*画像が繰り返すのを防ぐ*/
  }
  #garden .gardenmap > div {
    position: absolute;
    width: 280px;
    height: 200px;
  }
  #garden .gardenmap > div > .img {
    display: none;
    height: 200px;
  }
  #garden .gardenmap > div .img {
    width: 90%;
  }

  #garden .gardenmap > div > .img img {
    border-radius: 8px;
  }
  #garden .gardenmap > div span {
    position: absolute;
    bottom: -15px;
    left: -15px;
    z-index: 10;
    display: inline-block;
    background-color: #008b3e;
    border-radius: 99px;
    color: #fff;
    padding: 4px 2em;
  }
  #garden .gardenmap > div a {
    display: inline-block;
    background-color: #008b3e;
    border-radius: 99px;
    color: #fff;
    padding: 2px 40px 2px 12px;
    background-image: url(../img/yajirushi02.svg);
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px 20px;
    position: absolute;
    bottom: -15px;
    left: -15px;
    z-index: 10;
    font-size: 14px;
  }
  #garden .gardenmap > div a:hover + .img,
  #garden .gardenmap > div span:hover + .img {
    display: block;
    animation-name: fuwatto;
    animation-duration: 1s;
    z-index: 8;
  }
  #garden .gardenmap .pickup_01 {
    top: calc(50% - 100px);
    left: 15%;
  }
  #garden .gardenmap .pickup_02 {
    top: 0;
    left: 20%;
  }
  #garden .gardenmap .pickup_03 {
    top: calc(40% - 100px);
    left: 50%;
  }
  #garden .gardenmap .pickup_04 {
    top: 0;
    left: 65%;
  }
  #garden .gardenmap .pickup_05 {
    bottom: 10%;
    left: 50%;
  }
}
@keyframes fuwatto {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.modal-box h2 {
  display: inline-block;
  background-color: #008b3e;
  border-radius: 99px;
  color: #fff;
  padding: 4px 2em;
  margin-bottom: 0.5em;
  font-weight: 700;
}
.modal-box ul.photo2 {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.modal-box ul.photo2 > li {
  flex-basis: calc(50% - 7.5px);
}
@media (max-width: 600px) {
  .fancybox-content {
    padding: 16px !important;
  }
}

/* -- ------子どもたちの生活------  -- */

#dailylife {
  background-color: #008b3e;
}
#dailylife .wrapper {
  position: relative;
  background-color: white;
}
#dailylife .secTtl {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#dailylife .secTtl h2 {
  font-size: 26px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.4em;
  color: #008b3e;
  padding: 1em 0 0.5em 0;
  margin-bottom: 1.5em;
  background-image: url(../img/dotedline.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
}

#dailylife .list {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
#dailylife .list .item {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
#dailylife .list .item .photo img {
  border-radius: 5%;
  overflow: hidden;
}
#dailylife .list .item .text {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
#dailylife .list .item .text h4 {
  font-size: 24px;
  line-height: 1.4em;
  font-weight: 900;
  color: #008b3e;
}
#dailylife .list .item .text p {
  line-height: 1.8;
}
#dailylife .list .item .text .more_flex {
  display: flex;
}
#dailylife .list .item .text .more {
  align-self: flex-end;
  margin-top: auto;
  padding-right: 1em;
}
#dailylife .list .item .text .more a {
  color: #008b3e;
  font-weight: 700;
}
#dailylife .wrapper ul li {
  position: absolute;
}

@media screen and (max-width: 599px) {
  #dailylife {
    padding: 15px;
  }
  #dailylife .wrapper {
    top: -80px;
    border-radius: 40px;
    padding: 20px;
  }
  #dailylife .list .item h3 {
    font-size: 20px;
    border-bottom: solid 1px rgb(133, 133, 133);
    width: fit-content;
  }
  #dailylife .list .item .text p {
    font-size: 16px;
  }
  #dailylife .wrapper ul li.ill01 {
    top: 12%;
    /* left: 0; */
    transform: translateX(-30px);
    max-width: 20vw;
  }
  #dailylife .wrapper ul li.ill02 {
    top: 55%;
    right: 0;
    /* transform: translateX(5vw); */
    max-width: 12vw;
  }
  #dailylife .wrapper ul li.ill03 {
    bottom: 22%;
    left: 0;
    /* transform: translateX(-30px); */
    max-width: 15vw;
  }
  #dailylife .wrapper ul li.ill04 {
    bottom: -15px;
    right: 0;
    transform: translateX(20px);
    width: 200px;
  }
}
@media screen and (min-width: 600px) {
  #dailylife .wrapper {
    top: -150px;
    border-radius: 100px;
    width: 80%;
    margin-inline: auto;
    padding: 75px 75px 130px;
  }
  #dailylife .secTtl {
    margin-bottom: 100px;
  }
  #dailylife .secTtl h2 {
    font-size: 30px;
    padding: 1em 1.5em;
  }
  #dailylife .list {
    gap: 130px;
  }
  #dailylife .list .item {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
  }
  #dailylife .list .item h3 {
    font-size: 20px;
    writing-mode: vertical-rl;
    display: inline-block;
    height: fit-content;
    border-right: solid 1px rgb(133, 133, 133);
    flex-basis: 4em;
  }
  /* #dailylife .list .item .photo {
    flex-basis: calc(45% - 4em);
  } */
  #dailylife .list .item .text {
    flex-basis: calc(55% - 60px);
    padding-left: 3%;
  }
  #dailylife .list .item .text h4 {
    font-size: 24px;
  }
  #dailylife .wrapper ul li.ill01 {
    top: 8%;
    left: 0;
    transform: translateX(-5%);
    max-width: 10vw;
  }
  #dailylife .wrapper ul li.ill02 {
    top: 55%;
    right: 0;
    transform: translateX(6px);
    max-width: 8vw;
  }
  #dailylife .wrapper ul li.ill03 {
    top: 75%;
    left: 0;
    transform: translateX(-50%);
    max-width: 10vw;
  }
  #dailylife .wrapper ul li.ill04 {
    bottom: 0;
    right: 0px;
    width: 550px;
  }
}

/* -- ------おしらせ------  -- */
#news {
  background-image: url(../img/news_wrapper.svg);
  background-position: center bottom 30px;
  background-repeat: no-repeat;
}
#news .news_wrapper {
  background-image: url(../img/illusto_news.png);
  background-repeat: no-repeat;
  background-position: right 0;
}
#news .news_wrapper ul.tab_cate {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 15px;
}
#news .news_wrapper ul.tab_cate li {
  flex-grow: 2;
  text-align: center;
  overflow: hidden;
  background-color: #fff;
  color: #008b3e;
}
#news .news_wrapper ul.tab_cate li.active a,
#news .news_wrapper ul.tab_cate li.is-active a {
  background-color: #008b3e;
  border-radius: 50px;
  color: #fff;
}
/* #news .news_wrapper ul.tab_cate li.ct01.active a {
  background-color: var(--cate01);
}
#news .news_wrapper ul.tab_cate li.ct02.active a {
  background-color: var(--cate02);
}
#news .news_wrapper ul.tab_cate li.ct03.active a {
  background-color: var(--cate03);
}
#news .news_wrapper ul.tab_cate li.ct04.active a {
  background-color: var(--cate04);
}
#news .news_wrapper ul.tab_cate li.ct05.active a {
  background-color: var(--cate05);
}
#news .news_wrapper ul.tab_cate li.ct00.active a {
  background-color: var(--cate00);
} */

#news .news_wrapper ul.tab_cate li a {
  display: block;
  padding: 0.2em 1em;
  font-weight: 800;
  font-size: 16px;
  color: #008b3e;
}
#news .news_wrapper .area {
  display: none;
  opacity: 0;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  padding: 10px 0;
  margin-bottom: 30px;
}
#news .news_wrapper .area.is-active {
  display: block;
  animation-name: displayAnime;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}
#news .news_wrapper .area .no_news {
  text-align: center;
}
#news .news_wrapper .area ul li {
  border-bottom: 2px dotted #d6d6d6;
}
#news .news_wrapper .area ul li a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.5em;
  padding: 10px 0;
}
#news .news_wrapper .area ul li a span.ct {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 0 1em;
  background-color: #dbdbdb;
  color: black;
  border-radius: 999px;
  overflow: hidden;
}
#news .news_wrapper .back {
  text-align: center;
}
#news .news_wrapper .back a {
  display: inline-block;
  margin: 0 auto;
  padding: 0.5em 1em;
  color: #3b7930;
  font-weight: 700;
  text-align: center;
  border-radius: 999px;
  border: 1px solid #3b7930;
  margin-top: 10px;
}
/* #news .news_wrapper .area ul li a span.ct.ct01 {
  background-color: var(--cate01);
}
#news .news_wrapper .area ul li a span.ct.ct02 {
  background-color: var(--cate02);
}
#news .news_wrapper .area ul li a span.ct.ct03 {
  background-color: var(--cate03);
}
#news .news_wrapper .area ul li a span.ct.ct04 {
  background-color: var(--cate04);
}
#news .news_wrapper .area ul li a span.ct.ct05 {
  background-color: var(--cate05);
}
#news .news_wrapper .area ul li a span.ct.ct00 {
  background-color: var(--cate00);
} */
@keyframes displayAnime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media screen and (max-width: 599px) {
  #news {
    padding: 50px 0;
    background-size: auto 550px;
  }
  #news h2 {
    font-size: 26px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.4em;
    color: #008b3e;
    text-align: center;
  }
  #news h2 img {
    display: block;
    width: 180px;
    margin: 0 auto;
    margin-top: 6px;
    margin-bottom: 50px;
  }
  #news .news_wrapper {
    display: block;
    width: 90%;
    height: 550px;
    margin: 0 auto;
    padding-top: 80px;
    background-size: auto 75px;
  }
  #news .news_wrapper .area {
    padding: 10px;
  }
  #news .news_wrapper .area ul li a strong {
    flex-basis: 100%;
  }
}

@media screen and (min-width: 600px) {
  #news {
    padding: 100px 0;
    background-size: 1500px auto;
  }
  #news h2 {
    font-size: 30px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.4em;
    color: #008b3e;
    text-align: center;
  }
  #news h2 img {
    display: block;
    width: 180px;
    margin: 0 auto;
    margin-top: 6px;
    margin-bottom: 50px;
  }
  #news .news_wrapper {
    display: block;
    width: 100%;
    /* height: 550px; */
    margin: 0 auto;
    padding-top: 150px;
    background-size: 120px auto;
    background-position: right 15% top;
  }
  #news .news_wrapper ul.tab_cate {
    max-width: 1000px;
    margin: 0 auto 30px;
  }
  #news .news_wrapper ul.tab_cate li {
    border-left: 1px solid #ccc;
  }
  #news .news_wrapper ul.tab_cate li:last-child {
    border-right: 1px solid #ccc;
  }
  #news .news_wrapper .area {
    max-width: 1000px;
    margin: 0 auto;
  }
  #news .news_wrapper .area ul {
    width: 100%;
  }
}
.top_cation {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.top_cation > div {
  width: 95%;
  max-width: 950px;
  padding: 20px;
  background-color: #fff;
  border-radius: 20px;
  border: 3px dashed #008b3e;
  margin-bottom: 50px;
}
