@charset "UTF-8";
/* ===============================================
# 上書き
=============================================== */
.page-home {
  min-height: 1000px;
}

#layout-body {
  gap: 0;
}

.mainblock {
  padding-inline: 0;
}

#layout-header .container {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}
#layout-header .sitename {
  width: 58.28%;
  text-align: center;
  margin: 0 auto;
}
#layout-header .first-view {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
#layout-header .first-view .catchcopy {
  margin: 0 auto;
}
#layout-header .first-view .text {
  margin: auto auto 0;
}
@media screen and (min-width: 769px) {
  #layout-header .first-view {
    background: url(../images/top/key-visual_fll.webp) no-repeat top center;
    background-size: cover;
  }
  #layout-header .first-view .catchcopy {
    width: min(45.92%, 1148px);
  }
  #layout-header .first-view .text {
    width: min(51.56%, 1289px);
    width: 60%;
  }
}
@media screen and (max-width: 768px) {
  #layout-header .container {
    padding-inline: 0;
  }
  #layout-header .sitename {
    order: 2;
    height: auto;
    width: 98%;
  }
  #layout-header .sitename img {
    height: auto;
    aspect-ratio: 184/21;
  }
  #layout-header .first-view {
    background: url(../images/top/key-visual_sp.webp) no-repeat top center;
    background-size: cover;
    order: 1;
  }
  #layout-header .catchcopy {
    width: 98%;
  }
}

/* ===============================================
# お知らせ（sec-news）
=============================================== */
.sec-news {
  align-items: flex-start;
}
.sec-news .entrybox-news {
  display: inline-flex;
  justify-content: space-between;
}
.sec-news .entry-excerpt > a {
  flex-direction: column;
}
.sec-news .eyecatch {
  aspect-ratio: 13/10;
  position: relative;
}
.sec-news .eyecatch::after {
  content: "";
  background-color: #ff2c44;
  border-radius: 20px;
  width: 99%;
  height: 99%;
  display: block;
  position: absolute;
  top: 1.5%;
  left: 1.5%;
  z-index: -1;
}
.sec-news .eyecatch img {
  aspect-ratio: 13/10;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 18px;
  width: 97%;
}
.sec-news .cat {
  font-size: 0.8em;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background: #ccc;
  padding-inline: 0.5em;
  border-radius: 8px;
  color: #fff;
}
.sec-news .cat-album {
  background-color: #8cc63f;
}
.sec-news .cat-news {
  background-color: #f7931e;
}
.sec-news .cat-school_letter {
  background-color: #ff7bac;
}
.sec-news .entry-time {
  min-width: 5.6em;
}
.sec-news .entry-name {
  margin: 0;
}
.sec-news .headline {
  margin-right: auto;
  min-width: 0;
  line-height: 1.4;
}
.sec-news .go-index {
  -webkit-margin-before: 2em;
          margin-block-start: 2em;
  margin-inline: auto 0;
}
@media screen and (min-width: 769px) {
  .sec-news {
    position: relative;
    margin-inline: 19.3170731707%;
    margin-top: 8%;
  }
  .sec-news .entrybox-news {
    width: 57.0731707317%;
    flex-grow: 1;
    margin-right: 1%;
  }
  .sec-news .entry-excerpt {
    flex-basis: calc((100% - 45px) / 3);
  }
  .sec-news .sec-title {
    position: absolute;
    top: 0;
    left: -18.9166666667%;
    width: 10.8333333333%;
  }
  .sec-news .go-index {
    width: 100%;
    text-align: right;
  }
  .sec-news .go-index img {
    margin-left: auto;
  }
}
@media screen and (max-width: 768px) {
  .sec-news {
    flex-direction: column;
  }
  .sec-news .entrybox-news {
    width: 100%;
    flex-wrap: wrap;
    gap: 2em 1em;
  }
  .sec-news .entry-excerpt {
    width: calc((100% - 1em) / 2);
  }
  .sec-news .sec-title {
    margin: auto;
  }
  .sec-news .sec-title img {
    margin: auto;
  }
}

/* ==============
//想い/特色
================ */
.sec-policy.is-layout-flex {
  gap: 0;
}
.sec-policy .item {
  position: relative;
  width: 100%;
}
.sec-policy .pagelink {
  position: absolute;
  width: 19.3170731707%;
}
@media screen and (min-width: 769px) {
  .sec-policy .policy > .pagelink {
    bottom: 3.9024390244%;
    left: 22.9268292683%;
  }
  .sec-policy .feature > .pagelink {
    bottom: 14.6341463415%;
    right: 29.8536585366%;
  }
}
@media screen and (max-width: 768px) {
  .sec-policy .pagelink {
    width: 40%;
  }
  .sec-policy .policy > .pagelink {
    bottom: 14.6666666667%;
    left: 9.6%;
  }
  .sec-policy .feature > .pagelink {
    bottom: 13.3333333333%;
    left: 9.6%;
  }
}

/* ==============
//入園案内
================ */
.sec-admission.is-layout-flex {
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.sec-admission .apply-form-link {
  display: contents;
}
@media screen and (min-width: 769px) {
  .sec-admission {
    background: url(../images/top/top_admission_bg_pc.png) center center no-repeat;
    padding-block: 4.7727272727%;
  }
  .sec-admission .sec-title {
    width: 63.8536585366%;
  }
  .sec-admission .link-item {
    width: 58.2926829268%;
    -webkit-margin-before: 4.0487804878%;
            margin-block-start: 4.0487804878%;
  }
  .sec-admission .link-item:last-child {
    -webkit-margin-after: 4.0487804878%;
            margin-block-end: 4.0487804878%;
  }
  .sec-admission .message {
    width: 42.8292682927%;
    padding-block: 7.7073170732%;
  }
}
@media screen and (max-width: 768px) {
  .sec-admission {
    margin-inline: calc(50% - 50cqw);
    padding-inline: calc(50cqw - 50%);
    background: url(../images/top/top_admission_bg_sp.png) center center no-repeat;
    background-size: auto 100%;
    padding-block: 5.3333333333%;
    width: 100vw !important;
  }
  .sec-admission .sec-title {
    width: 95.4666666667%;
  }
  .sec-admission .message {
    width: 86.6666666667%;
    padding-block: 13.6%;
  }
  .sec-admission .link-item {
    width: 93.3333333333%;
    -webkit-margin-before: 6.6666666667%;
            margin-block-start: 6.6666666667%;
  }
  .sec-admission .link-item:last-child {
    -webkit-margin-after: 6.6666666667%;
            margin-block-end: 6.6666666667%;
  }
}

/* ==============
//子育て支援
================ */
.sec-support.is-layout-grid {
  background: url(../images/top/top_support_pc.png) center center no-repeat;
  width: 100%;
  aspect-ratio: 2200/1162;
  background-size: contain;
  justify-content: center;
  padding-inline: 20%;
  grid-auto-rows: -webkit-min-content;
  grid-auto-rows: min-content;
}
@media screen and (min-width: 769px) {
  .sec-support.is-layout-grid .sec-title {
    width: 100%;
    grid-column: 1/3;
    grid-row: 1/2;
  }
  .sec-support.is-layout-grid .sec-title img {
    margin: auto;
  }
  .sec-support.is-layout-grid .support-program {
    margin-top: auto;
  }
  .sec-support.is-layout-grid .piyo {
    grid-column: 1/2;
    grid-row: 2/3;
  }
  .sec-support.is-layout-grid .sakuranbo {
    grid-column: 2/3;
    grid-row: 2/3;
  }
  .sec-support.is-layout-grid .piyoclass-admission {
    grid-column: 1/3;
    grid-row: 3/4;
  }
}
@media screen and (max-width: 768px) {
  .sec-support.is-layout-grid {
    flex-direction: column;
    display: flex;
    padding-inline: 0;
  }
  .sec-support.is-layout-grid .support-program,
.sec-support.is-layout-grid .piyoclass-admission {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: auto;
  }
}

/* ==============
//預かり保育
================ */
.sec-childcare {
  background-color: #fff;
  position: relative;
  border-radius: 10px;
  gap: 0.5em 0;
}
.sec-childcare:after {
  content: "";
  width: 100vw;
  background: #f9d1ca;
  position: absolute;
  height: calc(100% + 2em);
  display: block;
  z-index: -1;
}
@media screen and (min-width: 769px) {
  .sec-childcare {
    margin-inline: 20.9708737864%;
  }
  .sec-childcare:after {
    margin: -1em calc(50% - 50vw);
  }
  .sec-childcare .sec-title {
    width: 100%;
    grid-column: 1/3;
    grid-row: 1/2;
  }
  .sec-childcare .sec-title img {
    margin: auto;
  }
  .sec-childcare .guide {
    grid-column: 1/2;
    grid-row: 2/3;
  }
  .sec-childcare .form {
    grid-column: 2/3;
    grid-row: 2/3;
  }
  .sec-childcare .dl-childcare {
    padding: 0.5em;
  }
}
@media screen and (max-width: 768px) {
  .sec-childcare.is-layout-grid {
    display: flex;
    flex-direction: column;
    padding: 15px;
  }
  .sec-childcare:after {
    height: calc(100% + 4em);
    top: -2em;
    left: 50%;
    transform: translate(-50%, 0);
  }
}

/* ==============
//法隆寺学苑
================ */
.sec-related {
  width: 100%;
  aspect-ratio: 2200/1162;
  background-size: 10px 10px;
  background-image: repeating-linear-gradient(-45deg, #ffffff 0, #ffffff 4px, rgba(255, 233, 167, 0.5411764706) 0, rgba(255, 233, 167, 0.5411764706) 50%);
}
.sec-related .sec-title img {
  margin: auto;
}
.sec-related .facility-name {
  font-family: "Kosugi Maru", sans-serif;
  font-size: clamp(15px, 1.756097561vw, 36px);
  line-height: 1.3;
  color: #333333;
}
.sec-related .facility-name span {
  font-size: clamp(11px, 1.3658536585vw, 28px);
}
.sec-related .facility-name.cec img {
  width: 80.4635761589%;
}
.sec-related .facility-name.minami img {
  width: 55.4635761589%;
}
@media screen and (min-width: 769px) {
  .sec-related.is-layout-grid {
    padding-inline: 15.2272727273%;
    padding-block: 4.3181818182%;
    gap: 4.3636363636%;
  }
}
@media screen and (max-width: 768px) {
  .sec-related {
    /*
    .sec-title {
      order: 1;
    }
    .facility-photo.minami {
      order: 2;
    }
    .facility-name.minami {
      order: 3;
    }
    .facility-link.minami {
      order: 4;
    }
    .facility-photo.cec {
      margin-top: 3em;
      order: 5;
    }
    .facility-name.cec {
      order: 6;
    }
    .facility-link.cec {
      order: 7;
    } */
  }
  .sec-related.is-layout-grid {
    padding-inline: 2.6666666667%;
    padding-block: 5.3333333333%;
    gap: 3% 6.6666666667%;
  }
}

/* ==============
//recruit
================ */
@media screen and (min-width: 769px) {
  .sec-recruit img {
    width: 80.1818181818%;
    margin: auto;
  }
}

/* ==============
//hagumed
================ */
@media screen and (min-width: 769px) {
  .sec-hagumed img {
    width: 80.1818181818%;
    margin: auto;
  }
}

.modaal-outer-wrapper {
  max-width: 2460px;
  max-height: 90%;
  width: 80%;
  height: fit-conten;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: auto;
}

.modaal-inner-wrapper {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-align: center;
  padding: 0 !important;
}

.modaal-wrapper {
  overflow: hidden;
}

.modaal-close:before,
.modaal-close:after {
  background: #cfcfcf;
}

@media screen and (max-width: 768px) {
  .modaal-outer-wrapper {
    width: 98%;
  }
}