.about .wrap{
  padding-bottom: 0;
}

.terms__body{
  padding-top: 0;
}

.terms__box{
  background-color: #fff;
  width: 100%;
  padding:7% 5.3% ;
  margin-inline: auto;
}

.terms__box h3{
  font-weight: bold;
  margin-bottom: 40px;
}

.terms__box h4{
  border-top: 2px solid #d6d6d6;
  border-bottom: 2px solid #d6d6d6;
  padding: 7px 2%;
  text-align: left;
}

.terms__box h5{
  background-color: #ededed;
  padding: 6px 2%;
  text-align: left;
}

.terms__box p{
  text-align: left;
  padding: 7px 2%;
  margin-bottom: 1.5rem;
}

.terms__btn{
  text-align: center;
  margin-top: 60px;
}

.terms__btn a{
  display: inline-block;
  color: #131313;
  background-color: #d6d6d6;
  padding: 2.3% 0;
  width: 60%;
  transition: 0.7s;
}

.terms__btn a:hover{
  opacity: 0.6;
}


/* report */
.report ul{
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
}

.report li{
  list-style: none;
}

.report li a{
  display: flex;
  align-items: center;
  color: #131313;
  background-color: #fff;
  transition: 0.7s;
}

.report li a:hover{
  background-color: #ededed;
}

.report li a .title{
  flex-basis: auto;
  flex-grow: 1;
  flex-shrink: 1;
  align-self: center;
  padding: 0.5rem;
  text-align: left;
}

.excel-icon{
  aspect-ratio: 45/45;
  width: 45px;
  height: 45px;
  background-color: green;
  position: relative;
}

.report h5:not(:nth-child(1)){
  margin-top: 40px;
}


/* 1400px以上 */
@media screen and (min-width:1400px){
  .terms__box h3{
    font-size: 24px;
  }
  .terms__box h4{
    font-size: 18px;
  }
  .terms__box h5{
    font-size: 16px;
  }
  .terms__box p,
  .terms__btn a{
    font-size: 14px;
  }
  .report li a .title{
    font-size: 14px;
  }
}


/* 768px以上かつ1399px以下 */
@media screen and (min-width:768px) and (max-width:1399px){
  .terms__box h3{
    font-size: 2.4vw;
  }
  .terms__box h4{
    font-size: 1.8vw;
  }
  .terms__box h5{
    font-size: 1.6vw;
  }
  .terms__box p{
    font-size: 1.4vw;
  }
  .terms__btn a{
    font-size: 1.4vw;
  }
  .report li a .title{
    font-size: 1.4vw;
  }
}


/* 768px以上 レスポンシブ*/
@media screen and (min-width:768px) {
  .about .wrap{
    padding-bottom: 1.5rem;
  }
  .terms__body{
    padding-top: 30px;
  }
  .terms__box{
    width: 85%;
  }
  .terms__box p{
    line-height: 2;
  }
  .terms__btn a{
    width: 35%;
    padding: 1.3% 0;
  }
  .icon-excel{
    aspect-ratio: 45/45;
    max-width: 45px;
  }
}


/* 767px以下 */
@media screen and (max-width: 767px){
  .terms__box h3{
    font-size: 5.4vw;
  }
  .terms__box h4{
    font-size: 3.8vw;
  }
  .terms__box h5{
    font-size: 3.6vw;
  }
  .terms__box p,
  .terms__btn a{
    font-size: 3.4vw;
  }
  .report li a .title{
    font-size: 3.4vw;
  }
}

