/*
 * Marriage Vision — プロフィールページCSS
 */

/* =========================
ごあいさつ
========================= */

.p-profile-greeting__content {
  max-width: 800px;
  margin-left: auto;
  padding: clamp(2.5rem, 4vw, 4.5rem) clamp(1rem, 4vw, 4.5rem);
}

.p-profile-greeting .c-section-title {
  margin-bottom: clamp(1.5rem, 2vw, 2.5rem);
}

.p-profile-greeting__body p {
  margin-bottom: 1.4rem;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: var(--c-text);
}

.p-profile-greeting__body p:last-child {
  margin-bottom: 0;
}

.p-profile-greeting__visual {
  position: relative;
  height: 100%;
}

.p-profile-greeting__visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(20%, 140px);
  height: 100%;
  background: linear-gradient(90deg, #f7f3ef 0%, rgba(247, 243, 239, 0) 100%);
  pointer-events: none;
}

.p-profile-greeting__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 991.98px) {
  .p-profile-greeting__content {
    max-width: none;
    margin-right: auto;
  }

  .p-profile-greeting__img {
    min-height: 360px;
  }
}

@media (max-width: 767.98px) {
  .p-profile-greeting__content {
    padding: 1.25rem;
  }

  .p-profile-greeting .c-section-title {
    margin-bottom: 1.25rem;
  }

  .p-profile-greeting__body p {
    margin-bottom: 1.1rem;
    line-height: 1.8;
  }

  .p-profile-greeting__visual {
    margin-top: 2rem;
  }

  .p-profile-greeting__visual::before {
    display: none;
  }

  .p-profile-greeting__img {
    min-height: 280px;
  }
}

/* =========================
プロフィール詳細
========================= */

.p-profile-detail {
  background: #fff;
}

.p-profile-detail__block + .p-profile-detail__block {
  margin-top: clamp(2rem, 1.2rem + 2vw, 3.25rem);
}

.p-profile-detail .c-section-title {
  margin-bottom: 0.5rem;
}

@media (max-width: 767.98px) {
  .p-profile-detail {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .p-profile-detail__block + .p-profile-detail__block {
    margin-top: 2.25rem;
  }
}
