@charset "UTF-8";

.button {
  position: relative;
  margin: 30px 0;
}

.button-wrap {
  display: flex;
  justify-content: center;
  gap: 225px;
}

.button-wrap a h3 {
  border: 1px #fff solid;
  line-height: 45px;
  padding: 0 20px;
  border-radius: 30px;
  box-shadow: 1px 1px 5px 1px #fff;
  ;
}

.button img {
  width: 30%;
  margin: auto;
  position: relative;
  z-index: 1;
}

.button-wrap,
.second {
  margin: 20px 0;
}

#policy-wrap {
  background-image: url("/assets/image/counseling-men.png");
}

#policy-wrap__ability {
  background-image: url("/assets/image/concept-100.png");
}

#policy-wrap__ability,
#policy-wrap {
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 150px 0;
  padding: 30px 0;
}

.policy-heading {
  max-width: 720px;
  padding: 40px 0;
  margin: auto;
  background-color: rgba(48, 48, 48, 0.7);

}

.policy-heading h3 {
  margin: 20px 0;
  padding: 0 20px;
  color: #F9D76A;
  text-shadow:
    1px 4px 4px rgba(0, 0, 0, 0.5),
    2px 8px 8px rgba(0, 0, 0, 0.5);
}

.policy-heading p {
  padding: 0 20px;
  line-height: 1.5;
  margin: 1rem;
  text-align: justify;
}

.policy-heading p:last-child {
  margin-bottom: 0;
}

.policy-heading p strong {
  color: #F9D76A;
}

#safety h2 {
  text-align: center;
  margin: 40px 0;
}

#safety p {
  max-width: 860px;
  margin: auto;
  text-align: center;
}

#safety p strong {
  border-bottom: 1px #F9D76A solid;
  color: #F9D76A;
}

.safety-device {
  margin: 70px 0;
  background-color: rgba(180, 180, 180, 0.2);
  padding: 20px 0 40px 0;
}

.safety-device img {
  margin: 0 auto;
  width: 50%;
}

.safety-device p {
  padding: 20px 0;
}

#latest\ equipment {
  margin: 180px 0;
}

.device {
  margin: 100px 0;
  display: flex;
}

.device img {
  margin: 0 auto;
  bottom: 26px;
  width: 40%;
}

.device p {
  text-align: start !important;
  width: 480px;
}

.inc p {
  order: 2;
}

.inc img {
  order: 1;
}

@media screen and (min-width:375px) and (max-width:430px) {
  .button-wrap a h3 {
    line-height: 30px;
    padding: 0 20px;
    text-align: center;
  }

  .button-wrap {
    gap: 50px;
  }

  .button-wrap a h3 {
    font-size: 14px;
  }

  .button img {
    width: 100%;
  }

  #policy-wrap,
  #policy-wrap__ability {
    width: 354px;
    margin: 97px auto;
    height: fit-content;
  }

  .policy-heading {
    margin: 0 0.5rem;
  }


  .policy-heading h3 {
    line-height: 2;
    text-align: center;
  }

  .device {
    flex-direction: column;
    gap: 20px;
  }

  .device p {
    width: 370px;
    order: 2;
  }

  .device img {
    width: 100%;
    order: 1;
  }

  #safety p {
    padding: 10px 20px;
  }

}

@media screen and (min-width:768px) and (max-width:960px) {
  .button img {
    width: 50%;
  }
}