/* CSS Document */
main.top #about {
  position: relative;
  padding-top: 120px;
  height: 1010px;
  box-sizing: border-box;
}
main.top #about .item-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}
main.top #about .item-text {
  width: 525px;
  position: relative;
  z-index: 2;
}
main.top #about .item-text p {
  font-size: 17px;
  font-size: 1.0625rem;
}
main.top #about .item-text p:not(:last-child) {
  margin-bottom: 40px;
}
main.top #service {
  background: #67B328;
  padding-top: 80px;
  padding-bottom: 80px;
  clip-path: polygon(0 0, 55% 0, 55% 66px, 100% 66px, 100% 100%, 0 100%);
}
main.top #service .item-section {
  background: #FFF;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  gap: 48px;
}
main.top #service .item-section:not(:last-child) {
  margin-bottom: 28px;
}
main.top #service .item-text {
  width: 10px;
  -ms-flex: 1 0 auto;
  flex-grow: 1;
  position: relative;
  padding-top: 25px;
}
main.top #service .item-text > * {
  z-index: 3;
  position: relative;
}
main.top #service .item-text > p:not(:last-child) {
  margin-bottom: 40px;
}
main.top #service .item-number {
  font-size: 117px;
  font-size: 7.3125rem;
  font-weight: 500;
  font-family: "Outfit", sans-serif;
  position: absolute;
  color: #F2F2F2;
  right: 0;
  top: 0;
  line-height: 1;
  z-index: 1;
}
main.top #service .item-title {
  border-bottom: 1px solid #D9D9D9;
  margin-bottom: 38px;
  padding-bottom: 20px;
}
main.top #service .item-title span {
  display: -moz-inline-box;
  display: inline-block;
  border: 1px solid #006C62;
  border-radius: 30px;
  padding: 8px 18px;
  line-height: 1;
  color: #006C62;
  font-size: 15px;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: "Outfit", sans-serif;
  margin-bottom: 15px;
}
main.top #service .item-title h3 {
  font-size: 36px;
  font-size: 2.25rem;
  font-weight: bold;
  line-height: 1.4;
}
main.top #news {
  padding-top: 80px;
  padding-bottom: 80px;
}
main.top #news .content {
  display: grid;
  gap: 30px;
  grid-template-columns: 390px 1fr;
}

@media screen and (min-width: 701px) and (max-width: 1280px) {
  main.top #about {
    padding-top: 0;
    height: auto;
    padding-bottom: 60px;
    aspect-ratio: 1.25;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  main.top #about .item-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
  main.top #about .item-bg img {
    max-width: 105%;
    margin-right: -6%;
  }
  main.top #about .item-text {
    width: 48%;
  }
  main.top #service .item-section {
    gap: 35px;
  }
  main.top #service .item-img {
    width: 55%;
  }
  main.top #service .item-img img {
    height: 100%;
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
  }
  main.top #service .item-text {
    padding-top: 15px;
  }
  main.top #service .item-text > p:not(:last-child) {
    margin-bottom: 30px;
  }
  main.top #service .item-number {
    font-size: 100px;
    font-size: 6.25rem;
    font-weight: 500;
  }
  main.top #service .item-title {
    margin-bottom: 25px;
    padding-bottom: 15px;
  }
  main.top #service .item-title span {
    margin-bottom: 10px;
  }
  main.top #service .item-title h3 {
    font-size: 32px;
    font-size: 2rem;
  }
  main.top #news .content {
    grid-template-columns: 280px 1fr;
  }
}
@media screen and (max-width: 700px) {
  main.top #about {
    padding-top: 0;
    height: auto;
    display: flex;
    flex-direction: column-reverse;
  }
  main.top #about .item-bg {
    position: relative;
    overflow: hidden;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
  main.top #about .item-bg img {
    max-width: 160%;
  }
  main.top #about .item-text {
    width: auto;
    padding-top: 40px;
    margin-bottom: -10%;
  }
  main.top #about .item-text p {
    font-size: 16px;
    font-size: 1rem;
  }
  main.top #about .item-text p:not(:last-child) {
    margin-bottom: 20px;
  }
  main.top #service {
    padding-top: 40px;
    padding-bottom: 40px;
    clip-path: polygon(0 0, 55% 0, 55% 20px, 100% 20px, 100% 100%, 0 100%);
  }
  main.top #service .item-section {
    padding: 18px;
    flex-wrap: wrap;
    gap: 20px;
  }
  main.top #service .item-section:not(:last-child) {
    margin-bottom: 20px;
  }
  main.top #service .item-img {
    width: 100%;
  }
  main.top #service .item-text {
    padding-top: 0;
    font-size: 15px;
    font-size: 0.9375rem;
  }
  main.top #service .item-text > p:not(:last-child) {
    margin-bottom: 20px;
  }
  main.top #service .item-number {
    font-size: 80px;
    font-size: 5rem;
  }
  main.top #service .item-title {
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
  main.top #service .item-title span {
    font-size: 14px;
    font-size: 0.875rem;
    margin-bottom: 10px;
  }
  main.top #service .item-title h3 {
    font-size: 32px;
    font-size: 2rem;
  }
  main.top #news {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  main.top #news .content {
    gap: 20px;
    grid-template-columns: 1fr;
  }
  main.top #news .item-left {
    display: flex;
    flex-wrap: wrap;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 20px;
  }
  main.top #news .item-left h2 {
    margin-right: auto;
  }
  main.top #news .item-left h2:not(:last-child) {
    margin-bottom: 0;
  }
  main.top #news .item-left .btn {
    margin-left: auto;
  }
}
