.web-notice {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 15px 30px;
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}
.web-notice__wrap {
  border-radius: 30px;
  color: inherit;
  text-decoration: none;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  position: relative;
  padding: 20px 30px;
  overflow: hidden;
  background: #C5FCE7;
  background: -webkit-gradient(linear, left top, right top, from(rgb(197, 252, 231)), color-stop(33%, rgb(214, 255, 240)), color-stop(64%, rgb(230, 237, 255)), to(rgb(214, 231, 253)));
  background: linear-gradient(90deg, rgb(197, 252, 231) 0%, rgb(214, 255, 240) 33%, rgb(230, 237, 255) 64%, rgb(214, 231, 253) 100%);
}
.web-notice__wrap::before {
  content: "";
  background-image: url(../../assets/imgs/headphone.png);
  position: absolute;
  left: 0;
  top: 0;
  width: 120px;
  height: 120px;
  background-size: contain;
  z-index: 1;
  -webkit-transform: rotate(-15deg);
      -ms-transform: rotate(-15deg);
          transform: rotate(-15deg);
}
.web-notice__wrap::after {
  content: "";
  background-image: url(../../assets/imgs/hearts-2.png);
  position: absolute;
  right: 0;
  top: 0;
  width: 200px;
  background-repeat: no-repeat;
  background-position: center;
  height: 100%;
  background-size: contain;
  z-index: 1;
  -webkit-transform: rotate(-15deg);
      -ms-transform: rotate(-15deg);
          transform: rotate(-15deg);
}
.web-notice__date {
  z-index: 2;
  position: relative;
  min-width: 160px;
  height: auto;
}
.web-notice__date span {
  position: absolute;
  padding: 5px 10px;
  background-color: #fffe25;
  border-radius: 10px;
  white-space: nowrap;
  left: 0;
  top: -10px;
  bottom: auto;
  -webkit-transform: rotate(15deg);
      -ms-transform: rotate(15deg);
          transform: rotate(15deg);
          font-size: 14px;
}
.web-notice__content {
  position: relative;
  z-index: 2;
  margin: 0 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.web-notice__content p {
  font-weight: 600;
  margin: 0;
  margin-bottom: 5px;
  font-size: 20px;
}
.web-notice__content span {
  font-weight: 400;
  font-size: 14px;
}
.web-notice__btn {
  position: relative;
  z-index: 2;
  padding: 10px 15px;
  background-color: #fff;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  border-radius: 15px;
  -webkit-box-shadow: 3px 4px 17px rgba(37, 43, 54, 0.21);
          box-shadow: 3px 4px 17px rgba(37, 43, 54, 0.21);
  margin: auto 0;
  font-weight: 600;
}

.hide-notice-btn {
  position: absolute;
  right: 0;
  top: 15px;
  width: 20px;
  height: 20px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
.hide-notice-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% - 1px);
  width: 100%;
  height: 2px;
  background-color: #000;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
.hide-notice-btn::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% - 1px);
  width: 100%;
  height: 2px;
  background-color: #000;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .web-notice .hide-notice-btn {
    right: 10px;
  }
  .web-notice__wrap {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .web-notice__wrap::before {
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    opacity: 0.7;
  }
  .web-notice__wrap::after {
    opacity: 0.7;
    width: 120px;
    height: 100%;
  }
  .web-notice__date {
    margin-bottom: 20px;
  }
  .web-notice__date span {
    position: static;
  }
  .web-notice__content {
    margin: 0;
    margin-bottom: 20px;
  }
  .web-notice__btn {
    text-align: center;
  }
}