@charset "UTF-8";
/* =========================================================
   リファラル採用ページ専用CSS
   ・サイト共通CSS（reset / pc / sp / module）の後に読み込みます
   ・クラス名はすべて「rf-」で始まり、共通CSSと干渉しないようにしています
   ========================================================= */

:root {
  --rf-accent: #ff5033;      /* ENTRYボタン・アイコン */
  --rf-text: #222;
  --rf-sub: #555;
  --rf-line: #c9c9c9;
  --rf-jobs-bg: #e1eef7;
  --rf-box-bg: #fafafa;
  --rf-header-h: 72px;
  --rf-en: "Lato", "Noto Sans JP", sans-serif;
}

/* ---------- 共通CSSの上書き（このページのみ） ---------- */
body.rf-body {
  padding-top: var(--rf-header-h);
  padding-bottom: 0;
  color: var(--rf-text);
}
.rf-main p { color: var(--rf-text); }
.rf-main h1, .rf-main h2, .rf-main h3 { line-height: 1.4; }

/* ---------- ヘッダー ---------- */
header.rf-header,
header.rf-header.smlHeader {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--rf-header-h);
  display: block;
  padding: 0;
  background-color: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.rf-header__inner {
  max-width: 1320px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rf-header__brand {
  display: flex;
  align-items: center;
}
.rf-header__logo { display: block; }
.rf-header__logo img {
  width: 150px;
  height: auto;
  display: block;
}
.rf-header__site {
  margin-left: 16px;
  padding-left: 12px;
  border-left: 1px solid #333;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--rf-text);
}

/* ---------- ボタン ---------- */
.rf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--rf-accent);
  color: #fff !important;
  border: 2px solid var(--rf-accent);   /* ホバー時に枠が出てもサイズが変わらないよう、通常時も同色の枠を付けています */
  font-family: var(--rf-en);
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
/* ホバー時：オレンジの枠・白背景・オレンジ文字（矢印も文字色に連動） */
.rf-btn:hover,
.rf-btn:focus-visible {
  background-color: #fff;
  color: var(--rf-accent) !important;
}
.rf-btn__arrow {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  flex-shrink: 0;
}
.rf-btn--sm {
  height: 44px;
  padding: 0 16px;
  font-size: 15px;
}
.rf-btn--lg {
  width: 300px;
  max-width: 100%;
  height: 52px;
  font-size: 16px;
}

/* ---------- レイアウト共通 ---------- */
.rf-sec { padding: 120px 0; }
.rf-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.rf-inner--narrow { max-width: 1000px; }
.rf-inner--wide { max-width: 1320px; }

/* 見出し */
.rf-ttl { margin-bottom: 40px; }
.rf-ttl--center { text-align: center; }
.rf-ttl__en {
  display: block;
  font-family: var(--rf-en);
  font-size: 12px;
  color: var(--rf-sub);
  line-height: 1.4;
  margin-bottom: 8px;
}
.rf-ttl__ja {
  font-size: 40px;
  font-weight: 700;
  color: var(--rf-text);
}

/* ---------- メインビジュアル ---------- */
.rf-mv {
  /* 画像が未設定の間も雰囲気が出るよう、グラデーションを下敷きにしています */
  background-color: #d7f1f3;
  background-image: linear-gradient(120deg, #e8f3fb 0%, #bfeaf0 45%, #f7e6d8 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.rf-mv__inner {
  max-width: 1200px;
  min-height: 390px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.rf-mv__label {
  display: inline-block;
  padding: 4px 18px;
  border: 2px solid #111;
  border-radius: 999px;
  font-size: 20px !important;
  font-weight: 700;
  line-height: 1.4 !important;
  color: #111 !important;
  background: rgba(255, 255, 255, .25);
}
.rf-mv__ttl {
  margin-top: 28px;
  font-family: var(--rf-en);
  font-size: 56px;
  font-weight: 900;
  line-height: 1.2 !important;
  color: #111;
}

/* ---------- リファラル採用とは ---------- */
.rf-about__box {
  background-color: var(--rf-box-bg);
  padding: 8px 0 4px;
}
.rf-about__lead {
  font-size: 28px !important;
  font-weight: 700;
  line-height: 1.5 !important;
  margin-bottom: 24px;
}
.rf-check { max-width: 780px; }
.rf-check li {
  position: relative;
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid #e3e3e3;
  font-size: 15px;
  line-height: 1.6;
}
.rf-check li:last-child { border-bottom: 0; }
.rf-check li::before {            /* 赤い四角 */
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 15px;
  height: 15px;
  border-radius: 2px;
  background-color: var(--rf-accent);
}
.rf-check li::after {             /* 白いチェック */
  content: "";
  position: absolute;
  left: 5px;
  top: 16px;
  width: 5px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

/* ---------- 入社までの流れ ---------- */
.rf-flow { padding-top: 60px; }
.rf-flow__inner {
  display: flex;
  align-items: flex-start;
}
.rf-flow__head {
  width: 408px;
  flex-shrink: 0;
}
.rf-flow__list {
  flex: 1;
  list-style: none;
}
.rf-flow__item {
  position: relative;
  padding: 0 0 48px 56px;
}
.rf-flow__item:last-child { padding-bottom: 0; }
.rf-flow__item::before {          /* 丸アイコン */
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border: 2px solid var(--rf-accent);
  border-radius: 50%;
  background-color: #fff;
}
.rf-flow__item::after {           /* チェック */
  content: "";
  position: absolute;
  left: 11px;
  top: 9px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--rf-accent);
  border-bottom: 2px solid var(--rf-accent);
  transform: rotate(45deg);
}
.rf-flow__ttl::before {           /* 縦線 */
  content: "";
  position: absolute;
  left: 14px;
  top: 34px;
  bottom: 6px;
  width: 1.5px;
  background-color: var(--rf-accent);
}
.rf-flow__ttl {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-top: 1px;
}
.rf-flow__txt {
  font-size: 14px !important;
  line-height: 1.9 !important;
  letter-spacing: .05em;
  color: var(--rf-sub) !important;
}

/* ---------- メリット ---------- */
.rf-merit { padding-top: 60px; }
.rf-merit__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.rf-merit__item { text-align: center; }
.rf-merit__img {
  height: 140px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.rf-merit__img img {
  max-height: 100%;
  width: auto;
}
.rf-merit__img--1 { background-color: #cde68e; }
.rf-merit__img--2 { background-color: #c3e3e8; }
.rf-merit__img--3 { background-color: #f3ec9a; }
.rf-merit__num {
  font-size: 13px !important;
  color: var(--rf-sub) !important;
  margin-bottom: 8px;
}
.rf-merit__txt {
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.7 !important;
}

/* ---------- 募集職種 ---------- */
.rf-jobs {
  background-color: var(--rf-jobs-bg);
  padding: 100px 0;
}
.rf-jobs__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.rf-jobs__item {
  width: 400px;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 30px;
  background-color: #fff;
  border-radius: 14px;
}
.rf-jobs__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #7cc1db;
}
.rf-jobs__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rf-jobs__name {
  font-size: 20px !important;
  font-weight: 700;
  line-height: 1.4 !important;
  margin-bottom: 4px;
}
.rf-jobs__link {
  font-size: 15px;
  text-decoration: underline;
}
.rf-jobs__link:hover { text-decoration: none; }

/* ---------- よくある質問 ---------- */
.rf-faq__list {
  border-top: 0;
}
.rf-faq__item { border-bottom: 1px solid var(--rf-line); }
.rf-faq__q {
  position: relative;
  display: block;
  list-style: none;
  cursor: pointer;
  padding: 24px 56px 20px 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}
.rf-faq__q::-webkit-details-marker { display: none; }
.rf-faq__q::before,
.rf-faq__q::after {               /* ＋／－アイコン */
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 18px;
  height: 2px;
  margin-top: -1px;
  background-color: #222;
}
.rf-faq__q::after { transform: rotate(90deg); }
.rf-faq__item[open] .rf-faq__q::after { display: none; }
.rf-faq__a { padding: 0 16px 28px; }
.rf-faq__a p {
  font-size: 15px !important;
  line-height: 1.9 !important;
}
.rf-faq__a .rf-faq__a-lead {
  font-weight: 700;
  margin-bottom: 8px;
}

/* ---------- エントリー ---------- */
.rf-entry { padding-top: 40px; }
.rf-entry__box {
  min-height: 280px;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #d7f1f3;
  background-image: linear-gradient(120deg, #e8f3fb 0%, #bfeaf0 45%, #f7e6d8 100%);
  background-size: cover;
  background-position: center;
}
.rf-entry__ttl {
  font-family: var(--rf-en);
  font-size: 44px;
  font-weight: 900;
  color: #111;
  margin-bottom: 40px;
}

/* ---------- フッター（共通CSSの微調整） ---------- */
footer.rf-footer {
  background-color: #fff;
  border-top: 1px solid #e6e6e6;
}
footer.rf-footer .wrap { max-width: 1200px; }

/* =========================================================
   スマートフォン（768px以下）
   ========================================================= */
@media screen and (max-width: 768px) {
  :root { --rf-header-h: 60px; }

  body.rf-body { padding-bottom: 0; }

  .rf-header__inner { padding: 0 14px; }
  .rf-header__logo img { width: 110px; }
  .rf-header__site {
    margin-left: 10px;
    padding-left: 8px;
    font-size: 11px;
  }
  .rf-btn--sm {
    height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .rf-sec { padding: 72px 0; }
  .rf-ttl { margin-bottom: 28px; }
  .rf-ttl__ja { font-size: 28px; }

  .rf-mv__inner { min-height: 260px; }
  .rf-mv__label { font-size: 14px !important; padding: 3px 14px; }
  .rf-mv__ttl { font-size: 36px; margin-top: 18px; }

  .rf-about__lead { font-size: 20px !important; }
  .rf-check li { font-size: 14px; }

  .rf-flow { padding-top: 24px; }
  .rf-flow__inner { display: block; }
  .rf-flow__head { width: auto; }
  .rf-flow__item { padding: 0 0 36px 44px; }
  .rf-flow__ttl { font-size: 17px; margin-bottom: 10px; }

  .rf-merit { padding-top: 24px; }
  .rf-merit__list {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rf-jobs { padding: 64px 0; }
  .rf-jobs__item { padding: 20px; gap: 16px; }
  .rf-jobs__name { font-size: 17px !important; }

  .rf-faq__q {
    padding: 18px 44px 16px 4px;
    font-size: 15px;
  }
  .rf-faq__q::before,
  .rf-faq__q::after { right: 8px; width: 14px; }
  .rf-faq__a { padding: 0 4px 22px; }
  .rf-faq__a p { font-size: 14px !important; }

  .rf-entry { padding-top: 16px; }
  .rf-entry__box { min-height: 220px; padding: 44px 20px; }
  .rf-entry__ttl { font-size: 32px; margin-bottom: 28px; }
  .rf-btn--lg { width: 100%; }
}
