/* ========================
   リセット・基本スタイル
======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Yu Gothic","Hiragino Kaku Gothic Pro",Meiryo,sans-serif;
  background: #fff;
  color: #333;
  overflow-x: hidden;
  line-height: 1.6;
}

h1,h2,h3 {
  font-family: "Noto Sans JP","Yu Gothic","Hiragino Kaku Gothic Pro",Meiryo,sans-serif;
}

/* --- 共通セクション見出し --- */
.section-header {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  background-color: #000;
  text-align: center;
  display: inline-block;
  margin: 0 auto 28px;
  padding: 12px 24px;
  border-radius: 12px;
  position: relative;
}

.section-header::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -12px;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #000;
}

.section-subcopy {
  text-align: center;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: #333;
  max-width: 800px;
}

/* --- SP共通調整 --- */
@media screen and (max-width:768px) {
  .section-header { 
    font-size: 1.4rem; 
    padding: 8px 16px; 
    margin-bottom: 28px;
  }
  .section-subcopy { 
    font-size: 1rem; 
    margin-bottom: 24px; 
    line-height: 1.4; 
    padding: 0 12px; 
  }
}

/* ========================
   文章・本文
======================== */
body, main p, main li, .description, .disclaimer, .voice-card .voice-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  font-weight: 550;
}

.disclaimer {
  font-size: 0.95rem;
  margin-top: 12px;
}

.text-red-bold { color: #DC3C22; font-weight: 700; font-size: 1.2rem; }
.text-red { color: #DC3C22; font-weight: 700; }

@media screen and (max-width:768px) {
  body, main p, main li, .description, .disclaimer, .voice-card .voice-text p {
    font-size: 1rem; line-height: 1.7;
  }
  .disclaimer { font-size: 1rem; }
}

/* ========================
   ヘッダー・ナビ
======================== */
#site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: #fff;
  color: #333;
  z-index: 9999;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: top 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

#site-header img.logo { height: 50px; width: auto; }

nav#site-nav ul { display: flex; list-style: none; gap: 24px; }
nav#site-nav a {
  color: #333; text-decoration: none; font-weight: 600;
  padding: 6px 10px; border-radius: 4px;
  white-space: nowrap; transition: background-color 0.3s, color 0.3s;
}
nav#site-nav a:hover, nav#site-nav a.active { background: #f0f0f0; color: #DC3C22; }

/* ハンバーガー */
#hamburger { display: none; width: 32px; height: 24px; position: relative; background: none; border: none; cursor: pointer; z-index: 10001; }
.bar { display: block; position: absolute; width: 100%; height: 4px; background: #333; border-radius: 2px; transition: 0.3s; }
.bar.top { top:0; } .bar.middle { top:10px; } .bar.bottom { bottom:0; }
#hamburger.open .top { transform: rotate(45deg) translateY(10px); }
#hamburger.open .middle { opacity:0; }
#hamburger.open .bottom { transform: rotate(-45deg) translateY(-10px); }

/* SP ナビ展開 */
@media screen and (max-width:768px){
  #hamburger { display:block; }
  nav#site-nav {
    position: fixed; top:0; left:-100%;
    width: 100%; height:100vh;
    background: rgba(220,60,34,0.95);
    flex-direction: column;
    justify-content: flex-start; align-items: center;
    padding: 60px 20px 20px 20px;
    gap:36px; font-size:1.3rem;
    transition: left 0.3s ease;
  }
  nav#site-nav ul { flex-direction: column; gap:24px; width:100%; }
  nav#site-nav.open { left:0; }
  nav#site-nav a { color:white; }
  nav#site-nav a:hover, nav#site-nav a.active { background:#a9301d; color:#fff; }
}

/* ========================
   ファーストビュー
======================== */
.fv {
  position: relative;
  height: 100vh; 
  overflow:hidden;
  text-align:center;
  display:flex; 
  flex-direction:column; 
  justify-content:center; 
  align-items:center;
  padding:0 20px;
  background:#3D74B6; 
  color:white;
}

.fv .slide-bg {
  position:absolute; 
  top:0; 
  left:0; 
  width:100%; 
  height:100%;
  background-size:cover; 
  background-position:center;
  opacity:0; 
  transition:opacity 1.2s ease-in-out;
}
.fv .slide-bg.active { opacity:1; }

/* SP版調整 */
@media (max-width: 768px) {
  .fv .slide-bg {
    height: 100%;
  }
}

.fv .content {
  position: relative; 
  z-index:10;
  max-width:720px; 
  width:100%;
  display:flex; 
  flex-direction:column; 
  align-items:center;
  margin-top:100px;
}

.fv h1 {
  font-weight:900; 
  font-size:3.5rem; 
  letter-spacing:0.05em;
  color:#fff; 
  text-shadow:2px 2px 8px rgba(0,0,0,0.4);
  margin-bottom:20px; 
  white-space: nowrap;
}

.fv .text { 
  position:relative; 
  height:60px; 
  margin-top:16px; 
  overflow:hidden; 
}
.word {
  display:block; 
  position:absolute; 
  width:100%; 
  text-align:center; 
  top:0; 
  opacity:0;
  font-size:2.2rem;
}
.letter { 
  display:inline-block; 
  position:relative; 
  transform:translateZ(25px); 
  transform-origin:50% 50% 25px; 
}
.letter.out { 
  transform:rotateX(90deg); 
  transition:transform 0.32s cubic-bezier(0.55,0.055,0.675,0.19); 
}
.letter.behind { transform:rotateX(-90deg); }
.letter.in { 
  transform:rotateX(0deg); 
  transition:transform 0.38s cubic-bezier(0.175,0.885,0.32,1.275); 
}

.fv p { 
  margin-top:32px; 
  font-size:clamp(1rem, 2.4vw, 1.6rem); 
  font-weight:700; 
  text-shadow:1px 1px 4px rgba(0,0,0,0.4); 
  white-space:nowrap; 
  line-height: 1.7; 
}

.btn-group { 
  display:flex; 
  gap:20px; 
  justify-content:center; 
  flex-wrap:wrap; 
  margin-top:24px; 
}
.btn {
  background-color:#DC3C22; 
  padding:16px 44px;
  border-radius:8px; 
  color:white; 
  text-decoration:none;
  font-weight:700; 
  font-size:1.3rem;
  transition:transform 0.3s ease, background-color 0.3s ease;
  box-shadow:0 6px 10px rgba(220,60,34,0.5);
  border:2px solid white;
}
.btn:hover { 
  background-color:#EAC8A6; 
  transform:scale(1.05); 
}

/* SP版 FV */
@media screen and (max-width:768px) {
  .fv h1 {
    font-size: 2rem;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
  }

  .fv h1 .big-x {
    display: block;
    margin: 10px 0;
  }

  .fv .text {
    margin-top: 12px;
    height: 3em;
    overflow: hidden;
  }

  .fv .word {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    text-align: center;
    opacity: 0;
    font-size: 1.4rem;
    line-height: 1.4;
  }
}

@media screen and (min-width:769px) {
  .fv h1 { margin-top: 0; }
}

/* --- キャンペーンバナー --- */
img.campaign {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 768px) {
  img.campaign {
    width: 100%;
  }
}

/* --- コンテンツセクション --- */
main section {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

main p, main li {
  font-size: 1rem;
  margin-bottom: 12px;
}

main ul, main ol { margin-left: 20px; }

/* --- テーブル --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

th, td {
  border: 1px solid #ccc;
  padding: 12px 16px;
  text-align: left;
}

th { background-color: #FBF5DE; font-weight: 700; }

.feature-table th { width: 140px; }

/* --- フォーム --- */
form {
  max-width: 700px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

form label { font-weight: 600; }

form input, form textarea {
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

form textarea { resize: vertical; }

form button {
  background-color: #DC3C22;
  color: white;
  font-weight: 700;
  padding: 12px 0;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover { background-color: #EAC8A6; }

/* ========================
   実績
======================== */
#achievements {
  text-align: center;
}

.achievement-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.card {
  position: relative;
  color: #fff;
  padding: 30px 40px;
  border-radius: 16px;
  text-align: center;
  flex: 1 1 220px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 背景画像（ローカル） */
.card.bg1 {
  background-image: url('./img/card_bg01.jpg');
}
.card.bg2 {
  background-image: url('./img/card_bg02.jpg');
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  border-radius: 16px;
  z-index: 0;
}

.card .icon,
.card .label,
.card .number {
  position: relative;
  z-index: 1;
}

.card .icon {
  margin-bottom: 12px;
  text-align: center;
}
.card .icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: inline-block;
}

.card .label {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.card .number {
  font-weight: 900;
  font-size: 2.8rem;
  font-family: "Roboto", sans-serif;
}

/* 実績リスト（企業カード） */
.cards-section {
  padding: 5px 0;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5px;
}

.company-card {
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.company-image {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.company-image img {
  width: 100%;
  height: auto;
  display: block;
}

.company-employees {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background-color: rgba(255,72,0,0.80);
  padding: 4px 8px;
  border-radius: 4px;
}

.company-content {
  padding: 8px;
  text-align: center;
}

.company-title {
  font-weight: 700;
  color: #333;
  font-size: 1.1rem;
  margin: 4px 0;
}

.company-info,
.company-turnover {
  font-size: 0.9rem;
  color: #333;
  margin: 2px 0;
}

/* SP版 実績カード */
@media screen and (max-width: 768px) {
  .sp-cards .cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 12px;
  }

  .sp-cards .company-card {
    width: 100%;
  }

  .sp-cards .company-image img {
    height: auto;
  }

  .sp-cards .company-content {
    padding: 6px;
  }

  .sp-cards .company-title {
    font-size: 1.2rem;
    margin: 3px 0;
  }

  .sp-cards .company-info,
  .sp-cards .company-turnover {
    font-size: 0.85rem;
    margin: 2px 0;
  }
}

/* 企業ロゴループ */
.kigyo-carousel {
  overflow: hidden;
  margin: 60px 0;
}

.kigyo-track {
  display: flex;
  gap: 16px;
  align-items: center;
  width: max-content;
  animation: scroll 90s linear infinite;
  will-change: transform;
}

.kigyo-card {
  flex: 0 0 auto;
  width: 200px;
  height: 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}

.kigyo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .kigyo-card {
    width: 140px;
    height: 80px;
  }
  .kigyo-track {
    gap: 12px;
    animation-duration: 80s;
  }
}

/* ========================
   キャッチ・困った・ウリ
======================== */
.recruit-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  min-height: 600px;
}

.recruit-section h2 {
  font-size:  clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 16px;
  color: #DC3C22;
}

/* h3 は直線アンダーライン版のみ */
.recruit-section h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #DC3C22;
  margin-bottom: 20px;
  display: inline-block;
  border-bottom: 4px solid #ffd937;
}

/* SP版 recruit-section */
@media screen and (max-width: 768px) {
  .recruit-section {
    margin: 60px auto;
    padding: 10px 20px;
    text-align: center;
    position: relative;
  }	
  .recruit-section h3 {
    font-size: 1.7rem;
    border-bottom-width: 3px;
  }
}

.recruit-section p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* SPだけ画像 */
.sp-banner {
  padding: 0 16px;
}

.sp-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* その“困った”お任せください */
.omakase {
  position: relative;
  background-color: #ffd937;
  text-align: center;
  margin-top: -20px;
  padding: 0px 16px;
}

.omakase p {
  font-size: 2.5rem;
  line-height: 2;
  font-weight: 900;
  margin: 0;
  word-break: keep-all;
  font-family: 'M PLUS 1p', sans-serif;
}

.omakase .underline {
  color: #dc3c22;
  background: linear-gradient(transparent 50%, #fff 50%);
}

.omakase .black-text {
  color: #222222;
  font-style: normal;
  font-size: 1.5em;
  font-weight: 900;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
}

/* ▼型 */
.omakase::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 50vw solid transparent;
  border-right: 50vw solid transparent;
  border-top: 120px solid #ffd937;
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
}

/* PCでは改行非表示 */
.sp-break {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-break {
    display: block;
    height: 0;
  }

  .omakase p {
    font-size: clamp(1.2rem, 4.5vw, 1.8rem);
    line-height: 1.4;
  }

  .omakase .underline {
    font-size: clamp(1.2rem, 4.5vw, 1.8rem);
    border-bottom-width: 3px;
    padding-bottom: 1px;
  }
}

/* recruit-section リスト */
.recruit-section ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  text-align: center;
}

.recruit-section ul li {
  display: inline-block;
  text-align: left;
  font-weight: 700;
  color: #000;
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.6;
  position: relative;
  max-width: 90%;
  padding-left: 1.4em;
}

/* ✔マーク */
.recruit-section ul li::before {
  content: "✔";
  color: #DC3C22;
  font-size: 1em;
  position: absolute;
  left: 0.1em;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
}

@media screen and (max-width:768px) {
  .recruit-section ul li {
    font-size: 1.6rem;
    line-height: 1.5;
    padding-left: 1.2em;
  }

  .recruit-section ul li::before {
    font-size: 1.3rem;
    left: 0.1em;
  }
}

/* ========================
   JLBCが選ばれる理由
======================== */
.jlbc-merit {
  max-width: 960px;
  margin: 60px auto;
  padding: 100px 20px 0 20px;
}

.jlbc-merit-heading {
  text-align: center;
  margin-bottom: 10px;
}

/* カードラッパー（縦並び） */
.jlbc-merit-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* 個々のカード */
.jlbc-merit-card {
  display: flex;
  flex-direction: row;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.jlbc-merit-img {
  width: 40%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.jlbc-merit-content {
  width: 60%;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.jlbc-merit-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
}

.jlbc-merit-card p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #333;
}

.jlbc-merit-card p.strong-highlight {
  font-weight: 700;
  color: #249303;
  font-size: 1.35rem; 
  background-color: #ffd92a;
  padding: 10px 14px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 12px;
}

.jlbc-merit-card ul {
  margin-top: 12px;
  padding-left: 1.2em;
}

.jlbc-merit-card ul li {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 8px;
  color: #333;
}

/* SP対応 */
@media screen and (max-width: 768px) {
  .jlbc-merit-cards {
    gap: 20px;
  }

  .jlbc-merit-card {
    flex-direction: column;
  }

  .jlbc-merit-img {
    width: 100%;
    aspect-ratio: auto;
    height: 200px;
  }

  .jlbc-merit-content {
    width: 100%;
    padding: 32px 20px;
  }

  .jlbc-merit-card h4 {
    font-size: 1.35rem;
  }

  .jlbc-merit-card p {
    font-size: 1.05rem; 
  }

  .jlbc-merit-card ul li {
    font-size: 1rem;    
  }
}

/* 共通フェードインアニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* SP共通レイアウト調整 */
@media screen and (max-width:768px) {
  #hamburger { display: block; }

  nav#site-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(220,60,34,0.95);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 60px 20px 20px 20px;
    gap: 36px;
    font-size: 1.3rem;
    transition: left 0.3s ease;
  }
  nav#site-nav ul { flex-direction: column; gap: 24px; width: 100%; }
  nav#site-nav.open { left: 0; }
  nav#site-nav a { color: white; }
  nav#site-nav a:hover,
  nav#site-nav a.active { background: #a9301d; color: #fff; }

  img.main-logo { width: 500px; height: auto; padding: 12px 28px; }

  .achievement-cards { gap: 20px; }
  .card { padding: 24px; }
  .card .number { font-size: 2rem; }

  .company-list li { 
    flex-direction: row;
    align-items: center;
    padding: 16px 20px;
  }
  .company-name { 
    font-size: 1.1rem;
    margin-bottom: 0;
    flex: 2 1 200px;
  }
  .people { 
    text-align: right;
    margin-right: 20px;
    color: #2980b9; 
    flex: 0 0 60px;
  }
  .description { 
    font-size: 0.95rem;
    margin-left: 20px;
    flex: 3 1 300px;
  }

  table th, table td { padding: 8px 12px; font-size: 0.9rem; }
  form input, form textarea { font-size: 0.9rem; padding: 8px; }
  form button { font-size: 1rem; padding: 10px 0; }

  .merit-cards { flex-direction: column; gap: 16px; }
}

/* ========================
   お客様の声
======================== */
.voices {
  padding: 20px 20px 40px 20px;
  text-align: center;
}

.voice-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.voice-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  flex: 1 1 45%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  text-align: left;
}

.voice-card img.voice-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 15px;
}

.voice-card .voice-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
}

.under {
  background: linear-gradient(transparent 50%, yellow 50%);
}

@media screen and (max-width: 768px) {
  .voice-cards {
    flex-direction: column;
    align-items: center;
  }

  .voice-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
  img.main-logo { width: 400px; height: auto; padding: 12px 28px; }
}

/* 強みカード共通（最終版） */
.merit-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0 10px;
}

.merit-card {
  background: #fff;
  border-radius: 12px;
  flex: 1 1 280px;
  max-width: 320px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.merit-card:hover {
  transform: translateY(-4px);
}

.merit-card img.merit-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.merit-card .merit-content {
  padding: 16px;
}

.merit-card h4 {
  font-weight: 700;
  font-size: 1.2rem;
  color: #DC3C22;
  margin-bottom: 10px;
}

.merit-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

@media screen and (max-width: 768px) {
  .merit-cards {
    flex-direction: column;
    gap: 16px;
    padding: 0 15px;
  }

  .merit-card {
    max-width: 100%;
    flex: 1 1 auto;
  }

  .merit-card h4 { font-size: 1.1rem; }
  .merit-card p { font-size: 0.95rem; }
}

/* JLBCの強み 見出し（problem） */
.problem h3 {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  color: #DC3C22;
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.3;
  padding-bottom: 6px;
  background-image: linear-gradient(#DC3C22, #DC3C22);
  background-position: 0 100%;
  background-size: 100% 4px;
  background-repeat: no-repeat;
  background-color: transparent;
}

@media screen and (max-width: 768px) {
  .problem h3 {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
    padding-bottom: 4px;
    background-size: 100% 3px;
    margin-bottom: 24px;
  }
}

/* ========================
   採用までの流れ
======================== */
#process {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

.process-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.process-step {
  flex: 1 1 calc(20% - 16px);
  background: #f2f2f2;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  position: relative;
}

.step-number {
  display: inline-block;
  background: #60a506;
  color: #fff;
  width: 34px;
  height: 34px;
  line-height: 34px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 8px;
}

.process-step.current .step-number {
  background: #dc3c22;
}

.step-title {
  display: block;
  font-weight: bold;
  font-size: 1.05rem; 
  margin-bottom: 6px;
}

.step-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

.process-step:not(:last-child)::after {
  content: "➡";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: #ceae3e;
  font-size: 1.6rem;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .process-flow {
    flex-direction: column;
  }
  .process-step {
    flex: 1 1 100%;
  }

  .process-step:not(:last-child)::after {
    content: "⬇";
    position: absolute;
    right: 50%;
    top: auto;
    bottom: -24px;
    transform: translateX(50%);
    font-size: 1.6rem;
    color: #ceae3e;
  }
}

/* ========================
   採用する外国人材の特徴
======================== */
#features {
  border-radius: 12px;
  margin: 30px auto;
  text-align: center;
}

#features h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: #000;
}

#features p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #555;
}

/* PC：表形式 */
.table-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
}

.table-wrapper table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  min-width: 800px;
}

.table-wrapper td {
  padding: 12px 16px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background: #fff;
}

.table-wrapper td:first-child {
  font-weight: 700;
  color: #fff;
  background-color: #484444;
  text-align: center;
  width: 180px;
  border-right: 1px solid #ccc;
}

.table-wrapper td:last-child {
  border-left: none;
  font-weight: 700;
  color: #000;
}

/* SP：カード型 */
@media screen and (max-width: 768px) {
  .table-wrapper {
    padding: 0 10px;
    overflow-x: hidden;
  }

  .table-wrapper table {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: auto;
  }

  .table-wrapper tr {
    display: flex;
    flex-direction: row;
    margin-bottom: 8px;
    border: none;
    background: #fff;
    overflow: hidden;
  }

  .table-wrapper td:first-child {
    flex: 0 0 35%;
    background-color: #484444;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
    padding: 12px 10px;
    text-align: left;
    border-right: 1px solid #ccc;
  }

  .table-wrapper td:last-child {
    flex: 1;
    padding: 12px 10px;
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
    border-left: none;
  }

  .table-wrapper td {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }
}

/* ========================
   支援委託
======================== */
#support-table {
  max-width: 1200px;
  margin: 0px auto;
  padding: 100px 20px;
  text-align: center;
}

.support-table {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.support-item {
  flex: 1 1 calc(50% - 20px);
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  border: 3px solid #ccc;
}

.item-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: #dc3c22;
  font-size: 1.3rem; 
}

.item-desc {
  color: #333;
  font-size: 1.1rem;
}

@media screen and (max-width: 768px) {
  .support-item {
    flex: 1 1 90%;
  }
}

/* ========================
   JLBC について
======================== */
.jlbc-intro-fullband {
  position: relative;
  width: 100%;
  background-image: url('./img/jlbc-intro_bg.jpg'); 
  background-size: cover;
  background-position: center;
  color: #fff;
}

.band-overlay {
  width: 100%;
  padding: 80px 0;
  display: flex;
  justify-content: center;
}

.band-text {
  max-width: 1000px;
  padding: 0 20px;
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .band-overlay {
    padding: 60px 0;
  }
  .band-text {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 16px;
  }
}

/* ========================
   お問い合わせ
======================== */
#contact {
  padding: 60px 20px;
  border-radius: 12px;
}

#contact h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #dc3c22;
}

.required-mark {
  color: #DC3C22;
  font-weight: 700;
}

#contact form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#contact form label {
  font-weight: 600;
}

#contact form input,
#contact form textarea {
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

#contact form textarea { resize: vertical; }

#contact form button {
  background-color: #DC3C22;
  color: #fff;
  font-weight: 700;
  padding: 14px 0;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s;
}

#contact form button:hover {
  background-color: #EAC8A6;
}

/* ========================
   フッター
======================== */
.company-footer {
  background-color: #de462d;
  width: 100%;
  padding: 30px 20px;
}

.company-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #fff;
}

.company-footer .brand-note {
  font-weight: 700;
  margin-bottom: 15px;
}

.company-footer .company-info p {
  margin: 4px 0;
  color: #fff;
}

/* 追随フッター */
#sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #636363;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
}

.footer-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  flex-wrap: wrap;
}

.footer-main-btns {
  display: flex;
  gap: 20px;
  margin: 0 auto;
  position: relative;
  left: 125px;
}

.line-btn img,
.contact-btn img {
  width: 232px;
  height: 72px;
  display: block;
}

.footer-tel-wrapper {
  background-color: #545454;
  padding: 6px 12px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-right: 50px;
}

.footer-tel-wrapper .tel-note {
  font-size: 1rem;
  color: #fff;
}

.footer-tel-wrapper .footer-tel {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  gap: 6px;
}

.footer-tel-wrapper .footer-tel img {
  width: 28px;
  height: 28px;
}

@media (max-width: 768px) {
  .footer-buttons {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer-main-btns {
    left: 0;
    margin: 0;
    justify-content: center;
  }

  .line-btn,
  .contact-btn {
    flex: 0 1 calc(50% - 4px);
    padding: 0;
    font-size: 1.6rem;
    text-align: center;
  }

  .line-btn img,
  .contact-btn img {
    width: 100%;
    height: auto;
  }

  .footer-tel-wrapper {
    margin-right: 0;
    width: 100%;
    align-items: center;
  }

  .footer-tel-wrapper .footer-tel {
    font-size: 1.6rem;
    justify-content: center;
    color: white;
    -webkit-text-fill-color: white; 
  }

  .footer-tel-wrapper .tel-note {
    font-size: 0.9rem;
    color: white;
  }
}

/* ヘッダー・フッター共通アニメーション */
#site-header,
#sticky-footer {
  transition: transform 0.3s ease;
}

#site-header.hide {
  transform: translateY(-100%);
}

#sticky-footer.hide {
  transform: translateY(100%);
}

/* ========================
   汎用ラッパー・背景
======================== */
.section-wrapper {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.section-wrapper.bg-yellow {
  background: 
    url('./img/inshoku_img.jpg') no-repeat center top, 
    linear-gradient(180deg, #efefef 0%, #ffd92a 100%);
  background-size: cover;
  background-blend-mode: overlay;
}

.section-wrapper.bg-yellow-s {
  background-color: #efefef;
}

.section-wrapper.shien {
  position: relative;
  background: #fff url('./img/shien_img_bg_pc.jpg') no-repeat center center;
  background-size: cover;
}

@media (max-width: 768px) {
  .section-wrapper.shien {
    background-image: url('./img/shien_img_bg_sp.jpg');
  }
}

/* グレー斜め背景 */
.section-wrapper.bg-gray {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
  color: #333;
  background:
    linear-gradient(
      170deg,
      #ffffff 0 30%,
      transparent 30% 100%
    ),
    url('./img/bg-gray_bg.jpg') no-repeat center top;
  background-size:
    100% 100%,
    cover;
  background-repeat: no-repeat, no-repeat;
}

@media (max-width: 768px) {
  .section-wrapper.bg-gray {
    min-height: 200px;
    padding: 20px;
    background:
      linear-gradient(
        170deg,
        #ffffff 0 30%,
        transparent 30% 100%
      ),
      url('./img/bg-gray_bg_sp.jpg') no-repeat center top;
    background-size:
      100% 100%,
      cover;
  }
}

/* 背景画像付きセクション */
.section-wrapper.yy {
  position: relative;
  min-height: 400px; 
  background: url('./img/bg_01.jpg') no-repeat center bottom;
  background-size: cover;
}

@media (max-width: 768px) {
  .section-wrapper.yy {
    min-height: auto;
    background: url('./img/bg_01_sp.jpg') no-repeat center bottom;
    background-size: cover;
  }
}
