/*
// about.css for page /about/
*/

.about__kv{
  background: url(/wp-content/uploads/2025/06/ヘッダー写真.jpg) no-repeat center center/cover;
}

.about__introduction__description{
  font-size:2.4rem;
  letter-spacing: 0.1em;
  line-height: 1.75;
  margin: 0 auto 2em;
  text-align: center;
}

.about__introduction__description .text--blue{
  color: var(--color-blue);
  font-weight: 700;
}

.about__introduction__image{
  margin: auto;
  width: 64rem;
}


.about__strangth__item{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 4rem;
}

.about__strangth__item__image{
  height: 40rem;
  width: 40rem;
}

.about__strangth__item__description{
  text-align: justify;
  width: 56rem;
}

.about__strangth__item__description__text{
  line-height: 1.85;
  margin: 0 0 2em;
}

.about__strangth__item__description__text:last-child{
  margin: 0;
}

.about__strangth__item__description__heading{
  font-size:2rem;
  font-weight: 700;
}

.about__strangth__footnote{
  color: var(--color-blue);
  font-size:2rem;
  font-weight: 700;
  margin-top: 4rem;
  text-align: center;
}


.about__service__item{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.about__service__item__list{
  width: 64rem;
}

.about__service__image{
  height: 40rem;
  width: 40rem;
}

.krm-profile {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 12rem 12rem 4rem;
  background-color: #f9f7f1;
  background-image: url("https://krmryugaku.com/wp-content/uploads/2025/06/bg_paper_x.png");
 background-repeat: repeat;
background-size: 1022px 83px;
  font-family: "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
	margin: 0 -4rem;
}

.krm-profile__photo {
  flex: 0 0 auto;
  text-align: center;
}

.krm-profile__photo img {
  max-width: 220px !important;
  height: auto;
  border-radius: 4px;
}

.krm-profile__name {
  margin-top: 20px;
  font-size: 20px;
  font-weight: bold;
}

.krm-profile__text {
  background: #fff;
  border-radius: 65px;
  padding: 30px;
  line-height: 2;
  font-size: 20px;
  color: #5b5142;
  max-width: 700px;
}
@media (max-width: 768px) {
  .krm-profile {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-size: cover; /* 背景画像を幅に合わせて伸縮 */
    background-repeat: no-repeat;
  }

  .krm-profile__photo img {
    max-width: 150px;
  }

  .krm-profile__name {
    font-size: 18px;
  }

  .krm-profile__text {
  border-radius: 35px;
    max-width: 100%;
    font-size: 16px;
    padding: 20px;
  }
}
.common-section {
    padding: 0 0 !important;
}
/*
// SP layout
*/

@media screen and (max-width: 767px) {
  .about__kv{
    background: url(/wp-content/uploads/2025/06/ヘッダー写真.jpg) no-repeat center center/cover;
  }

  .about__introduction__description{
    font-size:3.2rem;
    letter-spacing: 0;
  }

  .about__introduction__image{
    margin: auto;
    width: 100%;
  }
  
  .about__strangth__item{
    flex-direction: column;
  }

  .about__strangth__item__image{
    height: 59rem;
    width: 59rem;
  }

  .about__strangth__item__description{
    font-size: 2.8rem;
    line-height: 1.85;
    width: 100%;
  }

  .about__strangth__item__description__text{
    margin: 0 0 0.5em;
  }

  .about__strangth__item__description__heading{
    font-size:4rem;
    line-height: 1.35;
    margin-top: 0.5em;
  }

  .about__strangth__footnote{
    font-size:4rem;
    margin-top: 0.5em;
    padding: 0 4rem;
    text-align: left;
  }
          
  .about__service__item{
    flex-direction: column-reverse;
  }

  .about__service__item__list{
    width: 67rem;
  }

  .about__service__image{
    height: 59rem;
    margin: 0 auto 2.5rem;
    width: 59rem;
  }
}