@charset "UTF-8";

/* ===============================================
    提携スクール
    ※ 共通レイアウトは新CMS共通CSSを使用
=============================================== */
.p-school .l-main__content {
  text-align: left;
}

.p-school__content {
  width: 100%;
}

.p-school__section {
  margin: 0 0 60px;
}

.p-school__image img {
  display: block;
  width: 100%;
  height: auto;
}

.p-school__desc,
.p-school__text {
  margin: 15px 0 0; 
}

.p-school .c-link__itemLink:hover {
  text-decoration: none;
}


/* ===============================================
    見出しの装飾
=============================================== */

.p-school__title {
  position: relative;
  color: #0089d4;
  font-size: 24px;
  padding: 50px 0 40px 0;
  text-align: center;
  margin-bottom: 30px;
}

.p-school__title::before,
.p-school__title::after {
  content: "";
  display: inline-block;
  width: 34px;
  height: 34px;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.p-school__title::before{
  top: 0;
  background-image: url(../img/school/pen.svg)
}

.p-school__title::after{
  bottom: 0;
  background-image: url(../img/school/dot.svg)
}

/* ===============================================
    ナビ群
=============================================== */
.p-school__naviList {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    margin: 40px 0;
}

.p-school__naviListItem {
    width: auto;
    list-style: none;
    padding: 0 0 30px 30px;
    box-sizing: border-box;
    text-align: left;
}

.p-school__naviLink {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #0089d4;;
    text-decoration: none;
}

.p-school__naviLink:hover {
    color: #0089d4;
    text-decoration: none;
}

.p-school__naviIcon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}


.p-school__naviLink span {
  font-size: 14px;
}


/* ===============================================
    カード
=============================================== */
.p-school__card {
  border: 1px solid #000;
  margin: 0px 0 20px 0;
  border-bottom: 1px solid #707070;
}

.p-school__cardTitle {
  margin: 0;
  padding: 8px 14px;
  color: #fff;
  background-color: #0089d4;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.p-school__cardBody {
  padding: 15px;
}

.p-school__cardTop {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.p-school__logoArea {
  width: 40%;
  margin: 0px 17px 0 0;
}

.p-school__logoArea img {
  margin: auto;
}

.p-school__siteLink span {
  position: relative;
  padding: 0 0 0 20px;
  color: #0089d4;
}

.p-school__siteLink > span::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("../img/school/allow-down.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 90%;
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg) translateX(0) translateY(0);
}

.p-school__cardText {
  width: 60%;

  font-size: 14px;
}

.p-school__benefit {
  padding: 15px 10px;
  background-color: #edf7ff;
  border: solid 1px #0089d4;
}

.p-school__benefitTitle,
.p-school__contactTitle {
  color: #0089d4;
  font-weight: 700;
  font-size: 16px;
}

.p-school__benefitTitle {
  margin: 0px 0 3px 0
}

.p-school__benefitText,
.p-school__contactText {
  font-size: 14px;
}

.p-school__contactTitle {
  margin-bottom: 15px;
}

.p-school__contact {
  margin: 20px 0;
}

.p-school__contactText a,
.p-school__cardText a {
  color: #0089d4;
  text-decoration: underline;
}

.p-school__telLabel {
  margin-top: 15px;
}

.p-school__tel {
  padding: 0 0 0 40px;
  font-size: 23px;
}

.p-school__tel > a {
  color: #333333;
  position: relative;
  font-size: 23px;
}

.p-school__tel > a::before {
  position: absolute;
  top: 63%;
  left: -32px;
  width: 45px;
  height: 40px;
  background-image: url("../img/school/tel.svg");
  content: "";
  transform: translateY(-50%);
}

.p-school__subBlockTitle  {
  color: #0089d4;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 16px;
}

/* ===============================================
    SP
=============================================== */

@media screen and (max-width: 768px) {
  .p-school__naviList,
  .p-school__cardTop {
    display: block;
  }

  .p-school__logoArea {
    width: 100%;
    padding: 10px;
    margin: 0 auto;
  }

  .p-school__cardText {
    width: 100%;
  }

  .p-school__siteLink {
    margin: 10px 10px 15px 10px;
    display: inline-block;
  }
}