/* ==========================================================================
   Edge Hub — 採用情報（/recruit）
   コーポレートサイトとは別トーンの、大学生向け採用LP。
   デザイン原本: Claude Design「Edge Hub LP Final」（390px モバイル）。
   PC はその部品をそのまま広げて段組みにしている。
   ========================================================================== */

/* ヒーロー見出しの文字だけを収録。利用条件: assets/fonts/MPlusRounded1c-OFL.txt */
@font-face {
  font-family: 'M PLUS Rounded 1c';
  src: url('/assets/fonts/mplus-rounded-1c-recruit.ttf') format('truetype');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --rc-bg: #FFFDF7;
  --rc-ink: #151515;
  --rc-orange: #FF6A2B;
  --rc-orange-hover: #FF7E45;
  --rc-orange-shadow: #C94A12;
  --rc-yellow: #FFC928;
  --rc-tape: #FFE14D;
  --rc-teal: #2EC4C6;
  --rc-teal-soft: #7ED9DA;
  --rc-purple: #C6A4EE;
  --rc-purple-deep: #9A6BD8;
  --rc-coral: #FF9E86;
  --rc-mint: #E4F8F8;
  --rc-cream: #FFF4D1;
  --rc-blush: #FFF0EA;
  --rc-text: #333;
  --rc-text-2: #444;
  --rc-text-3: #555;
  --rc-text-4: #777;
  --rc-line: rgba(21, 21, 21, .14);

  --rc-font-ja: 'Noto Sans JP', system-ui, sans-serif;
  --rc-font-en: 'Archivo', 'Noto Sans JP', sans-serif;
  --rc-font-hand: 'Caveat', cursive;

  --gutter: clamp(24px, 4vw, 72px);
  --rc-section-y: clamp(36px, 6vw, 96px);
  --rc-heading-gap: clamp(24px, 3vw, 40px);
  --rc-header-h: 76px;
  --rc-ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--rc-header-h);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--rc-bg);
  color: var(--rc-ink);
  font-family: var(--rc-font-ja);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: normal;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--rc-ink); text-decoration: none; }
a:hover { color: var(--rc-orange); }
h1, h2, h3, h4, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--rc-yellow); color: var(--rc-ink); }
:focus-visible { outline: 3px solid var(--rc-orange); outline-offset: 3px; }
[hidden] { display: none !important; }
#main { overflow-x: clip; }
#main:focus { outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.rc-skip {
  position: fixed; left: 12px; top: -80px; z-index: 200;
  padding: 12px 18px; border-radius: 999px;
  background: var(--rc-ink); color: #fff; font-weight: 700;
}
.rc-skip:focus { top: 12px; color: #fff; }

/* ---------- 共通部品 ---------- */
.rc-inner { padding-inline: var(--gutter); }
.rc-section { padding-block: var(--rc-section-y); }

.rc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: var(--rc-heading-gap); }
.rc-head h2 {
  font: 900 clamp(20px, 2.4vw, 34px)/1 var(--rc-font-en);
  letter-spacing: -.01em;
}
.rc-head span { font: 500 clamp(12px, 1vw, 14px)/1 var(--rc-font-ja); }

.rc-sub {
  margin-bottom: clamp(16px, 2.4vw, 32px);
  font: 500 clamp(12px, 1.1vw, 15px)/1.6 var(--rc-font-ja);
  color: var(--rc-text-3);
}
.rc-title {
  font-weight: 900;
  letter-spacing: -.03em;
  text-wrap: pretty;
}
.rc-title--xl { font-size: min(29px, calc((100vw - var(--gutter) * 2) / 12)); line-height: 1.3; }
.rc-title--lg { font-size: min(27px, calc((100vw - var(--gutter) * 2) / 11.5)); line-height: 1.35; }
.rc-text {
  margin-top: 12px;
  font: 500 clamp(13px, 1.15vw, 16px)/1.8 var(--rc-font-ja);
  color: var(--rc-text);
  max-width: 40em;
}
.rc-note {
  margin-top: 12px;
  font: 500 10.5px/1.6 var(--rc-font-ja);
  color: var(--rc-text-4);
}
.rc-note--warn { margin: 0 0 14px; color: var(--rc-orange-shadow); }

.rc-hand {
  font-family: var(--rc-font-hand);
  font-weight: 700;
  line-height: .95;
  pointer-events: none;
}
.rc-tape {
  background: var(--rc-tape);
  font-weight: 900;
  pointer-events: none;
}
.rc-pill {
  display: flex; justify-content: space-between; gap: 8px;
  background: #fff; border-radius: 999px;
  padding: 8px 12px;
  font: 700 11.5px/1 var(--rc-font-ja);
}

/* 大きな角丸 + 1か所だけ小さい角（デザインのシグネチャー） */
.rc-shape-bl { border-radius: 40px 40px 40px 12px; }
.rc-shape-br { border-radius: 40px 40px 12px 40px; }

/* ---------- ボタン ---------- */
.rc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border: 0; border-radius: 999px;
  background: var(--rc-orange); color: #fff;
  font: 700 13px/1 var(--rc-font-ja);
  padding: 14px 18px;
  box-shadow: 0 4px 0 var(--rc-orange-shadow);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s var(--rc-ease), box-shadow .15s var(--rc-ease), background-color .15s;
}
.rc-btn:hover { background: var(--rc-orange-hover); color: #fff; transform: translateY(1px); box-shadow: 0 3px 0 var(--rc-orange-shadow); }
.rc-btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--rc-orange-shadow); }
.rc-btn--outline {
  background: #fff; color: var(--rc-ink);
  border: 2px solid var(--rc-ink);
  box-shadow: 0 4px 0 var(--rc-ink);
}
.rc-btn--outline:hover { background: #fff; color: var(--rc-ink); box-shadow: 0 3px 0 var(--rc-ink); }
.rc-btn--outline:active { box-shadow: 0 0 0 var(--rc-ink); }
.rc-btn--header {
  font-size: 11.5px; padding: 10px 13px;
  box-shadow: 0 3px 0 var(--rc-orange-shadow);
}
.rc-btn--lg {
  justify-content: space-between;
  font-size: 15px; padding: 18px 22px;
  white-space: normal; text-align: left;
}
.rc-btn--block { width: 100%; }

/* ---------- ヘッダー ---------- */
.rc-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 4px 14px rgba(21, 21, 21, .06);
  transition: box-shadow .3s var(--rc-ease);
}
.rc-header::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: rgba(255, 253, 247, .94);
  border-radius: inherit;
  pointer-events: none;
  transition: opacity .3s var(--rc-ease);
}
/* ヒーローの上（js/recruit.js が切り替える） */
.rc-header.is-on-hero { -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.rc-header.is-on-hero::before { opacity: 0; }
.rc-header.is-on-hero .rc-brand { color: #fff; }
.rc-header.is-on-hero .rc-header-corp,
.rc-header.is-on-hero .rc-menu-btn,
.rc-header.is-on-hero .rc-nav,
.rc-header.is-on-hero .rc-chips { display: none; }
.rc-brand-logo--white,
.rc-header.is-on-hero .rc-brand-logo--dark { display: none; }
.rc-header.is-on-hero .rc-brand-logo--white { display: block; }
.rc-header.is-on-hero .rc-brand { filter: drop-shadow(0 1px 4px rgba(21, 21, 21, .18)); }
.rc-header-bar, .rc-chips { position: relative; z-index: 2; }
.rc-header-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px var(--gutter);
}
.rc-header-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: none; }
.rc-header-corp {
  display: inline-flex; align-items: center; gap: 4px;
  font: 500 11px/1.2 var(--rc-font-ja);
  color: var(--rc-text-3); white-space: nowrap;
}
.rc-header-corp:hover { text-decoration: underline; text-underline-offset: 3px; }
.rc-brand { display: inline-flex; align-items: center; gap: 7px; flex: none; }
.rc-brand:hover { color: var(--rc-ink); }
.rc-brand-logo { width: 100px; height: auto; flex: none; }
.rc-brand-sep { width: 1px; height: 14px; background: currentColor; }
.rc-brand-sub { font: 500 13px/1 var(--rc-font-ja); }

.rc-nav { display: none; }
.rc-header-actions { display: flex; align-items: center; gap: 8px; }

.rc-menu-btn {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border: 1.5px solid var(--rc-ink); border-radius: 50%;
  background: #fff; cursor: pointer; padding: 0;
}
.rc-menu-icon { width: 24px; height: 24px; }
.rc-menu-icon path {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
  transition: transform .2s var(--rc-ease);
}
.rc-menu-icon path:first-child { transform-origin: 12px 8px; }
.rc-menu-icon path:last-child { transform-origin: 12px 16px; }
.rc-menu-btn[aria-expanded="true"] path:first-child { transform: translateY(4px) rotate(45deg); }
.rc-menu-btn[aria-expanded="true"] path:last-child { transform: translateY(-4px) rotate(-45deg); }

.rc-chips {
  display: none; gap: 6px;
  overflow-x: auto;
  padding: 0 var(--gutter) 10px;
  scrollbar-width: none;
}
.rc-chips::-webkit-scrollbar { display: none; }
.rc-chips a {
  flex: none;
  border: 1px solid var(--rc-line); border-radius: 999px;
  background: #fff;
  padding: 6px 11px;
  font: 700 11px/1 var(--rc-font-ja);
  white-space: nowrap;
  transition: background-color .15s, border-color .15s;
}
.rc-chips a:hover,
.rc-chips a[aria-current="true"] { background: var(--rc-yellow); border-color: var(--rc-yellow); color: var(--rc-ink); }

.rc-menu {
  position: absolute; top: 0; left: 0; right: 0; z-index: 0;
  max-height: 100vh;
  max-height: 100dvh;
  overflow-y: auto;
  background: var(--rc-yellow);
  padding: calc(var(--rc-menu-header-h, var(--rc-header-h)) + 18px) var(--gutter) 24px;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 12px 24px rgba(21, 21, 21, .12);
}
.rc-menu-list { display: flex; flex-direction: column; }
.rc-menu-list a {
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(21, 21, 21, .15);
  padding: 13px 2px;
  font: 900 16px/1 var(--rc-font-ja);
}
.rc-menu-list a:hover { color: var(--rc-ink); }
.rc-menu-list a:hover .rc-menu-ja { text-decoration: underline; text-underline-offset: 4px; }
.rc-menu-en { width: 70px; flex: none; font: italic 800 11px/1 var(--rc-font-en); opacity: .6; }
.rc-menu-ja { flex: 1; }
.rc-menu-corp {
  display: inline-flex; gap: 6px; margin-top: 16px;
  font: 700 12px/1.4 var(--rc-font-ja);
}
.rc-menu-corp:hover { color: var(--rc-ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 359px) {
  .rc-header-actions .rc-btn--header { display: none; }
}

/* ---------- ヒーロー ----------
   見出しロゴ・CTA・ヒーローの高さは、参考サイト（recruit.i-goods.co.jp）のキービジュアルと同じ式で決める。
   楕円は見出しにかからない独自の配置：--oval-*（正方形のマスクの一辺・左端・下端からのずれ）で決め、ヒーローの下端（下の余白を含む）にそろえる。
   --kr は参考サイトの 1rem（通常 10px、1024〜1440px は 画面幅/144、400px 以下は 画面幅/40）。
   切り替え幅も参考サイトと同じ 1024px。楕円の外の背景は黄・青・紫のグラデーションを写真に合わせて切り替える。 */
.rc-hero {
  --rc-oval: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cellipse%20cx%3D%2750%27%20cy%3D%2750%27%20rx%3D%2759.1%27%20ry%3D%2738.8%27%20transform%3D%27rotate(-45%2050%2050)%27%2F%3E%3C%2Fsvg%3E");
  --rc-hero-ease: cubic-bezier(.215, .61, .355, 1);
  --kr: 10px;
  /* スマホは楕円を一回り小さくして見出しのすぐ下まで上げ、下端も曲線で見せる（写真の枠の高さは2人の写真の2人とも顔が入る範囲） */
  --oval-s: 116vw; --oval-l: -8vw; --oval-b: 24vw;
  --pad-b: calc(6.7 * var(--kr));
  position: relative;
  overflow: hidden;
  padding-bottom: var(--pad-b);
  background-color: #FFC927;
}
@media (max-width: 400px) { .rc-hero { --kr: 2.5vw; } }
/* タブレット（600〜1023px）は楕円を元の大きさ・位置に戻す */
@media (min-width: 600px) and (max-width: 1023px) { .rc-hero { --oval-s: 168vw; --oval-l: -25vw; --oval-b: -57vw; } }
@media (min-width: 1024px) and (max-width: 1440px) { .rc-hero { --kr: .69444vw; } }
.rc-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.rc-hero-bg-tone {
  position: absolute; inset: -12%;
  opacity: 0;
  transition: opacity 1.8s var(--rc-hero-ease);
  animation: rc-hero-flow 18s ease-in-out infinite alternate;
  will-change: transform;
}
.rc-hero-bg-tone--yellow {
  background-color: #FFC927;
  background-image:
    radial-gradient(at 14% 6%, #FFDE85 0px, transparent 62%),
    radial-gradient(at 46% 58%, #FFC927 0px, transparent 62%);
}
.rc-hero-bg-tone--teal {
  background-color: #50CAC6;
  background-image:
    radial-gradient(at 60% 84%, #71E3E5 0px, transparent 62%),
    radial-gradient(at 12% 28%, #50CAC6 0px, transparent 62%);
  animation-duration: 20s; animation-delay: -6s;
}
.rc-hero-bg-tone--purple {
  background-color: #A280FF;
  background-image:
    radial-gradient(at 60% 84%, #A280FF 0px, transparent 62%),
    radial-gradient(at 12% 28%, #B8A6EB 0px, transparent 62%);
  animation-duration: 16s; animation-delay: -11s;
}
.rc-hero[data-tone="yellow"] .rc-hero-bg-tone--yellow,
.rc-hero[data-tone="teal"] .rc-hero-bg-tone--teal,
.rc-hero[data-tone="purple"] .rc-hero-bg-tone--purple { opacity: 1; }
/* 質感（Grain）：ごく薄いノイズを重ねる */
.rc-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27160%27%20height%3D%27160%27%3E%3Cfilter%20id%3D%27n%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%27.9%27%20numOctaves%3D%272%27%20stitchTiles%3D%27stitch%27%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url(%23n)%27%2F%3E%3C%2Fsvg%3E") 0 0 / 160px 160px;
  opacity: .07;
  mix-blend-mode: multiply;
  pointer-events: none;
}
/* 色のかたまりが、わずかに位置と大きさを変えながら漂う */
@keyframes rc-hero-flow {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(-4%, 3%, 0) rotate(3deg) scale(1.06); }
  100% { transform: translate3d(3%, -2%, 0) rotate(-2deg) scale(1.03); }
}
/* 写真の枠（参考サイトの .home-kv__slider） */
.rc-hero-inner {
  position: relative;
  height: min(calc(100svh - 3.7 * var(--kr)), calc(683 / 400 * 100vw), calc(102.4 * var(--kr)));
}
/* 楕円の面はヒーローの下の余白まで広げ、楕円の下端をセクションの下端にそろえる */
.rc-hero-visual { position: absolute; top: 0; right: 0; bottom: calc(var(--pad-b) * -1); left: 0; pointer-events: none; }
.rc-hero-stage {
  position: absolute; inset: 0;
  -webkit-mask-image: var(--rc-oval); mask-image: var(--rc-oval);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: var(--oval-s) var(--oval-s); mask-size: var(--oval-s) var(--oval-s);
  -webkit-mask-position: left var(--oval-l) bottom var(--oval-b); mask-position: left var(--oval-l) bottom var(--oval-b);
}
.rc-hero-slide {
  /* 上端は楕円のいちばん上にそろえ、写真が楕円の手前で水平に切れないようにする */
  position: absolute; top: max(0px, calc(100% - var(--oval-s) - var(--oval-b))); right: 0; bottom: max(0px, var(--oval-b)); left: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.8s var(--rc-hero-ease);
}
.rc-hero-slide.is-active { opacity: 1; }
/* 写真ごとの構図：--ph-pos（切り抜く位置）、--ph-s（拡大率）、--ph-o（拡大の基準点）で顔が見える位置に合わせる */
.rc-hero-slide picture {
  display: block; width: 100%; height: 100%;
  transform: scale(var(--ph-s, 1)); transform-origin: var(--ph-o, 50% 50%);
}
.rc-hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--ph-pos, 50% 50%); transform-origin: var(--ph-o, 50% 50%); }
.rc-hero-slide.is-zoom img { animation: rc-hero-zoom 10s linear forwards; }
@keyframes rc-hero-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
/* スマホ：楕円の中に顔が収まる位置で切り抜く（拡大はしない） */
.rc-hero-slide--table { --ph-pos: 26% 30%; }
.rc-hero-slide--walk { --ph-pos: 34% 35%; }
.rc-hero-slide--face { --ph-pos: 48% 25%; }
.rc-focus-right { object-position: 78% 40%; }
/* 英語のキャッチ＋見出しロゴ：参考サイトのキャッチ（.home-kv__catch-ja）と見出し画像（.home-kv__title）と同じ左上・幅 */
.rc-hero-copy {
  position: absolute; z-index: 2;
  top: calc(80 / 684 * 100%); left: 8.75%;
  width: calc(30 * var(--kr));
}
.rc-hero-catch {
  font: 600 max(11px, calc(1.2 * var(--kr)))/1.6 'Jost', var(--rc-font-en);
  letter-spacing: .06em;
  white-space: nowrap;
}
/* ロゴはキャッチより少し左下にずらす */
.rc-hero-title { margin-top: calc(1.8 * var(--kr)); margin-left: calc(-1.2 * var(--kr)); }
.rc-hero-title img { display: block; width: 100%; height: auto; }

/* 「まずは話を聞く」：参考サイトのエントリーバナー（.p-banner.-small）と同じ位置・寸法。トリゴンはボタンの上と右へはみ出させる */
.rc-hero-cta {
  position: absolute; z-index: 3;
  right: calc(1.9 * var(--kr)); bottom: calc(-1.8 * var(--kr));
}
.rc-hero-talk {
  position: relative;
  display: flex; align-items: center;
  width: calc(17.2 * var(--kr)); height: calc(6.2 * var(--kr));
  padding-left: calc(2 * var(--kr));
  background: var(--rc-orange); color: #fff;
  border-radius: calc(2.5 * var(--kr));
  box-shadow: var(--kr) var(--kr) 0 rgba(0, 0, 0, .3);
  transition: background-color .3s var(--rc-ease);
}
.rc-hero-talk:hover { color: #fff; background: var(--rc-orange-hover); }
.rc-hero-talk-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: calc(.3 * var(--kr)); }
.rc-hero-talk-en {
  display: flex; align-items: center; gap: calc(.5 * var(--kr));
  font: italic 800 calc(1.4 * var(--kr))/1 var(--rc-font-en); white-space: nowrap;
}
.rc-hero-talk-ja { font: 700 max(8px, calc(.8 * var(--kr)))/1.2 var(--rc-font-ja); white-space: nowrap; }
.rc-hero-talk-arrow {
  display: grid; place-items: center;
  width: calc(1.7 * var(--kr)); height: calc(1.7 * var(--kr)); border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .85);
  font: 700 calc(.9 * var(--kr))/1 var(--rc-font-ja); font-style: normal;
}
.rc-hero-talk-trigon {
  position: absolute;
  width: calc(8.6 * var(--kr)); bottom: 0; right: calc(-1.4 * var(--kr));
  pointer-events: none;
}
.rc-hero-talk-trigon img { display: block; width: 100%; height: auto; transform-origin: 50% 100%; transition: transform .4s var(--rc-ease); }
.rc-hero-talk:hover .rc-hero-talk-trigon img { transform: rotate(-4deg) scale(1.05); }
.rc-hero-lead {
  margin: 26px 0 4px;
  font: 700 17px/1.4 var(--rc-font-ja);
  letter-spacing: .08em;
}
.rc-hero-en { font: 500 11px/1.5 var(--rc-font-en); color: var(--rc-text-3); }
.rc-hero-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.rc-hero-note {
  font: 500 11px/1.5 var(--rc-font-ja);
  color: var(--rc-text-3);
  text-align: center;
}

/* ---------- 波の区切り ---------- */
.rc-wave {
  height: clamp(44px, 5vw, 80px);
  margin-top: -1px;
  background: var(--wave-bottom);
  line-height: 0;
}
.rc-wave svg { width: 100%; height: 100%; }
.rc-wave path { fill: var(--wave-top); }
.rc-wave--flip svg { transform: scaleX(-1); }
.rc-wave--gap { margin-top: 30px; }
/* 締めのCTAの上下：写真スライダーの上に重ねて、波の線で写真を切る */
.rc-wave--over { position: relative; z-index: 2; }
.rc-wave .rc-wave-under { fill: var(--footer); }
/* 端数倍率でも波とフッターの間に継ぎ目が出ないよう、同色部分を1px重ねる */
.rc-wave--over:has(.rc-wave-under) {
  background: linear-gradient(transparent calc(100% - 2px), var(--footer) 0);
  margin-bottom: -1px;
}

/* ---------- Pick Up ---------- */
.rc-pickup { padding-top: 26px; padding-bottom: 36px; }
.rc-pickup .rc-sub { margin-bottom: 16px; }
.rc-pick-grid { display: flex; flex-direction: column; gap: 12px; }
.rc-pick {
  display: grid; grid-template-columns: 1fr 130px;
  min-height: 150px;
  overflow: hidden;
  transition: transform .25s var(--rc-ease);
}
.rc-pick:hover { color: var(--rc-ink); transform: rotate(-.6deg); }
.rc-pick--teal:hover { transform: rotate(.6deg); }
.rc-pick--yellow { background: var(--rc-yellow); }
.rc-pick--teal { background: var(--rc-teal); }
.rc-pick--purple { background: var(--rc-purple); }
.rc-pick-body {
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  padding: 16px 0 16px 16px;
}
.rc-pick-title { display: flex; align-items: center; gap: 10px; font: 900 18px/1.2 var(--rc-font-ja); }
.rc-pick-no { flex: none; font: 900 36px/1 var(--rc-font-en); }
.rc-pick-label { flex: 1; min-width: 0; container-type: inline-size; --rc-pick-label-chars: 3; }
.rc-pick-label--long { --rc-pick-label-chars: 4; }
.rc-pick-label-text {
  display: block;
  font-size: min(1em, calc((100cqw - 1px) / var(--rc-pick-label-chars)));
  white-space: nowrap;
}
.rc-pick-tags { display: flex; flex-direction: column; gap: 6px; }
.rc-pick-media { position: relative; padding: 8px 8px 8px 12px; }
.rc-pick-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.rc-pick-media picture { display: block; width: 100%; height: 100%; }
/* 顔が入るよう上寄りで切り抜く */
.rc-pick-photo--growth { object-position: 50% 28%; }
.rc-pick-hand {
  position: absolute; left: 4px; bottom: 10px;
  color: #fff; font-size: 22px;
  transform: rotate(-14deg);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.rc-pick-hand--r { left: auto; right: 6px; }

/* ---------- About ---------- */
.rc-about { background: var(--rc-mint); padding-top: 36px; padding-bottom: 40px; }
.rc-about-grid { display: grid; }
.rc-about-visual { position: relative; height: 230px; margin: 24px calc(var(--gutter) * -1) 0 0; }
.rc-about-photo {
  position: absolute; inset: 0;
  transform: rotate(2deg);
  border-radius: 10px 0 0 4px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
}
.rc-about-photo picture { display: block; width: 100%; height: 100%; }
.rc-about-photo img { width: 100%; height: 100%; object-fit: cover; }
.rc-about-note {
  position: absolute; left: 10px; top: -14px;
  background: #fff; padding: 6px 10px;
  font-size: 20px; line-height: 1;
  transform: rotate(-5deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
}
@media (max-width: 599px) {
  .rc-about-visual { container-type: inline-size; }
  .rc-about-note {
    font-size: min(20px, calc((100cqw - 40px) / 13));
    white-space: nowrap;
  }
}
.rc-about-tape {
  position: absolute; left: -8px; bottom: -22px;
  background: var(--rc-tape);
  padding: 10px 14px;
  font: 900 15px/1.5 var(--rc-font-ja);
  transform: rotate(-3deg);
  box-shadow: 0 3px 0 rgba(0, 0, 0, .08);
}
.rc-about-dot {
  position: absolute; right: 20px; bottom: -16px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--rc-orange);
}
.rc-about-more { margin-top: 44px; }
.rc-about-text { font: 500 clamp(14px, 1.2vw, 17px)/1.9 var(--rc-font-ja); max-width: 34em; }
/* 活動写真のスライダー（16:9）。2つ目のリストは継ぎ目なく流すための複製 */
.rc-about-slider { margin-top: 40px; overflow: hidden; }
.rc-about-slider-track { display: flex; width: max-content; }
.rc-about-slider:hover .rc-about-slider-track { animation-play-state: paused; }
.rc-about-slider-list { display: flex; gap: 12px; padding-right: 12px; }
.rc-about-slider-list li {
  flex: none;
  width: 240px; aspect-ratio: 16 / 9;
  border-radius: 18px 18px 18px 6px;
  overflow: hidden;
  background: #fff;
}
.rc-about-slider-list img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  .rc-about-slider { overflow-x: auto; }
}

/* ---------- Project ---------- */
.rc-work { background: var(--rc-cream); padding-top: 36px; padding-bottom: 40px; }
.rc-work .rc-text { margin-bottom: 22px; }
.rc-work-track {
  display: flex; gap: 12px;
  margin-top: var(--rc-heading-gap);
  overflow-x: auto;
  padding: 4px var(--gutter) 12px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.rc-work-track::-webkit-scrollbar { display: none; }
.rc-work-card {
  flex: none; width: 260px;
  background: #fff;
  border-radius: 36px 36px 36px 10px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 4px 0 rgba(21, 21, 21, .08);
}
.rc-work-media { position: relative; height: 160px; }
.rc-work-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rc-work-tag {
  position: absolute; left: 12px; top: 12px;
  background: var(--tag); color: #fff;
  padding: 6px 10px; border-radius: 10px;
  font: 700 11px/1 var(--rc-font-ja);
}
.rc-work-tape {
  position: absolute; right: 10px; bottom: -12px;
  padding: 7px 10px;
  font: 900 13px/1.35 var(--rc-font-ja);
  transform: rotate(-4deg);
}
.rc-work-body { padding: 22px 16px 18px; }
.rc-work-no { margin-bottom: 6px; font: italic 800 11px/1 var(--rc-font-en); color: #888; }
.rc-work-body h4 { margin-bottom: 8px; font: 900 17px/1.4 var(--rc-font-ja); }
.rc-work-body p { font: 500 12.5px/1.75 var(--rc-font-ja); color: var(--rc-text-2); }
.rc-swipe-hint {
  margin-top: 4px; padding-inline: var(--gutter);
  font: 500 11px/1 var(--rc-font-ja); color: #888;
}

/* ---------- Program ---------- */
.rc-program { padding-block: 40px; }
.rc-target {
  display: inline-flex; align-items: center;
  margin: 0 0 18px;
  background: var(--rc-ink); color: #fff;
  border-radius: 999px; padding: 7px 14px;
  font: 700 12px/1 var(--rc-font-ja);
}
.rc-prog-grid { display: flex; flex-direction: column; gap: 14px; }
.rc-prog { position: relative; overflow: hidden; }
.rc-prog--orange { background: var(--rc-orange); color: #fff; }
.rc-prog--teal { background: var(--rc-teal); color: var(--rc-ink); }
.rc-prog-head { padding: 20px 18px 0; }
.rc-prog-name { font: italic 900 27px/1 var(--rc-font-en); letter-spacing: -.01em; }
.rc-prog-catch { margin-top: 6px; font: 900 16px/1.3 var(--rc-font-ja); }
.rc-prog-main { display: grid; grid-template-columns: 1fr 120px; gap: 8px; align-items: end; }
.rc-prog-body { display: flex; flex-direction: column; gap: 9px; padding: 14px 0 20px 18px; }
.rc-prog-point { display: flex; align-items: flex-start; gap: 8px; font: 700 13px/1.5 var(--rc-font-ja); }
.rc-prog-bullet {
  flex: none; width: 6px; height: 6px;
  margin: calc(.75em - 3px) 3px 0;
  border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent);
}
.rc-prog-desc { font: 500 11.5px/1.6 var(--rc-font-ja); opacity: .95; }
.rc-prog-media { position: relative; height: 150px; padding: 0 8px 8px 0; }
.rc-prog-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.rc-prog-media picture { display: block; width: 100%; height: 100%; }
.rc-prog-photo--chapter { object-position: 50% 30%; }
.rc-prog-hand {
  position: absolute; right: 4px; bottom: 8px;
  font-size: 20px; text-align: right;
  transform: rotate(-12deg);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.rc-prog--orange .rc-prog-hand { color: #fff; }
.rc-prog--teal .rc-prog-hand { color: #fff; }

/* ---------- People ---------- */
.rc-people { background: var(--rc-blush); padding-block: 40px; }
.rc-people .rc-sub { margin-bottom: 18px; }
.rc-people .rc-text { margin-bottom: 22px; }
.rc-people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rc-person {
  display: flex; flex-direction: column;
  background: var(--card);
  border-radius: 32px 32px 32px 10px;
  overflow: hidden;
}
.rc-person-media { position: relative; height: 130px; }
.rc-person-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rc-person-label {
  position: absolute; left: 10px; top: 10px;
  background: var(--rc-ink); color: #fff;
  padding: 5px 8px; border-radius: 10px;
  font: 900 12px/1 var(--rc-font-ja);
}
.rc-person-body { padding: 12px 12px 14px; }
.rc-person-quote {
  position: relative;
  margin-top: -28px;
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  font: 900 13.5px/1.45 var(--rc-font-ja);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .08);
}
.rc-person-body p:last-child { margin-top: 10px; font: 500 11.5px/1.7 var(--rc-font-ja); }

/* ---------- How to Grow ---------- */
.rc-learn { padding: 40px 0 30px; }
.rc-learn .rc-sub { margin-bottom: 22px; }
/* 得られるものマップ（自分カルテ） */
.rc-record-title { margin-bottom: 18px; }
.rc-record-body { display: grid; gap: 18px; }
.rc-record-media { margin: 0; }
.rc-record-media img { display: block; width: 100%; height: auto; }
.rc-record-text { font: 500 13.5px/1.9 var(--rc-font-ja); color: var(--rc-text); }

/* ---------- 成長マップ ----------
   画像の5枚の葉に透明なボタンを重ね、ホバー・タップで葉の形のカード（.rc-map-pop）をポップアップさせる。
   葉の位置（--x, --y）は画像 2000×1463 上の位置。カードの位置は js/recruit.js が画像の外にはみ出さないよう決める。 */
.rc-map {
  --leaf: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cellipse%20cx%3D%2750%27%20cy%3D%2750%27%20rx%3D%2759.1%27%20ry%3D%2738.8%27%20transform%3D%27rotate(-45%2050%2050)%27%2F%3E%3C%2Fsvg%3E");
  position: relative;
  max-width: 1100px;
  margin: 0 auto clamp(28px, 4vw, 56px);
}
.rc-map > img { display: block; width: 100%; height: auto; }
.rc-map-leaf {
  position: absolute; left: var(--x); top: var(--y);
  width: 10.7%; aspect-ratio: 214 / 212;
  padding: 0; border: 0; background: transparent; cursor: pointer;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}
/* 押せることを示す小さな「＋」 */
.rc-map-leaf::after {
  content: "+";
  position: absolute; right: -14%; top: -12%;
  display: grid; place-items: center;
  width: clamp(14px, 2.2vw, 28px); aspect-ratio: 1; border-radius: 50%;
  background: var(--rc-orange); color: #fff;
  font: 900 clamp(11px, 1.5vw, 18px)/1 var(--rc-font-en);
  box-shadow: 0 0 0 0 rgba(255, 106, 43, .5);
  animation: rc-map-pulse 2.4s ease-out infinite;
}
.rc-map-leaf[aria-expanded="true"]::after { content: "−"; animation: none; }
.rc-map-leaf:focus-visible { outline: 3px solid var(--rc-ink); outline-offset: 2px; }
@keyframes rc-map-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 106, 43, .5); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(255, 106, 43, 0); }
}
/* 葉の形のカード（画像の葉と同じ楕円） */
.rc-map-pop {
  position: absolute; z-index: 5; left: 0; top: 0;
  width: clamp(270px, 36%, 420px); aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35em;
  padding: 0;
  background: var(--rc-yellow);
  -webkit-mask: var(--leaf) center / 100% 100% no-repeat; mask: var(--leaf) center / 100% 100% no-repeat;
  text-align: center;
  filter: drop-shadow(0 10px 18px rgba(21, 21, 21, .18));
  pointer-events: none;
  visibility: hidden; opacity: 0;
  transform: scale(.3) rotate(-8deg);
  transform-origin: var(--ox, 50%) var(--oy, 50%);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), opacity .2s ease, visibility 0s .45s;
}
.rc-map-pop.is-open {
  visibility: visible; opacity: 1;
  transform: scale(1) rotate(0deg);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), opacity .2s ease, visibility 0s;
}
.rc-map-pop-range { font: 700 clamp(10px, 1vw, 13px)/1.2 var(--rc-font-en); letter-spacing: .06em; color: var(--rc-orange-shadow); }
.rc-map-pop-title { font: 900 clamp(15px, 1.6vw, 22px)/1.25 var(--rc-font-ja); }
.rc-map-pop-text { font: 500 clamp(10.5px, .95vw, 13px)/1.55 var(--rc-font-ja); text-align: left; }
/* 文字は楕円の内側に収まる幅（カードの幅の約62%）にする */
.rc-map-pop > * { max-width: 64%; }
@media (prefers-reduced-motion: reduce) {
  .rc-map-leaf::after { animation: none; }
  .rc-map-pop, .rc-map-pop.is-open { transform: none; transition: opacity .01ms; }
}

/* ---------- Entry Flow ---------- */
.rc-flow { padding: 10px var(--gutter) 0; }
.rc-flow-card {
  position: relative;
  overflow: hidden;
  padding: 24px 18px 22px;
  background: var(--rc-purple);
  border-radius: 40px 12px 40px 40px;
}
/* 右上の黄色い円と、左下のオレンジの丸（飾り） */
.rc-flow-card::before,
.rc-flow-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.rc-flow-card::before { right: -42px; top: -46px; width: 104px; height: 104px; background: var(--rc-yellow); }
.rc-flow-card::after { left: -14px; bottom: -14px; width: 46px; height: 46px; background: var(--rc-orange); }
.rc-flow-card > * { position: relative; z-index: 1; }
.rc-flow-hand { display: none; }
.rc-flow-badge {
  display: inline-block;
  margin: 6px 0 16px;
  background: #fff; color: var(--rc-ink);
  padding: 5px 9px; border-radius: 10px;
  font: 700 10.5px/1 var(--rc-font-ja);
}
.rc-flow-list { display: flex; flex-direction: column; gap: 14px; }
.rc-flow-list li {
  position: relative;
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start;
  background: #fff;
  border-radius: 18px 18px 18px 6px;
  padding: 12px;
  box-shadow: 0 4px 0 rgba(21, 21, 21, .12);
}
/* 次のステップへの矢印（スマホは下向き） */
.rc-flow-list li:not(:last-child)::after {
  content: "";
  position: absolute; left: 25px; bottom: -13px;
  width: 14px; height: 10px;
  background: var(--rc-ink);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.rc-flow-no {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--dot); color: var(--rc-ink);
  border: 2px solid var(--rc-ink);
  font: 900 16px/1 var(--rc-font-en);
}
.rc-flow-list h3 { font: 900 15px/1.3 var(--rc-font-ja); }
.rc-flow-list p { margin-top: 4px; font: 500 12px/1.65 var(--rc-font-ja); color: var(--rc-text-2); }

/* ---------- Requirements ---------- */
.rc-terms { padding: 44px 0 20px; }
.rc-terms-table {
  background: #fff;
  border: 2px solid var(--rc-ink);
  border-radius: 32px 32px 32px 10px;
  overflow: hidden;
}
.rc-terms-table > div { display: grid; grid-template-columns: 92px 1fr; }
.rc-terms-table > div + div { border-top: 1px solid rgba(21, 21, 21, .1); }
.rc-terms-table dt {
  padding: 13px 12px;
  background: var(--rc-cream);
  font: 700 12px/1.5 var(--rc-font-ja);
}
.rc-terms-table dd { padding: 13px 14px; font: 500 12.5px/1.6 var(--rc-font-ja); }
.rc-terms-table address { font-style: normal; }
/* 住所の下の空きに、PCを操作するトリゴン（PCの2列表示のときだけ） */
.rc-terms-trigon { display: none; }
.rc-terms-map {
  margin-top: 10px;
  max-width: 640px;
  border: 1px solid var(--rc-line);
  border-radius: 16px;
  overflow: hidden;
}
.rc-terms-map iframe { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; border: 0; }
@media (min-width: 600px) {
  .rc-terms-map iframe { aspect-ratio: 16 / 10; }
}

/* ---------- FAQ（チャット風） ---------- */
.rc-faq { padding: 30px 0 44px; }
.rc-chat {
  background: var(--rc-cream);
  border-radius: 32px 32px 32px 10px;
  padding: 18px 14px 20px;
}
.rc-chat-head {
  display: flex; align-items: center; gap: 10px;
  padding: 0 4px 14px; margin-bottom: 14px;
  border-bottom: 1.5px dashed rgba(21, 21, 21, .15);
}
.rc-chat-name { margin: 0; font: 900 16px/1.2 var(--rc-font-ja); }
.rc-avatar {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(21, 21, 21, .08);
}
.rc-avatar img {
  width: 76%; height: 76%; object-fit: contain;
  /* 三角形のロゴは、見た目の重心に合わせて少し右へ補正する。 */
  transform: translateX(8%);
}
.rc-avatar--lg { width: 36px; height: 36px; }
.rc-chat-list { display: flex; flex-direction: column; gap: 12px; }
.rc-qa { display: flex; flex-direction: column; gap: 8px; }
.rc-qa summary {
  align-self: flex-end;
  max-width: min(86%, 560px);
  margin-left: auto;
  list-style: none;
  background: #fff;
  border-radius: 22px 22px 6px 22px;
  padding: 12px 16px;
  font: 700 13px/1.55 var(--rc-font-ja);
  box-shadow: 0 2px 0 rgba(21, 21, 21, .08);
  cursor: pointer;
  transition: background-color .2s;
}
.rc-qa summary::-webkit-details-marker { display: none; }
.rc-qa summary:hover { background: #E0F6F6; }
.rc-qa[open] summary { background: var(--rc-teal); }
.rc-answer {
  display: flex; align-items: flex-end; gap: 8px;
  max-width: min(92%, 640px);
  margin-top: 8px;
}
.rc-answer p {
  background: #fff;
  border-radius: 22px 22px 22px 6px;
  padding: 12px 16px;
  font: 500 12.5px/1.8 var(--rc-font-ja);
  color: var(--rc-text);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}

/* ---------- Final CTA ---------- */
.rc-contact { --wave-h: clamp(44px, 5vw, 80px); position: relative; background: var(--rc-yellow); }
/* 写真は上の波の上端から下の波の下端まで。波（z-index: 2）がその上に重なる */
.rc-contact-slider {
  position: absolute; z-index: 1; left: 0; right: 0;
  top: calc(var(--wave-h) * -1); bottom: calc(var(--wave-h) * -1 + 3px);
  overflow: hidden;
  pointer-events: none;
}
.rc-contact-slider-track { display: flex; width: max-content; height: 100%; }
.rc-contact-slider-list { display: flex; height: 100%; }
.rc-contact-slider-list li { flex: none; height: 100%; aspect-ratio: 3 / 4; }
.rc-contact-slider-list picture, .rc-contact-slider-list img { display: block; width: 100%; height: 100%; }
.rc-contact-slider-list img { object-fit: cover; }
/* 薄い黄色の膜（スマホは全体を均一に） */
.rc-contact-slider::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255, 201, 40, .72);
}
@media (prefers-reduced-motion: reduce) {
  .rc-contact-slider-track { animation: none; }
}
.rc-contact-inner { position: relative; z-index: 3; padding: 44px var(--gutter) 40px; }
.rc-contact-copy { position: relative; }
.rc-contact-title { margin-top: 120px; }
.rc-contact-title img { display: block; width: min(100%, 340px); height: auto; }
.rc-contact-lead { margin: 26px 0 22px; font: 700 14px/1.8 var(--rc-font-ja); }
.rc-contact-actions { display: flex; flex-direction: column; gap: 10px; }
.rc-contact-actions .rc-btn { padding-block: 19px; }
.rc-contact-actions .rc-btn--outline { padding-block: 17px; }
.rc-contact-note { margin-top: 14px; font: 500 11px/1.6 var(--rc-font-ja); color: rgba(21, 21, 21, .75); }
.rc-contact-note a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 追従CTA（スマホのみ） ---------- */
.rc-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 247, .95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, .06);
  transition: transform .3s var(--rc-ease);
}
.rc-sticky .rc-btn { padding: 14px 8px; box-shadow: none; }
.rc-sticky .rc-btn--outline { padding-block: 12px; }
.rc-sticky.is-hidden,
.rc-menu-open .rc-sticky { transform: translateY(110%); }

/* ==========================================================================
   タブレット以上
   ========================================================================== */
@media (min-width: 600px) {
  .rc-pick-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .rc-pick-grid > :last-child { grid-column: 1 / -1; }
  .rc-about-visual { height: 320px; }
  .rc-work-card { width: 300px; }
  .rc-prog-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .rc-people-grid { grid-template-columns: repeat(4, 1fr); }
  .rc-person-media { height: 160px; }
  .rc-flow-list { display: grid; grid-template-columns: 1fr 1fr; }
  .rc-flow-list li:not(:last-child)::after { display: none; }
  .rc-terms-table > div { grid-template-columns: 140px 1fr; }
  .rc-contact-actions { flex-direction: row; }
  .rc-contact-actions .rc-btn { flex: 1; }
}

/* ==========================================================================
   PC
   ========================================================================== */
@media (min-width: 900px) {
  :root { --rc-header-h: 112px; }

  .rc-header { border-radius: 0 0 28px 28px; }
  .rc-header-bar { padding-block: 14px; }
  .rc-brand-logo { width: 128px; }
  .rc-brand-sub { font-size: 14px; }
  .rc-btn--header { font-size: 13px; padding: 12px 18px; }
  .rc-chips { display: flex; }
  .rc-chips a { font-size: 12px; padding: 7px 13px; }

  .rc-btn--lg { font-size: 16px; padding: 20px 26px; }
  .rc-title--xl { font-size: clamp(29px, 3.4vw, 52px); }
  .rc-title--lg { font-size: clamp(27px, 3.2vw, 46px); }

  .rc-hero-lead { margin-top: clamp(32px, 3.4vw, 52px); font-size: clamp(18px, 1.8vw, 26px); }
  .rc-hero-en { font-size: clamp(12px, 1vw, 15px); }

  /* Pick Up：3列 */
  .rc-pickup { padding-top: clamp(40px, 4vw, 64px); padding-bottom: clamp(56px, 6vw, 96px); }
  .rc-pick-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
  .rc-pick-grid > :last-child { grid-column: auto; }
  .rc-pick { grid-template-columns: 1fr 38%; min-height: clamp(190px, 17vw, 260px); }
  .rc-pick-body { padding: clamp(20px, 2vw, 28px) 0 clamp(20px, 2vw, 28px) clamp(20px, 2vw, 28px); }
  .rc-pick-title { font-size: clamp(17px, 1.45vw, 22px); }
  .rc-pick-no { font-size: clamp(34px, 3.2vw, 48px); }
  .rc-pill { font-size: clamp(11px, .9vw, 12.5px); padding: 10px clamp(10px, 1vw, 14px); white-space: nowrap; }
  .rc-pick-media { padding: 10px 10px 10px 14px; }
  .rc-pick-hand { font-size: clamp(22px, 2vw, 30px); }

  /* About：見出し・本文左、写真右 */
  .rc-about { padding-block: clamp(56px, 7vw, 120px); }
  .rc-about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(40px, 6vw, 110px);
  }
  .rc-about-copy { grid-column: 1; grid-row: 1; }
  .rc-about-more { grid-column: 1; grid-row: 2; margin-top: clamp(28px, 3vw, 44px); }
  .rc-about-visual {
    grid-column: 2; grid-row: 1 / span 2;
    height: auto; min-height: clamp(380px, 34vw, 560px);
    margin: 20px calc(var(--gutter) * -1) 40px 0;
  }
  .rc-about-note { font-size: clamp(22px, 2vw, 30px); left: 24px; top: -20px; }
  .rc-about-tape { font-size: clamp(15px, 1.4vw, 21px); left: -24px; bottom: -28px; padding: 14px 20px; }
  .rc-about-dot { width: 48px; height: 48px; right: 48px; bottom: -22px; }
  .rc-about-slider { margin-top: clamp(16px, 2vw, 32px); }
  .rc-about-slider-list { gap: clamp(12px, 1.4vw, 22px); padding-right: clamp(12px, 1.4vw, 22px); }
  .rc-about-slider-list li { width: clamp(300px, 26vw, 460px); border-radius: 28px 28px 28px 8px; }

  /* Project：3列 */
  .rc-work { padding-block: clamp(56px, 6vw, 104px); }
  .rc-work .rc-text { margin-bottom: clamp(28px, 3vw, 44px); }
  .rc-work-track {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.8vw, 28px);
    overflow: visible;
    padding-bottom: 8px;
  }
  .rc-work-card { width: auto; }
  .rc-work-media { height: auto; aspect-ratio: 16 / 10; }
  /* 7枚目は2列分に広げて最後の段を埋める。写真と本文を横に並べ、高さは同じ段のカードにそろえる */
  .rc-work-card--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
  .rc-work-card--wide .rc-work-media { aspect-ratio: auto; height: 100%; min-height: 220px; }
  .rc-work-card--wide .rc-work-tape { bottom: 14px; }
  .rc-work-body { padding: 28px clamp(18px, 1.8vw, 28px) 26px; }
  .rc-work-body h4 { font-size: clamp(17px, 1.5vw, 22px); }
  .rc-work-body p { font-size: clamp(13px, 1.05vw, 15px); }
  .rc-work-tape { font-size: clamp(13px, 1.1vw, 16px); padding: 8px 12px; }
  .rc-swipe-hint { display: none; }

  /* Program：2列 */
  .rc-program { padding-block: clamp(56px, 6vw, 104px); }
  .rc-target { margin: 0 0 clamp(20px, 2.4vw, 32px); font-size: 14px; padding: 9px 18px; }
  .rc-prog-grid { gap: clamp(16px, 1.8vw, 28px); }
  .rc-prog-head { padding: clamp(28px, 2.6vw, 40px) clamp(24px, 2.4vw, 40px) 0; }
  .rc-prog-name { font-size: clamp(30px, 3vw, 46px); }
  .rc-prog-catch { font-size: clamp(16px, 1.5vw, 22px); }
  .rc-prog-main { grid-template-columns: 1fr 38%; }
  .rc-prog-body { padding: 18px 0 clamp(26px, 2.6vw, 40px) clamp(24px, 2.4vw, 40px); gap: 12px; }
  .rc-prog-point { font-size: clamp(13px, 1.15vw, 16px); }
  .rc-prog-desc { font-size: clamp(12px, 1vw, 14px); }
  .rc-prog-media { height: clamp(170px, 16vw, 250px); padding: 0 14px 14px 0; }
  .rc-prog-hand { font-size: clamp(22px, 2vw, 30px); right: 12px; bottom: 16px; }

  /* People：4列 */
  .rc-people { padding-block: clamp(56px, 6vw, 104px); }
  .rc-people .rc-text { margin-bottom: clamp(28px, 3vw, 44px); }
  .rc-people-grid { gap: clamp(12px, 1.4vw, 22px); }
  .rc-person { border-radius: 36px 36px 36px 10px; }
  .rc-person-media { height: auto; aspect-ratio: 4 / 3; }
  .rc-person-label { font-size: 13px; padding: 6px 10px; left: 14px; top: 14px; }
  .rc-person-body { padding: 16px 16px 20px; }
  .rc-person-quote { font-size: clamp(14px, 1.25vw, 18px); padding: 10px 14px; margin-top: -34px; }
  .rc-person-body p:last-child { font-size: clamp(12px, 1vw, 14px); }
  .rc-note { font-size: 12px; }

  /* How to Grow：横並び4段階 */
  .rc-learn { padding: clamp(56px, 6vw, 104px) 0 clamp(40px, 4vw, 64px); }
  .rc-record-title { margin-bottom: clamp(24px, 3vw, 44px); }
  .rc-record-body { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 4vw, 64px); }
  .rc-record-text { font-size: clamp(14px, 1.15vw, 17px); line-height: 2; }

  /* Entry Flow：4列 */
  .rc-flow-card { padding: clamp(32px, 3.4vw, 56px) clamp(28px, 3.4vw, 56px); border-radius: 56px 16px 56px 56px; }
  .rc-flow-card::before { width: clamp(200px, 20vw, 300px); height: clamp(200px, 20vw, 300px); right: -60px; top: -90px; }
  .rc-flow-card::after { width: 72px; height: 72px; left: -22px; bottom: -22px; }
  .rc-flow-hand {
    display: block;
    position: absolute; right: clamp(40px, 5vw, 90px); top: clamp(26px, 2.6vw, 40px);
    font-size: clamp(28px, 2.6vw, 40px); text-align: right;
    transform: rotate(-10deg);
  }
  .rc-flow-badge { font-size: 12px; padding: 6px 12px; margin-bottom: 24px; }
  .rc-flow-list { --flow-gap: 24px; grid-template-columns: repeat(4, 1fr); gap: var(--flow-gap); }
  .rc-flow-list li { grid-template-columns: 1fr; gap: 14px; padding: 20px; border-radius: 22px 22px 22px 8px; box-shadow: 0 5px 0 rgba(21, 21, 21, .14); }
  /* PCは右向きの矢印をカードの間に置く */
  .rc-flow-list li:not(:last-child)::after {
    display: block;
    left: auto; bottom: auto;
    right: calc(var(--flow-gap) / -2 - 5px); top: 50%;
    width: 10px; height: 14px;
    transform: translateY(-50%);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
  }
  .rc-flow-no { width: 48px; height: 48px; font-size: 19px; }
  .rc-flow-list h3 { font-size: clamp(15px, 1.3vw, 19px); }
  .rc-flow-list p { font-size: clamp(12px, 1vw, 14px); }

  /* Requirements：2列の表 */
  .rc-terms { padding: clamp(56px, 6vw, 104px) 0 clamp(28px, 3vw, 48px); }
  .rc-terms-table { display: grid; grid-template-columns: 1fr 1fr; border-radius: 40px 40px 40px 12px; }
  .rc-terms-table > div { grid-template-columns: 150px 1fr; border-top: 1px solid rgba(21, 21, 21, .1); }
  .rc-terms-table > div:nth-child(-n + 2) { border-top: 0; }
  .rc-terms-table > div:nth-child(even) { border-left: 1px solid rgba(21, 21, 21, .1); }
  .rc-terms-table dt { padding: 18px 20px; font-size: 14px; }
  .rc-terms-table dd { padding: 18px 22px; font-size: 14.5px; }
  /* 活動場所（地図つき）は最後の行に全幅で置き、住所と地図を横に並べる */
  .rc-terms-table > .rc-terms-place { grid-column: 1 / -1; grid-template-columns: 150px 1fr; border-left: 0; }
  .rc-terms-place dd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px; align-items: start; }
  .rc-terms-place .rc-terms-map { margin-top: 0; max-width: none; }
  .rc-terms-place-text { display: flex; flex-direction: column; align-self: stretch; }
  .rc-terms-trigon { display: block; width: min(100%, 240px); margin: auto auto 0; padding-top: 16px; }
  .rc-terms-trigon img { display: block; width: 100%; height: auto; }

  /* FAQ：見出し左・チャット右 */
  .rc-faq { padding: clamp(36px, 4vw, 64px) 0 clamp(56px, 6vw, 96px); }
  .rc-faq-grid { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2.4fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
  .rc-faq-grid > .rc-head { position: sticky; top: calc(var(--rc-header-h) + 8px); }
  .rc-chat { padding: 28px 28px 32px; border-radius: 40px 40px 40px 12px; }
  .rc-chat-name { font-size: 18px; }
  .rc-qa summary { font-size: 15px; padding: 14px 20px; }
  .rc-answer p { font-size: 14px; padding: 14px 20px; }
  .rc-avatar { width: 34px; height: 34px; }
  .rc-avatar--lg { width: 44px; height: 44px; }

  /* Final CTA：見出しは左。写真の膜は見出し側を濃くする */
  .rc-wave--gap { margin-top: 0; }
  .rc-contact-inner {
    display: flex; align-items: center;
    min-height: clamp(560px, 46vw, 760px);
    padding-block: clamp(56px, 6vw, 104px);
  }
  .rc-contact-copy { width: min(100%, 640px); }
  .rc-contact-slider::after {
    background: linear-gradient(90deg, rgba(255, 201, 40, .9) 0, rgba(255, 201, 40, .78) 45%, rgba(255, 201, 40, .45) 75%, rgba(255, 201, 40, .35) 100%);
  }
  .rc-contact-title { margin-top: 0; }
  .rc-contact-title img { width: clamp(360px, 36vw, 600px); }
  .rc-contact-lead { margin: clamp(32px, 3.4vw, 52px) 0 clamp(24px, 2.6vw, 36px); font-size: clamp(15px, 1.4vw, 19px); }
  .rc-contact-actions { max-width: 620px; }
  .rc-contact-note { font-size: 12px; }

  .rc-sticky { display: none; }

  .rc-menu {
    left: auto; right: var(--gutter);
    width: min(420px, calc(100vw - var(--gutter) * 2));
    border-radius: 0 0 28px 28px;
  }
}

/* 幅広：ページ内ナビをヘッダーに並べ、チップ列を消す */
@media (min-width: 1200px) {
  :root { --rc-header-h: 92px; }
  .rc-header-bar { gap: 24px; }
  .rc-nav {
    display: flex; align-items: center; justify-content: center; gap: clamp(14px, 1.4vw, 26px);
    flex: 1;
  }
  .rc-nav a {
    position: relative;
    font: 700 13px/1 var(--rc-font-ja);
    white-space: nowrap;
    padding-block: 8px;
  }
  .rc-nav a::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    border-radius: 3px;
    background: var(--rc-yellow);
    transform: scaleX(0); transform-origin: left;
    transition: transform .2s var(--rc-ease);
  }
  .rc-nav a:hover { color: var(--rc-ink); }
  .rc-nav a:hover::after, .rc-nav a[aria-current="true"]::after { transform: scaleX(1); }
  .rc-chips { display: none; }
}

/* ==========================================================================
   ヒーロー（1024px 以上）：参考サイトのデスクトップ表示と同じ式
   ========================================================================== */
@media (min-width: 1024px) {
  .rc-hero {
    --t: clamp(calc(40 * var(--kr)), calc(545 / 1029 * 100svh), calc(54.5 * var(--kr)));
    --f: clamp(calc(1.6 * var(--kr)), calc(24 / 1029 * 100svh), calc(2.4 * var(--kr)));
    --oval-s: 98vw; --oval-l: 49vw; --oval-b: 2vw;
    --pad-b: calc(4.9 * var(--kr));
  }
  .rc-hero-inner {
    height: calc(100svh + 2.9 * var(--kr));
    max-height: min(calc(1028 / 1500 * 100vw), calc(160 * var(--kr)));
    min-height: calc(72.03 * var(--kr));
  }
  /* 楕円は見出しの右から画面の右端の外まで。写真は楕円の範囲に合わせて置く */
  .rc-hero-slide { top: 0; bottom: max(0px, var(--oval-b)); left: 48%; }
  .rc-hero-slide--table { --ph-pos: 42% 40%; }
  .rc-hero-slide--walk { --ph-pos: 46% 40%; }
  .rc-hero-slide--face { --ph-pos: 40% 30%; }
  .rc-hero-copy {
    top: calc(309 / 1029 * 100%);
    left: calc(94 / 1500 * 100%);
    width: calc(var(--t) * 1.18);
  }
  .rc-hero-catch { margin-left: calc(.7 * var(--kr)); font-size: calc(var(--f) * 1.1); }
  .rc-hero-title { margin-top: calc(.065 * var(--t) + 2 * var(--kr)); margin-left: calc(-1.6 * var(--kr)); }
  .rc-hero-cta { right: calc(4.3 * var(--kr)); bottom: calc(8 * var(--kr)); }
  .rc-hero-talk {
    width: calc(30.4 * var(--kr)); height: calc(11 * var(--kr));
    padding-left: calc(3.8 * var(--kr));
    border-radius: calc(4.2 * var(--kr));
    box-shadow: calc(2 * var(--kr)) calc(2 * var(--kr)) 0 rgba(0, 0, 0, .3);
  }
  .rc-hero-talk-text { gap: calc(.5 * var(--kr)); }
  .rc-hero-talk-en { font-size: calc(2.4 * var(--kr)); gap: calc(.8 * var(--kr)); }
  .rc-hero-talk-ja { font-size: calc(1.2 * var(--kr)); }
  .rc-hero-talk-arrow { width: calc(3 * var(--kr)); height: calc(3 * var(--kr)); font-size: calc(1.4 * var(--kr)); }
  .rc-hero-talk-trigon { width: calc(14.5 * var(--kr)); right: calc(-3 * var(--kr)); }
}
@media (min-width: 1681px) {
  .rc-hero-inner { min-height: calc(102.9 * var(--kr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .rc-pick:hover, .rc-pick--teal:hover { transform: none; }
  .rc-hero-slide.is-zoom img,
  .rc-hero-bg-tone { animation: none; }
}
