@charset "utf-8";

.cont_img {
  background-image: url(../images/cont_img.jpg);
}

.inner {
  overflow: visible;
}


/*============================
社員インタビュー
============================*/

#interview .inner {
  background-color: #f8f8f8;
  position: relative;
  padding-bottom: 100px;
}

#interview .inner::before {
  content: "";
  display: block;
  background-color: #f8f8f8;
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  right: -50%;
}

#interview .inner > .flex {
  padding-top: 100px;
}

#interview .catch {
  width: 160px;
}

#interview .catch p {
  writing-mode: vertical-rl;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 auto;
}

#interview .people_box {
  width: 880px;
  position: relative;
  font-weight: 700;
}

#interview .people_box:not(.first_box) {
  margin-top: 60px;
}

#interview .right_staff {
  margin: 0 0 0 auto;
}

#interview .people_box p.people {
  background: url(../images/interview/01.jpg) no-repeat center center;
  background-size: 100%;
  width: 880px;
  height: 0;
  padding-top: 340px;
  overflow: hidden;
}

#interview .people_box p.people.img02 {
  background-image: url(../images/interview/02.jpg);
}

#interview .people_box p.people.img03 {
  background-image: url(../images/interview/03.jpg);
}

#interview .people_box p.people.img04 {
  background-image: url(../images/interview/04.jpg);
}

#interview .hidden-box {
  position: relative;
  counter-reset: number 0;
}

#interview .hidden-box .box {
  -js-display: flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 50px;
  padding-left: 55px;
}


/*チェック時は見えなくする*/

.hidden-box input {
  display: none;
}


/*中身を非表示にしておく*/

.hidden-box .hidden-show {
  height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.8s;
  position: relative;
  z-index: 1;
  padding-left: 160px;
}


/*クリックで中身表示*/

.hidden-box input:checked ~ .hidden-show {
  height: auto;
  opacity: 1;
  grid-row-gap: 0;
}


/*ボタンの装飾*/

.hidden-box label {
  cursor: pointer;
  transition: 0.5s;
  display: block;
  background-color: #171717;
  color: #f8f8f8;
  font-weight: 700;
  text-align: center;
  line-height: 80px;
  width: 80px;
  height: 80px;
  position: absolute;
  right: 20px;
  top: -60px;
  border-radius: 50%;
  z-index: 10;
}

.hidden-box label::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-top: 6px solid #f8f8f8;
  border-bottom: 0;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  margin: auto;
}

.hidden-box label.left {
  right: 180px;
}


/*ボタンホバー時*/

.hidden-box label:hover {
  opacity: 1;
  background-color: #da1516;
}

.hidden-show {
  -js-display: flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.hidden-show .box {
  width: 100%;
}

.hidden-show .box:nth-of-type(1) {
  margin-top: 40px;
}

.hidden-show .box {
  position: relative;
}

.hidden-show .box::before {
  counter-increment: number 1;
  /* number カウンタを増加 */
  content: "Q"counter(number) ".";
  /* 表示形式を指定 */
  font-size: 26px;
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 600;
  color: #171717;
  display: block;
  position: absolute;
  left: 0;
  top: -5px;
}

.hidden-show .box .question {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  width: 100%;
  /*  padding-left: 30px;*/
}

.hidden-show .box .question p {
  font-size: 18px;
  font-weight: 700;
  font-family: 'Noto Sans JP';
}

.hidden-show .box .answer {
  width: 100%;
}

@media only screen and (max-width: 768px) {
  #interview .inner {
    padding-bottom: 40px;
  }

  #interview .inner::before {
    right: -40%;
  }

  #interview .inner > .flex {
    padding-top: 40px;
    display: block;
  }

  #interview .catch {
    display: none;
  }

  #interview .people_box {
    width: 100%;
  }

  #interview .people_box:not(.first_box) {
    margin-top: 60px;
  }

  #interview .people_box p.people {
    background-image: url(../images/interview/01_sp.jpg);
    width: 100%;
    padding-top: 89.55%;
  }

  #interview .people_box p.people.img02 {
    background-image: url(../images/interview/02_sp.jpg);
  }

  #interview .people_box p.people.img03 {
    background-image: url(../images/interview/03_sp.jpg);
  }

  #interview .people_box p.people.img04 {
    background-image: url(../images/interview/04_sp.jpg);
  }

  #interview .hidden-box .box {
    margin-top: 30px;
  }

  /*中身を非表示にしておく*/
  .hidden-box .hidden-show {
    padding-left: 10px;
  }

  /*ボタンの装飾*/
  .hidden-box label {
    right: 10px;
  }

  .hidden-box label.left {
    right: 10px;
  }

  .hidden-show .box::before {
    /* 表示形式を指定 */
    font-size: 23px;
    top: -3px;
  }

  .hidden-show .box .question p {
    font-size: 17px;
  }
}
