@font-face {
  font-family: 'HSSaemaul-Regular';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/HSSaemaul-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

:root {
  --color-purple: #c4a8e9;
  --color-purple-deep: #a680d7;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

.lock {
  overflow: hidden !important;
}

.font-hss {
  font-family: 'HSSaemaul-Regular', sans-serif;
}

.purple {
  color: var(--color-purple) !important;
}

.purple-underline {
  width: max-content;
  display: block;
  position: relative;
}

.purple-underline span {
  position: relative;
  z-index: 2;
  text-shadow: 0 0 10px var(--color-purple);
}

.purple-underline::after {
  content: "";
  width: 105%;
  height: 30%;
  display: block;
  position: absolute;
  bottom: 0;
  left: -0.5ex;
  border-radius: 5vw;
  background-color: var(--color-purple-deep);
  z-index: 1;
}

.visual {
  position: relative;
  overflow: hidden;
}

.visual .wrap-img {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}

.visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

/* 컨트롤러 전체 감추기 */
.visual video::-webkit-media-controls { display:none !important; }
/* 컨트롤러 중 원하는 부분만 감추기 */
/* 전체화면 버튼 */ 
.visual video::-webkit-media-controls-fullscreen-button { display: none !important;  } 
/* 일시정지, 재생 버튼 */ 
.visual video::-webkit-media-controls-play-button { display: none !important;  } 
/* 재생 슬라이드..? */ 
.visual video::-webkit-media-controls-timeline { display: none !important;  } 
/* 현재 진행 시간 */ 
.visual video::-webkit-media-controls-current-time-display{ display: none !important; } 
/* 전체 시간 */ 
.visual video::-webkit-media-controls-time-remaining-display { display: none !important; } 
/* 음소거 버튼 */ 
.visual video::-webkit-media-controls-mute-button { display: none !important; } 
/* 볼륨 조절 슬라이드 */ 
.visual video::-webkit-media-controls-volume-slider { display: none !important; } 

.main .visual .wrap .title {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: absolute;
  top: 40%;
  left: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
}

.main .visual .wrap .title img {
  width: auto;
  max-width: 80%;
}


.main .sc1 {
  background: url(../img/main_bg002.png);
  background-position: bottom center;
  background-size: cover;
  color: #fff;
}

.main .sc1 * {
  color: inherit;
}

.main .sc1 .img-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main .sc1 .img-box img {
  width: 80%;
  display: block;
}

.main .sc1 .inner {
  padding: 100px 0;
  padding-bottom: 160px;
  max-width: 1320px;
  margin-inline: auto;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.main .sc1 .inner .purple-underline::after {
  width: 0%;
  transition: width .5s;
}

.main .sc1 .inner .purple-underline.line2::after {transition-delay: .2s;}
.main .sc1 .inner .purple-underline.line3::after {transition-delay: .35s;}
.main .sc1 .inner .purple-underline.line4::after {transition-delay: .4s;}

.main .sc1 .inner:hover .purple-underline::after {
  width: 105%;
}

@media screen and (max-width: 1024px) {
  .main .sc1 .inner {
    padding-bottom: 100px;
  }

  .main .sc1 .inner .purple-underline::after {
    width: 105%;
  }
}

.main .sc1 .inner .img-box img {
  transition: all .5s;
}
.main .sc1 .inner:hover .img-box img {
  transform: translateY(-5px);
  filter: brightness(1.25);
}

.main .sc1 h2 {
  margin-bottom: 0.5em;
  font-size: 65px;
  font-weight: 400;
}

.main .sc1 h2 * {
  white-space: nowrap;
}

.main .sc1 h3 {
  width: max-content;
  margin-bottom: 0.5em;
  position: relative;
  letter-spacing: 1px;
  font-size: 24px;
  font-weight: 400;
}

.main .sc1 h3 .flower-box {
  content: "";
  width: 1em;
  height: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(100%, -100%);
}

.main .sc1 h3 .flower-box img {
  width: 100%;
  animation: rotate 5s linear infinite;
}

.main .sc1 p {
  margin-bottom: 1em;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.7;
}

.main .sc1 .purple-underline {
  white-space: nowrap;
}

.main .sc1 .wrap {
  padding-bottom: 350px;
}


.main .sc1 .wrap .illust-bg.img01 {
  right: 0;
  animation: none;
}

.main .sc2 .wrap {
  position: relative;
  background: linear-gradient(to bottom, #fff, 5%, #f0f1f6);
}

.main .sc2 .wrap .inner {
  position: relative;
  top: -240px;
}

.main .sc2 .wrap .inner .img02 {
  top: -230px;
  left: 5%;
  z-index: -1;
}

.main .sc2 .wrap .inner .subpage-list {
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.main .sc2 .wrap .inner .subpage-list li {
  border-radius: 30px;
  overflow: hidden;
  transition: all .5s;
}

.main .sc2 .wrap .inner .subpage-list li img {
  width: 100%;
}

.main .sc2 .wrap .inner .subpage-list li .link {
  position: relative;
  display: block;
}

.main .sc2 .wrap .inner .subpage-list li .link .filter {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity .5s;
  background: linear-gradient(to bottom, var(--color-purple-deep), transparent);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.main .sc2 .wrap .inner .subpage-list li .link .txt-box {
  width: 100%;
  height: 100%;
  padding: 30px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.main .sc2 .wrap .inner .subpage-list li .link .txt-box h3 {
  margin-bottom: 0.5em;
  font-size: 24px;
  line-height: 1.5;
  transition: color .35s;
}

.main .sc2 .wrap .inner .subpage-list li .link .txt-box .hashtag {
  font-size: 18px;
}

.main .sc2 .wrap .inner .subpage-list li .link .txt-box .hashtag span {
  color: var(--color-purple-deep);
  transition: color .35s;
  white-space: nowrap;
}

.main .sc2 .wrap .inner .subpage-list li:hover {
  transform: translateY(-45px);
  box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.1);
}

.main .sc2 .wrap .inner .subpage-list li:hover .link .filter {
  opacity: 1;
}

.main .sc2 .wrap .inner .subpage-list li:hover .link .txt-box h3,
.main .sc2 .wrap .inner .subpage-list li:hover .link .txt-box .hashtag span {
  color: #fff;
}

.txt-1024 {
  display: none;
}

@media screen and (max-width: 1024px) {
  .txt-1024-end {
    display: none;
  }

  .txt-1024 {
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: center;
  }

  .main .sc1 .wrap {
    padding-bottom: 150px;
  }

  .main .sc1 .inner {
    flex-direction: column;
    padding-bottom: 50px;
  }
  .main .sc1 .txt-1024 img {
    max-width: 50%;
  }

  .main .sc1 .img-box {
    margin-bottom: 30px;
  }

  .main .sc1 .img-box img {
    width: 100%;
  }

  .main .sc1 .wrap .illust-bg.img01,
  .main .sc2 .wrap .inner .img02 {display: none;}


  .main .sc2 .wrap .inner {
    top: -130px;
  }

  .main .sc2 .wrap .inner .subpage-list {
    width: 90%;
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  .main .sc1 .txt-1024 {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .main .sc1 .txt-1024 img {
    max-width: 40%;
    align-self: flex-end;
  }

  .main .sc1 h2 {
    font-size: 42px;
  }

  .main .sc1 p {
    font-size: 16px;
  }

  .main .sc1 .txt-1024 p {
    margin-bottom: 0;
  }

  .main .sc2 .wrap .inner .subpage-list {
    gap: 15px;
  }

  .main .sc2 .wrap .inner .subpage-list li .link .txt-box {
    padding: 30px 15px;
  }

  .main .sc2 .wrap .inner .subpage-list li .link .txt-box h3 {
    font-size: 20px;
  }

  .main .sc2 .wrap .inner .subpage-list li .link .txt-box .hashtag {
    font-size: 15px;
  }
}

@media screen and (max-width: 475px) {
  .main .sc1 .wrap {
    padding-top: 0;
  }
  .main .sc1 .txt-1024 {
    gap: 30px;
  }
  .main .sc2 .wrap .inner .subpage-list {
    grid-template-columns: 1fr;
  }
  
}

@media screen and (max-width: 320px) {
  .main .sc1 h2 {
    font-size: 38px;
  }

  .main .sc1 .txt-box {
    width: max-content;
  }
}

.e_book {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.7em;
  position: fixed;
  top: 300px;
  right: 0px;
  width: 270px;
  height: 50px;
  background-color: #493d37;
  overflow: hidden;
  transform: rotate(90deg) translateZ(0);
  transform-origin: top right;
  z-index: 20;
  backface-visibility: hidden;
}

.e_book > a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  text-align: center;
  line-height: 60px;
  color: #fff;
  font-size: 15px;
  transform: skew(0.1px);
}

.e_book > a img {
  height: 1.1em;
}

.e_book > a span {
  color: inherit;
}

.top_btn {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 100;
  backface-visibility: hidden;
  border: 1px solid #9a715f;
  border-radius: 50%;
  transform: translateX(calc(100% + 28px));
  transition: transform .35s;
}

.top_btn.on {
  transform: translateX(0);
}

.top_btn a {
  width: 100%;
  height: 100%;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.top_btn a img {
  width: 50%;
}

@media screen and (max-width: 1024px) {
  .e_book {
    position: absolute;
  }

  body:not(.ssr) .e_book {
    transform: none;
    top: 0;
    right: 0;
  }
}

@media screen and (max-width: 475px) {
  .e_book {
    padding: 0 15px;
  }

  .e_book > a {
    font-size: 14px;
    line-height: 40px;
  }

  .top_btn {
    width: 50px;
    height: 50px;
  }
}


/* 서브페이지 */
:root {
  --header-height: 100px;
}

.subpage {
  width: 100%;
  height: 100%;
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  transform: translateZ(0);
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 101;
  overflow-y: scroll;
  overflow-x: hidden;
}

.subpage.on {
  display: block;
}

@media screen and (max-width: 1024px) {
  .subpage::-webkit-scrollbar {display: none;}
}

.pos-rel {
  position: relative;
}

.pos-abs {
  position: absolute;
  top: 0;
  left: 0;
}

.cover {
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.subpage > .inner-wrap {
  width: 96%;
  max-width: 1200px;
  min-height: calc(100dvh - var(--header-height));
  margin: 0 auto;
  margin-top: var(--header-height);
  padding: var(--header-height) 0;
  /* padding-bottom: 0; */
  position: relative;
  border-radius: 65px 65px 0 0;
  background-color: #fff;
}

/* .subpage > .inner-wrap::after {
  content: "";
  width: 100%;
  height: calc(170px + 66px);
  display: block;
  position: absolute;
  bottom: calc(-170px - 65px);
  left: 0;
  background-color: #fff;
  z-index: -1;
} */

.subpage .side_padding {
  max-width: 850px;
  margin-inline: auto;
}

@media screen and (max-width: 1024px) {
  .subpage {background-color: #fff;}
  .subpage > .inner-wrap {width: 100%; padding: 0; margin-top: calc(var(--header-height) / 2);}
  .subpage .side_padding {padding: 0 5%;}
}

/* 특별호 서브페이지 스타일 */
body {
  font-family: "NanumSquareNeo bRg", sans-serif;
  font-weight: 400;
}

.m-center {margin-inline: auto;}

.flow-root {
  display: flow-root;
}

.flow-root .left {
  float: right;
  margin-left: 30px;
  margin-bottom: 30px;
  display: block;
}
.flow-root .right {
  float: right;
  margin-left: 30px;
  margin-bottom: 30px;
  display: block;
}

.flow-root .left.mb0,
.flow-root .right.mb0 {
  margin-bottom: 0;
}

img {
  width: auto;
  max-width: 100%;
}

.indent-num {
  display: flex;
}

.indent-num::before {
  content: attr(data-indent-num);
  margin-right: 0.25em;
  white-space: nowrap;
  color: inherit;
  font-weight: inherit;
}

@media screen and (max-width: 1024px) {
  .flow-root .left,
  .flow-root .right,
  .flow-root .left.mb0,
  .flow-root .right.mb0 {
    width: max-content;
    max-width: 100%;
    float: none;
    margin-inline: auto;
    margin-bottom: 30px;
  }
}

.tag-purple {
  width: max-content;
  max-width: 100%;
  padding: 12px 36px;
  background-color: var(--color-purple-deep);
  color: #fff;
  border-radius: 20vw;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.sub-top {
  margin-bottom: 60px;
}

.sub-top .tag-purple {
  margin-bottom: 30px;
}

.sub-top .title {
  font-size: 48px;
  font-weight: 500;
  text-align: center;
}

.sub-top .title,
.sub-con .title {
  word-break: keep-all;
  text-wrap: balance;
}

.sub-top p,
.sub-con p {
  font-size: 17px;
  word-break: break-all;
  text-align: justify;
  line-height: 1.8;
  letter-spacing: -0.7px;
}

.sub-con p {
  margin-bottom: calc(1em * 1.8);
}

.sub-con .textbox {
  padding-bottom: 60px;
}

.sub-con .textbox:last-of-type {
  padding-bottom: 30px;
}

.sub-con .img {
  text-align: center;
  padding-bottom: 0;
}

.sub-con .img > span {
  font-size: 0;
}

.sub-con .img small {
  margin-top: 5px;
  font-size: 14px;
  display: block;
}

.sub-con .title {
  padding-bottom: 1em;
  font-size: 40px;
  font-weight: 500;
  text-align: center;
  color: #78707f;
}

.sub-con .bg-box-multi {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sub-con .bg-box {
  padding: 30px 20px;
  background-color: #faf3e1;
}

.sub-con .bg-box.with-image {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.sub-con .bg-box .info b,
.sub-con .bg-box .info p {
  font-size: 16px;
  line-height: 1.5;
}

.sub-con .bg-box .info.small {
  margin-top: 10px;
  gap: 0.3em 0.5em;
}
.sub-con .bg-box .info.small small {
  font-size: 13px;
}

.sub-con .bg-box.with-image .info {
  flex-direction: column;
  align-items: flex-start;
}

.sub-con .bg-box .info p {
  display: flex;
  font-weight: 400;
}

.sub-con .bg-box .info p img {
  height: 1.3em;
  margin-right: 0.5ex;
}

.sub-con .bg-box b {
  font-size: 17px;
  display: block;
  margin-bottom: 1em;
  line-height: 1.7;
  word-break: keep-all;
  text-wrap: balance;
}

.sub-con .bg-box .info {
  display: flex;
  align-items: center;
  gap: 0.5em 1em;
  flex-wrap: wrap;
}

.sub-con .bg-box p {
  margin-bottom: 0;
}

.prevnext {
  width: 100%;
  padding: 0 20px;
  border: 1px solid #2a201e;
  /* box-shadow: 0 1px 10px 2px #2a201e1a; */
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prevnext .prev,
.prevnext .next {
  flex: 0;
}

.prevnext .prev a,
.prevnext .next a {
  height: 100%;
  padding: 15px 0;
  display: flex;
  align-items: center;
  color: #ccc;
  white-space: nowrap;
}

.prevnext .prev:hover a,
.prevnext .next:hover a {
  color: #2a201e;
}

.prevnext > div {
  display: flex;
}

.prevnext .curr {
  flex: 1;
  justify-content: center;
}

.prevnext .curr span {
  color: #2a201e;
}

.prevnext .next {
  justify-content: end;
}

.remote {
  width: 96%;
  gap: 10px;
  position: sticky;
  left: 0;
  bottom: 100px;
  pointer-events: none;
}

.remote .inner-wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.remote a {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px;
  background-color: #2a201e;
  border-radius: 50%;
  pointer-events: all;
}

.remote a.hidden {
  display: none;
}

.remote a:nth-of-type(3) {
  padding: 16px;
}

.remote a img {
  width: 100%;
}


@media screen and (max-width: 1024px) {
  .sub-con .bg-box.with-image {
    flex-direction: column;
    padding: 40px 20px;
  }

  .sub-con .bg-box.with-image > div {
    width: 100%;
    text-align: center;
  }
  .sub-con .bg-box.with-image .info {
    align-items: center;
    gap: 0.2em 1em;
  }

  .prevnext {
    display: none;
  }
  .remote {
    width: 100%;
    margin-bottom: 0;
    bottom: 0;
  }

  .remote .inner-wrap {
    width: 100%;
    position: static;
    transform: translateZ(0);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #2a201e;
  }

  .remote a {
    width: 70px;
    height: 70px;
    border-radius: 0;
  }

  .remote a.hidden {
    display: flex;
  }

  .remote a img {
    width: auto;
    height: 22px;
  }

  .remote a:nth-of-type(1) {
    order: 0;
  }
  .remote a:nth-of-type(2) {
    order: 4;
  }
  .remote a:nth-of-type(3) {
    order: 2;
  }
  .remote a:nth-of-type(3) img {
    height: 20px;
  }
  .remote a:nth-of-type(5) {
    order: 3;
  }
}

@media screen and (max-width: 768px) {
  .sub-top .title {
    font-size: 40px;
  }
  .sub-con .title {
    font-size: 32px;
  }
  .sub-con p {
    font-size: 16px;
  }
  .sub-con .bg-box b,
  .sub-con .bg-box .info b, .sub-con .bg-box .info p {
    font-size: 15px;
  }
}

@media screen and (max-width: 475px) {
  .prevnext {
    justify-content: space-between;
  }
  .prevnext .curr {
    display: none;
  }

  .prevnext .prev a,
  .prevnext .next a {
    color: #333;
  }
}

canvas {
  width: 100vmax;
  height: 100vmax;
  position: absolute;
  top: 0;
  left: 0;
  animation: rotate 120s linear infinite;
}

@keyframes can {
  
}