@charset "UTF-8";

/*///  保育園ページ  ///*/
.page-mv{
  .main-visual-text {
    position: absolute;
    bottom: 30%;
    left: 50%;
    translate: -50% 0;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    text-align: center;
    padding: 0 var(--gap-medium);
    @media (min-width: 768px) {
      font-size: 36px;
      bottom: 35%;
    }
    & .main-catch {
      font-size: 24px;
      color: white;
      text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
      
      
    }
  }
  h2.nursery_name{
    color: #fff;
    border-radius: 3em;
    border: 2px solid #fff;
    padding: .25em 1.5em;
    width: auto;
    font-size: 1.25em;
  }
}

.greeting{
  text-align: center;
}
.nursery_blog{
  margin: var(--gap-xl) 0 -1px !important;
  padding: var(--gap-xl) var(--gap-medium) 30%;
  background: url(../img/wave_orange.svg) center bottom no-repeat;
  background-size: 110% auto;
  position: relative;
  @media (min-width: 768px) {
    padding: var(--gap-xl) var(--gap-large) 15%;
    background: url(../img/wave_orange.svg) center bottom no-repeat;
    background-size:110% auto;
  }
  .nursery_blog_wrap{
    text-align: center;
  }
  .blog_more{
    background: #28B378;
    width: auto;
  }

  .blog_items{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--gap-large);
    margin: var(--gap-large);
    @media (min-width: 768px) {
      flex-direction: row;
    align-items: flex-start;
    }
    .blog_item{
      border-radius: var(--border-radius-large);
      overflow: hidden;
      position: relative;
      aspect-ratio: 3/2;
      h3{
        position: absolute;
        bottom: 0;
        padding: .5em;
        color: #fff;
        width: 100%;
        text-align: left;
      }
      img{
        min-width: 300px;
        min-height: 225px;
        object-fit: cover;
      }
      .blog_category{
        position: absolute;
        top: .5em;
        right: .5em;
        padding: .25em 1em;
        border-radius: 2em;
        font-size: .8em;
        color: #fff;
      }
      .blog_date{
        position: absolute;
        top: 0;
        left: 0;
        padding: .5em 1em;
        font-size: .8em;
        color: #fff;
        text-shadow: 0 0 4px rgba(0,0,0,.5);
      }
    }
  }
}

.teachers{
  margin:0 0 var(--gap-xl) !important;
  padding: var(--gap-xl) var(--gap-medium) 30%;
  background: #F2A358 url(../img/wave_white.svg) center bottom no-repeat;
  background-size: 110% auto;
  position: relative;
  @media (min-width: 768px) {
    padding: var(--gap-xl) var(--gap-large) 15%;
    background:#F2A358 url(../img/wave_white.svg) center bottom no-repeat;
    background-size:110% auto;
  }
  .teachers_wrap{
    display: flex;
    justify-content: center;
    gap: var(--gap-xl);
    flex-wrap: wrap;
    position: relative;
    dl{
      width: calc((100% / 2) - var(--gap-xl));
      text-align: center;
      color: #fff;
      @media (min-width: 768px) {
        width: calc((100% / 4) - var(--gap-xl));
      }
      .teacher-image{
        border-radius: 100%;
        overflow: hidden;
        img{
          width: 100%;
          height: 100%;
          aspect-ratio: 1/1;
          object-fit: cover;
        }
      }
      dt{
        padding: .5em;
        border-bottom: 1px dotted #fff;
      }
      dd{
        padding: .5em;
      }
    }
    &::before{
      content: "";
      background: url(../img/illust_bear.svg) center no-repeat;
      background-size: contain;
      width: 55px;
      height: 75px;
      position: absolute;
      top: 0%;
      left: 0;
      translate: 0 -100%;
      @media (min-width: 768px) {
        top: 0%;
        width: 110px;
        height: 150px;
      }
    }
    &::after{
      content: "";
      background: url(../img/illust_clocodile.svg) center no-repeat;
      background-size: contain;
      width: 100px;
      height: 47px;
      position: absolute;
      bottom: 0%;
      right: 0;
      translate: 0 100%;
      @media (min-width: 768px) {
        bottom: 0%;
        width: 200px;
        height: 94px;
      }
    }
  }
}
.nursery_data{
    position: relative;
    &::after{
      content: "";
      width: 180px;
      height: 63px;
      background: url(../img/illust_tape.svg) center no-repeat;
      background-size: contain;
      position: absolute;
      top: -30px;
      left: calc(50% - 90px);
    }
  .nursery_data_img{
    border-radius: var(--border-radius-large);
    overflow: hidden;
    width: 100%;
    max-height: 300px;
    margin-bottom: -10%;
    img{
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }
  }
  .nursery_data_wrap{
    position: relative;
    z-index: 1;
    border-radius: var(--border-radius-large);
    width: 90%;
    margin: 0 auto;
    padding: 2em;
    overflow: hidden;
    @media (min-width: 768px) {
      width: 80%;
    }
    h3{
      background: #fff;
      border-radius: 3em;
      margin:0 auto 1.5em;
      padding: .5em 1.5em;
      text-align: center;
      width: 100%;
      max-width: 500px;
    }

    &.higashihie {
      h3{
        color: #5BBCE5;
      }
    }
    &.imajuku{
      h3{
        color: #7CCA30;
      }
    }
    .facility_info{
      width: 100%;
      max-width: 500px;
      margin: 0 auto;
      color: #fff;
      text-align: left;
      display: flex;
      flex-wrap: wrap;
      dt{
        width: 40%;
        padding: .5em;
        position: relative;
        border-bottom: 1px solid #fff;
        display: flex;
        align-items: center;
        @media (min-width: 768px) {
          width: 25%;
          padding: .5em 1em;
        }
        &::after{
          content: ":";
          margin: 0 10% 0 auto;
          position: absolute;
          top: 50%;
          right: 0;
          translate:0 -50%;
        }
      }
      dd{
        width: 60%;
        padding: .5em;
        border-bottom: 1px solid #fff;
        @media (min-width: 768px) {
          width: 75%;
          padding: .5em 1em;
        }
      }
    }
  }
}

.nursery_map{
  margin: var(--gap-xl) 0 !important;
  .nursery_map_wrap{
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;

    @media (min-width: 768px) {
      flex-direction: row;
      align-items: stretch;
    }
    .map_title{
      width: 100%;
      h2{
        width: 50%;
        height: auto;
        aspect-ratio: 16/9;
        padding: 0 0 1em;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        color: #fff;
        position: relative;
          @media (min-width: 768px) {
            width: 30%;
          }
        &::after{
          content: "";
          background: url(../img/nursery_facility_triangle.svg) center bottom no-repeat;
          width: 100%;
          height: auto;
          aspect-ratio: 16/9;
          position: absolute;
          left: 0;
          bottom: 0;
          z-index: -1;
        }
      }
    }
    .map_img{
      width: 100%;
      padding: 5%;
      position: relative;
      text-align: center;
      img{border-radius: var(--border-radius-large);}
      @media (min-width: 768px) {
        width: 50%;
      }
      &::after{
        content: "";
        background: url(../img/nursery_facility_trapezoid.svg) center top no-repeat;
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        z-index: -1;
        @media (min-width: 768px) {
          width: 120%;
          background: url(../img/nursery_facility_trapezoid.svg) left top no-repeat;
        }
      }
    }
    .nursery_facility{
      width: 100%;
      padding: 5%;
      position: relative;
      @media (min-width: 768px) {
        width: 50%;
      }
      &::after{
        content: "";
        background: url(../img/nursery_facility_circle.svg) no-repeat;
        background-position: right top;
        background-size: contain;
        width: 100%;
        height: 120%;
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: -2;
        @media (min-width: 768px) {
          height: 110%;
          background-position: left top;
        }
      }
      .splide__slide{
        border: 4px solid #fff;
        border-radius: var(--border-radius-large);
        overflow: hidden;
        img{
          width: 100%;
          object-fit: cover;
        }
        .facilitie_name{
          width: 100%;
          color: #fff;
          background: var(--color-primary);
          position: absolute;
          bottom: 0;
          padding: .5em;
        }
      }

      .splide__pagination__page{
        background: #fff;
        border: 0;
        width: 1em;
        height: 1em;
        margin: 1em;
        border-radius: 2em;
        border: 2px solid #fff;
        &.is-active{
          background: #FF9A3C;
        }
      }
    }
  }
}