@charset "utf-8";

/* ===============================================
   全体設定
=============================================== */
:root {
  --color-primary: #002b62;
  --color-secondary: #2b9597;
}

.sp-br {
  display: none;
}

#recruit img {
  pointer-events: none;
}

/* ===============================================
   採用情報
=============================================== */
#recruit {
  padding-bottom: 0;
}

#recruit h2 {
  font-family: "Makinas-Scrap-5", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 35px;
  color: var(--color-primary);
  text-align: center;
  letter-spacing: 0.2em;
  margin-bottom: 1em;
  line-height: 40px;
}

#recruit h2.green {
  color: var(--color-secondary);
}

#recruit h3 {
  font-weight: 500;
  font-size: 125%;
  margin-bottom: 0.5em;
  color: var(--color-primary);
}

#recruit #breadcrumb {
  position: relative;
  width: 100%;
  z-index: 10;
  margin-top: max(-13.5vw, -240px);
  margin-bottom: min(13.5vw, 120px);
}

#recruit .txt {
  line-height: 2em;
  margin-bottom: 0.5em;
}

#recruit .content ul li {
  margin-top: 0.5em;
}

#recruit .content ul {
  margin-top: 0em;
  margin-bottom: 0em;
}

#recruit header > nav ul.menu > li:last-child {
  background: var(--color-primary);
}

#recruit .main_ttl {
  background-image: url("../img/common/head_recruit.jpg");
  background-size: 100% auto;
  background-position: center center;
  background-repeat: no-repeat;
  top: -125px;
  margin-top: -125px;
  width: 100%;
  aspect-ratio: 100 / 45;
  height: auto;
  max-height: none;
  min-height: 0;
  z-index: 10;
}

#recruit .title {
  position: absolute;
  top: 50%;
  left: 80%;
  transform: translate(-50%, -50%);
  font-size: 35px;
  font-family: "Makinas-Scrap-5", sans-serif;
  font-weight: 200;
  letter-spacing: 0.2em;
  font-style: normal;
  text-shadow: 1px 1px 5px #535d64;
  white-space: nowrap;
}

#recruit .content {
  margin-top: -5em;
  position: relative;
  z-index: 20;
}

#recruit .recruit_content {
  width: 100%;
  height: 100%;
  background-repeat: repeat-y;
  background-position: top center;
}


/* 採用ページ内：ニュースエリア */

/* エリア全体 */
.recruit-news-area {
  margin: 60px 0; /* 上下の余白 */
}

/* 「最新のお知らせ」見出し */
.recruit-news-ttl {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center; /* 中央寄せ */
  color: #333;
}

/* --- 一覧へ飛ぶボタンのデザイン --- */
.news-btn-wrap {
  margin-top: 40px;
  text-align: center; /* ボタンを真ん中に */
}

.btn-recruit-news {
  display: inline-block;
  padding: 10px 40px;
  background-color: var(--color-primary); /* 背景 */
  color: #fff;
  border: 1px solid #002b62; /* 枠線 */
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s;
  letter-spacing: 0.1em;
}

.btn-recruit-news:hover {
  background-color: #fff; /* ホバー時は反転 */
  color: var(--color-primary);
}


/* ===============================================
	採用情報
=============================================== */
#recruit #job-list {
  background: #f2f2f3;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
}

.btn-r-top {
  width: 100%;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 20px;
}

.original-button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #002b62;
  font-size: 14px;
  font-weight: normal;
  border-radius: 0px;
  height: 40px;
  transition: 0.3s;
  background-color: #e0e9ee;
  min-width: 200px;
  width: 100%;
}

.original-button:hover {
  background-color: #002b62;
  color: #fff;
}

.employee-img {
  margin: 0 auto;
  padding: 50px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.employee-img img {
  width: 100%;
  max-width: 1300px;
  height: auto;
}

.employee-img-sp {
  display: none;
}

/* ===============================================
   数字で見る鶴岡光学 (Square Card Ver.)
   修正: アイコン拡大 / 全体中央寄せ / 2列データ整列
=============================================== */

/* 1. レイアウトの調整（全体を真ん中に） */
.num-layout.stylish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PCは3列 */
  gap: 30px; /* カード間の隙間 */
  width: 90%;
  max-width: 1100px;
  margin: 0 auto; /* 左右の余白を自動にして中央寄せ */
  justify-content: center; /* グリッド全体を中央に */
}

/* 2. カード（箱）のデザイン */
.num-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* カード内の要素も上下中央 */
  text-align: center;
  
  background-color: #e6f0f0; /* 薄い緑 */
  padding: 40px 10px; /* 横のパディングを少し減らして窮屈さを解消 */
  border-radius: 0px;
  
  box-shadow: 0 0 10px rgba(43, 149, 151, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* 高さを揃える */
}

.num-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(43, 149, 151, 0.2);
  background-color: #dceded;
}

/* 3. 並び順の変更 (orderプロパティ) */

/* ① 項目名 (Label) */
.num-item .label {
  order: 1;
  margin-bottom: 30px; /* アイコンとの隙間を広げる */
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  opacity: 1;
  width: 100%; /* 幅いっぱいに */
}

/* ② アイコン (Icon) ★ここを大きくしたよ！★ */
.num-item .icon-wrap {
  order: 2;
  margin-bottom: 15px;
  
  /* アイコン背景サイズアップ 80px -> 110px */
  width: 250px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.num-item:hover .icon-wrap {
  transform: scale(1.05);
}

.num-item .icon-wrap img {
  width: 60%; /* 画像の比率は維持 */
  height: auto;
  object-fit: contain;
}

/* ③ 数字 (Data) */
.num-item .data {
  margin-top: 5px;
  font-family: "Makinas-Scrap-5", sans-serif;
  color: var(--color-secondary);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  order: 3;
}

.num-item .data .val {
  font-size: 46px; /* 少し大きく */
  font-weight: 800;
  letter-spacing: -0.02em;
}

.num-item .data .unit {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  font-family: "Noto Sans JP", sans-serif;
  margin-left: 2px;
}


/* 4. 【修正】2つのデータが並ぶパターン（理系文系・男女比） */

/* 行全体の整列 */
.num-item.double-data .data-row {
  order: initial;
  display: flex;
  align-items: flex-end; /* 下揃えで数字の位置を合わせる */
  justify-content: center; /* 中央寄せ */
  gap: 10px; /* 左右のデータの間隔 */
  margin-top: 5px;
  width: 100%;
  order: 3;
}

.num-item.double-data .slash {
  order: 3;
}
/* 個別のデータブロック（崩れ修正） */
.num-item.double-data .data {
  display: block; /* Flexを解除してブロック要素に */
  text-align: center;
}

/* ラベル（文系・理系など） */
.num-item.double-data .s-label {
  display: block; /* 改行させる */
  font-size: 13px;
  color: #666;
  font-weight: bold;
  margin-bottom: 5px; /* 数字との隙間 */
}

/* 数字 */
.num-item.double-data .val {
  font-size: 40px;
}

/* 真ん中のスラッシュ */
.num-item.double-data .slash {
  font-size: 24px;
  color: #ccc;
  transform: rotate(15deg);
  margin-bottom: 5px; /* 数字の高さに合わせる調整 */
}


/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
  .num-layout.stylish-grid {
    grid-template-columns: repeat(2, 1fr); /* スマホは2列 */
    gap: 15px;
  }
  
  .num-item {
    padding: 25px 5px;
  }
  
  .num-item .label {
    font-size: 16px;
    margin-bottom: 15px;
  }

  /* スマホでのアイコンサイズ調整 */
  .num-item .icon-wrap {
    width: 230px;
    height: 80px;
    margin-bottom: 10px;
  }
  
  .num-item .data .val {
    font-size: 40px;
  }
  
  .num-item.double-data .val {
    font-size: 24px;
  }
  
  .num-item.double-data .data-row {
    gap: 5px;
  }
}

/*▼▼▼▼Recruit Grid Section▼▼▼*/
#recruit #job-list .recruit-grid-container {
  width: 100%;
  margin-top: 60px; /* タイトルとの隙間 */
}

/* 行ごとの設定 */
#recruit #job-list .recruit-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

/* カラム共通（PCでは幅50%） */
#recruit #job-list .recruit-col {
  width: 50%;
  position: relative;
  /* アスペクト比を保つ設定（画像とテキストの高さを揃えるため） */
  aspect-ratio: 16 / 9;
  min-height: 400px; /* 最低の高さ */
}

/* --- 画像エリア --- */
#recruit #job-list .recruit-col.img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* 画像下の隙間消し */
}

/* --- テキストエリア共通 --- */
#recruit #job-list .recruit-col.content-col {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 40px;
  box-sizing: border-box;
}

/* 背景色設定 */
#recruit #job-list .bg-green {
  background-color: #2b9597; /* 現場職の緑 */
}

#recruit #job-list .bg-navy {
  background-color: #002b62; /* 事務職の紺 */
}

#recruit #job-list .recruit-col.content-col.bg-green {
  background-image: url(../img/recruit/bg_rec_job_green.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 30px;
  box-sizing: border-box;
}

#recruit #job-list .recruit-col.content-col.bg-navy {
  background-image: url(../img/recruit/bg_rec_job_blue.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 30px;
  box-sizing: border-box;
}


/* --- コンテンツの中身 --- */
#recruit #job-list .content-inner {
  width: 100%;
  max-width: 500px; /* 文字が広がりすぎないように */
}

#recruit #job-list h3 {
  color: #fff;
}

#recruit #job-list .content-inner h3 {
  font-size: 27px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #fff; /* 下線 */
  letter-spacing: 0.1em;
}

#recruit #job-list .content-inner .desc {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* --- ボタンエリア（2つ横並び） --- */
#recruit #job-list .recruit-btns {
  display: flex;
  gap: 20px; /* ボタン同士の隙間 */
  width: 100%;
}

#recruit #job-list .btn-recruit {
  display: flex;
  justify-content: space-between; /* 文字と矢印を左右に配置 */
  align-items: center;
  width: 50%; /* 親の幅を半分ずつ */
  padding: 15px 20px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
  background-color: transparent;
  box-sizing: border-box;
}

#recruit #job-list .btn-recruit:hover {
  background-color: #fff;
  color: var(--color-primary); /* ホバー時は文字色をメインカラーに */
  opacity: 1; /* 透明度は変えない */
}

#recruit #job-list .btn-recruit.green:hover {
  background-color: #fff;
  color: #2b9597; /* ホバー時は文字色をメインカラーに */
  opacity: 1; /* 透明度は変えない */
}

/* ===============================================
   Recruit Banner Section
=============================================== */
#recruit_banner {
  width: 100%;
  overflow: hidden;
  padding: 50px;
  box-sizing: border-box;
}

/* 背景（緑色ベース + 上下の青い線） */
#recruit_banner .banner_bg {
  width: 100%;
  padding: 30px 0;
  position: relative;
}

#recruit_banner .banner_inner {
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  height: 22.5vw;
  max-height: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* --- 画像グループ --- */
#recruit_banner .image_group {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  position: relative;
  background-color: var(--color-secondary);
  gap: 10px; /* 線の太さ */
  z-index: auto;
}

/* 各画像の枠 */
#recruit_banner .img_item {
  position: relative;
  width: 25%; /* 4枚で等分 */
  height: 100%;
}

/* 画像本体 */
#recruit_banner .img_item img {
  width: 100%; /* 素直に100%でOK */
  height: 100%;
  object-fit: contain;
  transform: scale(1.4);
  transform-origin: center; /* 中心から拡大 */
  transition: transform 0.3s ease; /* 滑らかに動かす場合 */
}

#recruit_banner .img_item.item_1 {
  transform: translate(-2.625vw, -2.875vw);
}

#recruit_banner .img_item.item_2 {
  transform: translate(-12.5vw, 2.5vw);
}

#recruit_banner .img_item.item_3 {
  transform: translate(12vw, -2.625vw) translateZ(20px);
  z-index: 30 !important;
}

#recruit_banner .img_item.item_4 {
  transform: translate(2.56vw, 3.5vw);
}

/* --- ▼▼▼ 重なりの制御▼▼▼ --- */

/* 1. 基本の画像たち（ボタンより奥） */
#recruit_banner .img_item {
  z-index: 1;
}

/* 2. 中央のボタン（画像より手前） */
#recruit_banner .center_btn_area {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10; /* ← 1より大きい */
  width: 28.125vw;
  max-width: 90%;
}

#recruit_banner .img_item.item_2_sp,
#recruit_banner .img_item.item_4_sp {
  display: none;
}

/* ===============================================
   Recruit Banner Animation
=============================================== */

/* 1. アニメーションの初期状態 */
#recruit_banner .img_item .banner-anim-top,
#recruit_banner .img_item .banner-anim-bottom {
  opacity: 0;
  

  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease-out;
  
  transition-delay: 0.8s;
  will-change: transform, opacity;
}

/* 上から来るグループ（距離を倍の-120pxにして勢いを出す） */
#recruit_banner .img_item .banner-anim-top {
  transform: scale(1.4) translateY(-120px);
}

/* 下から来るグループ（距離を倍の120pxにして勢いを出す） */
#recruit_banner .img_item .banner-anim-bottom {
  transform: scale(1.4) translateY(120px);
}


/* 2. 発動状態（スイッチが入ったら定位置へ！） */
.js-anim.is-show #recruit_banner .banner-anim-top,
.js-anim.is-show #recruit_banner .banner-anim-bottom,
.js-anim.is-active #recruit_banner .banner-anim-top,
.js-anim.is-active #recruit_banner .banner-anim-bottom,
.js-anim.active #recruit_banner .banner-anim-top,
.js-anim.active #recruit_banner .banner-anim-bottom,

#recruit_banner.is-show .banner-anim-top,
#recruit_banner.is-show .banner-anim-bottom,
#recruit_banner.is-active .banner-anim-top,
#recruit_banner.is-active .banner-anim-bottom,
#recruit_banner.active .banner-anim-top,
#recruit_banner.active .banner-anim-bottom {
  opacity: 1;
  /* 定位置（Y=0）に戻す */
  transform: scale(1.4) translateY(0);
}

/* ===============================================*/

/* --- ボタンのデザイン --- */
.recruit_link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 8.75vw;
  max-height: 140px;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  background-color: var(--color-secondary);
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.recruit_link .main_txt {
  font-size: 2.18vw;
  font-size: clamp(16px, 2.18vw, 35px);
  font-family: "Makinas-Scrap-5", sans-serif;
  letter-spacing: 0em;
  margin-bottom: 1px;
}

.recruit_link .sub_txt {
  font-size: 0.875vw;
}

.recruit_link .arrow {
  margin-left: 5px;
  font-size: 25px;
}

/* ホバーエフェクト（反転） */
.recruit_link:hover {
  background-color: #fff;
  color: var(--color-secondary);
}

/* ===============================================
   Wipe Animation (採用職種一覧のアニメーション)
=============================================== */

/* 1. 行（親要素）の設定 */
#recruit #job-list .recruit-row {
  position: relative; /* 背景の基準点 */
  z-index: 1;
  /* 背景がはみ出さないように */
  overflow: hidden;
}

/* 2. 背景の「幕」を作る（::before） */
#recruit #job-list .recruit-row::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* 文字や画像より奥に */

  /* 動きの設定（イージングは維持） */
  transition: clip-path 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: clip-path;
}

/* 3. 画像エリア・文字エリアの調整 */
#recruit #job-list .recruit-col {
  position: relative;
  z-index: 2; /* 背景より手前に */
}

/* 文字エリアの背景色を透明にする（親の背景を見せるため） */
#recruit #job-list .recruit-col.content-col.bg-green,
#recruit #job-list .recruit-col.content-col.bg-navy {
  background: none !important; /* 元の背景を消す */
}


/* --- パターンA：現場職（緑） --- */
/* 左から右へ全体に伸びる */
.js-wipe-left::before {
  left: 0;
  /* 背景画像と色をここに移植 */
  background-color: #2b9597;
  background-image: url(../img/recruit/bg_rec_job_green.jpg);
  background-size: cover;
  background-position: center;
  /* 初期状態：左側（右を100%隠す） */
  clip-path: inset(0 100% 0 0);
}

/* --- パターンB：事務職（紺） --- */
/* 右から左へ全体に伸びる */
.js-wipe-right::before {
  right: 0;
  left: auto;
  /* 背景画像と色をここに移植 */
  background-color: #002b62;
  background-image: url(../img/recruit/bg_rec_job_blue.jpg);
  background-size: cover;
  background-position: center;

  /* 初期状態：右側（左を100%隠す） */
  clip-path: inset(0 0 0 100%);
}


/* --- ★発動（is-activeがついた時）★ --- */

/* 背景幕を全開にする */
.js-wipe-left.is-active::before,
.js-wipe-right.is-active::before {
  clip-path: inset(0 0 0 0);
}


/* --- 画像の動き（ここは変更なし・遅延登場） --- */
.js-wipe-left .img-col,
.js-wipe-right .img-col {
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.2s ease;
  transition-delay: 0.6s; /* 背景が伸びてから登場 */
}

/* 左行の画像：右からスライド */
.js-wipe-left .img-col {
  transform: translateX(50px);
}

/* 右行の画像：左からスライド */
.js-wipe-right .img-col {
  transform: translateX(-50px);
}

/* 発動時の画像位置 */
.js-wipe-left.is-active .img-col,
.js-wipe-right.is-active .img-col {
  opacity: 1;
  transform: translateX(0);
}


/* --- スマホ調整 --- */
@media screen and (max-width: 768px) {

  /* スマホでは背景アニメーションを単純なフェードにするか、
       あるいは「最初から表示」しておくのが無難 */
  .js-wipe-left::before,
  .js-wipe-right::before {
    clip-path: inset(0 0 0 0); /* 最初から全表示 */
    opacity: 0;
    transition: opacity 1s;
  }

  .js-wipe-left.is-active::before,
  .js-wipe-right.is-active::before {
    opacity: 1;
  }

  /* 画像の動きはそのまま */
  .js-wipe-left .img-col,
  .js-wipe-right .img-col {
    transform: translateY(20px);
  }

  .js-wipe-left.is-active .img-col,
  .js-wipe-right.is-active .img-col {
    transform: translateY(0);
  }
}

/* --- スマホ調整 --- */
/* スマホでは縦積みになるので、単純なフェードインなどに切り替えるほうが自然かも */


/* ===============================================
	募集要項
=============================================== */
/* テーブル */
#recruit .table_design01 {
  border-collapse: collapse;
  width: 100%;
  max-width: 1200px;
}

#recruit .table_design01 td {
  border: 1px solid #dcdddd;
  background-color: #fff;
  padding: 1em;
}

#recruit .table_design01 tr:first-child th {
  border-top: 1px solid #dcdddd;
}

#recruit .table_design01 tr:last-child th {
  border-bottom: 1px solid #dcdddd;
}

#recruit .table_design01 th {
  background-color: #dcdddd;
  font-weight: normal;
  width: 20%;
  min-width: 4em;
  border: 1px solid #fff;
  text-align: left;
  padding-left: 1em;
  border-left: none;
}

/* ===============================================
   05. 一般技術職〈新卒〉専用のスタイル 
=============================================== */

#section_05 .table_design01 {
  margin-top: 30px; 
}

#section_05 p a {
  display: inline !important;
  color: #192d79;
  font-weight: bold;
  text-decoration: underline;
}

#section_05 .table_design01 td a {
  display: inline !important;
  color: #333 !important;
  text-decoration: underline !important;
  font-weight: normal;
}

#section_05 .table_design01 td a:hover {
  opacity: 0.6;
  text-decoration: none !important;
}
/* ===============================================
   TOPへ戻るボタン
=============================================== */

#pagetop {
  display: none;
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
}


#pagetop a {
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-primary);
  transition: all 0.3s ease;
  font-size: 0; 
}

#pagetop a::before {
  content: "↑"; 
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 2px;
  display: block;
}

/* 英語のテキストを添える ♥ */
#pagetop a::after {
  content: "PAGE TOP";
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-family: 'Manrope', sans-serif; 
}

/* ホバー時のアクション ♦ */
#pagetop a:hover {
  opacity: 0.6;
  transform: translateY(-5px); 
}

/* スマホ用調整 ♥ */
@media screen and (max-width: 768px) {
  #pagetop {
    bottom: 15px;
    right: 15px;
  }
  #pagetop a::before {
    font-size: 18px;
  }
  #pagetop a::after {
    font-size: 10px;
  }
}
/* ボタン */
/* --- 採用情報のボタンを4列ベースにする --- */
#job-btn-r-top .btn-r-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px 15px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

#job-btn-r-top .btn-r-top > div {
  width: 100%;
}

/* --- 下2つのボタン--- */
#job-btn-r-top .original-button.type-sub {
  background-color: #eaeaea; /* 薄いグレー寄りの背景 */
  /* border: 1px solid #c0c9d0; 境界線も薄く */
  color: #4c5e70;
}

#job-btn-r-top .original-button.type-sub:hover {
  background-color: #333; 
  color: #fff;
  border-color: var(--color-primary);
}


#recruit .button-r a {
  background: var(--color-secondary);
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 60px auto;
  max-width: 500px;
  width: 100%;
  padding: 10px 25px;
  font-family: "Noto Sans JP";
  color: #fff;
  line-height: 1.8;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-weight: 500;
}

#recruit .button-r a:hover {
  background: var(--color-primary) !important;
  color: #fff;
}

#recruit section {
  padding-top: 50px;
  padding-bottom: 50px;
}

#recruit .bg-green {
  background: #e6f0f0;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
}

#recruit .number {
  font-style: italic;
}


.recruit-btn-wrap {
  margin-top: 40px;
  text-align: center; /* ボタンを真ん中に */
}

.btn-recruit-entry {
  display: inline-block;
  padding: 10px 70px;
  background-color: var(--color-secondary); /* 背景 */
  color: #fff;
  border: 1px solid #2b9597; /* 枠線 */
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s;
  letter-spacing: 0em;
}

.btn-recruit-entry:hover {
  background-color: #fff; /* ホバー時は反転 */
  color: var(--color-secondary);
}

/* --- 追加：ページ内リンクの位置調整 --- */
#jobs,
#employee,
#number,
#number1,
#number2,
#number3,
#number4,
#number5{
  scroll-margin-top: 100px;
}

#company_event,
#member_holiday,
#qa_area {
  scroll-margin-top: -100px;
}

#recruit h3:has(#number1) {
  margin-top: 80px; 
}


/* ===============================================
   先輩社員一覧 (ヘッダーとQ&Aの間に配置)
=============================================== */
#recruit #member_list {
  margin-top: 0px;
  position: relative;
  z-index: 20;
  padding-bottom: 15px;
}

/* PC: 4列設定 */
.member_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 横4つ */
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.member_item {
  text-align: center;
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* --- 丸い画像 --- */
.member_img {
  width: 160px;
  height: auto;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff; /* 白い太枠 */
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* 影 */
}

.member_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member_name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.member_info {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

/* ===============================================
   Q&Aエリア (背景装飾)
=============================================== */
#recruit #qa_area {
  margin-top: -350px;
  padding-top: 300px;
  padding-bottom: 0px;
  overflow: hidden;
  position: relative;
  z-index: 5;
  background-color: #e6f0f0;
  background-image: linear-gradient(
    to bottom,
    #2b9597 0%,
    #2b9597 100%
  );
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 600px;
}

#recruit #qa_area::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url("../img/recruit/bg_qa_logo.png");
  background-repeat: no-repeat;
  background-position: right 1% top 20px; 
  background-size: 545px auto; /* 元のサイズ */

  /* ▼ アニメーション：右からふわっと */
  opacity: 0; /* 最初は隠す */
  animation: slideInBg 2.0s cubic-bezier(0.22, 1, 0.36, 1) 1.5s forwards;
  /* GPU強制*/
  will-change: transform, opacity;
  backface-visibility: hidden;
  perspective: 1000px;
}

/* アニメーション定義 */
@keyframes slideInBg {
  0% {
    opacity: 0;
    transform: translateX(120px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* INTERVIEW 透かし文字 */
#recruit #qa_area::before {
  content: "INTERVIEW";
  position: absolute;
  top: 10px;
  left: 0;
  z-index: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 14vw;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  color: rgba(255, 255, 255, 0.4);
  writing-mode: vertical-rl;
  user-select: none;
  pointer-events: none;
  /* 3秒かけてゆっくり現れる & その後もフワフワ動き続ける */
  animation: cinematicWaterEntrance 3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: transform, letter-spacing, opacity, filter;
}

@keyframes cinematicWaterEntrance {
  0% {
    opacity: 0; /* 最初は透明 */
    letter-spacing: 1em; /* 文字の間隔を広げておく（縦書きだと縦に広がる） */
    filter: blur(15px); /* 強くぼかす */
    transform: scale(1.1) translateY(20px); /* 少し大きく、下にずらす */
  }

  100% {
    opacity: 1; /* 元の色（rgbaの薄さ）に戻る */
    letter-spacing: 0.1em; /* 元の間隔に戻ってピシッと揃う */
    filter: blur(0); /* ピントが合う */
    transform: scale(1) translateY(0);
  }
}

#recruit #qa_area .wrap_general {
  background-color: #fff;
  padding: 40px 0 45px;
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1000px;
  margin: 50px auto;
}

/* タイトルのマージンリセット */
#recruit #qa_area .qa_main_ttl {
  font-family: "Makinas-Scrap-5", sans-serif;
  font-size: 38px;
  color: var(--color-primary);
  text-align: center;
  margin-top: 20px;
  margin-bottom: 60px;
  letter-spacing: 0.1em;
  line-height: 1;
}

/* 質問ブロック全体 */
.qa_block {
 margin-bottom: 20px; /* 閉じた状態の隙間を狭くする（80pxから変更） */
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  border-bottom: 1px solid var(--color-primary); /* 下線をdetails本体に引く */
}

/* --- 質問部分 (Q) --- */
.question_row {
  display: flex;
  align-items: flex-start;
  padding: 15px 0; /* padding-bottomを上下のパディングに変更 */
  cursor: pointer; /* マウスを乗せると指マークになる */
  list-style: none; /* デフォルトの黒い三角を消す */
  position: relative; /* アイコンの配置基準 */
}

/* Safari用の黒い三角消し */
.question_row::-webkit-details-marker {
  display: none;
}

.icon_q {
  background-color: var(--color-primary);
  color: #fff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 15px;
  flex-shrink: 0; /* 縮まないように固定 */
  margin-right: 20px;
}

.q_text {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  line-height: 1.5;
  padding-top: 5px; /* アイコンとの位置合わせ */
   max-width: calc(100% - 30px); 
  word-break: break-word; 
}

/* アコーディオンの開閉アイコン（＋と－）*/
.accordion_icon {
  position: absolute;
  right: 10px;
  top: 15px;
   transform: none; /* translateYを解除 */
  width: 15px; /* 君が小さくしたサイズ */
  height: 15px; /* 君が小さくしたサイズ */
  flex-shrink: 0; 
}

.accordion_icon::before,
.accordion_icon::after {
  content: "";
  position: absolute;
  background-color: var(--color-primary); /* アイコンの色 */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion_icon::before {
  width: 15px;
  height: 2px; /* 横線 */
}

.accordion_icon::after {
  width: 2px;
  height: 15px; /* 縦線 */
  transition: transform 0.3s ease, opacity 0.3s ease; /* アニメーション */
}

/* 開いた時は縦線を回して消し、「－」にする */
details[open] .accordion_icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

/* --- 回答部分 (A) --- */
.answer_list {
  display: flex;
  flex-direction: column;
  gap: 30px; /* アイコン同士（行同士）の縦の余白を固定 */
  animation: fadeIn 0.4s ease-in-out;
  margin-bottom: 40px;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.answer_row {
  display: flex;
  align-items: flex-start;
  /* margin-bottom: 25px; */
}

/* 名前とアイコンのセット */
.respondent {
  display: flex;
  align-items: center;
  width: 140px; /* 名前エリアの幅固定 */
  flex-shrink: 0;
  /*margin-right: 20px;*/
}

.icon_a {
  background-color: var(--color-secondary);
  color: #fff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: bold;
  margin-right: 20px;
}

/* ★★★ 追加：新しく設定した顔写真アイコンのスタイル ★★★ */
.icon_a_img {
  width: 50px;  /* 丸の大きさ */
  height: 50px; /* 丸の大きさ */
  border-radius: 50%; /* これで完璧に丸くくり抜く */
  object-fit: cover; /* 画像が歪まないようにする */
  margin-right: 15px; /* 名前との隙間 */
  flex-shrink: 0;
  border: 2px solid var(--color-secondary); /* テーマカラーの枠線 */
  box-sizing: border-box;
}

.respondent .name {
  color: var(--color-secondary);
  font-weight: bold;
  font-size: 14px;
  letter-spacing: -0.5px;
}

.respondent .name {
  color: var(--color-secondary);
  font-weight: bold;
  font-size: 14px;
  letter-spacing: -0.5px;
}

/* 回答テキスト */
.a_text {
font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin: 0;
  flex: 1;
  padding-top: 8px; /* 顔写真の中心とテキストの1行目が合うように微調整 */
}

/* 海画像 */
.sea-img {
  width: 100%;
  height: 30vh;
  background-image: url("../img/recruit/img_int_sea.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  margin-bottom: 100px;
}


/* ===============================================
  .社員の休日
=============================================== */

#recruit #member_holiday .holiday_main_ttl {
  font-family: "Makinas-Scrap-5", sans-serif;
  font-size: 35px;
  color: var(--color-secondary);
  text-align: center;
  margin-top: 0;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
  line-height: 1;
}

/* グリッドレイアウト (PC: 2列) */
.holiday_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 30px; /* 縦横の隙間 */
  margin-top: 40px;
}

.holiday_item {
  width: 100%;
  position: relative; /* 重なり基準 */
   display: flex;
  flex-direction: column;
  height: 100%; 
}

/* --- ヘッダー（アイコン＋文字） --- */
.holiday_header {
  display: flex;
  align-items: flex-end;
  position: relative;
  z-index: 1;
  padding-left: 0px;
   flex-grow: 1;
}

/* --- アイコンエリア --- */
.holiday_icon_wrap {
  position: relative;
  width: 150px; /* アイコンエリア全体の幅 */
  height: auto;
  flex-shrink: 0;
  margin-right: 15px;
  z-index: 1;
}


/* 人物画像*/
.person_front {
  position: absolute;
  bottom: 0; /* 下揃え */
  left: 5px; /* 中央寄せ調整 */
  width: 150px; /* 丸より少し大きくしてはみ出させる */
  height: auto;
  z-index: 1;
  display: block;
  pointer-events: none;
}

/* --- 名前と吹き出し --- */
.holiday_meta {
  flex: 1;
  padding-bottom: 60px; /* 位置調整 */
}

.holiday_name {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-secondary);
  margin-bottom: 5px;
  line-height: 1;
}

.holiday_bubble {
  position: relative;
  background: #fff;
  border: 2px solid var(--color-secondary);
  padding: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  z-index: 1;
  letter-spacing: -0.55px;
}

/* 吹き出しの三角 */
.holiday_bubble::before,
.holiday_bubble::after {
  content: "";
  position: absolute;
  right: 100%;
  top: 15px;
  border: solid transparent;
  pointer-events: none;
}

.holiday_bubble::before {
  border-right-color: var(--color-secondary);
  border-width: 8px;
  margin-top: 10px;
}

.holiday_bubble::after {
  border-right-color: #fff;
  border-width: 8px;
  margin-top: 10px;
  margin-right: -3px;
}

/* ---  メイン画像  --- */
.holiday_main_img {
  position: relative;
  width: 100%;
  /* 緑の丸の下半分を隠すために、上に引き上げる */
  margin-top: -50px;
  z-index: 3; /* 人物より前 */
  aspect-ratio: 16 / 9;
  overflow: hidden;
  pointer-events: none;
}

.holiday_main_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===============================================
   社内イベント
=============================================== */
#recruit #company_event {
  padding-bottom: 30px;
  overflow: hidden;
  position: relative;
  background-color: #ecedf4;
}

#recruit #company_event .event_main_ttl {
  font-family: "Makinas-Scrap-5", sans-serif;
  font-size: 35px;
  color: var(--color-primary);
  text-align: center;
  margin-top: 0;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
  line-height: 1;
}

.event_list {
  width: 100%;
  display: grid;
  grid-template-rows: repeat(1, 1fr);
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.event_list_name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
  text-align: center;
  margin-top: 10px;
}

/* ===============================================
   数字で見る鶴岡光学 (Elegant Slow Ver.)
=============================================== */

/* 1. カードの初期状態 */
.popup-grid > div {
  opacity: 0;
  /* 下からふわっと来る距離（少し距離があった方が優雅に見えるので20px→30pxに微増） */
  transform: translateY(30px);
  
  /* 時間を「1.2秒」に伸ばして、余韻たっぷりに */
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. 発動時 */
.popup-grid.is-show > div {
  opacity: 1;
  transform: translateY(0);
}

/* 3. 時間差（0.15秒刻みに変更。これで最後まで出るのに1.5秒くらいかかるようになる） */
.popup-grid.is-show > div:nth-child(1) { transition-delay: 0.00s; }
.popup-grid.is-show > div:nth-child(2) { transition-delay: 0.15s; }
.popup-grid.is-show > div:nth-child(3) { transition-delay: 0.30s; }
.popup-grid.is-show > div:nth-child(4) { transition-delay: 0.45s; }
.popup-grid.is-show > div:nth-child(5) { transition-delay: 0.60s; }
.popup-grid.is-show > div:nth-child(6) { transition-delay: 0.75s; }
.popup-grid.is-show > div:nth-child(7) { transition-delay: 0.90s; }
.popup-grid.is-show > div:nth-child(8) { transition-delay: 1.05s; }
.popup-grid.is-show > div:nth-child(9) { transition-delay: 1.20s; }


/* ===============================================
   募集なしページ専用のデザイン 
=============================================== */

#recruit.recruit-none-page .recruit_content {
  padding: 100px 0 150px;
}

#jimu-fresh-area {
  text-align: left; 
  max-width: 1200px;
}


#jimu-fresh-area h3.none-ttl {
  font-size: 32px;
  color: var(--color-primary);

  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}


#jimu-fresh-area .none-txt {
  font-size: 16px;
  line-height: 2;
  color: #333;
}



/* ===============================================
	ブレイクポイント
=============================================== */
@media screen and (min-width: 2000px) {

  /* --- バナーやボタンのサイズ固定 --- */
  #recruit_banner .banner_inner {
    height: 450px; /* 22.5vw の2000px換算 */
  }

  #recruit_banner .center_btn_area {
    width: 562.5px; /* 28.125vw の2000px換算 */
  }

  .recruit_link {
    height: 175px; /* 8.75vw の2000px換算 */
  }

  .recruit_link .main_txt {
    font-size: 44px; /* clampの上限を超えないよう調整 */
    margin-bottom: 12px;
  }

  .recruit_link .sub_txt {
    font-size: 18px;
  }

  /* --- 画像位置の固定 (ここがメイン) --- */
  /* vwの値を (数値 * 20)px に変換 */

  #recruit_banner .img_item.item_1 {
    transform: translate(-52.5px, -37.5px);
  }

  #recruit_banner .img_item.item_2 {
    transform: translate(-243.2px, 37.5px);
  }

  #recruit_banner .img_item.item_3 {
    /* Z軸(20px)はそのまま維持 */
    transform: translate(236px, -52.5px) translateZ(20px);
  }

  #recruit_banner .img_item.item_4 {
    transform: translate(51.2px, 37.5px);
  }
}

@media screen and (min-width: 769px) {

  /* 2段目だけ「左：画像」「右：テキスト」に反転させる */
  #recruit #job-list .recruit-row.pc-reverse {
    flex-direction: row-reverse;
  }
}

@media screen and (min-width: 2270px) {
  #recruit .main_ttl {
    top: -140px;
    margin-top: -140px;
  }
}

@media screen and (max-width: 1490px) {
  #recruit .main_ttl {
    top: -100px;
    margin-top: -100px;
  }
}

@media screen and (max-width: 1070px) {

  #recruit #qa_area::after {
    background-position: right 1% top -10px;
    background-size: 405px auto;
  }
}

@media screen and (max-width: 1060px) {
  #recruit .main_ttl {
    top: -85px;
    margin-top: -85px;
  }

  #recruit .title {
    font-size: 30px;
    left: 80%;
  }
}

@media screen and (max-width: 1024px) {
  #job-btn-r-top .btn-r-top {
    grid-template-columns: repeat(2, 1fr); /* 2列×3行にまとめる♠ */
  }
}

@media screen and (max-width: 768px) {
  #recruit .main_ttl {
    background-image: url("../img/common/head_recruit_sp.jpg");
    aspect-ratio: 192 / 125;
    top: -40x;
    margin-top: -40px;
  }

  #recruit .title {
    left: 75%;
    top: 58%;
    white-space: nowrap;
  }

  #recruit section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  #recruit #breadcrumb {
    margin-top: -10vw;
    margin-bottom: 10vw;
    padding: 0;
  }

  .btn-r-top {
    width: 70%;
    margin: 0 auto;
  }

  .original-button {
    min-width: 155px;
    width: 100%;
    font-size: 12px;
    transition: 0.3s;
    margin-top: 1.5em;
  }

  #recruit_banner {
    padding: 30px;
  }

  #recruit_banner .banner_inner {
    height: 53.38vw;
    display: block;
    padding: 0;
    overflow: hidden; /* 画像が大きくなるなら hidden 推奨 */
  }

  /* --- 2. 画像を2列に並べる --- */
  #recruit_banner .image_group {
    flex-wrap: wrap;
    gap: 1.3vw; /* 10px ≒ 1.3vw */
    align-content: flex-start;
  }

  #recruit_banner .img_item {
    width: calc(50% - 0.65vw); /* gapの半分を引く */
    /* 200px ÷ 768px ≒ 26.04vw */
    height: 29vw;
    margin: 0;
  }

  /* 画像の拡大率はそのまま */
  #recruit_banner .img_item img {
    transform: scale(2.0);
  }

  /* --- 位置調整 (全てvwに変換) --- */

  /* item_2_sp: translate(-116px, 80px) */
  #recruit_banner .img_item.item_2_sp {
    display: block;
    transform: translate(-14.1vw, 12.3vw);
  }

  /* item_4_sp: translate(80px, 80px) */
  #recruit_banner .img_item.item_4_sp {
    display: block;
    transform: translate(13.5vw, 12.41vw);
    z-index: 110; /* ボタンより手前 */
  }

  /* PC用の画像を非表示 */
  #recruit_banner .img_item.item_1,
  #recruit_banner .img_item.item_2,
  #recruit_banner .img_item.item_3,
  #recruit_banner .img_item.item_4 {
    display: none;
  }

  /* --- 3. ボタンを中央配置 --- */
  #recruit_banner .center_btn_area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;

    /* 幅 260px ÷ 768 ≒ 33.85vw */
    width: 37vw;
    /* 高さ 140px ÷ 768 ≒ 18.22vw */
    height: 27vw;
    margin: 0;
  }


  .recruit_link {
    width: 100%;
    height: 100%;
  }

  /* 文字サイズの調整 */
  .recruit_link .main_txt {
    /* 32px ÷ 768 ≒ 4.16vw */
    font-size: 6vw;
    /* 40px ÷ 768 ≒ 5.2vw */
    line-height: 6.4vw;
    margin-bottom: 0.65vw;
    text-align: center;
  }

  .recruit_link .sub_txt {
    /* 12px ÷ 768 ≒ 1.56vw */
    font-size: 2vw;
  }

  .sp-br {
    display: block;
  }

  /*▼▼▼▼▼採用情報画像4枚▼▼▼▼▼*/
  #recruit #job-list .recruit-row {
    flex-direction: column-reverse; /* 画像を上に、テキストを下に */
  }

  /* 2段目（事務職）の並び順調整 */
  /* PCでの反転指定を解除して、他と同じく画像(上)→テキスト(下)にする */
  #recruit #job-list .recruit-row.pc-reverse {
    flex-direction: column-reverse;
  }

  /* カラム幅を100%に */
  #recruit #job-list .recruit-col {
    width: 100%;
    min-height: auto;
    aspect-ratio: auto;
  }

  /* 画像の高さ指定（高すぎないように） */
  #recruit #job-list .recruit-col.img-col {
    height: 300px;
  }

  /* テキストエリアの余白調整 */
  #recruit #job-list .recruit-col.content-col {
    padding: 50px 20px;
    text-align: left;
  }

  #recruit #job-list .content-inner h3 {
    font-size: 24px;
  }


  .qa_main_ttl {
    font-size: 27px;
    margin-bottom: 40px;
  }

  .question_row {
    align-items: center;
    padding: 8px 1px; 
  }

  .q_text {
    font-size: 16px;
    padding-right: 0; 
    max-width: calc(100% - 95px); 
  }

  .icon_q {
    width: 32px;
    height: 32px;
    font-size: 16px;
    margin-right: 15px;
  }

   .accordion_icon {
      right: 10px;
      top: 18px; /* スマホの文字サイズに合わせて少し下げる */
  }


  .answer_list {
    padding-left: 0;
    padding: 0 10px 30px 10px; 
  }

  .answer_row {
    flex-direction: column; 
  }

  .respondent {
    width: 100%;
    margin-bottom: 8px;
  }

  .a_text {
        padding-top: 5px; 
  }


  #recruit #qa_area {
    margin-top: -512px;
    padding-top: 485px;
    background-color: #e6f0f0;
    background-image: linear-gradient(
      to bottom,
      #2b9597 0%,
      #2b9597 100%
    );
    background-size: 100% 750px;
    background-position: top center;
  }

  #recruit #qa_area::after {
    display: none;
  }

  /* INTERVIEW 透かし文字 */
  #recruit #qa_area::before {
    content: "INTERVIEW";
    position: absolute;
    top: 0px;
    left: 0;
    z-index: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 12vw;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    color: rgba(255, 255, 255, 0.4);
    writing-mode: vertical-rl;
    user-select: none;
    pointer-events: none;
    /* 3秒かけてゆっくり現れる & その後もフワフワ動き続ける */
    animation: cinematicWaterEntrance 3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    will-change: transform, letter-spacing, opacity, filter;
  }

  #recruit #member_list {
    margin-top: 50px;
  }

  .member_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 10px;
    padding: 0 80px;
  }

  .member_img {
    width: 130px;
    height: auto;
  }

  #member_list .wrap_general {
    margin-bottom: 10px;
  }

  .member_name {
    font-size: 15px;
  }

  .member_info {
    font-size: 11px;
  }

  #recruit #qa_area::before {
    font-size: 20vw;
    top: 20px;
  }

  #recruit #member_list {
    padding-bottom: 20px;
  }

  #recruit #qa_area .wrap_general {
    padding: 20px 20px 30px;

  }

  .holiday_grid {
    grid-template-columns: 1fr; /* 1列 */
    gap: 40px;
  }

  .holiday_icon_wrap {
    width: 120px;
    height: auto;
  }

  .person_front {
    width: 120px;
  }

  .holiday_name {
    font-size: 16px;
  }

  .holiday_bubble {
    font-size: 13px;
    padding: 8px;
  }

  .holiday_main_img {
    margin-top: -30px; /* スマホでの引き上げ量調整 */
  }

  .holiday_meta {
    flex: 1;
    padding-bottom: 40px;
  }

  #recruit #company_event {
    padding-top: 30px;
  }

  .event_list {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    justify-items: center;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .event_list img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
  }

  .holiday_grid {
    padding-bottom: 0px
  }
/* ===============================================
   先輩社員バナー スマホ用のサイズ調整（2.0倍に戻す）
=============================================== */

  /* 1. スマホでの初期状態（scale 2.0 で待機） */
  
  /* 左の画像（item_2_sp）：左側(-100px)に隠しておく */
  #recruit_banner .img_item.item_2_sp .banner-anim-bottom {
    transform: scale(2.0) translateX(-100px);
  }

  /* 右の画像（item_4_sp）：右側(100px)に隠しておく */
  #recruit_banner .img_item.item_4_sp .banner-anim-bottom {
    transform: scale(2.0) translateX(100px);
  }

  /* 2. スマホでの発動状態（定位置へシュッ！） */
  .js-anim.is-show #recruit_banner .banner-anim-top,
  .js-anim.is-show #recruit_banner .banner-anim-bottom,
  .js-anim.is-active #recruit_banner .banner-anim-top,
  .js-anim.is-active #recruit_banner .banner-anim-bottom,
  #recruit_banner.is-show .banner-anim-top,
  #recruit_banner.is-show .banner-anim-bottom,
  #recruit_banner.is-active .banner-anim-top,
  #recruit_banner.is-active .banner-anim-bottom {
    /* 縦横のズレをなくして、元の位置へ */
    transform: scale(2.0) translate(0, 0);
  }

  #job-btn-r-top .btn-r-top {
    grid-template-columns: repeat(2, 1fr); 
        gap: 5px 15px;

  }

  
}



@media screen and (max-width: 600px) {
  #recruit #breadcrumb {
    margin-top: -12vw;
    margin-bottom: 12vw;
    padding: 0;
  }

  .member_grid {
    padding: 0 10px;
  }


  /* 採用情報 募集職種エリア */
  .js-wipe-left .content-col,
  .js-wipe-right .content-col {
    clip-path: inset(0 0 0 0); /* 最初から表示 */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s, transform 1s;
  }

  .js-wipe-left.is-active .content-col,
  .js-wipe-right.is-active .content-col {
    opacity: 1;
    transform: translateY(0);
  }

  /* 画像の遅延だけ残す */
  .js-wipe-left .img-col,
  .js-wipe-right .img-col {
    transform: translateY(20px);
  }

  .js-wipe-left.is-active .img-col,
  .js-wipe-right.is-active .img-col {
    transform: translateY(0);
  }

    #recruit.recruit-none-page .recruit_content {
    padding: 60px 0 80px;
  }
  #jimu-fresh-area h3.none-ttl {
    font-size: 24px;
    width: 100%;
  }
}

/* ===============================================
   スマホ崩れ修正（550px以下で強制1列化）
=============================================== */
@media screen and (max-width: 550px) {
  
  /* 1. 数字エリア：2列だと入らないので1列にする */
  .num-layout.stylish-grid {
    grid-template-columns: 1fr; /* 1列に変更 */
    width: 90%;      /* 幅は画面の90% */
    max-width: 350px; /* 広がりすぎないよう制限 */
    margin: 0 auto;   /* 中央寄せ */
  }

  /* 2. 上部の3つボタン：横並びがきついので折り返す */
  .btn-r-top {
    flex-wrap: wrap; /* 折り返しを許可 */
    width: 80%;      /* 幅を少し広げてあげる */
    gap: 0px;       /* ボタン同士の隙間 */
    top: 10px;
  }
  
  /* ボタンの親枠 */
  .btn-r-top > div {
    width: 100%;     /* 1行に1つ（または幅に合わせて調整） */
  }

  /* ボタン本体 */
  .original-button {
    width: 100%;     /* 画面いっぱいまで広げる */
    margin-top: 0;   /* 既存の余白をリセット */
    margin-bottom: 10px;
  }

 #job-btn-r-top .btn-r-top {
    grid-template-columns: 1fr; 
    width: 90%;
  }
}

@media screen and (max-width: 480px) {
  #recruit .table_design01 {
    width: 100%;
  }

  #recruit .table_design01 tr {
    display: block;
    margin-bottom: 10px;
  }

  #recruit .table_design01 th,
  #recruit .table_design01 td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dcdddd;
  }

  #recruit .table_design01 th {
    border-bottom: none;
    padding: 1em;
    text-align: left;
  }

  #recruit .table_design01 td {
    border-top: none;
    padding: 1em;
  }

  .sea-img {
    background-attachment: scroll;
    height: 150px;
  }

  #recruit #breadcrumb {
    margin-top: -15vw;
    margin-bottom: 15vw;
    padding: 0;
  }

  #recruit #qa_area::before {
    font-size: 25vw;
  }

  #recruit #qa_area {
    margin-top: -489px;
 }

}

@media screen and (max-width: 425px) {
  #recruit .main_ttl {
    top: -20x;
    margin-top: -20px;
  }

  #recruit .title {
    font-size: 25px;
    left: 75%;
  }

  #recruit h3 {
    font-size: 115%;
  }

  #recruit #breadcrumb {
    margin-top: -17vw;
    margin-bottom: 17vw;
    padding: 0;
  }
  #recruit #qa_area {
    margin-top: -502px;
  }
}

@media screen and (max-width: 380px) {
  .original-button {
    min-width: 115px;
    width: 100%;
    font-size: 11px;
    transition: 0.3s;
    margin-top: 0.5em;
  }
}

@media screen and (max-width: 350px) {
  .original-button {
    min-width: 110px;
    width: 100%;
    font-size: 11px;
    transition: 0.3s;
    top: 15px;
  }

  #recruit #breadcrumb {
    margin-top: -20vw;
    margin-bottom: 20vw;
    padding: 0;
  }
}

@media screen and (max-width: 320px) {
  #recruit .main_ttl {
    top: -10x;
    margin-top: -10px;
  }

  #recruit .title {
    font-size: 23px;
  }
}