@charset "UTF-8";


.tab_wrap > p {
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
}

.tab_wrap section {
  width: 80%;
  margin: 0 auto;
  padding: 2rem;
}

.tab_wrap section h2 {
  display: none;
}

.tab_wrap section h2 + p {
  margin: 2rem;
  padding: 1rem;
  border:solid 1px #999;
  border-radius: 1rem;
  font-size: 1.4rem;
}

.tab_wrap section h3 {
  margin: 1rem;
  margin-left: 0;
  font-size: 2rem;
}

.tab_wrap section h4 {
  font-size: 1.2rem;
}

.tab_wrap section li {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  visibility: hidden;
  opacity : 0;
  margin: 2rem 0;
  transition: 1.2s;
  transform: translateY(40px);
}

.tab_wrap section li.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.tab_wrap section img {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  object-fit: cover;
}

.txt_box {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  position: relative;
  box-sizing: border-box;
  margin: 0 0 0 2rem;
  padding: 1rem;
  border-radius: 1rem;
  background: #deebf7;
  line-height: 1.5;
}

.txt_box p, .txt_box dt {
  width: 100%;
  margin: .5rem 0 0 !important;
}

.txt_box dd {
  width: 92%;
  margin: 0 auto !important;
  text-align: justify;
}

.txt_box p.name, .txt_box p.title {
  font-size: 1.2rem;
}

.txt_box p.title {
  font-weight: bold;
  font-family: var(--Font_Weight_Bold);
}

.tab_wrap section li .txt_box:after {
  position: absolute;
  top: 3rem;
  left: -1.5rem;
  border: 10px solid transparent;
  border-right: 22px solid #deebf7;
  content: "";
}

.txt_box dt {
  font-weight: bold;
  font-size: 1.1rem;
  font-family: var(--Font_Weight_Bold);
}

.txt_box dt::before {
  content: "▼ ";
}

.txt_box dd span {
  background-image: -webkit-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
  background-image: -moz-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
  background-image: -ms-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
  background-image: -o-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
  background-image: linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
  background-repeat: repeat-x;
  background-size: 200% .8rem;
  background-position: .2rem .5rem;
  font-weight: bold;
  font-family: var(--Font_Weight_Bold);
  transition: all 2.5s ease;
}

.txt_box dd span.active {
  background-position: -100% .5rem;
}


@media screen and (orientation: portrait) and (max-width: 767px){

  .tab_wrap section {
    width: 96%;
    padding: 2rem 0;
  }

  .tab_wrap section h2 + p {
    margin: 0;
    padding: 1rem;
    font-size: 1.2rem;
  }

  .tab_wrap > p {
    margin-bottom: 0.2rem;
    font-size: 1.2rem;
    text-align: center;
  }

  .tab_wrap section h3 {
    font-size: 1.5rem;
  }

  .tab_wrap section h4 {
    font-size: 1.2rem;
  }

  .tab_wrap section img {
    width: 4rem;
    height: 4rem;
  }

  .txt_box {
    margin: 0 0 0 1rem;
  }

  .tab_wrap section li .txt_box:after {
    top: 1.2rem;
  }

}
