/* =========================================================
   J4C 採用情報（recruit.html）専用スタイル
   ========================================================= */

.rc {
  --f-script: "Kaushan Script", "Yomogi", cursive;
  overflow-x: clip;
}
.rc-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}
.rc-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- 共通の見出し・リード文 ---------- */
.rc-title {
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
}
.rc-lead {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.05em;
  color: var(--c-sub);
}

/* 黒い丸の矢印＋文字のリンク */
.rc-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.rc-link-circle,
.rc-pill-circle,
.rc-cta-arrow {
  position: relative;
  flex-shrink: 0;
  display: inline-block;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--c-black);
  color: #fff;
  transition: transform .3s var(--ease);
}
.rc-link-circle::before,
.rc-pill-circle::before,
.rc-cta-arrow::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 1.6px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.rc-link-circle::after,
.rc-pill-circle::after,
.rc-cta-arrow::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 7px; height: 7px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: translate(-5%, -50%) rotate(45deg);
}
.rc-link:hover .rc-link-circle { transform: translateX(4px); }

/* =========================================================
   ヒーロー
   ========================================================= */
.rc-hero {
  position: relative;
  min-height: clamp(520px, 44vw, 640px);
}
/* 写真のうしろの薄いグレーの影 */
.rc-hero-shadow {
  position: absolute;
  top: 30%;
  right: 0;
  width: 60%;
  height: 78%;
  fill: #f7f7f5;
}
.rc-hero-visual {
  position: absolute;
  top: 40px;
  right: 0;
  width: 62%;
  aspect-ratio: 1.76;
  max-height: 560px;
  animation: rc-blob-in 1.2s var(--ease) .1s both;
}
@keyframes rc-blob-in {
  from { opacity: 0; transform: translateX(40px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.rc-hero-blob {
  position: absolute;
  inset: 0;
  clip-path: url(#rcHeroBlob);
  -webkit-clip-path: url(#rcHeroBlob);
}
.rc-hero-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% 30%;
  filter: saturate(1.05);
}
/* 写真にかけるオレンジ〜黄色のグラデーション */
.rc-hero-blob::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 130, 20, .85) 0%, rgba(255, 170, 40, .6) 30%, rgba(255, 215, 80, .4) 55%, rgba(250, 235, 60, .45) 75%, rgba(225, 240, 40, .8) 100%);
  mix-blend-mode: multiply;
}

.rc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(90px, 9vw, 130px) 0 60px 7%;
}
.rc-hero-en {
  font-family: var(--f-en);
  font-size: clamp(60px, 6.4vw, 94px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  animation: fade-up 1s var(--ease) .1s both;
}
.rc-hero-ja {
  margin-top: 14px;
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ff7a00;
  animation: fade-up 1s var(--ease) .25s both;
}
.rc-hero-text {
  margin-top: 28px;
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.08em;
  color: #444;
  animation: fade-up 1s var(--ease) .4s both;
}
.rc-hero-inner .rc-link {
  margin-top: 40px;
  animation: fade-up 1s var(--ease) .55s both;
}

/* =========================================================
   メッセージ（Challenge For The Future）
   ========================================================= */
.rc-intro {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 7% 120px;
  display: flex;
  justify-content: flex-end;
}
.rc-script {
  position: absolute;
  left: 2%;
  top: 30px;
  font-family: var(--f-script);
  font-size: clamp(64px, 8vw, 128px);
  line-height: 1.05;
  color: rgba(255, 196, 120, .32);
  transform: rotate(-16deg);
  transform-origin: left center;
  white-space: nowrap;
  pointer-events: none;
}
.rc-script span { display: inline-block; padding-left: 1.1em; }
.rc-intro-text {
  position: relative;
  width: min(100%, 560px);
}
.rc-intro-title {
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.1em;
}
.rc-intro-text p {
  margin-top: 28px;
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.04em;
  color: #444;
}

/* =========================================================
   3つの特徴
   ========================================================= */
.rc-features {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.5% 110px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.rc-feature-photo {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
}
.rc-feature-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rc-feature:hover .rc-feature-photo img { transform: scale(1.04); }
.rc-feature-body {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  padding: 26px 8px 0;
}
.rc-feature-num {
  grid-row: 1 / 3;
  font-family: var(--f-en);
  font-size: clamp(44px, 4.2vw, 62px);
  font-weight: 600;
  line-height: 1;
  color: #ff7a00;
}
.rc-feature-title {
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
}
.rc-feature-text {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.95;
  letter-spacing: 0.03em;
  color: var(--c-sub);
}

/* =========================================================
   募集職種
   ========================================================= */
.rc-jobs {
  padding: 90px 0 100px;
  background: linear-gradient(180deg, #fff3e6 0%, #fffaf3 55%, #fff 100%);
}
.rc-jobs-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.rc-pill {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 6px 6px 6px 24px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .07);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.rc-pill .rc-pill-circle { width: 40px; height: 40px; }

.rc-job-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.rc-job {
  position: relative;
  padding: 28px 24px 52px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(120, 80, 30, .07);
}
.rc-job { display: block; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.rc-job:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(120, 80, 30, .12); }
.rc-job-head { display: flex; align-items: center; gap: 16px; }
/* 募集状況のラベル */
.rc-job-status {
  display: inline-block;
  margin-top: 16px;
  padding: 2px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.rc-job-status.is-open { background: #fff1df; color: #c65f08; }
.rc-job-status.is-ask { background: #f1efea; color: var(--c-sub); }
.rc-job-status + .rc-job-text { margin-top: 10px; }
.rc-job-icon {
  flex-shrink: 0;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  display: grid;
  place-items: center;
}
.rc-job-icon svg { width: 34px; height: 34px; }
.rc-job-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
}
.rc-job-name span {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-sub);
}
.rc-job-text {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  color: var(--c-sub);
}
/* 右下のオレンジの矢印 */
.rc-job-arrow {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 16px; height: 10px;
}
.rc-job-arrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 16px; height: 1.6px;
  background: #ff8a00;
}
.rc-job-arrow::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 7px; height: 7px;
  border-top: 1.6px solid #ff8a00;
  border-right: 1.6px solid #ff8a00;
  transform: translateY(-50%) rotate(45deg);
}

/* =========================================================
   働く環境・制度
   ========================================================= */
.rc-env { padding: 60px 0 0; }
.rc-env-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 7%;
  display: grid;
  grid-template-columns: 1fr 36%;
  gap: 40px;
  align-items: center;
}
.rc-env-list {
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.rc-env-item { text-align: center; }
.rc-env-icon {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 108px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  border: 1.5px solid #fbe1c2;
  background: #fff;
  box-shadow: 0 6px 18px rgba(240, 150, 40, .08);
}
.rc-env-icon svg { width: 46%; height: 46%; }
.rc-env-label {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.rc-env-label small { font-size: 12px; color: var(--c-sub); }
.rc-env-photo {
  border-radius: 10px 0 0 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.rc-env-photo img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   お問い合わせ（大きな波）
   ========================================================= */
.rc-cta {
  position: relative;
  margin-top: 20px;
  min-height: clamp(460px, 42vw, 620px);
  overflow: hidden;
}
.rc-cta-photo {
  position: absolute;
  top: 40px;
  right: 0;
  width: 54%;
  bottom: 0;
  clip-path: url(#rcCtaPhoto);
  -webkit-clip-path: url(#rcCtaPhoto);
}
.rc-cta-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 25%; }
.rc-cta-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.rc-cta-inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(110px, 10vw, 150px) 0 120px 7%;
  color: #fff;
}
.rc-cta-title {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 14px rgba(200, 80, 0, .25);
}
.rc-cta-text {
  margin-top: 24px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 10px rgba(200, 80, 0, .25);
}
.rc-cta-btn {
  margin-top: 44px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 10px 34px 10px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 24px rgba(180, 70, 0, .18);
  transition: transform .3s var(--ease);
}
.rc-cta-btn:hover { transform: translateY(-3px); }
.rc-cta-btn .rc-cta-arrow { width: 44px; height: 44px; background: transparent; color: var(--c-text); }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1180px) {
  .rc-job-grid { grid-template-columns: repeat(2, 1fr); }
  .rc-env-inner { grid-template-columns: 1fr; padding-right: 7%; }
  .rc-env-photo { border-radius: 10px; aspect-ratio: 16 / 9; }
}

@media (max-width: 960px) {
  .rc-inner { padding: 0 22px; }
  .rc-hero { min-height: 0; display: flex; flex-direction: column; }
  .rc-hero-visual { order: -1; margin-top: 16px; }
  .rc-hero-shadow { display: none; }
  .rc-hero-visual { position: relative; top: 0; width: 100%; max-height: none; }
  .rc-hero-inner { padding: 30px 22px 50px; }
  .rc-hero-text br { display: none; }
  .rc-intro { padding: 60px 22px 80px; display: block; }
  .rc-script { top: 10px; font-size: 64px; }
  .rc-intro-text { width: 100%; padding-top: 120px; }
  .rc-intro-text p br { display: none; }
  .rc-features { grid-template-columns: 1fr; padding: 0 22px 80px; gap: 44px; }
  .rc-jobs { padding: 70px 0 80px; }
  .rc-jobs-head { flex-direction: column; }
  .rc-lead br { display: none; }
  .rc-env-inner { padding: 0 22px; }
  .rc-env-list { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .rc-cta { min-height: 0; padding-bottom: 300px; }
  .rc-cta-photo { top: auto; height: 320px; width: 100%; }
  .rc-cta-wave path { d: path("M0,0 L1,0 L1,0.62 C0.8,0.7 0.6,0.58 0.4,0.66 C0.25,0.72 0.1,0.66 0,0.7 Z"); }
  .rc-cta-inner { padding: 70px 22px 40px; }
  .rc-cta-title { font-size: 21px; letter-spacing: 0.06em; }
}

@media (max-width: 560px) {
  .rc-job-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .rc-hero-visual, .rc-hero-en, .rc-hero-ja, .rc-hero-text, .rc-hero-inner .rc-link { animation: none; }
}
