@charset "utf-8";

/* to_parent.css
-------------------------------------- */
.page_ttl_area {
  border-bottom: none;
}

.page_ttl_area h1 {
  max-width: 1000px;
  margin: 0 auto;
}

@media all and (max-width: 767px) {
  .page_ttl_area {
    padding: 0;
  }
}

/* 保護者の方へ */
._message {
  width: 100%;
  padding: 80px 0 100px;
  background-color: #fff;
  background-image: radial-gradient(var(--main-color) 12%, transparent 13%);
  background-size: 10px 10px;
  background-position: 0 0;
}

._message .content_area_s {
  padding: 60px 50px;
  margin: 0 auto;
  background-color: #fff;
  box-sizing: border-box;
}

._message .content_area_s h2 {
  padding: 0 0 10px;
  background-color: #fff;
  border-bottom: 2px solid var(--main-color);
  color: #000;
  font-size: 3.6rem;
  text-align: center;
  box-sizing: content-box;
}

._message .content_area_s h2:before,
._message .content_area_s h2:after {
  content: none;
}

._message .content_area_s p {
  font-size: 1.6rem;
  text-align: center;
}

@media all and (max-width: 767px) {
  ._message {
    padding: 50px 0;
  }

  ._message .content_area_s {
    padding: 20px 20px 30px;
  }

  ._message .content_area_s h2 {
    font-size: 2.3rem;
  }

  ._message .content_area_s p {
    font-size: 1.4rem;
    text-align: left;
  }
}

/* 学校について */
.about_school.content_area_s {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 0px;
  box-sizing: border-box;
}

.about_school h2 {
  margin: 0 0 40px;
}

.about_school > p {
  text-align: center;
}

.about_school ._about_ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px 8%;
  padding-top: 90px;
}

.about_school ._about_ul ._list {
  width: 28%;
  border: 2px solid var(--main-color);
  background-color: #fff7b9;
  box-sizing: border-box;
}

.about_school ._about_ul ._list a {
  display: block;
}

.about_school ._about_ul ._list img {
  display: block;
  width: 60%;
  padding: 20px 0;
  margin: 0 auto;
}

.about_school ._about_ul ._list p {
  padding: 5px 0;
  background-color: var(--main-color);
  color: #fff;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
}

@media all and (max-width: 767px) {
  .about_school.content_area_s {
    padding: 40px 0;
  }

  .about_school > p {
    font-size: 1.4rem;
  }

  .about_school ._about_ul {
    gap: 25px;
    padding-top: 40px;
  }

  .about_school ._about_ul ._list {
    width: calc((100% - 25px) / 2);
  }

  .about_school ._about_ul ._list p {
    font-size: 1.6rem;
  }
}

._dotted {
  display: block;
  width: 100%;
  padding: 90px 0 0px;
  background-color: #fff;
  background-image: radial-gradient(var(--main-color) 12%, transparent 13%);
  background-size: 10px 10px;
  background-position: 0 0;
}

@media all and (max-width: 767px) {
  ._dotted {
    padding: 50px 0 0;
  }
}

/* voice */

.oc_voice {
  padding: 112px 0 62px;
  margin-bottom: 70px;
}

.oc_voice_innter {
  max-width: 992px;
  width: 90%;
  margin: 0 auto;
  position: relative;
}

.oc_voice_list {
  width: 90%;
  max-width: 814px;
  margin: 0 auto;
}
.oc_voice_innter ul {
  margin: 0 auto 25px;
  border: solid 1px var(--main-color);
  background-color: #fff;
  border-radius: 8px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  filter: drop-shadow(0px 5px 4px rgba(0, 0, 0, 0.1));
}
.oc_voice_innter ul:last-child {
  margin: 0 auto 0;
}
.oc_voice_innter ul .aicon {
  width: 14%;
}
.oc_voice_innter ul .txt {
  width: 82%;
}
.oc_voice_innter ul .txt p {
  font-size: 15px;
}
.oc_voice_innter ul .txt p.name {
  font-size: 13px;
  margin-top: 8px;
}

@media all and (max-width: 767px) {
  .oc_voice {
    padding: 60px 0 40px;
    margin-bottom: 50px;
  }
  .oc_voice_innter {
    padding: 50px 0 40px;
  }
  .oc_voice_innter > figure {
    width: 60%;
  }
  .oc_voice_innter ul {
    margin: 0 auto 15px;
    padding: 25px 18px;
    flex-direction: column;
  }
  .oc_voice_innter ul .aicon {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }

  .oc_voice_innter ul .aicon figure {
    width: 86px;
  }
  .oc_voice_innter ul .aicon .name {
    width: calc(100% - 100px);
    font-size: 13px;
  }

  .oc_voice_innter ul .txt {
    width: 100%;
  }
}

/* いつでも学校見学・進路相談 */
._wellcome {
  margin: 80px auto 90px;
}

._wellcome h3 {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
}

._wellcome ._banner-link {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 37% 63%;
  max-width: 814px;
  margin: 50px auto 0;
  border: 3px solid #f9ce0d;
}

._wellcome ._banner-link picture {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

._wellcome ._banner-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

._wellcome ._banner-link dl {
  padding: 20px 1.8em;
  background-color: #fff;
  background-image: radial-gradient(
    rgba(247, 205, 17, 0.7) 12%,
    transparent 13%
  );
  background-size: 10px 10px;
  background-position: 0 0;
}

._wellcome ._banner-link dt {
  margin-bottom: 0.5em;
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
}

._wellcome ._banner-link dt span {
  display: inline-block;
  padding: 0 1em;
  border-bottom: 2px solid #f9ce0d;
}

._wellcome ._banner-link dd {
  font-size: 1.6rem;
  text-align: left;
}

._wellcome ._banner-link ._more {
  grid-column: 1/3;
  padding: 0.3em 1.5em;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  background-color: #f9ce0d;
}

._wellcome ._banner-link ._icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  padding-left: 0.5em;
  position: relative;
}

._wellcome ._banner-link ._icon::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-color: transparent #000 #000 transparent;
  border-width: 2px;
  border-style: solid;
  position: absolute;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media all and (max-width: 767px) {
  ._wellcome {
    margin: 40px auto 90px;
  }

  ._wellcome h3 {
    font-size: 2rem;
  }

  ._wellcome ._banner-link {
    grid-template-columns: 100%;
  }

  ._wellcome ._banner-link dl {
    padding: 20px 1em;
  }

  ._wellcome ._banner-link dt {
    margin-bottom: 1em;
    font-size: 1.8rem;
  }

  ._wellcome ._banner-link dd {
    font-size: 1.4rem;
  }

  ._wellcome ._banner-link ._more {
    grid-column: 1/2;
    padding: 0.3em 1.5em;
    font-size: 1.6rem;
  }

  ._wellcome ._banner-link ._icon::before {
    width: 4px;
    height: 4px;
    top: 60%;
  }
}
