@charset "utf-8";

/* ==========================================
   1. 全体の幅制限とセンタリング
   ========================================== */
.recruit-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px 10px;
  box-sizing: border-box;
}

/* ==========================================
   2. スタッフ募集・ヒーローエリア
   ========================================== */
.recruit-hero {
  text-align: center;
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 auto 90px !important;
  max-width: 700px;
  box-sizing: border-box;
}

/* 上段：RECRUIT */
.recruit-hero .sub-copy {
  display: block !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  color: #bf0000 !important;
  margin-bottom: 15px !important;
}

/* 
   下段：スタッフ募集
   既存の干渉をすべて排除し、文字を完全にセンタリングします。
*/
#contents #products #recruit .recruit-hero h2.section-title {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 35px !important;
  font-weight: 700 !important;
  color: #333 !important;
  margin: 0 auto !important;
  padding: 0 40px !important; /* ★ 左右に十分な余白を確保し、ドットが文字に絶対に重ならないようにガードします */
  border: none !important;
  background: transparent !important;
  width: fit-content !important;
  height: auto !important;
  line-height: 1.2 !important;
  position: relative !important;
}

/* 
   ★ ドットアニメーションの定義
   文字の左右に絶対配置（position: absolute）でしっかりと固定します。
   これにより、画面幅が縮まっても絶対に文字に重ならなくなります。
*/
#contents #products #recruit .recruit-hero h2.section-title::before,
#contents #products #recruit .recruit-hero h2.section-title::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  margin-top: -3px !important; /* ドットの縦中心を揃える */
  width: 6px !important;
  height: 6px !important;
  background-color: #bf0000 !important;
  border-radius: 50% !important;
  box-shadow: 
    -10px 0 0 #bf0000, 
    10px 0 0 #bf0000;
  border: none !important;
  
  /* 各ブラウザで確実にアニメーションをループさせるための設定 */
  -webkit-animation: bounceDot 1.2s infinite ease-in-out !important;
  animation: bounceDot 1.2s infinite ease-in-out !important;
}

/* ★ 左側の3連ドット：タイトルの左外側（余裕を持った位置）に固定 */
#contents #products #recruit .recruit-hero h2.section-title::before {
  left: -10px !important;
}

/* ★ 右側の3連ドット：タイトルの右外側に固定し、アニメーションのタイミングを少しずらす */
#contents #products #recruit .recruit-hero h2.section-title::after {
  right: -10px !important;
  -webkit-animation-delay: 0.2s !important;
  animation-delay: 0.2s !important;
}

/* 
   ★ アニメーション（確実に動くように標準指定＋Safari/Chrome用Webkit指定を両対応）
*/
@-webkit-keyframes bounceDot {
  0%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}
@keyframes bounceDot {
  0%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}

/* ==========================================
   3. ロゴ画像と導入メッセージ
   ========================================== */
.product_title_name {
  text-align: center;
  margin: 20px auto 20px;
}
.product_title_name img {
  max-width: 240px;
  height: auto;
}
.hero-message {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}
.lead-text {
  text-align: center;
  font-size: 15px;
  color: #4d4d4d;
  margin-bottom: 50px;
}

/* ==========================================
   4. 募集職種（テキストのみ・等幅センター整列・淡いブルー下線）
   ========================================== */
   #products #recruit .job-section {
    max-width: 960px !important; /* 有効幅を広げて1行に入りやすく設定 */
    margin: 0 auto 50px;
    text-align: center;
  }
  #products #recruit .job-title-header {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #ccc !important;
    padding-bottom: 12px;
    margin-bottom: 40px;
  }
  #products #recruit .job-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;        /* はみ出た場合は次の行へ */
    justify-content: center !important; /* 折り返しても全体を中央揃え */
    align-items: center !important;
    gap: 37px 60px !important;         /* 項目ごとの上下・左右の間隔 */
  }
  #products #recruit .job-list li {
    font-size: 20px !important;        /* 英語でもスッキリ収まるサイズ */
    font-weight: 700 !important;
    color: #000000 !important;
    
    /* ボタン風デザイン（背景・枠線・影）の解除 */
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    
    /* 全ての項目を同じ固定幅にして美しく整列させる */
    width: 230px !important;           /* 職種ごとの統一サイズ */
    text-align: center !important;     /* 各枠内でのテキスト中央揃え */
    white-space: nowrap !important;     /* 単語途中での不自然な改行を防止 */
  
    /* --- 文字の下半分だけに「淡いブルーのアンダーライン」を入れる指定 --- */
    background: linear-gradient(transparent 55%, #e0f2fe 55%) !important;
    display: inline-block !important;  /* マーカー背景を効かせるための指定 */
  }

/* ==========================================
   5. CTAエリア（応募誘導）
   ========================================== */
#products #recruit .recruit-cta {
  text-align: center;
  background-color: #f7f7f7;
  padding: 40px 20px;
  margin: 20px auto 40px;
  max-width: 700px;
  box-sizing: border-box;
}
#products #recruit .recruit-cta p {
  font-size: 15px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #000;
}
/* 応募フォームへボタン（赤グラデーション版） */
.btn-apply, 
a.btn-apply {
  display: inline-block;
  padding: 17px 70px;
  font-size: 16px;
  font-weight: bold;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 5px; /* 角を丸くして柔らかい印象に */
  background: linear-gradient(135deg, #e63946 0%, #d62828 100%); /* やわらかく深みのある赤のグラデーション */
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3); /* ほんのり浮き上がる立体感 */
  transition: all 0.3s ease;
}

/* ホバー（マウスを載せたとき）の動き */
.btn-apply:hover {
  background: linear-gradient(135deg, #d62828 0%, #b71c1c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.35);
}

/* ==========================================
   6. お問い合わせ先（フラット・白背景や囲み線なし）
   ========================================== */
#products #recruit .contact-info-box {
  text-align: center !important;
  margin: 60px auto 30px !important;
  padding: 0 !important;
  background-color: transparent !important;
  border: none !important;
  max-width: 600px;
  box-shadow: none !important;
  box-sizing: border-box;
}
#products #recruit .contact-info-box h3 {
  font-weight: 700;
  font-size: 18px;
  color: #333;
  margin-bottom: 20px !important;
  border: none !important;
  padding-left: 0 !important;
  background: transparent !important;
}
#products #recruit .contact-info-box p {
  font-size: 15px;
  margin-bottom: 8px;
  color: #000000;
  line-height: 1.6;
}
#products #recruit .contact-info-box a {
  color: #000;
  text-decoration: none;
  font-weight: 700;
}

/* ==========================================
   7. レレスポンシブ対応（スマホ）
   ========================================== */
@media (max-width: 768px) {
  .recruit-inner {
    padding: 40px 15px;
  }
  .hero-message {
    font-size: 16px;
  }
  #products #recruit .job-list {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }
  #products #recruit .job-list li:not(:last-child)::after {
    display: none !important;
  }
}
