@charset "UTF-8";
:root {
  --hero-radius: 0px;
  --hero-pad-x: clamp(16px, 6vw, 72px);
  --hero-pad-y: clamp(16px, 6vh, 72px);
  --hero-btn-h: clamp(54px, 7vh, 72px);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: unset;
  /* font-family: "Noto Sans JP", sans-serif, "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif; */
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho Pro", serif;
}

html {
  font-size: 16px;
  overflow: overlay;
  scroll-behavior: smooth;
  color: var(--bk);
}

body {
  letter-spacing: 0.05em;
}

/* --- 480pxより大きい時：clampで流体タイポ --- */
h1 {
  font-size: clamp(32px, 2.6vw, 56px);
}

/* 行間・字間（日本語見出しの推奨値） */
h1,
h2,
h3,
h4,
h5 {
  line-height: 1.25;
  /* 見出しはやや詰め気味 */
  letter-spacing: 0.02em;
  /* ほんの少し広げると読みやすい */
}

h2 {
  font-size: clamp(26px, 2.1vw, 40px);
  line-height: 1.35;
  letter-spacing: 0.015em;
  font-family: "Cardo", "Noto Serif JP", serif;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
  padding-bottom: 50px;
  --h2-initial-track: clamp(0.08em, 1vw, 0.20em);
  --h2-target-track: 0em;
  opacity: 0;
  /* 透明から */
  letter-spacing: var(--h2-initial-track);
  transform: scale(0.985);
  /* その場で“空気感”だけ足す微スケール（不要なら消してOK） */
  will-change: opacity, letter-spacing, transform;
  /* 深い蒼の遠い光 */
}
h2 .sub-title {
  font-size: 0.5em;
  letter-spacing: 3px;
}

h3 {
  font-size: clamp(22px, 1.7vw, 30px);
}

h4 {
  font-size: clamp(18px, 1.3vw, 24px);
}

h5 {
  font-size: clamp(16px, 1.1vw, 20px);
}

p,
a,
li {
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.9;
  letter-spacing: 0.01em;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

section {
  padding: 80px 10px 20px;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.sp-br {
  display: none;
}

.overflow-clip {
  overflow-x: clip;
  /* 近年のブラウザ推奨。scrollコンテナ化しない＝stickyに優しい */
}

.location-contents,
.faq-contents {
  padding: 0 0 50px;
}

.contents-text {
  line-height: 1.3;
  padding-bottom: 20px;
  text-align: center;
}

.link-img {
  width: 0.5lh;
  height: 0.5lh;
}

@media (max-width: 1024px) {
  .sp-br {
    display: block;
  }
}
@media (max-width: 768px) {
  section {
    padding: 10vw 10px 20px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 9vw;
  }
  h2 {
    font-size: 7.2vw;
  }
  h3 {
    font-size: 6.2vw;
  }
  h4 {
    font-size: 5.4vw;
  }
  h5 {
    font-size: 4.8vw;
  }
  h1,
  h2,
  h3,
  h4,
  h5 {
    line-height: 1.28;
    /* モバイルは気持ちゆったり */
    letter-spacing: 0.015em;
  }
  p,
  a,
  li {
    font-size: 3.5vw;
  }
}
/* --------------------------------------------------------------------------------------------------------------------
 　↓ ヘッダー 
 --------------------------------------------------------------------------------------------------------------------*/
header {
  padding: 0;
}

.company-logo {
  width: 100px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 100%;
  z-index: 9999;
}

.company-logo .cls-1 {
  opacity: 0.5;
}
.company-logo .cls-2 {
  fill: #009b73;
}
.company-logo .cls-3 {
  fill: #1d2087;
}

.pc-menu {
  display: flex;
  padding-right: 10px;
}
.pc-menu li {
  padding: 0 10px;
}
.pc-menu li a {
  color: #273161;
}

/* PC：pc-menuを表示、ハンバーガー＆SPメニューは非表示 */
.pc-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.hamburger {
  display: none;
}

.gnav {
  display: none;
}

/* ハンバーガーの見た目 */
.hamburger {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 8px;
}

.hamburger .bar {
  display: block;
  width: 28px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.hamburger .bar + .bar {
  margin-top: 6px;
}

html[data-page=tiktok-page] .header-top {
  background-color: unset;
  box-shadow: none;
}
html[data-page=tiktok-page] .company-logo .cls-2 {
  fill: #ff0050;
}
html[data-page=tiktok-page] .company-logo .cls-3 {
  fill: #00f2ea;
}
html[data-page=tiktok-page] .pc-menu li a {
  color: #ffffff;
}
html[data-page=tiktok-page] .hamburger .bar {
  background: #ffffff;
}

/* 768px以下：SPメニュー表示モード */
@media (max-width: 768px) {
  .pc-menu {
    display: none;
  }
  .hamburger {
    display: inline-block;
  }
  /* パネル（上からスライドイン） */
  .gnav {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 9998;
    background: #fff;
    border-bottom: 1px solid #eee;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    padding: 65px 5vw 0vw;
    /* ヘッダー高さぶん余白 */
    height: 100vh;
  }
  /* ベース & 仕切り */
  .gnav-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .gnav-list a {
    transition: opacity 0.3s ease;
  }
  .gnav-list a:hover {
    opacity: 0.7;
  }
  .gnav-list .has-sub a::after {
    transform: rotate(135deg);
    right: 10px;
  }
  .gnav-list > li {
    position: relative;
    border-bottom: 1px solid #333333;
  }
  /* 1階層目：通常リンク行（右に ›） */
  .gnav-list > li > a,
  .gnav-list > li > span {
    display: block;
    text-decoration: none;
    padding: 3vw 2.5vw 1vw;
    line-height: 1.6;
    position: relative;
    font-size: 4vw;
    color: #333333;
  }
  .gnav-list > li > a::after {
    position: absolute;
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border: 1px solid;
    border-color: #333333 #333333 transparent transparent;
    transform: rotate(45deg);
    top: -8px;
    right: 15px;
    top: calc(50% - 4px);
  }
  /* サブメニュー本体：常時表示 */
  .gnav-list > li > span + ul {
    display: block;
    list-style: none;
    margin: 0;
  }
  /* サブ項目：薄め＆インデント */
  .gnav-list > li > ul > li > a {
    display: block;
    padding: 1.7vw 3.7vw 0.5vw;
    text-decoration: none;
    font-size: 3.5vw;
    color: #333333;
    opacity: 0.95;
  }
  /* オーバーレイ */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 900;
    opacity: 0;
    transition: opacity 0.25s ease;
  }
  /* 開いた状態（.is-open を header に付与） */
  header.is-open + .nav-overlay {
    opacity: 1;
  }
  header.is-open + .nav-overlay[hidden] {
    display: block;
  }
  /* hidden解除 */
  header.is-open .gnav {
    transform: translateY(0);
  }
  /* バー → × のアニメ */
  header.is-open .hamburger .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  header.is-open .hamburger .bar:nth-child(2) {
    opacity: 0;
  }
  header.is-open .hamburger .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  /* 展開中はスクロール固定 */
  body.navlock {
    overflow: hidden;
  }
  .site-header {
    /* 親に積層文脈を作る */
    position: relative;
    z-index: 1100;
    /* gnav(1000)より上 */
  }
  .nav-overlay {
    /* 背景の暗幕はさらに下 */
    z-index: 900;
  }
  html[data-page=tiktok-page] {
    /* tiktokページ専用 バー → × のアニメ */
  }
  html[data-page=tiktok-page] header.is-open .hamburger .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: #000000;
  }
  html[data-page=tiktok-page] header.is-open .hamburger .bar:nth-child(2) {
    opacity: 0;
  }
  html[data-page=tiktok-page] header.is-open .hamburger .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: #000000;
  }
}
@media (max-width: 480px) {
  .gnav a {
    font-size: 6vw;
  }
}
/* --------------------------------------------------------------------------------------------------------------------
 　↑ ヘッダー 
 --------------------------------------------------------------------------------------------------------------------*/
.controls {
  position: absolute;
  z-index: 1000;
  left: 10px;
  top: 10px;
  background: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  font: 14px/1.4 system-ui, sans-serif;
}

.recruit-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  /* フォールバック */
  height: 100svh;
  /* アドレスバー対策（対応ブラウザ） */
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

.hero-scrim {
  position: absolute;
  inset: 0;
  /* 左下を明るく、全体に薄い暗幕 */
  background: radial-gradient(120% 90% at 20% 70%, rgba(34, 37, 177, 0) 0%, rgba(34, 37, 177, 0.35) 60%, rgba(34, 37, 177, 0.55) 100%), linear-gradient(180deg, rgba(34, 37, 177, 0.05) 0%, rgba(34, 37, 177, 0.15) 100%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  padding: clamp(16px, 6vh, 72px) clamp(16px, 6vw, 72px) max(clamp(16px, 6vh, 72px), env(safe-area-inset-bottom));
}

.hero-left {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  max-width: 900px;
}

.hero-eyebrow {
  font-weight: 700;
  opacity: 0.9;
  margin: 0 0 0.25em;
}

.hero-catch {
  margin: 0 0 0.4em;
  font-size: clamp(28px, 5.2vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #6495ed;
  mix-blend-mode: color-burn;
}
.hero-catch span {
  font-size: 0.75em;
}

/* =============================
    ↓ tiktok 紹介
   ============================= */
/* ===========================
   TikTok セクション（派手版）
   =========================== */
@font-face {
  font-family: "YanchaPopJitabata";
  src: url("/fonts/yancha-pop-jitabata.woff2") format("woff2"), url("/fonts/yancha-pop-jitabata.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
#tiktok {
  position: relative;
  background: #000;
  /* 黒背景 */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
  /* ↓ TikTokの飾りやdecoration等 */
  /* ネオングラデ & グリッドを重ねる */
  /* ゆっくり回転する円錐グラデ（ティックトック配色） */
  /* うっすらグリッド */
  /* 浮遊オーブ（装飾） */
  /* 生成される粒 */
  /* 斜めに走る光筋 */
  /* ↑ TikTokの飾りやdecoration等 */
  /* 中央バナー */
  /* 下部ティッカー */
}
#tiktok::before, #tiktok::after {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
}
#tiktok::before {
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 60%), conic-gradient(from 0deg, #ff0050 0%, #ff0050 10%, transparent 10%, transparent 45%, #00f2ea 45%, #00f2ea 55%, transparent 55%, transparent 90%, #ffffff 90%, #ffffff 100%);
  filter: blur(40px) saturate(140%);
  animation: spin-slow 38s linear infinite;
  opacity: 0.5;
}
#tiktok::after {
  background: linear-gradient(transparent 97%, rgba(255, 255, 255, 0.06) 97%), linear-gradient(90deg, transparent 97%, rgba(255, 255, 255, 0.06) 97%);
  background-size: 30px 30px, 30px 30px;
  mix-blend-mode: screen;
  opacity: 0.35;
}
#tiktok .tiktok-deco {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
#tiktok .tiktok-deco .orb {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 55%), radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.12), transparent 60%), radial-gradient(circle, rgba(0, 242, 234, 0.45), rgba(255, 0, 80, 0.45));
  filter: blur(2px) saturate(140%);
  animation: floatY var(--d) ease-in-out infinite alternate, floatX calc(var(--d) * 1.2) ease-in-out infinite alternate;
  opacity: 0.55;
}
#tiktok .burst-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  /* バナーより少し上 */
  pointer-events: none;
  /* クリック妨げない */
  overflow: visible;
  mix-blend-mode: screen;
  /* 発光を強める */
}
#tiktok .particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 0, 80, 0.6), 0 0 12px rgba(0, 242, 234, 0.5);
  will-change: transform, opacity;
}
#tiktok .sheen {
  position: absolute;
  inset: -150% -30% auto -30%;
  height: 120%;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  transform: rotate(0deg);
  animation: sheen-move 3.6s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}
#tiktok .tiktok-contents {
  position: relative;
  z-index: 2;
  /* 背景より手前 */
  height: 100%;
  display: grid;
  place-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
#tiktok .tiktok-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  /* SP用 */
}
#tiktok .tiktok-container .container_04 {
  position: relative;
  height: 190px;
}
#tiktok .tiktok-container .scrollbar_04 {
  position: absolute;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%);
}
#tiktok .tiktok-container .scrollbar_04::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 100px;
  background: #fff;
}
#tiktok .tiktok-container .scrollbar_04::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: circlemove 3s ease-in-out infinite, cirlemovehide 3s ease-out infinite;
}
@keyframes circlemove {
  0% {
    bottom: 95px;
  }
  100% {
    bottom: 0px;
  }
}
@keyframes circlemove-sp {
  0% {
    bottom: 50px;
  }
  100% {
    bottom: 0;
  }
}
@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
#tiktok .tiktok-container .tiktok-embed {
  max-width: max-content !important;
}
#tiktok .tiktok-container .tiktok-text {
  padding-bottom: 50px;
  display: inline-block;
  animation: bounce 1s infinite ease-out;
}
#tiktok .tiktok-container .tiktok-btn {
  display: flex;
  justify-content: center;
}
#tiktok .tiktok-container .tiktok-btn img {
  width: 70%;
  margin-bottom: 25px;
  border: solid 3px #ffffff;
  border-radius: 10px;
}
#tiktok .tiktok-container .tiktok-embed-wrap {
  padding-bottom: 50px;
}
#tiktok .hashtag-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
#tiktok .hashtag-ticker .track {
  display: inline-flex;
  gap: 32px;
  white-space: nowrap;
  padding: 10px 0;
  animation: marquee 18s linear infinite;
}
#tiktok .hashtag-ticker .track span {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.02em;
  opacity: 0.9;
  text-shadow: 0 0 10px rgba(0, 242, 234, 0.45), 0 0 10px rgba(255, 0, 80, 0.45);
}

/* ===== Animations ===== */
@keyframes bounce {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-10px);
  }
}
@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}
@keyframes floatY {
  from {
    transform: translate(-50%, calc(-50% - 10px));
  }
  to {
    transform: translate(-50%, calc(-50% + 10px));
  }
}
@keyframes floatX {
  from {
    margin-left: -10px;
  }
  to {
    margin-left: 10px;
  }
}
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 0, 80, 0.25), 0 0 28px rgba(0, 242, 234, 0.18);
  }
  50% {
    box-shadow: 0 0 32px rgba(255, 0, 80, 0.45), 0 0 44px rgba(0, 242, 234, 0.35);
  }
}
@keyframes sheen-move {
  0% {
    transform: translateX(-60%) rotate(12deg);
    opacity: 0;
  }
  15% {
    opacity: 0.75;
  }
  50% {
    transform: translateX(60%) rotate(12deg);
    opacity: 0.75;
  }
  100% {
    transform: translateX(120%) rotate(12deg);
    opacity: 0;
  }
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.3333%);
  }
  /* テキストを2回並べているので-50%で無限ループ */
}
@media (max-width: 600px) {
  .tiktok-deco .orb {
    --s: 25px !important;
  }
  #tiktok .tiktok-container .scrollbar_04:after {
    height: 50px;
  }
  #tiktok .tiktok-container .container_04 {
    bottom: 0;
    height: 32vw;
  }
  #tiktok .tiktok-container .scrollbar_04::before {
    animation: circlemove-sp 3s ease-in-out infinite, cirlemovehide 3s ease-out infinite;
  }
  #tiktok .tiktok-container .tiktok-btn img {
    padding-bottom: 0;
  }
}
/* =============================
    ↑ tiktok 紹介
   ============================= */
/* =============================
    ↓ Back-deco セクション
   ============================= */
#back-deco {
  overflow-x: hidden;
}

.back-deco {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.back-deco-row {
  display: flex;
  gap: 10px;
  height: 250px;
}
.back-deco-row.top .large {
  flex: 7;
}
.back-deco-row.top .small {
  flex: 3;
}
.back-deco-row.bottom .small {
  flex: 3;
}
.back-deco-row.bottom .large {
  flex: 7;
}

.back-deco-item {
  overflow: hidden;
}
.back-deco-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#back-deco .back-deco-item {
  opacity: 0;
  transform: translateX(0);
  will-change: transform, opacity;
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.8s;
  /* 先行→追従の順に */
}
#back-deco .back-deco-item.from-left {
  transform: translateX(-40px);
}
#back-deco .back-deco-item.from-right {
  transform: translateX(40px);
}
#back-deco .back-deco-item.is-inview {
  opacity: 1;
  transform: translateX(0);
}
#back-deco .back-deco-item.group-a {
  transition-delay: 0s;
}
#back-deco .back-deco-item.group-b {
  transition-delay: 1s;
}

@media (max-width: 480px) {
  .back-deco-row {
    height: 40vw;
  }
}
/* =============================
    ↑ Back-deco セクション
   ============================= */
/* --------------------------------------------------------------------------------------------------------------------
 　↓ catchcopy
 --------------------------------------------------------------------------------------------------------------------*/
#recruit-catchcopy {
  position: relative;
  padding: 80px 0 0;
}
#recruit-catchcopy::after {
  content: "";
  position: absolute;
  inset: 0;
  /* ←濃さはここで調整 */
  pointer-events: none;
  /* クリックをブロックしない */
}

/* スクロール前 */
.scroll-left,
.scroll-right {
  opacity: 0;
  /* ここでは transform を使わず、translate/scale 個別プロパティだけ使う */
  translate: 0 20px;
  /* ← 下からフワッと上がる例 */
  scale: 0.98;
  /* ← 軽く縮小から */
}

/* 画面に入ったら（animation.js が is-inview を付与） */
.scroll-left.is-inview,
.scroll-right.is-inview {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  transition: translate 0.6s ease, scale 0.6s ease, opacity 0.6s ease;
}

/* 傾きは rotate だけを独立させる */
.tilt {
  rotate: -5deg;
  /* 好きな角度に */
  transform-origin: 50% 50%;
  /* 端切れ防止が必要なら少しだけ拡大 */
  /* scale: 1.04;  ← ここで scale を使う場合は、上の scale と干渉しないように
                   画像ではなく親(li)側で scale を使う等に切り分けてください */
}

.scroll {
  position: absolute;
  font-size: 13px;
  writing-mode: unset;
  top: -15px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.scroll::after {
  content: "";
  display: inline-block;
  position: absolute;
  background-color: #000;
  right: 50%;
  bottom: -115px;
  transform: translateX(-50%);
  width: 1px;
  height: 100px;
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
.catchcopy-contents {
  position: relative;
  margin: 30vw 0 0;
}

.catchcopy-imgs ul {
  display: flex;
  position: relative;
}
.catchcopy-imgs ul img {
  position: relative;
  object-fit: cover;
  width: 500px;
  filter: blur(2.5px);
  transform-origin: 50% 50%;
  z-index: 1;
}
.catchcopy-imgs ul img.img-nofixed {
  position: absolute;
}
.catchcopy-imgs ul img.cc-img01 {
  top: -20vw;
  right: 15vw;
  width: 65vw;
  height: 30vw;
  rotate: -5deg;
}
.catchcopy-imgs ul img.cc-img02 {
  top: -20vw;
  right: 1vw;
  width: 40vw;
  height: 48vw;
  rotate: 5deg;
}
.catchcopy-imgs ul img.cc-img03 {
  inset: -5vw auto auto 3vw;
  width: 28vw;
  rotate: -5deg;
}
.catchcopy-imgs ul img.cc-img04 {
  inset: -2vw 5vw auto auto;
  width: 65vw;
  rotate: 3deg;
}
.catchcopy-imgs ul img.cc-img05 {
  bottom: -30vw;
  right: 3vw;
  width: 24vw;
  rotate: -15deg;
}
.catchcopy-imgs ul img.cc-img06 {
  top: 12vw;
  width: 42vw;
  rotate: -10deg;
}
.catchcopy-imgs ul img.cc-img07 {
  bottom: -43vw;
  right: 5vw;
  width: 40vw;
  rotate: 6deg;
}
.catchcopy-imgs ul img.cc-img08 {
  width: 49vw;
  height: 33vw;
  rotate: -7deg;
}
.catchcopy-imgs ul img.cc-img09 {
  width: 29vw;
  right: -1vw;
  top: 5vw;
  rotate: -3deg;
}
.catchcopy-imgs ul img.cc-img10 {
  width: 50vw;
  height: 27vw;
  top: 10vw;
  rotate: 3deg;
}
.catchcopy-imgs ul img.cc-img11 {
  width: 35vw;
  right: 2vw;
  top: 5vw;
  rotate: 10deg;
}
.catchcopy-imgs ul img.cc-img12 {
  width: 30vw;
  left: 5vw;
  top: 0vw;
  rotate: 2deg;
}
.catchcopy-imgs ul img.cc-img13 {
  width: 20vw;
  right: 25vw;
  top: -40px;
  rotate: -14deg;
}
.catchcopy-imgs ul img.cc-img14 {
  display: none;
}
.catchcopy-imgs ul img.cc-img15 {
  display: none;
}
.catchcopy-imgs ul img.cc-img16 {
  display: none;
}
.catchcopy-imgs ul img.cc-img17 {
  width: 40vw;
  height: 40vw;
  right: 0;
  top: -14vw;
  rotate: 13deg;
}
.catchcopy-imgs ul img.cc-img18 {
  width: 60vw;
  left: 2vw;
  bottom: 0vw;
  rotate: -6deg;
  z-index: 2;
}
.catchcopy-imgs ul.end {
  justify-content: end;
}
.catchcopy-imgs ul.null:nth-child(1 of .null) {
  height: 50vw;
}
.catchcopy-imgs ul.null:nth-child(2 of .null) {
  height: 23vw;
}
.catchcopy-imgs ul:last-child img.is-front {
  z-index: 1;
}

.catchcopy-position {
  position: absolute;
  inset: 0 0 auto auto;
  right: 17%;
  height: 100%;
  z-index: 10;
}

.catchcopy-text {
  position: sticky;
  top: 100px;
  z-index: 1;
  /* 小さな最適化 */
}
.catchcopy-text p {
  font-size: 21px;
  line-height: 40px;
  letter-spacing: 1px;
  color: #ffffff;
  background-color: rgba(22, 32, 96, 0.7490196078);
  padding: 55px;
}

#recruit-catchcopy .catchcopy-text p {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

#recruit-catchcopy .catchcopy-text.is-sticky-started p {
  opacity: 1 !important;
  /* 開始でフェードイン */
}

/* 最後に到達したら上書きでフェードアウト */
#recruit-catchcopy .catchcopy-text.is-sticky-ended p {
  opacity: 0 !important;
}

@media (max-width: 1024px) {
  .catchcopy-imgs ul img.cc-img14 {
    display: block;
    width: 43vw;
    right: 10vw;
    top: 0px;
    rotate: -7deg;
  }
  .catchcopy-imgs ul img.cc-img15 {
    display: block;
    width: 47vw;
    left: 10vw;
    bottom: 5vw;
    rotate: 6deg;
  }
  .catchcopy-imgs ul img.cc-img16 {
    display: block;
    width: 43vw;
    right: 14vw;
    top: -10vw;
    rotate: 1deg;
  }
  .catchcopy-text {
    padding-left: 3vw;
  }
  .catchcopy-text p {
    font-size: 17px;
    line-height: 30px;
  }
  .scroll::after {
    height: 10vw;
    bottom: -12vw;
  }
}
@media (max-width: 768px) {
  .catchcopy-imgs ul img {
    filter: blur(1px);
  }
  .catchcopy-position {
    right: auto;
  }
  .catchcopy-text {
    padding-right: 0;
  }
}
@media (max-width: 480px) {
  .catchcopy-text p {
    font-size: 3.5vw;
    line-height: 6.5vw;
    padding: 10vw 6vw 6vw;
  }
}
/* --------------------------------------------------------------------------------------------------------------------
 　↑ catchcopy
 --------------------------------------------------------------------------------------------------------------------*/
/* --------------------------------------------------------------------------------------------------------------------
 　↓ ビデオアニメーション
 --------------------------------------------------------------------------------------------------------------------*/
#video-animation {
  padding: 0;
}

.text {
  height: 100svh;
  display: grid;
  place-items: center;
  font-size: max(18px, 2.5vw);
}

.wrapper {
  background-color: #ffffff;
  width: 100%;
  height: 175vh;
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
}

.mask {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
}
.mask .img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 13% 100%;
}
.mask svg {
  width: 70%;
}
.mask svg:nth-child(1) {
  left: -55px;
  bottom: -20px;
}
.mask-text {
  position: absolute;
  top: 20%;
  right: 0vw;
  transform: rotate(15deg);
  width: 50%;
}
.mask-text svg {
  position: relative;
}
.mask-text svg:nth-child(2) {
  left: 40px;
}
.mask-text svg g {
  fill: #ffffff;
}

@media (max-width: 768px) {
  .mask-text {
    right: auto;
    left: 3vw;
    transform: unset;
    width: 90%;
  }
  .mask-text svg:nth-child(1) {
    left: auto;
    bottom: auto;
  }
}
/* --------------------------------------------------------------------------------------------------------------------
 　↑ ビデオアニメーション
 --------------------------------------------------------------------------------------------------------------------*/
/* --------------------------------------------------------------------------------------------------------------------
 　↓ 勤務地 
 --------------------------------------------------------------------------------------------------------------------*/
.recruitArea {
  border-bottom: solid 1px #000000;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  position: relative;
  height: 67vw;
}

.job-area {
  position: relative;
}
.job-area svg#jpMap {
  transform: translate(26vw, -41vw) scale(1.1) rotateY(0deg) rotateX(0deg);
  overflow: visible;
}

.recruitArea-title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 80px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.7490196078);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1;
}

#jpMap [data-pref] {
  transition: fill 0.2s ease;
}

/* 他県の基本 */
#jpMap [data-pref].is-active {
  fill: #00c2ff;
  stroke: rgba(0, 0, 0, 0.15);
  stroke-width: 0.8;
  transition: fill 0.2s ease, filter 0.2s ease, stroke 0.2s ease;
}

/* 東京だけ強調 */
#jpMap [data-pref="13"].is-active {
  fill: #ff2d55;
  stroke: #ff2d55;
  filter: drop-shadow(0 0 6px rgba(255, 45, 85, 0.6));
}

/* 日本列島の色 */
.jpMap-style {
  fill: #273161;
  stroke: #eee;
  stroke-miterlimit: 10;
  stroke-width: 0.25px;
}

.area-block {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 3vw 2.5vw 2.5vw;
  position: absolute;
  top: 200px;
  left: 7.5vw;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 0, 0, 0.1);
  z-index: 1;
}
.area-block h4 {
  padding-top: 30px;
  text-align: center;
  font-size: 21px;
}

.pref-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 12px;
}

.pref-btn {
  padding: 1.5vw 0;
  width: clamp(0px, 20vw, 20vw);
  border: solid 1px #333333;
  background-color: #ffffff;
  font-size: 21px;
  letter-spacing: 4px;
  line-height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.pref-btn span {
  font-size: 0.55em;
  letter-spacing: 2.5px;
}
.pref-btn:hover {
  background-color: #666666;
  color: #ffffff;
}
.pref-btn.is-active {
  background-color: #333333;
  color: #ffffff;
}

.job-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 10px 0;
  margin: 0;
  list-style: none;
}
.job-card-grid:hover .job-card {
  filter: brightness(0.35);
  /* 文字も画像もまとめて暗く */
  /* 画像主体なら ↓ のほうが自然（どちらか一方に） */
  /* filter: brightness(.7); */
}

.job-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  width: clamp(0px, 20vw, 20vw);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.job-card:hover {
  filter: none !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.job-card__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.job-card__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.scroll-infinity {
  position: absolute;
  bottom: -2vw;
  opacity: 0.5;
}

.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}

.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;
}

.scroll-infinity__list--left {
  animation: infinity-scroll-left 250s infinite linear 0.5s both;
}

.scroll-infinity__item {
  width: 70vw;
  padding: 0 140px;
}

.scroll-infinity__item > img {
  width: 100%;
}

@media (max-width: 1024px) {
  .job-area svg#jpMap {
    transform: translate(15vw, -13vw) scale(1.5);
  }
  .recruitArea {
    padding: 0 0 100px;
    height: auto;
  }
  .area-block {
    padding: 2vw 1vw 1vw;
    left: 130px;
  }
  .pref-buttons {
    left: 25vw;
  }
  .pref-btn {
    padding: 1.5vw 5vw;
    width: auto;
    font-size: 17px;
  }
  .area-block {
    position: relative;
    top: auto;
    left: auto;
    padding: 0;
    box-shadow: unset;
  }
  .job-card {
    width: 100%;
  }
}
@media (max-width: 1024px) and (min-width: 481px) {
  .job-area svg#jpMap {
    display: none;
  }
  .recruitArea-title {
    position: unset;
    transform: unset;
  }
}
@media (max-width: 768px) {
  .job-area svg#jpMap {
    transform: translate(5vw, -1vw) scale(1.25);
  }
  .recruitArea-title {
    padding-top: 10vw;
  }
  .pref-buttons {
    width: auto;
    padding: 1vw 0.5vw;
    gap: 3px;
  }
  .pref-btn {
    font-size: 3.5vw;
    height: 7vw;
    padding: 1.8vw 1vw;
  }
  .pref-btn span {
    display: none;
  }
  .job-card-grid {
    gap: 1vw;
  }
}
@media (max-width: 480px) {
  .job-card-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
/* --------------------------------------------------------------------------------------------------------------------
 　↑ 勤務地 
 --------------------------------------------------------------------------------------------------------------------*/
/* --------------------------------------------------------------------------------------------------------------------
 　↓ よくある質問
 --------------------------------------------------------------------------------------------------------------------*/
.faq {
  max-width: 980px;
  margin: 0 auto;
}

.faq-head {
  text-align: center;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
  border-left: solid 3px #273161;
  font-size: 21px;
  overflow: clip;
  padding: 5px 15px;
}

.faq-q,
.faq-a {
  all: unset;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 12px;
  width: 100%;
  padding: 15px 0;
  cursor: pointer;
}
.faq-q::before,
.faq-a::before {
  border: #06c755;
  border-radius: 50%;
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.faq-q::before {
  content: "Q";
  background-color: rgb(68.25, 85.75, 169.75);
}

/* 答え：スムースに開閉（max-heightトリック） */
.faq-a-wrap {
  transition: grid-template-rows 0.3s ease;
  display: grid;
  grid-template-rows: 0fr;
  font-size: 0.8em;
  border-top: 1px dashed #eee;
}

.faq-a::before {
  content: "A";
  background-color: #273161;
}

/* ホバーでほんのり */
.faq-item:hover .faq-q {
  background: #fcfcfc;
}

@media (max-width: 1024px) {
  .faq-item {
    font-size: 17px;
  }
}
@media (max-width: 480px) {
  .faq-item {
    border-radius: 10px;
    font-size: 4vw;
    padding: 1.7vw;
  }
  .faq-q,
  .faq-a {
    padding: 1.5vw;
  }
}
/* --------------------------------------------------------------------------------------------------------------------
 　↑ よくある質問
 --------------------------------------------------------------------------------------------------------------------*/
/* --------------------------------------------------------------------------------------------------------------------
 　↓ 応募職種各ページ
 --------------------------------------------------------------------------------------------------------------------*/
html#job-page section {
  padding-top: 80px;
}

.recruit-contents p,
.recruit-contents li {
  font-size: 30px;
}
.recruit-contents h5 {
  font-size: 35px;
}
.recruit-contents h4 {
  font-size: 40px;
}
.recruit-contents h3 {
  font-size: 46px;
}
.recruit-contents h2 {
  font-size: 52px;
}
.recruit-contents h1 {
  font-size: 60px;
}

.recruit-datails {
  max-width: 1200px;
  margin: 0 auto;
}
.recruit-datails li {
  list-style: square;
}
.recruit-datails article {
  padding: 75px 0 0;
}
.recruit-datails article h3 {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding-bottom: 18.75px;
}
.recruit-datails article h3 img {
  width: 0.75lh;
}
.recruit-datails article > div {
  padding-left: 75px;
}

.main-list {
  padding-left: 25px;
}
.main-list > li {
  padding: 10px 0;
  list-style: none;
}

.sub-list {
  padding-left: 50px;
}

.attention-text {
  color: #ff0000;
  font-weight: bold;
}

.en-mark {
  font-size: 0.75em;
}

@media (max-width: 768px) {
  .main-list {
    padding-left: 3vw;
  }
  .sub-list {
    padding-left: 6vw;
  }
}
.salary {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  gap: 40px;
}
.salary .line {
  position: absolute;
  height: 30px;
  width: 0.1px;
  background-color: #000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.salary-datails {
  width: 100%;
}
.salary-datails .attention-text {
  font-size: 40px;
}

.job-desc-list .sub-list li {
  position: relative;
  list-style: square;
}

/* === Uniform Photo Toggle ===================== */
.clothing {
  max-width: 500px;
  width: auto;
  /* 開閉パネル（写真1枚） */
}
.clothing .toggle-btn {
  position: relative;
  cursor: pointer;
  user-select: none;
}
.clothing .photo {
  margin-top: 10px;
  display: grid;
  grid-template-rows: 0fr;
  overflow: clip;
  opacity: 0;
  transition: grid-template-rows 0.28s ease, opacity 0.28s ease;
}
.clothing .photo > * {
  min-height: 0;
}
.clothing .photo:not([hidden]) {
  grid-template-rows: 1fr;
  opacity: 1;
}

/* 画面固定を防ぐ */
#job-page body.no-scroll {
  overflow: hidden;
}

/* モーダルの土台 */
.uniform-modal[hidden] {
  display: none !important;
}

.uniform-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 24px;
}

/* ダイアログ */
.uniform-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 430px;
  /* 画像周りを引き締め */
  border-radius: 14px;
  overflow: hidden;
  animation: umodal-in 0.18s ease;
}
@keyframes umodal-in {
  from {
    transform: scale(0.98);
    opacity: 0.7;
  }
}

/* 画像 */
.uniform-modal__img {
  display: block;
  width: 100%;
  height: 70vh;
  object-fit: contain;
}

/* 閉じるボタン */
.uniform-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.uniform-modal__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.other-recType {
  max-width: 1200px;
  margin: 100px auto 0;
  background-color: #ffffff;
  color: #000000;
  padding: 0 25px;
}

#other-rec-toggle {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 0.32s ease, opacity 0.24s ease, transform 0.24s ease;
  border-top: solid 1px #ffffff;
}
#other-rec-toggle > p {
  padding: 25px 0;
  text-align: center;
}

#other-rec-toggle.is-open {
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
}

/* 見出しをボタンっぽく + ＋／−アイコン */
#other-recType-heading[role=button] {
  position: relative;
  cursor: pointer;
  user-select: none;
  text-align: center;
  padding: 25px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  background-color: #273161;
  color: #ffffff;
}
#other-recType-heading[role=button]::after {
  content: "＋";
  font-size: 0.8em;
  transition: transform 0.2s ease;
}
#other-recType-heading[role=button][aria-expanded=true]::after {
  content: "－";
}

.other-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  padding-bottom: 25px;
}
.other-list li {
  list-style: none;
}
.other-list a {
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}
.other-list a:hover {
  filter: none !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}
.other-list:hover a {
  filter: brightness(0.15);
  /* 文字も画像もまとめて暗く */
  /* 画像主体なら ↓ のほうが自然（どちらか一方に） */
  /* filter: brightness(.7); */
}

.other-list .card {
  position: relative;
  display: block;
  height: 17vw;
  padding: 16px 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  color: #111;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  z-index: 0;
}

/* 背景画像は ::before に載せて、ホバー時だけフェードイン */
.other-list .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg) center/cover no-repeat;
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: -1;
  /* 背景として背面に */
}

/* 読みやすさ用の暗幕（ホバー時のみ） */
.other-list .card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: -1;
}

/* ホバーで背景＋暗幕ON、文字は白く */
.other-list .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  color: #fff;
}

.other-list .card:hover::before {
  opacity: 1;
}

.other-list .card:hover::after {
  opacity: 1;
}

@media (max-width: 1024px) {
  .salary-datails {
    width: auto;
    padding: 3vw 0 0;
  }
  .salary {
    flex-direction: column;
  }
  .salary .line {
    display: none;
  }
  .other-recType {
    padding: 0 3vw;
  }
  #other-rec-toggle > p {
    padding: 3vw 0;
  }
  #other-recType-heading[role=button] {
    padding: 3vw 0;
  }
  .other-list {
    gap: 1.5vw;
    padding-bottom: 3vw;
  }
}
@media (max-width: 768px) {
  .recruit-contents p,
  .recruit-contents li {
    font-size: 4.5vw;
  }
  .recruit-contents h5 {
    font-size: 5.2vw;
  }
  .recruit-contents h4 {
    font-size: 6vw;
  }
  .recruit-contents h3 {
    font-size: 6.8vw;
  }
  .recruit-contents h2 {
    font-size: 7.9vw;
  }
  .recruit-contents h1 {
    font-size: 9.1vw;
  }
  .recruit-datails article {
    padding: 13vw 0 0;
  }
  .recruit-datails article > div {
    padding-left: 5vw;
  }
  .recruit-datails article > div.clothing {
    padding-right: 5vw;
  }
  .salary {
    grid-template-columns: repeat(1, 1fr);
    gap: 1vw;
  }
  .salary-datails .attention-text {
    font-size: 7.5vw;
  }
}
/* --------------------------------------------------------------------------------------------------------------------
 　↑ 応募職種各ページ
 --------------------------------------------------------------------------------------------------------------------*/
/* --------------------------------------------------------------------------------------------------------------------
 　↓ footer
 --------------------------------------------------------------------------------------------------------------------*/
footer {
  padding: 100px 0 0;
  background: linear-gradient(to bottom, #ffffff, #caecfa 40%, #d8f4e1 100%);
}

/* 最背面の動画 */
.recruit-footer .rf-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 余白なく全面表示 */
  z-index: 0;
  filter: none;
  /* 必要なら彩度/明るさ調整 */
}

/* 上=白100% → 下=透明 のフィルター */
.recruit-footer .rf-filter {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.85) 20%, rgba(255, 255, 255, 0.45) 45%, rgba(255, 255, 255, 0) 100%);
}

/* 既存コンテンツは前面に */
.recruit-footer .footer-contents,
.recruit-footer .entry-contents {
  z-index: 2;
}

.recruit-footer .footer-contents,
.recruit-footer {
  position: relative;
}

/* ========== RF MENU (PC base) ========== */
.rf-menu ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  list-style: none;
  margin: 0;
  padding: 50px;
}
.rf-menu a {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
}
.rf-menu a:hover {
  opacity: 0.7;
  transform: translateY(-1px);
}
.rf-menu a:active {
  opacity: 0.55;
  transform: translateY(0);
}

.footer-cr {
  border-top: 1px solid #f2f2f2;
  padding: 50px;
  text-align: center;
  color: #ffffff;
}

.entry-contents {
  display: none;
}

html#job-page .entry-contents {
  display: flex;
}

.entry-contents {
  position: fixed;
  right: 1vw;
  bottom: 1vw;
  z-index: 9997;
  width: 350px;
  flex-direction: column-reverse;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 0, 0, 0.6);
  /* うっすら縁の影 */
  /* === メニュー（初期閉） === */
  /* === 開く条件：hover / focus-within / .is-open === */
}
.entry-contents .entry-buttons {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.25s ease, opacity 0.2s ease, transform 0.2s ease;
}
.entry-contents .entry-buttons a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5em;
  padding: 12px;
  text-decoration: none;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.entry-contents .entry-buttons a::after {
  content: "↗";
  position: absolute;
  right: 20px;
  font-size: 0.9rem;
  opacity: 0.9;
}
.entry-contents .entry-buttons a.entry {
  color: #fff;
  border: solid 2px transparent;
}
.entry-contents .entry-buttons a.entry.entry--mail {
  background-color: #1d4ed8;
}
.entry-contents .entry-buttons a.entry.entry--mail:hover {
  background-color: #fff;
  color: #1d4ed8;
  border: solid 2px #1d4ed8;
}
.entry-contents .entry-buttons a.entry.entry--line {
  background-color: #06c755;
}
.entry-contents .entry-buttons a.entry.entry--line:hover {
  background-color: #fff;
  color: #06c755;
  border: solid 2px #06c755;
}
.entry-contents .entry-buttons a.entry.entry--tel {
  background-color: #0ea5e9;
}
.entry-contents .entry-buttons a.entry.entry--tel:hover {
  background-color: #fff;
  color: #0ea5e9;
  border: solid 2px #0ea5e9;
}
.entry-contents .entry-buttons a svg {
  width: 1lh;
}
.entry-contents:hover .entry-buttons, .entry-contents:focus-within .entry-buttons, .entry-contents.is-open .entry-buttons {
  max-height: 300px;
  /* ボタン数に応じて調整 */
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ========== スマホ（768px以下）で縦並び & 左寄せ ========== */
@media (max-width: 768px) {
  html#job-page footer {
    padding: 20vw 0 30vw;
  }
  .rf-menu ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2列 */
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 5vw;
    gap: 5px 0;
  }
  .rf-filter {
    background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.85) 10%, rgba(255, 255, 255, 0.45) 45%, rgba(255, 255, 255, 0) 100%) !important;
  }
  .footer-cr {
    padding-bottom: 10px;
    padding-top: 10px;
  }
}
/* モバイル最適化 */
@media (max-width: 480px) {
  .entry-contents {
    width: 100%;
    right: 0;
    bottom: 0;
    padding: 0;
    margin: 0;
    transform: unset;
    border-radius: 0;
    box-shadow: none;
  }
  .entry-contents .entry-buttons a {
    border-radius: 0;
    font-size: 4.5vw;
  }
  .rf-menu a {
    /* 余白を少し大きめにして“行高”を確保 */
    line-height: 1.9;
    font-size: 3.5vw;
  }
}
/* --------------------------------------------------------------------------------------------------------------------
 　↑ footer
 --------------------------------------------------------------------------------------------------------------------*/
::-webkit-scrollbar {
  width: 2px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(315deg, #0031ea 0%, #228ada 48%, #009b73 100%);
}