@property --rc-g1 {
  syntax: "<color>";
  inherits: false;
  initial-value: #fe4700;
}

@property --rc-g2 {
  syntax: "<color>";
  inherits: false;
  initial-value: #fe4700;
}

/* ==========================================================
   採用トップ(page-recruit-top.php 専用)
   デザイン 1920px 基準。全て .rc 配下にスコープ(既存テーマと干渉させない)
   ========================================================== */
.rc {
  --or: #fe4700;
  --or2: #ff5101;
  --bg: #f4f4f5;
  --grad: linear-gradient(135deg,#ec0,#ea6804 50%,#d1141b);
  position: relative;
  overflow-x: hidden;
  font-family: "Noto Sans JP","Hiragino Sans","游ゴシック体",YuGothic,"Yu Gothic","メイリオ",sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 500;
  color: #000;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  text-align: left;
}

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

.rc a {
  color: inherit;
  text-decoration: none;
}

/* テーマ共通の a:hover(color:#f18f01 / opacity:.6)を無効化 */
.rc a:where(:hover,:focus,:active,:visited) {
  color: inherit;
  text-decoration: none;
  opacity: 1;
}

/* テーマの a:hover span{color:#FF5000} が矢印・英字に効かないよう、色を親から継承させる */
.rc .rc-arw,
.rc .rc-bgt-in,
.rc .rc-bgt-in span {
  color: inherit;
}

.rc img {
  max-width: none;
  height: auto;
  display: block;
  border: 0;
}

.rc h1,
.rc h2,
.rc h3,
.rc h4,
.rc h5,
.rc p,
.rc ul,
.rc li {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
  letter-spacing: normal;
  text-transform: none;
  font-family: inherit;
  color: inherit;
  list-style: none;
}

.rc section {
  padding: 0;
  margin: 0;
  background: none;
  overflow: visible;
}

.rc [id^="rc-"] {
  scroll-margin-top: 80px;
}

.rc #rc-interview,
.rc #rc-event,
.rc #rc-workplace {
  scroll-margin-top: 120px;
}

.rc .rc-pg {
  position: relative;
}

.rc .rc-inner {
  width: 1420px;
  margin: 0 auto;
  position: relative;
}

.rc .rc-en {
  font-family: Roboto,sans-serif;
  font-weight: 900;
}

/* ---- arrow ---- */
.rc .rc-arw {
  display: inline-block;
  width: 26px;
  height: 8px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 8'%3E%3Cpath d='M0 4h25M21.5.6L25 4l-3.5 3.4' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 8'%3E%3Cpath d='M0 4h25M21.5.6L25 4l-3.5 3.4' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") no-repeat center/contain;
  transition: transform .2s;
}

.rc a:hover>.rc-arw,
.rc .rc-btn:hover .rc-arw,
.rc .rc-btn-nav:hover .rc-arw {
  transform: translateX(4px);
}

/* ---- ENTRY buttons ---- */
/* hover はグラデーションの色を 0.2s で滑らかに変化(opacity・スライドは使わない)
   グラデーションそのものは transition できないので、色停止点を @property で変数化して変化させる */
.rc .rc-btn,
.rc .rc-btn-nav {
  --rc-g1: #fe4700;
  --rc-g2: #fe4700;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  border-radius: 5px;
  background: linear-gradient(90deg,var(--rc-g1),var(--rc-g2));
  transition: --rc-g1 .2s,--rc-g2 .2s,color .2s,box-shadow .2s;
}

.rc .rc-btn {
  height: 45px;
  font-size: 16px;
  letter-spacing: .02em;
}

.rc .rc-btn:hover {
  --rc-g1: #ec0;
  --rc-g2: #d1141b;
}

.rc .rc-mid:hover {
  --rc-g1: #ec0;
  --rc-g2: #e8310f;
}

.rc .rc-blk {
  --rc-g1: #000;
  --rc-g2: #000;
}

.rc .rc-blk:hover {
  --rc-g1: #fff;
  --rc-g2: #6d6c6c;
  color: #000;
}

.rc .rc-btn-nav:hover,
.rc .rc-all .rc-btn:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
}

.rc .rc-pdf {
  background: #fff;
  color: #000;
  border: 1px solid #000;
  font-size: 16px;
  transition: background-color .2s,color .2s;
}

.rc .rc-pdf:hover {
  background: #f4f4f5;
}

/* ---- hero ---- */
/* 動画(1920x620)を全面に敷き、#000 20% の斜めの図形 2 枚(.rc-shade の ::before / ::after)を重ねる。
   図形は % 指定なのでヒーローの大きさに追従する。文字サイズ・位置は vw 基準 + clamp で、ブレイクポイントごとに調整 */
.rc .rc-hero {
  position: relative;
  height: clamp(440px,32.29vw,720px);
  margin-top: 1px;
  background: #231815;
  overflow: hidden;
  color: #fff;
}

.rc .rc-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rc .rc-hero .rc-shade::before,
.rc .rc-hero .rc-shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
}

/* 左上の三角形 */
.rc .rc-hero .rc-shade::before {
  clip-path: polygon(0 0,38% 0,0 85%);
}

/* 左下から右下へ伸びる斜めの図形。「RECRUITING SITE」の文字の形にくり抜いて、動画をそのまま見せる
   (文字を Roboto Black のアウトライン SVG にして mask で引いている。大きさ・位置は .rc-rec-en と同じ em 指定) */
.rc .rc-hero .rc-shade::after {
  clip-path: polygon(0 13.7%,63.5% 100%,0 100%);
  font-size: clamp(64px,6.5vw,136px);
  -webkit-mask: url("/wp-content/themes/mujin/assets/jp/img/recruit-top/rec-pc.svg") left -.04em bottom -.16em/8.0219em 1em no-repeat,linear-gradient(#000,#000);
  -webkit-mask-composite: xor;
  mask: url("/wp-content/themes/mujin/assets/jp/img/recruit-top/rec-pc.svg") left -.04em bottom -.16em/8.0219em 1em no-repeat,linear-gradient(#000,#000);
  mask-composite: exclude;
}

.rc .rc-hero-in {
  position: absolute;
  left: 7.8vw;
  top: 22.6%;
  right: 24px;
}

.rc .rc-hero h1 {
  font-size: clamp(44px,4.17vw,88px);
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: 0 0 0.2em rgba(0,0,0,0.9);
}

.rc .rc-hero .rc-sub {
  margin-top: 2.1vw;
  font-size: clamp(14px,1.04vw,22px);
  line-height: 1.5;
  font-weight: 700;
  text-shadow: 0 0 0.2em rgba(0,0,0,0.9);
}

.rc .rc-hero .rc-rec-en {
  position: absolute;
  left: -.04em;
  bottom: -.2em;
  font-size: clamp(64px,6.5vw,136px);
  line-height: 1;
  color: transparent;
  white-space: nowrap;
  letter-spacing: -.01em;
  font-family: Roboto,sans-serif;
  font-weight: 900;
}

/* ---- common headings ---- */
.rc .rc-eyebrow {
  font-size: 20px;
  line-height: 23px;
  color: var(--or2);
  letter-spacing: .1em;
  font-family: Roboto,sans-serif;
  font-weight: 900;
}

.rc .rc-ttl {
  font-size: 40px;
  line-height: 40px;
  margin-top: 22px;
  font-weight: 700;
}

/* ---- about ---- */
.rc .rc-about {
  position: relative;
  height: 565px;
  background: #fff;
  overflow: hidden;
}

.rc .rc-about .rc-decor {
  position: absolute;
  left: calc(50% - 960px - 350px);
  top: -117px;
  width: 2566px;
  pointer-events: none;
}

.rc .rc-about .rc-txt {
  position: absolute;
  left: 0;
  top: 67px;
  width: 600px;
}

.rc .rc-about h2 {
  font-size: 40px;
  line-height: 56px;
  margin-top: 22px;
}

.rc .rc-about .rc-body {
  font-size: 16px;
  line-height: 28px;
  font-weight: 500;
  margin-top: 92px;
  width: 575px;
}

.rc .rc-about .rc-cardbox {
  position: absolute;
  left: 640px;
  top: 51px;
  width: 811px;
  height: 469px;
}

.rc .rc-about .rc-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 811px;
  height: 469px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,.2);
  transform-origin: 0 0;
}

.rc .rc-about .rc-card h3 {
  text-align: center;
  font-size: 32px;
  line-height: 44px;
  padding-top: 44px;
}

.rc .rc-about .rc-card .rc-proc {
  position: absolute;
  left: 50px;
  top: 164px;
  width: 718px;
}

.rc .rc-about .rc-card .rc-lead {
  position: absolute;
  left: 38px;
  top: 335px;
  width: 741px;
}

.rc .rc-about .rc-card .rc-pl {
  position: absolute;
  top: 297px;
  font-size: 20px;
  line-height: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.rc .rc-about .rc-card .rc-pl b {
  color: var(--or2);
  font-family: Roboto,sans-serif;
  font-weight: 500;
  margin-right: 8px;
  letter-spacing: .02em;
}

.rc .rc-about .rc-card .rc-lt {
  position: absolute;
  left: 249px;
  top: 384px;
  width: 320px;
  text-align: center;
  font-size: 32px;
  line-height: 32px;
  color: var(--or2);
  font-weight: 700;
  white-space: nowrap;
}

/* ---- job ---- */
.rc .rc-job {
  background: var(--bg);
  height: 1489px;
  padding-top: 34px;
  position: relative;
  z-index: 1;
}

.rc .rc-job .rc-ttl {
  margin-top: 20px;
  margin-bottom: 46px;
}

.rc .rc-cat {
  position: relative;
  font-size: 24px;
  line-height: 29px;
  padding-left: 26px;
  font-weight: 700;
  height: 29px;
}

.rc .rc-cat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6.4px;
  height: 28.7px;
  background: #ff931e;
}

.rc .rc-cat.rc-eng::before {
  background: #3aa0ee;
}

.rc .rc-cat.rc-cor::before {
  background: #7ac943;
}

.rc .rc-grid {
  display: grid;
  grid-template-columns: repeat(3,414px);
  column-gap: 32px;
  margin-top: 16px;
  padding: 0 57px;
}

.rc .rc-grid.rc-biz {
  background: #f8eee5;
  padding-top: 16px;
  padding-bottom: 15px;
  margin-bottom: 17px;
}

.rc .rc-grid.rc-eng {
  background: #e3edf7;
  padding-top: 18px;
  padding-bottom: 18px;
  row-gap: 23px;
  margin-bottom: 18px;
}

.rc .rc-grid.rc-cor {
  background: #e7f0ea;
  padding-top: 18px;
  padding-bottom: 18px;
  margin-bottom: 31px;
}

.rc .rc-jc {
  position: relative;
  height: 218px;
  background: #fff;
}

.rc .rc-jc h4 {
  position: absolute;
  left: 106px;
  top: 26px;
  font-size: 24px;
  line-height: 28px;
  width: 300px;
}

.rc .rc-jc h4.rc-two {
  top: 20px;
  line-height: 28px;
}

.rc .rc-jc h4.rc-two+p {
  top: 88px;
}

.rc .rc-jc p {
  position: absolute;
  left: 106px;
  top: 72px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  width: 276px;
}

.rc .rc-jc .rc-bt {
  position: absolute;
  left: 51px;
  right: 48px;
  bottom: 22px;
  display: flex;
  gap: 12px;
}

.rc .rc-jc.rc-has-pdf .rc-bt {
  left: 36px;
}

.rc .rc-jc .rc-bt .rc-btn {
  flex: 1;
  height: 45px;
}

.rc .rc-jc .rc-bt .rc-btn:not(.rc-pdf) {

}

.rc .rc-jc.rc-has-pdf .rc-btn {
  flex: none;
  width: 166px;
}

.rc .rc-all {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  background: #fff;
  padding: 0 57px 0 58px;
  font-size: 24px;
  box-shadow: 1px 3px 7px rgba(0,0,0,.35);
}

.rc .rc-all div {
  display: flex;
  gap: 27px;
}

.rc .rc-all .rc-btn {
  width: 305px;
  height: 62px;
  border-radius: 6px;
  gap: 44px;
  font-size: 16px;
}

/* ---- interview / event ---- */
.rc .rc-ie {
  position: relative;
  height: 1065px;
  /* 水玉模様は上半分・下半分に分け、上端・下端に貼る(中央は白く抜けているので、インタビューが増えて高くなっても切れない) */
  background:
    url(/wp-content/themes/mujin/assets/jp/img/recruit-top/dots_top.webp) center top/max(1920px,100%) auto no-repeat,
    url(/wp-content/themes/mujin/assets/jp/img/recruit-top/dots_bot.webp) center bottom/max(1920px,100%) auto no-repeat,
    #fff;
  /* WORKPLACE の見出し(.rc-wp-t)はこの高さからはみ出して働く環境セクションに掛かるため、
     overflow は切らず、次セクションより前面に出す */
  z-index: 2;
}

.rc .rc-ie .rc-inner {
  height: 100%;
}

.rc .rc-ie .rc-iv-t {
  position: absolute;
  left: 0;
  top: 20px;
}

.rc .rc-ie .rc-iv {
  position: absolute;
  left: 379px;
  top: 42px;
  display: flex;
  gap: 25px;
}

.rc .rc-cardx {
  position: relative;
  display: block;
  background: #fff;
  top: 0;
  padding: 1px;
  transition: top .3s;
}

/* 枠線は三角(::after)より前面に出したいので、border ではなく疑似要素で描く
   重なり順: カードの背景 < 三角(半透明) < 枠線 */
.rc .rc-cardx::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #000;
  z-index: 2;
  pointer-events: none;
}

.rc .rc-cardx:hover {
  top: -4px;
}

.rc .rc-cardx .rc-ph {
  overflow: hidden;
}

.rc .rc-cardx .rc-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.rc .rc-cardx:hover .rc-ph img {
  transform: scale(1.03);
}

.rc .rc-cardx::after {
  content: "";
  position: absolute;
  right: -9.8px;
  bottom: -9.8px;
  width: 68.6px;
  height: 68.6px;
  /* デザインのグラデーション(斜辺の中点が黄 → 角が赤)。直角三角形は右下半分だけが見える */
  background: linear-gradient(135deg,#ec0 50%,#ea6804 75%,#e86105 76%,#de400e 83%,#d62715 89%,#d21919 95%,#d1141b 100%);
  clip-path: polygon(100% 0,100% 100%,0 100%);
  z-index: 1;
  pointer-events: none;
}

/* 社員インタビューはカードの下に敷く(カードの枠・画像が上) */
.rc .rc-iv .rc-cardx::after {
  z-index: -1;
  opacity: 1;
}

.rc .rc-iv .rc-cardx {
  width: 508px;
  height: 267px;
}

.rc .rc-iv .rc-cardx .rc-ph {
  height: 265px;
}

.rc .rc-ie .rc-wp-t {
  position: absolute;
  left: 0;
  top: 1027px;
}

.rc .rc-ie .rc-ev-t {
  position: absolute;
  left: 0;
  top: 325px;
}

.rc .rc-ev {
  position: absolute;
  left: 0;
  top: 456px;
  display: flex;
  gap: 45.5px;
}

.rc .rc-ev .rc-cardx {
  width: 443px;
  height: 498px;
}

.rc .rc-ev .rc-ph {
  height: 249px;
}

.rc .rc-ev .rc-body {
  padding: 0 0 0 59px;
}

.rc .rc-ev h4 {
  font-size: 32px;
  line-height: 40px;
  margin-top: 19px;
}

.rc .rc-ev p {
  font-size: 20px;
  line-height: 32px;
  font-weight: 500;
  width: 322px;
  margin-top: 9px;
}

.rc .rc-ev .rc-btn {
  position: absolute;
  left: 64px;
  top: 428px;
  width: 315px;
}

/* ---- workplace ---- */
.rc .rc-wp {
  position: relative;
  height: 1498px;
  background: var(--bg);
  overflow: hidden;
}

.rc .rc-wp .rc-decor {
  position: absolute;
  left: calc(50% - 960px - 213px);
  top: 0;
  width: 2411px;
  pointer-events: none;
}

.rc .rc-wp .rc-inner {
  height: 100%;
}

.rc .rc-wp .rc-eyebrow {
  position: absolute;
  left: 0;
  top: -38px;
}

.rc .rc-wp .rc-ttl {
  position: absolute;
  left: 0;
  top: 8px;
  margin: 0;
}

.rc .rc-rh {
  position: absolute;
  left: 0;
  display: flex;
  align-items: baseline;
  width: 1420px;
  line-height: 32px;
}

.rc .rc-rh h3 {
  font-size: 32px;
  line-height: 32px;
  padding-left: 18px;
  position: relative;
  flex: none;
}

.rc .rc-rh h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 6.4px;
  height: 28.7px;
  background: var(--or);
}

.rc .rc-rh p {
  position: absolute;
  left: 191px;
  font-size: 16px;
  line-height: 32px;
  font-weight: 500;
  white-space: nowrap;
}

.rc .rc-rh.rc-c p {
  left: 222px;
}

.rc .rc-rh a {
  margin-left: auto;
  font-size: 20px;
  font-weight: 700;
  color: var(--or2);
  letter-spacing: .07em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rc .rc-rh a .rc-arw {
  width: 26px;
}

.rc .rc-cul {
  position: static;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 23px 22.6px;
}

.rc .rc-tile img {
  display: block;
  width: 100%;
  height: 100%;
}

/* タイルの日本語(--x / --y はデザイン幅 338px 基準の位置。cqw でタイル幅に追従) */
.rc .rc-tile {
  position: relative;
  aspect-ratio: 338/240;
  border-radius: 4.65px;
  overflow: hidden;
  color: #000;
  container-type: inline-size;
}

.rc .rc-tile p {
  position: absolute;
  left: calc(var(--x)*100cqw/338);
  top: calc(var(--y)*100cqw/338);
  margin: 0;
  font-size: calc(100cqw*16/338);
  line-height: calc(100cqw*25/338);
  font-weight: 500;
  white-space: nowrap;
}

.rc .rc-wel {
  position: absolute;
  left: 0;
  top: 388px;
  display: flex;
  gap: 16.4px;
}

.rc .rc-wel div {
  width: 223px;
}

.rc .rc-wel .rc-ph {
  height: 158px;
  border-radius: 5.43px;
  overflow: hidden;
}

.rc .rc-wel img,
.rc .rc-off img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rc .rc-wel h5 {
  font-size: 20px;
  line-height: 24px;
  margin-top: 20px;
  letter-spacing: .04em;
  font-weight: 700;
}

.rc .rc-wel p {
  font-size: 16px;
  line-height: 30px;
  font-weight: 500;
  margin-top: 15px;
  letter-spacing: 0;
}

.rc .rc-off {
  position: absolute;
  left: 0;
  top: 811px;
  display: flex;
  gap: 16.4px;
}

.rc .rc-off div {
  width: 223px;
  height: 158px;
  border-radius: 5.43px;
  overflow: hidden;
}

.rc .rc-ent {
  position: absolute;
  left: 0;
  top: 1080px;
  width: 1420px;
  display: flex;
  gap: 31px;
}

.rc .rc-entry {
  --rc-g1: #fe4700;
  --rc-g2: #fe4700;
  position: relative;
  display: block;
  width: 695px;
  height: 227px;
  border-radius: 20px;
  color: #fff;
  overflow: hidden;
  font-feature-settings: normal;
  filter: drop-shadow(7px 7px 8px rgba(0,0,0,.3));
  background: linear-gradient(90deg,var(--rc-g1),var(--rc-g2));
  transition: --rc-g1 .2s,--rc-g2 .2s,color .2s;
}

.rc .rc-entry>* {
  position: relative;
  z-index: 1;
}

.rc .rc-entry:hover {
  --rc-g1: #ec0;
  --rc-g2: #e8310f;
}

.rc .rc-entry.rc-new {
  --rc-g1: #000;
  --rc-g2: #000;
}

.rc .rc-entry.rc-new:hover {
  --rc-g1: #fff;
  --rc-g2: #6d6c6c;
  color: #000;
}

.rc .rc-entry h4 {
  position: absolute;
  left: 48px;
  top: 31px;
  font-size: 72px;
  line-height: 90px;
  font-weight: 700;
}

.rc .rc-entry p {
  position: absolute;
  left: 48px;
  top: 122px;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
}

.rc .rc-entry .rc-bgt {
  position: absolute;
  left: 0;
  right: 0;
  top: 166px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 60px;
  line-height: 80px;
  font-family: Roboto,sans-serif;
  font-weight: 700;
  color: rgba(255,255,255,.3);
  pointer-events: none;
}

.rc .rc-entry.rc-new:hover .rc-bgt {
  color: rgba(0,0,0,.25);
}

/* hover 中だけ英字をゆっくり一定速度で横にループ(2 つ並べて -50% 移動) */
.rc .rc-bgt-in {
  display: inline-flex;
  margin-left: 16px;
  will-change: transform;
}

.rc .rc-bgt-in span {
  padding-right: .8em;
}

.rc .rc-entry:hover .rc-bgt-in {
  animation: rc-marquee 16s linear infinite;
}

@keyframes rc-marquee {
  to {
    transform: translateX(-50%);
  }
}

.rc .rc-entry .rc-big {
  position: absolute;
  right: 55px;
  top: 89px;
  width: 78px;
  height: 22px;
  transition: transform .2s;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78 22'%3E%3Cpath d='M0 11h76M64 1l11 10-11 10' fill='none' stroke='%23000' stroke-width='2.6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78 22'%3E%3Cpath d='M0 11h76M64 1l11 10-11 10' fill='none' stroke='%23000' stroke-width='2.6'/%3E%3C/svg%3E");
}

.rc .rc-entry:hover .rc-big {
  transform: translateX(4px);
}

.rc .rc-i-consult {
  left: 21.5px;
  top: 24.6px;
  width: 63.0px;
  height: 53.2px;
}

.rc .rc-i-sales {
  left: 24.9px;
  top: 22.8px;
  width: 64.0px;
  height: 54.2px;
}

.rc .rc-i-marketing {
  left: 29.3px;
  top: 22.0px;
  width: 54.2px;
  height: 48.9px;
}

.rc .rc-i-pm {
  left: 34.2px;
  top: 23.3px;
  width: 48.7px;
  height: 53.7px;
}

.rc .rc-i-se {
  left: 11.2px;
  top: 16.8px;
  width: 95.6px;
  height: 80.1px;
}

.rc .rc-i-sa {
  left: 9.1px;
  top: 11.0px;
  width: 95.4px;
  height: 80.1px;
}

.rc .rc-i-design {
  left: 36.7px;
  top: 24.5px;
  width: 48.4px;
  height: 46.5px;
}

.rc .rc-i-integration {
  left: -1.5px;
  top: 5.6px;
  width: 113.4px;
  height: 94.5px;
}

.rc .rc-i-field {
  left: 29.5px;
  top: 22.2px;
  width: 60.5px;
  height: 52.3px;
}

.rc .rc-i-hr {
  left: 33.6px;
  top: 24.0px;
  width: 57.3px;
  height: 40.5px;
}

.rc .rc-i-pr {
  left: 30.4px;
  top: 26.0px;
  width: 60.2px;
  height: 45.3px;
}

.rc .rc-i-finance {
  left: 28.3px;
  top: 23.9px;
  width: 59.3px;
  height: 45.2px;
}

/* ---- ページ内ナビ(PC:ヘッダー直下 → スクロールで追従) ---- */
.rc .rc-navwrap {
  position: relative;
  height: 54px;
  z-index: 90;
}

.rc .rc-nav {
  height: 54px;
  background: #fff;
  border-top: 1px solid #d8d8d8;
  width: 100%;
}

.rc .rc-nav.is-fixed {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 99;
  border-bottom: 1px solid #eee;
}

.rc .rc-nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: var(--rc-cw,1420px);
  max-width: calc(100% - 48px);
  height: 53px;
  margin: 0 auto;
}

.rc .rc-nav li {
  margin-left: 30px;
  flex: none;
}

.rc .rc-nav li:nth-last-child(2) {
  margin-left: 32px;
}

.rc .rc-nav li:last-child {
  margin-left: 10px;
}

.rc .rc-nav li>a:not(.rc-btn-nav) {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 53px;
  display: block;
  transition: color .2s;
}

.rc .rc-nav li>a:not(.rc-btn-nav):hover {
  color: var(--or2);
}

.rc .rc-btn-nav {
  width: 166px;
  height: 45px;
  font-size: 16px;
}

.rc .rc-btn-nav:hover {
  --rc-g1: #ec0;
  --rc-g2: #d1141b;
}

.rc .rc-btn-nav.rc-mid:hover {
  --rc-g1: #ec0;
  --rc-g2: #e8310f;
}

.rc .rc-btn-nav.rc-new {
  --rc-g1: #000;
  --rc-g2: #000;
}

.rc .rc-btn-nav.rc-new:hover {
  --rc-g1: #fff;
  --rc-g2: #6d6c6c;
  color: #000;
}

.rc .rc-spentry {
  display: none;
}

/* 無効(グレーアウト)ボタン */
.rc .rc-btn.is-disabled {
  background: #bdbdbd;
  color: #fff;
  cursor: not-allowed;
  pointer-events: none;
}

/* 職種アイコン */
.rc .rc-jc .rc-ic {
  position: absolute;
  left: 1px;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.rc .rc-jc .rc-ic img {
  position: absolute;
}

/* ---- 中間幅:デザイン幅(1480px)未満は全体を縮小 → JS が .rc-pg に zoom を設定 ---- */
/* ---- SP / タブレット(~1023px) ---- */
@media (max-width:1023px) {
  .rc {
    --gut: 20px;
  }

  body.page-template-page-recruit-top-php {
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }

  .rc .rc-about,
  .rc .rc-job,
  .rc .rc-ie,
  .rc .rc-wp {
    zoom: 1!important;
  }

  .rc .rc-inner {
    width: auto;
    margin: 0 var(--gut);
  }

  /* nav:常時表示・横スワイプ */
  .rc .rc-navwrap,
  .rc .rc-nav {
    height: 48px;
  }

  .rc .rc-nav ul {
    width: 100%;
    max-width: none;
    height: 47px;
    padding: 0 var(--gut);
    gap: 16px;
    justify-content: space-between;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .rc .rc-nav ul::-webkit-scrollbar {
    display: none;
  }

  .rc .rc-nav li,
  .rc .rc-nav li:nth-last-child(2),
  .rc .rc-nav li:last-child {
    margin: 0;
  }

  .rc .rc-nav li>a:not(.rc-btn-nav) {
    font-size: 13px;
    line-height: 47px;
  }

  .rc .rc-nav .rc-nav-entry {
    display: none;
  }

  /* 下部追従 ENTRY */
  .rc .rc-spentry {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.98);
    border-top: 1px solid #ddd;
    box-shadow: 0 -6px 18px rgba(0,0,0,.09);
  }

  .rc .rc-spentry .rc-btn {
    flex: 1;
    height: 46px;
    font-size: 14px;
    gap: 8px;
    padding: 0 6px;
  }

  /* hero(タブレット~SP): 図形は急角度に、文字は全体を見せる大きさに */
  .rc .rc-hero {
    height: clamp(420px,58vw,520px);
  }

  .rc .rc-hero .rc-shade::before {
    clip-path: polygon(0 0,62% 0,0 60%);
  }

  .rc .rc-hero .rc-shade::after {
    clip-path: polygon(0 36%,100% 100%,0 100%);
    font-size: 13.2vw;
    -webkit-mask: url("/wp-content/themes/mujin/assets/jp/img/recruit-top/rec-sp.svg") left -.04em bottom -17px/5.7042em 1em no-repeat,linear-gradient(#000,#000);
    -webkit-mask-composite: xor;
    mask: url("/wp-content/themes/mujin/assets/jp/img/recruit-top/rec-sp.svg") left -.04em bottom -17px/5.7042em 1em no-repeat,linear-gradient(#000,#000);
    mask-composite: exclude;
  }

  .rc .rc-hero-in {
    left: var(--gut);
    right: var(--gut);
    top: 0;
  }

  .rc .rc-hero h1 {
    font-size: clamp(32px,6.4vw,56px);
    line-height: 1.3;
    padding-top: 22%;
  }

  .rc .rc-hero .rc-sub {
    font-size: clamp(14px,2.4vw,20px);
    line-height: 1.65;
    margin-top: 16px;
  }

  /* SP は「RECRUITING」のみ表示 */
  .rc .rc-hero .rc-rec-en {
    font-size: 13.5vw;
    bottom: -8px;
  }

  .rc .rc-hero .rc-rec-site {
    display: none;
  }

  .rc .rc-eyebrow {
    font-size: 14px;
    line-height: 20px;
  }

  .rc .rc-ttl {
    font-size: 28px;
    line-height: 38px;
    margin-top: 8px;
  }

  /* about */
  .rc .rc-about {
    height: auto;
    padding: 60px 0 48px;
  }

  .rc .rc-about .rc-decor,
  .rc .rc-wp .rc-decor {
    display: none;
  }

  .rc .rc-about .rc-txt {
    position: static;
    width: auto;
  }

  .rc .rc-about h2 {
    font-size: 26px;
    line-height: 40px;
    margin-top: 10px;
  }

  .rc .rc-about .rc-body {
    font-size: 15px;
    line-height: 1.9;
    width: auto;
    margin-top: 18px;
  }

  .rc .rc-about .rc-cardbox {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 811/469;
    margin-top: 30px;
  }

  .rc .rc-about .rc-card {
    transform: scale(var(--rc-cs,.45));
  }

  /* job */
  .rc .rc-job {
    height: auto;
    padding: 40px 0 48px;
  }

  .rc .rc-job .rc-ttl {
    margin-bottom: 26px;
  }

  .rc .rc-cat {
    font-size: 20px;
    height: auto;
    padding-left: 20px;
    margin-top: 8px;
  }

  .rc .rc-cat::before {
    height: 100%;
  }

  .rc .rc-grid {
    grid-template-columns: 1fr;
    row-gap: 12px!important;
    padding: 12px!important;
    margin: 12px 0 22px!important;
  }

  .rc .rc-jc {
    height: auto;
    padding: 16px 16px 18px 104px;
    min-height: 112px;
  }

  .rc .rc-jc h4 {
    position: static;
    width: auto;
    font-size: 19px;
    line-height: 1.4;
    padding-top: 2px;
  }

  .rc .rc-jc h4.rc-two {
    line-height: 1.35;
  }

  .rc .rc-jc p {
    position: static;
    width: auto;
    font-size: 14px;
    line-height: 1.8;
    margin-top: 6px;
  }

  .rc .rc-jc p br,
  .rc .rc-jc h4 br {
    display: none;
  }

  .rc .rc-jc .rc-bt,
  .rc .rc-jc.rc-has-pdf .rc-bt {
    position: static;
    margin: 16px 0 0 -88px;
  }

  .rc .rc-jc.rc-has-pdf .rc-btn {
    flex: 1;
    width: auto;
  }

  .rc .rc-all {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 16px;
    gap: 14px;
    font-size: 18px;
  }

  .rc .rc-all div {
    flex-direction: column;
    gap: 10px;
  }

  .rc .rc-all .rc-btn {
    width: 100%;
    height: 52px;
    gap: 30px;
  }

  /* interview / event */
  .rc .rc-ie {
    height: auto;
    padding: 44px 0 8px;
  }

  .rc .rc-ie .rc-inner {
    height: auto;
  }

  .rc .rc-ie .rc-iv-t,
  .rc .rc-ie .rc-iv,
  .rc .rc-ie .rc-ev-t,
  .rc .rc-ie .rc-ev,
  .rc .rc-ie .rc-wp-t {
    position: static;
  }

  .rc .rc-iv {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 22px 0 50px;
  }

  .rc .rc-iv .rc-cardx {
    width: 100%;
    height: auto;
  }

  .rc .rc-iv .rc-cardx .rc-ph {
    height: auto;
  }

  .rc .rc-iv .rc-cardx img {
    width: 100%;
    height: auto;
  }

  .rc .rc-ev {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 22px;
  }

  .rc .rc-ev .rc-cardx {
    width: 100%;
    height: auto;
    padding-bottom: 98px;
  }

  /* 右下の三角はボタンと被らないよう小さくする */
  .rc .rc-cardx::after {
    width: 32px;
    height: 32px;
    right: -8px;
    bottom: -8px;
  }

  .rc .rc-ev .rc-ph {
    height: auto;
  }

  .rc .rc-ev .rc-ph img {
    height: auto;
    aspect-ratio: 443/249;
  }

  .rc .rc-ev .rc-body {
    padding: 0 20px;
  }

  .rc .rc-ev h4 {
    font-size: 26px;
    margin-top: 16px;
  }

  .rc .rc-ev p {
    font-size: 15px;
    line-height: 1.8;
    width: auto;
    margin-top: 6px;
  }

  .rc .rc-ev .rc-btn {
    left: 20px;
    right: 20px;
    top: auto;
    bottom: 32px;
    width: auto;
  }

  .rc .rc-wp-t {
    margin-top: 60px;
    padding-bottom: 6px;
  }

  /* workplace */
  .rc .rc-wp {
    height: auto;
    padding: 18px 0 56px;
  }

  .rc .rc-wp .rc-inner {
    height: auto;
  }

  .rc .rc-rh {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: auto;
    margin: 34px 0 14px;
  }

  .rc .rc-rh h3 {
    font-size: 24px;
    line-height: 30px;
    padding-left: 16px;
  }

  .rc .rc-rh h3::before {
    height: 100%;
    top: 0;
  }

  .rc .rc-rh p,
  .rc .rc-rh.rc-c p {
    position: static;
    width: 100%;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.8;
    white-space: normal;
  }

  .rc .rc-rh a {
    position: absolute;
    right: 0;
    top: 4px;
    margin: 0;
    font-size: 15px;
  }

  .rc .rc-rh,
  .rc .rc-rh.rc-c {
    top: auto!important;
  }

  .rc .rc-rh.rc-c {
    position: relative;
  }

  /* カルチャーのタイルも福利厚生と同じ 2 カラム。タイルの中身は cqw でタイル幅に追従させる */
  .rc .rc-cul {
    position: static;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
  }

  .rc .rc-tile {
    width: auto;
    height: auto;
  }



  .rc .rc-wel {
    position: static;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 22px 12px;
  }

  .rc .rc-wel div {
    width: auto;
  }

  .rc .rc-wel .rc-ph {
    height: auto;
    aspect-ratio: 223/158;
  }

  .rc .rc-wel h5 {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 12px;
  }

  .rc .rc-wel p {
    font-size: 12.5px;
    line-height: 1.8;
    margin-top: 6px;
  }

  .rc .rc-off {
    position: static;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
  }

  .rc .rc-off div {
    width: auto;
    height: auto;
    aspect-ratio: 223/158;
  }

  .rc .rc-rh.rc-rh-entry p {
    margin-top: 4px;
  }

  .rc .rc-ent {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: auto;
    margin-top: 14px;
  }

  .rc .rc-entry {
    width: 100%;
    height: 188px;
  }

  .rc .rc-entry h4 {
    font-size: 42px;
    line-height: 54px;
    left: 24px;
    top: 22px;
  }

  .rc .rc-entry p {
    font-size: 17px;
    line-height: 26px;
    left: 24px;
    top: 84px;
  }

  .rc .rc-entry .rc-bgt,
  .rc .rc-entry.rc-new .rc-bgt {
    font-size: 34px;
    line-height: 46px;
    left: 10px;
    top: 128px;
  }

  .rc .rc-entry .rc-big {
    right: 24px;
    top: 62px;
    width: 52px;
    height: 15px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .rc * {
    transition: none!important;
    animation: none!important;
  }
}

.rc .rc-jc p,
.rc .rc-wel p {
  font-feature-settings: normal;
}

.rc .rc-grid.rc-cor .rc-jc p {
  line-height: 30px;
}

.rc .rc-ev p {
  font-feature-settings: normal;
}

/* ---- hero(768px 以下): スマホ用の縦長動画(800x896)を全面に敷き、文字・図形は下寄せのまま vw で拡縮する ---- */
@media (max-width:768px) {
  .rc .rc-hero {
    height: min(112vw,640px);
  }

  .rc .rc-hero .rc-shade::before {
    clip-path: polygon(0 0,60% 0,0 63%);
  }

  .rc .rc-hero .rc-shade::after {
    clip-path: polygon(0 50%,100% 100%,0 100%);
    font-size: 13vw;
    -webkit-mask-position: left -.04em bottom 0,0 0;
    mask-position: left -.04em bottom -.15em,0 0;
  }

  .rc .rc-hero-in {
    top: auto;
    bottom: 17vw;
    left: 8vw;
    right: 4vw;
    display: block;
  }

  .rc .rc-hero h1 {
    padding-top: 0;
    font-size: 7.75vw;
    line-height: 1.3;
  }

  .rc .rc-hero .rc-sub {
    margin-top: 1.8vw;
    font-size: max(12px,2.9vw);
    line-height: 1.5;
  }

  .rc .rc-hero .rc-rec-en {
    font-size: 13vw;
    bottom: 0;
  }
}

/* ---- 社員インタビューの件数が増えても崩れないよう、PC は絶対配置をやめて縦に積む ----
   .rc-iv の中の .rc-cardx を複製して画像・リンクを差し替えるだけで追加でき、
   3 件目以降は 2 カラムのまま同じサイズで下に折り返す。後ろのイベント・働く環境も自動で下がる。
   (1 件目〜2 件目だけのときは、以前の絶対配置と同じ位置になる) ---- */
@media (min-width:1024px) {
  .rc .rc-ie {
    height: auto;
  }

  .rc .rc-ie .rc-inner {
    display: flow-root;
    height: auto;
  }

  .rc .rc-ie .rc-iv {
    position: relative;
    left: auto;
    top: auto;
    width: 1041px;
    margin: 42px 0 0 379px;
    flex-wrap: wrap;
    gap: 25px;
  }

  /* 見出し(.rc-iv-t)は左に絶対配置のまま。イベント見出しはカードの下 16px、カードまで 131px */
  .rc .rc-ie .rc-ev-t {
    position: relative;
    top: auto;
    height: 131px;
    margin-top: 16px;
  }

  .rc .rc-ie .rc-ev {
    position: relative;
    top: auto;
  }

  /* 働く環境の見出しは次のセクションに掛かるため、高さ 38px だけ占有してはみ出させる */
  .rc .rc-ie .rc-wp-t {
    position: relative;
    top: auto;
    height: 38px;
    margin-top: 73px;
  }

  /* 働く環境: 見出し・カルチャー・福利厚生・オフィス・ENTRY を縦に流す(中身が増減しても崩れない) */
  .rc .rc-wp {
    height: auto;
  }

  .rc .rc-wp .rc-inner {
    display: flow-root;
    height: auto;
    padding: 96px 0 191px;
  }

  .rc .rc-rh {
    position: relative;
    top: auto!important;
  }

  .rc .rc-rh + .rc-cul {
    margin-top: 19.5px;
  }

  .rc .rc-cul + .rc-rh {
    margin-top: 72px;
  }

  .rc .rc-rh + .rc-wel {
    margin-top: 30px;
  }

  .rc .rc-wel + .rc-rh {
    margin-top: 61px;
  }

  .rc .rc-rh + .rc-off {
    margin-top: 37px;
  }

  .rc .rc-off + .rc-rh {
    margin-top: 45px;
  }

  .rc .rc-rh + .rc-ent {
    margin-top: 34px;
  }

  .rc .rc-wel {
    position: static;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px 21.3px;
  }

  .rc .rc-wel > div {
    width: auto;
    display: grid;
    grid-template-columns: 223px 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 18px;
    align-content: start;
  }

  .rc .rc-wel .rc-ph {
    grid-row: 1/span 2;
  }

  .rc .rc-wel h5 {
    font-size: 20px;
    line-height: 28px;
    margin-top: -4px;
  }

  .rc .rc-wel p {
    margin: 13px -20px 0 0;
    text-wrap: pretty;
  }

  .rc .rc-off {
    position: static;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px 21.3px;
  }

  .rc .rc-off div {
    width: auto;
    height: auto;
    aspect-ratio: 459/326.5;
  }

  .rc .rc-ent {
    position: static;
  }
}
