@charset "UTF-8";
/* ad-det-box */
#ad-detail .ad-det-box {
  box-shadow: 3.6px 3.6px 3.6px 3.6px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
}

#ad-detail .ad-det-box:last-child {
  margin-bottom: 0;
}

#ad-detail .ad-det-box-ttl {
  padding: 16px 32px;
  background-color: var(--color-red-2);
  color: var(--color-white);
  text-align: center;
  font-size: var(--fs-xl);
  letter-spacing: 0.5em;
  font-weight: 800;
}

#ad-detail .ad-det-cont {
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--color-white);
}

#ad-detail .ad-det-cont-ttl {
  font-size: var(--fs-md-lg);
  font-weight: 800;
}

/* 入園手続き */
#ad-detail .ad-det-box.ad-det-box2 .ad-det-cont {
  height: auto;
}

#ad-detail .ad-det-box.ad-det-box2 p {
  padding: 16px 32px;
  width: 100%;
  display: block;
  text-align: justify;
}

#ad-detail .ad-det-box.ad-det-box2 .ad-det-cont-ttl {
  background-color: var(--color-red-2_10);
  text-align: center;
}

/* 納入金 */
#ad-detail .ad-det-box.ad-det-box2 .ad-det-cont-group {
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 16px;
  width: 100%;
  padding: 16px 40px 16px 130px;
}

#ad-detail .ad-det-box.ad-det-box2 .ad-det-cont-group:nth-child(odd) {
  background-color: var(--color-red-2_10);
}

#ad-detail .ad-det-box.ad-det-box2 .ad-det-cont-group .ad-det-cont-ttl {
  background-color: initial;
  padding: initial;
  font-size: var(--fs-md-lg);
  letter-spacing: 0.2em;
  text-align: justify;
  text-align-last: justify;
  width: 160px;
}

#ad-detail .ad-det-box.ad-det-box2 .ad-det-cont-group p {
  text-align: justify;
  padding: initial;
  width: calc(100% - 160px);
}

/* ====== ここからレスポンシブ整理 ====== */

/* --- 960px以下 (tablet) --- */
@media screen and (max-width: 960px) {
  #ad-detail .ad-det-cont {
    height: 100px;
  }

  #ad-detail .ad-det-box.ad-det-box2 .ad-det-cont-group {
    padding: 16px 40px 16px 100px;
  }
}

/* --- 768px以下 (sp) --- */
@media screen and (max-width: 768px) {
  #ad-detail .ad-det-box-ttl {
    padding: 8px 0;
    font-size: var(--fs-md2);
  }
  #ad-detail .cm-section1-desc {
    padding-bottom: 40px;
  }
  #ad-detail .ad-det-cont {
    height: 80px;
  }

  #ad-detail .ad-det-box.ad-det-box2 .ad-det-cont-group {
    padding: 0;
    flex-direction: column;
    gap: initial;
  }
  #ad-detail .ad-det-box.ad-det-box2 .ad-det-cont-ttl {
    padding: 8px 16px;
  }

  #ad-detail .ad-det-box.ad-det-box2 .ad-det-cont-group .ad-det-cont-ttl {
    width: 100%;
    background-color: var(--color-red-2_10);
    padding: 8px 16px;
    text-align: initial;
    text-align-last: initial;
  }

  #ad-detail .ad-det-box.ad-det-box2 .ad-det-cont-group p {
    width: 100%;
    padding: 16px;
  }

  #ad-detail .ad-det-box.ad-det-box2 .ad-det-cont-group:nth-child(odd) {
    background-color: initial;
  }
}

@media screen and (max-width: 599px) {
  #ad-detail .ad-det-box {
    margin-bottom: 16px;
  }

  #ad-detail .ad-det-cont {
    height: 64px;
  }
}

/* preschoool
================================================== */
#preschool .pre-ttl-inr h3 {
  background-color: var(--color-very-light-gray);
  display: inline-block;
  padding: 24px 80px;
  border-radius: 30px 30px 0 0;
  position: relative;
}
#preschool .pre-ttl {
  width: 343px;
  height: auto;
  object-fit: contain;
}

#preschool .pre-img {
  position: absolute;
  width: 350px;
  height: auto;
  object-fit: contain;
  left: calc(100% + 32px);
  bottom: -32px;
}

#preschool .pre-inr {
  background-color: var(--color-very-light-gray);
  padding-top: 60px;
}

#preschool .pre-desc-ttl {
  font-size: var(--fs-md);
  letter-spacing: 0;
  font-weight: 800;
  padding-bottom: 24px;
}

@media screen and (max-width: 960px) {
  #preschool .pre-ttl-inr h3 {
    padding: 24px 40px;
  }
  #preschool .pre-ttl {
    width: 240px;
  }

  #preschool .pre-img {
    width: 200px;
  }
}

@media screen and (max-width: 599px) {
  #preschool {
    overflow: hidden;
  }

  #preschool .pre-inr {
    padding-top: 40px;
  }
  #preschool .pre-ttl-inr h3 {
    padding: 20px 16px;
  }
  #preschool .pre-ttl {
    width: 200px;
  }

  #preschool .pre-img {
    width: 120px;
    left: calc(100% - 8px);
  }
}

/* program */
#preschool .prog {
  position: relative;
  z-index: 1;
  padding-top: 80px;
}
#preschool .prog::before {
  position: absolute;
  content: "";
  background-image: url(../../img/common/img_check_bg.webp);
  background-size: contain;
  background-position: center;
  background-repeat: repeat;
  width: 100vw;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  height: 100%;
  z-index: -1;
}

#preschool .prog h4 {
  width: 408px;
}

#preschool .pre-prog-ttl {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#preschool .prog-desc {
  padding-bottom: 32px;
}
#preschool .prog-desc p {
  font-weight: 800;
}

#preschool .cards {
  gap: 24px;
}

#preschool .card {
  width: calc(50% - 12px);
  position: relative;
  border: 30px solid var(--color-blue-2);
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#preschool .card-num {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 110px;
  height: 110px;
  object-fit: contain;
}

#preschool .card-text {
  padding: 40px;
}

#preschool .card-ttl {
  font-size: var(--fs-md2);
  color: var(--color-blue-2);
  font-weight: 800;
  border-bottom: 5px solid var(--color-blue-2);
  line-height: 1.2;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-bottom: 24px;
}
#preschool .card-text span {
  font-size: var(--fs-base);
}

#preschool .card-desc {
  padding-top: 24px;
  font-weight: 800;
}

#preschool .card-img {
  width: 100%;
  height: 300px;
}
#preschool .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 写真 */
#preschool .cm-gallery {
  position: relative;
  z-index: 1;
}

#preschool .cm-gallery::before {
  background-color: var(--color-white);
  content: "";
  width: 100vw;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 60%;
  position: absolute;
  z-index: -1;
}
#preschool .pre-desc-2 {
  position: relative;
  padding-bottom: 40px;
}

#preschool .pre-desc-2::before {
  background-color: var(--color-white);
  content: "";
  width: 100vw;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  height: 100%;
  position: absolute;
  z-index: -1;
}

@media screen and (max-width: 960px) {
  #preschool .card {
    border: 20px solid var(--color-blue-2);
  }

  #preschool .card-num {
    width: 80px;
    height: 80px;
    top: -20px;
    left: -20px;
  }

  #preschool .card-text {
    padding: 24px;
  }
  #preschool .card-img {
    height: 200px;
  }
}

@media screen and (max-width: 768px) {
  #preschool .prog {
    padding-top: 40px;
  }

  #preschool .pre-prog-ttl {
    width: 300px;
  }
  #preschool .cards {
    flex-direction: column;
    align-items: center;
  }

  #preschool .card {
    max-width: 586px;
    width: 100%;
  }
  #preschool .card-img {
    height: 300px;
  }
}

@media screen and (max-width: 599px) {
  #preschool .pre-prog-ttl {
    width: 200px;
  }
  #preschool .prog {
    padding-top: 40px;
  }

  #preschool .card-text {
    padding: 16px;
    padding-top: 24px;
  }
  #preschool .prog-desc {
    padding-left: 0;
    padding-right: 0;
  }
  #preschool .card-num {
    width: 60px;
    height: 60px;
    top: -16px;
    left: -16px;
  }
  #preschool .card-ttl {
    padding-bottom: 16px;
  }
  #preschool .card-img {
    height: 160px;
  }
  #preschool .card-desc {
    padding-top: 16px;
  }
  #preschool .pre-desc-2 p {
    padding-left: 0;
    padding-right: 0;
  }
}

/* class
================================================== */
#class {
  background-color: var(--color-sand-beige-2);
  position: relative;
  z-index: 1;
  padding-top: 92px;
}

#class .class-inr {
  justify-content: center;
  gap: 40px;
}

#class .class-box {
  border-radius: 100px;
  background-color: var(--color-white);
  width: calc(50% - 20px);
  box-shadow: 12px 12px 12px 5px rgba(0, 0, 0, 0.2);
}
#class .class-box-ttl {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 312px;
}

#class .icon_ttl_blue,
#class .icon_ttl_red {
  margin-bottom: 72px;
}

#class .class-title {
  font-family: var(--font-mplus-rounded);
  font-weight: 800;
  font-size: var(--fs-xxl);
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  padding-bottom: 32px;
  padding-bottom: 32px;
  line-height: 1;
}

#class .class-type {
  font-size: var(--fs-xlg);
  font-weight: 800;
  letter-spacing: 1em;
  text-indent: 1em;
  line-height: 1;
}

#class .info {
  padding-bottom: 48px;
}
#class .info dt,
#class .info dd {
  width: 100%;
  padding: 16px 48px;
  font-weight: 800;
  font-size: var(--fs-md-base);
}

#class .info dt {
  background-color: var(--color-sand-beige-2);
  /* 【】の分を引く */
  padding-left: calc(48px - 0.5em);
  letter-spacing: 0.3em;
}

#class .info dd {
  line-height: 2;
}

#class .info dd:last-child {
  padding-bottom: 0;
}

/* ひよこ */
#class .class-box.hiyoko .class-type {
  color: var(--color-red-2);
}

/* あひる */
#class .class-box.ahiru .class-type {
  color: var(--color-blue);
  line-height: 1;
  padding-bottom: 24px;
}

#class .class-box.ahiru .class-type span {
  letter-spacing: 0.19em;
}

@media screen and (max-width: 960px) {
  #class {
    padding-top: 60px;
  }
  #class .class-inr {
    gap: 24px;
  }
  #class .class-box {
    width: calc(50% - 12px);
    border-radius: 60px;
  }
  #class .class-box-ttl {
    height: 280px;
  }
  #class .icon_ttl_blue,
  #class .icon_ttl_red {
    margin-bottom: 40px;
  }
  #class .info dt,
  #class .info dd {
    padding: 16px 32px;
  }
  #class .info dt {
    padding-left: calc(32px - 0.5em);
  }
  #class .class-box.ahiru .class-type {
    padding-bottom: 16px;
  }
}

@media screen and (max-width: 768px) {
  #class .class-inr {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  #class .class-box {
    width: 100%;
  }
  #class .class-box-ttl {
    height: auto;
    padding-bottom: 40px;
  }
  #class .info {
    padding-bottom: 40px;
  }
}

@media screen and (max-width: 599px) {
  #class .class-inr {
    gap: 24px;
  }
  #class .class-box {
    border-radius: 40px;
  }
  #class .class-title {
    padding-bottom: 24px;
  }
  #class .icon_ttl_blue,
  #class .icon_ttl_red {
    margin-bottom: 24px;
  }
  #class .info dt,
  #class .info dd {
    padding: 8px 24px;
    font-size: var(--fs-base);
  }
  #class .info dt {
    padding-left: calc(24px - 0.5em);
  }
}
