/* ============================================================
   relyon-voice-single.css – ご成婚者様の声 詳細ページ専用スタイル
   ============================================================ */

body.single-rl_voice {
  --c-accent: #009DE6;
  --c-accent-deep: #00489D;
  --sec-pad: 80px;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  color: #222222;
  background: #fff;
}

.rvs-container {
  box-sizing: border-box;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
}

.rvs-article {
  padding-top: var(--sec-pad);
  padding-bottom: var(--sec-pad);
}

/* ============================================================
   ヘッダー領域（タイトル・メタ・メイン写真）
   ============================================================ */
.rvs-header {
  margin-bottom: 40px;
}

.rvs-title {
  margin: 0 0 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #E0E0E0;
  font-family: 'Zen Old Mincho', 'Yu Mincho', serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
}

.rvs-title__text {
  /* background-clip: text 非対応環境向けのフォールバック色 */
  color: var(--c-accent-deep);
  background: linear-gradient(90deg, var(--c-accent-deep) 0%, var(--c-accent) 100%);
}

.rvs-meta {
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rvs-meta__person,
.rvs-meta__result {
  margin: 0;
  font-size: 16px;
  color: #222;
}

.rvs-meta__icon {
  vertical-align: middle;
  margin-right: 4px;
}

.rvs-photo {
  margin: 0;
}

.rvs-photo img {
  display: block;
  width: 100%;
  height: auto;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .rvs-title__text {
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

/* ============================================================
   Q&Aブロック
   ============================================================ */
.rvs-qa-list,
.rvs-content {
  margin-top: 56px;
}

.rvs-qa {
  margin-bottom: 24px;
}

.rvs-qa:last-child {
  margin-bottom: 0;
}

.rvs-qa__heading,
.rvs-content h2 {
  position: relative;
  margin: 40px 0 16px;
  padding-left: 22px;
  font-family: 'Zen Old Mincho', 'Yu Mincho', serif;
  font-weight: 400;
  font-size: 20px;
  color: #222;
  line-height: 1.5;
}

.rvs-content > h2:first-child {
  margin-top: 0;
}

.rvs-qa__heading::before,
.rvs-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-accent);
}

.rvs-qa__question,
.rvs-content h3 {
  margin: 24px 0 20px;
  padding: 8px 16px;
  background: #F3F9FE;
  border-radius: 10px;
  font-family: 'Hina Mincho', 'Yu Mincho', serif;
  font-weight: 400;
  font-size: 18px;
  color: #0064B5;
  line-height: 1.6;
}

.rvs-qa__body,
.rvs-content p {
  margin: 0 0 16px;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  font-size: 16px;
  color: #222;
  line-height: 1.7;
}

.rvs-content p:last-child {
  margin-bottom: 0;
}

.rvs-divider,
.rvs-content hr {
  border: 0;
  border-top: 1px solid #E0E0E0;
  margin: 40px 0;
}

/* ============================================================
   担当者よりメッセージ
   ============================================================ */
.rvs-counselor {
  margin-top: 72px;
}

.rvs-counselor__title {
  margin: 0 0 32px;
  text-align: center;
  font-family: 'Zen Old Mincho', 'Yu Mincho', serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.5;
  /* background-clip: text 非対応環境向けのフォールバック色 */
  color: var(--c-accent-deep);
  background: linear-gradient(90deg, var(--c-accent-deep) 0%, var(--c-accent) 100%);
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .rvs-counselor__title {
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.rvs-counselor__body {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 40px;
  align-items: start;
}

.rvs-counselor__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rvs-counselor__message {
  margin: 0;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  font-size: 16px;
  color: #222;
  line-height: 1.7;
}

.rvs-counselor__closing {
  margin: 0;
  font-family: 'Zen Old Mincho', 'Yu Mincho', serif;
  font-weight: 400;
  font-size: 20px;
  color: #222;
  line-height: 1.5;
}

.rvs-counselor__profile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.rvs-counselor__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0 0 16px;
  object-fit: cover;
}

.rvs-counselor__role {
  margin: 0;
  font-family: 'Zen Old Mincho', 'Yu Mincho', serif;
  font-weight: 400;
  font-size: 16px;
  color: #222;
  text-align: left;
}

.rvs-counselor__hr {
  width: 100%;
  border: 0;
  border-top: 1px solid #E0E0E0;
  margin: 8px 0;
}

.rvs-counselor__names {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  color: #222;
}

.rvs-counselor__name-jp {
  display: inline-block;
  font-family: 'Zen Old Mincho', 'Yu Mincho', serif;
  font-size: 20px;
}

.rvs-counselor__name-jp::first-letter {
  color: var(--c-accent);
}

.rvs-counselor__name-en {
  display: inline-block;
  font-family: 'Baskerville', 'Baskerville Old Face', 'Libre Baskerville', serif;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.rvs-counselor__name-en::first-letter {
  color: var(--c-accent);
}

/* ============================================================
   一覧に戻るボタン
   ============================================================ */
.rvs-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 72px;
}

.rvs-back {
  position: relative;
  display: flex;
  width: 250px;
  align-items: center;
  justify-content: center;
  padding: 10px 10px;
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, var(--c-accent-deep), var(--c-accent)) border-box;
  border: 1px solid transparent;
  border-radius: 999px;
  line-height: 1.9;
  text-decoration: none;
}

.rvs-back__text {
  font-family: 'Zen Old Mincho', 'Yu Mincho', serif;
  font-size: 14px;
  letter-spacing: .04em;
  /* background-clip: text 非対応環境向けのフォールバック色 */
  color: var(--c-accent-deep);
  background: linear-gradient(90deg, var(--c-accent-deep) 0%, var(--c-accent) 100%);
}

.rvs-back__arrow {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, var(--c-accent-deep), var(--c-accent)) border-box;
  border: 1px solid transparent;
  border-radius: 50%;
  font-size: 14px;
  color: var(--c-accent);
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .rvs-back__text {
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1180px) {
  .rvs-container {
    width: 90%;
    max-width: 90%;
    padding: 0;
  }
}

@media (max-width: 840px) {
  body.single-rl_voice {
    --sec-pad: 56px;
  }

  .rvs-counselor__body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rvs-counselor__profile {
    order: -1;
    align-items: center;
  }

  .rvs-counselor__photo {
    max-width: 200px;
    margin-inline: auto;
  }

  .rvs-counselor__role {
    text-align: center;
    width: 100%;
    max-width: 200px;
  }

  .rvs-counselor__names {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    max-width: 200px;
    text-align: center;
  }
}

@media (max-width: 540px) {
  body.single-rl_voice {
    --sec-pad: 40px;
  }

  .rvs-title {
    font-size: 18px;
  }

  .rvs-qa__heading,
  .rvs-content h2 {
    font-size: 18px;
  }

  .rvs-qa__question,
  .rvs-content h3 {
    font-size: 16px;
  }

  .rvs-meta__person,
  .rvs-meta__result,
  .rvs-qa__body,
  .rvs-content p,
  .rvs-counselor__message {
    font-size: 14px;
  }

  .rvs-back {
    box-sizing: border-box;
    width: 100%;
  }

  .rvs-actions {
    margin-top: 40px;
  }
}
