/*　フォント設定*/

h3{
	font-size: 2em;
	text-align: center;
  margin-bottom: 0.8em;
}

.big-title{
	    font-size: 1.5em;
	text-align: center;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 2.6vw, 32px);
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-align: center;
}

h3 span{
	font-size: 70%;
}

h4{
	font-size: 1.5em;
}

h5{
	margin-top: 4em;
}

p{
	font-size: 16px;
	margin-top: 0.5em;
}

@media (max-width: 960px) {
  h3 {
    font-size: 1.8rem; /* スマホ用に小さく */
  }
  .big-title{
	font-size: 18px;
}
}
.btn--main{
      border-radius:0 !important;
}

/*　装飾　*/
.divider {
  width: 100%;           /* 横幅いっぱい */
  height: 1px;           /* 線の太さ */
  background-color: #ccc; /* 線の色（グレー） */
  margin: 20px 0;        /* 上下の余白 */
}
.btn--main::before{
  background-color: #000;
}
/* .btn--main::before {
  background-color: #000;
} */
.btn--main:hover::before {
  background-color: #ff9700;
}



/* ボタン */

/* 親コンテナ：ボタン全体 */
.button-container {
  display: flex;
  gap: 20px;        /* ボタン間の横幅 */
  flex-wrap: wrap;   /* 狭い画面は折り返す */
  margin: 4.5em;
}

/* スマホ対応：縦並びにする */
@media (max-width: 768px) {
  .button-container {
    gap: 50px;      /* 縦間隔調整 */
        margin: 1.5em;
  }
}

@media screen and (max-width: 540px) {
    .btn--main, .btn--sub {
        width: 90%;
    }
}
/* ラベル（左上に独立表示） */
.btn-label {
  font-size: 2.5rem;
  opacity: 0.5;
  margin: 0 0 5px 0; /* 下に少し余白 */
  text-align: left;  /* 左揃え */
}

/* ボタンラッパー */
.custom-button-wrapper {
  flex: 1 1 200px;  /* 横並びで均等幅 */
}

/* ボタン本体 */
.custom-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 40px;      /* 広めのパディング */
  border: 2px solid #ff9700;  /* 線だけ */
  border-radius: 50px;     /* 角丸 */
  background: transparent;  /* 塗りなし */
  cursor: pointer;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  max-width: 350px;
  color: #ff9700;
  font-weight: bold;
  font-size: 20px;
}

/* 右矢印 */
.custom-button .arrow {
  margin-left: 10px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

/* ホバー */
.custom-button:hover {
  background-color: #ff9700; /* オレンジで塗りつぶし */
  color: #fff;
}

.custom-button:hover .arrow {
  transform: translateX(9px); /* 矢印が右に少し動く */
}

@media (max-width: 960px) {
	.custom-button-wrapper {
		flex: 1 1 100px;  /* 横並びで均等幅 */
	}
}

/*　ユーティリティ*/
.margin-top-0{
	margin-top: 0!important;
}

.margin-bottom-0{
	margin-bottom: 0!important;
}

/*　アニメーション　*/

/* 初期状態：下にずらして透明 */
.float-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* 画面に入ったら浮かび上がる */
.float-up.visible {
  opacity: 1;
  transform: translateY(0);
}

body:not(.page--home) .block-tit{
  margin-bottom: 5rem;
}

.message-section {
  display: block;
    position: relative;
    margin-top: 5em;
    align-items: center;
    text-align: center;
}

/* 左の「Message」 */
.message-section h4 {
  font-size: 38px;
  font-weight: 400;
  white-space: nowrap;
}

/* 右本文 */
.message-section__body {
  line-height: 2;
}

@media (max-width: 768px) {
  .message-section {
    flex-direction: column;
        margin-top: 3em;
  }

  .message-section__body {
    border-left: none;              /* 左ライン消す */
    border-top: 2px solid #000;     /* 上にライン */
    padding-left: 0;
    padding-top: 24px;              /* ラインとの余白 */
    margin-top: 16px;
            text-align: left;               /* Messageとの間 */
  }
}

/* デフォルト（PC）では改行させない */
.sp-br {
  display: none;
}
/* SPだけ改行させる */
@media screen and (max-width: 768px) {
  .sp-br {
    display: block;
  }
  p {
  margin-top: 1rem !important;
}
}
@media screen and (min-width: 769px) {
p {
  margin-top: 0;
}
}
.breadcrumb-list{
  line-height: 2 !important;
  padding-bottom: 30px;
  font-size: 15px;
}


/* =========================================================
   (A) 黒背景：新卒/キャリア（縦並び・左揃え）
========================================================= */
.recruit-hero{
  background: #fff;
  color: #000;
          margin-top: 4rem;
  border: 2px solid #000;
}

.recruit-hero__inner{
  max-width: 980px;
  margin: 0 auto;
}

/* PCのみ横並び */
@media (min-width: 769px){
  .recruit-hero__inner{
    display: block;
  }
}

/* SPは縦並び */
@media (max-width: 768px){
  .recruit-hero__inner{
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* SPは縦並び */
@media (max-width: 768px){
  .recruit-hero__inner{
    display: grid;
    grid-template-columns: 1fr;
    gap: 0px;
  }
}

.recruit-hero__item{
  text-align: left;
  display:flex;
  flex-direction:column;
}

.recruit-hero__title{
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

.recruit-hero__text{
  opacity: 0.9;
  line-height: 2;
  font-size: 16px;
}
.company--info{
    padding: 3vw;
  
}
.recruit-hero__btn{
  margin-top:30px;
}

/* 白枠ボタン（黒背景用） */
.btn--outline-white{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(530px, 100%);
  padding: 16px 22px;
  border: 2px solid #000 !important;
  color: #fff !important;
  background: #000 !important;
  font-weight: 700;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
  font-size: 25px;
}

.btn--outline-white:hover{
  background: #ff9700 !important;
  border-color: #ff9700 !important;
  color: #000 !important; /* 読めるように黒寄せ */
}

/* SPの余白調整 */
@media (max-width: 768px){
  .recruit-hero{
        margin-top: 4rem;
        margin-bottom: 6rem;
  }
}

/* =========================================================
   (B) end下ボタン：ラベルを左上に被せる
========================================================= */
.button-container{
  align-items: stretch;
}

/* 1ボタン単位 */
.actionBtn{
  position: relative;
  flex: 1 1 260px;
  max-width: 420px;
}

/* ラベル被せ */
.btn-label--overlay{
  position: absolute;
  left: 0px;
    top: -15px;
    font-size: 27px;
  opacity: .45;
  margin: 0;
  pointer-events: none;
  line-height: 1;
}

/* custom-buttonをa/buttonでも使えるように */
.custom-button--link{
  width: 100%;
  max-width: none;
  text-decoration: none;
}

/* ボタンの高さを揃える（見た目安定） */
.custom-button{
  min-height: 78px;
}

/* SPはラベル少し小さく */
@media (max-width: 768px){
  .actionBtn{
    max-width: 100%;
  }
  .btn-label--overlay{
    font-size: 30px;
    left: 18px;
    top: -16px;
  }
}
@media screen and (min-width: 961px) {
    body:not(.page--home) .wrap {
        padding-bottom: 200px;
    }
}


/* ===============================
   カード3枚 横並び
=============================== */
.recruit-card-list{
  display: flex;
  gap: 80px;
  margin-top: 60px;
  justify-content: center;
}

/* 1枚 */
.recruit-card{
  flex: 1;
  max-width: 320px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

/* 画像 */
.recruit-card img{
  width: 100%;
  height: auto;
  display: block;
}

/* SP対応 */
@media (max-width: 768px){
  .recruit-card-list{
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin: 80px 20px;
  }

  .recruit-card{
    width: 100%;
    max-width: 100%;
  }
}

.recruit-word-banner {
  width: 100%;
  margin: 80px auto 100px; /* 上下の間隔 */
  text-align: center;
}

.recruit-word-banner img {
  pointer-events: none;       /* 右クリック無効っぽくする */
  user-select: none;          /* 選択不可 */
  -webkit-user-drag: none;
  width: 100%;
  max-width: 1100px; /* PCでの最大サイズ（いい感じに締まる） */
  height: auto;
  display: block;
  margin: 0 auto;
}

/* SP調整 */
@media screen and (max-width: 768px) {
  .recruit-word-banner {
    margin: 50px auto 70px;
  }

  .recruit-word-banner img {
    max-width: 92%; /* ちょい余白残すと上品 */
  }
}