.rolling_section {
  display: flex;
  padding: 0 0 0 0;
}
.rolling_section .inner {
  display: flex;
  width: 1300px;
  padding: 50px;
  position: relative;
  margin: 0 auto;
}


.rolling_text {
  width: 25%;
  text-align: left;
  display: flex;
  align-items: center;
}
.rolling_text span {
  display: inline-block;
  font-size: 20px;
  margin-bottom: 30px;
  font-weight: 500;
  font-family: "pretendard";
}


.rolling_text p {
  font-family: "pretendard";
  font-size: 40px;
  font-weight: 800;
  color: #333;
}


.rolling_section .wrap {
  display: flex;
  overflow: hidden;
  width: 75%;
  float: right;
  align-items: center;
}
.rolling_section .wrap::before {
  content: "";
  position: absolute;
  width: 250px;
  z-index: 1;
  top: 0px;
  bottom: 0px;
  background-image: linear-gradient(to right, #ffffffff, #ffffff00);
}
.rolling_section .wrap::after {
  content: "";
  position: absolute;
  width: 250px;
  z-index: 1;
  top: 0px;
  bottom: 0px;
  right: 0px;
  background-image: linear-gradient(to left, #ffffffff, #ffffff00);
}
.rolling_section .wrap .rolling-list ul {
  display: flex;
}
.rolling_section .wrap .rolling-list ul li {
  width: 240px;
  height: 240px;
  box-sizing: border-box;
  border-radius: 20px;
  margin: 35px -5px;
  padding: 46px 31px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.rolling_section .wrap .rolling-list ul li:nth-child(1) {
  /* background-color: #F8E1E3; */
  margin-left: -5px;
}
/* 
.rolling_section .wrap .rolling-list ul li:nth-child(2) { 
background-color: #FFEAB5; 
}
.rolling_section .wrap .rolling-list ul li:nth-child(3) { 
background-color: #D3E7DC;
}
.rolling_section .wrap .rolling-list ul li:nth-child(4) { 
background-color: #A6C1E8;
} */
.rolling_section .wrap .rolling-list ul li:nth-child(even) {
  margin-top: 270px;
  margin-left: -150px;
  margin-right: -80px;
}
.rolling_section .wrap .rolling-list ul li .image-wrap {
  padding-right: 32px;
  width: 210px;
  flex-shrink: 0;
}
.rolling_section .wrap .rolling-list ul li .image-wrap > img {
  width: 100%;
  border-radius: 30px;
  background: #ebf6ff;
}


.rolling_section .wrap .rolling-list ul li .desc strong {
  display: block;
  font-size: 24px;
  margin-bottom: 24px;
}
.rolling_section .wrap .rolling-list ul li .desc span {
  font-size: 18px;
  line-height: 1.2;
}


.rolling-list {
  animation: rolling 35s linear infinite;
}


@keyframes rolling {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}


@media screen and (max-width: 768px) {
  .rolling_section .inner {
    display: block;
    width: 100%;
    padding: 100px 0;
  }
  .rolling_text {
    width: 100%;
    justify-content: center;
    padding-bottom: 40px;
  }
  .rolling_text p {
    font-size: 30px;
  }
  .rolling_text span {
    margin-right: 10px;
  }
  .rolling_section .wrap {
    width: 100%;
    float: unset;
    position: relative;
    margin: -40px 0 -60px 0;
  }
  .rolling_section .wrap::after {
    right: 0;
  }
  .rolling_section .wrap .rolling-list ul li {
    margin: 0px -35px;
  }
  .rolling_section .wrap .rolling-list ul li:nth-child(1) {
    margin-left: -35px;
  }
  .rolling_section .wrap .rolling-list ul li:nth-child(even) {
    margin-top: 180px !important;
  }
  .rolling_section .wrap .rolling-list ul li .image-wrap {
    width: 160px;
  }
  .pcblockmbnone {
    display: none;
  }
}


@media screen and (max-width: 600px) {
  .rolling_section {
    padding: 30px 0 0 0;
  }
  .rolling_text span {
    display: block;
    text-align: center;
    margin-bottom: 10px;
    font-size: 20px;
  }
  .rolling_section .wrap {
    margin: 0 0 -60px 0;
  }
  .rolling_section .wrap .rolling-list ul li {
    margin: 0px -44px;
  }
  .rolling_section .wrap .rolling-list ul li:nth-child(1) {
    margin-left: -44px;
  }
  .rolling_section .wrap .rolling-list ul li:nth-child(even) {
    margin-top: 160px !important;
  }
  .rolling_section .wrap .rolling-list ul li .image-wrap {
    width: 150px;
  }
  .rolling_section .wrap::before {
    width: 150px;
  }
  .rolling_section .wrap::after {
    width: 150px;
  }
}


@media screen and (max-width: 480px) {
  .rolling_text p {
    font-size: 25px;
  }
  .rolling_section .wrap .rolling-list ul li {
    margin: 0px -57px;
  }
  .rolling_section .wrap .rolling-list ul li:nth-child(1) {
    margin-left: -57px;
  }
  .rolling_section .wrap .rolling-list ul li:nth-child(even) {
    margin-top: 135px !important;
  }
  .rolling_section .wrap .rolling-list ul li .image-wrap {
    width: 120px;
  }
  .rolling_section .wrap::before {
    width: 100px;
  }
  .rolling_section .wrap::after {
    width: 100px;
  }
}


@media screen and (max-width: 385px) {
  .rolling_text p {
    font-size: 20px;
  }
  .rolling_text span {
    font-size: 17px;
  }
  .rolling_section .wrap {
    margin: 0 0 -30px 0;
  }
  .rolling_section .wrap .rolling-list ul li {
    margin: -30px -63px;
  }
  .rolling_section .wrap .rolling-list ul li:nth-child(1) {
    margin-left: -63px;
  }
  .rolling_section .wrap .rolling-list ul li:nth-child(even) {
    margin-top: 94px !important;
  }
  .rolling_section .wrap .rolling-list ul li .image-wrap {
    width: 110px;
  }
  .rolling_section .wrap::before {
    width: 50px;
  }
  .rolling_section .wrap::after {
    width: 50px;
  }
}

