/* 最低限タブが機能するのに必要なスタイル*/
.tab_item {}

.tab_item>.cont-main {
  opacity: 0;
  transition: .5s ease all;
  position: relative;
  top: 120px;
  height: 0;
  pointer-events: none
}

.tab_item.is-active-item>.cont-main {
  opacity: 1;
  transition: .5s ease all;
  position: relative;
  top: 0;
  height: auto;
  pointer-events: all;
}

.tab-item-area {
  position: relative;
}

/* ******* 主要修改部分 ******** */
#tab-recruit-information .tab-item-area .tab_item {
  padding-top: 0;
  position: absolute;
  top: 0;
  /* 必须要设定宽度 */
  width: 100%;
}

#tab-recruit-information .tab-item-area .tab_item.is-active-item {
  /* 其实最好使用下面两行padding+margin来取消页头的遮蔽，但在这里无法正常运作，只能使用下面的scroll-margin-top */
  /*     padding-top: 130px; */
  /*     margin-top: -130px; */
  position: relative;
  top: 0;
  /* 这是最主要的，跳转到指定位置后，因为会被页头遮住一部分，所以使用此命令再滑动一部分，此处的150px为最小的手机版的滑动距离 */
  scroll-margin-top: 150px;
}

/* 平板的滑动距离 */
@media (min-width: 768px) {
  #tab-recruit-information .tab-item-area .tab_item.is-active-item {
    scroll-margin-top: 200px;
  }
}

/* 电脑的滑动距离 */
@media (min-width: 992px) {
  #tab-recruit-information .tab-item-area .tab_item.is-active-item {
    scroll-margin-top: 250px;
  }
}

/* ******* 这里为止 ******** */


@media screen and (min-width: 768px) {
  .tab-btn-area .tab_btn {
    min-width: 170px;
  }
}

@media screen and (max-width: 767px) {
  .top-img {
    margin-top: 15px;
  }

  .s-center {
    text-align: center;
  }

  .ttl-area .title .ttl {
    margin-bottom: 0px;
  }

  .row-features .title {
    text-align: center;
    margin-top: 20px;
  }

  .name-information {
    font-weight: 500;
    font-size: 11px;
  }

  .voice-title-all {
    border-bottom: 2px solid #007e62;
    padding-bottom: 15px;
    margin-bottom: 20px;
    margin-top: 20px;
    display: inline-block;
  }

  .tab-btn-area .tab_btn {
    width: 100%;
    padding: 5px;
    display: inline-block;
  }

  .cont.bg-white-1 {
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    margin-top: 0px;
  }

  .row-chikugo {
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    margin-top: 0px;
  }
}

.tab-btn-area .tab_btn {
  text-align: center;
}

.tab-item-area .button-center a:hover svg {
  fill: #007e62;
}

.button-center a span {
  display: flex;
  font-size: 18px;
  font-weight: 400;
}

.button-center a span svg {
  margin-right: 5px;
  width: 22px;
  height: 22px;
}


.president-name {
  margin-left: 20px;
}

@media screen and (min-width: 768px) {

  .name-information {
    font-weight: 500;
    font-size: 18px;
  }

  .president-area {
    margin-top: 60px;
  }



  .cont.bg-white-1 {
    padding: 60px;
    background: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
  }

  .row-chikugo {
    padding: 30px;
    background: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
  }

  .voice-title-all {
    border-bottom: 2px solid #007e62;
    padding-bottom: 15px;
    margin-bottom: 15px;
    display: inline-block;
  }
}

.president-area {
  display: flex;
  align-items: center;
  justify-content: end;
}

.title .ttl-03.green {
  border-bottom: 2px solid #007e62;
  padding-bottom: 10px;
  position: relative;
  display: inline-block;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.middle-text {
  margin-top: 15px;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #c3c8d6;
}

.middle-img {
  margin-bottom: 30px;
}

.chikugo-all p {
  color: #565656;
}


.row-voice {
  border-bottom: 2px solid #f6f6f6;
  padding-bottom: 20px;
}

.part-1 p {
  font-size: 18px;
  line-height: 2;
}

.button-center a {
  border-radius: 0;
}

.row-chikugo p {
  text-align: left;
}

#data,
#interview,
#information {
  margin-top: -112px;
  padding-top: 112px;
}

.training-img-text-all {
  display: flex;
  justify-content: center;
}

.row.training-1 ul {
  padding-left: 0;
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
  .row.training-1 ul li {
    list-style-type: none;
    margin-top: 20px;
  }

  .training-img-text-all {
    justify-content: flex-start;
  }
}
