@charset "utf-8";
@import url("//fonts.googleapis.com/earlyaccess/nanumpenscript.css");

#welfare {
  position: relative;
}
#welfare::before {
  content: "";
  width: 100%;
  max-width: 1750px;
  height: 221px;
  border-radius: 80px 0 0 80px;
  background: #c0faff;
  background: linear-gradient(
    260deg,
    rgba(192, 250, 255, 0.25) -4.37%,
    rgba(170, 218, 254, 0.25) 108.31%
  );
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}
#welfare .greeting_wrap {
  display: flex;
  align-items: flex-start;
}
#welfare .greeting_wrap .greeting_text {
  min-width: 825px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
#welfare .greeting_wrap .greeting_text .greeting_title {
  padding: 50px 0;
}
#welfare .greeting_wrap .greeting_text .greeting_title p {
  font-family: "Nanum Pen Script";
  font-size: 2.33rem;
  font-weight: 400;
  line-height: 147%;
  letter-spacing: 0.84px;
  color: #006397;
}
#welfare .greeting_wrap .greeting_text .greeting_box {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
#welfare .greeting_wrap .greeting_text .greeting_box p {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.57px;
  line-height: 168%;
}
#welfare .greeting_wrap .greeting_text .greeting_box .ending {
  font-family: "Nanum Pen Script";
  font-size: 1.66rem;
  font-weight: 400;
  line-height: 106%;
}
#welfare .greeting_wrap .greeting_text .greeting_box .staff {
  display: flex;
  justify-content: center;
  align-items: center;
}
#welfare .greeting_wrap .greeting_img {
  margin-top: 80px;
  flex: 1;
}
#welfare .greeting_wrap .greeting_img img {
  width: 100%;
  border-radius: 160px 50px;
}

/* 미디어퀑리 */
@media (max-width: 1440px) {
  #welfare .greeting_wrap .greeting_text {
    min-width: auto;
  }
  #welfare .greeting_wrap .greeting_img {
    max-width: 38%;
  }
  #welfare .greeting_wrap .greeting_text .greeting_title p {
    font-size: 2.11rem;
  }
  #welfare .greeting_wrap .greeting_text .greeting_box .staff {
    justify-content: flex-start;
  }
}
@media (max-width: 1200px) {
  #welfare::before {
    height: 65%;
    top: auto;
    bottom: 0;
  }
  #welfare .greeting_wrap {
    flex-direction: column-reverse;
    align-items: center;
    padding-bottom: 50px;
  }
  #welfare .greeting_wrap .greeting_text .greeting_title {
    padding: 50px 0 0;
  }
  #welfare .greeting_wrap .greeting_img {
    max-width: 100%;
    margin-top: 0;
  }
  #welfare .greeting_wrap .greeting_img img {
    max-width: 440px;
    width: 92%;
    border-radius: 100px 30px;
  }
}
@media (max-width: 768px) {
  #welfare .greeting_wrap .greeting_text .greeting_title p br {
    display: none;
  }
  #welfare .greeting_wrap .greeting_text .greeting_box .ending {
    align-self: flex-end;
  }
  #welfare .greeting_wrap .greeting_text .greeting_box .staff img {
    width: 100%;
  }
}
