@charset "UTF-8";
/* CSS Document */

h1{
	font-size: 2.5rem;
	text-align: center;
	  font-family: "Kosugi Maru", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", "Arial Rounded MT Bold", "游ゴシック", sans-serif;
}
body{
	background-color: #fffbf3;
}

/*❎TOPイメージ*/
.top-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.top-img {
  margin-top: 100px;
  background-image: url("../img/recruit-img/29662166_m.jpg");
  background-size: cover;
  background-position: center 20%;
  min-height: 80vh;
  clip-path: polygon(
    50% 0%,
    100% 0,
    100% 35%,
    100% 70%,
    80% 90%,
    50% 100%,
    20% 90%,
    0% 70%,
    0% 35%,
    0 0
  );
  z-index: 1;
  position: relative;
}

.top-frame {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  pointer-events: none;

}

.top-frame img {
  width: 100%;
  display: block;
}

.top-frame.hidden {
  opacity: 0;
}

@media screen and (max-width: 1100px) {
  .top-img {
    margin-top: 60px;
    min-height: 50vh;
  }
}




/*❎一緒に働きませんか？*/
.section-01 {
  width: 80%;
  margin: 100px auto;
  position: relative;
  z-index: 1;
  background-image: url("../img/recruit-img/top-textback.png"); /* PC背景 */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  padding-top: 200px; /* 背景にかぶらないよう余白 */
}

.section-01 h1 {
  margin-bottom: 30px;
  font-weight: 800;
  color: #ff8c00;
}

.section-01 p {
  font-size: 2rem;
  font-weight: 600;
  color: #99cc66;
  margin-bottom: 20px;
  width: 80%;
  margin: 0 auto;
  text-align: center;
  text-decoration: underline dotted #FE6314 5px;
  text-underline-offset: 0.5em; 
}

.section-01 ul {
  list-style: none;
  text-align: left;
  font-size: 1.2rem;
font-weight:bold;
  width: 70%;
  margin: 80px auto;
  max-width: 710px;
  line-height: 2rem;
	background-color: #fffbf3;
	border:  solid #FE6314 3px;
	padding: 20px 25px;
	border-radius: 20px;
	
}

@media screen and (max-width: 1100px) {
  .section-01 {
    width: 100%;
    margin: 0px auto;
    padding-top: 80px; /* モバイル背景に応じて調整 */
    background-image: url("../img/recruit-img/top-textback-mb.png"); /* モバイル背景 */
    background-repeat: no-repeat;
    background-position: center 3%;
    background-size: contain;
    overflow: hidden;
  }

  .section-01 h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .section-01 p {
    font-size: 1.2rem;
    width: 90%;
  }

  .section-01 ul {
    width: 90%;
    margin: 20px auto;
    max-width: 400px;
  }
}


/*❎求める人材*/
.section-02{
	background-color: #fffaf0;
	widows: 100%;
	padding: 80px 0;
}
.section-02 h1{
	margin-bottom: 120px;
}
.section-02 ul{
	display: flex;
	flex-wrap: wrap;
	gap:20px;
	list-style: none;
	justify-content: center;
	text-align: center;
}
.section-02 li {
  position: relative;
  width: 30%;
  min-width: 350px;
  max-width: 450px;
  padding: 40px 20px; 
  background: none;
  z-index: 1;
	font-weight: 600;
}

/* 共通の円スタイル */
.section-02 li::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  border-radius: 30%;
  z-index: -1;
  opacity: 0.3;
	
}

/* 1番目のliにオレンジ */
.section-02 li:nth-child(1)::before {
  background-color: #ff9900;
}

/* 2番目のliにグリーン */
.section-02 li:nth-child(2)::before {
  background-color: #66cc66;
}

/* 3番目のliにブルー */
.section-02 li:nth-child(3)::before {
  background-color: #66ccff;
}

/*liの動き*/
/* 初期状態：非表示＆下にズレてる */
.section-02 li {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 表示状態：ふわっと */
.section-02 li.animate {
  opacity: 1;
  transform: translateY(0);
}

/* アニメーション遅延（1つずつずらす） */
.section-02 li:nth-child(1) {
  transition-delay: 0.1s;
}
.section-02 li:nth-child(2) {
  transition-delay: 0.4s;
}
.section-02 li:nth-child(3) {
  transition-delay: 0.7s;
}

.section-02 p{
	margin-top: 100px;
	font-weight: 600;
	
}
@media screen and (max-width: 768px) {
	.section-02 h1{
	margin-bottom: 50px;
}
  .section-02 ul {
    flex-direction: column;
    align-items: center;
  }

  .section-02 li {
    width: 80%;
    height: 220px; /* ← 背景と同じ高さを指定 */
    margin: 20px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
  }

  .section-02 li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 220px;
    border-radius: 30%;
    z-index: -1;
    opacity: 0.3;
  }
}


/*❎ 雇用形態・福利厚生 */
.job{
	width: 80%;
	margin: 0 auto;
	text-align: left;
	background-color: #fff;
	border-radius: 20px;
	padding: 15px 20px;
}
.job h2{
	font-size: 2rem;
	text-align: center;
}
.job p{
	font-size: 1.2rem;
	width: 90%;
	margin: 0 auto;
}


.employment-benefits {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 20px;
  font-family: "Kosugi Maru", sans-serif;
}

/* セクションタイトル */
.employment-benefits h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  border-left: 8px solid #f39800;
  padding-left: 15px;
  color: #333;
}

/* 定義リスト（項目名と内容） */
.employment-benefits dl {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #ccc;
}


/* 項目名 */
.employment-benefits dt {
  width: 30%;
  font-weight: bold;
  padding: 15px 10px;
  border-bottom: 1px solid #ccc;
  background-color: #f9f9f9;
}

/* 項目内容 */
.employment-benefits dd {
  width: 70%;
  margin: 0;
  padding: 15px;
  border-bottom: 1px solid #ccc;
  background-color: #fff;
  line-height: 2.5rem;
	text-align: left;

}
.employment-benefits span{
	font-size: 1.1rem;
	line-height: 1rem; 
}
/* スマホ対応 */
@media screen and (max-width: 700px) {
  .employment-benefits dt,
  .employment-benefits dd {
    width: 100%;
    padding: 10px;
  }

  .employment-benefits dt {
    border-left: 4px solid #f39800;
    background-color: #fdf6f0;
  }
}

/**/
.top-deco{
	width: 100%;
	display:block;
	margin-bottom: 0;
}

/*❎ワークライフバランスの推進・スキルアップできる環境*/
.section-04 {
padding-top: 100px;
background-color: #9ae6f7;
	display: flex;
	flex-wrap: wrap;
	gap:20px;
	justify-content: center;
}
.sec04-01{
	width: 45%;
	background-color: rgba(255,255,255,0.80);
	padding: 15px 20px;
	border-radius: 15px;
	min-width: 300px;
		
}
.sec04-01 h2{
	font-size: 1.5rem;
}
.sec04-01 p{
	font-size: 1.2rem;
	text-align: left;
	width: 85%;
	margin: 10px auto 20px;
}
.sec04-01 img{
	height: 200px;
}
@media screen and (max-width: 700px) {
	.sec04-01{
	width: 90%;
		
}
}


/*❎先輩スタッフのコメント*/



/*------------------------------
  セクション全体
------------------------------*/
.section-05 {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
  padding: 100px 0;
  background-color: #9ae6f7;                 /* フォールバック */
  background-color: var(--bg-blue, #9ae6f7); /* 変数 */
  position: relative;
  overflow: hidden; /* スマホで装飾がはみ出すのを回避 */
  z-index: 0;
}

/*------------------------------
  装飾写真（四隅の絶対配置）
------------------------------*/
.staff-img-01,
.staff-img-02,
.staff-img-03,
.staff-img-04{
  height: 300px;	
  position: absolute;
  z-index: 50;
  pointer-events: none;
  user-select: none;
  opacity: .9;
}

.staff-img-01{ top:35%; left: 15%; }
.staff-img-02{ top:50%; right: 12%; }
.staff-img-03{ top:5%;  right: 12%; }
.staff-img-04{ top:75%; left: 12%; }

/*------------------------------
  見出し（カード内のh2）
------------------------------*/
.section-05 h2{
  padding-top: 50px;
  font-size: 2rem; /* フォールバック */
  font-size: clamp(1.6rem, 2.2vw + 1rem, 2rem);
  font-family: "Kosugi Maru", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", "Arial Rounded MT Bold", "游ゴシック", sans-serif;
  color: #fc7878;
  text-align: center;
}

/*------------------------------
  コメントカード（staff-01 / staff-02）
------------------------------*/
.staff-01,
.staff-02{
  width: 90vw;                               /* フォールバック */
  max-width: var(--card-w-max, 900px);       /* 変数 */
  margin: 0 auto;
  background-color: #fff;
  padding: 15px 20px 150px;
  border-radius: 15px;
  position: relative;
  z-index: 2; /* 装飾写真より前面 */
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* カード右下のイラスト（各カード固有画像） */
.staff-01 img{
  max-height: 300px;
  position: absolute;
  bottom: -50px;
  right: -50px;
}
.staff-02 img{
  max-height: 250px;
  position: absolute;
  bottom: -50px;
  right: -50px;
}

/* 見出し余白 */
.staff-01 h2,
.staff-02 h2{
  margin: 30px auto;
}

/* 本文（行長を少し短く） */
.staff-01 p{
  text-align: left;
  width: 60%;
  margin: 0 auto;
  line-height: 1.9;
  font-size: 1.2rem;
}
.staff-02 p{
  text-align: left;
  width: 62%;
  margin: 0 auto;
  line-height: 1.9;
  font-size: 1.2rem;
}

/* 署名行 */
.staffcomment-span{
  display: block;
  margin-top: 50px;
  font-size: 1rem;
  color: #555;
}

/*------------------------------------
  横スクロールギャラリー（1100px以下で使用）
  デフォルトは非表示。ブレークポイントで表示に
-------------------------------------*/
.staff-img-strip{
  display: none;      /* 1100px以下で display:block に */
  width: 900px;       /* フォールバック */
  width: min(900px, 92vw);
  margin: 16px auto 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* 中のトラック（JSで .strip-track を生成） */
.staff-img-strip .strip-track{
  display: flex;
  gap: 16px;
  align-items: center;
  will-change: transform;
}

/* トラック内に移動した装飾写真の見た目 */
.staff-img-strip img{
  display: block !important;       /* 元の display:none を上書き */
  position: static !important;     /* 絶対配置を解除 */
  height: 160px;
  width: auto;
  flex: 0 0 auto;
  border-radius: 12px;
  user-select: none;
  pointer-events: none;
}

/* 端のフェード（視覚補助：任意） */
.staff-img-strip::before,
.staff-img-strip::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:32px;
  pointer-events:none;
}
.staff-img-strip::before{
  left:0;
  background:linear-gradient(to right, rgba(255,255,255,.9), rgba(255,255,255,0));
}
.staff-img-strip::after{
  right:0;
  background:linear-gradient(to left, rgba(255,255,255,.9), rgba(255,255,255,0));
}
/*------------------------------------
  1500px以下の微調整
-------------------------------------*/
@media (max-width: 1500px){
  .staff-img-01{ top:35%; left: 0%; }
  .staff-img-02{ top:50%; right: 0%; }
  .staff-img-03{ top:5%;  right: 0%; }
  .staff-img-04{ top:75%; left: 0%; }
}

/*------------------------------------
  1100px以下：.staff-img をスライドショー化
-------------------------------------*/

@media (max-width:1100px){
  .staff-img{
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    display: block;       /* トラックはJSで入れるのでここはblock */
  }

  /* 流れるトラック（JSで生成） */
  .staff-img .staff-flow{
    display: flex;
    align-items: center;
    gap: 16px;
    will-change: transform;
    animation: staff-marquee var(--marquee-duration, 30s) linear infinite;
  }

  /* 画像見た目（absolute指定の打ち消し） */
  .staff-img .staff-flow img{
    display: block !important;
    position: static !important;
    height: 180px;
    width: auto;
    flex: 0 0 auto;
    border-radius: 12px;
    opacity: 1;
    user-select: none;
    pointer-events: none;
  }
	
	/*カード内テキスト幅とイラスト位置*/
	.staff-01,.staff-02{
		padding-bottom: 100px;
	}
	.staff-01 p,.staff-02 p{
  width: 95%;
  font-size: 1.2rem;
		
}
	.staff-01 img{
		max-height: 200px;
	    left: -3%;
	}

	.staff-02 img{
		max-height: 200px;
		right: -5%;
	}
  /* ホバーで一時停止したい場合（不要なら削除可） */
  .staff-img:hover .staff-flow{
    animation-play-state: paused;
  }
}

/* キーフレーム：距離はJSで変数指定（--marquee-distance） */
@keyframes staff-marquee{
  from{ transform: translateX(0); }
  to  { transform: translateX(calc(-1 * var(--marquee-distance, 1000px))); }
}




/*❎リクルート問い合わせ用*/	
.contact-no span{
	color: #0080ff;
	font-size: 1.2rem;
	font-weight: 600;
}