@charset "UTF-8";
/*=======================================
5つの強み
=========================================*/
.curriculum-2nd img {
  width: auto !important;
}

.p-headmaster {
  background: url(../img/pet/headmaster/kv_bg1.png?20250526) no-repeat center top;
  background-size: 100% auto !important;
}

.p-headmaster__kv {
  /*background: url(../img/pet/headmaster/kv_bg1.svg?20250526) no-repeat center top;*/
  /*background-size: 100% 211px;*/
  text-align: center;
  padding-top: 60px;
  margin-bottom: 80px;
}

.p-headmaster__content {
  margin-bottom: 100px;
}

.p-headmaster__content:last-child {
  margin-bottom: 0;
}

.p-headmaster__content .heading {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 50px;
  position: relative;
}

.p-headmaster__content .heading:before {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100px;
  border-top: 2px solid #917001;
}

.p-headmaster__content .heading .i {
  margin-bottom: 15px;
  text-align: center;
}

.p-headmaster__content .heading h3 {
  margin-bottom: 15px;
}

.p-headmaster__content .heading .l {
  font-size: 18px;
  font-size: 1.8rem;
  line-height: 1.5;
  font-weight: 700;
}

.p-headmaster__content.c2 .content ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.p-headmaster__content.c2 .content li {
  width: 24%;
}

.p-headmaster__content.c2 .content li:last-child {
  width: 20%;
}

.p-headmaster__content.c2 .content h4 {
  font-weight: 700;
  font-size: 20px;
  font-size: 2rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.p-headmaster__content.c2 .content p {
  font-size: 15px;
  font-size: 1.5rem;
  line-height: 1.6;
}

.p-headmaster__content.c2 .content .img1 {
  margin-top: 10px;
}

.p-headmaster__content.c2 .content .img1 img {
  border-radius: 100%;
}

.p-headmaster__content.c3 .content .lead {
  text-align: center;
  margin-bottom: 50px;
}

.p-headmaster__content.c3 .content ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.p-headmaster__content.c3 .content li {
  width: 23.8%;
  margin-left: 1.6%;
}

.p-headmaster__content.c3 .content li:nth-child(4n+1) {
  margin-left: 0;
}

.p-headmaster__content.c3 .content h4 {
  font-weight: 500;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.5;
  margin-top: 10px;
  text-align: center;
}

.p-headmaster__content.c3 .content .img1 img {
  width: 100%;
  border-radius: 10px;
}

.p-headmaster__content.c4 .content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
      -ms-flex-align: end;
          align-items: flex-end;
}

.p-headmaster__content.c5 .heading .l strong {
  background: #F08300;
  color: #fff;
  border-radius: 5px;
  padding: 2px 8px 1px;
  margin-left: 4px;
  margin-right: 4px;
}

.p-headmaster__content.c5 .heading .l span {
  font-size: 22px;
  font-size: 2.2rem;
  color: #F08300;
}

.p-headmaster__content.c5 .content {
  margin-bottom: 40px;
}

.p-headmaster__content.c5 .content ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justfy-content: space-between;
}

.p-headmaster__content.c5 .content li {
  width: 18%;
  margin-left: 2%;
  text-align: center;
}

.p-headmaster__content.c5 .content li:nt-child(5n+1) {
  margin-left: 0;
}

.p-headmaster__content.c5 .content .no {
  background: #FEECD2;
  color: #F08300;
  border: 1px solid #917001;
  border-radius: 5px;
  font-weight: 700;
  line-height: 1.5;
  padding: 5px;
  margin-bottom: 10px;
  font-size: 18px;
  font-size: 1.8rem;
}

.p-headmaster__content.c5 .content h4 {
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.6;
}

.p-headmaster__content.c5 .content h4 strong {
  color: #F08300;
}

/* ----------------------------- スマホ（～767px） */
@media screen and (max-width: 767px) {
  .p-headmaster {
    position: relative;
    margin-left: -3.2%;
    margin-right: -3.2%;
  }
  .p-headmaster__kv {
    padding-left: 20px;
    padding-right: 20px;
    background-size: 100% 100px;
    padding-top: 50px;
    margin-bottom: 50px;
  }
  .p-headmaster__content {
    margin-bottom: 80px;
  }
  .p-headmaster__content .heading {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
  .p-headmaster__content .heading:before {
    width: 60px;
  }
  .p-headmaster__content .heading .i img {
    width: 80px;
  }
  .p-headmaster__content .heading h3 img {
    max-height: 25px;
    width: auto;
  }
  .p-headmaster__content .heading .l {
    font-size: 16px;
    font-size: 1.6rem;
    text-align: center;
  }
  .p-headmaster__content .heading .l.sp-small {
    font-size: 14px;
    font-size: 1.4rem;
  }
  .p-headmaster__content.c2 .content ul {
    display: block;
  }
  .p-headmaster__content.c2 .content li {
    width: auto;
    margin-bottom: 40px;
    text-align: center;
  }
  .p-headmaster__content.c2 .content li:last-child {
    margin-bottom: 0;
    width: auto;
  }
  .p-headmaster__content.c2 .content h4 {
    font-size: 17px;
    font-size: 1.7rem;
  }
  .p-headmaster__content.c2 .content p {
    font-size: 14px;
    font-size: 1.4rem;
  }
  .p-headmaster__content.c3 .content .lead {
    margin-bottom: 30px;
  }
  .p-headmaster__content.c3 .content .lead img {
    width: 250px;
  }
  .p-headmaster__content.c3 .content ul {
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
  .p-headmaster__content.c3 .content li {
    width: 48%;
    margin-bottom: 30px;
    margin-left: 4%;
  }
  .p-headmaster__content.c3 .content li:nth-child(2n+1) {
    margin-left: 0;
  }
  .p-headmaster__content.c3 .content h4 {
    font-size: 12px;
    font-size: 1.2rem;
  }
  .p-headmaster__content.c4 .content {
    display: block;
    text-align: center;
  }
  .p-headmaster__content.c4 .content .txt1 {
    margin-bottom: 20px;
  }
  .p-headmaster__content.c5 .heading .l strong {
    display: inline-block;
    vertical-align: middle;
  }
  .p-headmaster__content.c5 .content ul {
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
  .p-headmaster__content.c5 .content li {
    width: 48%;
    margin-left: 4%;
    margin-bottom: 40px;
  }
  .p-headmaster__content.c5 .content li:nth-child(2n+1) {
    margin-left: 0;
  }
  .p-headmaster__content.c5 .content h4 {
    font-size: 15px;
    font-size: 1.5rem;
  }
}