
@charset "utf-8";

/* =====================================================
   伊東園ホテルズ リファラル採用（紹介採用）被紹介者向けLP
   プレフィックス: rfc-
   ※紹介者向けの報酬情報は掲載しない（応募者目線）
===================================================== */

:root {
  --rfc-navy:    #1a2f52;
  --rfc-navy2:   #25406c;
  --rfc-gold:    #c8922a;
  --rfc-gold2:   #e8b84b;
  --rfc-gold-lt: #f5d98a;
  --rfc-teal:    #2f8f83;
  --rfc-bg:      #fbf7f0;
  --rfc-bg2:     #fff9ed;
  --rfc-white:   #ffffff;
  --rfc-text:    #2c2c2c;
  --rfc-text-sm: #555555;
  --rfc-border:  #d9cfb6;
  --rfc-max-w:   1040px;
  --rfc-gutter:  7%;
}

*, *::before, *::after { box-sizing: border-box; }

/* ── ラッパー ── */
.rfc-inner {
  max-width: var(--rfc-max-w);
  margin: 0 auto;
  padding: 0 var(--rfc-gutter);
}
.rfc-section { padding: 72px 0; }
.rfc-section--bg { background: var(--rfc-bg); }
.rfc-section--bg2 { background: var(--rfc-bg2); }

@media (max-width: 767px) {
  .rfc-section { padding: 46px 0; }
}

/* ── 見出し共通 ── */
.rfc-section-title {
  font-size: clamp(1.3rem, 3vw, 1.95rem);
  font-weight: 900;
  color: var(--rfc-navy);
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.03em;
  margin-bottom: 0.5em;
}
.rfc-section-lead {
  text-align: center;
  font-size: 1rem;
  color: var(--rfc-text-sm);
  line-height: 1.9;
  margin-bottom: 2.4em;
}
.rfc-section-lead strong { color: var(--rfc-navy); }

.rfc-ornament {
  text-align: center;
  color: var(--rfc-gold);
  font-size: 1.1rem;
  letter-spacing: 0.5em;
  margin-bottom: 0.8em;
}

.rfc-mt-md { margin-top: 2em; }
.rfc-mt-lg { margin-top: 3em; }

/* ── ボタン ── */
.rfc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.95em 2.2em;
  line-height: 1.3;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  text-align: center;
}
.rfc-btn:hover { transform: translateY(-2px); }
.rfc-btn--gold {
  background: linear-gradient(135deg, var(--rfc-gold2), var(--rfc-gold));
  color: #3a2b06;
  box-shadow: 0 8px 20px rgba(200,146,42,.35);
}
.rfc-btn--navy {
  background: var(--rfc-navy);
  color: #fff;
  box-shadow: 0 8px 20px rgba(26,47,82,.28);
}
.rfc-btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
}
.rfc-btn--outline:hover { background: rgba(255,255,255,.12); }
.rfc-btn--lg { font-size: 1.1rem; padding: 1.1em 2.6em; }

/* =====================================================
   HERO
===================================================== */
.rfc-hero {
  position: relative;
  background:
    radial-gradient(circle at 80% 15%, rgba(232,184,75,.20), transparent 45%),
    linear-gradient(160deg, var(--rfc-navy) 0%, var(--rfc-navy2) 55%, #16263f 100%);
  color: #fff;
  padding: clamp(64px, 9vw, 120px) 0 clamp(64px, 9vw, 110px);
  min-height: min(78vh, 620px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.rfc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(16,32,55,.55) 0%, rgba(16,32,55,.35) 45%, rgba(16,32,55,.70) 100%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.rfc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}
.rfc-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.rfc-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--rfc-gutter);
  text-align: center;
}

.rfc-hero__page-title {
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 900;
  color: var(--rfc-gold-lt);
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
  margin-bottom: 0.1em;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.rfc-hero__eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--rfc-white);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  padding: 0.45em 1.3em;
  margin-bottom: 2em;
}
.rfc-hero__title {
  font-size: clamp(1.7rem, 5.2vw, 3rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 0.7em;
}
.rfc-hero__title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--rfc-gold2), var(--rfc-gold-lt));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rfc-hero__sub {
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  line-height: 1.9;
  color: rgba(255,255,255,.88);
  margin-bottom: 2em;
}
.rfc-hero__badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--rfc-gold2), var(--rfc-gold));
  color: #3a2b06;
  font-weight: 800;
  font-size: 0.92rem;
  border-radius: 999px;
  padding: 0.55em 1.5em;
  margin-bottom: 2em;
  box-shadow: 0 6px 16px rgba(200,146,42,.35);
}
.rfc-hero__cta-wrap {
  display: flex;
  gap: 1em;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================
   つながる採用で応募するメリット（被紹介者目線）
===================================================== */
.rfc-merit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4em;
  margin-top: 1em;
}
.rfc-merit {
  background: var(--rfc-white);
  border: 1px solid var(--rfc-border);
  border-radius: 16px;
  padding: 2em 1.6em;
  text-align: center;
  box-shadow: 0 6px 18px rgba(26,47,82,.06);
}
.rfc-merit__icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 0.5em;
}
.rfc-merit__num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--rfc-gold);
  margin-bottom: 0.5em;
}
.rfc-merit__title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--rfc-navy);
  line-height: 1.5;
  margin-bottom: 0.6em;
}
.rfc-merit__body {
  font-size: 0.92rem;
  color: var(--rfc-text-sm);
  line-height: 1.85;
  text-align: left;
}

/* =====================================================
   入社祝金（被紹介者への支給のみ）
===================================================== */
.rfc-gift {
  background: linear-gradient(160deg, #fffdf7, #fff4dd);
  border: 2px solid var(--rfc-gold);
  border-radius: 20px;
  padding: 2.4em 1.8em;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.4em;
  box-shadow: 0 10px 26px rgba(200,146,42,.15);
}
.rfc-gift__label {
  font-size: 1rem;
  font-weight: 800;
  color: var(--rfc-navy);
  margin-bottom: 0.3em;
}
.rfc-gift__num {
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  font-weight: 900;
  color: var(--rfc-gold);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.rfc-gift__num small { font-size: 0.4em; font-weight: 800; }
.rfc-gift__note {
  font-size: 0.86rem;
  color: var(--rfc-text-sm);
  margin-top: 0.6em;
  line-height: 1.7;
}

.rfc-scroll-hint {
  text-align: right;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rfc-text-sm);
  margin-bottom: 0.5em;
}
.view_sp { display: none; }
@media (max-width: 767px) {
  .view_sp { display: block; }
  .view_pc { display: none; }
}

.rfc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rfc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 460px;
  background: var(--rfc-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(26,47,82,.06);
}
.rfc-table caption {
  text-align: left;
  font-weight: 800;
  color: var(--rfc-navy);
  padding: 0.2em 0 0.8em;
}
.rfc-table th, .rfc-table td {
  padding: 0.95em 1em;
  border-bottom: 1px solid #ede4cf;
  text-align: center;
  font-size: 0.95rem;
}
.rfc-table thead th {
  background: var(--rfc-navy);
  color: #fff;
  font-weight: 700;
}
.rfc-table thead th.col-gift {
  background: linear-gradient(135deg, var(--rfc-gold2), var(--rfc-gold));
  color: #3a2b06;
}
.rfc-table tbody th {
  text-align: left;
  font-weight: 700;
  color: var(--rfc-navy);
  background: #fbf7ec;
}
.rfc-table .cell-gift {
  font-weight: 900;
  color: var(--rfc-gold);
  background: #fffaf0;
}
.rfc-table tr:last-child th,
.rfc-table tr:last-child td { border-bottom: none; }

.rfc-note {
  list-style: none;
  margin: 1.2em 0 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--rfc-text-sm);
  line-height: 1.8;
}
.rfc-note li { margin-bottom: 0.2em; }

/* =====================================================
   対象地域
===================================================== */
.rfc-region {
  background: var(--rfc-white);
  border: 1px dashed var(--rfc-gold);
  border-radius: 16px;
  padding: 1.8em;
  max-width: 720px;
  margin: 2.4em auto 0;
  text-align: center;
}
.rfc-region__title {
  font-weight: 800;
  color: var(--rfc-navy);
  font-size: 1.05rem;
  margin-bottom: 0.9em;
}
.rfc-region__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7em;
  justify-content: center;
  padding: 0;
  margin: 0 0 1em;
}
.rfc-region__list li {
  background: var(--rfc-navy);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.45em 1.4em;
  font-size: 0.95rem;
}
.rfc-region__note {
  font-size: 0.85rem;
  color: var(--rfc-text-sm);
  line-height: 1.8;
}

/* =====================================================
   職種紹介
===================================================== */
.rfc-jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2em;
  margin-top: 1em;
}
.rfc-job {
  background: var(--rfc-white);
  border: 1px solid var(--rfc-border);
  border-radius: 14px;
  padding: 1.6em 1.5em;
  border-left: 5px solid var(--rfc-gold);
}
.rfc-job__title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--rfc-navy);
  margin-bottom: 0.5em;
}
.rfc-job__body {
  font-size: 0.9rem;
  color: var(--rfc-text-sm);
  line-height: 1.85;
}
.rfc-jobs-other-text {
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--rfc-text-sm);
  margin-top: 1.5em;
}

/* =====================================================
   応募の流れ
===================================================== */
.rfc-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
  margin-top: 1em;
}
.rfc-flow__step {
  position: relative;
  background: var(--rfc-white);
  border: 1px solid var(--rfc-border);
  border-radius: 14px;
  padding: 1.8em 1.2em 1.4em;
  text-align: center;
}
.rfc-flow__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rfc-gold2), var(--rfc-gold));
  color: #3a2b06;
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8em;
}
.rfc-flow__title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--rfc-navy);
  line-height: 1.5;
  margin-bottom: 0.5em;
}
.rfc-flow__body {
  font-size: 0.86rem;
  color: var(--rfc-text-sm);
  line-height: 1.8;
}
.rfc-flow__step strong { color: var(--rfc-gold); }

.rfc-callout {
  background: #fff6e2;
  border: 1px solid var(--rfc-gold);
  border-radius: 14px;
  padding: 1.4em 1.6em;
  margin-top: 2em;
  font-size: 0.92rem;
  color: var(--rfc-text);
  line-height: 1.9;
}
.rfc-callout strong { color: var(--rfc-navy); }

/* =====================================================
   支給条件・キャンペーン注記
===================================================== */
.rfc-cond {
  background: var(--rfc-white);
  border: 1px solid var(--rfc-border);
  border-radius: 14px;
  padding: 1.5em 1.7em;
  margin-bottom: 1em;
}
.rfc-cond__title {
  font-weight: 800;
  color: var(--rfc-navy);
  font-size: 1rem;
  margin-bottom: 0.4em;
}
.rfc-cond__body {
  font-size: 0.92rem;
  color: var(--rfc-text-sm);
  line-height: 1.85;
}
.rfc-cond__body strong { color: var(--rfc-navy); }

.rfc-campaign-box {
  background: #ffffff;
  border: 2px solid var(--rfc-gold);
  border-radius: 12px;
  padding: 1.8em;
  margin-top: 2.5em;
  box-shadow: 0 4px 16px rgba(200,146,42,0.15);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.8;
  color: var(--rfc-text);
  text-align: center;
}

/* =====================================================
   FAQ
===================================================== */
.rfc-faq { max-width: 780px; margin: 0 auto; }
.rfc-faq__item {
  background: var(--rfc-white);
  border: 1px solid var(--rfc-border);
  border-radius: 12px;
  margin-bottom: 0.9em;
  overflow: hidden;
}
.rfc-faq__q {
  width: 100%;
 text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--rfc-navy);
  padding: 1.15em 3em 1.15em 3em;
  position: relative;
  line-height: 1.6;
  font-family: inherit;
}
.rfc-faq__q::before {
  content: "Q";
  position: absolute;
  left: 1.1em;
  color: var(--rfc-gold);
  font-weight: 900;
}
.rfc-faq__q::after {
  content: "＋";
  position: absolute;
  right: 1.1em;
  color: var(--rfc-gold);
  transition: transform .25s ease;
}
.rfc-faq__q[aria-expanded="true"]::after { content: "−"; }
.rfc-faq__a {
  padding: 0 1.4em 1.3em 3em;
  font-size: 0.92rem;
  color: var(--rfc-text-sm);
  line-height: 1.9;
}

/* =====================================================
   最終CTA
===================================================== */
.rfc-final {
  background:
    radial-gradient(circle at 20% 20%, rgba(232,184,75,.18), transparent 45%),
    linear-gradient(160deg, var(--rfc-navy), #16263f);
  color: #fff;
  text-align: center;
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 6px solid var(--rfc-gold);
}
.rfc-final__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--rfc-gutter);
}
.rfc-final__title {
  font-size: clamp(1.5rem, 4.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 0.7em;
}
.rfc-final__body {
  font-size: 1rem;
  line-height: 2;
  color: rgba(255,255,255,.9);
  margin-bottom: 2em;
}
.rfc-final__note {
  font-size: 0.82rem;
  color: rgba(255,255,255,.6);
  margin-top: 1.6em;
  line-height: 1.8;
}

/* =====================================================
   レスポンシブ
===================================================== */
@media (max-width: 900px) {
  .rfc-merit-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .rfc-flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .rfc-jobs-grid { grid-template-columns: 1fr; }
  .rfc-flow { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .rfc-hero__cta-wrap { flex-direction: column; align-items: stretch; }
  .rfc-btn { width: 100%; }
  .rfc-final__btns .rfc-btn { width: 100%; }
}

/* =====================================================
   漫画で分かる紹介採用（新規追加スタイル）
===================================================== */
.rfc-manga-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.rfc-manga-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rfc-manga-card__title {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 900;
  color: var(--rfc-navy);
  text-align: center;
  line-height: 1.4;
  margin-bottom: 1.2rem;
  padding: 0.5em 1.5em;
  background: var(--rfc-white);
  border: 1px solid var(--rfc-border);
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(26,47,82,.04);
}

.rfc-manga-card__img {
  margin: 0;
  width: 100%;
  max-width: 460px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(26,47,82,.12);
  border: 1px solid var(--rfc-border);
  background: var(--rfc-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rfc-manga-card__img:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(26,47,82,.18);
}

.rfc-manga-card__img img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .rfc-manga-grid {
    gap: 1.8rem;
  }
}

@media (max-width: 767px) {
  .rfc-manga-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
  .rfc-manga-card__img {
    max-width: 100%;
  }
}

/* =====================================================
   支配人候補・調理部門の1日の流れ（タイムスケジュールUI）
===================================================== */
.rfc-schedule {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.rfc-schedule-main-title {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 900;
  color: var(--rfc-navy);
  text-align: center;
  margin-bottom: 0.3em;
}

.rfc-schedule-main-lead {
  font-size: 0.95rem;
  color: var(--rfc-text-sm);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.rfc-schedule__container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.rfc-schedule__block {
  background: var(--rfc-white);
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(26,47,82,0.05);
  border: 1px solid var(--rfc-border);
}

@media (max-width: 767px) {
  .rfc-schedule__block { padding: 25px 20px; }
}

.rfc-schedule__subtitle {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--rfc-navy);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rfc-schedule__subtitle::before {
  content: '';
  width: 4px;
  height: 1.25em;
  background: var(--rfc-gold);
  border-radius: 2px;
  display: inline-block;
}

.rfc-schedule__content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 960px) {
  .rfc-schedule__content {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

/* タイムライン */
.rfc-timeline {
  list-style: none;
  padding: 0 0 0 24px;
  margin: 0;
  border-left: 2px solid var(--rfc-border);
}

.rfc-timeline__item {
  position: relative;
  padding-bottom: 20px;
}
.rfc-timeline__item:last-child {
  padding-bottom: 0;
}

.rfc-timeline__item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rfc-white);
  border: 2px solid var(--rfc-navy);
  z-index: 2;
}

.rfc-timeline__item.rfc-is-break::before {
  border-color: var(--rfc-gold);
  background: var(--rfc-gold);
}

.rfc-timeline__item.rfc-is-leave::before {
  border-color: var(--rfc-teal);
  background: var(--rfc-teal);
}

.rfc-timeline__time {
  display: inline-block;
  font-weight: 900;
  color: var(--rfc-navy);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.rfc-timeline__item.rfc-is-break .rfc-timeline__time {
  color: var(--rfc-gold);
}
.rfc-timeline__item.rfc-is-leave .rfc-timeline__time {
  color: var(--rfc-teal);
}

.rfc-timeline__text {
  display: block;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--rfc-text);
}

/* ★ 箇条書き用のスタイルを明示的に指定 */
.rfc-timeline__sublist {
  margin: 6px 0 0;
  padding-left: 1.2em;
  list-style-type: disc;
  color: #777; /* 見やすくするためにグレーに設定 */
  font-size: 0.9rem; /* テキストと同じサイズに統一 */
  line-height: 1.6;
}

.rfc-timeline__sublist li {
  margin-bottom: 4px;
}

.rfc-timeline__sublist li:last-child {
  margin-bottom: 0;
}

.rfc-timeline__sublist strong {
  color: var(--rfc-navy); /* タイトル部分をネイビーにしてメリハリをつける */
  font-weight: 700;
}

/* 画像ギャラリー */
.rfc-schedule__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (max-width: 960px) and (min-width: 768px) {
  .rfc-schedule__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.rfc-schedule__img-box {
  margin: 0;
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  background: var(--rfc-bg);
}
@media (max-width: 1200px) { .rfc-schedule__img-box { height: 170px; } }
@media (max-width: 960px) { .rfc-schedule__img-box { height: 250px; } }
@media (max-width: 480px) { .rfc-schedule__img-box { height: 180px; } }

.rfc-schedule__img-box img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.rfc-schedule__img-box:hover img {
  transform: scale(1.03);
}
/* =====================================================
   つながる採用制度で入社する5つのメリット
===================================================== */
.rfc-merit5-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3em;
  margin-top: 1em;
}
/* 5枚目は中央寄せで全幅の半分に */
.rfc-merit5:last-child {
  grid-column: 1 / -1;
  max-width: calc(50% - 0.65em);
  margin: 0 auto;
  width: 100%;
}

.rfc-merit5 {
  position: relative;
  background: var(--rfc-white);
  border: 1px solid var(--rfc-border);
  border-radius: 16px;
  padding: 1.8em 1.6em 1.6em;
  box-shadow: 0 6px 18px rgba(26,47,82,.06);
}
.rfc-merit5--gold {
  background: linear-gradient(160deg, #fffdf7, #fff4dd);
  border: 2px solid var(--rfc-gold);
  box-shadow: 0 10px 26px rgba(200,146,42,.15);
}

.rfc-merit5__head {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 0.8em;
}
.rfc-merit5__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rfc-gold2), var(--rfc-gold));
  color: #3a2b06;
  font-weight: 900;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.rfc-merit5__icon {
  font-size: 1.7rem;
  line-height: 1;
}

/* ★ 修正箇所：タイトルとタグの縦位置ズレを解消するためFlexboxを導入 */
.rfc-merit5__title {
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--rfc-navy);
  line-height: 1.4;
  margin-bottom: 0.5em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3em 0.6em;
}

.rfc-merit5__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--rfc-gold);
  border: 1px solid var(--rfc-gold);
  border-radius: 999px;
  padding: 0.2em 0.8em;
  white-space: nowrap;
  line-height: 1.2;
}

.rfc-merit5__body {
  font-size: 0.92rem;
  color: var(--rfc-text-sm);
  line-height: 1.85;
}
.rfc-merit5__body small {
  font-size: 0.82em;
  color: var(--rfc-text-sm);
}

/* お祝い金の金額表示 */
.rfc-merit5__amounts {
  margin-top: 0.9em;
  display: grid;
  gap: 0.5em;
}
.rfc-merit5__amount {
  background: var(--rfc-white);
  border: 1px dashed var(--rfc-gold);
  border-radius: 10px;
  padding: 0.6em 1em;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rfc-text);
  display: flex;
  align-items: center;
  gap: 0.6em;
  flex-wrap: wrap;
}
.rfc-merit5__amount em {
  font-style: normal;
  font-weight: 900;
  color: var(--rfc-gold);
  font-size: 1.1em;
}
.rfc-merit5__amount-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rfc-navy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.25em 1em;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .rfc-merit5-grid { grid-template-columns: 1fr; }
  .rfc-merit5:last-child { max-width: none; }
  /* flexbox設定のため、以前の margin 上書き指定は削除しています */
}

/* =====================================================
   共通パーツ（お問い合わせエリア）の微調整
===================================================== */
.rfc-contact-txt {
  margin-bottom: 1.5em !important;
}

/* ボタン幅をコンパクトに固定（中央縦線との重なり・接近を改善） */
.p-contact .rfc-contact-btn {
  max-width: 260px !important;
  width: 100% !important;
}

/* 左側コンテンツの右側に十分な余白を設定して縦線との距離を広げる */
.p-contact__container__contents {
  padding-right: 45px !important;
}

@media (max-width: 767px) {
  .p-contact__container__contents {
    padding-right: 0 !important;
  }
  .p-contact .rfc-contact-btn {
    max-width: 100% !important;
  }
}
