@charset "utf-8";
/* Style CSS Document
Theme Name:（有）共同設備 採用サイト 公式サイト
Description:（有）共同設備 採用サイト 公式サイト用テーマ
Version:1.0
Date:2025.7
Author: Studio401 Y.Iwata
*/

@charset "utf-8";

/* 全体リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img {
  max-width: 100%;
  height: auto;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
.container {
  max-width: 1400px !important;
  margin: 0 auto;
}
.container-fluid {
  max-width: 100% !important;
  margin: 0;
  padding: 0;
}
.mt-1m {
  padding-top: 2.5em;
}
.h-95 {
  height: 95%;
}
.mt-35 {
  margin-top: 3.5rem;
}
.mt-150 {
  margin-top: 150px;
}
u {
  text-decoration: under;
}
.fsb {
  font-size: 125%;
}

/* フォント設定（Adobe Fonts） */
html,
body {
  font-family: kozuka-gothic-pro, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.75;
  color: #595858;
  overflow-x: hidden !important;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  -moz-osx-font-smoothing: grayscale; /* ←追加 */
  text-rendering: optimizeLegibility; /* ←追加 */
}
html {
  scroll-behavior: smooth;
}

body::-webkit-scrollbar {
  height: 0;
}
/* Firefox */
body {
  scrollbar-width: none; /* 全面的にスクロールバーを非表示 */
  -ms-overflow-style: none; /* IE/Edge Legacy */
  padding-top: 75px;
}
strong,
b {
  font-weight: 700;
  font-style: normal;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}
.mb-10 {
  margin-bottom: 5em;
}

/*
------------------------------------------------------------ ヘッダー（共通）
*/
.header {
  position: fixed; /* relative → fixed に変更 */
  top: 0; /* 画面上端に貼り付け */
  left: 0;
  width: 100%; /* 横幅を画面いっぱいに */
  background-color: #fff;
  height: 75px;
  z-index: 1000;
  margin: 0;
  padding: 0;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header h1 {
  margin: 0;
  padding: 0;
}
.header h1 span {
  padding-top: 0.5em;
  font-size: 16px;
}
.header .site-logo {
  height: 100%;
  max-height: 75px;
}
.anchor-offset {
  scroll-margin-top: 75px;
}

/* グローバルナビゲーション */
.header nav ul.nav {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: clamp(14px, 1.5vw, 18px);
  list-style: none;
}
.header nav ul.nav li {
  margin: 0;
}
.header nav ul.nav li a.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 0 35px;
  line-height: 75px;
  display: inline-block;
  background-color: #fff;
  transition: background-color 0.3s, color 0.3s;
}
/* 通常のhover時の下線 */
.header nav ul.nav li a.nav-link {
  position: relative;
  display: inline-block;
  padding: 0 1em;
  text-decoration: none;
}

.header nav ul.nav li a.nav-link:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: 90%;
  height: 5px;
  background-color: #005bac;
}
/* v-activeクラスが付いたliに対して常時下線 */
.header nav ul.nav li.v-active a.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: 90%;
  height: 5px;
  background-color: #005bac;
}
.header nav ul.nav li.full-active a.nav-link {
  background-color: #f6ab00;
  color: #fff;
}
.header nav ul.nav li.full-active a.nav-link:hover {
  background-color: #005bac;
  color: #fff;
}
.header nav ul.nav li {
  position: relative;
} /* グローバルナビゲーション全体 */
.header nav ul.nav {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: clamp(14px, 1.5vw, 18px);
  list-style: none;
}

/* 各リスト項目 */
.header nav ul.nav li {
  margin: 0;
  position: relative; /* 下線用の基準 */
}

/* 通常リンク */
.header nav ul.nav li a.nav-link {
  position: relative;
  display: inline-block;
  padding: 0 1em;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  line-height: 75px;
  background-color: #fff;
  transition: background-color 0.3s, color 0.3s;
}

/* 通常のhover下線表示（full-active除く） */
.header nav ul.nav li:not(.full-active) a.nav-link:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: 90%;
  height: 5px;
  background-color: #005bac;
}

/* .full-active の nav-link に対して ::after を強制非表示 */
.header nav ul.nav li.full-active a.nav-link::after {
  content: none !important;
}

/* v-activeクラスが付いている項目は常時下線 */
.header nav ul.nav li.v-active a.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: 90%;
  height: 5px;
  background-color: #005bac;
}

/* full-active用 背景色と文字色変更（hoverでも） */
.header nav ul.nav li.full-active a.nav-link {
  background-color: #f6ab00;
  color: #fff;
}
.header nav ul.nav li.full-active a.nav-link:hover {
  background-color: #005bac;
  color: #fff;
}

/* サブメニューの初期設定 */
.sub-menu {
  position: fixed;
  top: 75px; /* ヘッダー高さ分だけ下げる */
  left: 0;
  width: 100%;
  z-index: 900; /* ヘッダーより背面に */
  display: none; /* 必要に応じて hover や JS で表示制御 */
}
#sub-menu-1,
#sub-menu-2,
#sub-menu-3 {
  background-color: #b5d5ffd3;
}
.sub-menu .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  text-align: left;
}

#footer {
  text-align: center;
  padding: 3em 0;
}
#footer .tel {
  font-size: 120%;
  font-weight: bold;
  margin-left: 1em;
}
#footer .copyright {
  font-size: 13px;
  text-align: center;
}
.footer-banners {
  display: flex;
  gap: 20px; /* 画像間のスペース */
  justify-content: center;
  align-items: center;
  flex-direction: row; /* デフォルト：横並び */
  margin: 2.5em 0;
}

@media (max-width: 767px) {
  .footer-banners {
    flex-direction: column; /* スマホ時は縦並び */
  }
}

/* サブメニュー共通内容 */
.flex-layout {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  gap: 10px;
}
.sub-menu-heading {
  position: absolute;
  flex: 0 0 auto;
  margin-right: 50px;
  font-size: 24px;
  font-weight: bold;
  color: #005bac;
  text-align: left;
}
.sub-menu h2 {
  list-style: none;
  background-image: url(https://www.kyodosetsubi.jp/recruit/img/menu-dot.png);
  background-position: left middle;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  padding-left: 1.25em;
  color: #005bac;
  font-weight: bold;
  font-size: 20px;
  white-space: nowrap;
  margin: 0px 100px 0 0;
}
.sub-menu h2 a {
  text-decoration: none;
  color: #005bac;
}
.sub-menu .index {
  position: relative;
  white-space: nowrap;
  left: 0;
  top: 30px;
}
.sub-menu .index a {
  color: #000;
  font-size: 14px;
  text-decoration: none;
}
.sub-menu-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 15px;
}
.sub-item {
  flex: 0 0 auto;
  text-align: left;
  white-space: nowrap;
}
.sub-item::before {
  content: "●";
  margin-right: 0.5em;
  color: #005bac;
  font-size: 10px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}
.sub-item a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  transition: color 0.3s ease;
}
.sub-item a:hover {
  color: #005bac;
}

/* サブメニュー1、２ */
.sub-menu-1 {
  display: none;
  position: absolute;
  top: 75px;
  background-color: #e8f5e9;
  z-index: 999;
}

#sub-menu-1,
#sub-menu-3 {
  margin-top: 0px;
}

#sub-menu-1 .col-9 .sub-menu-list,
#sub-menu-3 .col-9 .sub-menu-list {
  display: grid;
  margin-top: -0.25em;
  grid-template-columns: repeat(3, 1fr);
  justify-items: left;
}

#sub-menu-1 .sub-menu-heading,
#sub-menu-3 .sub-menu-heading {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

#sub-menu-1 .col-9 .sub-item,
#sub-menu-3 .col-9 .sub-item {
  margin: 0 !important;
  padding: 5px 0;
  text-align: center;
}

#sub-menu-1 .col-9 .sub-item a,
#sub-menu-3 .col-9 .sub-item a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  transition: color 0.3s ease;
}

#sub-menu-1 .col-9 .sub-item a:hover,
#sub-menu-3 .col-9 .sub-item a:hover {
  color: #005bac;
}

/* サブ項目のセットを横並び配置 */
.h3-item-container {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}
.h3-subitem-group {
  display: flex;
  flex-direction: column;
  width: calc(33.33% - 20px);
}
.h3-subitem-group h3 {
  background-color: #005bac;
  color: #fff;
  padding: 10px 15px;
  font-size: 18px;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* サブ項目内の配置調整 */
.h3-subitem-group .sub-menu-items {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/*
------------------------------------------------------------ トップページ
*/

/* メインヴィジュアル（PC） */
#main-visual {
  position: relative;
  overflow: hidden; /* はみ出し部分を隠す */
}

.sp#main-visual {
  margin-top: 75px;
}

/* 画像フェードイン */
.ac01 {
  opacity: 0;
  animation: fadeIn 3s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ページタイトル（H2） */
.rec-overlay {
  position: absolute;
  bottom: 16%;
  left: 25px;
  /* 初期状態：画面外左かつ透明 */
  opacity: 0;
  transform: translateX(-100%);
  /* アニメーション名, 継続時間, イージング, 遅延, 最終状態を保持 */
  animation: fadeSlideIn 1s ease-out 0.5s forwards;
  color: #231815; /* 文字色 */
  font-size: 50px;
  font-weight: 900;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* VITALITY */
#vitality {
  padding-top: 30px;
}

#vitality div:nth-child(1) {
  color: #004ea2;
  font-weight: 900;
  line-height: 1em;
  font-size: clamp(50px, 15vw, 190px);
}
#vitality div:nth-child(2) {
  font-size: clamp(20px, 5vw, 63px);
  font-style: italic;
  color: #595757;
  font-weight: 900;
}
#vitality div:nth-child(3) {
  font-size: clamp(16px, 2vw, 26px);
  color: #231815;
  font-weight: 500;
}

#vitality div {
  opacity: 0;
  transform: translateX(-100px);
  transform-origin: top left;
  /* レイアウトのジャンプを防ぐ */
  transition: transform 1s ease-out, opacity 1s ease-out;
}

#vitality div:nth-child(1) {
  transition-delay: 0s;
}
#vitality div:nth-child(2) {
  transition-delay: 0.5s;
}
#vitality div:nth-child(3) {
  transition-delay: 1s;
}

#vitality div.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* VITALITY-SP */
#vitality-sp {
  padding-top: 30px;
  position: relative;
  overflow: hidden;
  background-image: url(https://www.kyodosetsubi.jp/recruit/img/evaluation-bg.png);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 70% auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 子要素を左揃え */
  padding-left: 1.5em; /* 左余白（必要に応じて調整） */
}

/* 各子divの基本アニメーション */
#vitality-sp > div {
  opacity: 0;
  transform: translateX(-100px);
  transform-origin: top left;
  transition: transform 1s ease-out, opacity 1s ease-out;
  margin-bottom: 20px;
  width: 100%; /* 各要素が親幅いっぱい（可変にしたい場合は調整） */
  box-sizing: border-box; /* パディングやボーダー含めて幅を制御 */
}

/* アニメーション発火時 */
#vitality-sp > div.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* 個別デザイン */
#vitality-sp > div:nth-child(1) {
  /* rec-overlay（用途に応じて適宜記述） */
  display: block;
  margin-top: 0;
}

#vitality-sp > div:nth-child(2) {
  color: #004ea2;
  font-weight: bold;
  line-height: 1;
  font-size: 22vw;
  white-space: nowrap;
  text-align: left;
}

#vitality-sp > div:nth-child(3) {
  font-size: 9vw;
  font-style: italic;
  color: #595757;
  font-weight: 900;
  margin-top: -10px;
  line-height: 1.125em;
}

#vitality-sp > div:nth-child(4) {
  font-size: clamp(14px, 4vw, 18px);
  color: #231815;
  font-weight: 500;
  margin-top: 0;
}

/* TOGETHER */
#together {
  padding-top: 30px;
}

#together div:nth-child(1) {
  color: #004ea2;
  font-weight: 900;
  line-height: 1em;
  font-size: clamp(50px, 15vw, 190px);
}
#together div:nth-child(2) {
  font-size: clamp(20px, 5vw, 63px);
  font-style: italic;
  color: #595757;
  font-weight: 900;
}
#together div:nth-child(3) {
  font-size: clamp(16px, 2vw, 26px);
  color: #231815;
  font-weight: 500;
}
#together div {
  opacity: 0;
  transform: translateX(-100px);
  transform-origin: top left;
  /* レイアウトのジャンプを防ぐ */
  transition: transform 1s ease-out, opacity 1s ease-out;
}
#together div:nth-child(1) {
  transition-delay: 0s;
}
#together div:nth-child(2) {
  transition-delay: 0.5s;
}
#together div.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* TOGETHER-SP */
#together-sp {
  margin-top: 0em;
  position: relative;
}
#together-sp .ac01 img {
  display: block;
  width: 100%;
  height: auto;
  padding-bottom: 2em;
}
/* ↓↓↓ 統合＆左端揃え ↓↓↓ */
#together-sp .text-overlay {
  position: absolute;
  bottom: -10px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 左端揃え */
  padding-left: 1.5em; /* 左余白（調整可） */
  pointer-events: none;
}
#together-sp .text-overlay .text-item {
  opacity: 0;
  transform: translateX(-100px);
  transition: transform 1s ease-out, opacity 1s ease-out;
  margin-bottom: 10px;
}
#together-sp .text-overlay .text-item.in-view {
  opacity: 1;
  transform: translateX(0);
}
#together-sp .text-overlay .item2 {
  color: #004ea2;
  font-weight: bold;
  line-height: 1;
  font-size: 18vw;
  white-space: nowrap;
}

/* MIND */
#mind-box {
  margin-top: 70px;
  padding: 0 0 3em 0;
  background-color: #f6ab00;
}
#mind-box h2 {
  font-size: clamp(30px, 11.5vw, 140px);
  color: #ffffffb0;
  font-weight: bold;
  margin-bottom: -0.75em;
}
#mind-box h3 {
  font-size: clamp(20px, 2.5vw, 40px);
  font-weight: bold;
}
#maind-box .c-txt {
  font-size: 16px;
}
#mind-box .sub-txt {
  font-size: clamp(20px, 2vw, 42px);
  font-weight: bold;
  color: #a9a9aa;
}
#mind-box .read-txt,
#werflare-box .read-txt,
#fellow-box .read-txt {
  font-size: clamp(24px, 2.5vw, 42px);
  color: #231815;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1em;
}
#fellow-box .read-txt {
  color: #fff;
}
#werflare-box .read-txt {
  margin-top: 0.75em;
}
#mind-box .con-txt {
  font-size: clamp(20px, 2.5vw, 25px);
  color: #fff;
  font-weight: 500;
  text-align: center;
}

/* コンテナ：最大幅1200px・左右均等余白・Flexレイアウト */
.inner-box {
  max-width: 1200px;
  margin: 4em auto 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px; /* 円同士の間隔 */
  padding: 0 20px; /* 両サイド余白 */
  box-sizing: border-box;
}
.inner-box2 {
  max-width: 1200px;
  margin: 0 auto;
}

/* circle-con：白背景の正円・中身はみ出さない */
.circle-con {
  background-color: #fff;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  flex: 1 1 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(25px) scale(0.85);
  transform-origin: center center;
}

/* タイポグラフィ */
.circle-con h3 {
  color: #004ea2;
  margin: 0;
  font-size: clamp(16px, 2.5vw, 40px);
  font-weight: 800;
  white-space: nowrap; /* 改行禁止 */
}
.circle-con .sub-txt {
  color: #d3d3d4;
  margin: -0.25em 0 0.5em 0;
  font-size: clamp(16px, 2.5vw, 36px);
  font-weight: 800;
  white-space: nowrap; /* 改行禁止 */
}
.circle-con .c-text {
  color: #004ea2;
  margin: 0;
  padding: 0 2.5em;
  text-align: center;
  line-height: 1.8;
  word-break: break-word; /* 要素幅に合わせて改行 */
}

/* レスポンシブ：768px以下は縦積み */
@media (max-width: 768px) {
  .inner-box,
  .inner-box2 {
    flex-direction: column;
    gap: 0px; /* 縦配置時のアイテム間隔を半分に */
  }
  .circle-con {
    flex: none;
    width: 100%;
    max-width: none;
    /* margin-bottom をクリアして gap に一本化 */
    margin-bottom: 0;
  }
}

/* アニメーション定義：25px下→元位置＋フェードイン */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(0.85);
  }
}

/* in-view トリガー */
.circle-con.in-view:nth-of-type(1) {
  animation: fadeUp 0.8s ease-out 0s forwards;
}
.circle-con.in-view:nth-of-type(2) {
  animation: fadeUp 0.8s ease-out 0.3s forwards;
}
.circle-con.in-view:nth-of-type(3) {
  animation: fadeUp 0.8s ease-out 0.6s forwards;
}

.loop_wrap {
  display: flex;
  width: 3639px;
  height: 308px;
  overflow: hidden;
  margin: 5em 0;
}

.loop_wrap img {
  width: 3639px;
  height: 308px;
}

@keyframes loop {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes loop2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}

.loop_wrap img:first-child {
  animation: loop 120s -60s linear infinite;
}

.loop_wrap img:last-child {
  animation: loop2 120s linear infinite;
}

.contents .job .inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* WORK */
#work-box {
  margin-top: 0px;
  padding: 0 0 5em 0;
  background-color: #005cac;
}

#work-box h2 {
  font-size: clamp(30px, 11.5vw, 140px);
  color: #ffffff7e;
  font-weight: 900;
  margin-bottom: -0.75em;
}

#work-box .read-txt {
  font-size: clamp(24px, 2.5vw, 42px);
  color: #fff;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1em;
}

#work-box .btn {
  width: 100%;
  margin: 0 auto;
  line-height: 0.5em;
  text-align: left;
}

/*  ----------------------------------------------------------------- 職種紹介  */
#proccess-box {
  margin-top: 0px;
  padding: 0 0 3em 0;
  background-image: url(https://www.kyodosetsubi.jp/recruit/img/proccess-bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
#fellow-box {
  margin-top: 0px;
  padding: 0 0 5em 0;
  background-color: #005bac;
  /*background-image: url(fellow/img/staff-bg.jpg);
  background-position: center middle;
  background-repeat: no-repeat;
  background-size: cover;*/
}
#evaluation-box {
  padding-bottom: 2.5em;
}
#evaluation-box .container {
  background-image: url(https://www.kyodosetsubi.jp/recruit/img/evaluation-bg.png);
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: 50% auto;
  margin-bottom: 0;
  padding-bottom: 0;
}
#proccess-box .container,
#evaluation-box .container,
#werflare-box .container {
  position: relative;
}
#proccess-box h2,
#evaluation-box h2,
#werflare-box h2,
#fellow-box h2 {
  font-size: clamp(30px, 11.5vw, 140px);
  color: #ffffff7e;
  font-weight: 900;
  margin-bottom: -0.75em;
}
#evaluation-box h2,
#werflare-box h2 {
  color: rgba(255, 242, 177, 0.753);
}
#proccess-box h3,
#fellow-box h3,
#evaluation-box h3 {
  text-align: center;
}
#evaluation-box h3 {
  margin-top: 3em;
}
#proccess-box .read-txt {
  font-size: clamp(24px, 2.5vw, 42px);
  color: #231815;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1em;
}

#proccess-box .container .hukidashi01 {
  position: absolute;
  top: 180px;
  right: 5%;
  width: 27%;
  height: auto;
}
#evaluation-box .container .hukidashi02 {
  position: absolute;
  top: 50px;
  right: 5%;
  width: 27%;
  height: auto;
}
#werflare-box .container .hukidashi03 {
  position: absolute;
  top: 60px;
  right: 5%;
  width: 27%;
  height: auto;
}

/* 初期状態：下にオフセット＆透明 */
.inner-box .con-box {
  opacity: 0;
  transform: translateY(30px); /* X 軸のずらしを削除 */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* in-view クラス付与後：元位置＆不透明 */
.inner-box .con-box.in-view {
  opacity: 1;
  transform: translateY(0);
}

.con-box {
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 4px solid #005bac;
  border-radius: 17px;
  color: #333;
  background-color: #ffffffb2;
  flex: 1 1 100%;
  /* white-space: nowrap; ←これを削除 */
}
#process-box1 .con-box a {
  color: #004ea2;
}

/* 768px以上では必ず横一列・改行なし */
@media (min-width: 768px) {
  .inner-box,
  .inner-box2 {
    flex-wrap: nowrap; /* 折り返し禁止 */
  }
  .con-box {
    flex: 1 1 0; /* 等分して横幅を揃える */
  }
  .con-box .nowrap {
    white-space: nowrap;
  }
}

.work-cl {
  font-size: clamp(20px, 2.5vw, 24px);
  color: #004098;
  font-weight: 500;
  margin-top: -20px;
}

/* ボタン基本スタイル */
.btn-more {
  width: 60%;
  display: inline-block;
  text-align: center;
  padding: 0.6em 1.2em;
  background-color: #005bac;
  color: #fff;
  border: 4px solid #fff;
  text-decoration: none;
  margin: 2em 0 -20px 0;
  border-radius: 11px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ホバーで背景と文字色を入れ替え */
.btn-more:hover {
  background-color: #fff;
  border: 4px solid #005bac;
  color: #005bac;
}

/* 既存の min-height 指定を修正 */
#basic-t,
#word-e,
#qualifi {
  display: flex; /* flex コンテナ化 */
  min-height: 250px;
}

/* （念のため）.container を flex アイテムとして高さいっぱいに */
#basic-t > .container,
#word-e > .container,
#qualifi > .container {
  flex: 1;
}

/* 背景色（50%透過） */
#basic-t {
  background-color: rgba(0, 78, 162, 0.5);
}
#word-e {
  background-color: rgba(0, 94, 60, 0.5);
}
#qualifi {
  background-color: rgba(126, 107, 46, 0.5);
}

#s-proccess .left-title {
  width: 37%;
}
#s-proccess .right-txt {
  width: 63%;
}

/* 背景画像＋カバー表示 */
#basic-t .right-txt,
#word-e .right-txt,
#qualifi .right-txt {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  align-self: stretch; /* 親（.container）内で幅・高さを伸ばす */
  display: flex;
  flex-direction: column;
  justify-content: center; /* テキスト縦中央 */
}

/* 各セクション用背景画像 */
#basic-t .right-txt {
  background-image: url("https://www.kyodosetsubi.jp/recruit/img/s-pro-bg-01.png");
}
#word-e .right-txt {
  background-image: url("https://www.kyodosetsubi.jp/recruit/img/s-pro-bg-02.png");
}
#qualifi .right-txt {
  background-image: url("https://www.kyodosetsubi.jp/recruit/img/s-pro-bg-03.png");
}

/* 共通コンテナ設定 */
#s-proccess .container {
  display: flex;
  justify-content: flex-start; /* 水平方向左寄せ */
  align-items: center; /* 垂直方向中央揃え */
  padding-left: 10%; /* 左マージン10% */
}

/* テキスト共通スタイル */
#s-proccess .left-title,
#s-proccess .right-txt {
  color: #fff;
  text-align: left;
}

#s-proccess .left-title {
  font-size: clamp(20px, 2.5vw, 44px);
  font-weight: 800;
  padding-left: 20px;
}

#s-proccess .right-txt {
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 500;
  padding-left: 10%;
}

/* span内文字サイズ */
#s-proccess .right-txt span {
  display: block;
  font-size: 14px;
}

@media (max-width: 768px) {
  /* 縦並びにする */
  #s-proccess .container {
    flex-direction: column;
    padding-left: 0; /* 左マージン不要に */
  }

  /* 左右両方幅100% */
  #s-proccess .left-title,
  #s-proccess .right-txt {
    width: 100%;
  }

  /* left-title のスタイル */
  #s-proccess .left-title {
    height: 100px;
    display: flex; /* 中央揃えのためflexに */
    justify-content: center; /* 横中央 */
    align-items: center; /* 縦中央 */
    text-align: center; /* テキストも中央揃え（補助） */
    margin: 0; /* 念のためリセット */
    padding: 0 1em; /* 左右少しだけ余裕持たせる */
    font-size: clamp(28px, 5vw, 36px); /* スマホ用にやや小さめにしてもOK */
    line-height: 1em;
  }

  /* right-txt の背景画像を左右隙間なく */
  #s-proccess .right-txt {
    margin-left: calc(-50vw + 50%);
    width: 105vw;
    padding-left: 10px; /* 文字だけちょっと左に余裕（なくてもOK） */
    background-position: center center;
    background-size: cover;
    height: 250px;
    padding: 0 2em;
  }
}

/* ↓矢印アイコン */
.d-arrow {
  width: 64px;
  height: auto;
  margin: 1.5em auto;
}

#werflare-box {
  background-color: #f6ab00;
  padding-bottom: 3em;
}

/* 初期状態：透明＆左にオフセット */
.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* ビュー内に入ったときに付与するクラス */
.fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.mv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out 0.2s,
    /* 0.2s 統一遅延 */ transform 0.6s ease-out 0.2s; /* 〃 */
}

.mv.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* DEVELOPMENT */
#deve-box {
  margin-top: 70px;
  padding: 0 0 3em 0;
  background-color: #f6ab00;
}
#deve-box .contents {
  width: 100%;
}
#deve-box h2 {
  font-size: clamp(30px, 11.5vw, 140px);
  color: #ffffffb0;
  font-weight: 900;
  margin-bottom: -0.75em;
}
#deve-box .read-txt {
  font-size: clamp(24px, 2.5vw, 42px);
  color: #231815;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1em;
}
#deve-box .con-txt {
  font-size: clamp(16px, 2.5vw, 25px);
  color: #fff;
  font-weight: 500;
  text-align: center;
}

/* TOPメインビジュアル */
.topmain > video {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.topmain {
  position: relative;
  overflow: hidden;
  width: 100vw;
  max-height: calc(100vh - 74px);
  aspect-ratio: 3/5;
}

@media screen and (min-width: 1025px), print {
  .topmain {
    height: calc(100vh - 74px);
    aspect-ratio: 9/16;
  }
}

.mh1 {
  padding: 0 17px;
  transition: opacity 1.5s ease;
}
a:hover .mh1 {
  content: url("https://www.kyodosetsubi.jp/recruit/img/btn-recruit-o.png");
  transition: opacity 1.5s ease;
}

.sub-title {
  font-size: 28px;
  font-weight: 800;
  color: #a9a9aa;
  text-align: center;
  margin-top: -0.5em;
}
.read-txt {
  margin: 2em auto 0 auto;
  max-width: 700px;
  position: relative; /* z-index が効くように */
  z-index: 2; /* 数値は .marquee より高くする */
}

.marquee-wrapper {
  position: relative;
  width: 100vw;
  overflow-x: hidden;
}

.marquee {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  animation: slide 30s linear infinite;
  position: absolute;
  left: 0;
  margin-top: -0.75em;
  color: #dff2fc;
  z-index: 1;
  font-weight: 800;
  white-space: nowrap;
  font-size: clamp(75px, 15vw, 355px);
  will-change: transform;
  backface-visibility: hidden;
  overflow-x: hidden;
  /* アニメーションは30秒でループ、負の delay を設定して読み込み時に途中から開始 */
  animation: slide 30s linear infinite;
  letter-spacing: -0.05em; /* この値を調整して好みの文字間隔に */
  animation-delay: -15s; /* 30秒周期の半分分ずらす例 */
}

/* 連続させるためのテキスト要素の設定 */
.marquee span {
  display: inline-block;
  margin-right: 0;
}

/* キーフレームでは全体の半分の長さ分（複製した2つ分で1周期となるように調整） */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.vp {
  transition: transform 0.3s ease; /* ホバー時の変化を0.3秒で実現 */
}
.vp:hover {
  transform: scale(1.05); /* 横・縦いずれも5%拡大 */
}

#about-linkbox {
  background: linear-gradient(to bottom, #acc3e6, #f7f9fc);
}
#about-linkbox .container {
  padding: 10em 0;
  background-image: url(https://www.kyodosetsubi.jp/recruit/img/about-top-bg2.png);
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: auto 70%;
}
.lo1,
.lo2 {
  transition: opacity 1.5s ease;
}

#about-linkbox .container a:hover .lo1 {
  content: url("https://www.kyodosetsubi.jp/recruit/img/btn-construction-o.png");
  transition: opacity 1.5s ease;
}
#about-linkbox .container a:hover .lo2 {
  content: url("https://www.kyodosetsubi.jp/recruit/img/btn-recruit-o.png");
  transition: opacity 1.5s ease;
}

/* 見出し部 */
.heading-block {
  text-align: center;
  margin-bottom: 2em; /* 見出しと下のレイアウトの間隔 */
}
.heading-block h2 {
  font-size: 38px;
  text-align: center;
  font-weight: bold;
}

/* 2カラム用Flexコンテナ */
.flex-container-two {
  display: flex;
  flex-wrap: nowrap;
}

/* 左カラム：背景画像はそのまま */
.flex-container-two > .left-col {
  width: 60%;
  position: relative;
  overflow: hidden;
}
.left-col::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%; /* 元の設定通り */
  width: calc(100% + 50%);
  height: 100%;
  background: url("https://www.kyodosetsubi.jp/recruit/img/left-img.png")
    no-repeat center center;
  background-size: auto 100%;
}

/* 右カラム：内容を中央寄せ */
.flex-container-two > .right-col {
  width: 40%;
  display: flex;
  padding: 2em 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* メディアクエリ（画面幅768px以下の場合） */
@media (max-width: 768px) {
  .flex-container-two > .left-col {
    display: none;
  }
  .flex-container-two > .right-col {
    width: 100%;
  }
}

/* 親リンクに固定幅とブロック表示を設定 */
.right-col a {
  display: block;
  width: 50%;
  min-width: 220px; /* 各リンクの幅を統一 */
  margin: 10px 0; /* 上下に余白 */
  text-decoration: none;
}

/* リンク内の.itemは親の幅いっぱい */
.right-col a .item {
  width: 100%;
  border: 2px solid #fff;
  border-radius: 9999px; /* ピル状 */
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: 1em 0; /* テキスト上下に1em余白 */
  text-align: center;
  color: #fff;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

/* 右端から10pxの位置に "＞" を表示 */
.right-col a .item::after {
  content: "＞";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  transition: color 0.3s;
}

/* ホバー時の状態 */
.right-col a:hover .item {
  background-color: #fff;
  border-color: #fff;
  color: #004098;
}
.right-col a:hover .item::after {
  color: #004098;
}

/* Googleマップレスポンシブ */
.gmap {
  position: relative;
  width: 100%;
  max-width: 1310px;
  margin: 0 auto;
  height: 0;
  padding-top: 50.8%;
}

/* Google Mapのiframe */
.gmap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#main-con {
  margin-top: clamp(50px, 35%, 420px);
  position: relative;
  z-index: 1;
  padding-bottom: 1em;
}

.con-box {
  padding: 4em 0;
}

.frame .ac {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 75px auto 0 auto;
}

.tc {
  text-align: center;
}

/* テーブル TH色あり */
.dec-t01 {
  width: 100%;
  border-collapse: collapse;
}
.dec-t01 th,
.dec-t01 td {
  padding: 1em 1em 1em 4em;
  border-bottom: 1px solid #000;
  text-align: left;
}
.dec-t01 th {
  background-color: #bbdcf4;
  vertical-align: middle;
  text-align: left;
  padding: 1em 10px 1em 4em;
}
/* テーブル TH色なし */
.dec-t01nc {
  width: 100%;
  border-collapse: collapse;
}
.dec-t01nc th,
.dec-t01nc td {
  padding: 1em 1em 1em 4em;
  border-bottom: 1px solid #000;
  text-align: left;
}
.dec-t01nc th {
  background-color: #fff;
  vertical-align: middle;
  text-align: left;
  padding: 1em 10px 1em 4em;
}
.dec-t01nc td {
  position: relative;
  padding-left: 20px;
}
.dec-t01nc td::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #bbdcf4;
  font-size: 14px;
}
.photo-block {
  width: 95%;
  margin: 0 auto;
}
.photo-block .second {
  margin-top: 1.5em;
}

.heading-img {
  position: absolute;
  bottom: clamp(-350px, -67%, -150px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: auto;
  height: auto;
  max-width: 1160px;
  width: 95%;
}

.content-wrap {
  display: flex;
  align-items: flex-end;
  gap: 15px;
}

.icon-wrap {
  flex-shrink: 0;
}

.h4-icon {
  width: auto;
  height: auto;
  display: block;
  margin-bottom: 0.75em;
}

.text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.main-txt {
  font-size: 36px;
  color: black;
  font-weight: bold;
  margin: 1.5em 0 0 0;
}

.sub-txt {
  font-size: 28px;
  color: black;
  margin: 0;
  font-weight: bold;
}
.works-item {
  list-style: none;
  padding: 0;
  margin: 0.5em 0 2.5em 0;
}

.works-item li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 5px;
  line-height: 1.6;
}

.works-item li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0.3em;
  transform: translateY(0);
  color: #00a9e4;
  font-size: 20px;
  line-height: 1;
}

/*
------------------------------------------------------------ 採用情報
*/

#rec-top {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 2;
  min-height: 100px;
  /*  background-image: url("https://www.kyodosetsubi.jp/recruit/img/rec-top-heading-bg.jpg"); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  padding-bottom: 150px;
}
#rec-top .container {
  max-width: 1200px;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

#rec-top .container h2 {
  padding: 25px 0 0 35px;
  text-align: left;
  font-size: clamp(20px, 2.5vw, 40px);
  color: rgb(255, 255, 255);
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}
#rec-top .rec-catch {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -40%);
  padding: 1em;
  color: #000;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  font-weight: bold;
  font-size: clamp(14px, 2.5vw, 42px); /* ✅ 画面幅に応じて可変 */
  z-index: 10;
}
.list4 {
  list-style: none;
  padding: 0;
  margin: 3em 0 2.5em 0;
}
.list4 li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 5px;
  line-height: 1.6;
}
.list4 li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0.3em;
  transform: translateY(0);
  color: #005bac;
  font-size: 20px;
  line-height: 1;
}

/*------------------------------------------*/
/* 共同設備の仕事
/*------------------------------------------*/

#job-box-b {
  background-color: #bbdcf4;
}
#job-box-w {
  background-color: #fff;
}
#job-box-b2 {
  background-color: #84bae5;
}

@media screen and (min-width: 768px), print {
  .contents.job .box {
    display: flex;
    align-items: center;
  }

  .contents.job .box.reverse {
    flex-direction: row-reverse;
  }

  .contents.job .box + .box {
    margin-top: 60px;
  }
}

/* 画像 --------------------------------*/
.contents.job .box figure img {
  width: 100%;
}

.contents.job .box figure {
  width: 100px;
}

@media screen and (max-width: 767px) {
  .contents.job .box figure {
    margin-bottom: 10px;
  }
}

@media screen and (min-width: 768px), print {
  .contents.job .box figure {
    flex-shrink: 0;
    width: 160px;
    margin-right: 110px;
  }

  .contents.job .box.reverse figure {
    margin-right: 0;
    margin-left: 110px;
  }
}

/* cont --------------------------------*/
.contents.job .box .cont {
  position: relative;
  text-align: left;
  background: white;
  border-radius: 10px;
  width: 100%;
  padding: 20px;
}
.contents.job .box .cont-b {
  position: relative;
  text-align: left;
  background: white;
  border-radius: 10px;
  width: 100%;
  padding: 20px;
  border: 3px solid #005bac;
}

@media screen and (min-width: 768px), print {
  .contents.job .box .cont,
  .contents.job .box .cont-b {
    padding: 20px 40px;
  }
}

/* 吹き出し --------------------------------*/
.contents.job .box .cont::before {
  content: "";
  display: inline-block;
  background: url("https://www.kyodosetsubi.jp/recruit/img/balloon_arrow.svg")
    no-repeat;
  background-size: 100%;
  aspect-ratio: 100/42;
  height: auto;
  position: absolute;
}
.contents.job .box .cont-b::before {
  content: "";
  display: inline-block;
  background: url("https://www.kyodosetsubi.jp/recruit/img/balloon_arrow2.svg")
    no-repeat;
  background-size: 100%;
  aspect-ratio: 100/42;
  height: auto;
  position: absolute;
}

@media screen and (max-width: 767px) {
  .contents.job .box .cont-b::before {
    background: url("https://www.kyodosetsubi.jp/recruit/img/balloon_arrow2t.svg")
      no-repeat;
  }
  .contents.job .box .cont::before,
  .contents.job .box .cont-b::before {
    width: 60px;
    top: -20px;
    left: 100px;
    transform: scaleY(-1) rotate(310deg);
  }
}

@media screen and (min-width: 768px), print {
  .contents.job .box .cont::before,
  .contents.job .box .cont-b::before {
    width: 100px;
    bottom: 40px;
    left: -100px;
  }

  .contents.job .box.reverse .cont::before,
  .contents.job .box.reverse .cont-b::before {
    left: auto;
    right: -100px;
    transform: scaleX(-1);
  }
}

/* 小見出し --------------------------------*/
h3.heading {
  margin: 0.5em 0 0 0;
  color: #005bac;
  font-size: clamp(18px, 3vw, 30px);
  font-weight: bold;
  text-align: left;
}

@media screen and (min-width: 768px), print {
  h3.heading {
    font-size: clamp(18px, 3vw, 30px);
  }
}

/* テキスト --------------------------------*/
.contents.job .box .cont .text,
.contents.job .box .cont-b .text {
  text-align: justify;
  text-justify: inter-ideograph;
  margin-top: 1em;
}

/* リンク --------------------------------*/
.contents.job .box .cont .btn a {
  display: inline-block;
  border-bottom: 1px solid #005bac;
  color: #005bac;
  font-weight: bold;
}

@media screen and (min-width: 834px), print {
  .contents.job .box .cont .btn a p {
    display: inline-block;
  }

  .contents.job .box .cont .btn a p + p {
    margin-left: 1em;
  }
}

/*------------------------------------------*/
/* 人材育成制度
/*------------------------------------------*/

/* ==== box 本体 ==== */
.contents.training .box {
  position: relative; /* .line の基準 */
  z-index: 0; /* 親スタッキングコンテキスト */
  overflow: hidden; /* はみ出し隠す */
}

/* box間の縦余白 */
.contents.training .box + .box {
  margin-top: 40px;
}

/* PC以上は横並び、モバイルは縦積み */
@media screen and (min-width: 768px) {
  .contents.training .box {
    display: flex;
    align-items: center;
  }
  .contents.training .box.reverse {
    flex-direction: row-reverse;
  }
  /* PC時は縦余白を若干広げる */
  .contents.training .box + .box {
    margin-top: 60px;
  }
}

/* ==== 線を描く .line ==== */
.contents.training .box .line {
  position: absolute;
  top: calc(50% - 2px);
  left: calc(50% + 15px);
  width: 160px;
  z-index: -1; /* box 背面に確実に沈める */
}

/* ----------------------------------------- */
/* 画像部分 */
.contents.training .box figure {
  position: relative;
  z-index: 1; /* 線より前面に */
  width: calc(375px / 1.7);
}
.contents.training .box.large figure {
  width: calc(570px / 1.7);
}
.contents.training .box figure img {
  width: 100%;
}

@media screen and (max-width: 767px) {
  .contents.training .box figure {
    max-width: 100%;
    margin: 0 auto 10px;
  }
}

@media screen and (min-width: 768px) {
  .contents.training .box figure {
    flex-shrink: 0;
    width: calc(375px / 1.5);
    margin-right: 40px;
  }
  .contents.training .box.large figure {
    width: calc(570px / 1.5);
  }
  .contents.training .box.reverse figure {
    margin-right: 0;
    margin-left: 40px;
  }
}

/* ----------------------------------------- */
/* 吹き出し（cont） */
.contents.training .box .cont,
.contents.training .box .cont-b {
  position: relative;
  text-align: left;
  background: #faf0d6;
  border-radius: 10px;
  width: 100%;
  padding: 20px;
}
.contents.training .box .cont-b {
  border: 3px solid #005bac;
}

@media screen and (min-width: 768px) {
  .contents.training .box .cont,
  .contents.training .box .cont-b {
    padding: 20px 40px;
  }
}

/* ----------------------------------------- */
/* 小見出し（h3.heading） */
#sub-page h3.heading {
  position: relative;
  z-index: 1; /* 線より前面に */
  margin: 0.5em 0 0 0;
  color: #005bac;
  font-size: clamp(18px, 3vw, 30px);
  font-weight: bold;
  text-align: left;
}

/* モバイル用飾り線（見出し） */
.contents.training .box .cont::before {
  content: "";
  position: absolute;
  background: url("https://www.kyodosetsubi.jp/recruit/img/dot-line.svg")
    no-repeat;
  background-size: 100%;
  aspect-ratio: 220/6;
  height: auto;
  z-index: -1;
}

/* PC用飾り線（見出し） */
@media screen and (min-width: 768px) {
  .contents.training .box .cont::before {
    width: 200px;
    top: 100px;
    left: -150px;
    transform: rotate(-25deg);
    z-index: -1;
  }
  .contents.training .box.reverse .cont::before {
    left: auto;
    right: -140px;
    transform: rotate(25deg);
  }
}

/* テキスト --------------------------------*/
.contents.training .box .cont .text,
.contents.training .box .cont-b .text {
  text-align: justify;
  text-justify: inter-ideograph;
  margin-top: 1em;
}

.txt-sub {
  font-size: clamp(20px, 2.5vw, 40px);
  font-weight: bold;
  text-align: center;
  color: #005bac;
}

.tbc2 {
  font-size: clamp(20px, 5vw, 24px);
  background-color: #036eb8;
  color: #fff;
  width: 300px;
  padding: 0.5em 2em;
  border-radius: 9999px;
  display: inline-block;
  font-weight: bold;
  text-align: center;
}

.tbc3 {
  font-size: clamp(20px, 5vw, 24px);
  background-color: #036eb8;
  color: #fff;
  padding: 0.5em 2em;
  border-radius: 9999px;
  display: inline-block;
  font-weight: bold;
  text-align: center;
}
.tbc3 a {
  color: #fff;
  text-decoration: none;
}

.rt01 {
  text-align: center;
}
.rt01 img {
  width: 100%;
  height: auto;
  max-width: 150px;
}
.rec-st {
  text-align: center;
}
.rec-st img {
  max-width: 650px;
  height: auto;
}
.rec-st-box {
  border: 4px solid #005bac;
  padding: 2em 1.5em 1em 1.5em;
  border-radius: 17px 17px;
  margin: 1.5em auto 1.5em auto;
  max-width: 880px;
  text-align: center;
}
.rec-st-box2 {
  border: 4px solid #005bac;
  padding: 2em 1.5em 0 1.5em;
  border-radius: 17px 17px;
  margin: 1.5em auto 1.5em auto;
  max-width: 880px;
  text-align: center;
}
.rec-st-box2 {
  text-align: left;
}
.rec-st img {
  width: 100%;
  height: auto;
}

.rec-st-box h4 {
  font-size: clamp(18px, 5vw, 30px);
  color: #005bac;
  font-weight: bold;
  margin-bottom: 0.5em;
  text-align: center;
}
.rec-st-box2 h4 {
  font-size: clamp(18px, 5vw, 30px);
  color: #005bac;
  font-weight: bold;
  margin-bottom: 1em;
  text-align: center;
}
.outer-box {
  text-align: center;
}
.outer-box ul {
  display: inline-block;
  text-align: left;
  list-style: none;
}
.bpr {
  display: block;
}
@media screen and (max-width: 825px), print {
  .bpr {
    display: inline;
  }
}

.h-title {
  font-size: clamp(18px, 5vw, 24px);
  color: #005bac;
  font-weight: bold;
  margin-bottom: 1em;
  text-align: center;
}

#job-box-b2 h3 {
  margin-top: -3em;
}
#job-box-b2 h3 img {
  margin-left: 1em;
}

.w-box {
  border: 4px solid #005bac;
  background-color: #fff;
  color: #005bac;
  font-weight: bold;
  padding: 1em;
  border-radius: 17px 17px;
  text-align: center;
  margin: 1em;
  font-size: clamp(18px, 2vw, 24px);
  transition: color 0.3s, background-color 0.3s;
}

/*------------------------------------------*/
/* 仲間を知る
/*------------------------------------------*/
#fellow-box {
  margin: 4em 0;
}
#fellow-box .pos-text {
  font-weight: normal;
  color: #fff;
}
#fellow-box .fss-b {
  color: #ffe100;
}

#fellow-top {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 2;
  min-height: 100px;
  background-image: url("https://www.kyodosetsubi.jp/recruit/img/fellow/fellow-top-heading-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  padding-bottom: 150px;
}

#fellow-top .container {
  max-width: 1200px;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

#fellow-top .container h2 {
  padding: 25px 0 0 35px;
  text-align: left;
  font-size: clamp(20px, 2.5vw, 40px);
  color: rgb(0, 0, 0);
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.7);
}

#fellow-top .over-img {
  position: absolute;
  bottom: 0; /* 画像を下部に配置 */
  left: 50%; /* 水平中央に配置 */
  transform: translateX(-50%); /* 画像を中央にシフト */
  width: 100%;
  max-width: 1200px;
  height: auto;
}
#fellow-top .over-img img {
  width: 100%;
  height: auto;
}
#sub-page .over-img img {
  width: 90%;
  padding: 0 5%;
  margin: 2em auto;
}
#fellow-box .row {
  padding-top: 1.5em;
}

#member-box {
  margin: 0;
  padding: 0;
}
#fellow-box .img-box,
#member-box .img-box {
  text-align: center;
}
#fellow-box .img-box img,
#member-box .img-box img {
  width: 80%;
  height: auto;
  padding-bottom: 1em;
}
#fellow-box .img-box img,
#member-box .img-box img {
  width: 80%;
  height: auto;
  padding-bottom: 1em;
  transition: transform 0.3s ease;
}

#fellow-box .img-box img:hover,
#member-box .img-box img:hover {
  transform: scale(1.05);
}

#fellow-box a,
#member-box a {
  font-size: 22px;
  text-decoration: none;
  color: #000;
  line-height: 1.4em;
  font-weight: 500;
}

@media (max-width: 768px) {
  #fellow-box a .pos-text {
    font-size: 16px;
    text-decoration: none;
    color: #fff;
    line-height: 1.4em;
    font-weight: 500;
  }
}

.fss-b {
  font-size: 22px;
  color: #005bac;
}

/* ベース */
#staff-head,
#staff-head-sp {
  background-color: #004ea2;
  /* p-txt がはみ出すために overflow は visible のままに */
}

@media (max-width: 850px) {
  #staff-head-sp {
    margin: 75px 0 0 0;
    padding: 0;
    position: relative;
  }
  #staff-head-sp .right-box {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }
  #staff-head-sp .left-box {
    width: 90%;
    margin: 0.5em auto;
    box-sizing: border-box;
  }
  #staff-head-sp .right-box img {
    width: 92%;
    height: auto;
    margin: 0 8% 0 0;
  }
  /* 左カラム内の大見出し(h2)を可変フォントサイズ／白文字で幅いっぱいに */
  #staff-head-sp .left-box h2 {
    color: #fff;
    font-size: clamp(20px, 5.25vw, 50px);
    line-height: 1.5;
    margin: 0.75em 0;
    width: 100%;
    font-weight: 900;
  }

  #staff-head-sp .sub-txt {
    color: #fff;
    font-size: clamp(18px, 1.5vw, 27px);
    line-height: 1.35em;
    font-weight: 500;
  }
  .first-char {
    margin-left: -0.5em;
  }

  /* プロフィール本文（p-txt）を背景色付きで親コンテナから60px下にはみ出す */
  #staff-head-sp .p-txt {
    display: inline-block; /* コンテンツ幅に合わせる */
    background-color: #00aae8;
    color: #fff;
    padding: 5% 8%;
    position: relative;
    top: 25px; /* 親より40px下にずらす（はみ出し） */
    left: 50%; /* 横方向中央の基準点 */
    transform: translateX(-50%); /* 中央に引き戻す */
    margin: 0;
    z-index: 1;
    font-weight: 400;
    list-style: none; /* ulのマーカーリセット */
  }

  #staff-head-sp .p-txt .profile {
    font-size: 30px;
    font-weight: 800;
  }
  /* p-txt 内のリストをカスタマイズ */
  #staff-head-sp .p-txt ul {
    list-style: none; /* デフォルトのマーカーを消す */
    margin: 0;
    padding: 0;
    font-size: clamp(12px, 1.5vw, 15px);
  }

  #staff-head-sp .p-txt li {
    position: relative;
    padding-left: 1.2em; /* ●マーク分のスペースを確保 */
    margin-bottom: 0.25em; /* 項目間の余白 */
  }

  #staff-head-sp .p-txt li::before {
    content: "●"; /* 大きな●を表示 */
    position: absolute;
    left: 0;
    top: 0em; /* テキストの行揃えに合わせて微調整 */
    font-size: 1em; /* 必要なら大きさを調整 */
    color: #fff;
  }
}

/* 768px以上 */
@media (min-width: 850px) {
  /* コンテナを2カラムのフレックスに */
  #staff-head .container {
    display: flex;
    align-items: stretch; /* 子要素を同じ高さに揃える */
  }

  #staff-head .right-box {
    width: 50%;
    line-height: 0; /* img の下の空白をなくす */
    margin: 0;
    padding: 0;
  }
  #staff-head .right-box img {
    display: block; /* 余白の原因となる inline 要素をブロック化 */
    margin: 0; /* 画像上下のマージンをリセット */
  }

  /* 左右それぞれ50% */
  #staff-head .left-box,
  #staff-head .right-box {
    width: 50%;
    box-sizing: border-box;
  }

  /* 左カラム内の大見出し(h2)を可変フォントサイズ／白文字で幅いっぱいに */
  #staff-head .container h2 {
    color: #fff;
    font-size: clamp(18px, 2.8vw, 40px);
    line-height: 1.5;
    margin: 1.5em 0 0.75em 0;
    width: 100%;
    font-weight: 900;
  }

  #staff-head .sub-txt {
    color: #fff;
    font-size: 23px;
    line-height: 1.3em;
    font-weight: 400;
  }
  .first-char {
    margin-left: -0.5em;
  }

  #staff-head .p-txt {
    display: inline-block;
    width: auto;
    background-color: #00aae8;
    color: #fff;
    padding: 7% 15% 7% 7%;
    position: relative;
    transform: translateY(60px);
    margin: 0;
    top: 5px;
    z-index: 1;
    font-weight: 400;
    list-style: none;
  }

  #staff-head .p-txt .profile {
    font-size: 30px;
    font-weight: 800;
  }
  /* p-txt 内のリストをカスタマイズ */
  #staff-head .p-txt ul {
    list-style: none; /* デフォルトのマーカーを消す */
    margin: 0;
    padding: 0;
    font-size: clamp(12px, 1.5vw, 15px);
  }

  #staff-head .p-txt li {
    position: relative;
    padding-left: 1.2em; /* ●マーク分のスペースを確保 */
    margin-bottom: 0.25em; /* 項目間の余白 */
  }

  #staff-head .p-txt li::before {
    content: "●"; /* 大きな●を表示 */
    position: absolute;
    left: 0;
    top: 0em; /* テキストの行揃えに合わせて微調整 */
    font-size: 1em; /* 必要なら大きさを調整 */
    color: #fff;
  }

  /* 右カラムの画像は余白ゼロでレスポンシブに */
  #staff-head .right-box img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
  }
}

/* member紹介　*/
@media (min-width: 768px) {
  #member-box {
    background-color: #f5f2e9;
    padding-top: 5em;
  }
  #member-box .row {
    max-width: 1200px;
    margin: 0 auto 5rem auto;
  }
  #member-box .row {
    display: flex; /* flex コンテナ */
    gap: 7.5%; /* カラム間のギャップ7.5% (1200pxなら約90px相当) */
  }
  #member-box .row > .col-md-6 {
    /* (100% − gap) ÷ 2 で左右カラム幅を均等に */
    flex: 0 0 calc((100% - 7.5%) / 2);
    max-width: calc((100% - 7.5%) / 2);
  }
  #member-box h2 {
    white-space: nowrap;
    display: block;
    width: 100%;
    color: #fff;
    font-weight: 900;
    font-size: clamp(16px, 11.8vw, 168px);
  }
  #member-box .row h3 {
    font-size: 24px;
    margin-bottom: 0.5em;
  }
}

@media (max-width: 768px) {
  #member-box {
    margin-top: -1em;
    background-color: #f5f2e9;
    padding-top: 4em;
  }
  #member-box h2 {
    text-align: center;
  }
  #member-box .row {
    max-width: 85%;
    margin: 0 auto 1em auto;
  }
  #member-box .row img {
    margin: 1em auto 2em auto;
  }
}

/* member-01 03 共通 */
#fellow-box2 {
  margin: 5em 0 4em 0;
}
#fellow-box2 .sp3 {
  padding: 1em;
}

#fellow-box2 h2 {
  font-size: 28px;
  font-weight: bold;
  margin: 0.25em 0;
  text-align: left;
}

#fellow-01,
#fellow-02,
#fellow-03,
#fellow-04 {
  width: 100%;
  height: auto;
  margin-bottom: 1em;
}

#fellow-01 .container,
#fellow-02 .container,
#fellow-03 .container,
#fellow-04 .container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

#fellow-01 .container,
#fellow-02 .container,
#fellow-03 .container,
#fellow-04 .container {
  position: relative;
}

#fellow-01 .on-text {
  position: absolute;
  bottom: 3%;
  left: 3%;
  background-color: #fff;
  padding: 1.25em 1.25em 0.75em 1.25em;
}

#fellow-02 .on-text,
#fellow-04 .on-text {
  position: absolute;
  bottom: 3%;
  right: 3%;
  background-color: #fff;
  padding: 1em 1em 0.5em 1em;
}

#fellow-03 .on-text {
  position: absolute;
  top: 3%;
  left: 3%;
  background-color: #fff;
  padding: 1em 1em 0.5em 1em;
}

.on-text2 {
  width: 100%;
  border: 4px solid #005bac;
  background-color: #fff;
  padding: 1em 1em 0.5em 1em;
  margin-top: 3em;
}

.pos {
  font-size: clamp(14px, 1.5vw, 24px);
  font-weight: bold;
}
.pos-item {
  font-size: clamp(12px, 1.5vw, 18px);
}
.on-text2 .pos {
  font-size: clamp(20px, 1vw, 24px);
  font-weight: bold;
}
.on-text2 .pos-item {
  font-size: clamp(12px, 1vw, 18px);
}

.pos-item ul {
  margin: 0 0 0 -1.75em;
  line-height: 1em;
}
.pos-item li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 5px;
  line-height: 1.6;
  list-style: none;
}
.pos-item li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0.3em;
  transform: translateY(0);
  color: #005bac;
  font-size: 18px;
  line-height: 1;
}

/* タイムライン */
.time-line,
.time-line2,
.time-line3,
.time-line4 {
  max-width: 1400px;
  background-image: url(https://www.kyodosetsubi.jp/recruit/img/fellow/timeline-bg.png);
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: auto 100%;
  padding: 3em 0 5em 0;
}
.time-line .left-box,
.time-line2 .left-box,
.time-line3 .left-box,
.time-line4 .left-box {
  text-align: right;
}
.time-line .right-box,
.time-line2 .right-box,
.time-line3 .right-box,
.time-line4 .right-box {
  background-position: left top;
  background-repeat: no-repeat;
  background-size: auto;
  font-size: 18px;
}

.tl-text dl {
  position: relative;
}

/* タイムライン用の縦線 */
.tl-text dl::before {
  content: "";
  position: absolute;
  left: 0.45em;
  top: 0.5em;
  bottom: 3em;
  width: 1px;
  background-color: #004098;
}

.right-box .tl-text dt {
  color: #004098;
  margin-bottom: -0.25em;
}

.tl-text dt.item .dot {
  color: #004098;
  margin-right: 0.1em;
}

.tl-text dt.item .line {
  color: #b5b5b6;
  margin-right: 0.5em;
}

.tl-text dt.no-item {
  margin-left: 5em;
}

.right-box .tl-text dd {
  margin: 0 0 1.25em 5em;
}

@media (max-width: 512px) {
  .time-line,
  .time-line2,
  .time-line3,
  .time-line4 {
    max-width: 1400px;
    background-image: url(https://www.kyodosetsubi.jp/recruit/img/fellow/timeline-bg.png);
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 100% auto;
    padding: 3em 0 5em 0;
  }
  .time-line .left-box,
  .time-line2 .left-box,
  .time-line3 .left-box,
  .time-line4 .left-box {
    text-align: center;
    margin-top: -2em;
  }
  .time-line .left-box img,
  .time-line2 .left-box img,
  .time-line3 .left-box img,
  .time-line4 .left-box img {
    width: 65%;
    height: auto;
  }
  .time-line .right-box,
  .time-line2 .right-box,
  .time-line3 .right-box,
  .time-line4 .right-box {
    background-position: left top;
    background-repeat: no-repeat;
    background-size: auto 91%;
    margin: 0;
    padding: 0;
  }

  /* タイムライン用の縦線 */
  .tl-text dl::before {
    content: "";
    position: absolute;
    left: 0.45em;
    top: 0.5em;
    bottom: 2em;
    width: 1px;
    background-color: #004098;
  }

  .right-box .tl-text dd {
    margin: 0 0 1.525em 5em;
  }
}

.member-list {
  padding: 0 0 3em 0;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  font-size: 32px;
}
.member-list .other-txt {
  color: #004098;
  font-weight: 600;
}
.btn-other {
  display: inline-block;
  position: relative;
  text-decoration: none;
  padding: 5px 100px;
  border: 2px solid #333;
  border-radius: 50px;
  height: 60px;
  font-weight: bold;
  font-size: 18px;
  color: #000;
  box-sizing: border-box;
  text-align: center;
  overflow: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-other > div {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
}

.btn-other::after {
  content: ">";
  position: absolute;
  right: 10px; /* テキストからの間隔を調整 */
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #333;
  pointer-events: none;
}

@media (max-width: 768px) {
  .btn-other {
    display: inline-block;
    position: relative;
    text-decoration: none;
    padding: 5px 60px;
    border: 2px solid #333;
    border-radius: 50px;
    height: 50px;
    font-weight: bold;
    font-size: 16px;
    color: #000;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .btn-other > div {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
  }

  .btn-other::after {
    content: ">";
    position: absolute;
    right: 10px; /* テキストからの間隔を調整 */
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #333;
    pointer-events: none;
  }
}

.menber-list a {
  text-decoration: none;
  color: #005bac;
}

/* -------------------------------------------------- フッター（共通） */
.address {
  margin-top: 1.5rem;
  font-size: clamp(14px, 10vw, 24px);
}
/* デフォルト（768px 以上）: インライン・ブロックで幅を 1 文字分確保 */
.bp {
  display: inline-block;
  width: 1ch;
  height: 0; /* 空の要素なので高さは不要 */
  line-height: 0; /* 万一の余白防止 */
}
.bpp {
  display: inline-block;
  height: 0; /* 空の要素なので高さは不要 */
  line-height: 0; /* 万一の余白防止 */
}
.foot-bnr {
  margin-top: 3.5rem;
  display: flex; /* Flexbox 有効化 */
  justify-content: center; /* 子要素グループを横方向中央寄せ */
  gap: 2rem; /* 子要素間の余白（任意） */
}
.foot-bnr img {
  display: block; /* 余分な余白を消すため */
}

/* 768px 未満: ブロック要素にして改行のみ（幅は解除） */
@media (max-width: 767px) {
  .bp,
  .bpp {
    display: block;
    width: auto;
    height: 0;
    line-height: 0;
  }
}

@media (max-width: 1200px) {
  .rec {
    padding: 0 14px;
  }
}

@media (max-width: 1024px) {
  .header nav ul.nav {
    font-size: 14px;
  }
  .header nav ul.nav li a.nav-link {
    padding: 0 20px;
  }
}

@media (max-width: 850px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
    position: relative;
  }

  /* 新着情報 */
  .news-item {
    display: block;
    text-align: left;
    padding: 1.2em 0;
  }
  .news-date {
    display: block;
    padding-left: 0;
    padding-right: 0;
  }
  .news-title {
    padding-left: 0;
  }

  /* 背景スクロール禁止 */
  body.no-scroll {
    overflow: hidden;
    height: 100%;
  }

  /* ハンバーガー */
  .hamburger {
    display: block;
    position: fixed;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1000;
  }
  .hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: #000;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s;
  }
  .hamburger span:nth-child(1) {
    top: 8px;
  }
  .hamburger span:nth-child(2) {
    top: 18px;
  }
  .hamburger span:nth-child(3) {
    top: 28px;
  }
  .hamburger.active span:nth-child(1) {
    transform: translateX(-50%) rotate(-45deg);
    top: 18px;
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateX(-50%) rotate(45deg);
    top: 18px;
  }

  /* SPメニュー */
  .globalMenuSp {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #005bac;
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
    z-index: 998;
    overflow-y: auto;
  }
  .globalMenuSp.active {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.3s ease;
  }

  .toggle-submenu {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
  }

  .sp-t {
    color: #bfc0c0;
    font-size: clamp(12px, 30vw, 16px);
    padding: 5em 2em 1em 2em;
    font-weight: 800;
    border-bottom: 1px solid #89a3d4;
  }
  /* メニューリスト */
  .menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .menu-list .item {
    border-bottom: 1px solid #89a3d4;
  }

  /* 見出し部分 */
  .menu-title,
  .menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1em 2em;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
  }
  .menu-link .arrow {
    margin-left: auto;
  }

  /* サブメニュー */
  .submenu {
    background-color: #00428b;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .submenu li {
    padding: 0 1em;
    margin-left: -1em;
    list-style: none;
  }

  .submenu li a {
    display: block;
    list-style: none;
    padding: 0.75em 1.5em 0.75em 0;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
  }
  .item.open > .submenu {
    max-height: 500px;
  }
  .bnr-area {
    display: block;
    margin-top: 2em;
  }
  .bnr-link1,
  .bnr-link2,
  .bnr-link3 {
    width: 80%;
    margin: 1.5em auto;
    padding: 1.25em 0;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
  }
  .bnr-area a,
  .spm-foot a {
    text-decoration: none;
  }
  .bnr-link1 {
    background-color: #f6ab00;
    color: #fff;
  }
  .bnr-link2 {
    background-color: #fff;
    color: #004ea2;
  }
  .bnr-link3 {
    background-color: #005bac;
    color: #fff;
    border: 2px solid #fff;
  }
  .spm-foot {
    margin-top: 3em;
    color: #fff;
    text-align: center;
  }
  .spm-foot a {
    color: #fff;
  }
  .spm-foot .copyright {
    margin-top: 1em;
  }

  /* テーブル（dec-t01）*/
  .dec-t01 {
    width: 100%;
  }

  .dec-t01 th,
  .dec-t01 td {
    display: block;
    padding: 1em 1em;
    width: 100%;
  }

  .dec-t01 th {
    text-align: left;
  }

  /* テーブル（dec-t01nc）*/
  .dec-t01nc th,
  .dec-t01nc td {
    display: block;
    width: 100%;
    padding: 1em;
  }
  .dec-t01nc th {
    text-align: left;
  }
  .dec-t01nc td {
    padding-left: 3em;
  }
  .dec-t01nc td::before {
    padding-left: 2em;
  }
  .photo-block .second {
    margin-top: 0;
  }
  .photo-block img {
    margin: 1em 0;
  }

  .heading-img {
    bottom: -67%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: auto;
    height: auto;
    width: 90%;
  }
  .content-wrap {
    gap: 0;
  }
  .text-wrap {
    margin-left: -20px;
  }
  .h4-icon {
    width: 65%;
    height: auto;
    display: block;
    margin-bottom: 0.75em;
  }
  .main-txt {
    font-size: clamp(18px, 5vw, 26px);
  }

  .sub-txt {
    font-size: clamp(18px, 5vw, 22px);
  }
}

@media (max-width: 768px) {
  html,
  body {
    padding-top: 0;
  }
  .header .site-logo {
    width: 60%;
    height: auto;
  }
  .heading-block {
    margin-top: 6em;
  }
  .sub-title {
    font-size: 18px;
    font-weight: 800;
    color: #a9a9aa;
    text-align: center;
    margin-top: -1.5em;
  }
  #mind-box .inner-box,
  #deve-box .inner-box {
    margin-top: 0;
  }
  #work-box .box,
  #proccess-box .con-box,
  #mind-box .box,
  #fellow-box,
  #deve-box .box {
    margin-bottom: 2em;
  }
  /* TOGETHER-SP */
  #together-sp {
    margin-top: 75px;
  }
  #fellow-box .row {
    padding: 0 3em;
  }
  #fellow-box img {
    margin-top: 2.5em;
  }
  #member-box h2 {
    color: #fff;
    padding: 0.25em 0;
    font-size: clamp(14px, 11.2vw, 168px);
    font-weight: 900;
  }
}

@media (max-width: 576px) {
  body {
    font-family: "kozuka-gothic-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    font-size: 16px;
  }
  .heading-block {
    padding-top: 20px;
    margin-top: 20px;
  }
  #information h2,
  .heading-block h2 {
    font-size: 26px;
    margin-bottom: 30px;
  }
  #mind-box h3,
  #mind-box .sub-txt {
    font-size: 30px;
    font-weight: bold;
  }
  #work-box .btn {
    text-align: center;
  }
  /* .btn.nb 内のリンク下線を消す */
  .btn.nb a {
    border-bottom: none !important;
  }

  #fellow-box .row {
    padding: 0 1em;
  }
  #fellow-box img {
    margin-top: 2.5em;
  }

  #proccess-box img.sp50 {
    width: 75%;
    height: auto;
  }

  .mt-150 {
    margin-top: 50px;
  }

  .loop_wrap {
    display: flex;
    width: 1820px;
    height: 154px;
    overflow: hidden;
    margin: 3em 0;
  }

  .loop_wrap img {
    width: 1820px;
    height: 154px;
  }

  #werflare-box .chara {
    width: 15%;
    height: auto;
    margin-left: 0.25em;
  }
  .hukidashi03 {
    width: 150%;
    height: auto;
  }

  #footer .tel {
    margin-left: 0;
  }
  #footer img {
    width: 80%;
    height: auto;
  }

  /* ホバー時に出したくない場合は hover も同様に */
  .btn.nb a:hover {
    border-bottom: none !important;
  }

  /* 下層ページ */
  #sub-page h3 {
    font-size: 26px;
    margin-bottom: 30px;
  }
  #sub-page {
    margin: 0 auto;
    font-size: 16px;
    line-height: 2.1em;
  }
  .bp {
    display: block;
    height: 0;
  }
  .mt-10 {
    padding-top: 1em;
  }
  .fot-logo img,
  .fot-insta img {
    margin-left: 0;
    margin-right: 0;
  }
  #member-box h2 {
    color: #fff;
    font-weight: 900;
    font-size: clamp(14px, 11vw, 168px);
  }
}

/*------------------------------------------*/
/* 追加
/*------------------------------------------*/

#proccess-box h2 {
  color: #9ccdf8;
}

#werflare-box .w-box {
  border: 0;
}

/* slider --------------------------------*/
.top-slider {
  overflow: hidden;
  width: 100%;
  height: auto;
  margin: 5em 0;
}

.slider-track {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.slider-track img {
  height: auto;
  width: 100%;
  max-width: 300px;
  object-fit: cover;
}

@media screen and (min-width: 767px) {
  .slider-track img {
    max-width: 360px;
  }
}

@media screen and (min-width: 834px) {
  .slider-track img {
    max-width: 500px;
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/*------------------------------------------*/
/* 採用の流れ
/*------------------------------------------*/
/* RECRUIT */
#recruit {
  padding: 30px 0 4em 0;
}

#recruit div:nth-child(1) {
  color: #004ea2;
  font-weight: 900;
  line-height: 1em;
  font-size: clamp(50px, 15vw, 190px);
}
#recruit div:nth-child(2) {
  font-size: clamp(16px, 2vw, 26px);
  margin-left: 0.5em;
  margin-bottom: 0.35em;
  color: #231815;
  font-weight: 500;
}
#recruit div {
  opacity: 0;
  transform: translateX(-100px);
  transform-origin: top left;
  /* レイアウトのジャンプを防ぐ */
  transition: transform 1s ease-out, opacity 1s ease-out;
}
#recruit div:nth-child(1) {
  transition-delay: 0s;
}
#recruit div:nth-child(2) {
  transition-delay: 0.5s;
}
#recruit div.in-view {
  opacity: 1;
  transform: translateX(0);
}
/* RECRUIT-SP */
#recruit-sp {
  margin-top: 75px;
  padding-bottom: 30px;
  position: relative;
}
#recruit-sp .ac01 img {
  display: block;
  width: 100%;
  height: auto;
  padding-bottom: 2em;
}
/* ↓↓↓ 統合＆左端揃え ↓↓↓ */
#recruit-sp .text-overlay {
  position: absolute;
  bottom: 95px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 左端揃え */
  padding-left: 1.5em; /* 左余白（調整可） */
  pointer-events: none;
}
#recruit-sp .text-overlay .text-item {
  opacity: 0;
  transform: translateX(-100px);
  transition: transform 1s ease-out, opacity 1s ease-out;
  margin-bottom: 10px;
}
#recruit-sp .text-overlay .text-item.in-view {
  opacity: 1;
  transform: translateX(0);
}
#recruit-sp .text-overlay .catch {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  padding-left: 0.5em; /* 左余白リセット */
}
#recruit-sp .text-overlay .item2 {
  color: #004ea2;
  font-weight: bold;
  line-height: 1;
  font-size: 18vw;
  white-space: nowrap;
}

#process-box1 {
  margin-top: 0px;
  padding: 0 0 7em 0;
  background-color: #005bac;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#process-box1 {
  margin-top: 0px;
  padding: 0 0 7em 0;
  background-color: #005bac;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
@media (max-width: 768px) {
  #process-box1 {
    padding-bottom: 3.5em;
  }
}

#process-box1 .container {
  position: relative;
  color: #fff;
}
#process-box1 h2,
#process-box3 h2,
#process-box4 h2 {
  font-size: clamp(30px, 11.5vw, 140px);
  color: hsla(0, 0%, 100%, 0.6);
  font-weight: 900;
  margin-bottom: -0.75em;
}
#process-box1 h3,
#process-box3 h3,
#process-box4 h3 {
  text-align: center;
  padding: 25px 0 0 0px;
  text-align: center;
  font-size: clamp(20px, 2.5vw, 40px);
  font-weight: bold;
  margin: 2em auto;
}
#process-box1 h4 {
  padding: 10px 0 0 0;
  text-align: center;
  font-size: clamp(20px, 2.5vw, 40px);
  color: #fff;
  font-weight: bold;
  margin: 1em auto;
}
#process-box1 h3.read-txt {
  font-size: clamp(24px, 2.5vw, 42px);
  color: #fff;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1em;
}
#process-box1 .container .hukidashi01 {
  position: absolute;
  top: 180px;
  right: 5%;
  width: 27%;
  height: auto;
}
#process-box1 .container,
#process-qa .container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

#process-box1 .con-box {
  width: 80%;
  height: auto;
  margin: 0 auto;
  padding: 1.5em 10%;
  background-color: #fff;
  border: 4px solid #005bac;
  border-radius: 20px 20px;
  color: #005bac;
  font-size: clamp(16px, 2vw, 27px);
  font-weight: bold;
  position: relative;
}

#process-box1 .con-box strong,
#process-box1 .con-box u {
  display: inline;
  white-space: normal;
}

#process-box1 .con-box img.con-box-img {
  position: absolute;
  top: -120px;
  right: -75px;
  width: 176px;
  height: auto;
}

.con-box p {
  margin-bottom: 0;
}

@media screen and (max-width: 1000px), print {
  #process-box1 .con-box {
    padding: 1em 80px;
  }
  #process-box1 .con-box img.con-box-img {
    position: absolute;
    top: -100px;
    right: -25px;
    width: 100px;
    height: auto;
  }
}

@media screen and (max-width: 800px), print {
  #process-box1 .con-box {
    padding: 1em 1.5em;
  }
  #process-box1 .con-box br {
    display: none;
  }
  #process-box1 .con-box img.con-box-img {
    position: absolute;
    top: -100px;
    right: -50px;
    width: 100px;
    height: auto;
  }
}
@media screen and (max-width: 576px), print {
  #process-box1 .con-box {
    padding: 1em 1em;
  }
  #process-box1 .con-box img.con-box-img {
    position: absolute;
    top: -75px;
    right: -40px;
    width: 75px;
    height: auto;
  }
}

#process-box1 .d-arrow {
  max-width: 100%;
  height: auto;
  text-align: center;
  margin: 1.5em auto;
}
.process-box1 .sub-text {
  margin: 0 0;
  text-align: center;
}
.list-box {
  background-color: #005bac;
  color: #fff;
  padding: 2em 0;
  border-radius: 20px 20px;
  margin: 0.5em 0;
  text-align: center;
  font-weight: bold;
  font-size: clamp(16px, 1.8vw, 28px);
}
#list a {
  text-decoration: none;
}

@media (max-width: 1400px) {
  #proccess-box .container .hukidashi01 {
    top: 200px;
    right: 5%;
    width: 25%;
    height: auto;
  }
  #evaluation-box .container .hukidashi02 {
    top: 120px;
    right: 5%;
    width: 25%;
    height: auto;
  }

  #werflare-box .container .hukidashi03 {
    top: 70px;
    right: 5%;
    width: 25%;
    height: auto;
  }
}

@media (max-width: 1200px) {
  #proccess-box .read-txt,
  #werflare-box .read-txt {
    margin-top: 20rem;
  }
  #evaluation-box h3 {
    margin-top: 20rem;
  }
  #proccess-box .container .hukidashi01,
  #evaluation-box .container .hukidashi02,
  #werflare-box .container .hukidashi03 {
    top: 9rem;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    height: auto;
  }
}

@media (max-width: 768px) {
  #proccess-box .read-txt,
  #werflare-box .read-txt {
    margin-top: 10rem;
  }
  #evaluation-box h3 {
    margin-top: 10rem;
  }
  #proccess-box .container .hukidashi01,
  #evaluation-box .container .hukidashi02,
  #werflare-box .container .hukidashi03 {
    top: 3.5rem;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    height: auto;
  }
}

/* process-box2 */
#process-box2 {
  display: flex;
  font-weight: 500;
  font-size: clamp(16px, 2vw, 24px);
  color: #231815;
  justify-content: center; /* 横方向中央 */
  align-items: center; /* 縦方向中央 */
  max-height: 800px; /* 高さ指定 */
  text-align: center;
  background-image: url(https://www.kyodosetsubi.jp/recruit/img/process/pb2-bg.png);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
}
#process-box2 .container {
  max-width: 100%; /* レスポンシブ対応（任意） */
  padding: 15% 0;
}
#process-box2 h3 {
  color: #005bac;
  margin-top: 2em;
  font-weight: 600;
  font-size: clamp(20px, 3vw, 49px);
}
/* リンク全体をボタン化 */
#process-box2 .rl-box {
  display: inline-block;
  position: relative;
  text-decoration: none;
}
/* ボタン本体 */
#process-box2 .rl-box .rl-content {
  width: 490px;
  white-space: nowrap;
  padding: 0.5em 0;
  text-align: center;
  line-height: 1.25em;
  background-color: #005bac;
  color: #fff;
  font-weight: 600;
  font-size: 38px;
  border: 2px solid #005bac;
  border-radius: 19px;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}
/* ホバー時：背景を白に、文字・枠線を#005bacに */
#process-box2 .rl-box:hover .rl-content {
  background-color: #fff;
  color: #005bac; /* ホバー時文字色 */
  border-color: #005bac; /* ホバー時枠線色 */
}
/* 右端の「＞」を疑似要素で追加 */
#process-box2 .rl-box::after {
  content: ">";
  font-weight: 600;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: #fff; /* 通常時は白 */
  pointer-events: none;
  transition: color 0.2s ease; /* 矢印色もスムーズに */
}
/* ホバー時の矢印色切替 */
#process-box2 .rl-box:hover::after {
  color: #005bac; /* ホバー時はリンク色に */
}
@media (max-width: 768px) {
  #process-box2 .rl-box .rl-content {
    padding: 0.75em 2em;
    display: block;
    font-size: 24px;
  }
  #process-box2 .rl-box .rl-content {
    width: 100%;
    margin: 0 auto;
  }
}

/* process-box3 */
#process-box3 {
  background-color: #f6ab00;
  padding-bottom: 10em;
  font-size: 21px;
}
@media (max-width: 768px) {
  #process-box3 {
    padding-bottom: 2em;
  }
}
#process-box3 h3.read-txt {
  font-size: clamp(24px, 2.5vw, 42px);
  color: #000;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1em;
}
#process-box3 .faq-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: -0;
}
/* 各 Q&A アイテムの最大幅＆中央寄せ */
#process-box3 .faq-item {
  width: 100%;
  max-width: 900px;
}
/* 質問ボタン自体も中央揃え */
#process-box3 .faq-question {
  margin: 0 auto;
}
#process-box3 .faq-question::after {
  content: "▶";
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #005bac;
  transition: transform 0.2s ease, content 0.2s ease;
}
/* 開いたとき .active が付く想定 */
#process-box3 .faq-question.active::after {
  content: "▼";
  transform: translateY(-50%); /* 回転は不要 */
}
/* Qボタン（質問部分） */
.faq-question {
  position: relative;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 1.25em 3em;
  background-color: #fff;
  border: none;
  border-radius: 11px;
  text-align: left;
  cursor: pointer;
  outline: none;
  font-weight: 500;
  color: #231815;
}
/* ▶疑似要素 */
.faq-question::after {
  content: "▶";
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #005bac;
  font-size: 33px;
  transition: transform 0.2s ease;
}
/* Q開閉時に矢印を回転 */
.faq-question.active::after {
  transform: translateY(-50%) rotate(90deg);
}
/* Aパネル（回答部分） */
.faq-answer {
  max-width: 900px;
  margin: 1em auto;
  overflow: hidden;
  max-height: 0; /* 初期は非表示 */
  transition: max-height 0.3s ease;
  font-size: 21px;
  color: #000; /* 黒文字 */
  padding: 0 3em; /* 横パディングのみ確保 */
  line-height: 1.6;
  box-sizing: border-box;
  font-weight: 500;
}
@media (max-width: 768px) {
  #process-box3 .faq-wrapper {
    width: 85%;
    margin: 0 auto;
  }
  .faq-question {
    width: 100%;
    margin: 0 auto;
    font-size: 17px;
    padding: 1.25em 2.9em 1.25em 1.5em;
  }
  .faq-question::after {
    font-size: 24px;
  }
  .faq-answer {
    width: 100%;
    margin: 1em 1em;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    font-size: 17px;
    color: #000;
    padding: 0 0;
    line-height: 1.6;
    box-sizing: border-box;
  }
}

/* process-box4 */
#process-box4 {
  padding-bottom: 3em;
}
#process-box4 h2 {
  font-size: clamp(30px, 11.5vw, 140px);
  color: #ffe55f;
  font-weight: 900;
  margin-bottom: -0.75em;
}
#process-box4 h3.read-txt {
  font-size: clamp(24px, 2.5vw, 42px);
  color: #000;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1em;
}
/*お問合せテーブル  */
#process-box4 .contact-t {
  margin-top: 5em;
  max-width: 1400px;
}
#process-box4 .contact-t table {
  font-size: clamp(16px, 2vw, 21px);
  width: 100%;
  border-collapse: collapse; /* セル間の余白をなくす場合 */
}
#process-box4 .contact-t tr {
  border-bottom: 3px solid #fff;
}
#process-box4 .contact-t th {
  background-color: #005bac;
  text-align: center;
  padding: 0.5em 1em;
  width: 365px;
  white-space: nowrap;
  color: #fff;
  font-weight: 400;
}
#process-box4 .contact-t .in-field {
  font-weight: 400;
  width: 100%;
  margin: 3px 0 3px 5px;
  box-sizing: border-box;
  padding: 0.5em;
  display: block;
}
/* リンク全体をボタン化 */
#process-box4 .rl-box {
  display: inline-block;
  position: relative;
  text-decoration: none;
}
#process-box4 .rl-box {
  margin-top: 5em;
  text-align: center;
}
#process-box4 .con-btn2 {
  text-align: center;
}
#process-box4 .rl-box .rl-content {
  width: 333px;
  white-space: nowrap;
  padding: 0.5em 0;
  text-align: center;
  background-color: #005bac;
  color: #fff;
  font-weight: 600;
  font-size: 38px;
  border: 2px solid #005bac;
  border-radius: 19px;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}
/* ホバー時：背景を白に、文字・枠線を#005bacに */
#process-box4 .rl-box:hover .rl-content {
  background-color: #fff;
  color: #005bac; /* ホバー時文字色 */
  border-color: #005bac; /* ホバー時枠線色 */
}
@media (max-width: 768px) {
  #process-box4 h3 {
    margin-top: 2.25em;
  }
  #process-box4 .contact-t table {
    width: 95%;
    margin: 0 auto;
  }
  #process-box4 .contact-t tr {
    border-bottom: none;
  }
  #process-box4 .contact-t th,
  #process-box4 .contact-t td {
    margin: 0;
    width: 100%;
    display: block;
    text-align: left;
  }
  #process-box4 .contact-t .in-field {
    margin: 0;
  }
  #process-box4 .rl-box .rl-content {
    padding: 0.75em 2em;
    display: block;
    font-size: 24px;
  }
  #process-box4 .rl-box .rl-content {
    width: 100%;
    margin: 0 auto;
  }
}

/*------------------------------------------*/
/* エントリー
/*------------------------------------------*/
/* entry */
#entry {
  padding: 30px 0 4em 0;
}
#entry div:nth-child(1) {
  color: #004ea2;
  font-weight: 900;
  line-height: 1em;
  font-size: clamp(50px, 15vw, 190px);
}
#entry div:nth-child(2) {
  font-size: clamp(16px, 2vw, 26px);
  margin-left: 0.5em;
  margin-bottom: 0.35em;
  color: #231815;
  font-weight: 500;
}
#entry div {
  opacity: 0;
  transform: translateX(-100px);
  transform-origin: top left;
  /* レイアウトのジャンプを防ぐ */
  transition: transform 1s ease-out, opacity 1s ease-out;
}
#entry div:nth-child(1) {
  transition-delay: 0s;
}
#entry div:nth-child(2) {
  transition-delay: 0.5s;
}
#entry div.in-view {
  opacity: 1;
  transform: translateX(0);
}
/* entry-SP */
#entry-sp {
  margin-top: 75px;
  padding-bottom: 30px;
  position: relative;
}
#entry-sp .ac01 img {
  display: block;
  width: 100%;
  height: auto;
  padding-bottom: 2em;
}
/* ↓↓↓ ここを統合・左揃え調整 ↓↓↓ */
#entry-sp .text-overlay {
  position: absolute;
  bottom: 50px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 左揃え */
  padding-left: 1.5em; /* 適宜調整、左余白 */
  pointer-events: none;
}
#entry-sp .text-overlay .text-item {
  opacity: 0;
  transform: translateX(-100px);
  transition: transform 1s ease-out, opacity 1s ease-out;
  margin-bottom: 10px;
}
#entry-sp .text-overlay .text-item.in-view {
  opacity: 1;
  transform: translateX(0);
}
#entry-sp .text-overlay .catch {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  padding-left: 0.5em;
}
#entry-sp .text-overlay .item2 {
  color: #004ea2;
  font-weight: bold;
  line-height: 1;
  font-size: 18vw;
  white-space: nowrap;
}

#entry-box {
  margin-top: 0px;
  padding: 0 0 10em 0;
  background-image: url(https://www.kyodosetsubi.jp/recruit/img/entry/eb-bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
#entry-box .container {
  position: relative;
  color: #fff;
}
#entry-box h2 {
  font-size: clamp(30px, 11.5vw, 140px);
  color: hsla(0, 0%, 100%, 0.6);
  font-weight: 900;
  margin-bottom: -0.75em;
}

/* ボタン本体 */
#entry-box .list-title {
  text-align: center;
  margin-top: 7.5em;
}
#entry-box .list-title h3 {
  display: block;
  width: 400px;
  margin: 0 auto;
  padding: 0.5em 0.5em;
  background-color: #005bac;
  color: #fff;
  font-weight: 600;
  font-size: clamp(20px, 2.5vw, 28px);
  border: 2px solid #005bac;
  border-radius: 19px;
}
#entry-box .read-txt {
  width: 80%;
  margin: 2em auto 3.5em auto;
  font-size: 24px;
  text-align: center;
  font-weight: 600;
}

/* 1) inner-box の幅とグリッド設定 */
#entry-box .inner-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列 */
  column-gap: 25px; /* 列間 25px */
  row-gap: 2em; /* 行間 任意 */
  max-width: 1130px; /* 最大幅 1130px */
  margin: 3em auto 0; /* 上マージン＋左右中央寄せ */
  /* justify-items: stretch; デフォルトなので省略可 */
}

/* 2) アイテムの幅をセルいっぱいに */
#entry-box .inner-box a > div {
  width: 100%; /* 各セル幅いっぱい */
  /* もし max-width:550px が残っている場合は以下で上書き */
  max-width: none;
}

/* 既存のスタイル（例）*/
#entry-box .inner-box a {
  display: block;
  text-decoration: none;
  font-size: clamp(16px, 2vw, 28px);
  font-weight: 700;
}
#entry-box .inner-box a > div {
  background-color: #fff;
  border-radius: 15px;
  padding: 1.5em 1em;
  color: #005bac;
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
}
#entry-box .inner-box a:hover > div {
  background-color: #005bac;
  color: #fff;
}

.confirmation {
  margin: 3em auto;
  line-height: 2.5em;
  text-align: center;
}
.confirmation .tit {
  margin-bottom: 1em;
}

@media (max-width: 768px) {
  #entry-box {
    padding: 0 0 5em 0;
  }
  #entry-box .list-title h3 {
    width: 92%;
    margin: 0 auto;
  }
  #entry-box .read-txt {
    width: 95%;
    margin: 2em auto;
    font-weight: 600;
    font-size: clamp(16px, 1.75vw, 28px);
  }
}
/* レスポンシブ：576px 以下は1列に */
@media (max-width: 576px) {
  #entry-box .inner-box {
    grid-template-columns: 1fr; /* 1列 */
    gap: 1.5em; /* 行間・列間をまとめて指定 */
    padding: 0 1em; /* 両端に少し余白（任意） */
  }
}

#entry-box2 {
  background-color: #005bac;
  padding: 2em 0 5em 0;
}
#entry-box2 .inner-box {
  display: flex;
  align-items: center;
  justify-content: center;
}
#entry-box2 .read-txt {
  width: 100%;
  color: #fff;
  margin: 2em auto 3.5em auto;
  font-size: 24px;
  text-align: center;
}
#entry-box2 .left-item {
  margin-top: -6em;
  text-align: center;
  color: #fff;
}
#entry-box2 .tel-no {
  margin-top: 0.5em;
  font-size: clamp(26px, 4vw, 52px);
  white-space: nowrap;
  font-weight: 800;
  color: #fff;
  line-height: 1em;
}
#entry-box2 .time-txt {
  font-size: clamp(12px, 4vw, 24px);
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
}

/* 親リンクを相対配置にしておく */
#entry-box2 .contact-bnr {
  position: relative;
  display: inline-block; /* 幅を中身に合わせる */
}

/* 下の通常画像はそのまま */
#entry-box2 .contact-bnr img {
  display: block;
}

/* ホバー用画像を ::after で重ねる */
#entry-box2 .contact-bnr::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://www.kyodosetsubi.jp/recruit/img/entry/bnr-contact-o.png")
    no-repeat center center;
  background-size: contain;
  opacity: 0; /* 初期は透明 */
  transition: opacity 0.5s ease-in-out; /* フェード時間を0.5秒に */
}

/* ホバーで徐々に不透明化 */
#entry-box2 .contact-bnr:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  #entry-box2 .inner-box img {
    margin-right: 0;
  }
  #entry-box2 .read-txt {
    font-size: 16px;
  }
  #entry-box2 .inner-box {
    margin-top: -5em;
    flex-direction: column; /* 縦並びに切り替え */
    text-align: center; /* 中央寄せ（任意） */
  }

  /* 左アイテムの左右マージンをリセット */
  #entry-box2 .inner-box > .left-item {
    margin: 0;
  }
  #entry-box2 .tel-no {
    font-size: 8vw;
    margin-top: 0;
  }

  /* 画像側マージンを上下マージンに */
  #entry-box2 .inner-box > div:last-child {
    margin: 2.5em 0 0;
  }
}

/*------------------------------------------*/
/* 募集要項
/*------------------------------------------*/
/*  head-title  */
#head-title {
  background-color: #005bac;
  padding: 38px 0;
  display: flex; /* 横並び */
  justify-content: center; /* 横方向の中央揃え */
  align-items: center; /* 高さ中央揃え */
  gap: 40px; /* 両要素の間隔（お好みで） */
  text-align: left; /* h2やsub-titleの左揃え */
}
@media (max-width: 768px) {
  #head-title {
    margin-top: 75px;
  }
}
#head-title .catch-img img {
  aspect-ratio: auto; /* 画像の自然な比率を使用（デフォルト） */
  width: 15vw; /* 横幅で拡大縮小 */
  height: auto; /* 縦横比維持のために必須 */
  min-height: 150px;
  max-height: 220px; /* 縦が220pxを超えないよう制限 */
  display: block;
  object-fit: contain; /* 念のため、画像が変形しないように */
}
#head-title .page-title {
  text-align: center;
  color: #fff;
}
#head-title .page-title h2 {
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 600;
  margin: 0;
}
#head-title .sub-title {
  font-size: clamp(20px, 4vw, 27px);
  margin-top: 0em;
  color: #bfc0c0;
}
#rm-box {
  margin: 5em 0;
}
#rm-box .rm-table {
  max-width: 1200px;
  margin: 0 auto;
}
#rm-box .rm-table th {
  width: 366px;
  background-color: #00a9e4;
  color: #fff;
  padding: 2.25em 0.5em;
  text-align: center;
  vertical-align: middle;
  border-top: 25px #fff solid;
  border-bottom: 25px #fff solid;
  border-right: 20px #fff solid;
  font-size: 21px;
}
#rm-box .rm-table td {
  background-color: #fff;
  color: #231815;
  border-bottom: 2px solid #9fa0a0;
  padding: 0 0.5em;
  font-size: 16px;
}
#rm-box .rm-table tr:first-child td {
  border-top: 2px solid #9fa0a0;
}

/* フォーム */
#rm-form {
  margin: 10em 0 5em 0;
}
#rm-form .inner {
  max-width: 1200px;
  margin: 0 auto;
}
#rm-form .inner h3 {
  text-align: center;
  text-align: center;
  font-size: clamp(24px, 2.5vw, 42px);
  font-weight: 600;
  margin: 2em auto;
}
#rm-form .inner .t-red {
  color: #ff0000;
}
#rm-form .rmf-table {
  width: 100%;
  border-collapse: collapse;
}
#rm-form .rmf-table th,
#rm-form .rmf-table td {
  min-height: 1em; /* 高さを統一する基準値 */
  height: 100%;
}
#rm-form .rmf-table th {
  height: 50px; /* 固定高さ */
  line-height: 1;
  vertical-align: middle;
  width: 366px;
  font-weight: 400;
  background-color: #005bac;
  color: #fff;
  padding: 0 0.5em;
  text-align: center;
  vertical-align: middle;
  border-top: 3px #fff solid;
  border-bottom: 3px #fff solid;
  font-size: 21px;
}
#rm-form .rmf-table td {
  height: 50px; /* th と同じ高さ */
  vertical-align: middle;
  padding: 0.3em; /* 高さ計算のノイズを除く */
}
#rm-form .birth-select-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
#rm-form .birth-select-row .birth-select {
  width: auto;
  min-width: 70px;
}
#rm-form .rmf-table td input,
#rm-form .rmf-table td select {
  width: 100%;
  height: 4em; /* 揃える */
  display: block;
  box-sizing: border-box;
  padding: 0 0.5em;
  border: 1px solid #999;
  font-size: 1em;
}
#rm-form .rmf-table td textarea {
  width: 100%;
  height: 12em; /* 揃える */
  display: block;
  box-sizing: border-box;
  padding: 0 0.5em;
  border: 1px solid #999;
  font-size: 1em;
}
/* リンク全体をボタン化 */
#rm-form .rl-box {
  display: inline-block;
  position: relative;
  text-decoration: none;
}
#rm-form .rl-box {
  margin-top: 5em;
  text-align: center;
}
#rm-form .con-btn2 {
  text-align: center; /* ボタン中央寄せ */
  margin-top: 2em;
}

#rm-form .con-btn2 input[type="submit"] {
  width: 333px;
  white-space: nowrap;
  padding: 0.75em 0;
  text-align: center;
  background-color: #005bac;
  color: #fff;
  font-weight: 500;
  font-size: 38px;
  border: 2px solid #005bac;
  border-radius: 19px;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}
#rm-form .con-btn2 input[type="submit"]:hover {
  background-color: #fff;
  color: #005bac; /* ホバー時文字色 */
  border-color: #005bac; /* ホバー時枠線色 */
}

.con-btn2 input[type="submit"]:hover,
.con-btn2 input[type="submit"]:focus {
  background: #004e9e;
  box-shadow: 0 4px 16px #005bac44;
  outline: none;
}
/* 通常時のボタン本体 */
#rm-form .rl-content,
#rm-form input[type="submit"].rl-content,
#rm-form button.rl-content,
#rm-form .wpcf7-submit.rl-content {
  width: 333px;
  white-space: nowrap;
  padding: 0.75em 0;
  text-align: center;
  background-color: #005bac;
  color: #fff;
  font-weight: 500;
  font-size: 38px;
  border: 2px solid #005bac;
  border-radius: 19px;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
  display: block; /* ボタンを中央揃えしたい場合、margin:0 auto;も推奨 */
  margin: 32px auto 0 auto; /* お好みで調整 */
  cursor: pointer;
}

/* ホバー時 */
#rm-form .rl-content:hover,
#rm-form input[type="submit"].rl-content:hover,
#rm-form button.rl-content:hover,
#rm-form .wpcf7-submit.rl-content:hover {
  background-color: #fff;
  color: #005bac;
  border-color: #005bac;
}

@media (max-width: 768px) {
  #rm-box .rm-table th,
  #rm-box .rm-table td {
    display: block;
    width: 95%;
    margin: 0 auto;
  }
  #rm-box .rm-table th {
    border: none;
    padding: 0.75em 1em;
    text-align: left;
    font-size: 18px;
  }
  #rm-box .rm-table td {
    padding: 0.25em 0.5em 0.5em 0.5em;
    border: 2px solid #fff;
    margin-bottom: 1.25em;
  }
  #rm-box .rm-table tr:first-child td {
    border: 2px solid #fff;
  }

  #rm-form {
    margin: 3em 0 3em 0;
  }
  #rm-form .rmf-table th {
    font-size: 16px;
    text-align: left;
    padding: 0.75em 1em 0.75em 1em;
    border: none;
  }
  #rm-form .rmf-table td {
    padding: 0;
  }
  #rm-form .rmf-table th,
  #rm-form .rmf-table td {
    display: block; /* 横並びを解除して縦並びに */
    width: 100%; /* ブロック幅いっぱいに */
    height: auto !important; /* 高さ固定を解除 */
    min-height: unset;
  }
  #rm-form .rmf-table td input {
    height: 100% !important; /* input/selectの高さも解除 */
    padding: 0.5em 1em;
  }
  #rm-form .rmf-table td select {
    height: 100% !important;
    padding: 0.5em 1em;
    line-height: 1.7; /* もしくは input に合わせて 1.2〜1.6 あたりで調整 */
    appearance: none; /* （任意）Safari/Chromeでの装飾を統一したい場合 */
  }
  #rm-form .rmf-table td textarea {
    height: auto !important; /* textareaも高さ解除 */
  }
  #rm-form .rl-box .rl-content {
    padding: 0.75em 2em;
    display: block;
    font-size: 24px;
  }
  #rm-form .rl-box .rl-content {
    width: 100%;
    margin: 0 auto;
  }
  /* 通常時のボタン本体 */
  #rm-form .rl-content,
  #rm-form input[type="submit"].rl-content,
  #rm-form button.rl-content,
  #rm-form .wpcf7-submit.rl-content {
    white-space: nowrap;
    width: 50%;
    padding: 0.5em 0.25em;
    text-align: center;
    background-color: #005bac;
    color: #fff;
    font-weight: 500;
    font-size: 24px;
    border: 2px solid #005bac;
    border-radius: 19px;
    transition: background-color 0.2s ease, color 0.2s ease,
      border-color 0.2s ease;
    display: block; /* ボタンを中央揃えしたい場合、margin:0 auto;も推奨 */
    margin: 32px auto 0 auto; /* お好みで調整 */
    cursor: pointer;
  }
}
