/* =========================
   入社実績 詳細ページ
   キャラクター世界観寄せ版
========================= */

:root {
  --rs-card: #ffffff;
  --rs-border: #f4cfda;
  --rs-shadow: 0 8px 24px rgba(222, 170, 190, 0.14);
  --rs-title: #c97a97;
  --rs-text: #4f4a4d;
  --rs-sub: #7a6d73;
  --rs-line: #f3dfe6;
  --rs-accent: #f8b7cb;
  --rs-accent2: #bfe9f4;
}

/* 全体 */
.recruit-single {
  font-family: 'Zen Maru Gothic', sans-serif;
  position: relative;
  padding: 120px 20px 96px; /* ヘッダー分しっかり確保 */
  background: var(--rs-bg);
  overflow: hidden;
}

/* 背景にほんのり模様 */
.recruit-single::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.45) 0 2px, transparent 2px) 0 0 / 26px 26px,
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.28) 0 1.5px, transparent 1.5px) 0 0 / 34px 34px;
  opacity: 0.45;
  pointer-events: none;
}

.recruit-single__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

/* 上部プロフィールカード */
.recruit-profile {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--rs-card);
  border: 2px solid var(--rs-border);
  border-radius: 28px;
  padding: 32px;
  box-sizing: border-box;
  box-shadow: var(--rs-shadow);
  margin-bottom: 40px;
  position: relative;
}

/* カードにやわらかい飾り */
.recruit-profile::before,
.recruit-profile::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.recruit-profile::before {
  width: 110px;
  height: 110px;
  background: rgba(248, 183, 203, 0.16);
  top: -20px;
  right: 26px;
  filter: blur(2px);
}

.recruit-profile::after {
  width: 70px;
  height: 70px;
  background: rgba(191, 233, 244, 0.18);
  bottom: 24px;
  right: 140px;
}

/* 左画像 */
.recruit-profile__media {
  width: 100%;
}

.recruit-profile__image {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #fffdfd 0%, #fff7fa 100%);
  border: 2px solid #f8dce5;
  padding: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7);
}

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

/* 右情報 */
.recruit-profile__meta {
  width: 100%;
  position: relative;
  z-index: 1;
}

.recruit-profile__title {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.35;
  font-weight: 700;
  color: var(--rs-title);
  margin: 0 0 24px;
  letter-spacing: 0.03em;
  text-shadow:
    2px 2px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff;
}

/* 情報一覧 */
.recruit-profile__list {
  margin: 0;
  padding: 0;
}

.recruit-profile__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px dashed var(--rs-line);
}

.recruit-profile__row:first-child {
  border-top: 1px dashed var(--rs-line);
}

.recruit-profile__row dt {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--rs-sub);
  letter-spacing: 0.02em;
}

.recruit-profile__row dd {
  margin: 0;
  font-size: 18px;
  line-height: 1.9;
  color: var(--rs-text);
  font-weight: 500;
}

/* 本文カード */
.recruit-single__content {
  position: relative;
  z-index: 1;
  background: var(--rs-card);
  border: 2px solid var(--rs-border);
  border-radius: 28px;
  padding: 42px 38px;
  box-sizing: border-box;
  box-shadow: var(--rs-shadow);
}

.recruit-single__content h2,
.recruit-single__content h3,
.recruit-single__content h4 {
  color: var(--rs-title);
  line-height: 1.5;
  margin-top: 0;
}

.recruit-single__content p {
  font-size: 16px;
  line-height: 2.1;
  color: var(--rs-text);
  margin: 0 0 1.5em;
}

.recruit-single__content p:last-child {
  margin-bottom: 0;
}

.recruit-single__content ul,
.recruit-single__content ol {
  padding-left: 1.4em;
  margin: 0 0 1.5em;
}

.recruit-single__content li {
  line-height: 2;
  color: var(--rs-text);
}

/* 引用 */
.recruit-single__content blockquote {
  margin: 2em 0;
  padding: 1.2em 1.4em;
  background: #fff7fa;
  border: 2px solid #f6d7e1;
  border-radius: 18px;
  color: var(--rs-sub);
}

/* 画像が本文に入る場合 */
.recruit-single__content img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

/* タブレット */
@media (max-width: 1024px) {
  .recruit-single {
    padding: 104px 20px 80px;
  }

  .recruit-profile {
    grid-template-columns: 320px 1fr;
    gap: 28px;
    padding: 26px;
    border-radius: 24px;
  }

  .recruit-profile__row {
    grid-template-columns: 110px 1fr;
    gap: 14px;
  }

  .recruit-single__content {
    padding: 32px 28px;
    border-radius: 24px;
  }
}

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

  .recruit-profile {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
    border-radius: 20px;
    margin-bottom: 28px;
  }

  .recruit-profile::before {
    width: 70px;
    height: 70px;
    top: -10px;
    right: 18px;
  }

  .recruit-profile::after {
    width: 46px;
    height: 46px;
    bottom: 16px;
    right: 78px;
  }

  .recruit-profile__image {
    border-radius: 18px;
    padding: 10px;
  }

  .recruit-profile__image img {
    border-radius: 14px;
  }

  .recruit-profile__title {
    font-size: 28px;
    margin-bottom: 16px;
    text-align: center;
  }

  .recruit-profile__row {
    grid-template-columns: 86px 1fr;
    gap: 10px;
    padding: 11px 0;
  }

  .recruit-profile__row dt,
  .recruit-profile__row dd {
    font-size: 15px;
  }

  .recruit-single__content {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .recruit-single__content p,
  .recruit-single__content li {
    font-size: 15px;
    line-height: 2;
  }
}