@charset "UTF-8";

/* ==========================================================================
   採用情報ページ（recruit.html）
   共通トークン・ヘッダー・フッターは style.css を使用
   ========================================================================== */

.u-sp {
  display: none;
}

/* --- 共通パーツ --- */
.r-num {
  font-family: var(--font-poppins);
  font-weight: 700;
}

.r-marker {
  padding-inline: 0.12em;
  background: var(--marker-gradient);
}

.r-section {
  padding-block: 120px;
  background: var(--color-base);
}

.r-section--light {
  background: var(--color-section-light);
}

.r-head__en {
  font-family: "Montserrat Subrayada", var(--font-montserrat);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-main);
}

.r-head__title {
  margin-top: 20px;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: var(--tracking);
}

.r-head__lead {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.8;
}

.r-head--center {
  margin-bottom: 64px;
  text-align: center;
}

/* 要確認マーク（公開前に内容を確定させる箇所） */
.r-pending {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 8px 0 0;
  padding: 3px 10px;
  border: 1px dashed var(--color-tomato);
  border-radius: 4px;
  background: #fff4ef;
  color: var(--color-tomato);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  vertical-align: middle;
}

.r-pending::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-tomato);
  color: var(--color-white);
  font-size: 10px;
}

dd .r-pending {
  margin: 0 0 0 8px;
}

/* 制作メモ（公開前に削除） */
.r-devnote {
  max-width: 880px;
  margin: 40px auto 0;
  padding: 14px 18px;
  border: 2px dashed var(--color-yellow);
  border-radius: 8px;
  background: #fffbea;
  font-size: 13px;
  line-height: 1.7;
}

.r-devnote::before {
  content: "制作メモ（公開前に削除）";
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #9a7400;
  letter-spacing: 0.05em;
}

.r-devnote .r-pending {
  margin: 0 0 0 8px;
}

/* ==========================================================================
   1. First view
   ========================================================================== */
.r-fv {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 20px 0 0;
  background: var(--color-base);
}

.r-breadcrumb {
  width: min(1680px, 100% - var(--gutter) * 2);
  margin: 0 auto 20px;
  font-size: 13px;
}

.r-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.r-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--color-border);
}

.r-breadcrumb a {
  color: var(--color-main);
  font-family: var(--font-montserrat);
  font-weight: 700;
}

.r-fv__stage {
  --stage-gap: clamp(12px, 1.6vw, 32px);
  position: relative;
  isolation: isolate;
  height: clamp(560px, 44vw, 840px);
  margin-inline: var(--stage-gap);
  border-radius: 24px;
  overflow: hidden;
  background: #1d2a24;
  animation: fader-wipe 1.4s cubic-bezier(0.77, 0, 0.18, 1) both;
}

.r-fv__visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
}

.r-fv__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
  animation: fader-zoom 7.5s cubic-bezier(0.25, 0.6, 0.3, 1) both;
}

/* スタッフ3人の写真：PCは帽子が切れないよう上寄せ（人物は右半分にいるので左の文字と重ならない） */
.r-fv__visual--staff img {
  object-position: center 20%;
}

/* 文字側（左）を暗くして読みやすく */
.r-fv__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 20, 14, 0.72) 0%, rgba(0, 20, 14, 0.45) 38%, rgba(0, 20, 14, 0) 68%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.25) 100%);
}

.r-fv__inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding-inline: clamp(24px, 5vw, 104px);
  color: var(--color-white);
}

.r-fv__en {
  font-family: "Montserrat Subrayada", var(--font-montserrat);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-yellow);
}

.r-fv__title {
  margin-top: 28px;
  font-weight: 900;
  letter-spacing: var(--tracking);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.r-fv__catch {
  display: block;
  font-size: clamp(44px, 5.6vw, 108px);
  line-height: 1.22;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.r-fv__line {
  display: block;
}

.r-fv__catch .r-marker {
  padding-inline: 0.06em;
  color: var(--color-black);
  text-shadow: none;
}

.r-fv__lead {
  display: block;
  margin-top: 0.8em;
  font-size: clamp(22px, 2.4vw, 46px);
  line-height: 1.3;
  letter-spacing: var(--tracking);
  white-space: nowrap;
}

.r-fv__lead .r-num {
  margin-right: 0.04em;
  font-size: 1.3em;
  line-height: 1;
  color: var(--color-yellow);
  letter-spacing: -0.02em;
}

.r-fv__sub {
  margin-top: 28px;
  font-size: clamp(15px, 1vw, 19px);
  line-height: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* --- ヒーロー直下の応募入口 --- */
.r-entry-area {
  padding: 64px 0 112px;
  background: var(--color-base);
}

.r-entry-area .r-entry {
  margin-top: 0;
}

.r-entry-area .r-entry__btn {
  min-height: 120px;
  padding: 24px 64px 24px 32px;
  font-size: 22px;
}

.r-entry-area .r-entry__btn::after {
  right: 28px;
  width: 28px;
  height: 28px;
  background-size: 28px;
}

.r-entry-area .r-entry__btn:hover::after {
  right: 22px;
}

.r-entry-area .r-entry__en {
  font-size: 13px;
}

/* --- 応募入口ボタン（FV・CTA共通） --- */
.r-entry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
}

/* 入口が2つのとき（管理職を保留中：docs/hold-list.md R-03）は2列で中央に */
@media (min-width: 768px) {
  .r-entry:not(:has(> li:nth-of-type(3))) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 800px;
    margin-inline: auto;
  }
}

.r-entry__btn {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  height: 100%;
  min-height: 96px;
  padding: 16px 44px 16px 20px;
  border-radius: 16px;
  background: var(--color-main);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: anywhere;
  transition: transform 0.2s, box-shadow 0.2s;
}

.r-entry__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-white) url("../images/icons/arrow-circle-white-main.svg") center / 20px no-repeat;
  transform: translateY(-50%);
  transition: right 0.2s;
}

.r-entry__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 76, 58, 0.25);
}

.r-entry__btn:hover::after {
  right: 14px;
}

.r-entry__en {
  font-family: var(--font-montserrat);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-yellow);
}

/* 外部（バイトル）へ移動することを示す補足 */
.r-entry__note {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.8;
}

/* ==========================================================================
   2. Numbers
   ========================================================================== */
.r-numbers {
  padding-block: 120px;
  background: var(--color-sub);
  border-radius: 80px 80px 0 0;
  color: var(--color-white);
}

.r-numbers__title {
  font-size: 44px;
  font-weight: 900;
}

.r-stats {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.r-stat {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 32px;
  border-radius: 16px;
  background: var(--color-white);
  color: var(--color-black);
}

.r-stat--lg {
  grid-column: span 4;
}

.r-stat__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-sub);
  letter-spacing: var(--tracking);
}

.r-stat__value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 6px;
  margin-top: 8px;
  color: var(--color-main);
  font-weight: 900;
  line-height: 1.1;
}

.r-stat__value .r-num {
  font-size: 56px;
  letter-spacing: -0.01em;
}

.r-stat--lg .r-stat__value .r-num {
  font-size: 72px;
}

.r-stat__value small {
  font-size: 20px;
}

.r-stat__note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--color-border);
  font-size: 14px;
  line-height: 1.7;
}

.r-stat .r-pending {
  align-self: flex-start;
  margin-top: auto;
  transform: translateY(12px);
}

/* ==========================================================================
   3. About
   ========================================================================== */
.r-about .r-philosophy:first-child {
  margin-top: 0;
}

.r-philosophy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin: 96px 0;
  padding: 64px 24px;
  border-radius: 24px;
  background: var(--color-white);
  text-align: center;
}

.r-philosophy__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-sub);
  letter-spacing: 0.1em;
}

.r-philosophy__text {
  font-size: clamp(22px, 2.6vw, 40px);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: var(--tracking);
  color: var(--color-main);
}

/* --- 代表メッセージ --- */
.r-message {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
  margin-top: 96px;
  padding: 64px;
  border-radius: 24px;
  background: var(--color-white);
}

.r-message__photo {
  position: relative;
  margin: 0;
}

/* 写真の背後に色面をずらして敷く */
.r-message__photo::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  z-index: 0;
  border-radius: 16px;
  background: var(--marker-gradient);
}

.r-message__photo img {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.r-message__en {
  font-family: "Montserrat Subrayada", var(--font-montserrat);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-main);
}

.r-message__title {
  margin: 16px 0 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-sub);
  letter-spacing: 0.1em;
}

.r-message__lead {
  margin-top: 24px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: var(--tracking);
}

.r-message__text {
  margin-top: 28px;
  font-size: 16px;
  line-height: 2.1;
}

.r-message__text p + p {
  margin-top: 1.2em;
}

.r-message__sign {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 36px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.r-message__sign span {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: var(--tracking);
}

/* ==========================================================================
   4. Workplaces
   ========================================================================== */
.r-places__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.r-place {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: var(--color-white);
  overflow: hidden;
}

.r-place__head {
  padding: 28px 28px 24px;
  background: var(--color-main);
  color: var(--color-white);
}

.r-place__en {
  font-family: var(--font-montserrat);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-yellow);
}

.r-place__title {
  margin: 6px 0 0;
  font-size: 26px;
  font-weight: 900;
}

.r-place__text {
  padding: 24px 28px 0;
  font-size: 16px;
  line-height: 1.8;
}

.r-place__brands {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 20px 28px 0;
}

.r-place__brands .brand-card__logo {
  border: 1px solid #e3e8dd;
}

/* 小さい枠ではロゴを枠いっぱいに表示 */
.r-place__brands .brand-card__logo img {
  width: 88%;
  max-height: 84%;
  object-fit: contain;
}

.r-place__brands .logo-ryoushigoya {
  width: 88%;
}

.r-place__brands .logo-ryoushigoya img {
  width: 100.03%;
  max-height: none;
  height: 154.37%;
  object-fit: fill;
}

.r-place__more {
  margin-top: auto;
  padding: 16px 28px 28px;
  font-size: 13px;
  color: #666;
}

/* ==========================================================================
   5. Work style
   ========================================================================== */
.r-style__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.r-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 28px;
  align-items: start;
  padding: 40px;
  border-radius: 16px;
  background: var(--color-white);
}

.r-feature__no {
  grid-row: 1 / 3;
  font-family: var(--font-poppins);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-sub);
}

.r-feature__title {
  margin: 4px 0 0;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.5;
}

.r-feature__text {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.8;
}

/* ==========================================================================
   Tabs（1日の流れ・募集要項）
   ========================================================================== */
.r-tabs__list {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.r-tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 28px;
  border: 2px solid var(--color-main);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-main);
  font-size: 17px;
  font-weight: 700;
  transition: background-color 0.2s, color 0.2s;
}

.r-tabs__tab small {
  font-size: 12px;
  font-weight: 400;
}

.r-tabs__tab[aria-selected="true"] {
  background: var(--color-main);
  color: var(--color-white);
}

.r-tabs__tab:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 2px;
}

.r-tabs__panel:not([hidden]) {
  animation: topic-in 0.45s ease both;
}

/* --- 1日の流れ --- */
.r-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.r-timeline--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.r-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-sub) 0 8px, transparent 8px 14px);
}

.r-timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.r-timeline__no {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-main);
  color: var(--color-white);
  font-family: var(--font-poppins);
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 0 0 6px var(--color-section-light);
}

.r-timeline li p {
  width: 100%;
  padding: 20px 12px;
  border-radius: 12px;
  background: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.r-timeline li.is-break .r-timeline__no {
  background: var(--color-yellow);
  color: var(--color-black);
}

.r-timeline li.is-break p {
  background: #fffbea;
}

.r-day__note {
  margin-top: 24px;
  font-size: 13px;
  color: #666;
  text-align: center;
}

/* ==========================================================================
   7. Career
   ========================================================================== */
.r-career__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 64px;
}

.r-career__text {
  font-size: 18px;
  line-height: 2;
}

.r-career__text strong {
  color: var(--color-main);
  background: linear-gradient(transparent 62%, #eef5b0 62%);
}

/* 階段状のキャリアステップ */
.r-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
}

.r-steps__item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 24px;
  border-radius: 16px 16px 4px 4px;
  color: var(--color-white);
}

.r-steps__item:nth-child(1) { min-height: 140px; background: #9db487; }
.r-steps__item:nth-child(2) { min-height: 190px; background: var(--color-sub); }
.r-steps__item:nth-child(3) { min-height: 240px; background: #2f6a4a; }
.r-steps__item:nth-child(4) { min-height: 290px; background: var(--color-main); }

.r-steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  right: -16px;
  z-index: 1;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-white) url("../images/icons/arrow-circle-white-main.svg") center / 20px no-repeat;
}

.r-steps__no {
  flex: none;
  white-space: nowrap;
  font-family: var(--font-montserrat);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-yellow);
}

.r-steps__name {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.4;
}

.r-box__placeholder {
  color: #999;
}

/* ==========================================================================
   8. Requirements
   ========================================================================== */
.r-tabs--req .r-tabs__panel {
  max-width: 960px;
  margin-inline: auto;
}

.r-table {
  margin: 0;
  border-radius: 16px;
  background: var(--color-white);
  overflow: hidden;
}

.r-table > div {
  display: grid;
  grid-template-columns: 200px 1fr;
}

.r-table > div + div {
  border-top: 1px solid #e3e8dd;
}

.r-table dt {
  padding: 24px 28px;
  background: #eef4e8;
  font-weight: 700;
  color: var(--color-main);
}

.r-table dd {
  margin: 0;
  padding: 24px 28px;
  line-height: 1.8;
}

.r-link {
  color: var(--color-main);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.r-apply {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(440px, 100%);
  height: 76px;
  margin: 40px auto 0;
  border-radius: 136px;
  background: var(--color-main);
  color: var(--color-white);
  font-size: 20px;
  font-weight: 900;
  transition: opacity 0.2s;
}

.r-apply:hover {
  opacity: 0.9;
}

.r-apply img {
  transition: transform 0.2s;
}

.r-apply:hover img {
  transform: translateX(4px);
}

/* ==========================================================================
   9. Flow
   ========================================================================== */
.r-flow__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.r-flow__item {
  position: relative;
  padding: 32px 28px;
  border-radius: 16px;
  background: var(--color-white);
}

.r-flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 12px solid var(--color-sub);
  transform: translateY(-50%);
}

.r-flow__no {
  font-family: var(--font-poppins);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-sub);
}

.r-flow__title {
  margin: 16px 0 8px;
  font-size: 22px;
  font-weight: 900;
  color: var(--color-main);
}

.r-flow__text {
  font-size: 15px;
  line-height: 1.8;
}

.r-flow__period {
  margin-top: 32px;
  font-size: 15px;
  text-align: center;
}

/* ==========================================================================
   10. FAQ
   ========================================================================== */
.r-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 960px;
  margin-inline: auto;
}

.r-qa {
  border-radius: 12px;
  background: var(--color-white);
}

.r-qa summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 64px 24px 24px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.r-qa summary::-webkit-details-marker {
  display: none;
}

.r-qa summary::before,
.r-qa__a::before {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-family: var(--font-poppins);
  font-size: 16px;
  font-weight: 700;
}

.r-qa summary::before {
  content: "Q";
  background: var(--color-main);
  color: var(--color-white);
}

/* 開閉アイコン（＋／−） */
.r-qa summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(var(--color-main), var(--color-main)) center / 16px 2px no-repeat,
    linear-gradient(var(--color-main), var(--color-main)) center / 2px 16px no-repeat;
  transform: translateY(-50%);
  transition: transform 0.25s;
}

.r-qa[open] summary::after {
  background: linear-gradient(var(--color-main), var(--color-main)) center / 16px 2px no-repeat;
  transform: translateY(-50%) rotate(180deg);
}

.r-qa__a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  margin: 0 24px;
  padding: 20px 0 24px;
  border-top: 1px dashed var(--color-border);
  font-size: 16px;
  line-height: 1.8;
}

.r-qa__a::before {
  content: "A";
  grid-row: 1 / span 4;
  background: var(--color-yellow);
  color: var(--color-black);
}

.r-qa__a p {
  grid-column: 2;
  justify-self: start;
  margin: 6px 0 0;
}

.r-qa[open] .r-qa__a {
  animation: topic-in 0.35s ease both;
}

/* ==========================================================================
   11. CTA
   ========================================================================== */
.r-cta {
  padding-block: 120px;
  background: var(--color-sub);
  border-radius: 80px 80px 0 0;
  color: var(--color-white);
  text-align: center;
}

.r-cta__en {
  font-family: "Montserrat Subrayada", var(--font-montserrat);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-yellow);
}

.r-cta__title {
  margin-top: 20px;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: var(--tracking);
}

.r-cta__text {
  margin-top: 24px;
  font-size: 18px;
  line-height: 2;
}

.r-entry--cta {
  max-width: 960px;
  margin: 48px auto 0;
  text-align: left;
}

.r-entry--cta .r-entry__btn {
  background: var(--color-white);
  color: var(--color-main);
}

.r-entry--cta .r-entry__btn::after {
  background: url("../images/icons/arrow-circle-main-btn.svg") center / 20px no-repeat;
}

.r-entry--cta .r-entry__en {
  color: var(--color-sub);
}

/* ==========================================================================
   Tablet（〜1024px）
   ========================================================================== */
@media (max-width: 1024px) {
  .r-section,
  .r-numbers,
  .r-cta {
    padding-block: 96px;
  }

  .r-fv__stage {
    height: clamp(560px, 80vw, 720px);
  }

  .r-entry-area {
    padding-block: 48px 88px;
  }

  .r-entry-area .r-entry__btn {
    min-height: 100px;
    padding: 20px 52px 20px 22px;
    font-size: 18px;
  }

  .r-entry-area .r-entry__btn::after {
    right: 18px;
    width: 22px;
    height: 22px;
    background-size: 22px;
  }

  .r-fv__catch {
    font-size: clamp(44px, 8.4vw, 80px);
  }

  .r-fv__lead {
    font-size: clamp(22px, 3.8vw, 36px);
  }

  .r-fv__sub {
    font-size: 16px;
  }

  .r-head__title,
  .r-numbers__title,
  .r-cta__title {
    font-size: 36px;
  }

  .r-stat,
  .r-stat--lg {
    grid-column: span 6;
  }

  .r-career__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .r-message {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 48px;
    padding: 48px 40px;
  }

  .r-message__lead {
    font-size: 24px;
  }

  .r-places__list {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-inline: auto;
  }

  .r-style__list {
    grid-template-columns: 1fr;
  }

  .r-timeline,
  .r-timeline--4 {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 480px;
    margin-inline: auto;
  }

  .r-timeline::before {
    top: 28px;
    bottom: 28px;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--color-sub) 0 8px, transparent 8px 14px);
  }

  .r-timeline li {
    flex-direction: row;
    text-align: left;
  }

  .r-timeline__no {
    flex: none;
  }

  .r-flow__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .r-flow__item:nth-child(2)::after {
    display: none;
  }
}

/* ==========================================================================
   Smartphone（〜767px）
   ========================================================================== */
@media (max-width: 767px) {
  .u-sp {
    display: inline;
  }

  .r-section,
  .r-numbers,
  .r-cta {
    padding-block: 72px;
  }

  .r-numbers,
  .r-cta {
    border-radius: 40px 40px 0 0;
  }

  .r-fv {
    padding-top: 14px;
  }

  /* スマホは写真を上に見せ、文字は下側に重ねる */
  .r-fv__stage {
    height: clamp(560px, 168vw, 680px);
    border-radius: 16px;
  }

  .r-fv__visual img {
    object-position: 68% 30%;
  }

  /* スマホは縦長に切り抜くので、3人の真ん中の人を中心に */
  .r-fv__visual--staff img {
    object-position: 74% center;
  }

  .r-fv__visual::after {
    background: linear-gradient(180deg, rgba(0, 20, 14, 0) 22%, rgba(0, 20, 14, 0.55) 52%, rgba(0, 20, 14, 0.82) 100%);
  }

  .r-fv__inner {
    align-items: flex-end;
    padding: 0 20px 32px;
  }

  .r-entry-area {
    padding-block: 32px 64px;
  }

  .r-entry-area .r-entry__btn {
    min-height: 80px;
    font-size: 17px;
  }

  .r-breadcrumb {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .r-fv__en {
    font-size: 20px;
  }

  .r-fv__title {
    margin-top: 18px;
  }

  .r-fv__catch {
    font-size: clamp(40px, 12.8vw, 54px);
  }

  .r-fv__lead {
    margin-top: 0.7em;
    font-size: clamp(20px, 6vw, 26px);
  }

  .r-fv__sub {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.8;
  }

  .r-entry {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 32px;
  }

  .r-entry__btn {
    min-height: 72px;
  }

  .r-head__en,
  .r-cta__en {
    font-size: 22px;
  }

  .r-head__title,
  .r-numbers__title,
  .r-cta__title {
    margin-top: 14px;
    font-size: 26px;
  }

  .r-head__lead,
  .r-cta__text {
    font-size: 15px;
  }

  .r-head--center {
    margin-bottom: 40px;
  }

  .r-stats {
    gap: 12px;
    margin-top: 36px;
  }

  /* 2カラム（先頭の1枚のみ全幅にして 1＋2×3 で並べる） */
  .r-stats {
    gap: 10px;
  }

  .r-stat,
  .r-stat--lg {
    grid-column: span 6;
    padding: 16px 14px 18px;
    border-radius: 12px;
  }

  .r-stat:first-child {
    grid-column: span 12;
    padding: 20px 20px 22px;
  }

  .r-stat__label {
    font-size: 11px;
    letter-spacing: 0;
  }

  .r-stat__value {
    gap: 0 3px;
    margin-top: 6px;
  }

  .r-stat__value .r-num,
  .r-stat--lg .r-stat__value .r-num {
    font-size: 34px;
  }

  .r-stat:first-child .r-stat__value .r-num {
    font-size: 48px;
  }

  .r-stat__value small {
    font-size: 13px;
  }

  .r-stat:first-child .r-stat__value small {
    font-size: 18px;
  }

  .r-stat__note {
    margin-top: 10px;
    padding-top: 10px;
    font-size: 12px;
    line-height: 1.6;
  }

  .r-stat .r-pending {
    padding: 2px 6px;
    font-size: 10px;
    transform: translateY(8px);
  }

  .r-career__text {
    font-size: 16px;
  }

  .r-philosophy {
    gap: 18px;
    margin: 56px 0;
    padding: 40px 20px;
  }

  .r-philosophy__text {
    font-size: 21px;
  }

  .r-message {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 56px;
    padding: 32px 24px 36px;
  }

  .r-message__photo {
    width: min(260px, 78%);
    margin-inline: auto;
  }

  .r-message__photo::before {
    inset: 14px -14px -14px 14px;
  }

  .r-message__en {
    font-size: 20px;
  }

  .r-message__lead {
    margin-top: 18px;
    font-size: 21px;
  }

  .r-message__text {
    font-size: 15px;
  }

  .r-message__sign {
    font-size: 22px;
  }

  .r-feature {
    padding: 28px 24px;
  }

  .r-feature {
    column-gap: 18px;
  }

  .r-feature__no {
    font-size: 34px;
  }

  .r-feature__title {
    font-size: 20px;
  }

  .r-feature__text {
    font-size: 15px;
  }

  .r-place__head,
  .r-place__text,
  .r-place__brands,
  .r-place__more {
    padding-inline: 20px;
  }

  .r-tabs__list {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
  }

  .r-tabs__tab {
    flex: 1 1 0;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    min-height: 52px;
    padding: 6px 10px;
    font-size: 14px;
    line-height: 1.3;
  }

  .r-tabs--req .r-tabs__tab {
    flex-basis: 100%;
  }

  .r-steps {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 48px 0 0;
  }

  .r-steps__item {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 12px;
  }

  .r-steps__item:nth-child(n) {
    min-height: 0;
  }

  .r-steps__item:nth-child(1) { margin-right: 36%; }
  .r-steps__item:nth-child(2) { margin-right: 24%; }
  .r-steps__item:nth-child(3) { margin-right: 12%; }

  .r-steps__item:not(:last-child)::after {
    display: none;
  }

  .r-steps__name {
    font-size: 18px;
  }

  .r-steps__name br {
    display: none;
  }

  .r-table > div {
    grid-template-columns: 1fr;
  }

  .r-table dt {
    padding: 14px 20px;
  }

  .r-table dd {
    padding: 16px 20px 20px;
    font-size: 15px;
  }

  .r-apply {
    height: 64px;
    font-size: 17px;
  }

  .r-flow__list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .r-flow__item:not(:last-child)::after {
    display: block;
    top: auto;
    right: auto;
    bottom: -22px;
    left: 50%;
    border-top: 12px solid var(--color-sub);
    border-right: 10px solid transparent;
    border-bottom: 0;
    border-left: 10px solid transparent;
    transform: translateX(-50%);
  }

  .r-qa summary {
    gap: 12px;
    padding: 18px 52px 18px 16px;
    font-size: 15px;
  }

  .r-qa summary::after {
    right: 18px;
  }

  .r-qa__a {
    column-gap: 12px;
    margin: 0 16px;
    font-size: 15px;
  }

  .r-qa summary::before,
  .r-qa__a::before {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .r-entry--cta {
    margin-top: 32px;
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .r-tabs__panel:not([hidden]),
  .r-qa[open] .r-qa__a,
  .r-fv__stage,
  .r-fv__visual img {
    animation: none;
  }
}
