@charset "UTF-8";

/* --------------
     profile
--------------*/
.page-profile {
  padding: 0 2.8rem;
}

.profile-section {
  margin: 3.5rem 0 0;
  background:
    url("../../img/contents-bg.png") repeat,
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3), transparent 30%);
  border-radius: 0.4rem;
  padding: 6rem 4rem;
  width: 100%;
}

.profile-wrap {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 4.8rem;
  margin-bottom: 4rem;
}

.profile-kv {
  flex-shrink: 0;
}

.profile-kv img {
  display: block;
  max-width: 24rem;
  width: 100%;
}

.profile-block {
  flex-shrink: 1;
}

.profile-name {
  font-size: 2.4rem;
  line-height: 1.4;
}

.profile-intro {
  margin-top: 2.4rem;
}

.profile-border {
  margin-top: 2.4rem;
  height: 0.1rem;
  width: 100%;
  display: block;
  object-fit: cover;
}

.profile-biography__wrap {
  display: flex;
  flex-flow: column;
  gap: 3.2rem;
  margin-top: 4rem;
}

.profile-biography {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  row-gap: 3.2rem;
  column-gap: 1.6rem;
  margin: 0 auto;
}

.profile-biography dt,
.profile-biography dd {
  margin: 0;
}

.profile-biography dt {
  white-space: nowrap;
}

.profile-biography dd {
  min-width: 0;
}

.profile-message__inner {
  margin: 10rem auto;
  width: fit-content;
  text-align: left;
  display: flex;
  flex-flow: column;
  gap: 4rem;
}

.profile-message__block {
  display: flex;
  flex-flow: column;
  gap: 3.2rem;
}

.profile-message__link {
  display: block;
  width: fit-content;
  margin: 2.4rem auto 0;
}

@media (max-width: 768px) {
  .profile-section {
    padding: 6rem 2.8rem;
  }

  .profile-wrap {
    flex-direction: column;
    gap: 4.8rem;
  }

  .profile-intro {
    margin-top: 1.6rem;
  }

  .profile-kv img {
    max-width: 100%;
  }

  .profile-name.contents-title {
    font-size: 1.8rem;
  }

  .profile-name .profile-border {
    display: none;
  }

  .profile-biography {
    grid-template-columns: 1fr;
    row-gap: 0.4rem;
  }

  .profile-biography dd {
    margin-bottom: 1.6rem;
  }

  .profile-biography dd:last-child {
    margin-bottom: 0;
  }

  .profile-message .block__border {
    display: block;
  }

  .profile-message__inner {
    margin: 8rem 0;
    gap: 3.2rem;
  }
}