@charset "UTF-8";
/* ==========================================================================
   求人LP 共通CSS（歯科衛生士・歯科医師）
   テンプレート: page-recruit-lp.php / page-recruit-lp-dr.php
   ページだけで使うスタイルは dh.css / dr.css に分ける
   構成:
     1. Foundation（変数・リセット・ベース）
     2. Utility / Component（共通パーツ）
     3. Layout（header / footer）
     4. Project（各セクション）
   ========================================================================== */

/* ==========================================================================
   1. Foundation
   ========================================================================== */
:root {
  /* テーマ（assets/css/style.css の :root）とロゴの色に合わせる */
  --rlp-main: #B9A360;        /* テーマ --main / --gold */
  --rlp-btn: #52A6A5;         /* ボタンの枠線：ロゴの色 */
  --rlp-btn-text: #2F7B7A;    /* ボタンの文字：ロゴの色を濃くして白地で読みやすく */
  --rlp-brown: #7A6A56;       /* テーマ --brown（アクセント文字） */
  --rlp-beige: #F3F2E2;       /* テーマ --beige */
  --rlp-beige-light: #F8F7F6; /* テーマ --gray-light */
  --rlp-line: #E2DCD8;
  --rlp-text: #262626;        /* テーマ --base-color */
  --rlp-text-sub: #717171;    /* テーマ --gray-dark */
  --rlp-white: #fff;

  /* ホームページ（assets/css/style.css の --base-font / --sub-font / --en-font）と同じ文字組み */
  --rlp-font-base: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, sans-serif;
  --rlp-font-mincho: "Shippori Mincho", serif;
  --rlp-font-en: "adobe-garamond-pro", serif;
  --rlp-font-hand: "Klee One", sans-serif;

  --rlp-header-h: 80px;
  --rlp-radius: 12px;
  --rlp-shadow: 0 10px 30px rgba(122, 106, 86, .1);
  --rlp-inner: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--rlp-header-h);
  -webkit-text-size-adjust: 100%;
}

body.rlp {
  margin: 0;
  background: var(--rlp-beige);
  color: var(--rlp-text);
  font-family: var(--rlp-font-base);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}

:where(.rlp) :where(h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote) {
  margin: 0;
  padding: 0;
}

:where(.rlp) :where(ul, ol) {
  list-style: none;
}

:where(.rlp) img {
  display: block;
  max-width: 100%;
  height: auto;
}

:where(.rlp) a {
  color: inherit;
  text-decoration: none;
}

:where(.rlp) button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ==========================================================================
   2. Utility / Component
   ========================================================================== */
.rlp .sp {
  display: none;
}

@media (max-width: 767px) {
  .rlp .sp {
    display: inline;
  }

  .rlp .pc {
    display: none;
  }
}

.rlp-inner {
  width: min(var(--rlp-inner), 100% - 48px);
  margin-inline: auto;
}

/* 見出し（ホームページの .c-headline01 と同じ文字組み：金の英字＋明朝＋右に伸びる線） */
.rlp-headline {
  font-family: var(--rlp-font-mincho);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .05em;
}

.rlp-headline__en {
  display: block;
  margin-bottom: 6px;
  color: var(--rlp-main);
  font-family: var(--rlp-font-en);
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .06em;
  white-space: nowrap;
}

.rlp-headline__ja {
  display: flex;
  align-items: center;
  gap: 32px;
}

.rlp-headline__ja::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rlp-text);
}

/* 縦に積む（線なし）：募集要項の左カラム用 */
.rlp-headline--stack .rlp-headline__en {
  font-size: clamp(40px, 4vw, 52px);
}

.rlp-headline--stack .rlp-headline__ja::after {
  content: none;
}

/* 手書き風テキスト */
.rlp-hand {
  font-family: var(--rlp-font-hand);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .06em;
}

/* ボタン */
.rlp-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 56px 14px 40px;
  border: 1.5px solid var(--rlp-btn);
  border-radius: 999px;
  background: var(--rlp-white);
  color: var(--rlp-btn-text) !important;
  font-weight: 600;
  letter-spacing: .1em;
  transition: background .3s, color .3s, border-color .3s;
}

.rlp-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 26px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transition: right .3s;
}

.rlp-btn:hover {
  border-color: var(--rlp-btn-text);
  background: var(--rlp-btn-text);
  color: var(--rlp-white) !important;
}

.rlp-btn:hover::after {
  right: 22px;
}

.rlp-btn--sm {
  padding: 8px 40px 8px 24px;
  font-size: 14px;
}

.rlp-btn--sm::after {
  right: 18px;
  width: 6px;
  height: 6px;
}

.rlp-btn--sm:hover::after {
  right: 15px;
}

.rlp-btn--lg {
  min-width: 300px;
  padding: 20px 64px 20px 48px;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(82, 166, 165, .18);
}

/* スクロール表示アニメーション */
.js-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s ease;
}

.js-fade.is-show {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   3. Layout
   ========================================================================== */
/* ---------- header ---------- */
.rlp-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--rlp-header-h);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(6px);
  transition: box-shadow .3s;
}

.rlp-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
}

.rlp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  padding-inline: 40px;
}

.rlp-header__logo img {
  width: 300px;
}

.rlp-header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.rlp-header__list {
  display: flex;
  gap: 32px;
  font-family: var(--rlp-font-mincho);
  font-size: 14px;
}

.rlp-header__list a {
  position: relative;
  padding-block: 6px;
}

.rlp-header__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--rlp-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.rlp-header__list a:hover::after {
  transform: scaleX(1);
}

.rlp-header__toggle {
  display: none;
}

@media (max-width: 1100px) {
  :root {
    --rlp-header-h: 64px;
  }

  .rlp-header__inner {
    padding-inline: 20px;
  }

  .rlp-header__logo img {
    width: 220px;
  }

  .rlp-header__toggle {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
  }

  .rlp-header__toggle span {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 1.5px;
    background: var(--rlp-main);
    transition: transform .3s, opacity .3s;
  }

  .rlp-header__toggle span:nth-child(1) { top: 15px; }
  .rlp-header__toggle span:nth-child(2) { top: 21px; }
  .rlp-header__toggle span:nth-child(3) { top: 27px; }

  .rlp-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .rlp-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .rlp-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .rlp-header__nav {
    position: fixed;
    inset: var(--rlp-header-h) 0 auto;
    flex-direction: column;
    gap: 28px;
    padding: 32px 24px 40px;
    background: var(--rlp-white);
    box-shadow: 0 12px 20px rgba(0, 0, 0, .06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s, transform .3s, visibility .3s;
  }

  .rlp-header__nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .rlp-header__list {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    font-size: 16px;
  }
}

/* ---------- footer（医院情報：ホームページの c-info を流用） ---------- */
.rlp-footer {
  padding: 96px 0 0;
  background: var(--rlp-white);
}

.rlp-footer__logo img {
  width: min(460px, 100%);
  margin-inline: auto;
}

.rlp-footer__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1000px;
  margin: 56px auto 0;
}

.rlp-footer__title {
  font-family: var(--rlp-font-mincho);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .08em;
}

.rlp-footer__text {
  margin-top: 12px;
  font-size: 14px;
}

/* 診療カレンダー（include/c-calendar.php） */
.rlp-footer__calendar {
  margin-top: 24px;
}

.rlp-footer .c-calendar {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: center;
}

.rlp-footer .c-calendar th,
.rlp-footer .c-calendar td {
  padding: 12px 4px;
  border-bottom: 1px solid var(--rlp-line);
  font-weight: 400;
}

.rlp-footer .c-calendar tr:first-child th {
  background: var(--rlp-beige);
  font-weight: 500;
}

.rlp-footer .c-calendar .head {
  width: 30%;
  white-space: nowrap;
}

.rlp-footer .c-calendar td:not(.head) {
  color: var(--rlp-brown);
}

.rlp-footer__hours {
  margin-top: 16px;
  font-size: 14px;
}

.rlp-footer__hours strong {
  font-weight: 500;
}

.rlp-footer__map {
  margin-top: 24px;
}

.rlp-footer__map img {
  width: 100%;
  border: 1px solid var(--rlp-line);
}

.rlp-footer__address {
  margin-top: 16px;
  font-size: 14px;
}

.rlp-footer__address a {
  color: var(--rlp-brown);
  font-weight: 500;
}

.rlp-footer__maplink {
  position: relative;
  display: inline-block;
  margin-top: 16px;
  padding: 8px 40px 8px 24px;
  border: 1.5px solid var(--rlp-btn);
  border-radius: 999px;
  color: var(--rlp-btn-text) !important;
  font-size: 14px;
  transition: background .3s, color .3s;
}

.rlp-footer__maplink::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.rlp-footer__maplink:hover {
  background: var(--rlp-btn-text);
  color: var(--rlp-white) !important;
}

.rlp-footer__bottom {
  margin-top: 80px;
  padding: 32px 24px;
  background: var(--rlp-beige);
  text-align: center;
}

.rlp-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
  font-size: 13px;
}

.rlp-footer__nav a:hover {
  color: var(--rlp-brown);
}

.rlp-footer__copy {
  margin-top: 16px;
  color: var(--rlp-text-sub);
  font-size: 12px;
}

@media (max-width: 767px) {
  .rlp-footer {
    padding-top: 64px;
  }

  .rlp-footer__info {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 40px;
  }

  .rlp-footer__title {
    font-size: 19px;
  }

  .rlp-footer .c-calendar {
    font-size: 13px;
  }

  .rlp-footer__bottom {
    margin-top: 56px;
    padding-bottom: 96px;
  }

  .rlp-footer__nav {
    gap: 8px 20px;
  }
}

/* ---------- 追従CTA（SP） ---------- */
.rlp-fixed-cta {
  display: none;
}

@media (max-width: 767px) {
  .rlp-fixed-cta {
    position: fixed;
    inset: auto 12px 12px;
    z-index: 90;
    display: block;
    padding: 14px;
    border: 1.5px solid var(--rlp-btn);
    border-radius: 999px;
    background: var(--rlp-white);
    color: var(--rlp-btn-text) !important;
    font-weight: 600;
    text-align: center;
    letter-spacing: .1em;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity .3s, transform .3s, visibility .3s;
  }

  .rlp-fixed-cta.is-show {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* ==========================================================================
   4. Project
   ========================================================================== */
.rlp-main {
  padding-top: var(--rlp-header-h);
  overflow-x: clip;
}

/* ---------- hero ---------- */
.rlp-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: min(760px, 100svh - var(--rlp-header-h));
  background: var(--rlp-beige);
}

.rlp-hero__photo {
  position: absolute;
  inset: 0 0 0 40%;
}

.rlp-hero__photo::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 35%;
  background: linear-gradient(90deg, var(--rlp-beige) 0%, rgba(243, 242, 226, .6) 40%, rgba(243, 242, 226, 0) 100%);
}

.rlp-hero__photo picture,
.rlp-hero__photo img {
  width: 100%;
  height: 100%;
}

/* スライドショー（写真がふわっと切り替わる。main.js で is-active を付け替える） */
.rlp-hero__slides {
  position: absolute;
  inset: 0;
  overflow: hidden; /* 拡大中の写真が枠（左のグラデーション）の外にはみ出さないように */
}

.rlp-hero__photo .rlp-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease;
}

.rlp-hero__photo .rlp-hero__slide.is-active {
  opacity: 1;
}

.rlp-hero__slide img {
  transform: scale(1.04);
  transition: transform 7s ease-out;
}

/* ドラッグ／スワイプで切り替えられることを示す（縦スクロールはそのまま） */
.rlp-hero__photo:has(.rlp-hero__slides) {
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.rlp-hero__slide img {
  -webkit-user-drag: none;
}

/* ドット */
.rlp-hero__dots {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.rlp-hero__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--rlp-white);
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  box-shadow: 0 0 4px rgba(0, 0, 0, .25);
  transition: background .3s, transform .3s;
}

.rlp-hero__dots button[aria-current="true"] {
  background: var(--rlp-white);
  transform: scale(1.2);
}

@media (max-width: 767px) {
  .rlp-hero__dots {
    right: 16px;
    bottom: 36px; /* 下のグラデーションにかからない位置 */
  }
}

/* 表示中の写真はゆっくり少しだけ引いていく */
.rlp-hero__slide.is-active img {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .rlp-hero__photo .rlp-hero__slide,
  .rlp-hero__slide img {
    transition: none;
    transform: none;
  }
}

.rlp-hero__photo img {
  object-fit: cover;
  object-position: 60% 30%;
}

.rlp-hero__note {
  position: absolute;
  top: 9%;
  right: 5%;
  z-index: 2;
  padding: 0 8px 18px 28px;
  color: var(--rlp-white);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.7;
  text-shadow: 0 0 2px rgba(40, 45, 40, .35), 0 1px 10px rgba(40, 45, 40, .45);
  transform: rotate(-8deg);
}

/* 左の斜め線 */
.rlp-hero__note::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 2px;
  height: 34px;
  border-radius: 2px;
  background: var(--rlp-white);
  box-shadow: 0 1px 6px rgba(40, 45, 40, .35);
  transform: rotate(30deg);
}

/* 下の手書き風ライン */
.rlp-hero__note::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 110%;
  height: 16px;
  background: url(../img/common/hand-line-white.svg) no-repeat center / 100% 100%;
  filter: drop-shadow(0 1px 4px rgba(40, 45, 40, .4));
}

.rlp-hero__body {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(640px, 100%);
  padding: 64px 0 72px clamp(24px, 5vw, 80px);
}

/* 文字ごとの白いぼかし（写真と重なっても読めるように）
   ※ ぼかしの重ね数・半径が大きいほど描画が重くなるため、少ない層で同じ見え方にしている */
.rlp-hero__lead,
.rlp-hero__title,
.rlp-hero__sub,
.rlp-hero__text {
  text-shadow:
    0 0 2px #fff,
    0 0 8px #fff,
    0 0 18px #fff,
    0 0 36px #fff;
}

/* リード文は写真の暗い部分にかかるため、より強く */
.rlp-hero__lead {
  text-shadow:
    0 0 3px #fff,
    0 0 3px #fff,
    0 0 12px #fff,
    0 0 28px #fff,
    0 0 56px #fff;
}

/* 「＼ 一緒に成長していきましょう！ ／」の吹き出し */
.rlp-hero__lead {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  padding: 0 24px;
  font-size: 18px;
  line-height: 1.5;
  transform: rotate(-6deg);
  transform-origin: left bottom;
}

.rlp-hero__lead::before,
.rlp-hero__lead::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 1px;
  height: 36px;
  background: var(--rlp-text);
  /* 文字と同じく白いぼかしで写真の上でも見えるように */
  box-shadow:
    0 0 6px #fff,
    0 0 18px #fff,
    0 0 40px #fff;
}

.rlp-hero__lead::before {
  left: 4px;
  transform: rotate(-30deg);
}

.rlp-hero__lead::after {
  right: 4px;
  transform: rotate(30deg);
}

.rlp-hero__title {
  font-family: var(--rlp-font-mincho);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .08em;
  white-space: nowrap;
}

.rlp-hero__sub {
  margin-top: 20px;
  color: var(--rlp-brown);
  font-family: var(--rlp-font-mincho);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  letter-spacing: .1em;
}

.rlp-hero__sub span {
  margin-inline: .3em;
}

.rlp-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.rlp-hero__tags li {
  /* 高さと行の高さを固定し、どのタグも文字の底辺（ベースライン）が同じ位置に来るようにする
     （中の大きい文字の種類で行の高さが変わると、タグごとに文字が上下にずれるため） */
  height: 2.9em;
  padding: 0 20px;
  border-radius: 999px;
  line-height: 3.2em; /* 高さより少し大きくして、大きい数字が上に寄りすぎないよう全体を少し下げる */
  background: var(--rlp-main);
  color: var(--rlp-white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
}

/* タグ内の数字だけ2倍に */
.rlp-hero__num {
  margin: 0 .08em;
  font-size: 2em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  vertical-align: baseline; /* 小さい文字と底辺をそろえる */
}

/* 「残業」と「月平均」の間のすき間（スペースより詰められる） */
.rlp-hero__gap {
  display: inline-block;
  width: .4em;
}

/* タグ内の強調語（「新卒」） */
.rlp-hero__em {
  margin-right: .1em;
  font-size: 1.6em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  vertical-align: baseline; /* 小さい文字と底辺をそろえる */
}

.rlp-hero__text {
  margin-top: 24px;
  font-size: 16px;
  line-height: 2;
}

.rlp-hero__body .rlp-btn {
  margin-top: 32px;
}

@media (max-width: 767px) {
  .rlp-hero {
    min-height: 0;
  }

  .rlp-hero__photo {
    position: relative;
    inset: auto;
    aspect-ratio: 4 / 3;
  }

  .rlp-hero__photo::before {
    inset: auto 0 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(0deg, var(--rlp-beige) 0%, rgba(243, 242, 226, 0) 100%);
  }

  .rlp-hero__note {
    display: none;
  }

  .rlp-hero__body {
    margin-top: -24px;
    padding: 0 20px 56px;
  }

  .rlp-hero__lead {
    margin-bottom: 4px;
    font-size: 16px;
  }

  .rlp-hero__title {
    font-size: clamp(20px, 6.2vw, 30px);
    letter-spacing: .04em;
  }

  /* スマホでも3つを1行に収める */
  .rlp-hero__tags {
    flex-wrap: nowrap;
    gap: 5px;
  }

  .rlp-hero__tags li {
    flex: none;
    padding: 0 9px;
    font-size: clamp(9px, 3.1vw, 13px);
    letter-spacing: 0;
    white-space: nowrap;
  }

  .rlp-hero__text {
    font-size: 15px;
  }

  .rlp-hero__body .rlp-btn {
    width: 100%;
    min-width: 0;
  }
}

/* ---------- message ---------- */
.rlp-message {
  padding: 120px 0;
  background: var(--rlp-white);
}

.rlp-message__inner {
  display: grid;
  gap: 48px;
  max-width: 1000px;
}

.rlp-message__body > p + p,
.rlp-message__voices + p {
  margin-top: 1.4em;
}

.rlp-message__voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.rlp-message__voices li {
  position: relative;
  white-space: nowrap;
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 20px 16px;
  border-radius: var(--rlp-radius);
  background: var(--rlp-beige);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
}

.rlp-message__voices li::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  border: 10px solid transparent;
  border-top-color: var(--rlp-beige);
  border-bottom: 0;
  transform: translateX(-50%);
}

.rlp-message__strong {
  padding-top: 8px;
  color: var(--rlp-brown);
  font-family: var(--rlp-font-mincho);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .rlp-message {
    padding: 72px 0;
  }

  .rlp-message__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rlp-message__voices {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rlp-message__voices li {
    min-height: 0;
  }

  .rlp-message__strong {
    font-size: 17px;
  }
}

/* ---------- values（5つのこと） ---------- */
.rlp-values {
  padding: 96px 0;
  background: var(--rlp-beige);
}

.rlp-values__inner {
  display: grid;
  gap: 56px;
  width: min(1320px, 100% - 48px);
  margin-inline: auto;
}

.rlp-values__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.rlp-values__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px;
  text-align: center;
}

.rlp-values__item + .rlp-values__item {
  border-left: 1px solid var(--rlp-line);
}

.rlp-values__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--rlp-main);
}

.rlp-values__icon img {
  width: 40px;
}

/* ホームページの「Feature 01」と同じ組み方 */
.rlp-values__num {
  margin-top: 14px;
  color: var(--rlp-main);
  font-family: var(--rlp-font-en);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}

.rlp-values__en {
  margin-right: 8px;
  font-size: 16px;
  letter-spacing: .06em;
  vertical-align: middle;
}

.rlp-values__name {
  margin-top: 6px;
  min-height: 3.2em;
  font-family: var(--rlp-font-mincho);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
}

.rlp-values__text {
  margin-top: 12px;
  color: var(--rlp-text-sub);
  font-size: 13px;
  line-height: 1.85;
  text-align: left;
}

@media (max-width: 1100px) {
  .rlp-values__inner {
    gap: 40px;
  }

  .rlp-values__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .rlp-values__item {
    padding: 28px 24px;
    border-radius: var(--rlp-radius);
    background: var(--rlp-white);
  }

  .rlp-values__item + .rlp-values__item {
    border-left: 0;
  }

  .rlp-values__name {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .rlp-values {
    padding: 72px 0;
  }

  .rlp-values__list {
    grid-template-columns: 1fr;
  }

  .rlp-values__text {
    font-size: 14px;
  }
}

/* ---------- gallery ---------- */
.rlp-gallery {
  padding: 0 0 96px;
  background: var(--rlp-beige);
  overflow: hidden;
}

.rlp-gallery__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: rlp-loop 60s linear infinite;
}

.rlp-gallery__track li {
  flex: none;
  width: 320px;
  height: 220px;
  overflow: hidden;
  border-radius: 4px;
}

.rlp-gallery__track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes rlp-loop {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rlp-gallery__track {
    animation: none;
  }
}

@media (max-width: 767px) {
  .rlp-gallery {
    padding-bottom: 72px;
  }

  .rlp-gallery__track li {
    width: 220px;
    height: 150px;
  }
}

/* ---------- recruitment（募集要項） ---------- */
.rlp-recruit {
  padding: 0 0 112px;
  background: var(--rlp-beige);
}

.rlp-recruit__box {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  padding: 56px 48px 40px;
  border: 1px solid var(--rlp-line);
  border-radius: var(--rlp-radius);
  background: var(--rlp-beige-light);
  overflow: hidden;
  isolation: isolate;
}

/* 装飾：ホームページのロゴシンボルを透かしで流用 */
.rlp-recruit__box::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  right: 32px;
  bottom: -24px;
  width: 140px;
  height: 260px;
  background: url(../img/common/symbol.svg) no-repeat center / contain;
  opacity: .12;
}


.rlp-recruit__table {
  border: 1px solid var(--rlp-line);
  border-radius: 8px;
  background: var(--rlp-white);
  align-self: start;
}

.rlp-recruit__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 16px 20px;
}

.rlp-recruit__row + .rlp-recruit__row {
  border-top: 1px solid var(--rlp-line);
}

.rlp-recruit__row dt {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--rlp-text-sub);
  font-size: 14px;
}

.rlp-recruit__row dt img {
  width: 22px;
}

.rlp-recruit__row dd {
  font-weight: 500;
}

.rlp-recruit__row dd small {
  display: block;
  margin-top: 4px;
  color: var(--rlp-text-sub);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

.rlp-recruit__subtitle {
  margin-bottom: 20px;
  font-family: var(--rlp-font-mincho);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .08em;
}

.rlp-benefit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 24px;
}

.rlp-benefit li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 6px;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}

.rlp-benefit li:not(:nth-child(3n + 1)) {
  border-left: 1px solid var(--rlp-line);
}

.rlp-recruit__subtitle--person {
  margin-top: 40px;
}

.rlp-recruit__person li {
  position: relative;
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 1.8;
}

.rlp-recruit__person li + li {
  margin-top: 8px;
}

.rlp-recruit__person li::before {
  content: "";
  position: absolute;
  top: .7em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rlp-main);
}

.rlp-benefit img {
  width: 56px;
  height: 56px;
  padding: 10px;
  border: 1px solid var(--rlp-line);
  border-radius: 50%;
  background: var(--rlp-white);
}

.rlp-recruit__note {
  grid-column: 2 / 4;
  color: var(--rlp-text-sub);
  font-size: 12px;
}

@media (max-width: 1100px) {
  .rlp-recruit__box {
    grid-template-columns: 1fr 1fr;
  }

  .rlp-recruit__head {
    grid-column: 1 / 3;
  }

  .rlp-recruit__note {
    grid-column: 1 / 3;
  }
}

@media (max-width: 767px) {
  .rlp-recruit {
    padding-bottom: 72px;
  }

  .rlp-recruit__box {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px 32px;
  }

  .rlp-recruit__box::after {
    right: 12px;
    width: 80px;
    height: 150px;
  }

  .rlp-recruit__head,
  .rlp-recruit__note {
    grid-column: auto;
  }

  .rlp-recruit__head {
    text-align: center;
  }

  .rlp-recruit__head .rlp-headline__ja {
    justify-content: center;
  }


  .rlp-recruit__row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
  }

  .rlp-benefit {
    grid-template-columns: repeat(2, 1fr);
  }

  .rlp-benefit li:not(:nth-child(3n + 1)) {
    border-left: 0;
  }

  .rlp-benefit li:nth-child(2n) {
    border-left: 1px solid var(--rlp-line);
  }
}

/* ---------- contact（CTA） ---------- */
.rlp-contact {
  position: relative;
  padding: 96px 0;
  background: var(--rlp-beige);
}

/* 背景写真は近づいてから読み込む（最初の表示の邪魔をしないように。main.js で is-near を付ける） */
.rlp-contact.is-near {
  /* WebP非対応（image-set の type() 未対応）のブラウザ向けにJPGを先に指定 */
  background:
    linear-gradient(90deg, rgba(243, 242, 226, .97) 0%, rgba(243, 242, 226, .9) 55%, rgba(243, 242, 226, .75) 100%),
    url(../img/photo/staff-group.jpg) no-repeat center 40% / cover;
  background:
    linear-gradient(90deg, rgba(243, 242, 226, .97) 0%, rgba(243, 242, 226, .9) 55%, rgba(243, 242, 226, .75) 100%),
    image-set(url(../img/photo/staff-group.webp) type("image/webp"), url(../img/photo/staff-group.jpg) type("image/jpeg")) no-repeat center 40% / cover;
}

.rlp-contact__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 56px;
}

.rlp-contact__title {
  margin-bottom: 24px;
  font-family: var(--rlp-font-mincho);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .08em;
}

.rlp-contact__body > p + p {
  margin-top: 1em;
}

.rlp-contact__voices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.rlp-contact__voices li {
  padding: 6px 18px;
  border: 1px solid var(--rlp-brown);
  border-radius: 999px;
  background: var(--rlp-white);
  color: var(--rlp-brown);
  font-size: 15px;
  font-weight: 500;
}

.rlp-contact__voices li::before { content: "「"; }
.rlp-contact__voices li::after { content: "」"; }

.rlp-contact__action {
  text-align: center;
}

.rlp-btn--tel {
  padding: 18px 64px 18px 40px;
  text-align: left;
}

/* 電話アイコン：文字色（ホバー時は白）に合わせて色が変わるようマスクで表示 */
.rlp-btn__icon {
  flex: none;
  width: 28px;
  height: 28px;
  background: currentColor;
  -webkit-mask: url(../img/icon/tel.svg) no-repeat center / contain;
  mask: url(../img/icon/tel.svg) no-repeat center / contain;
}

.rlp-btn--tel span {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  line-height: 1.4;
}

.rlp-btn--tel strong {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .06em;
}

.rlp-contact__hint {
  margin-top: 12px;
  color: var(--rlp-text-sub);
  font-size: 13px;
}

@media (max-width: 900px) {
  .rlp-contact__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .rlp-contact {
    padding: 72px 0;
  }

  .rlp-contact.is-near {
    /* WebP非対応（image-set の type() 未対応）のブラウザ向けにJPGを先に指定 */
    background:
      linear-gradient(rgba(243, 242, 226, .93), rgba(243, 242, 226, .93)),
      url(../img/photo/staff-group.jpg) no-repeat center / cover;
    background:
      linear-gradient(rgba(243, 242, 226, .93), rgba(243, 242, 226, .93)),
      image-set(url(../img/photo/staff-group.webp) type("image/webp"), url(../img/photo/staff-group.jpg) type("image/jpeg")) no-repeat center / cover;
  }

  .rlp-btn--tel {
    width: 100%;
    min-width: 0;
    padding: 16px 48px 16px 24px;
  }

  .rlp-btn--tel strong {
    font-size: 22px;
  }
}
