/* ========================================
   About - 工房紹介
======================================== */

.about-story {
  padding-right: 100px;
  padding-left: 100px;
}

.about-story__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.about-story__photo img,
.about-story__pair img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story__photo {
  aspect-ratio: 7 / 10;
}

.about-story__pair {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  aspect-ratio: 7 / 10;
}

.about-story__text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  text-align: left;
}

.about-story__text-inner {
  width: 100%;
  max-width: 520px;
}

.about-story__text h2 {
  margin-bottom: 40px;
}

.about-story__text p:not(:last-child) {
  margin-bottom: 0.5em;
}


/* ========================================
   TB
======================================== */

@media screen and (min-width: 768px) and (max-width: 1299px) {

  .about-story {
    padding-right: 40px;
    padding-left: 40px;
  }

  .about-story__text h2 {
    margin-bottom: 30px;
  }

}


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

@media screen and (max-width: 767px) {

  .about-story {
    padding-right: 25px;
    padding-left: 25px;
  }

  .about-story__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-story__text {
    padding: 60px 30px;
  }

  .about-story__text h2 {
    margin-bottom: 30px;
  }

  .about-story__photo--reverse {
    grid-row: 7;
  }

  .about-story__text--reverse {
    grid-row: 8;
  }

}

/* ========================================
   About - Profile
======================================== */

.about-profile {
  padding: 0 0px 150px;
}

.about-profile__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 220px;
}

.about-profile__person {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 900px);
  column-gap: 100px;
  align-items: start;
}

.about-profile__person + .about-profile__person {
  margin-top: 100px;
  padding-top: 100px;
  border-top: 1px solid #ddd;
}

.about-profile__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.about-profile__name h3 {
  margin-bottom: 10px;
}

.about-profile__position {
  margin-top: 5px;
}

.about-profile__bio {
  margin-top: 50px;
}

.about-profile__history {
  margin-top: 50px;
}

.about-profile__history-label {
  display: inline-block;
  padding: 4px 15px;
  border: 1px solid #222;
  border-radius: 5px;
  margin-bottom: 20px;
}

.about-profile__table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.about-profile__table th,
.about-profile__table td {
  padding: 10px 15px;
  border-bottom: 1px solid #aaa;
  font-weight: 400;
  vertical-align: top;
}

.about-profile__table th:first-child,
.about-profile__table td:first-child {
  width: 100px;
  padding-left: 0;
  border-right: 1px solid #aaa;
}


/* ========================================
   TB
======================================== */

@media screen and (min-width: 768px) and (max-width: 1299px) {

  .about-profile {
    padding: 0 40px 100px;
  }

  .about-profile__inner {
    padding-top: 80px;
  }

  .about-profile__person {
    grid-template-columns: 25% minmax(0, 1fr);
    column-gap: 40px;
  }

  .about-profile__bio,
  .about-profile__history {
    margin-top: 40px;
  }

  .about-profile__person + .about-profile__person {
    margin-top: 70px;
    padding-top: 70px;
  }

}


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

@media screen and (max-width: 767px) {

  .about-profile {
    padding: 0 25px 80px;
  }

  .about-profile__inner {
    padding-top: 50px;
  }

  .about-profile__person {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 30px;
  }

  .about-profile__photo {
  width: 50vw;
  max-width: 300px;
  margin: 0 auto;
}

.about-profile__name,
.about-profile__position {
  text-align: center;
}

  .about-profile__bio,
  .about-profile__history {
    margin-top: 35px;
  }

  .about-profile__person + .about-profile__person {
    margin-top: 60px;
    padding-top: 60px;
  }

  .about-profile__table th:first-child,
  .about-profile__table td:first-child {
    width: 65px;
  }

  .about-profile__table th,
  .about-profile__table td {
    padding: 10px;
  }

}