@charset "UTF-8";

/*====================
profile
====================*/
.profile {
  padding: 80px 0;
}

.container--profile {
  display: flex;
  flex-direction: column;
  gap: 40px min(5.6%, 56px);
}

.profile__txt p {
  text-align: justify;
}

/*====================
skill
====================*/
.skill {
  padding: 80px 0;
  background-color: var(--bg-color-pink);
}

.skill li{
  display: flex;
  flex-direction: column;
}

.skill li + li {
  border-top: 1px dashed var(--main-color-pink);
  margin-top: 64px;
  padding-top: 64px;
}

.skill__img {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  width: min(100%, 304px);
  margin: 0 auto;
}

.skill__img figure {
  max-width: 98px;
  text-align: center;
}

.skill__img img {
  width: 80px;
}

.skill__img figcaption {
  margin-top: 8px;
}

.skill__txt {
  margin-top: 24px;
  text-align: justify;
}

.skill__detail {
  margin-top: 24px;
  background-color: var(--color-rightpink);
  padding: 8px 16px;
  border-radius: 8px;
}

.skill__detail p {
  font-size: 1.4rem;
}

/*====================
strength
====================*/
.strength {
  padding: 80px 0;
}

.strength ul {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
      
.strength li {
  min-width: 286px;
  padding: 24px 4.7%;
  background-color: var(--bg-color-pink);
  border: 1px solid var(--main-color-pink);
  border-radius: 8px;
}

.strength h3 {
  text-align: center;
  margin-bottom: 20px;
}

.strength h3::after {
  margin: 12px auto;
}

.strength h3 span {
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--main-color-pink);
  gap: 0.8em;
  margin-bottom: 0.2em;
}

.strength h3 span::before,
.strength h3 span::after {
  content: '';
  display: block;
  width: 1px;
  height: 18px;
  background-color: var(--main-color-pink);
  border-radius: 1px;
}

.strength h3 span::before {
  transform: rotate(-30deg);
}

.strength h3 span::after {
  transform: rotate(30deg);
}

.strength p {
  text-align: justify;
}




/*  PC 
============================================= */
@media screen and (min-width: 769px) {
  /*====================
  profile pc
  ====================*/
  .profile {
    padding-bottom: 120px;
  }
  .container--profile {
    flex-direction: row;
    align-items: center;
  }

  .profile__txt,
  .profile figure {
    flex: 1;
  }

  /*====================
  skill pc
  ====================*/
  .skill {
      padding: 120px 0;
  }

  .skill li {
    display: grid;
    gap: 0 48px;
  }
      
  .skill li:nth-of-type(2n-1) {
    grid-template-columns: auto max(40%, 342px);
    grid-template-rows: repeat(3, auto);
  }

  .skill li:nth-of-type(2n-1) .skill__img {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
  }

  .skill li:nth-of-type(2n) {
    grid-template-columns: max(40%, 342px) auto;
    grid-template-rows: repeat(3, auto);
  }

  .skill li:nth-of-type(2n) .skill__img {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: center;
  }

  .skill__txt {
    margin-top: 0;
  }

  /*====================
  strength pc
  ====================*/
  .strength {
    padding: 120px 0;
  }

  .strength ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px min(4%, 40px)
  }

  .strength li {
    width: calc((100% - 48px * 2) / 3);
    padding: 24px 16px;
  }

}