
@charset "utf-8";



/*==================================================
スライダーのためのcss
===================================*/
.slider {
   top: 70px;
   margin-bottom:50px;
   position:relative;
   z-index: 1;
  /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
  height: 100vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}

.slider-top,
.slider-bottom {
    height: 50vh;/*スライダー上下の縦幅を画面の高さの半分（50vh）にする*/
}

/*　背景画像設定　*/

.slider-item01 {
    background:url("../img/recruit/image01.jpg");
}

.slider-item02 {
    background:url("../img/recruit/image02.jpg");
}

.slider-item03 {
    background:url("../img/recruit/image03.jpg");
}

.slider-item04 {
    background:url("../img/recruit/image04.jpg");
}

.slider-item05 {
    background:url("../img/recruit/image05.jpg");
}

.slider-item06 {
    background:url("../img/recruit/image06.jpg");
}

.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height:50vh;/*各スライダーの縦幅を画面の高さの半分（50vh）にする*/
    background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}

.display{
 display:flex;
 flex-direction:row;
}



/*==各対象ボタン==*/

.bt_center{
 text-align:center;
}

.btnlinestretches{
    /*線の基点とするためrelativeを指定*/
  position:relative;
    /*ボタンの形状*/
  color:#333;
  border:2px solid #333;
  padding: 45px 40px; 
  margin: 30px;
  display:inline-block;
  text-decoration: none;
  outline: none;
    /*アニメーションの指定*/
  transition:all 0.3s ease-in-out;
  width: 120px;
}

/*hoverした際の背景の形状*/
.btnlinestretches:hover{
  background:#333;
  color: #fff;
  border-color:transparent;
}

/*線の設定*/
.btnlinestretches::before,
.btnlinestretches::after {
  content:'';
    /*絶対配置で線の位置を決める*/   
  position:absolute;
  border:solid #333;
  width:10px;
  height:10px;
    /*アニメーションの指定*/
  transition:all 0.3s ease-in-out;
}

/*線の位置と形状*/
.btnlinestretches::before{
  top:-6px;
  left:-6px;
  border-width:2px 0 0 2px;
}

/*線の位置と形状*/
.btnlinestretches::after{
  bottom:-6px;
  right:-6px;
  border-width:0 2px 2px 0;
}

/*hoverした際の線の形状*/
.btnlinestretches:hover::before,
.btnlinestretches:hover::after{
  width:calc(100% + 11px);
  height:calc(100% + 11px);
  border-color:#666;
}

/*事業説明のレイアウト*/

.flexbox {
  display: flex;
  margin: 0 15%;
  align-items: center;
  width: 70%;
  background: #fff;
  color: #000;
  text-decoration: none;
}

.flexbox:nth-child(even) {
  flex-direction: row-reverse;
}

.flex-img {
  width: 50%;
  padding: 0px;
}


.flexbox img {
  display: flex;
  width: 50%;
  object-fit: cover;
  transform: scale(1);
  transition: .3s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
}

.flexbox:hover img{
    width:50%;
    transform: scale(1.05,1.05);
}

.flex-item {
  width: 43%;
  justify-content: flex-start;
  padding: 20px;
}


/*==文字と画像リンク==*/
/*.image_tag{
  display: flex;
  margin: 0 15%;
  align-items: center;
  width: 70%;
  background: #fff;
  color: #000;
  text-decoration: none;
}*/

/*
.image_tag span{
  padding: 30px 30px;
}*/

/*.image_tag img{
  display: flex;
  width: 50%;
  object-fit: cover;
  transform: scale(1);
  transition: .3s ease-in-out;
}*/

/*.image_tag:hover img{
    width:50%;
    transform: scale(1.05,1.05);
}*/

.mask{
    display: inline-block
    line-height: 0;/*行の高さを0にする*/
    overflow: hidden;/*拡大してはみ出る要素を隠す*/
}


/*==右下寄せ==*/
.right_bottom{
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
/*==社員の声==*/

.opinion{
 display: flex;
 justify-content:center;
}

.opinion ul{
  margin: 0 3% 300px;
  display:flex;
  list-style-type: none;
/*  width: 100%;*/
}
.opinion li{
  display: flex;
  align-self: auto;
  flex: 1;
/*  border-right: 1px solid #fff;
  min-width: 0;*/
}


.recruit{
  position:relative;
/*  width:500px;
  height:400px;*/
  width:300px;
  height:autop;
  margin: 0 40px;
}

.recruit img{
  width: 250px;
  height: 250px;
  object-fit: cover;
  position:absolute;
  padding: 0 0 30px;
}

.recruit p{
  position:absolute;
  top:110px;
  left:150px;
  width:200px;
  background:#fff;
  padding:10px;
  box-shadow:0 0 3px #000;
  font-size:12px;
  line-height:24px;
}

/*事業内容等用*/
.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 250px;
  max-width: 1000px;
  margin: 50px auto;
  gap: 0;
}

.grid-link {
  display: contents; /* 親リンクが grid 要素全体に適用される */
  text-decoration: none;
  color: inherit;
}

.grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  transition: background 0.3s ease;
}

.image {
  background-size: cover;
  background-position: center;
}

.image-service {
  background-image: url('../img/recruit/image08.jpg');
}

.image-company {
  background-image: url('../img/recruit/image09.jpg');
}

.service-text {
  flex-direction: column;
  background-color: #f9f9f9;
}

.text h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #00509e;
}

.text p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  color: #333;
}

.grid-item:hover {
  background-color: #f0f0f0;
}



/*社員の声用*/

.team-voices {
  max-width: 900px;
  margin: 0 auto 100px;
  padding: 0 20px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.team-voices h2 {
  text-align: center;
  margin-bottom: 50px;
  color: #333;
}

.voices-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.voice-item {
  display: flex;
  background: #f3f3f3;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  margin-bottom: 30px;
  padding: 20px;
  align-items: center;
  transition: box-shadow 0.3s ease;
}

.voice-item:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.voice-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: #0077cc;
  color: white;
  font-weight: bold;
  font-size: 2.5rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 30px;
  user-select: none;
  box-shadow: 0 4px 10px rgba(0,119,204,0.3);
}

.voice-text h3 {
  margin: 0 0 12px 0;
  font-size: 1.5rem;
  color: #0077cc;
}

.voice-text p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #555;
}

@media screen and (max-width: 600px) {
  .grid-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    margin: 20px auto !important;
    width: 90% !important;
  }

  .grid-item {
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    border-radius: 15px !important; /* 丸い枠を追加 */
    overflow: hidden !important;
    margin-bottom: 20px !important;
  }

  /* 画像の高さを大きく */
  .grid-item.image {
    height: 300px !important;
    background-position: center !important;
    background-size: cover !important;
    width: 100% !important;
  }

  .grid-item .text {
    padding-top: 10px !important;
    font-size: 14px !important;
    text-align: center !important;
    width: 100% !important;
    padding: 15px !important;
  }

  /* 事業内容リンクの枠調整 */
  a.grid-link:first-child {
    display: flex;
    flex-direction: column;
    gap: 0 !important; /* 隙間をなくす */
    border-radius: 15px !important; /* 丸い枠 */
    overflow: hidden !important; /* 枠の外に飛び出ないように */
    background-color: #fff !important; /* 背景色 */
  }

  /* 事業内容の画像 */
  a.grid-link:first-child .image {
    width: 100%;
    height: auto;
    background-size: cover;
    background-position: center;
    order: -1; /* 画像をテキストの上に持ってくる */
  }

  /* 事業内容のテキスト */
  a.grid-link:first-child .service-text {
    padding: 15px;
    text-align: center;
    background-color: #fff; /* 背景色 */
    order: 1; /* テキストを画像の後に持ってくる */
  }

  /* 会社情報リンク調整 */
  a.grid-link:last-child {
    display: flex;
    flex-direction: column;
    gap: 0 !important; /* 隙間なし */
    border-radius: 15px !important; /* 丸い枠 */
    overflow: hidden !important;
    background-color: #fff !important; /* 背景色 */
  }

  /* 会社情報の画像 */
  a.grid-link:last-child .image {
    height: 300px !important;
    background-size: cover !important;
    background-position: center !important;
    width: 100% !important;
    order: -1; /* 画像をテキストの上に */
  }

  /* 会社情報のテキスト */
  a.grid-link:last-child .service-text {
    padding: 15px !important;
    text-align: center !important;
    background-color: #fff !important;
    order: 1; /* テキストを画像の後に */
  }
}

/*レスポンシブ用に縦並びにする*/
@media screen and (max-width: 960px) {
  .option{
  text-align:center;
  flex-direction: column;
  }
  
/* .opinion ul{
  margin: 0 3% 300px;
  flex-direction: column;
  flex-flow: column;
  list-style-type: none;
  }
 .opinion li{
  align-self: auto;
  flex: 1;
  }
  
  .recruit{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width:300px;
  margin: 0 40px;
  }

.recruit img{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 250px;
  height: 250px;
  object-fit: cover;
  padding: 0 0 30px;
  }

.recruit p{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width:200px;
  padding:10px;
  font-size:12px;
  }
*/
 .opinion ul {
    flex-direction: column;
    padding: 0;
    margin: 0 auto;
    width: 90%;
  }

  .opinion li {
    width: 100%;
    margin-bottom: 20px;
    justify-content: center;
  }

  .recruit {
    width: 100%;
    margin: 0 auto;
    position: relative;
  }

  .recruit img {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin: 0 auto;
    position: static;
  }

  .recruit p {
    position: static;
    width: 100%;
    background: #fff;
    padding: 10px;
    box-shadow: 0 0 3px #000;
    font-size: 12px;
    margin-top: 10px;
    text-align: center;
  }
  .bk_color{
   background-color: #f3f3f3;
   flex-direction: column;
  }
  
   .flexbox {
  width: 90%;
  margin: 10px auto;
  display: flex;
  flex-direction: column;
   }

   .flexbox:nth-child(even) {
  display: flex;
  flex-direction: column;
   } 


   .flex-img {
  width: 90%;
   }


   .flexbox img {
  width: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: .3s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
   }

   .flexbox:hover img{
    width:92%;
    transform: scale(1.05,1.05);
   }

   .flex-item {
   width: 100%;
   justify-content: flex-start;
   padding: 10px;
   }
.voice-item {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .voice-icon {
    margin: 0 0 20px 0;
    width: 100px;
    height: 100px;
    font-size: 3rem;
  }

  .voice-text h3 {
    font-size: 1.8rem;
  }

  .voice-text p {
    font-size: 1.2rem;
  }
 
  
}


/*==社内環境==*/

.environment{
 display: flex;
}

.environment ul{
  margin: 0 15%;
  display:flex;
  list-style-type: none;
}
.environment li{
  margin: 0 55px;
  display: flex;
  align-self: auto;
  flex: 1;
}



.box26 {
    position: relative;
    margin: 2em 0;
    padding: 10px 10px;
    border: solid 3px #95ccff;
    border-radius: 8px;
    width: 150px;
}
.box26 .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: #95ccff;
    font-weight: bold;
}

.box26 p {
    margin: 0; 
    padding: 0;
}

.box_img{
    background-position: 20px 30px;
    background-image: url(../img/recruit/Benefits/schedule.jpg);
    background-size: contain;
}

.bk_color{
 background-color: #f3f3f3;
 text-align: center; /* h2を中央揃え */

}


/*==先輩たちの声==*/
.box29 {
    margin: 1em 0.5em;
    background: #dcefff;
}
.box29 .box-title {
    font-size: 1.2em;
    background: #5fb3f5;
    padding: 4px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.box29 p {
    padding: 15px 20px;
    margin: 0;
    width:20em;
}

/*==アコーディオンメニュー==*/

/*アコーディオン全体*/
.accordion-area{
    list-style: none;
    width: 96%;
    max-width: 900px;
    margin:0 auto;
}

.accordion-area li{
    margin: 10px 0;
}

.accordion-area section {
  border: 1px solid #ccc;
}

/*アコーディオンタイトル*/
.title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:1rem;
    font-weight: normal;
    padding: 3% 3% 3% 50px;
    transition: all .5s ease;

}

/*アイコンの＋と×*/
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #333;
    
}
.title::before{
    top:48%;
    left: 15px;
    transform: rotate(0deg);
    
}
.title::after{    
    top:48%;
    left: 15px;
    transform: rotate(90deg);

}

/*　closeというクラスがついたら形状変化　*/

.title.close::before{
  transform: rotate(45deg);
}

.title.close::after{
  transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.box {
  display: none;/*はじめは非表示*/
  background: #f3f3f3;
  margin:0 3% 3% 3%;
  padding: 3%;
}


/*========= レイアウトのためのCSS ===============*/


.center{
 justify-content:center;
 align-items:center;
}


h2{
 margin: 0; /* デフォルトのマージンをリセット */
   text-align: center; /* 中央揃え */

}



.slider h1{
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size:6vw;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
/*
.container{
  background:#555;
}

.container p{
  padding: 300px 0; 
  text-align: center;
  color: #fff;
}+/


.center_all{
   margin: 0 auto;
}


