@charset "utf-8";

/* state ----------------------- */

.state {
  margin-left: -1rem;
  margin-right: -1rem;
  padding-top: 5rem;
  background-color: #fff;
}

.state-head {
  text-align: center;
}

.state-body, .state-foot {
  margin-top: 3rem;
}

.state-title {
  font-size: 2rem;
  font-weight: 600;
}

.state-desc {
  margin-top: 1rem;
  color: rgba(0, 0, 0, .7);
}

.state-img {
  width: 100%;
  height: auto;
}

.state-ul {
  display: flex;
  justify-content: center;
}

.state-li {
  text-align: center;
}

.state-li + .state-li {
  border-left: solid 1px rgba(0, 0, 0, .1);
}

.state-li .state-number,
.state-li .state-unit,
.state-li .state-term {
  color: #3eb5fe;
}

.state-li:nth-child(even) .state-number,
.state-li:nth-child(even) .state-unit,
.state-li:nth-child(even) .state-term {
  color: #33d8ab;
}

.state-number, .state-unit, .state-term, .state-tips {
  display: block;
  margin-left: 3rem;
  margin-right: 3rem;
}

.state-number, .state-unit, .state-term {
  font-weight: 600;
}

.state-unit, .state-term {
  margin-top: 1rem;
  margin: 1rem;
}

.state-number {
  font-size: 5rem;
}

.state-unit {
  font-size: 1.5rem;
}

.state-term {
  font-size: 2rem;
}

.state-tips {
  color: rgba(0, 0, 0, .7);
}

/* env ------------------------------ */

.env {
  display: flex;
  gap: 2rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.env-head {
  width: 33.3333%;
}

.env-body {
  width: 66.66666%;
}

.env-title {
  font-size: 2rem;
  font-weight: 600;
}

.env-img {
  max-width: 100%;
  height: auto;
}

.env-desc {
  margin-top: 1rem;
  line-height: 1.5;
  text-align: justify;
  color:rgba(0, 0, 0, .7);
}

/* RWD ----------------------------- */

@media screen and (max-width: 480px) {

  .state-head, .state-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .state-desc {
    line-height: 1.5;
  }

  .state-ul {
    flex-wrap: wrap;
  }

  .state-li {
    width: 50%;
    box-sizing: border-box;
  }

  .state-li:nth-child(-n + 2) {
    padding-bottom: 1rem;
  }

  .state-li:nth-child(n + 3) {
    padding-top: 1rem;
    border-top: solid 1px rgba(0, 0, 0, .1);
  }

  .state-li:nth-child(3) {
    border-left: none;
  }

  .state-number, .state-unit, .state-term, .state-tips {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .state-number {
    font-size: 12vw;
  }
  
  .state-unit {
    font-size: 5vw;
  }
  
  .state-term {
    font-size: 2rem;
  }

  .env {
    flex-direction: column;
  }

  .env-head, .env-body {
    width: auto;
  }

  .env-head {
    text-align: center;
  }
}