@media (max-width: 480px) {

  .container > p {
    text-align: left !important;
  }
}
/* ==============================
   採用情報ページ
============================== */
.page-header {
  text-align: center;
  background: linear-gradient(180deg, #e7edf5 0%, #f5f8fb 100%);
  padding: 80px 20px 60px;
  border-bottom: 1px solid #e5e7eb;
}

.page-header h1 {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: #2d2d2d;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.page-header p {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 1.05rem;
  color: #555;
  letter-spacing: 0.03em;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
}

.recruit-intro {
  padding: 60px 0;
  background: #ffffff;
}

.recruit-intro h2 {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 1rem;
  color: #0e2a55;
  text-align: center;
  margin-bottom: 24px;
}

.recruit-intro p {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}
/* ==============================
   採用ページ - 写真セクション（中央寄せ・白背景）
============================== */
.recruit-intro {
  position: relative;
  padding: 80px 0;
  background: #ffffff; /* ← 水色グラデ削除し白背景に */
  overflow: hidden;
  text-align: center;
}

/* コンテナ内中央揃え */
.recruit-intro .container {
  max-width: 960px;
  margin: 0 auto;
}

/* 写真グリッド */
.photo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ← 中央寄せ */
  align-items: center;
  gap: 32px;
  margin-top: 40px;
}

/* 写真単体 */
.photo-item {
  flex: 0 1 420px; /* 写真サイズを均一化 */
  max-width: 90%;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.photo-item img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
}

.photo-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* スマホ対応（中央に整列） */
@media (max-width: 768px) {
  .photo-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .photo-item {
    width: 90%;
    max-width: 380px;
    margin: 0 auto;
    border-radius: 18px;
  }

  .photo-item img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}

/* ===== コンテンツ ===== */
.recruit-intro .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.recruit-intro h2 {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 1.9rem;
  letter-spacing: 0.06em;
  color: #003366;
  margin-bottom: 20px;
}

.recruit-intro p {
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
  max-width: 850px;
  margin: 0 auto 50px auto;
}

/* ===== 写真グリッド（小サイズ調整） ===== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* ←小さめ */
  gap: 24px;
  max-width: 960px; /* 中央に収まるように制限 */
  margin: 0 auto;
}

.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3; /* 統一感 */
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.photo-item:hover img {
  transform: scale(1.06);
}

.photo-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,51,102,0.65), rgba(0,102,204,0.45));
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.photo-item:hover .overlay {
  opacity: 1;
}

.photo-item .overlay p {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
  margin: 0;
}

/* ===== スマホ対応 ===== */
/* ===== スマホ時の写真中央配置 ===== */
@media (max-width: 768px) {
  .photo-item img {
    display: block;
    margin: 0 auto;         /* 中央寄せ */
    object-fit: cover;
    width: 100%;
    height: auto;
  }

  /* overlay 削除時の余白調整 */
  .photo-item {
    justify-content: center;
    align-items: center;
  }
}


.recruit-positions {
  background: #f9fafb;
  padding: 60px 20px;
}

.recruit-positions h2 {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 1.9rem;
  color: #0e2a55;
  text-align: center;
  margin-bottom: 32px;
}

.job-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
}

.job-table th,
.job-table td {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
}

.job-table th {
  background: #0e2a55;
  color: #fff;
  text-align: left;
  width: 30%;
}

.job-table td {
  background: #fff;
  color: #333;
}

.recruit-howto {
  padding: 60px 20px 80px;
}

.recruit-howto h2 {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 1.9rem;
  color: #0e2a55;
  text-align: center;
  margin-bottom: 24px;
}

.howto-list {
  max-width: 700px;
  margin: 0 auto;
  padding-left: 20px;
}

.howto-list li {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 12px;
}

@media (max-width: 767px) {
  .page-header {
    padding: 60px 14px 50px;
  }

  /* h1 をちょっと小さめに */
  .page-header h1 {
    font-size: 1.5rem;
  }

  .page-header p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .recruit-intro {
    padding: 40px 14px;
  }

  /* h2 たちを少し小さめに */
  .recruit-intro h2,
  .recruit-positions h2,
  .recruit-howto h2 {
    font-size: 1.3rem;
  }

  .recruit-intro p {
    font-size: 0.95rem;
  }

  .photo-item {
    height: 150px;
  }

  .recruit-positions {
    padding: 40px 14px;
  }

  .job-table th,
  .job-table td {
    padding: 10px 12px;
  }

  .recruit-howto {
    padding: 40px 14px 60px;
  }

  .howto-list li {
    font-size: 0.95rem;
  }
}
