:root {
  --pinkfong: "Pinkfong Baby Shark";
  --remix: "remixicon";
  --pink: #ED5975;
  --blue: #4B58F3;
  --yellow: #FFD600 ;
  --green: #26755B;
}

.layout {
  width: 128rem;
}

#section1 {
  padding-top: 10rem;
  position: relative;
}
#section1::before {
  content: "";
  width: 100%;
  height: 88.4rem;
  background: url("/template/chs/img/main/visual-bg.webp") no-repeat center bottom/cover;
  position: absolute;
  top: 0;
  left: 0;
}
#section1 .layout::after {
  content: "";
  width: 100vw;
  height: 49rem;
  background: url("/template/chs/img/main/visual-bg-bottom.webp") no-repeat center bottom/cover;
  position: absolute;
  bottom: 6.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
#section1 .sec1-title {
  padding-top: 7.2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
#section1 .sec1-title h2 {
  font-size: 7rem;
  font-family: var(--pinkfong);
  letter-spacing: -0.07rem;
  line-height: 1.1;
}
#section1 .sec1-title h2 .pink {
  color: #FF6C88;
}
#section1 .sec1-title h2 .blue {
  color: #11A5F1;
}
#section1 .sec1-title p {
  margin-top: 2rem;
  color: #303030;
}
#section1 .sec1-wrap {
  display: flex;
  gap: 3.3rem;
  margin-top: 22.4rem;
  position: relative;
  z-index: 4;
}
#section1 .sec1-wrap::before {
  content: "";
  width: 100vw;
  height: 19.7rem;
  background: url("/template/chs/img/main/visual-bg-bottom-line.webp") no-repeat center bottom/cover;
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}
#section1 .sec1-box {
  width: calc(33.3333333333% - 2.2rem);
  display: flex;
  flex-direction: column;
  border-radius: 3.2rem;
  padding: 3.2rem;
  background: #ED5975;
  color: #fff;
}
#section1 .sec1-box:has(.no-data) .more,
#section1 .sec1-box:has(.no-data) .btn-wrap {
  visibility: hidden;
}
#section1 .sec1-box:nth-of-type(2) {
  background: #4B58F3;
}
#section1 .sec1-box:nth-of-type(2) .more {
  color: #4B58F3;
}
#section1 .sec1-box:nth-of-type(2) .no-data {
  color: #313CBD;
  background: #3A46DE;
}
#section1 .sec1-box:nth-of-type(3) {
  background: #FFD600;
  color: #403709;
}
#section1 .sec1-box:nth-of-type(3) .more {
  color: #403709;
}
#section1 .sec1-box:nth-of-type(3) .no-data {
  color: #DCBA0C;
  background: #F2CD10;
}
#section1 .sec1-box-title {
  display: flex;
  justify-content: space-between;
  gap: 1rem 3rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2.4rem;
}
#section1 .sec1-box-title strong {
  font-size: 3.2rem;
  font-family: var(--pinkfong);
  line-height: 1.2;
}
#section1 .sec1-box-title .more {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  line-height: 1;
  font-weight: 600;
  transition: 0.3s;
  background: #fff;
  color: #ED5975;
}
#section1 .sec1-box-title .more:hover, #section1 .sec1-box-title .more:focus-visible {
  transform: rotate(360deg);
}
#section1 .sec1-box-title .btn-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
#section1 .sec1-box-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  flex: 1;
}
#section1 .sec1-box-list > li > a {
  display: flex;
  align-items: center;
}
#section1 .sec1-box-list > li > a:hover .title, #section1 .sec1-box-list > li > a:focus-visible .title {
  text-decoration: underline;
  text-underline-position: under;
}
#section1 .sec1-box-list > li > a .title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  white-space: nowrap;
  flex: 1;
  font-size: 1.7rem;
  letter-spacing: -0.017rem;
  padding-right: 2.5rem;
}
#section1 .sec1-box-list > li > a .date {
  font-size: 1.5rem;
  letter-spacing: -0.015rem;
  flex-shrink: 0;
}
#section1 .sec1-box .popupzone-wrap {
  flex: 1;
}
#section1 .sec1-box .swiper {
  width: 100%;
  height: 100%;
  border-radius: 1.6rem;
}
#section1 .sec1-box .swiper-slide {
  display: block;
  aspect-ratio: 34.1/28;
}
#section1 .sec1-box .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#section1 .sec1-box .swiper-slide a:focus-visible {
  border-radius: 1.6rem;
  outline: 2px solid #303030;
  outline-offset: -2px;
}
#section1 .sec1-box .swiper-pagination {
  width: auto;
  position: static;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.016rem;
  color: #403709;
  margin-right: 0.8rem;
}
#section1 .sec1-box .swiper-pagination-current {
  color: var(--pink);
}
#section1 .sec1-box .swiper-controller {
  height: 3.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.8rem;
  border-radius: 3rem;
  background: #fff;
}
#section1 .sec1-box .swiper-controller button {
  line-height: 1;
  font-weight: 600;
}
#section1 .character1 {
  width: 13.0597rem;
  height: 10.4169rem;
  background: url("/template/chs/img/main/character1.webp") no-repeat center center/cover;
  position: absolute;
  top: 34%;
  left: 38%;
  z-index: 1;
  opacity: 0;
  animation: slide_up 0.8s ease-out 0.5s forwards;
}
#section1 .character2 {
  width: 26.4rem;
  height: 26.3rem;
  background: url("/template/chs/img/main/character2.webp") no-repeat center center/cover;
  position: absolute;
  top: 25%;
  left: 3%;
  z-index: 4;
  opacity: 0;
  animation: slide_up 0.8s ease-out 1.2s forwards;
}
#section1 .character3 {
  width: 27.9rem;
  height: 14.5rem;
  background: url("/template/chs/img/main/character3.webp") no-repeat center center/cover;
  position: absolute;
  top: 31.5%;
  right: 6%;
  z-index: 4;
  opacity: 0;
  animation: fade_in 0.8s ease-out 1.9s forwards;
}
#section1 .character4 {
  width: 22.4rem;
  height: 20.2rem;
  background: url("/template/chs/img/main/character4.webp") no-repeat center center/cover;
  position: absolute;
  top: 3.2rem;
  right: -7%;
  z-index: 1;
  animation: float_up_down 3s ease-in-out infinite;
}
#section1 .character5 {
  width: 13.7rem;
  height: 12.6rem;
  background: url("/template/chs/img/main/character5.webp") no-repeat center center/cover;
  position: absolute;
  top: 3rem;
  left: -4%;
  z-index: 1;
  animation: float_up_down 3.5s ease-in-out infinite;
}
@keyframes slide_up {
  0% {
    opacity: 0;
    transform: translateY(3rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade_in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes float_up_down {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1.5rem);
  }
}
#section1 .cloud1 {
  width: 75.39rem;
  height: 47.933rem;
  background: url("/template/chs/img/main/cloud-left.webp") no-repeat center center/cover;
  position: absolute;
  top: 23%;
  left: 0;
  z-index: 1;
  animation: float_up_down 4s ease-in-out infinite;
}
#section1 .cloud2 {
  width: 79.444rem;
  height: 45.837rem;
  background: url("/template/chs/img/main/cloud-right.webp") no-repeat center center/cover;
  position: absolute;
  top: 15%;
  right: 0;
  z-index: 1;
  animation: float_up_down 4.5s ease-in-out infinite;
}
#section1 .flower1 {
  width: 33.9533rem;
  height: 24.3997rem;
  position: absolute;
  bottom: 18%;
  left: -24%;
  z-index: 4;
  overflow: visible;
}
#section1 .flower1 svg {
  overflow: visible;
}
#section1 .flower1 .petals {
  transform-origin: center;
  animation: petal_scale 3s ease-in-out infinite;
}
#section1 .flower2 {
  width: 33.9533rem;
  height: 24.3997rem;
  position: absolute;
  bottom: 14%;
  right: -25%;
  z-index: 4;
  overflow: visible;
}
#section1 .flower2 svg {
  overflow: visible;
}
#section1 .flower2 .petals {
  transform-origin: center;
  animation: petal_scale 3.5s ease-in-out infinite;
}
@keyframes petal_scale {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
@media (max-width: 1280px) {
  #section1 .sec1-wrap {
    gap: 2rem;
  }
  #section1 .sec1-box {
    width: calc(33.3333333333% - 1.3333333333rem);
    padding: 2.3rem;
  }
}
@media (max-width: 1024px) {
  #section1 .character1,
  #section1 .character3,
  #section1 .flower1,
  #section1 .flower2 {
    display: none;
  }
  #section1 .character2 {
    width: 17.4rem;
    height: 17.3rem;
    top: 21rem;
    left: 4rem;
  }
  #section1 .character4 {
    top: 17.2rem;
  }
  #section1 .character5 {
    top: -2rem;
    left: 0;
  }
  #section1 .cloud1 {
    left: -44rem;
    top: 28%;
  }
  #section1 .cloud2 {
    right: -44rem;
    top: 25%;
  }
  #section1 .sec1-wrap {
    flex-wrap: wrap;
    margin-top: 13.5rem;
  }
  #section1 .sec1-box {
    width: calc(50% - 1rem);
  }
  #section1 .sec1-box:nth-of-type(3) {
    width: 100%;
  }
  #section1 .sec1-box .swiper {
    width: 34rem;
    max-width: 100%;
    margin: 0 auto;
  }
  #section1 .sec1-title h2 {
    font-size: 6rem;
  }
}
@media (max-width: 768px) {
  #section1 {
    padding-top: 72px;
  }
}
@media (max-width: 645px) {
  #section1 .character2,
  #section1 .character4,
  #section1 .character5 {
    display: none;
  }
  #section1 .sec1-wrap {
    margin-top: 7.5rem;
  }
}
@media (max-width: 580px) {
  #section1 .sec1-box {
    width: 100%;
  }
  #section1 .cloud1,
  #section1 .cloud2 {
    top: 44%;
  }
}

#section2 {
  padding-top: 8rem;
  padding-bottom: 19rem;
  background: linear-gradient(180deg, #FFF 0%, #FBFFE5 100%);
  position: relative;
}
#section2::before {
  content: "";
  width: 100vw;
  height: 7.7rem;
  background: url("/template/chs/img/main/sec2-bg.webp") no-repeat center bottom/cover;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
#section2 .layout::before {
  content: "";
  width: 9.1314rem;
  height: 6.5714rem;
  background: url("/template/chs/img/main/sec2-character1.webp") no-repeat center center/cover;
  position: absolute;
  bottom: -10rem;
  left: -4.6rem;
  z-index: 1;
}
#section2 .layout::after {
  content: "";
  width: 16.1777rem;
  height: 12.9165rem;
  background: url("/template/chs/img/main/sec2-character2.webp") no-repeat center center/cover;
  position: absolute;
  bottom: -18rem;
  right: -8rem;
  z-index: 1;
}
#section2 h3 {
  font-size: 6rem;
  letter-spacing: -0.06rem;
  line-height: 1.2;
  font-family: var(--pinkfong);
  text-align: center;
  margin-bottom: 2.2rem;
}
#section2 h3 .pink {
  color: #FF6C88;
}
#section2 .sec2-wrap {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  border-radius: 2rem;
  box-shadow: 0 0.4rem 4rem 0 rgba(0, 0, 0, 0.1);
  background: #fff;
  overflow: hidden;
}
#section2 .sec2-tab {
  width: 50%;
  height: 6.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #303030;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  font-size: 2.8rem;
}
#section2 .sec2-tab.active {
  background: #fff;
  color: #303030;
}
#section2 .sec2-tab.active .ri-youtube-fill {
  color: #E22F2F;
}
#section2 .sec2-tab.active .ri-instagram-line {
  background: linear-gradient(90deg, #A81ADE 0%, #F6017A 52%, #FF9C01 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
#section2 .sec2-tab span {
  font-family: var(--pinkfong);
  letter-spacing: -0.028rem;
}
#section2 .sec2-tab i {
  line-height: 1;
  margin-top: 0.5rem;
}
#section2 .sec2-box {
  width: 100%;
  padding: 4rem;
  order: 9999;
  display: none;
}
#section2 .sec2-box.active {
  display: block;
}
#section2 .sec2-box-youtube, #section2 .sec2-box-instagram {
  display: flex;
  gap: 3.2rem;
}
#section2 .sec2-box-youtube > li, #section2 .sec2-box-instagram > li {
  width: calc(25% - 2.4rem);
}
#section2 .sec2-box-youtube > li > a, #section2 .sec2-box-instagram > li > a {
  display: flex;
  flex-direction: column;
}
#section2 .sec2-box-youtube > li > a .thumb, #section2 .sec2-box-instagram > li > a .thumb {
  margin-bottom: 1.8rem;
  border-radius: 1.2rem;
  border: 1px solid #E4E4E4;
  overflow: hidden;
}
#section2 .sec2-box-youtube > li > a .thumb img, #section2 .sec2-box-instagram > li > a .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#section2 .sec2-box-youtube > li > a .title, #section2 .sec2-box-instagram > li > a .title {
  font-size: 1.6rem;
  color: #303030;
  font-weight: 600;
  letter-spacing: -0.016rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
#section2 .sec2-box-youtube > li > a .thumb {
  aspect-ratio: 27/16;
}
#section2 .sec2-box-youtube > li > a .title {
  margin-bottom: 1.6rem;
}
#section2 .sec2-box-youtube > li > a .date {
  font-size: 1.6rem;
  color: #9e9e9e;
}
#section2 .sec2-box-instagram > li > a .thumb {
  aspect-ratio: 1/1;
}
#section2 .sec2-box-instagram > li > a .title {
  -webkit-line-clamp: 1;
}
#section2 .sec2-box .no-data {
  color: #E3E3E3;
  background: #F6F6F6;
}
@media (max-width: 1024px) {
  #section2 .sec2-box {
    padding: 3rem 2rem;
  }
}
@media (max-width: 1280px) {
  #section2 .layout::before {
    left: 2rem;
  }
  #section2 .layout::after {
    right: 2rem;
  }
}
@media (max-width: 768px) {
  #section2 .sec2-box-youtube, #section2 .sec2-box-instagram {
    flex-wrap: wrap;
  }
  #section2 .sec2-box-youtube > li, #section2 .sec2-box-instagram > li {
    width: calc(50% - 1.6rem);
    flex: auto;
  }
}
@media (max-width: 480px) {
  #section2 .sec2-box-youtube, #section2 .sec2-box-instagram {
    gap: 2rem;
  }
}

.no-data {
  height: 100%;
  min-height: 26rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
  padding: 2rem;
  border-radius: 1.6rem;
}
.no-data img {
  width: 5rem;
}
.no-data span {
  font-size: 2.4rem;
  line-height: 150%;
  letter-spacing: -0.024rem;
  font-family: var(--pinkfong);
}