/* BASIC css start */
.mainPageContainer {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    gap: 6.25rem;
    background-color: var(--white);
}

.contentWrapper {
    width: 100vw;
    min-width: var(--pc-min-width);
    max-width: var(--pc-max-width);
}
#contentWrapperIssues,
#contentWrapper5,
#contentWrapper6,
#contentWrapper7,
#contentWrapper8 {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
}
.contentWrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#contentWrapper1 {
    height: 42vw;
    min-height: Calc(var(--pc-min-width) / 2.4);
    max-height: Calc(var(--pc-max-width) / 2.4);
    overflow: hidden;
}

.contentSlides {
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0%;
    display: flex;
    transition: 0.3s;
}
.contentSlide {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
}

.content1media {
    width: 100%;
    height: 100%;
}
/* 마카롱케이스 */
.macaronVideo {
    height: 100%;
    width: 100%;
}
.macaronA {
    background: linear-gradient(247deg, #9a72ff, #5dffd3);
    background-size: 200% 200%;
    -webkit-animation: con4backAnimation 5s ease infinite;
    -moz-animation: con4backAnimation 5s ease infinite;
    -o-animation: con4backAnimation 5s ease infinite;
    animation: con4backAnimation 5s ease infinite;
}
/* 마카롱케이스 */

.content1text {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}
.content1Btns {
    display: flex;
    flex-flow: row nowrap;
    width: 21rem;
    margin: -1rem 0 5vw 0;
    gap: var(--smallgap);
}
.content1Btns a {
    line-height: 2.5rem;
    width: calc((100% - var(--smallgap)) / 2);
    flex: 1;
    border-radius: 2.5rem;
    background-color: var(--white);
    text-align: center;
    box-shadow: 3px 3px 5px #00000050;
}
.content1Btns a:hover {
    transition: 0.3s;
    background-color: var(--black);
    color: var(--white);
}

.content1Underline {
    position: absolute;
    bottom: 1.5rem;
    width: 10rem;
    text-align: center;
    padding-bottom: 0.25rem;
    font-size: 1rem;
    margin-bottom: 1.5vw;
    color: var(--white);
    border-bottom: 1px solid var(--white);
}
.content1Noline {
    position: absolute;
    bottom: 1.5rem;
    /* width: 10rem; */
    text-align: center;
    padding-bottom: 0.25rem;
    font-size: 1.125em;
    margin-bottom: calc(4.5vw - 2.5rem);
    color: var(--white);
    font-weight: 300;
    /* border-bottom: 1px solid var(--white); */
}

.slidesControl {
    position: absolute;
    width: 2rem;
    height: 2rem;
    bottom: 50%;
    transform: translateY(50%);
    border-right: 3px solid var(--white);
    border-bottom: 3px solid var(--white);
    box-shadow: 2px 2px 2px #00000030;
    opacity: 0.5;
}
#slidesControlLeft {
    left: 2rem;
    transform: rotateZ(135deg);
}
#slidesControlRight {
    right: 2rem;
    transform: rotateZ(315deg);
}
.slidesControl:hover {
    width: 2.5rem;
    height: 2.5rem;
    opacity: 1;
    transition: 0.3s;
}
.slidesStatus {
    position: absolute;
    top: 1rem;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    gap: 0.75rem;
}
.slidesStatus button {
    width: 1rem;
    height: 1rem;
    background-color: var(--white);
    box-shadow: 1px 1px 3px #00000030;
    border-radius: 100%;
    opacity: 0.5;
}
.slidesStatus button:hover {
    opacity: 1;
}
#checkedStatus {
    opacity: 1;
}
#contentWrapperIssues {
    background-color: #f8f8f8;
    padding: 4.5rem 0;
}
.issueTittle {
    font-weight: 500;
}
.issueContents {
    max-width: var(--content-max-width);
    display: flex;
    gap: 1rem;
    width: 100%;
    padding: 0 var(--smallgap);
}
.issueContent {
    flex: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    background-color: #eee;
    overflow: hidden;
    box-shadow: 0 0px 6px #00000015;
}
.issueContentText {
    width: 100%;
    height: 5rem;
    background-color: #ffffffee;
    text-align: center;
    position: absolute;
    bottom: 0;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}
.issueContent:hover .issueContentText {
    transition: 0.5s;
    bottom: 50%;
    height: 8rem;
    transform: translateY(50%);
}
.issueContentTextMain {
    /* font-size: 1.25rem; */
    font-weight: 500;
    color: var(--charcol);
}
.issueContentTextSub {
    font-weight: 400;
    color: var(--darkgrey);
}
#contentWrapper2 {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    align-items: center;
}

.content2media {
    width: 100%;
    max-width: var(--content-max-width);
    aspect-ratio: 16/9;
    overflow: hidden;
    /* height: calc(100vw / 2.4);
    min-height: 427px;
    max-height: 800px; */
}
.content2media iframe,
.content2media object,
.content2media embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#contentWrapper2 h1 {
    font-size: 2.625rem;
    margin: 1.25rem;
}

#contentWrapper3 {
    display: flex;
    flex-flow: row nowrap;
    gap: var(--smallgap);
    padding: 0 var(--smallgap);
    justify-content: center;
}
.content3list {
    flex: 1;
    max-width: 600px;

    height: 43vw;
    min-height: 437px;
    max-height: 800px;
    background-color: antiquewhite;
}
.content3list:hover h4 {
    transform: scale(1.2);
    transition: 0.3s;
}
.content3list:hover .innerGradationLayer1 {
    height: 400%;
    transition: 0.3s;
}
.content3media {
    width: 100%;
    height: 100%;
}
.innerGradationLayer1 {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0) 10%,
        rgba(0, 212, 255, 0) 100%
    );
}
.content3text {
    width: 100%;
    position: absolute;
    bottom: 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    padding: 1.5em;
}
.content3list h4 {
    color: var(--white);
    font-weight: 500;
}

#contentWrapper4 {
    height: 25rem;
}
.content4media {
    width: 100%;
    height: 100%;
    background: linear-gradient(247deg, #5effea, #9b73ff);
    background-size: 200% 200%;

    -webkit-animation: con4backAnimation 5s ease infinite;
    -moz-animation: con4backAnimation 5s ease infinite;
    -o-animation: con4backAnimation 5s ease infinite;
    animation: con4backAnimation 5s ease infinite;
}

.content4text {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;

    display: flex;
    flex-flow: column nowrap;
    justify-content: space-evenly;
    align-items: center;
}
.content4text h5 {
    font-size: 1.125rem;
    color: white;
}
.content4text h1 {
    font-size: 8rem;
    color: white;
    font-weight: 700;
}
.content4btns {
    display: flex;
    flex-flow: row nowrap;
    gap: 3rem;
}
.content4btns a {
    text-align: center;
    cursor: pointer;
}
.content4btns a:hover {
    text-align: center;
    transition: 0.3s;
    transform: scale(1.1);
}
.content4btns a img {
    width: 6rem;
    height: auto;
}
.content4btns a p {
    color: var(--white);
    margin-top: 0.25em;
    font-size: 1rem;
}

.content5ul {
    width: 100%;
    max-width: var(--content-max-width);

    display: flex;
    padding: 0 var(--smallgap);
    gap: var(--smallgap);
}
.content5list {
    flex: 1;

    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    text-align: center;
}

.content5list:hover h4 {
    transition: 0.3s;
    color: var(--brandcolor);
    border-bottom: 2px solid var(--brandcolor);
}
.content5list:hover h3 {
    transition: 0.3s;
    color: var(--brandcolor);
}
.content5media {
    width: 100%;
    height: 35vw;
    max-height: 660px;
    background-color: #000000;
}
.content5text {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}
.content5text h3 {
    margin: 0.5em;
    font-weight: 500;
}

.content5text h4 {
    color: var(--darkgrey);
    border-bottom: 2px solid var(--darkgrey);
}

.content6ul {
    display: flex;
    gap: var(--smallgap);
    padding: 0 var(--smallgap);
    width: 100%;
    max-width: var(--content-max-width);
    height: 50vw;
    max-height: 945px;
    min-height: 512px;
}
.content6list1 {
    flex: 1;
    height: 100%;
    background-color: aquamarine;
}
.content6list2 {
    flex: 1;
    height: 100%;
    display: flex;
    flex-flow: row wrap;
    gap: var(--smallgap);
}
.content6media {
    width: calc(50% - (var(--smallgap) / 2));
    height: calc(50% - (var(--smallgap) / 2));
    background-color: blueviolet;
}
.content6img {
    width: 100%;
    height: 100%;
}
.content6text {
    position: absolute;
    top: 1rem;
    left: 1rem;
}
.content6text h4 {
    font-weight: 500;
    color: var(--white);
}

.content7ul {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-flow: row nowrap;
    padding: 0 var(--smallgap);
    gap: var(--smallgap);
}
.content7list {
    flex: 1;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}
.content7media {
    height: calc((100vw - 50px) / 4 * 1.5);
    min-height: 366px;
    max-height: 701px;
    width: 100%;
    background-color: pink;
    cursor: pointer;
}
.content7media img {
    position: absolute;
}
.content7list:hover img:first-child {
    z-index: 2;
}

.content7list h4 {
    font-weight: 500;
}
#contentWrapper8 {
    max-width: var(--content-max-width);
    padding: var(--smallgap);
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}
/* depth 1 */
.listContainer {
    display: flex;
    flex-flow: column;
    gap: 1.5rem;
    width: 100%;
    align-items: flex-start;
    overflow: hidden;
    background-color: #f8f8f8;
    box-shadow: #00000010 1px 1px 5px;
    padding: 2rem var(--smallgap);
}
.listHeader {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.listTittle {
    font-weight: 500;
    padding: 0 0.5rem;
}
.listBtns {
    /* padding: 0 1rem; */
}
.listBtns button {
    width: 0.75rem;
    height: 0.75rem;
    border-bottom: 2px solid #111;
    border-right: 2px solid #111;
    margin: 0 1rem;
}
.listBtns button:nth-child(1) {
    transform: rotateZ(135deg);
}

.listBtns button:nth-child(2) {
    transform: rotateZ(-45deg);
}
.listContents {
    width: max-content;
    height: max-content;
    display: flex;
    flex-flow: row nowrap;
    /* transform: translateX(-100%); */
    gap: var(--smallgap);
}
.listContent {
    width: calc((100vw - var(--smallgap) * 8) / 5);
    max-width: calc((var(--content-max-width) - var(--smallgap) * 8) / 5);
    min-width: calc((var(--pc-min-width) - var(--smallgap) * 8) / 5);
    background-color: #fff;
    box-shadow: #00000010 1px 1px 5px;
}
.contentImgWrapper {
    width: 100%;
    height: calc((100vw - var(--smallgap) * 8) / 3.75);
    max-height: calc((var(--content-max-width) - var(--smallgap) * 8) / 3.75);
    min-height: calc((var(--pc-min-width) - var(--smallgap) * 8) / 3.75);
    margin-bottom: 0.5em;
    box-shadow: 3px 3px 5px #00000008;
}
.contentImg {
    width: 100%;
    height: 100%;
}
.contentImg > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.contentBtnsWrapper {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.contentBtn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 3rem;
    background: #ffffffdd;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 1px 2px 7px #00000020;
}
.contentBtn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.btnWish path {
    stroke: var(--black);
    fill: #ffffff00;
}
.btnWish:hover path {
    transition: 0.3s;
    fill: var(--brandcolor);
}
.wish-on path {
    fill: var(--brandcolor);
    stroke: var(--brandcolor);
}
.btnOption path {
    stroke: var(--black);
    fill: #ffffff00;
}
.contentMeta {
    padding: 0 0.75rem 0.75rem 0.75rem;
}
.contentMeta h5 {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
    font-weight: 500;
}
.contentMeta p {
    color: var(--darkgrey);
    margin-top: 0.375em;
}
.contentSoldout {
    color: var(--brandcolor);
}

@keyframes con4backAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes blurEffect {
    0% {
        filter: blur(0rem);
    }
    66% {
        filter: blur(0rem);
    }
    85% {
        filter: blur(3rem);
    }
    100% {
        filter: blur(0rem);
    }
}

@keyframes changingItem1 {
    0% {
        opacity: 1;
    }
    22.2% {
        opacity: 1;
    }
    33.3% {
        opacity: 0;
    }
    55.5% {
        opacity: 0;
    }
    66.6% {
        opacity: 0;
    }
    88.8% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes changingItem2 {
    0% {
        opacity: 0;
    }
    22.2% {
        opacity: 0;
    }
    33.3% {
        opacity: 1;
    }
    55.5% {
        opacity: 1;
    }
    66.6% {
        opacity: 0;
    }
    88.8% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
@keyframes changingItem3 {
    0% {
        opacity: 0;
    }
    22.2% {
        opacity: 0;
    }
    33.3% {
        opacity: 0;
    }
    55.5% {
        opacity: 0;
    }
    66.6% {
        opacity: 1;
    }
    88.8% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes fontGradation {
    0% {
        background-position: 0;
    }
    100% {
        background-position: 100%;
    }
}
@keyframes flickerImg {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* ===== 원단(POWER 370) 히어로: fabric.css에서 히어로 부분만 옮김 ===== */
#sp370 {
    --sp-ink: #12151c;
    --sp-sky: #1d8cf2;
    --sp-font:
        "Pretendard", "Inter", -apple-system, "Apple SD Gothic Neo",
        "Malgun Gothic", sans-serif;
    --sp-font-en: "Inter", "Pretendard", sans-serif;
    --sp-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --sp-radius-sm: 0.25rem;

    position: relative;
    width: 100%;
    overflow-x: clip;
    font-family: var(--sp-font);
    color: var(--sp-ink);
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    word-break: keep-all;
    text-align: left;
}
#sp370 *,
#sp370 *::before,
#sp370 *::after {
    box-sizing: border-box;
}
#sp370 video {
    display: block;
    max-width: none;
}
#sp370 h1,
#sp370 p {
    margin: 0;
    padding: 0;
    border: 0;
}
#sp370 a {
    color: inherit;
    text-decoration: none;
}
#sp370 i {
    font-style: normal;
}

/* 등장 효과 (--d: 요소별 지연시간) */
#sp370 [data-sp] {
    opacity: 0;
    transform: translate3d(0, 2.75rem, 0);
    transition:
        opacity 0.3s var(--sp-ease-out) var(--d, 0ms),
        transform 0.3s var(--sp-ease-out) var(--d, 0ms);
}
#sp370 [data-sp="fade"] {
    transform: none;
}
#sp370 [data-sp].sp-on {
    opacity: 1;
    transform: none;
}
#sp370 .sp-eyebrow-w {
    --d: 100ms;
}
#sp370 .sp-hero-sub {
    --d: 200ms;
}
#sp370 .sp-hero-lead {
    --d: 100ms;
}
#sp370 .sp-more {
    --d: 300ms;
}

/* 글자 단위 등장 (--i: 글자 순번) */
#sp370 .sp-c {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, 70%, 0) scale(0.96);
    filter: blur(0.875rem);
    transition:
        transform 0.3s var(--sp-ease-out),
        opacity 0.3s ease,
        filter 0.3s ease;
    transition-delay: calc(400ms + var(--i, 0) * 55ms);
}
#sp370 .sp-on .sp-c {
    opacity: 1;
    transform: none;
    filter: none;
}

/* 히어로 (--hero-p: JS에서 스크롤 진행도 0~1 전달) */
#sp370 .sp-hero {
    position: relative;
    display: block;
    height: 100vh;
    min-height: 42.5rem;
    max-height: 75rem;
    overflow: hidden;
    background: #05070d;
    color: var(--white);
}
#sp370 .sp-hero-vid {
    position: absolute;
    left: 0;
    top: -5%;
    width: 100%;
    height: 110%;
    object-fit: cover;
    translate: 0 calc(var(--hero-p, 0) * 4.375rem);
    will-change: transform, translate;
    animation: sp-hero-zoom 2.4s var(--sp-ease-out) both;
}
@keyframes sp-hero-zoom {
    from {
        transform: scale(1.12);
    }
    to {
        transform: scale(1);
    }
}
#sp370 .sp-hero-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 50% 50%,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
}
#sp370 .sp-hero-in {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem 4vh;
    translate: 0 calc(var(--hero-p, 0) * 5.625rem);
    opacity: calc(1 - var(--hero-p, 0) * 1.3);
    will-change: translate, opacity;
}
#sp370 .sp-eyebrow-w {
    font-family: "Pretendard", "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.25rem;
    letter-spacing: 0;
    color: var(--white);
}
#sp370 .sp-display {
    font-family: var(--sp-font-en);
    font-weight: 600;
    font-size: 6rem;
    line-height: 6.25rem;
    letter-spacing: -0.03em;
    margin: 1.125rem 0 1.625rem;
    color: var(--white);
    white-space: nowrap;
}
#sp370 .sp-display .b {
    color: var(--sp-sky);
}
#sp370 .sp-display > span:last-child {
    font-weight: 800;
}
#sp370 .sp-hero-sub {
    font-size: 1.5rem;
    line-height: 2.125rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.02em;
}
#sp370 .sp-hero-sub b {
    font-weight: 800;
}
#sp370 .sp-hero-lead {
    margin-top: 1.125rem;
    max-width: 56.25rem;
    font-size: 1.25rem;
    line-height: 2rem;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: -0.01em;
}
/* 자세히 보기 버튼 (히어로 전체가 링크라 span으로 표시만) */
#sp370 .sp-more {
    display: inline-flex;
    align-items: center;
    gap: var(--smallgap);
    margin-top: var(--largegap);
    padding: 0.875rem 1.75rem;
    font-size: 1.125rem;
    line-height: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--sp-radius-sm);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(0.5rem);
    transition:
        opacity 0.3s var(--sp-ease-out) var(--d, 0ms),
        transform 0.3s var(--sp-ease-out) var(--d, 0ms),
        background 0.35s,
        color 0.35s,
        border-color 0.35s;
}
#sp370 .sp-more svg {
    transition: transform 0.35s var(--sp-ease-out);
}
#sp370 .sp-hero:hover .sp-more {
    background: var(--white);
    color: var(--sp-ink);
    border-color: var(--white);
}
#sp370 .sp-hero:hover .sp-more svg {
    transform: translate3d(0.375rem, 0, 0);
}

@media (max-width: 1280px) {
    #sp370 .sp-display {
        font-size: 4.75rem;
        line-height: 5.125rem;
    }
}

@media (max-width: 768px) {
    #sp370 .sp-pc {
        display: none;
    }
    #sp370 .sp-hero {
        height: 40rem;
        min-height: 0;
        max-height: none;
    }
    #sp370 .sp-hero-in {
        padding: 0 var(--mediumgap);
    }
    #sp370 .sp-display {
        font-size: 2.75rem;
        line-height: 2.75rem;
        margin: 1rem 0 var(--mediumgap);
    }
    #sp370 .sp-hero-sub {
        font-size: 1.125rem;
        line-height: 1.5rem;
    }
    #sp370 .sp-hero-lead {
        margin-top: 0.875rem;
        max-width: 21.25rem;
        font-size: 1rem;
        line-height: 1.375rem;
    }
    #sp370 .sp-more {
        margin-top: 1.75rem;
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        line-height: 1.375rem;
    }
    #sp370 .sp-more svg {
        width: 1.125rem;
        height: 1.125rem;
    }
}

/* 모션 최소화 설정 사용자: 등장 효과 제거 */
@media (prefers-reduced-motion: reduce) {
    #sp370 [data-sp],
    #sp370 .sp-c {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
    #sp370 .sp-hero-vid {
        animation: none;
    }
}

/* BASIC css end */

