html { font-size: 62.5%; }

/*スタッフの声ここから*/
.balloon {
  width: 100%;
  margin: 1.5em 0;
  overflow: hidden;
}

.balloon .faceicon {
  float: left;
  margin-right: -90px;
  width: 80px;
}

.balloon .faceicon img{
  width: 100%;
  height: auto;
	margin: 25px 0 20px 100px;
}

.balloon .chatting {
  width: 100%;
}

.says {
  display: inline-block;
  position: relative; 
  margin: 20px 0 0 200px;
  padding: 17px 13px;
  border-radius: 12px;
	background: #FFF;
}

.says:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 18px; 
  left: -24px;
  border: 12px solid transparent;
  border-right: 12px solid #FFF;
}

.says p {
  margin: 0;
  padding: 0;
	background-color:#FFF;
	font-size:1.2rem;
}

.staff_voice {
    background: #E6E6E6;
	margin-top: -30px;
	padding-bottom:10px;
}
.staff_voice .staff_voice_honbun{
	background: #FFF;
	padding:20px 50px 1px 50px;
	border-radius: 10px;
	margin: -50px 30px 50px 30px;
}
.staff_voice .staff_voice_honbun .staff_voice_honbun2{
	margin:30px 20px;
	text-align: left;
	font-size:1.2rem;
}
.staff_voice .staff_voice_honbun .staff_voice_honbun2 .merit{
	color:#3B81B2;
	text-align:center;
	margin-top:5px;
}
.staff_voice .staff_voice_honbun .staff_voice_honbun2 span{
	color:#E15C4D;
}
.staff_voice .staff_voice_honbun .title{
    margin: 0 auto;
	text-align:center;
	border-bottom:solid 2px #3B81B2;
	font-size:1.2rem;
}
.staff_voice .staff_voice_honbun img{
	width: 50px;
}
.staff_voice p {
    margin: 0 auto;
}

/*スタッフの声ここまで*/

/* フォント */
p.font1{
    font-size:2rem;
    width: 450px;
    margin-left: auto;
    margin-top: 180px;
    margin-bottom: 50px;
    padding:15px 5px;
    color: #fff;
    background-color: #3B81B2;
    z-index: 999;
    position: relative
}

p.font1 bold{
    font-size:2.3rem;
    font-weight:bold;
}

p.font2{
    font-size:1.8rem;
    width: auto;
    margin-right: auto;
    /* margin-bottom: 15px; */
    padding:15px 5px;
    color: #fff;
    background-color: #3B81B2;
}

p.font3{
    font-size: 1.8rem;
    font-weight:bold;
    color: #E15C4D;
}

p.font4{
    font-size: 1.2rem;
}

p.font5{
    font-size: 1.3rem;
    font-weight:bold;
}

p.font6{
    font-size: 1.2rem;
    font-weight:bold;
    color: #fff;
}

p.font7{
    font-size: 1.2rem;
    color: #fff;
}

p.font8{
    font-size: 1.3rem;
    font-weight:bold;
    text-align: center;
    margin-top: 30px;
}

p.font9{
    font-size: 1.3rem;
    text-align: right;
    margin-bottom: 20px;
}

p.font10{
    font-size: 1.2rem;
    margin-top: auto;
}

/* p.font11{
    font-size:1.8rem;
    width: auto;
    margin: 30px 50px 70px 50px;
    padding:20px;
    color: #fff;
    background-color: #E15C4D;
    border-radius: 5px;
    text-align: center;
}
p.font11 a{
	text-decoration: none !important; 
    color: #fff;
} */

.linkm{
    font-size:2rem;
    margin-top: 50px;
    margin-bottom: 50px;
    color: #fff;
    text-align: center;

}

.linkm a{
    font-size:2rem;
    padding:15px 100px;
    color: #fff;
    background-color: #E15C4D;
    border-radius: 5px;
    text-align: center;
	text-decoration: none;
}
.linkm a:hover {
    background-color: #E15C4D;
    color: #fff;
}

p.font12{
    font-size: 1.3rem;
    margin: 10px 30px;
}

/* TOP画像 */
header {
	overflow: hidden;
	position: relative;
	width: 100%;
	/* height: 50vh; */
}
header figure {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
}
header figure img {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: auto;
	transform: translate(-50%, -50%);
    z-index: 1;
}

/* 女性の画像と文字 */
.img-container{
    display:flex;
    justify-content:center;
    align-items: center;
  }
.img-container img{
    width: 50%;
}

.text {
    margin: 0 10px;
}

/* コンテンツラップ */
.contents_wrap{
    margin: 30px 20px;
}

/* 画像を3つならべる */
.flex_test-box {
    background-color: #E6E6E6;     /* 背景色指定 */
    padding:  10px;  
    display: flex;
    justify-content:center;
    flex-wrap: wrap; 
    margin-bottom: 30px;
}
.flex_test-item {
    padding: 5px 15px;
    color:  #000;               /* 文字色 */
    margin:  10px;              /* 外側の余白 */
    border-radius:  5px;        /* 角丸指定 */
    width: 15%;                 /* 幅指定 */
    text-align:  center;  
}
.flex_test-item img{
    width:40%;
}
.flex_test-item:nth-child(1) {
    background-color:  #fff; /* 背景色指定 */
    opacity: .8;
    flex-basis:  25%;
}
.flex_test-item:nth-child(2) {
    background-color:  #fff; /* 背景色指定 */
    opacity: .8;
    flex-basis:  25%;
}
.flex_test-item:nth-child(3) {
    background-color: #fff; /* 背景色指定 */
    opacity: .8;
    flex-basis:  25%;
}

/* 申し込みの流れ */
.flex_moushikomi-box {
    background-color: #fff;     /* 背景色指定 */
    padding:  10px;  
    display: flex;
    justify-content: space-between;
    align-items:center;
    flex-wrap: wrap; 
    margin-bottom: 30px;
}
.flex_moushikomi-item {
    padding: 5px 0px;
    color:  #000;               /* 文字色 */
    /* margin:  5px;              外側の余白 */
    border-radius:  5px;
    /* width: 15%; */
    text-align:  center;  
}
.flex_moushikomi-item:nth-child(1) {
    background-color:  #3B81B2; /* 背景色指定 */
    flex-basis:  30%;
}
.flex_moushikomi-item:nth-child(2) {
    margin-left: 10px;
}
.flex_moushikomi-item:nth-child(3) {
    background-color:  #3B81B2; /* 背景色指定 */
    flex-basis:  30%;
}
.flex_moushikomi-item:nth-child(4) {
    margin-left: 10px;

}
.flex_moushikomi-item:nth-child(5) {
    background-color: #3B81B2; /* 背景色指定 */
    flex-basis:  30%;
}

.arrow{
    position: relative;
    display: inline-block;
    padding-left: 20px;
  }
  
.arrow::before{
    content: '';
    width: 6px;
    height: 6px;
    border: 0px;
    border-top: solid 2px #000;
    border-right: solid 2px #000;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -4px;
}

/* 対応職種 */
.flex_shokushu-box {
    background-color: #fff;     /* 背景色指定 */
    padding:  10px;  
    display: flex;
    justify-content:space-between;
    flex-wrap: wrap; 
    /* margin-bottom: 30px; */
}
.flex_shokushu-item {
    padding: 10px;
    color:  #000;               /* 文字色 */
    margin:  5px;              /* 外側の余白 */
    border-radius:  5px;        /* 角丸指定 */
    width: 15%;                 /* 幅指定 */
    flex-direction: column;
    display: flex;
    text-align:  center;  
}
.flex_shokushu-item img{
    width:70%;
    margin: auto;
}
.flex_shokushu-item:nth-child(1) {
    background-color:  #fff; /* 背景色指定 */
    flex-basis:  20%;
}
.flex_shokushu-item:nth-child(2) {
    background-color:  #E6E6E6; /* 背景色指定 */
    flex-basis:  20%;
}
.flex_shokushu-item:nth-child(3) {
    background-color: #fff; /* 背景色指定 */
    flex-basis:  20%;
}
.flex_shokushu-item:nth-child(4) {
    background-color:  #E6E6E6; /* 背景色指定 */
    flex-basis:  20%;
}
.flex_shokushu-item:nth-child(5) {
    background-color:  #E6E6E6; /* 背景色指定 */
    flex-basis:  20%;
}
.flex_shokushu-item:nth-child(6) {
    background-color: #fff; /* 背景色指定 */
    flex-basis:  20%;
}
.flex_shokushu-item:nth-child(7) {
    background-color:  #E6E6E6; /* 背景色指定 */
    flex-basis:  20%;
}
.flex_shokushu-item:nth-child(8) {
    background-color:  #fff; /* 背景色指定 */
    flex-basis:  20%;
}



/* メディアクエリ */
@media screen and (max-width: 767px) {
    header{
	position: relative;
    height: 35vh;
    }
    header figure{
    height:70%;
    }
    p.font1{
    padding: auto;
    font-size: 1.5rem;
    }
    .flex_test-box {
        flex-direction: column;
        justify-content: space-between;
        align-items:center;
      }
    .flex_test-item{
        width: 80%;
      }
    .flex_test-item img{
        width:20%;
    }

    .flex_moushikomi-box {
      flex-direction: column;
    }
    .flex_moushikomi-item{
      width: 90%;
      margin: 5px auto;
    }
    .arrow{
        position: relative;
        display: inline-block;
        padding-left: 20px;
      }
      
    .arrow::before{
        content: '';
        width: 6px;
        height: 6px;
        border: 0px;
        border-bottom: solid 2px #000;
        border-left: solid 2px #000;
        /* -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg); */
        transform: rotate(-45deg);
        position: absolute;
        top: 50%;
        left: 0;
        margin-top: -4px;
    }
    .flex_shokushu-box {
        justify-content:center;
      }
    .flex_shokushu-item{
      }
    .flex_shokushu-item img{
    width:100%;
    }    
  .flex_shokushu-item:nth-child(1) {
    background-color:  #fff; /* 背景色指定 */
    flex-basis:  20%;
}
.flex_shokushu-item:nth-child(2) {
    background-color:  #fff; /* 背景色指定 */
    flex-basis:  20%;
}
.flex_shokushu-item:nth-child(3) {
    background-color: #fff; /* 背景色指定 */
    flex-basis:  20%;
}
.flex_shokushu-item:nth-child(4) {
    background-color:  #fff; /* 背景色指定 */
    flex-basis:  20%;
}
.flex_shokushu-item:nth-child(5) {
    background-color:  #fff; /* 背景色指定 */
    flex-basis:  20%;
}
.flex_shokushu-item:nth-child(6) {
    background-color: #fff; /* 背景色指定 */
    flex-basis:  20%;
}
.flex_shokushu-item:nth-child(7) {
    background-color:  #fff; /* 背景色指定 */
    flex-basis:  20%;
}
.flex_shokushu-item:nth-child(8) {
    background-color:  #fff; /* 背景色指定 */
    flex-basis:  20%;
}
p.font12{
    font-size: 1.3rem;
    margin: 10px 20px;
}
.linkm a{
    padding:20px 10px;
}

.balloon .faceicon img{
    width: 100%;
    height: auto;
    margin: 25px 0 20px 20px;
  }
.says {
    margin: 20px 20px 0 110px;		
	}
.staff_voice .staff_voice_honbun{
	margin: -50px 10px 50px 10px;
  }
.staff_voice .staff_voice_honbun .staff_voice_honbun2{
      margin:20px 0;
      text-align: left;
  }
.staff_voice .staff_voice_honbun img{
      display:none;
  }
  }

