@charset "UTF-8";

/* =========================================
   募集要項ページ 固有スタイル
========================================= */
:root {
  --text-color: #555555;
  --text-muted: #777777;
  --headline-color: #333333;
  --accent-color: #f0b800;
  --background-color: #fdfdfd;
  --white: #ffffff;
  
  /* 追加したカラー変数 */
  --border-light: #eeeeee;
  --border-medium: #cccccc;
  --border-dark: #dddddd;
  --bg-table-th: #fcfcfc;
  --bg-table-th-sp: #f9f9f9;
  --bg-equipment: #f0f4f8;
  --border-equipment: #e1e8ed;
  
  --hint-a: 24px;
  --hint-b: 14px;
}

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0; padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.9;
  font-size: 1rem; /* 16px -> 1rem */
  word-break: break-word;
  padding-top: 74px;
}

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

/* Layout */
.container { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.content-wrapper { padding-top: 0; }
section { padding: 60px 0; }

/* Breadcrumb (パンくずリスト) */
.breadcrumb-nav { padding: 15px 0; font-size: 0.9rem; background: var(--background-color); }
.breadcrumb-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb-list li { color: var(--text-color); }
.breadcrumb-list li a { color: var(--text-color); text-decoration: none; }
.breadcrumb-list li a:hover { text-decoration: underline; }
.breadcrumb-list li:not(:last-child)::after { content: '>'; margin-left: 8px; font-size: 0.8rem; }

/* Typography */
.page-main-title {
  text-align: center;
  font-size: 2rem; /* 2em -> 2rem */
  font-weight: 700;
  color: var(--headline-color);
  margin: 0 0 50px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent-color);
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* 区切り線 */
hr {
  border: 0;
  border-top: 2px solid var(--border-medium);
  margin: 0 auto;
  width: 90%;
  max-width: 800px;
}
.section-divider { margin-top: 60px; margin-bottom: 60px; }

/* ひまわりマーカー */
strong {
  display: inline; font-weight: 700 !important;
  background: linear-gradient(transparent 60%, #fff3b8 60%);
  padding: 0 4px; color: var(--headline-color);
  border-bottom: none !important; text-decoration: none !important;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* 職種アンカーリンク */
.job-anchor-nav {
  display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; flex-wrap: wrap;
}
.anchor-btn {
  background: var(--white); border: 1px solid var(--border-dark);
  padding: 12px 24px; border-radius: 30px;
  text-decoration: none; color: var(--text-color);
  font-weight: bold; font-size: 0.95rem; /* em -> rem */
  box-shadow: 0 2px 5px rgba(0,0,0,0.05); transition: all 0.3s;
  display: flex; align-items: center;
}
.anchor-btn:hover { background: var(--accent-color); color: var(--white); border-color: var(--accent-color); transform: translateY(-2px); }
.anchor-btn span { margin-right: 5px; }

/* 職種別見出し */
.job-category-title {
  font-size: 1.5rem; /* 1.5em -> 1.5rem */
  font-weight: 700; color: var(--headline-color);
  margin: 60px 0 20px; padding-left: 15px;
  border-left: 6px solid var(--accent-color);
  background: linear-gradient(90deg, #fff 0%, var(--background-color) 100%);
}

/* 理念ボックス */
.philosophy-box {
  background: var(--white); border: 2px solid var(--border-light); border-radius: 12px;
  padding: 30px; margin-bottom: 50px; position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.philosophy-box::before {
  content: 'Check'; position: absolute; top: -12px; left: 30px;
  background: var(--accent-color); color: var(--white); font-size: 0.8rem;
  font-weight: bold; padding: 2px 12px; border-radius: 4px;
}
.philosophy-title {
  font-weight: bold; font-size: 1.1rem; color: var(--headline-color);
  margin-bottom: 20px; display: block;
}
.philosophy-list { display: grid; grid-template-columns: auto 1fr; gap: 15px 40px; margin: 0; }
.philosophy-list dt { font-weight: bold; color: var(--accent-color); min-width: 4em; }
.philosophy-list dd { margin: 0; }

/* 求人票テーブル */
.job-table-wrapper {
  background: var(--white); border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05); overflow: hidden;
  margin-bottom: 40px; border: 1px solid var(--border-light);
}
.job-table { width: 100%; border-collapse: collapse; }
.job-table th, .job-table td { padding: 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-light); }
.job-table tr:last-child th, .job-table tr:last-child td { border-bottom: none; }
.job-table th { background: var(--bg-table-th); width: 25%; font-weight: bold; color: var(--headline-color); white-space: nowrap; }

/* テーブル内ユーティリティクラス */
.table-lead-text { margin-top: 0; }
.table-list { margin-top: 0; margin-bottom: 0; } /* 必要な場合微調整 */
.table-note-text { font-size: 0.9rem; color: var(--text-muted); }
.table-th-subtext { font-size: 0.8rem; font-weight: normal; }
.table-equipment-lead { margin-top: 0; margin-bottom: 10px; font-size: 0.95rem; }

/* 支給品リスト */
.equipment-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 0; }
.equipment-item {
  background: var(--bg-equipment); color: #333; padding: 8px 15px; border-radius: 6px;
  font-size: 0.95rem; font-weight: bold; display: inline-flex; align-items: center; border: 1px solid var(--border-equipment);
}
.equipment-item span { font-size: 0.85rem; opacity: 0.8; margin-left: 5px; font-weight: normal; }

/* 選考フロー */
.flow-section-title { margin-top: 0; text-align: center; } /* HTML側でmargin-top制御可能 */
.flow-container { display: flex; justify-content: space-between; margin: 0 -10px; }
.flow-step {
  flex: 1; padding: 0 10px; position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.step-num-circle {
  width: 40px; height: 40px; line-height: 40px; background: var(--accent-color);
  color: var(--white); border-radius: 50%; font-weight: bold; text-align: center;
  margin-bottom: 15px; flex-shrink: 0; z-index: 2;
}
.step-text { width: 100%; }
.step-text strong { 
  display: block; font-size: 1.1rem; margin-bottom: 5px; 
  color: var(--headline-color); background: none; padding: 0;
}
.step-text span { font-size: 0.9rem; color: #666; }
.flow-step:not(:last-child)::after {
  content: ''; position: absolute; top: 20px; right: -50%; width: 100%; height: 2px; background: var(--border-dark); z-index: 1;
}
.flow-note-box { background: #f9f9f9; padding: 20px; border-radius: 8px; margin-top: 40px; font-size: 0.9rem; }
.flow-note { margin: 5px 0; }

/* CTAボタン */
.entry-area { text-align: center; margin-top: 50px; margin-bottom: 80px; }
.entry-note { font-weight: bold; font-size: 1.1rem; margin-bottom: 20px; display: block; }
.button {
  display: inline-block; background: var(--accent-color); color: #333; padding: 20px 60px;
  border-radius: 50px; font-weight: 800; font-size: 1.1rem; text-decoration: none;
  transition: transform .3s, box-shadow .3s; box-shadow: 0 4px 15px rgba(0,0,0,0.2); border: 2px solid var(--white);
}
.button:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.25); opacity: 0.9; }

/* Scroll Down Arrow */
.scroll-down {
  position: fixed; bottom: var(--hint-a); left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 24px; height: 24px; border-right: 3px solid var(--headline-color); border-bottom: 3px solid var(--headline-color);
  opacity: .85; animation: hint 1.6s infinite; transition: opacity .3s; z-index: 900; cursor: pointer;
}
.scroll-down.is-hidden { opacity: 0; pointer-events: none; }
@keyframes hint {
  0%, 100% { bottom: var(--hint-a); }
  50% { bottom: var(--hint-b); }
}

/* Mobile Sticky CTA */
.mobile-sticky-cta { display: none; }
.sticky-sub-label { font-size: 0.8rem; font-weight: normal; }
.sticky-sub-label-main { font-size: 0.85rem; font-weight: normal; }

/* =========================================
   Media Queries (分散を末尾に集約)
========================================= */
@media (max-width: 600px) {
  :root {
    --hint-a: 85px;
    --hint-b: 75px;
  }
  
  .philosophy-list { grid-template-columns: 1fr; gap: 5px 0; }
  .philosophy-list dt { margin-top: 15px; }
  .philosophy-list dt:first-child { margin-top: 0; }
  
  .job-table th, .job-table td { display: block; width: 100%; border: none; }
  .job-table th {
    padding-bottom: 5px; background: var(--bg-table-th-sp); color: var(--headline-color); 
    border-bottom: none; font-size: 1.05rem; padding-top: 15px;
  }
  .job-table td { padding-top: 10px; padding-bottom: 25px; border-bottom: 1px solid var(--border-light); }
  
  .flow-container { flex-direction: column; margin: 0; }
  .flow-step { 
    flex-direction: row; align-items: center; text-align: left;
    padding: 20px 0; border-bottom: 1px solid var(--border-light);
  }
  .step-num-circle { margin-bottom: 0; margin-right: 20px; }
  .step-text { text-align: left !important; }
  .flow-step:not(:last-child)::after { display: none; }
  
  body { padding-bottom: 70px; }
  .mobile-sticky-cta {
    position: fixed; bottom: 10px; left: 10px; right: 10px;
    z-index: 950; display: flex; gap: 8px; height: 60px;
  }
  .cta-item {
    border-radius: 8px; text-decoration: none; display: flex; flex-direction: column;
    justify-content: center; align-items: center; line-height: 1.1; font-size: 12px;
    font-weight: bold; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.1s; position: relative; overflow: hidden;
  }
  .cta-item:active { transform: scale(0.98); }
  .cta-sub { flex: 0 0 35%; background: #06c755; color: var(--white); border: 1px solid #05b54d; }
  .cta-sub .icon { font-size: 1.2rem; margin-bottom: 2px; }
  .cta-main { flex: 1; background: var(--accent-color); color: #333; border: 2px solid var(--white); font-size: 13px; }
  .cta-main .icon { display: none; }
  .badge-recruit {
    position: absolute; top: 0; left: 0; background: #ff3b30; color: var(--white);
    font-size: 9px; padding: 2px 6px; border-bottom-right-radius: 6px; font-weight: 800;
  }
  .arrow { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); opacity: 0.6; font-size: 1.2rem; }
  
  .hire-sticky-cta { display: none !important; }
  .scroll-down { bottom: 85px; }
}