/* 後で共通に */
.en-title {
  display: inline-block;
  padding: 25px 100px;
  background-image: url(../img/service-title-bg1.svg), url(../img/service-title-bg2.svg);
  background-position: left center, right center;
}

/* 後で共通に */
.pc-non {
  display: none;
}

.hero {
  margin-top: 200px;
}

/* タブ表示 */
.main-txt {
  font-size: 18px;
  line-height: 2;
}

.tab-exam {
  text-align: center;
  font-size: 20px;
  color: #66c7c2;
  padding-top: 50px;
}

/*tabの形状*/
.tab {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
}

.tab li {
  flex: 1;
  position: relative;
}

.tab li a {
  height: 80px;
  display: block;
  color: #aaa;
  padding: 10px 0;
  text-align: center;
  font-size: 20px;
  background-color: #e0e0e0;
}

.tab li:nth-child(2) {
  border-left: 1px solid #4d4d4d;
  border-right: 1px solid #4d4d4d;
}

.tab li:hover a {
  background-color: #a3ddda;
  color: #fff;
}

/*liにactiveクラスがついた時の形状*/
.tab li.active a {
  opacity: 1;
  color: #333;
  background: #66c7c2;
  border-right: initial;
}

.tab li.active::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  bottom: .75px;
  left: 50%;
  -moz-transform: translate(-50%, 100%);
  -ms-transform: translate(-50%, 100%);
  -webkit-transform: translate(-50%, 100%);
  transform: translate(-50%, 100%);
  border-right: 15px solid transparent;
  border-left: 15px solid transparent;
  border-bottom: none;
  z-index: 1;
}

.tab li.active::after {
  border-top: 15px solid #66c7c2;
}

.tab-txt {
  padding: 20px;
}

.tab .tab1 a {
  padding-top: 30px;
}

/*エリアの表示非表示と形状*/
.area {
  display: none;
  /*はじめは非表示*/
  opacity: 0;
  /*透過0*/
  background: #f2f2f2;
  padding: 5%;
}

#career .tab-content,
#sdgs .tab-content {
  background-color: #fff;
  padding: 25px 10%;
}

.area h3 {
  margin-bottom: 15px;
  color: #31ade0;
}

.area li {
  background-color: #fff;
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
  display: block;
  /*表示*/
  animation-name: displayAnime;
  /*ふわっと表示させるためのアニメーション*/
  animation-duration: 2s;
  animation-fill-mode: forwards;
}

@keyframes displayAnime {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ポップアップ */
.popup {
  display: none;
  height: 100vh;
  width: 100%;
  background: rgba(0, 0, 0, .8);
  position: fixed;
  top: 50px;
  left: 0;
  /* padding: 150px 0 100px; */
  /* overflow-y: auto; */
  z-index: 2;
}

.content {
  background: #fff;
  padding: 30px;
  width: 50%;
  overflow-y: auto;
  height: 60vh;
  margin: auto;
}

.content h4 {
  padding: 30px 0 10px;
}

.show {
  display: flex;
  justify-content: center;
  /* align-items: center; */
}

.popup.show body {
  overflow: hidden;
}

.popup .top {
  padding-top: 30px;
}

.harassment ul:not(:first-of-type){
 margin-bottom: 30px;
}

.harassment {
  text-indent: -1.6em;
  padding-left: 3em;
}

/* trainingのぐリッド */
.training-list {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

#service .more-btn {
  background-color: #fbb03b;
  color: #fff;
  padding: 0.5em;
  margin-top: 15px;
  box-shadow: 5px 5px 10px 1px rgb(0 0 0 / 40%);
  transition: .3s;
}


#service .more-btn:hover {
  transform: translate3d(3px, 3px, 0);
  box-shadow: none;
}

.research {
  background-color: #fff;
  margin-top: 80px;
  padding: 70px;
  text-align: center;
  color: #0f5a54;
}

.research-pc {
  display: block;
  margin: auto;
}

.research-sp {
  display: none;
}

.research figure {
  padding-bottom: 30px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.research h3 {
  color: #0f5a54;
  padding: 15px 0 30px;
}

#career .flex {
  display: flex;
  justify-content: space-between;
}

#career figure {
  flex-shrink: 0;
  padding-left: 30px;
}

.curriculum {
  padding: 100px 0;
  text-align: center;
}

.curriculum ul {
  margin-top: 30px;
}

.curriculum li {
  margin: 0 auto;
  background-color: #EBF1EF;
  text-align: center;
  padding-top: 1em;
  padding-bottom: 1em;
  max-width: 500px;
}

.curriculum .darr {
  background-color: #fff;
  font-size: 1.25em;
  padding: 0;
  color: #29ABE2;
}

#sdgs .txt {
  padding: 50px 0;
  margin-bottom: 30px;
  font-size: 20px;
  text-align: left;
  background-image: url(../img/sdgs-top-bg.png);
  background-position: center;
  background-size: contain;
}

#sdgs ul {
  list-style-image: radial-gradient(circle at 50% 50%, #66c7c2 50%, transparent 50%);
  text-align: left;
}

#sdgs dl {
  display: flex;
  align-items: center;
}

#sdgs dl:not(:last-child) {
  margin-bottom: 40px;
}

#sdgs dt {
  margin-right: 50px;
  width: 50%;
}

#sdgs dd {
  width: 50%;
}

/*タブレット*/
@media (max-width: 840px) {
/* ホバーエフェクト消す */
  #service .more-btn:hover{
    transform:translate3d(0, 0, 0);
    box-shadow: 5px 5px 10px 1px rgb(0 0 0 / 40%);
  }
  .content {
    width: 80%;
  }
  #career .flex {
    flex-direction: column;
  }

  #career figure {
    margin-top: 25px;
    padding: 0;
    text-align: center;
  }

  #sdgs dt {
    margin-right: 0;
    margin-bottom: 10px;
    width: 100%;
  }

  #sdgs dd {
    width: 100%;
  }

  #sdgs dl {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

/*SP*/
@media (max-width: 428px) {
  .content {
    height: 65vh;
    padding-top: 0;
    margin: auto auto 165px;
  }

  .research {
    padding: 35px;
  }

  .research-pc {
    display: none;
  }

  .research-sp {
    display: block;
  }

  .pc-non {
    display: block;
  }

  .en-title {
    padding: 25px 50px;
  }

  #sdgs .txt {
    padding: 10px 0;
    font-size: 14px;
  }

  .hero {
    margin-top: 80px;
  }

  .hero .circle1,
  .hero .circle2 {
    height: 300px;
  }
}

@media (max-width: 840px) {
  .tab li:nth-child(2) {
    border-left: initial;
    border-right: initial;
    border-top: 1px solid #4d4d4d;
    border-bottom: 1px solid #4d4d4d;

  }

  .hero {
    height: initial;
  }

  /* .hero {
    margin-top: 100px;
    position: relative;
    top: 0;
    left: 0;
  }
  .hero .hero-left{
    position:absolute;
    top: 0;
    left: 0;
  }
  .hero .hero-img{
    position:absolute;
    bottom: 100px;
    right: 0;
    max-width: 150px;
  } */
}