@charset "UTF-8";

@media screen and (min-width: 768px) {
  .pc-none {
    display: none !important;
  }
  .sp {
    display: none !important;
  }
}
@media screen and (max-width: 767px) {
  .sp-none {
    display: none !important;
  }
  .pc {
    display: none !important;
  }
}

.preschool-title {
  font-size: 3.6rem;
  line-height: 1.5;
  letter-spacing: 0.05em;

  @media screen and (max-width: 767px) {
    font-size: 2.4rem;
  }
}

.preschool-title__wrap {
  text-align: center;
  margin-bottom: 3em;

  &.left {
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  @media screen and (max-width: 767px) {
    margin-bottom: 2em;

    &.left {
      flex-direction: column;
    }
  }
}

.preschool-title__text {
  color: #00c8ac;
  font-weight: bold;
  line-height: 1.4;
}

.preschool-sv {
  padding-block: 64px 70px;
  background: url(../../../assets/images/preschool/bg-sv.webp) no-repeat center / cover;

  @media screen and (max-width: 767px) {
    padding-block: 48px;
  }
}

.preschool-sv__group {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 48px;

  @media screen and (max-width: 767px) {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
}

.preschool-sv__title {
  font-size: 5.6rem;

  span {
    color: #00c8ac;
  }

  @media screen and (min-width: 768px) {
    align-self: end;
    grid-column: 1/2;
    grid-row: 1/2;
  }

  @media screen and (max-width: 767px) {
    font-size: 3.8rem;
    text-align: center;
    margin-bottom: 24px;
  }
}

.preschool-sv__img {
  @media screen and (min-width: 1000px) {
    margin-right: -100px;
  }

  @media screen and (min-width: 768px) {
    grid-column: 2/3;
    grid-row: 1/3;
  }

  @media screen and (max-width: 767px) {
    width: min(400px, 100%);
    margin-inline: auto;
  }
}

.preschool-sv__btn {
  a {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    display: block;
    max-width: 324px;
    width: 100%;
    padding: 12px 16px;
    margin: 40px auto 0;
    transition: all 0.2s ease;
    border-radius: 50px;
    background: linear-gradient(to right, #00b1a0, #02d1bd);

    /* &::before {
      content: "";
      width: 22px;
      height: 18px;
      display: inline-block;
      background: url(../../../assets/images/preschool/icon-mail.svg) no-repeat center / contain;
      vertical-align: middle;
      margin-right: 13px;
    } */
  }

  @media screen and (min-width: 768px) {
    grid-column: 1/2;
    grid-row: 2/3;
  }

  @media screen and (max-width: 767px) {
    a {
      font-size: 1.6rem;
    }
  }
}

.preschool-sv__btn a:hover {
  -webkit-transform: translateY(-1px);
  transform: translateY(-1px);
  box-shadow: 0 5px 8px 2px rgba(0, 0, 0, 0.14);
}

.preschool-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: min(1.5vw, 24px);
  margin-top: 64px;

  a {
    color: #e66084;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    text-align: center;
    border: 2px solid #e66084;
    background: #fff;
    display: block;
    max-width: 324px;
    width: 100%;
    padding: 10px 24px 10px 8px;
    transition: all 0.2s ease;
    border-radius: 50px;
    align-items: center;
    justify-content: center;
    position: relative;

    &::before {
      content: "";
      width: 14px;
      height: 7px;
      display: block;
      background: #e66084;
      mask: url(../../../assets/images/preschool/icon-arrow.svg) no-repeat center / contain;
      position: absolute;
      top: 50%;
      right: 16px;
      transform: translateY(-50%);
    }

    &:hover {
      -webkit-transform: translateY(-1px);
      transform: translateY(-1px);
      box-shadow: 0 5px 8px 2px rgba(0, 0, 0, 0.14);
    }
  }

  @media screen and (max-width: 919px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 48px;

    a {
      font-size: 1.3rem;
      max-width: 100%;
    }
  }
}

.preschool-lead {
  padding-top: 64px;

  @media screen and (max-width: 767px) {
    padding-top: 48px;
  }
}

.preschool-lead__title {
  font-size: 3rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: center;

  span {
    color: #00c8ac;
  }

  @media screen and (max-width: 767px) {
    font-size: 2.4rem;
  }
}

.preschool-lead__text {
  margin-top: 1em;
  margin-bottom: 40px;
  text-align: center;
}

.preschool-lead__award {
  display: flex;
  justify-content: center;
  gap: 24px;

  img {
    height: auto;
  }

  @media screen and (min-width: 768px) {
    li {
      &:nth-child(2) {
        transition-delay: 0.2s;
      }
      &:nth-child(3) {
        transition-delay: 0.4s;
      }
      &:nth-child(4) {
        transition-delay: 0.6s;
      }
    }
  }

  @media screen and (max-width: 767px) {
    flex-wrap: wrap;

    li {
      text-align: center;
      width: calc(100% / 2 - 24px);
    }
  }

  @media screen and (max-width: 449px) {
    li {
      width: 100%;
    }
  }
}

.preschool-about {
  padding-block: 100px;
  position: relative;

  &::before,
  &::after {
    content: "";
    width: min(20vw, 340px);
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: -1;
  }

  &::before {
    background: url(../../../assets/images/preschool/bg-about1.webp) repeat-y top right / auto;
    left: 0;
  }

  &::after {
    background: url(../../../assets/images/preschool/bg-about2.webp) repeat-y top left / auto;
    right: 0;
  }

  .hover-btn {
    max-width: 257px;
    margin: 40px auto;
  }

  @media screen and (max-width: 767px) {
    padding-block: 80px;

    &::before,
    &::after {
      width: 30vw;
    }
  }
}

.preschool-about__title {
  font-size: 4.1rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: center;

  &::before {
    content: "";
    width: 73px;
    height: 22px;
    background: url(../../../assets/images/preschool/deco-about-title.webp) no-repeat center / contain;
    display: block;
    margin: 0 auto 16px;
  }

  span {
    color: #00c8ac;
  }

  @media screen and (max-width: 767px) {
    font-size: 2.4rem;
  }
}

.preschool-about__text {
  margin-top: 1em;
  margin-bottom: 40px;
  text-align: center;
}

.preschool-about__imgs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  @media screen and (max-width: 767px) {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.preschool-function {
  text-align: center;
  background-color: #c6f5f1;
  padding-block: 64px;
}

.preschool-function__use {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.05em;
  padding-inline: 32px;
  width: fit-content;
  margin-inline: auto;
  position: relative;

  &::before,
  &::after {
    content: "";
    width: 16px;
    height: auto;
    aspect-ratio: 16/35;
    background: url(../../../assets/images/preschool/deco-function-title.svg) no-repeat center / contain;
    position: absolute;
    top: 50%;
  }

  &::before {
    left: 0;
    transform: translateY(-50%);
  }

  &::after {
    right: 0;
    transform: translateY(-50%) scale(-1, 1);
  }

  em {
    font-style: normal;
  }

  @media screen and (max-width: 767px) {
    font-size: 2.4rem;
    padding-inline: 24px;

    &::before,
    &::after {
      width: 10px;
    }
  }
}

.preschool-function__text {
  margin-top: 1.5em;
  margin-bottom: 40px;

  @media screen and (max-width: 767px) {
    margin-bottom: 32px;
  }
}

.preschool-function__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: min(2vw, 40px);

  li {
    background: #fff;
    padding: 24px;
    border-radius: 10px;
  }

  h3 {
    font-size: 2rem;
    margin-block: 1em 0.5em;
  }

  @media screen and (min-width: 768px) {
    li {
      &:nth-child(2) {
        transition-delay: 0.2s;
      }
      &:nth-child(3) {
        transition-delay: 0.4s;
      }
    }
  }

  @media screen and (max-width: 767px) {
    grid-template-columns: 1fr;
    gap: 24px;

    h3 {
      font-size: 1.6rem;
    }
  }
}

.preschool-usage {
  padding-block: 64px;

  @media screen and (max-width: 767px) {
    padding-block: 48px;
  }
}

.preschool-slider {
  @media screen and (max-width: 767px) {
    margin-top: 80px;
  }

  .slick-track {
    /* gap: 20px; */
    gap: 0;
  }

  .slick-list {
    box-sizing: border-box;
  }

  .slick-slide {
    margin-inline: 20px;
    justify-content: flex-start;

    @media screen and (max-width: 767px) {
      margin-inline: 10px;
    }
  }

  .slick-next,
  .slick-prev {
    width: 100px;
    height: 100px;
    background: transparent;
    top: 50%;
    transform: translateY(-50%);

    &.slick-disabled {
      opacity: 0;
    }

    @media screen and (max-width: 767px) {
      width: 48px;
      height: 48px;
      top: inherit;
      bottom: calc(100% + 16px);
      transform: translateY(0%);

      &::before {
        background-size: contain;
      }
    }
  }

  .slick-prev {
    left: -20px;

    &::before {
      background: url(../../../assets/images/preschool/icon-arrow-circle.svg) no-repeat center / contain;
    }

    @media screen and (max-width: 767px) {
      left: inherit;
      right: 64px;
    }
  }

  .slick-next {
    left: inherit;
    right: -20px;

    &::before {
      background: url(../../../assets/images/preschool/icon-arrow-circle-reverse.svg) no-repeat center / contain;
    }

    @media screen and (max-width: 767px) {
      right: 0;
    }
  }
}

.preschool-slider__item {
  text-align: center;
  background-color: #f4f4f4;
  border-radius: 10px;
  overflow: hidden;

  > h3 {
    color: #fff;
    font-size: 2.4rem;
    line-height: 1.5;
    letter-spacing: 0.05em;
    background-color: #00c8ac;
    padding: 8px;
  }

  @media screen and (max-width: 767px) {
    > h3 {
      font-size: 1.8rem;
    }
  }
}

.preschool-slider__list {
  padding: 40px 48px 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;

  @media screen and (max-width: 767px) {
    padding: 24px 16px 32px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.preschool-slider__contents {
  h4 {
    font-size: 2rem;
    margin-block: 1em 0.5em;
  }

  @media screen and (min-width: 768px) {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: 0;
  }

  @media screen and (max-width: 767px) {
    h4 {
      font-size: 1.6rem;
    }
  }
}

.preschool-slider__block {
  background-color: #fff;
  border-radius: 10px;
  padding: 16px;
  margin-top: 55px;
  position: relative;

  &::before {
    content: "";
    width: 200px;
    height: auto;
    aspect-ratio: 200 / 23;
    display: block;
    background: #00c8ac;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    position: absolute;
    bottom: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%);
  }

  @media screen and (max-width: 767px) {
    &::before {
      width: 140px;
    }
  }
}

.preschool-slider__point {
  color: #00c8ac;
  font-weight: bold;
  border-bottom: solid 1px #cecece;
  padding-bottom: 8px;
  margin-bottom: 8px;

  &::before,
  &::after {
    content: "";
    width: 13px;
    height: 12px;
    display: inline-block;
    vertical-align: top;
    background: url(../../../assets/images/preschool/deco-function-point.svg) no-repeat center / contain;
  }

  &::before {
    margin-right: 4px;
  }

  &::after {
    margin-left: 4px;
    scale: -1 1;
  }
}

.preschool-slider__desc {
  font-weight: bold;
}

.preschool-case {
  background-color: #edfaf9;
  padding-block: 64px;

  @media screen and (max-width: 767px) {
    padding-block: 48px;
  }
}

.preschool-case__text {
  font-size: 2.4rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 24px;

  @media screen and (max-width: 767px) {
    font-size: 1.8rem;
  }
}

.preschool-case__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;

  li {
    background: #fff;
    padding: 24px;
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  @media screen and (min-width: 768px) {
    li {
      &:nth-child(2) {
        transition-delay: 0.2s;
      }
      &:nth-child(3) {
        transition-delay: 0.4s;
      }
      &:nth-child(4) {
        transition-delay: 0.6s;
      }
    }
  }

  @media screen and (max-width: 919px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  @media screen and (max-width: 639px) {
    grid-template-columns: 1fr;
  }
}

.preschool-case__name {
  color: #00c8ac;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-block: 1em 0.5em;
}

.preschool-case__caption {
  font-size: 1.1rem;
  margin-top: 16px;
}

.preschool-archive {
  background: #fff;
  padding: 24px 40px;
  border-radius: 10px;
  margin-top: 40px;

  @media screen and (max-width: 767px) {
    padding: 16px;
    margin-top: 32px;
  }
}

.preschool-archive__title {
  font-size: 2rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  background: #f4f4f4;
  border-radius: calc(infinity * 1px);
  padding: 16px 40px;
  position: relative;

  &::before {
    content: "";
    width: 14px;
    height: 7px;
    background: url(../../../assets/images/preschool/icon-arrow.svg) no-repeat center / contain;
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    transition: transform 0.3s;
  }

  &.is-open {
    &::before {
      transform: translateY(-50%) rotate(180deg);
    }
  }

  @media screen and (max-width: 767px) {
    font-size: 1.6rem;
    padding: 16px 24px;
  }
}

.preschool-archive__contents {
  display: none;
}

.preschool-archive__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px min(2vw, 32px);
  padding-top: 32px;

  li {
    padding: 0 8px;
    border-bottom: solid 1px #cecece;
    display: flex;
    align-items: center;
  }

  @media screen and (max-width: 959px) {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-block: 16px;
  }

  @media screen and (max-width: 767px) {
    grid-template-columns: repeat(2, 1fr);

    li {
      font-size: 1.2rem;
    }
  }
}

.preschool-point {
}

.preschool-point__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;

  @media screen and (min-width: 768px) {
    li {
      &:nth-child(2) {
        transition-delay: 0.2s;
      }
      &:nth-child(3) {
        transition-delay: 0.4s;
      }
    }
  }

  @media screen and (max-width: 767px) {
    grid-template-columns: 1fr;

    li {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }
  }
}

.preschool-point {
  padding-block: 64px;

  @media screen and (max-width: 767px) {
    padding-block: 48px;
  }
}

.preschool-point__list {
  h3 {
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-align: center;
    margin-block: 1em 0.5em;

    span {
      color: #00c8ac;
    }
  }
}

.preschool-subsidy {
  background-color: #f4f4f4;
  padding: 40px 24px;

  .hover-btn {
    max-width: 257px;
    margin: 40px auto 0;
  }

  @media screen and (max-width: 767px) {
    padding: 24px 16px;

    .hover-btn {
      margin: 24px auto 0;
    }
  }
}

.preschool-subsidy__title {
  font-size: 3rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 24px;

  @media screen and (max-width: 767px) {
    font-size: 2.4rem;
    margin-bottom: 16px;
  }
}

.preschool-subsidy__text {
  text-align: center;
}

.preschool-cta {
  padding-block: 64px 128px;

  h2 {
    font-size: 4.1rem;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: 24px;

    span {
      color: #e66084;
    }
  }

  @media screen and (max-width: 767px) {
    padding-block: 48px 80px;

    h2 {
      font-size: 2.4rem;
      margin-bottom: 16px;
    }
  }
}

.preschool-cta__text {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;

  @media screen and (max-width: 767px) {
    font-size: 1.6rem;
  }
}

.preschool-cta__btn {
  a {
    display: block;
    text-align: center;
    max-width: 324px;
    width: 100%;
    padding: 12px 16px;
    margin: 40px auto 0;
    transition: all 0.2s ease;
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 50px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #00b1a0, #02d1bd);

    &::before {
      content: "";
      width: 22px;
      height: 18px;
      display: inline-block;
      background: url(../../../assets/images/preschool/icon-mail.svg) no-repeat center / contain;
      vertical-align: middle;
      margin-right: 13px;
    }
  }
}

.preschool-cta__btn a:hover {
  -webkit-transform: translateY(-1px);
  transform: translateY(-1px);
  box-shadow: 0 5px 8px 2px rgba(0, 0, 0, 0.14);
}
