* {
  box-sizing: border-box;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #fff;
  overflow-x: hidden; 
  background-color: #fff;      
}

.container {
  max-width: 768px;
  margin: 0 auto;
  width: 100%;
 /* 影をここで追加 */
 background-color: #fff; /* 影の見えやすさのため背景色指定 */
 box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

}

/* 調整用スタイル */


html {
  font-size: 100%;
  overflow-x: hidden;
}
a {
  text-decoration: none;
}

ul,
li {
  list-style: none;
}


.footer {
  background-color: #f6f6f6;
  height: 200px;
  display: flex;
}

.footer div {
  margin: auto;
}
#hero {
  scroll-margin-top: 64px; /* 例: ヘッダーが64pxの場合 */
}





/* 固定ヘッダー */

/* 全体コンテナ中央寄せ */
.container {
  max-width: 768px;
  margin-inline: auto;
  width: 100%;
}



header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  z-index: 999;
  width: 100%;
  max-width: 768px;
}

/* スケーラブルラッパー */
.header_button_wrapper{
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 768px;
  margin: 0 auto;
  padding: clamp(0.3rem, 2vw, 1rem);
  gap: clamp(4px, 1vw, 10px); 
}
/* ロゴ */
.header_logo {
  height: clamp(45px, 10vw, 75px); /* 最大75pxへ縮小 */
  width: auto;
  display: block;
}
.header_logo img {
  height: 100%;       /* 親に合わせる */
  width: auto;        /* 縦横比を維持 */
  display: block;
}
/* 追加：ロゴと社名をまとめた左側ラッパー */
.header-left {
  display: flex;
  align-items: flex-end;
  gap: clamp(2px, 1vw, 14px);
  min-width: 0;
  flex-shrink: 1;
}
/* 追加：ロゴ右のテキストスタイル */
.header_logo_text p {
  font-size: clamp(3px, 2.34vw, 18px);
  max-width: clamp(100px, 25vw, 130px); /* 横幅制限 */
  font-family: 'Noto Sans JP', sans-serif; /* ゴシック体 */
  font-weight: 600; /*  太字 */
  color: #0F267A; /*  指定のカラー */
  line-height: 1.3;
  white-space: nowrap; /* ✅ 折り返し防止（必要に応じて外す） */
  /*margin-bottom: clamp(2px, 0.8vw, 6px);  やや下げる */
  white-space: nowrap;
}


/* 電話・LINEボタン */
.header-right-buttons {
  display: flex;
  align-items: center;
  gap: clamp(3px, 0.91vw, 7px); /* 電話とLINEの隙間を維持 */
  flex-shrink: 0; /* 縮みにくく */
}

.header-right-buttons img {
  height: clamp(38px, 11.3vw, 87px);
  width: auto;
  display: block;
}
.header-right{
  display: flex;
}

/* ハンバーガー内部の線 */
.hamburger span {
  width: clamp(16px, 5vw, 24px);
  height: clamp(2px, 0.5vw, 3px);
}

/* スマホ以上でも同じ見た目を保つ */
@media (min-width: 768px) {
  header {
    left: 50%;
    transform: translateX(-50%);
  }
}




.header__title:hover {
  opacity: 0.8;
}

/* ナビの部分 */

/* ヘッダーのナビ部分 */

.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  /*transform: translateX(100vw); /* ← vwで画面全体分を指定 */
  transform: translateX(100%); /* ←自分の幅分だけ右へずらす */
  background-color: #fff;
  transition: ease .4s;
  display: flex;
  /* box-sizing: border-box; */
}
.header__nav.active {
  transform: translateX(0);
}

.nav__items {
  margin: auto;
}

.nav-items__item {
  cursor: pointer;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;

}

/* ナビのリンク */
.nav-items__item a {
  color: black;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.nav-items__item:last-child a {
  margin-bottom: 0;
}



/* ナビ,ボタンの部分 */
/* 初期状態：非表示 */
/* 初期状態：右側に隠す */
#js-nav {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

/* 表示状態：左にスライドイン */
#js-nav.active {
  transform: translateX(0);
}
#js-nav {
  position: fixed; /* もしくは absolute */
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 999;
}





/* ハンバーガーボタンのスタイル　新 */
.hamburger {
  height: clamp(38px, 11.3vw, 87px); /* ← 高さ合わせ */
  width: clamp(38px, 11.3vw, 87px);  /* 正方形に調整 */
  background-color: #688EF0;
  border: none;
  z-index: 9999;
  cursor: pointer;
  border-radius: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  margin-left: clamp(6px, 0.78vw, 6px);/*← LINEとの間をやや詰める */
}
/* ハンバーガーの線（初期状態）新 */
.hamburger span {
  display: block;
  position: absolute;
  width: clamp(24px, 6vw, 40px);
  height: clamp(2px, 0.4vw, 4px);
  background-color: #fff;
  transition: all 0.3s ease;
  left: 50%;
  transform: translateX(-50%);
}

.hamburger span:nth-child(1) {
  top: 24%;
}
.hamburger span:nth-child(2) {
  top: 50%;
  transform: translate(-50%, -50%);
}
.hamburger span:nth-child(3) {
  bottom: 24%;
}

/* アクティブ状態：バッテン（×） */
.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}
/*========= ナビゲーションのためのCSS ===============*/

#g-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top: -120%;
  left: 0;
  width: 100%;
  height: 100vh;
  /*ナビの高さ*/
  background: #999;
  /*動き*/
  transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  top: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  background: #fff;
  max-width: 768px;
  width: 100%;
  margin: 0 auto;
  /* position: fixed; */
  z-index: 999;

  height: 100vh;
  /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*リストのレイアウト設定*/

#g-nav li {
  list-style: none;
  text-align: center;
}

#g-nav li a {
  color: #333;
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: fixed;
  z-index: 9999;
  /*ボタンを最前面に*/
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #666;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
}

.openbtn span:nth-of-type(2) {
  top: 23px;
}

.openbtn span:nth-of-type(3) {
  top: 31px;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}


/* ナビ,ボタンの部分終わり*/
/* ボタンを開いた時のデザイン */
/* オーバーレイ */
.overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 998;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* メニュー（上からスライドイン） */
#js-menu {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  max-width: 768px;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

/* 表示時にスルッと下りてくる */
#js-menu.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #333;
  z-index: 1001;
}

/* メニューリスト全体 */
.nav__list {
  padding: 4rem 1.5rem 1.5rem 1.5rem;
  margin: 0;
  list-style: none;
  max-height: 100vh;
  overflow-y: auto;
}

/* 各メニューアイテム */
.nav__item {
  padding: 1rem 1rem;
  /* box-sizing: border-box; */
  text-align: left;
}

/* 交互背景色 */
.nav__item:nth-child(odd) {
  background-color: #e4edf2;
}

.nav__item:nth-child(even) {
  background-color: #ffffff;
}

/* メニューリンク全体 */
.nav__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
}

/* 矢印 */
.nav__arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(-45deg);
  margin-left: 10px;
}


/* ボタン終わり */






/* トップメインビジュアルアル部分 */
.hero {
  background-color: #fff; /* ← 白など背景色をつける */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.hero-image-wrapper {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

.hero-img {
  display: block;
  width: 100%;
  max-width: 768px;
  height: auto;
  margin: 0 auto;
  /* margin-top: 80px; */
}



/* 仕事も家も。両方ゲット動き */
.hero-image-wrapper {
  position: relative;
}

.hero-title {
  position: absolute;
  top: 65%;
  left: 0;
  right: 0;
  margin: 0 auto; /* 中央に配置 */
  transform: rotate(-8deg); /* ← 回転だけにする */
  width: 85%;
  background-color: #161162;
  padding: 0.2em;
  color: white;
  font-weight: 800;
  font-size: clamp(1.32rem, 5vw, 2.4rem);
  line-height: 1.8;
  border-radius: 2px;
  z-index: 2;
  animation: bounceScale 1.5s ease-in-out infinite;
  text-align: center;
  white-space: normal;
  
}


.hero-title .highlight {
  color: yellow;
  font-size: inherit;
}

/* アニメーション定義 */
@keyframes bounceScale {

  0%,
  100% {
    transform: rotate(-8deg) scale(1);
  }

  50% {
    transform: rotate(-8deg) scale(1.05);
  }
}




.problem-list li {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ccc; 
  text-align: center;
  /* padding: 0 0 16px; */
}
.problem-img-wrapper {
  text-align: center; /* 中央寄せのため */
}




/* =============================
  ▼ このようなことでお困りではありませんか
============================= */

.problems-section{
  margin-bottom: 10px;
}

.section-title img {
  display: block;
  width: 100%;
  height: auto;
}

/* ▼ 各問題アイテム（カード） */
.problem-item {
  list-style: none;
}

.problem-box {
  max-width: 400px;
  overflow: hidden;
  background: #fff;
  text-align: center;
  margin: 0 auto;
  font-family: sans-serif;
  /* padding: clamp(10px, 2vw, 20px); ← ✅ スケーラブルに余白追加 */
}

/* ▼ ヘッダー部分（例: 住むところがない） */
.problem-header {
  background-color: #002d83;
  color: #ffde00;
  padding: clamp(16px, 4vw, 32px); /* ← ✅ スケーラブルに変更 */
  font-weight: bold;
  position: relative;
}

.problem-header h3 {
  font-size: clamp(16px, 4.56vw, 35px); /* ← ✅ 最大35rem → スケーラブルに変更 */
  line-height: 1.4;
  word-break: keep-all;
}

/* ▼ 黄色三角矢印 */
.yellow-arrow {
  width: clamp(25px, 6.77vw, 52px);   /* ← ✅ 最大52px */
  height: clamp(15px, 3.9vw, 30px);   /* ← ✅ 最大30px */
  background-color: #ffde00;
  margin: 0 auto;
  clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
}

/* ▼ 画像ラップ */
.problem-img-wrapper {
  text-align: center;
}

/* ▼ 画像全体 */
.problem-img {
  padding: 0 clamp(10px, 2.6vw, 20px) clamp(6px, 1.3vw, 10px); /* ← ✅ 左右:最大20px、下:最大10px */
  background-color: #fff;
  display: inline-block;
}

.problem-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ▼ テキスト（例：家具付き完全個室寮あり） */
.problem-text {
  color: #B62730;
  font-weight: bold;
  font-size: clamp(18px, 4.56vw, 35px); /* ← ✅ 最大35px */
  text-align: center;
  line-height: 1.5;
  margin-top: clamp(4px, 1vw, 8px);  /* ← ✅ スケーラブルに */
  padding: clamp(8px, 2vw, 16px) 0;   /* ← ✅ スケーラブルに */
}

/* ▼ リスト全体のレイアウト（2列） */
.problem-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 2vw, 20px);  /* ← ✅ 間隔をスケーラブルに */
  padding: clamp(8px, 2vw, 16px);
  list-style: none;
  max-width: 768px;
  margin: 0 auto;
  box-sizing: border-box;
}

.problem-list li {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ccc;
  text-align: center;
}











/*募集中の求人はこちらです。 */
.job-lead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  /* flex-wrap: wrap; */
  padding: 2rem 2rem 0 2rem;
  background-color: white;
}

.job-lead-img {
  width: 240px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;

}

.job-lead-message {
  /* border: 2px solid #2e8de5; 青い枠線 */
  padding: 1.5rem;
  max-width: 500px;
  /* text-align: center; */
  line-height: 1.6;
  background-color: #fff;
  border-radius: 6px;
}

.ljob-lead-text {
  font-size: 1.4rem;
  font-weight: 500;
  color: #333;
  margin: 0.5rem 0;
}

.highlight_red {
  color: #b22222; /* 濃い赤 */
  font-weight: bold;
  font-size: 1.5rem;
  display: inline-block;
}
/*募集中の求人はこちらです。終わり */

/* 求人内容 */


/* 求人セクション全体 */
.job-feature-list li {
  display: flex;
  align-items: flex-start; /* 上揃え。centerでもOK */
  gap: 6px;
  margin-bottom: clamp(3px, 2vw, 12px);
}

/* 内部ボックス */
.article-inner {
  background-color: #fff;
  padding: clamp(12px, 4vw, 30px);
  box-sizing: border-box;
}

/* 上部の見出し画像 */
.job-heading-image {
  width: 100%;
  max-width: 735px;
  height: auto;
  display: block;
  margin: 0 auto 24px auto;
}

/* 特徴リスト */
.job-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}




/* 各セクションの見出しラベル */
.job-detail dt {
  font-weight: bold;
  background-color: #4F98E3;
  color: #ffffff;
  padding: clamp(6px, 1.5vw, 12px) clamp(12px, 4vw, 24px);
  border-radius: 50px;
  display: inline-block;
  font-size: clamp(16px, 3vw, 28px);
  margin-bottom: 6px;
  width: fit-content;
  margin-top: 20px;
}



/* 強調表示 */
.job-detail strong {
  color: #3c3c3c;
  font-size: clamp(16px, 4vw, 30px);
}


/* LINEボタンそのまま */
.line-btn {
  width: 100%; 
  max-width: 600px;
  height: auto; 
  display: block;
  margin: clamp(10px, 2vw, 20px) auto 0;
}

/* チェックアイコン */
.check-icon {
  width: clamp(20px, 4vw, 35px);
  height: clamp(20px, 4vw, 35px);
  vertical-align: baseline;
  margin-top: 0.4em;
}



/* コンテンツ間の区切り線 */
.article-border {
  border-top: 1px solid #ccc;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* dtdd横並び */
  .job-detail div {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 16px;
  } 

  .job-detail dt {
    width: clamp(120px, 23vw, 180px);
    margin-top: 0;
    margin-bottom: 0;
    padding: clamp(6px, 1.5vw, 12px) clamp(12px, 4vw, 24px);
    font-size: clamp(15px, 3vw, 24px);
    flex-shrink: 0;
    text-align: center;
  }
/* 有効 */
  .job-detail dd {
    font-size: clamp(16px, 4vw, 30px);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
  }


.job-post{
  background-color:#ECF3FA;
}


/* 追加 */
.job-feature-text {
  font-size: clamp(16px, 4vw, 32px);
  color: #0F267A;
  font-weight: bold;
  line-height: clamp(1.4em, 2vw, 1.6em);
  margin: 0;
}
.feature-subtext {
  font-size: clamp(13px, 3vw, 26px);
  color: #0F267A;
  display: block;
  margin-top: clamp(4px, 1vw, 8px);
  font-weight: normal;
}


.job-feature-title {
  font-size: 16px; /* デフォルト（〜374px） */
  color: #0F267A;
  font-weight: 800;
  margin-bottom: 12px;
  text-align: left;
}

/* 375px〜479px */
@media screen and (min-width: 375px) {
  .job-feature-title {
    font-size: 16px;
    margin-bottom: 14px;
  }
}
/* 480px〜599px */
@media screen and (min-width:520x) {
  .job-feature-title {
    font-size: 24px;
    margin-bottom: 18px;
  }
}
/* 480px〜599px */
@media screen and (min-width: 480px) {
  .job-feature-title {
    font-size: 26px;
    margin-bottom: 18px;
  }
}

/* 600px〜767px */
@media screen and (min-width: 600px) {
  .job-feature-title {
    font-size: 30px;
    margin-bottom: 20px;
  }
}

/* 768px〜 */
@media screen and (min-width: 768px) {
  .job-feature-title {
    font-size: 32px;
    margin-bottom: 20px;
  }
}


.job-info {
  background-color: #ECF3FA;
  padding: clamp(20px, 4vw, 32px) clamp(12px, 4vw, 16px); /* 上下 左右 */
}



/* メール */
.btn-mail {
  display: block;
  background-color: #3081D5;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  padding: 16px 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
  width: 100%;
}

.btn-mail:hover {
  background-color: rgba(48, 129, 213, 0.2);
}

.mail-cta-text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.mail-cta-sub {
  font-size: 1rem;
  /* 常にこの大きさ */
  background: white;
  color: #3081D5;
  padding: 4px 10px;
  border-radius: 12px;
  margin-top: 6px;
  width: fit-content;
  /* テキストの幅にフィット */
  min-width: 100%;
  /* 親の一番上のテキストの幅を継承 */
  /* box-sizing: border-box; */
  text-align: center;
}



/* CTAエリア　求人下の本気で変わりたいあなたをサポート */
.cta-area {
  background-color: #4F98E3; /* 青背景 */
  padding: 40px 20px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 768px;
  margin: 0 auto;
}

.cta-area-title {
  max-width: 768px;
  margin: 0 auto;
  text-align: center; 
}

.highlight-background {
  background-color: #fff;
  color: #4F98E3;
  display: inline-block;
  padding: 8px 4px;
 font-weight: 800;
   /* font-size: clamp(0.9rem, 4vw, 2rem); */
  font-size: clamp(0.84375rem, 3.75vw, 1.875rem);
  margin-bottom: 24px;
  text-align: center;
  
}
.text-large{
    font-size: clamp(18px, 4.56vw, 35px); 
    /* background: linear-gradient(transparent 30%, #FFD110 75%);  */
    /* background-color: rgba(255, 209, 16, 0.7); 
    padding-bottom: 0.1em; */
    /* background: linear-gradient(transparent 50%, #FFD110 50%);
    padding-bottom: 0.1em; */
    position: relative;
    display: inline-block;
    z-index: 0;
}
.text-large::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 62%; 
  background-color: rgba(255, 209, 16, 0.7);
  z-index: -1;
}
.cta-area-inner img {
  display: block;
  width: 90%;         
  max-width: 768px;    
  height: auto;       
  margin: 0 auto;      
}



/* LINEボタン周辺 */
.cta-mix-header {
  background-color: #fff2b5; /* 黄色背景 */
  padding: 30px 20px;
  margin-top: 32px;
  border-radius: 20px;
  text-align: center;
  max-width: 768px;
  margin: 0 auto;
}


.cta-mix-header p {
  /* font-size: clamp(16px, 5vw, 28px); */
  font-size: 16px; /* デフォルト（〜375pxまで） */
  font-weight: 800;
  color: #003366;
  /* margin-bottom: 20px; */
}
/* 375px〜479px */
@media screen and (min-width: 375px) {
  .cta-mix-header p {
    font-size: 16px;
  }
}

/* 480px〜599px */
@media screen and (min-width: 480px) {
  .cta-mix-header p {
    font-size: 22px;
  }
}

/* 600px〜767px */
@media screen and (min-width: 600px) {
  .cta-mix-header p {
    font-size: 25px;
  }
}

/* 768px〜 */
@media screen and (min-width: 768px) {
  .cta-mix-header p {
    font-size: 28px;
  }
}





.cta-mix-btn img{
  width: 100%; 
  max-width: 600px;
  height: auto; 
  display: block;
  margin: 0 auto;
  padding-bottom: 8px;
}

  
/* CTAボタンエリア */
.tel-mail-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

 .tel-mail-btn img {

  width: 100% !important; 
  height: auto !important; 
  max-width: 294px; 
 
} 

/* CTAボタンエリア終わり*/






/* Swiper */
.swiper-slide{
  width: 100%;
  max-width: 768px;
  height: auto;
}

/* 応募から入社までの流れ */


.step-header{
 background-color: #FFD110;
 padding: 0;      /* 念のため */
 margin: 0 auto;
 text-align: center;
 max-width: 768px;
}
.step-section {
  max-width: 768px;
  margin: 0 auto;
  box-sizing: border-box;
}
.step-detail,
.step-detail_w {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #ECF3FA;
  padding: clamp(15px, 4vw, 30px);
  gap: clamp(10px, 3vw, 20px);
}

.step-detail_w {
  background-color: #fff;
}

.triangle {
  position: absolute;
  top: clamp(-6px, -1.5vw, -12px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(22px, 6vw, 45px);
  height: auto;
  z-index: 1;
}
.triangle img{
  width: 100%;
  height: auto;
  display: block;
  }



.step-text {
  flex: 1;
}

.step-subtitle {
  color: #0F267A;
  display: inline-block;
  padding: 8px 8px;
  font-weight: 800;
  font-size: clamp(1.1rem, 4vw, 2rem);
  /* margin-bottom: clamp(5px, 3.4vw, 24px);  */
  text-align: center;
}
.step-num {
  font-size: clamp(18px, 4vw, 32px);
  font-weight: 400;
  color: #4F98E3;
}
.step-label {
  margin-bottom: clamp(5px, 1.3vw, 10px);
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}


.step-desc p {
  font-size: clamp(16px, 4.2vw, 31px);
  line-height: 1.6;
  color: #3C3C3C;
  margin: 0;
}

.text_num_label {
  font-size: clamp(20px, 4.6vw, 38px);
  font-weight: 800;
  color: #4F98E3;
  margin-bottom: clamp(2px, 1vw, 4px);
  margin-left: clamp(2px, 2vw, 6px);
}
.step-title {
  font-size: clamp(15px, 4.2vw, 30px);
  font-weight: bold;
  color: #B62730;
  margin-left: clamp(10px, 3vw, 20px);
}
.step-image {
  flex-shrink: 0;
  margin-right: clamp(14px, 2.5vw, 20px);
}

.step-image img {
  width: clamp(80px, 18vw, 140px);
  height: auto;
  object-fit: cover;
}

.zen-kaku-gothic-new-regular {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.zen-kaku-gothic-new-bold {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.zen-kaku-gothic-new-black {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-style: normal;
}



.step-highlight-background {
  background-color: #fff;
  color: #0F267A;
  display: inline-block;
  padding: 8px 8px;
  font-weight: 800;
  font-size: clamp(1rem, 4vw, 2rem);
  margin-top: clamp(20px, 3.91vw, 30px);
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0; /* ← ここでマージンボトムを0に */
  text-align: center;
}


.step-caption p{
  color: #0F267A;
  display: inline-block;
  padding: 8px 8px;
  font-weight: 800;
  font-size: clamp(1.3rem, 4vw, 2rem); /* ← 最小1.3remに変更 */
  /* margin-bottom: clamp(5px, 3.4vw, 24px);   */
  text-align: center;
}

.step-img img{
  display: block;
  width: 100%;
  height: auto;
  max-width: 768px;
  margin: 0;       /* ここが重要 */
  padding: 0;
  border: none;
}
/* 応募から入社までの流れ終わり */



/* ４つの特徴 */
.benefits-section {
  max-width: 768px;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 24px); /* ★ スケーラブル化: padding */
  background-color: #FFFEEA; /* 画像背景と調和 */
}

.benefit-box {
  margin-bottom: clamp(24px, 5.5vw, 40px); 
  border: 2px solid #FFFEEA;
  /* padding: clamp(16px, 4vw, 20px); ★ スケーラブル化: ボックス内余白 */
}

.benefit-title {
  background-color: #0F267A;
  color: #FFD110;
  font-size: clamp(18px, 4.3vw, 32px); /* ★ スケーラブル化: 見出しフォント */
  font-weight: 600;
  padding: clamp(2px, 2vw, 8px) clamp(12px, 4vw, 16px); /* ★ スケーラブル化: padding */
  margin-bottom: clamp(12px, 3vw, 20px); /* ★ スケーラブル化: 下余白 */
  text-align: center;
}

.benefit-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(10px, 3vw, 16px); /* ★ スケーラブル化: テキストと画像の間隔 */
}

.benefit-text {
  font-size: clamp(18px, 4vw, 31px); /* ★ スケーラブル化: 本文フォント */
  line-height: 1.8;
  color: #3c3c3c;
  flex: 1;
}

.benefit-text .highlight-red {
  color: #B62730;
  font-weight: 800;
  font-size: clamp(18px, 4vw, 31px); 
}

.benefit-image {
  width: clamp(96px, 20vw, 160px);
  flex-shrink: 0;
}

.benefit-image img {
  width: 100%;
  height: auto;
  display: block;
}




/* ４つの特徴 */
.benefits-list img, 
.faq-section img {
width: 100%;
max-width: 768px;
margin: 0 auto;
display: block;
}
 .faq-section-img{
  max-width: 768px;
  height: auto;
  margin: 0 auto;
 }
.benefits-list-img{
  max-width: 768px;
  margin: 0 auto;
}
.step-info{
  max-width: 768px;
  height: auto;
  margin: 0 auto;
}

/* 会社概要 */

.company-info-table {
  width: 100%;
  max-width: 768px;
  margin: 0 auto; 
  overflow-x: auto; 
}

.company-info-title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0 auto 24px auto;
  background: #ECF3FA;
  padding: 24px 0;
  color: #333;
  /* 追加・修正 */
  max-width: 768px;
  width: 100%;
  /* box-sizing: border-box; */
  padding-left: 20px;
  padding-right: 20px;
}

.company-info-table {
  width: 100%;
  max-width: 768px;
  border-collapse: collapse;
  background: #fff;
padding: 0 4px;
}

.company-info-table th,
.company-info-table td {
  border: 1px solid #d3dbe3;
  padding: 16px 12px;
  text-align: left;
  font-size: 1rem;
  line-height: 1.5;
}

.company-info-table th {
  background: #ECF3FA;
  font-weight: normal;
  width: 100px;
  color: #333;
  text-align: center;
  vertical-align: middle;
}

.company-info-table td {
  color: #222;
  
  
}

.map-link {
  display: inline-block;
  margin-left: 12px;
  color: #3081D5;
  text-decoration: underline;
  font-size: 0.95em;
}

@media (max-width: 600px) {
  .table-wrap {
    padding: 16px 0;
  }
  .company-info-table th,
  .company-info-table td {
    padding: 14px 10px;
    font-size: 0.95rem;
  }
}

.table-wrap{
  padding-left: 20px;
  padding-right: 20px;
}

/* 社員の写真ギャラリー */
.photo-gallery-wrapper{
display: grid;
row-gap:  4px;
max-width: 768px;
margin: 20px auto 60px auto;
padding: 20px;
}
.photo-gallery1 ,
.photo-gallery2 {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.photo-gallery1 img,
.photo-gallery2 img {
  width: 100%;
  height: auto;
  display: block;
}
/* お申し込みフォームエリアCTA */
.form-title p{
  font-size: 1.3rem;
}
.form-section {
  max-width: 768px;
  margin: 0 auto;
}
.form-title  {
  text-align: center;
  font-size: clamp(1rem, 4vw, 2rem);
  font-weight: 800;
  margin: 0 auto 30px;
  background: #4F98E3;
  padding: 50px 0;
  color: #fff;
}

.form-section-img img{
  max-width: 100%;
  height: auto;
  display: block;
  padding: 0 20px;
} 

/* フォームエリアのボタン修正 */
.form-section-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap:6px; /* ボタンの間の余白 */
  margin: 0 auto 60px;
  padding: 0 20px;
}

.form-section-btn img {
  width: 100%;
height: auto;
display: block;
}
/* お申し込みフォームエリアCTA 終わり */






/* 
フッター */
.site-footer {
  background-color: #ECF3FA; 
  text-align: center;
  max-width: 768px;
  margin: 0 auto;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
}

.footer-inner {
  max-width: 768px;
  margin: 0 auto;
  color: #333;
  padding-bottom: 20px;
}

.footer-logo {
  width: 90px;
  height: auto;
  margin: 20px auto;
}

.footer-company-name {
  font-weight: 800;
  font-size: 1.25rem;
  color: #2A70AA; /* 青系文字色 */
  margin-bottom: 8px;
}

.footer-address {
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: #444;
}

.footer-copy {
  font-size: 0.7rem;
  color: #666;
}


/* 影 */
.shadow-sides-only {
  box-shadow:
    -6px 0 12px rgba(0, 0, 0, 0.1),
     6px 0 12px rgba(0, 0, 0, 0.1);
}

.m3-elevation-4 {
  box-shadow:
    0px 1px 2px rgba(0, 0, 0, 0.3),
    0px 2px 6px rgba(0, 0, 0, 0.15);
}

/* 先輩社員の声 */
.my-slider img {
  width: 100%;
  height: auto;
  display: block;
}
.voice-title img{
  width: 100%;
  height: auto;
  display: block;
}
/* Slick矢印全体のスタイル */
/* Slickナビゲーション矢印ボタン（共通） */
/* Slickナビゲーション矢印ボタン（共通） */
.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #4F98E3;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  z-index: 10;
  display: flex !important;
  justify-content: center;
  align-items: center;
  border: none;
  outline: none;
  padding: 0;
}

/* デフォルトの矢印を非表示に */
.slick-prev::before,
.slick-next::before {
  content: none;
}

/* 矢印をCSSで作成（白くて中央に配置） */
.slick-prev::after,
.slick-next::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-135deg); /* ← 初期は左矢印 */
}

/* 右矢印だけ向きを変更 */
.slick-next::after {
  transform: rotate(45deg); /* → */
}

/* 位置調整：左右マージンを内側に */
.slick-prev {
  left: 10px;
}

.slick-next {
  right: 10px;
}

/* モバイルでの微調整 */
@media screen and (max-width: 768px) {
  .slick-prev {
    left: 5px;
  }

  .slick-next {
    right: 5px;
  }
}
/* Slick dots（ドットナビゲーション）の位置調整 */
.my-slider .slick-dots {
  bottom: 20px; /* 画像に近づけたい距離に調整。数値を小さくすると上へ */
  position: absolute;
  width: 100%;
  text-align: center;
  z-index: 10;
  padding: 0;
  margin: 0;
}

/* ドット下に余白が入らないように */
.my-slider {
  position: relative;
  margin-bottom: 0; /* 画像下に余白が出ないように調整 */
  padding-bottom: 0;
}

/* スライド内の画像の基本スタイル */
.my-slider img {
  width: 100%;
  height: auto;
  display: block;
}

.slick-dotted.slick-slider {
margin-bottom: 0px;
}


.slick-track {
  display: flex !important;
}


.slick-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
}


/* 矢印を常時表示し、hoverしても変化させない */
.slick-prev,
.slick-next {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition: none !important;
  background-color: #4F98E3 !important; /* ホバーしても色が変わらないよう固定 */
}

/* ホバーしても透過しないように明示的に上書き */
.slick-prev:hover,
.slick-next:hover {
  background-color: #4F98E3 !important; /* 通常時と同じ色で固定 */
}

/* Slickのデフォルトで非表示にされる矢印を完全に出し続ける */
.slick-prev::before,
.slick-next::before {
  content: none !important; /* Slickの矢印は消す（あなたはCSS矢印使用） */
  opacity: 1 !important;
}

/* ::afterで作った矢印も常時表示 */
.slick-prev::after,
.slick-next::after {
  opacity: 1 !important;
  visibility: visible !important;
}


/* よくある質問 */
.faq-wrapper img{
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  display: block;
}


 .faq-section-img{
  max-width: 768px;
  height: auto;
  margin: 0 auto;
 }





 .qa-wrapper {
  max-width: 768px;
  margin: 0 auto;
  padding: clamp(16px, 5vw, 24px);
}

.qa-block {
  background-color: #ECF3FA;
  border-radius: 12px;
  margin-bottom: clamp(16px, 4vw, 24px);
  padding: clamp(12px, 3vw, 20px);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25); /* ← Figmaの影に一致 */
}

.qa-question {
  font-weight: 600;
  font-size: clamp(16px, 4.5vw, 22px);
  color: #4F98E3;
  margin-bottom: clamp(8px, 2.5vw, 12px);

  padding-bottom: clamp(12px, 2vw, 20px);
  border-bottom: 1.5px solid #4F98E3;

  margin-left: calc(-1 * clamp(12px, 3vw, 20px));
  margin-right: calc(-1 * clamp(12px, 3vw, 20px));
  padding-left: clamp(12px, 3vw, 20px);
  padding-right: clamp(12px, 3vw, 20px);
}
.q {
  font-weight: 700;
  margin-right: 0.4em;
  color: #4F98E3;
  font-size: clamp(18px, 5vw, 28px);
  font-family: 'Noto Sans JP', sans-serif; 
}
.qa-answer {
  font-size: clamp(16px, 4.5vw, 22px);
  color: #333;
  line-height: 1.6;
  margin-top: clamp(12px, 4vw, 24px); /* ← 値を2倍に調整 */
}

.a {
  color: #B62730;
  font-weight: 700;
  margin-right: 0.4em;
  font-size: clamp(18px, 5vw, 28px);
}

/* よくある質問 */





/* フォーム */
/* ---------------------
  フォーム全体の枠
---------------------- */
.mailform-recruit {
  max-width: 768px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 24px 16px;
  background: #fff;
  /* box-sizing: border-box; */
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: #333;
}

/* Contact Form 7本体 */
.wpcf7 {
  width: 100%;
  display: block;
  text-align: left;
}

/* ---------------------
  各フォーム行
---------------------- */
.tbl_form_box dl {
  margin-bottom: 24px;
}

/* ラベル（dt） */
.tbl_form_box dt {
  /* font-weight: bold; */
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: normal;
}

/* 必須マークを赤く表示 */
.txt_req::after {
  content: "（必須）";
  display: inline-block;
  /* margin-left: 2px; */
  color: #E71300;
  font-size: 0.9em;
}

/* 入力欄（dd） */
.tbl_form_box dd {
  margin-top: 6px;
}

/* ---------------------
  テキスト・メール・電話・年齢
---------------------- */
.tbl_form_box input[type="text"],
.tbl_form_box input[type="email"],
.tbl_form_box input[type="tel"],
.tbl_form_box textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  /* box-sizing: border-box; */
  background-color: #fff;
  font-weight: normal;
}

/* ---------------------
  ラジオボタン（性別）
---------------------- */
.tbl_form_box input[type="radio"] {
  margin-right: 6px;
}
.tbl_form_box label {
  margin-right: 20px;
  display: inline-block;
  font-size: 16px;
}

/* ---------------------
  チェックボックス（同意）
---------------------- */
.contact-check {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.6;
}
.contact-check p {
  font-size: 14px;
  margin-bottom: 8px;
}
.contact-check a {
  color: #0056e5;
  text-decoration: underline;
  font-weight: bold;
  padding-left: 6px;
}

/* ---------------------
  送信ボタン
---------------------- */
.form_submit {
  margin: 10px auto 30px auto;
  text-align: center;
}
.form_submit input[type="submit"] {
  background-color: #4daaf1;
  color: #fff;
  font-size: 18px;
  border: none;
  border-radius: 30px;
  padding: 14px 32px;
  cursor: pointer;
  width: 100%;
  max-width: 280px;
  transition: background-color 0.2s;
}
.form_submit input[type="submit"]:hover {
  background-color: #389de4;
}

/* ---------------------
  エラーメッセージ対応（Contact Form 7）
---------------------- */
span.wpcf7-not-valid-tip {
  color: #e71300;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}
div.wpcf7-response-output {
  margin-top: 16px;
  padding: 12px;
  /* border: 1px solid #e71300; */
  color: #e71300;
  font-size: 14px;
  /* border-radius: 4px; */
}



/* プレースホルダー文字の色をグレーに変更 */
.tbl_form_box input::placeholder,
.tbl_form_box textarea::placeholder {
  color: #c6c6c6; 
  opacity: 1;  /* iOS Safari対応で明度を下げすぎないように */
  font-weight: normal; 
  font-size: 16px;
}


/* LINEの動き */
.line-button_effect {
  display: flex;
  justify-content: center; /* 横中央 */
  align-items: center;     /* 縦中央になる場合に備え */
  margin: 0 auto;       /* 上下マージンはお好みで */
  width: fit-content;      /* ボタンのサイズに合わせる */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: scaleLoop 1.7s ease-in-out infinite;
  transform-origin: center;
  text-align: center;
}


@keyframes scaleLoop {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.06);
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}


/* SPフォント対策 */

.font-sans {
  font-family:
    "Hiragino Kaku Gothic ProN", /* iOS/macOSゴシック */
    "Hiragino Sans",             /* iOS13以降のシステムフォント */
    "Meiryo",                    /* Windows用 */
    "Roboto",                    /* Android用 */
    sans-serif;
}

/* TOP画像切れ調整 */
.hero-image-wrapper{
  margin-top: 20px;
}
 @media screen and (min-width: 500px) {
  .hero-image-wrapper {
    margin-top: 30px; 
  }
} 
/*キャンペーンバナー*/
.campaign-banner {
max-width: 100%;
margin: 0;
}
.campaign-banner img{
  max-width: 100%;
  height: auto;
  display: block;
  }

  .selector {
    cursor: pointer;
  }
/* ページ内リンクの調整　固定ヘッダーの高さに応じて調整*/
  .scroll-target {
    scroll-margin-top: clamp(60px, 10vw, 120px);
}

#floating-footer {
  position: fixed;
  bottom: 0;
  /* left: 0; */
  width: 100%;
  max-width: 768px;
  background: #fff;
  display: none;
  padding: 10px 30px;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  margin: 0 auto;
  gap: 8px;
}

.btn-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;       /* ← 修正 */
  margin: 0 auto;     /* ← 追加（中央寄せ） */
}

.btn-bar > div {
  flex: 1 1 auto;     /* ← 各ボタンを等幅に */
  text-align: center; /* ← ボタン画像を中央に */
}

.btn-bar img {
  width: 100%;        /* ← ボタン幅をdivにぴったり合わせる */
  height: auto;
  display: block;
}
/* 入力フォームエラー重複表示対策 */
.screen-reader-response {
  display: none;
}

