@charset "utf-8";

.terms {
    width: 70%;
    margin: 0 auto;
    background-color: #fff;
    padding: 4% 3%;
    margin-top: 5%;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    box-sizing: border-box;
    font-feature-settings: "palt";
}

.terms h2 {
  font-weight: 500;
  font-size: 1.8rem;
  margin-bottom: 48px;
  color: #333;
  text-align: center;
  position: relative;
}

.terms h2::after{
    content: "";
    background-color: #039de7;
    width: 80px;
    height: 4px;
    margin-right: auto;
    margin-left: auto;
    position: absolute;
    bottom: -20px;
    right: 0;
    left: 0;
}
  .terms h3 {
    font-size: 24px;
  font-weight: 500;
  margin: 1.8vw 0vw 1vw;
  color: #333;
  border-bottom: 0.01vw solid #039de7;
  }

  .terms h4 {
    font-size: 1.1em;
    margin-top: 1em;
    margin-bottom: 0.3em;
    color: #555;
  }

  .terms ul {
    padding-left: 1.2em;
    margin-bottom: 1em;
  }

  .terms ul li {
    margin-bottom: 0.5em;
  }

  .terms strong {
    color: #cc0000;
  }

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

  .terms {
    width: 94%;
    background-color: #fff;
    padding: 10px;
    margin-top: 5%;
    margin-right: auto;
    margin-left: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    box-sizing: border-box;
    font-feature-settings: "palt";
  }

  .terms h2 {
    font-size: 1.8em;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
    position: relative;
  }

.terms h2::after{
    content: "";
    background-color: #039de7;
    width: 80px;
    height: 4px;
    margin-right: auto;
    margin-left: auto;
    position: absolute;
    bottom: -15px;
    right: 0;
    left: 0;

  }
  .terms h3 {
    font-size: 1.4em;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #444;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.3em;
  }

  .terms h4 {
    font-size: 1.1em;
    margin-top: 1em;
    margin-bottom: 0.3em;
    color: #555;
  }

  .terms ul {
    padding-left: 1.2em;
    margin-bottom: 1em;
  }

  .terms ul li {
    margin-bottom: 0.5em;
  }

  .terms strong {
    color: #cc0000;
  }
 
    .terms {
      padding: 1.5em;
    }

    .terms h2 {
      font-size: 1.5em;
    }

    .terms h3 {
      font-size: 1.2em;
    }

    .terms h4 {
      font-size: 1em;
    }
  }