/* profit_b */
#profit_b {
  width: 100%;
  /* background: url(../img/profit/b_bg.png); */

  background-position: center center !important;
  background-size: cover !important;

  background-color: #e3ddd7;
  /* background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%),
    url(../img/profit/b_bg.png) lightgray -816.933px 0.184px / 270.655% 100% no-repeat; */
  box-sizing: border-box;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  overflow: hidden;
}

#profit_b .profit-b-top .st-tit {
  font-family: Paperlogy;
}
#profit_b .profit-b-top .red {
  color: #ee2c28;
}

#profit_b .profit-b-top .st-tit:last-child {
  line-height: 140%;
}

#profit_b .profit-b-top hr {
  width: 100%;
  height: 2px;
  background: #5f432c;
  border: none;
}

#profit_b .profit-b-container {
  max-width: 1200px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

#profit_b .profit-b-graph-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#profit_b .profit-b-graph-wrap > p {
  color: #5f432c;
  text-align: center;
  font-size: 28px;
  font-weight: 400;
  line-height: 120%; /* 38.4px */
  letter-spacing: -0.7px;
}

#profit_b .profit-b-graph-div {
  width: 100%;
  position: relative;
  padding-top: 130px;
}

#profit_b .profit-b-arrow {
  width: 518.339px;
  position: absolute;
  left: 13%;
  top: 14%;
  animation: arrow 8s linear infinite;
  -webkit-animation: arrow 8s linear infinite;
}

@keyframes arrow {
  0% {
    clip-path: inset(0 100% 0 0); /* 전부 잘려서 안 보임 */
  }
  13% {
    clip-path: inset(0 100% 0 0);
  }
  20% {
    clip-path: inset(0 0 0 0); /* 다 보임 */
  }
  50% {
    clip-path: inset(0 0 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0); /* 다 보임 */
  }
}

#profit_b .profit-b-chart-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 40px;
  align-self: stretch;
  position: relative;
}

#profit_b .profit-b-chart {
  width: 126px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}

#profit_b .chart-div {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: toUp 8s linear infinite;
  -webkit-animation: toUp 8s linear infinite;
}

#profit_b .chart-div p {
  color: #5f432c;
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  line-height: 120%; /* 33.6px */
  letter-spacing: -0.7px;
}

#profit_b .red-chart {
  width: 100%;
  background: linear-gradient(180deg, #111 0%, #575555 100%);
}

#profit_b .chart1 {
  height: 232px;
}

#profit_b .chart3 {
  height: 357px;
}

#profit_b .chart4 {
  height: 396px;
}

#profit_b .chart5 {
  height: 530px;
}

#profit_b .chart6 {
  height: 700px;
  position: relative;
}

@keyframes toUp {
  0% {
    clip-path: inset(100% 0 0 0);
  }
  13% {
    clip-path: inset(0 0 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

#profit_b .profit-b-chart > p {
  color: #5f432c;
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  line-height: 120%; /* 38.4px */
  letter-spacing: -0.8px;
}

#profit_b .profit-b-chart-container hr {
  width: 100%;
  height: 2px;
  background: #5f432c;
  border: none;
  position: absolute;
  bottom: 58px;
}

#profit_b .profit-b-graph-tit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: absolute;
  /* top: -240px; */

  top: -135px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  animation: zoomOut 8s infinite;
  -webkit-animation: zoomOut 8s infinite;
}

@keyframes zoomOut {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(1.3);
  }
  20% {
    opacity: 0;
    transform: translateX(-50%) scale(1.3);
  }
  40% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

#profit_b .profit-b-graph-tit > p {
  color: #ee2c28;
  text-align: center;
  font-size: 48px;
  font-weight: 900;
  line-height: 120%; /* 57.6px */
  letter-spacing: -1.2px;
  display: flex;
  box-sizing: border-box;
  padding: 0 10px;
  justify-content: center;
  align-items: center;
  background: #fff;
  white-space: nowrap;
  animation: blink 1.5s linear infinite;
  -webkit-animation: blink 1.5s linear infinite;
}

#profit_b .r-line-txt {
  /* color: #5F432C; */
  text-align: center;
  text-shadow: 0 0 12px #ee2c28;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #ee2c28;
  font-family: Paperlogy;
  font-size: 60px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 60px */
  letter-spacing: -1.5px;

  position: absolute;
  right: 60px;
  top: 30%;
  z-index: 2;
}

@media (max-width: 1280px) {
  #profit_b .profit-b-graph-div {
    padding-top: 100px;
  }
  #profit_b .profit-b-graph-wrap > p {
    font-size: 24px;
    letter-spacing: -0.6px;
  }
  #profit_b .profit-b-arrow {
    width: 450px;
    left: 11%;
    top: 10%;
  }
  #profit_b .profit-b-chart {
    width: 110px;
  }
  #profit_b .chart1 {
    height: 172px;
  }
  #profit_b .chart3 {
    height: 317px;
  }
  #profit_b .chart4 {
    height: 356px;
  }
  #profit_b .chart5 {
    height: 520px;
  }
  #profit_b .chart6 {
    height: 610px;
  }
  #profit_b .profit-b-graph-tit {
    gap: 20px;
    top: -100px;
  }
  #profit_b .chart-div p {
    font-size: 23px;
  }
  #profit_b .profit-b-graph-tit > p {
    font-size: 40px;
    letter-spacing: -1px;
  }
  #profit_b .r-line-txt {
    font-size: 56px;
    letter-spacing: -1.4px;
  }
}

@media (max-width: 1024px) {
  #profit_b .r-line-txt {
    right: 20px;
  }
}

@media (max-width: 900px) {
  #profit_b .profit-b-graph-wrap > p {
    font-size: 20px;
    letter-spacing: -0.5px;
  }
  #profit_b .profit-b-graph-div {
    padding-top: 100px;
  }
  #profit_b .profit-b-chart-container {
    gap: 20px;
  }
  #profit_b .profit-b-arrow {
    width: 350px;
    left: 8%;
  }
  #profit_b .chart1 {
    height: 172px;
  }
  #profit_b .chart3 {
    height: 287px;
  }
  #profit_b .chart4 {
    height: 296px;
  }
  #profit_b .chart5 {
    height: 400px;
  }
  #profit_b .chart6 {
    height: 500px;
  }
  #profit_b .chart-div p {
    font-size: 20px;
    letter-spacing: -0.5px;
  }
  #profit_b .profit-b-chart > p {
    font-size: 28px;
    letter-spacing: -0.7px;
  }
  #profit_b .profit-b-chart-container hr {
    bottom: 53px;
  }
  #profit_b .profit-b-graph-tit {
    gap: 20px;
    top: -190px;
  }
  #profit_b .profit-b-graph-tit > p {
    font-size: 32px;
    letter-spacing: -0.8px;
  }
  #profit_b .r-line-txt {
    font-size: 48px;
    letter-spacing: -1.2px;
  }
}

@media (max-width: 768px) {
  #profit_b {
    padding: 60px 0;
    gap: 40px;
  }
  #profit_b .highlight-wrap {
    padding: 4px 12px 0 12px;
  }
}

@media (max-width: 750px) {
  #profit_b .st-tit {
    font-size: 40px;
    letter-spacing: -1px;
  }
  #profit_b .profit-b-chart-container {
    gap: 20px;
  }
  #profit_b .profit-b-arrow {
    width: 320px;
    top: 7%;
  }
  #profit_b .profit-b-graph-div {
    padding-top: 70px;
  }
  #profit_b .profit-b-chart {
    width: 80px;
  }
  #profit_b .chart1 {
    height: 172px;
  }
  #profit_b .chart3 {
    height: 267px;
  }
  #profit_b .chart4 {
    height: 276px;
  }
  #profit_b .chart5 {
    height: 380px;
  }
  #profit_b .chart6 {
    height: 460px;
  }
  #profit_b .chart-div p {
    font-size: 18px;
    letter-spacing: -0.45px;
  }
  #profit_b .profit-b-chart > p {
    font-size: 24px;
    letter-spacing: -0.6px;
  }
  #profit_b .profit-b-chart-container hr {
    bottom: 49px;
  }
  #profit_b .profit-b-graph-tit {
    gap: 8px;
    top: -160px;
  }
  #profit_b .profit-b-graph-tit > p {
    font-size: 28px;
    letter-spacing: -0.7px;
  }
}

@media (max-width: 650px) {
  #profit_b .st-tit {
    font-size: 32px;
    letter-spacing: -0.8px;
  }
  #profit_b .profit-b-chart-container {
    gap: 20px;
  }
  #profit_b .profit-b-arrow {
    width: 270px;
  }
  #profit_b .profit-b-graph-div {
    padding-top: 70px;
  }
  #profit_b .profit-b-chart {
    width: 70px;
  }
  #profit_b .chart1 {
    height: 165px;
  }
  #profit_b .chart3 {
    height: 254px;
  }
  #profit_b .chart4 {
    height: 282px;
  }
  #profit_b .chart5 {
    height: 326px;
  }
  #profit_b .chart6 {
    height: 410px;
  }
  #profit_b .chart-div p {
    font-size: 16px;
    letter-spacing: -0.4px;
  }
  #profit_b .chart-div p span {
    display: none;
  }
  #profit_b .profit-b-chart > p {
    font-size: 20px;
    letter-spacing: -0.5px;
  }
  #profit_b .profit-b-chart-container hr {
    bottom: 43px;
  }
  #profit_b .profit-b-graph-tit {
    top: -140px;
  }
  #profit_b .profit-b-graph-tit > p {
    font-size: 24px;
    letter-spacing: -0.6px;
  }
  #profit_b .r-line-txt {
    right: 0;
  }
}

@media (max-width: 480px) {
  #profit_b {
    gap: 20px;
  }
  #profit_b .st-tit {
    font-size: 28px;
    letter-spacing: -0.7px;
  }
  #profit_b .profit-b-chart-container {
    gap: 8px;
  }
  #profit_b .profit-b-arrow {
    left: 1%;
    top: 19%;
  }
  #profit_b .profit-b-graph-div {
    padding-top: 90px;
  }
  #profit_b .profit-b-graph-wrap > p {
    font-size: 18px;
    letter-spacing: -0.45px;
  }
  #profit_b .profit-b-chart-container {
    gap: 6px;
  }
  #profit_b .profit-b-chart {
    width: 55px;
  }
  #profit_b .chart-div p {
    font-size: 14px;
    letter-spacing: -0.35px;
  }
  #profit_b .profit-b-graph-tit {
    top: -140px;
  }
  #profit_b .profit-b-graph-tit > p {
    font-size: 20px;
    letter-spacing: -0.5px;
    padding: 0 4px;
  }
  #profit_b .r-line-txt {
    font-size: 40px;
    letter-spacing: -1px;
  }
}

@media (max-width: 400px) {
  #profit_b .st-tit {
    font-size: 23px;
    letter-spacing: -0.7px;
  }
  #profit_b .st-tit:first-child {
    font-size: 24px;
    letter-spacing: -0.6px;
  }
  #profit_b .profit-b-graph-wrap > p {
    font-size: 12px;

    letter-spacing: -0.4px;
  }
  #profit_b .profit-b-arrow {
    width: 200px;
    left: 0;
    /* top: 7%; */
  }
  #profit_b .profit-b-graph-div {
    padding-top: 60px;
  }
  #profit_b .profit-b-chart {
    width: 47px;
  }
  #profit_b .profit-b-graph-tit {
    top: -120px;
  }
  #profit_b .profit-b-graph-tit > p {
    font-size: 18px;
    letter-spacing: -0.45px;
  }
}

@media (max-width: 370px) {
  #profit_b .profit-b-arrow {
    width: 180px;
    left: 0;
    /* top: 9%; */
  }
  #profit_b .profit-b-chart {
    width: 45px;
  }
  #profit_b .profit-b-graph-tit {
    top: -120px;
  }
  #profit_b .profit-b-graph-tit > p {
    font-size: 16px;
    letter-spacing: -0.4px;
  }
}
