@charset "utf-8";

.profile-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 50px 20px 80px;
}

.page-title {
  font-size: 40px;
  color: #9B89E3;
  text-align: center;
  letter-spacing: 4px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  position: relative;
}

.page-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #9b89e3;
  border-radius: 2px;
}

.page-subtitle {
  text-align: center;
  color: #696969;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 40px;
}

.profile-card {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  background-color: #f8f6fc;
  padding: 35px 40px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgb(155,137,227,0.15);
}

.profile-info {
  flex: 1 1 350px;
}

.profile-name {
  font-size: 24px;
  color: #333333;
  margin-bottom: 10px;
}

.profile-text {
  font-size: 15px;
  line-height: 26px;
  color: #444444;
  margin-bottom: 24px;
}

.profile-detail {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px 16px;
  padding-top: 18px;
  border-top: 1px solid #e6e0f2;
  font-size: 14px;
  line-height: 24px;
}

.profile-detail dt {
  font-weight: bold;
  color: #7c6ba8;
}

.profile-detail dd {
  margin: 0;
  color: #444444
}

.profile-icon {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  margin: 0 auto;
  display: block;
  mix-blend-mode: multiply;
}

.link-button-area {
  text-align: center;
  margin-top: 70px;
}

.link-button {
  background-color: #9B7FB6;
  display: inline-block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
}

.link-button:hover {
  background-color: #A997C6;
}

@media (max-width: 650px) {
  .profile-cotainer {
    padding-top: 40px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 60px;
  }

  .profile-card {
    padding-top: 30px;
    padding-right: 24px;
    padding-left: 24px;
    padding-bottom: 30px;
    gap: 20px
  }

  .profile-info {
    flex-basis: 100%;
  }

  .profile-name,
  .profile-text {
    text-align: center;
  }

  .profile-detail {
    text-align: left;
  }
}