@charset "UTF-8";

/* ==========  Counselor（相談員紹介）  ========== */

.p-counselor {
  padding: 24px 0 56px;
  background-color: var(--color-bg);
}

.p-counselor__inner {
  width: 100%;
  max-width: calc(var(--inner-width) + 16px * 2);
  margin-inline: auto;
  padding-inline: 16px;
}

/* ----------  見出し  ---------- */

.p-counselor__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--color-primary-deep);
  font-family: var(--font-fv);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.p-counselor__title-line {
  display: inline-block;
  padding-bottom: 0px;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 5px,
    rgba(248, 156, 70, 0.4) 5px,
    rgba(248, 156, 70, 0.4) 8px
  );
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 100% 14px;
  font-size: calc(28px + var(--sp-fs-adjust));
}

/* ----------  写真  ---------- */

.p-counselor__photo {
  margin: 0 auto 28px;
  max-width: 560px;
  text-align: center;
}

.p-counselor__photo img {
  width: 80%;
  height: auto;
  vertical-align: top;
  margin: 0 auto;
}

/* ----------  プロフィール  ---------- */

.p-counselor__profile {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 560px;
  margin: 0 auto 28px;
}

.p-counselor__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.p-counselor__row > .p-counselor__field {
  /* flex: 1 1 calc(50% - 8px); */
  min-width: 0;
}

.p-counselor__row--full > .p-counselor__field {
  flex: 1 1 100%;
}

.p-counselor__field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 2px;
}

.p-counselor__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 4px 14px;
  border-radius: 999px;
  background-color: var(--color-primary-deep);
  color: var(--color-white);
  font-family: var(--font-maru-asr);
  font-size: calc(13px + var(--sp-fs-adjust));
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.p-counselor__value {
  margin: 0;
  color: var(--color-navy);
  font-family: var(--font-maru-asr);
  font-size: calc(14px + var(--sp-fs-adjust));
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* ----------  リード  ---------- */

.p-counselor__lead {
  color: var(--color-navy);
  font-family: var(--font-maru-asr);
  font-size: calc(15px + var(--sp-fs-adjust));
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  text-align: start;
}

/* ==========  PC  ========== */

@media (min-width: 1024px) {
  /* 「介護現場を知る相談員です」が1行に収まるよう、最小限だけ下げる */
  .p-counselor__title-line {
    font-size: calc(26px + var(--sp-fs-adjust));
  }
}
