@charset "UTF-8";

/* 教育・保育 */
/* 保育の方針 */
.feature-policy {
  padding: 80px 0 140px;
}
.feature-policy__list {
  display: flex;
  justify-content: center;
  margin: 40px auto 0;
}
.feature-policy__item {
  text-align: center;
  margin-right: 40px;
}
.feature-policy__item:last-child {
  margin-right: 0;
}
.feature-policy__item img {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.feature-policy__text {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 700;
  color: #6E4835;
  line-height: 1.4;
}
.feature-policy__description {
  max-width: 900px;
  margin: 40px auto 0;
}
.feature-policy__description ul {
  list-style: disc;
  display: flex;
  flex-wrap: wrap;
  margin-left: 24px;
}
.feature-policy__description ul li {
  width: calc((100% - 60px) / 2);
  margin-right: 30px;
}
.feature-policy__description ul li:nth-child(2n) {
  margin-right: 0;
}

@media screen and (max-width: 767px) {
  .feature-policy {
    padding: 40px 0 100px;
  }
  .feature-policy__list {
    display: flex;
    flex-wrap: wrap;
  }
  .feature-policy__item {
    width: calc((100% - 20px) / 2);
    margin: 0 10px 20px 0;
    box-sizing: border-box;
    text-align: center;
  }
  .feature-policy__item:nth-child(2n) {
    margin-right: 0;
  }
  .feature-policy__text {
    font-size: 18px;
  }
  .feature-policy__description {
    margin: 20px auto 0;
  }
  .feature-policy__description ul li {
    width: 100%;
    margin-right: 0;
  }
}

/* 専門講師による多彩なプログラム */
.feature-program {
  padding: 50px 0 60px;
  background-color: #C9EFC1;
}
.feature-program__lead{
  margin-top: 40px;
}
.feature-program__lead p + p{ 
  margin-top: 10px;
}
.feature-program__list{
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px 30px;
  justify-content: flex-start;
}
.feature-program__item{
  flex: 0 1 calc((100% - 60px) / 3);
  text-align: center;
  min-width: 0;
}
.feature-program__photo{
  margin: 0;
}
.feature-program__photo img{
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}
.feature-program__text{
  margin-top: 5px;
  text-align: center;
  color: #333;
}

@media (max-width: 768px){
  .feature-program {
    padding: 30px 0 40px;
  }
  .feature-program__list{
    gap: 25px 15px;
  }
  .feature-program__item{
    flex: 0 1 100%;
  }
  /* 2列にする場合
  .feature-program__item{
    flex: 0 1 calc((100% - 15px) / 2);
  } */
}

/* 園生活を支える安心の環境 / 家計に優しい、充実のサポート */
.feature-env {
  margin: 140px 0 0;
}
.feature_sup {
  margin: 80px 0 0;
}

/* body（PC：横並び） */
.feature-env__body,
.feature_sup__body {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-top: 30px;
}
.feature-env__photos,
.feature_sup__photos {
  position: relative;
  width: 100%;
  max-width: 540px;
  min-width: 0;
  flex: 1;
}
.feature-env__photo,
.feature_sup__photo {
  width: min(320px, 70%);
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.feature-env__photo--top,
.feature_sup__photo--top {
  position: relative;
  z-index: 1;
}
.feature-env__photo--bottom,
.feature_sup__photo--bottom {
  position: absolute;
  z-index: 2;
  left: 40%;
  top: 40%;
}
.feature-env__list,
.feature_sup__list {
  flex: 1;
  list-style: disc;
  padding-left: 22px;
  margin: 0;
  min-width: 0;
}
.feature-env__item,
.feature_sup__item {
  margin-bottom: 18px;
}
.feature-env__item:last-child,
.feature_sup__item:last-child {
  margin-bottom: 0;
}
.feature-env__head,
.feature_sup__head {
  display: block;
  font-size: 18px;
  color: #1D5900;
  margin-bottom: 6px;
  font-weight: 700;
}
.feature-env__text,
.feature_sup__text {
  margin: 0;
}

@media screen and (max-width: 768px) {
  .feature-env {
    margin: 100px 0 0;
  }
  .feature_sup {
    margin: 40px 0 0;
  }
  .feature-env__body,
  .feature_sup__body {
    display: block;
    margin-top: 40px;
  }

  .feature-env__photos,
  .feature_sup__photos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 100%;
  }

  .feature-env__photo,
  .feature_sup__photo {
    width: 100%;
    max-width: 380px;
  }

  .feature-env__photo--bottom,
  .feature_sup__photo--bottom {
    position: static; /* ←これが超重要 */
    left: auto;
    top: auto;
  }
  .feature-env__list,
  .feature_sup__list {
    margin: 30px 0 0;
}

/* 画像重ねる場合
  .feature-env__photos,
  .feature_sup__photos {
    margin: 0 auto 24px;
  }
  .feature-env__photo,
  .feature_sup__photo {
    width: min(300px, 70%);
  }
  .feature-env__photo--bottom,
  .feature_sup__photo--bottom {
    left: 26%;
    top: 38%;
  }
*/
}
