/* =========================
   recruit single
========================= */
.recruit-single {
 font-family: 'Zen Maru Gothic', sans-serif;
  margin: 100px 0 0 0;
  padding: 60px 20px 100px;
}

.recruit-single__inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================
   上部プロフィール
========================= */
.recruit-profile {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 50px;
}

.recruit-profile__media {
  width: 100%;
}

.recruit-profile__image {
  background: #fff;
  border: 2px solid #f4c9d6;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(214, 155, 176, 0.15);
}

.recruit-profile__image img {
  display: block;
  width: 100%;
  height: auto;
}

.recruit-profile__meta {
  background: #fff;
  border: 2px solid #f4c9d6;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(214, 155, 176, 0.12);
}

.recruit-profile__title {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.3;
  font-weight: 700;
  color: #4f4a4b;
}

/* カテゴリ */
.recruit-profile__category {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.recruit-category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8d9e4;
  color: #7d5966;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #efbfd0;
}

/* =========================
   表風一覧（ここが重要）
========================= */
.recruit-profile__list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #f1d8e1;
}

.recruit-profile__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid #f1d8e1;
  align-items: stretch; /* ←追加（高さ揃える） */
}

.recruit-profile__row dt {
  margin: 0;
  padding: 20px 22px;
  background: #fff5f8;
  color: #7a6670;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  border-right: 1px solid #f1d8e1;
  box-sizing: border-box;

  display: flex;          /* ←追加 */
  align-items: center;    /* ←追加 */
}

.recruit-profile__row dd {
  margin: 0;
  padding: 20px 22px;
  color: #4f4a4b;
  font-size: 18px;
	font-weight: 500;
  line-height: 1.9;
  background: #fff;
  word-break: break-word;
  box-sizing: border-box;

  white-space: normal; /* ←追加 */
}

/* 改行の見え方調整 */
.recruit-profile__row dd br {
  display: block;
  margin-bottom: 6px;
}

/* =========================
   応募ボタンエリア
========================= */
.recruit-apply-area {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 36px 20px 10px;
}

/* =========================
   応募ボタン
========================= */
.recruit-apply-button {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 250px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  background: transparent;
  font-size: 1em;
}

.recruit-apply-button::before {
  position: absolute;
  top: 7px;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border: 2px solid #000;
  border-radius: inherit;
  box-sizing: border-box;
  box-shadow: 0 5px 0 0 rgba(0, 0, 0, .2);
  background-color: #584162;
  content: '';
}

.recruit-apply-button > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: .9em 2em;
  border: 2px solid #000;
  border-radius: inherit;
  background-color: #C7EBEE;
  color: #000;
  font-weight: 600;
  line-height: 1.5;
  box-sizing: border-box;
}

.recruit-apply-button > span::after {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 10px;
  transform: rotate(45deg);
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  content: '';
}

.recruit-apply-button:hover::before {
  transition: box-shadow .2s;
  box-shadow: 0 3px 0 0 rgba(0, 0, 0, .2);
}

.recruit-apply-button:hover > span {
  transition: transform .2s;
  transform: translateY(2px);
}

/* =========================
   タブレット以下
========================= */
@media (max-width: 1024px) {
  .recruit-profile {
    grid-template-columns: 1fr;
  }
}

/* =========================
   スマホ
========================= */
@media (max-width: 767px) {
  .recruit-single {
    padding: 50px 16px 70px;
  }

  .recruit-profile {
    gap: 24px;
    margin-bottom: 30px;
  }

  .recruit-profile__meta {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .recruit-profile__title {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .recruit-profile__row {
    grid-template-columns: 1fr;
  }

  .recruit-profile__row dt {
    border-right: none;
    border-bottom: 1px solid #f1d8e1;
    padding: 14px 16px;
    font-size: 14px;
  }

  .recruit-profile__row dd {
    padding: 16px;
    font-size: 14px;
    line-height: 1.8;
  }

  .recruit-apply-area {
    padding: 24px 16px 4px;
  }

  .recruit-apply-button {
    width: 100%;
    max-width: 280px;
  }
}