@charset "utf-8";

/*======================================
profile
========================================*/

.profile__wrapper h2 {
    margin-top: 80px;
    text-align: center;
    padding-left: 0;
}
.about__profile p {
    line-height: unset;
}
.about__profile h4 {
    margin-block: 40px;
    text-align: left;
    font-size: 1.6rem;
}
.about__profile h4 span {
    padding-left: 15px;
    font-size: 1.3rem;
    color: #878787;
    letter-spacing: 0.6rem;
}
.about__profile p {
    margin-block: 10px;
    text-align: left;
    font-size: 1.4rem;
    line-height: 2;
}
@media screen and (min-width: 768px) {
    .profile__wrapper h2 {
        margin-top: 120px; 
    }
    .about__profile h4 {
        margin-top: 60px;
}
}
.about__profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }
  
  .profile__inner {
    width: 90%;
    max-width: 800px;
  }
  
  .about__profile img {
    width: 80%;
    max-width: 400px;
    height: auto;
  }
  
  /* 1200px以上で横並びに変更 */
  @media screen and (min-width: 1200px) {
    .about__profile {
      flex-direction: row; /* 横並びにする */
      justify-content: center;
      align-items: flex-start;
      text-align: left;
    }
  
    .profile__inner {
      width: 50%;
    }
  
    .about__profile img {
      width: 40%;
    }
  }
  
/*======================================
9peaces
========================================*/

.peaces h5 {
    margin-block: 60px;
    font-size: 2rem;
    color: #70AAD7;
    text-align: center;
}
.peaces__img {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 20px;
    max-width: 335px;
    margin: 20px auto;
}
.peaces__img img {
    width: 30%;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.profile__inner p {
    margin-bottom: 40px;
}
@media screen and (min-width: 768px) {
    .profile__inner {
        margin-block: auto;
        max-width: 536px;
    }
    .about__profile {
        text-align: center;
    }
    .about__profile img {
        max-width: 499px;
        max-height: 699px;
    }
    .about__profile h4 {
        font-size: 1.8rem;
    }
    .about__profile p {
        font-size: 1.6rem;
    }
    .peaces__img {
        max-width: 990px;
        padding-inline: 30px;
    }
   
}
@media screen and (min-width: 1200px) {
    .about__profile {
        display: flex;
        flex-direction: row;
        gap: 50px;
        padding-inline: 34px;
        justify-content: space-evenly;
    }
    .profile__wrapper h2 {
        text-align: left;
        padding-left: 168px;
    }
}