@charset "UTF-8";

:root {
  --color-black: #58585F;
  --color-white: #fff;
  --color-primary: #71B400;

  --color-grad: linear-gradient(45deg, rgba(244, 255, 85, 1) 0%, rgba(113, 180, 0, 1) 100%);

  --noto-sans: "Noto Sans JP", serif;
  --josefin: "Josefin Sans", sans-serif;
}

/*================================================
 *  
 ================================================*/

.tab_btn {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
}

.tab_btn li {
  cursor: pointer;
  background: #999999;
  color: var(--color-white);
  width: calc((100% - 0.5rem) / 7);
  height: 7.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 500;
  border-radius: 1rem;
  transition: background-color 0.4s ease, color 0.4s ease;
  text-align: center;
  line-height: 1.6;
}

.tab_btn li.active {
  color: var(--color-white);
  position: relative;
  background: transparent;
  margin-bottom: 1rem;
}

.tab_btn li.active::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 8.5rem;
  background: #71B400;
  background: linear-gradient(180deg, rgba(113, 180, 0, 1) 0%, rgba(217, 240, 68, 1) 100%);
  border-radius: 1rem 1rem 0 0;
  top: 0;
  left: 0;
  z-index: -1;
  transition: .4s ease;
}

.tab_detail {
  position: relative;

}

.tab_detail .inner {
  padding: 8rem 4rem;
  background: #FAFAFA;
  border-radius: 1rem;
}

.tab_detail:not(.active) .inner {
  opacity: 0;
  pointer-events: none;
  height: 0;
  padding: 0;
}

.tab_detail.active .inner {
  opacity: 1;
  pointer-events: fill;
  height: 100%;
  position: relative;
}

.tab_detail.active .inner::before {
  position: absolute;
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  display: inline-block;
  background-image: url(../../images/company/tab_bg.png);
  width: 100%;
  height: 13.1rem;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 1rem 1rem 0 0;
}

.tab01.tab_detail.active .inner::before {
  border-radius: 0 1rem 0 0;
}

.tab07.tab_detail.active .inner::before {
  border-radius: 1rem 0 0 0;
}


.tab_cnt .st_ttl {
  color: var(--color-primary);
  font-size: 1.8rem;
}

/* tab_ttl */
.tab_inrto h2 {
  padding-top: 0;
  transition-delay: .4s;
}

.tab_inrto h2::before {
  content: none;
}

/* tab_inrto */
.tab_detail p {
  line-height: 2.5;
  /* margin-top: 1.5em; */
}

.tab_detail h3 {
  color: var(--color-primary);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 2rem;
  margin-top: 3rem;
}

.tab_table {
  display: flex;
  align-items: stretch;
  justify-content: start;
  flex-wrap: wrap;
  border-top: 1px solid #505051;
}

.tab_table dt {
  width: 20rem;
  text-align: center;
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 2rem 1rem 2rem 0;
  border-bottom: 1px solid #505051;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab_table dd {
  width: calc(100% - 20rem);
  font-weight: 400;
  line-height: 2;
  padding: 2rem 0 2rem 0;
  border-bottom: 1px solid #505051;
}

.tab_table dd:has(.btnArea) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}



.readmore .tab_table {
  max-height: 26rem;
  overflow: hidden;
  transition: max-height 1s;
  position: relative;
}

.readmore .tab_table::before {
  position: absolute;
  content: "";
  background: #FAFAFA;
  background: linear-gradient(180deg, rgba(250, 250, 250, 0) 0%, rgba(250, 250, 250, 1) 50%);
  width: 100%;
  height: 18rem;
  bottom: -8rem;
  left: 0;
  transition: .4s;
}

.readmore.open .tab_table::before {
  opacity: 0;
}

.readmore.open .tab_table {
  max-height: 10000px;
  transition: max-height 1s;
}


.readmore .moreBtn {
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  background-image: url(../../images/company/pagetop_arrow.png);
  width: 4.5rem;
  height: 4.5rem;
  margin: 2rem auto 0;
  cursor: pointer;
  transform: rotate(180deg);
  transition: .4s;
}

.readmore.open .moreBtn {
  transform: rotate(0deg);
}

@media screen and (max-width:767px) {
  #company .wrap {
    width: 56rem;
  }

  .tab_btn {
    flex-wrap: wrap;
    gap: 1rem;
    width: 45rem;
    margin: 0 auto;
  }



  .tab_btn li {
    width: 100%;
    height: 5rem;
    font-size: 1.8rem;
    border-radius: 10000px;
  }

  .tab_btn li.active {
    background: var(--color-grad);
    font-size: 1.8rem;
    margin-bottom: 0;
    border-radius: 10000px;
  }

  .tab_btn li.active::before {
    content: none;
  }

  .tab_cnt .st_ttl {
    font-size: 2.4rem;
  }

  .tab_detail.active .inner::before {
    content: none;
  }

  .tab_detail .inner {
    padding: 8rem 0;
    background: transparent;
    border-radius: 0;
  }

  .tab_detail h3 {
    font-size: 2.2rem;
  }

  .tab_table {
    border-top: 1px solid rgb(81 80 80 / 25%);
  }

  .tab_table dt {
    width: 18rem;
    font-size: 2.2rem;
    padding: 1.5rem 1rem 1.5rem 0;
    text-align: left;
    justify-content: start;
    border-bottom: 1px solid rgb(81 80 80 / 25%);
  }

  .tab_table dd {
    width: calc(100% - 18rem);
    padding: 1.5rem 0 1.5rem 0;
    border-bottom: 1px solid rgb(81 80 80 / 25%);
    font-size: 2rem;
  }

  .tab_table02 dt {
    width: 20rem;
  }

  .tab_table02 dd {
    width: calc(100% - 20rem);
  }

  /* .tab_table dd:has(.btnArea) div:not(.btnArea) {
    font-size: 1.6rem;
  } */

  .tab_table dd .btnArea a {
    white-space: nowrap;
    font-size: 1.4rem;
  }


  .readmore .tab_table::before {
    background: #FFFFFF;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%);
    bottom: -1rem;
  }
}



/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}

/*================================================
 *  
 ================================================*/


@media screen and (max-width:767px) {}