.item-contents>div {
    z-index: 1;
    position: relative;
}


.image {
    -webkit-animation: bgani 1s;
    animation: bgani 1s;
}


@-webkit-keyframes bgani {
    from {
        opacity: 0;
        scale: 2;
    }

    to {
        opacity: 1;
        scale: 1;
    }
}

@keyframes bgani {
    from {
        opacity: 0;
        scale: 2;
    }

    to {
        opacity: 1;
        scale: 1;
    }
}


.swiper.action {
    -webkit-animation: fadein 0.5s linear;
    animation: fadein 0.5s linear;
}



@-webkit-keyframes fadein {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fadein {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}


.title {
    display: flex;
    text-align: left;
    padding: 0 5%;
    align-items: end;
    color: #fff;
    font-size: var(--font-size-blg);
    font-weight: 900;
    text-shadow: 3px 4px 5px hsl(0deg 0% 18.82%/ 60%);
    width: 100%;
    height: 85svh;
    -o-object-fit: cover;
    object-fit: cover;
}


.title2 {
    display: flex;
    width: 100%;
    text-align: center;
    padding: 0 10%;
    justify-content: center;
    align-items: center;
    color: #fff;
    height: 100%;
    font-size: var(--font-size-blg);
    font-weight: 900;
    text-shadow: 3px 4px 5px hsl(0deg 0% 18.82% / 60%);
}

.title2>div {
    overflow: hidden;
    position: relative;
}


.title2>div>.flyTop {
    position: relative;
    -webkit-animation: flyTop 0.8s;
    animation: flyTop 0.8s;
}


.title>div {
    overflow: hidden;
    position: relative;
}

.title>div>.flyTop {
    position: relative;
    -webkit-animation: flyTop 0.8s;
    animation: flyTop 0.8s;
}

.title>div>.flyBottom {
    position: relative;
    -webkit-animation: flyBottom 1s;
    animation: flyBottom 1s;
}

@keyframes flyBottom {
    from {
        bottom: -300px;
    }

    to {
        bottom: 0;
    }
}

@keyframes flyTop {
    from {
        top: -300px;
    }

    to {
        top: 0;
    }
}

.image-txtpanal {
    min-width: var(--view-min-width);
    max-width: var(--view-max-width);
}

.dynamicMin_3,
.dynamicMin_2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center !important;
    width: inherit !important;
    gap: 10px !important;

}

.dynamicMin_3>div {
    min-width: var(--view-min-width);
    max-width: var(--view-max-width);
}

.dynamicMin_2>div {
    min-width: var(--view-min-width);
    max-width: var(--view-max-width);
}




.flex-item {
    height: inherit;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.flex-item.profile {
    /*     height: 300px; */
}

.flex-item.rect {
    position: relative;
    height: 500px;
    /* background-color: hsl(300, 1%, 21%); */
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); */
    color: #fff;
}

.flex-item.image-txtpanal {
    background-color: hsl(0, 0%, 96%);
}

.flex-item-books {
    /*     min-width: var(--view-min-width); */
    /*     max-width: var(--view-max-width); */
    height: 600px;
    background-color: hsl(84, 4%, 52%);
    flex: 1;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.fade-left {
    left: -9999px;
}

.fade-right {
    right: -9999px;
}

.rotation-img {
    opacity: 0;
}

.fade-img {
    opacity: 0;
}

.imgCover {
    border-image: fill 0 linear-gradient(hsla(0, 0%, 21%, 0.5),
            hsla(0, 0%, 21%, 0.5));
    z-index: 0;
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100%);
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.flip-from-contents {
    padding: 10px;
    position: absolute;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.flip-card {
    height: unset !important;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.flip-card-inner::after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-front {
    background-color: #bbb;
}

.flip-card-back {
    background-color: #064C2A;
    transform: rotateY(180deg);
}

.instargramPanal {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px;
}

.instargramPanal .swiper-slide {
    width: calc(100vw/ 4);
    height: calc(100vw/ 4);
    max-width: 200px;
    max-height: 200px;
    border: solid 1px #BEABBD;

}

.instargramPanal .swiper-slide>* {
    width: 100%;
    height: 100%;
}


.comment-panal {
    text-align: left;
    font-size: var(--font-size-sm);
    color: #828282;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.comment-panal-txt>div {
    text-indent: -5px;
    padding-left: 5px;
}

.comment-panal-txt-bold>div {
    text-indent: -15px;
    padding-left: 15px;
}



/* 스크롤 아이콘 */

/* .mouse_scroll { transform: translateX(-50%); }  */
.mouse {
    display: block;
    width: 23px;
    height: 36px;
    border: 2px solid #ffffff;
    border-radius: 23px;
}

.mouse::after {
    content: '';
    display: block;
    position: relative;
    width: 2px;
    height: 6px;
    margin: 5px auto;
    background: #ffffff;
    -webkit-animation: mouse-pulse 1.2s ease infinite;
    animation: mouse-pulse 1.2s ease infinite;
}

.dowm_arrow {
    margin-top: 6px;
}

.dowm_arrow span {
    display: block;
    position: relative;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-bottom: 2px;
    margin-left: -2px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) translateX(-50%);
    -webkit-animation: fade-arrow 1s infinite;
    animation: fade-arrow 1s infinite;
}

.dowm_arrow2:nth-of-type(2) {
    -webkit-animation-delay: .2s;
    animation-delay: .2s;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
}

.dowm_arrow3:nth-of-type(3) {
    -webkit-animation-delay: .3s;
    animation-delay: .3s;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
}

@-webkit-keyframes mouse-pulse {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(6px);
    }
}

@keyframes mouse-pulse {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(6px);
    }
}



/* 서브 메뉴  */

.tabMene {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1px;
    position: sticky;
    top: 130px;
    z-index: 2
}

.tabMene>.tap {
    cursor: pointer;
    min-height: 60px;
    width: calc(100% / 3);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #7B9779;
    padding: 5px;
    color: #fff;
    gap: 10px;

    transition: background-color 0.3s;
}

.tabMene>.tap:hover {
    background-color: #638b60;
}

.tabMene>.tap.action {
    background-color: #064C2A;
}

.tabMene>.tap:first-child {
    border-radius: 50px 0 0 50px;
}

.tabMene>.tap:last-child {
    border-radius: 0 50px 50px 0;
}

.tabMene .icon {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    width: 35px;
    height: 35px;
}

/* 서브 메뉴  */

.tabMene2 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1px;
    position: sticky;
    top: 130px;
    z-index: 2;
    /* padding: var(--pading-5-20); */
    
}

.tabMene2 .tapPanal {
	border: var(--margin-5-10) solid #fff;
    border-radius: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: var(--margin-5-20)
}
.tabMene2 .tap {
    cursor: pointer;
    min-height: 50px;
    width: calc(100% / 3);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #7B9779;
    padding: 5px;
    color: #fff;
    gap: 10px;
    transition: background-color 0.3s;
    
}

.tabMene2 .tap:hover {
    background-color: #638b60;
}

.tabMene2 .tap.action {
    background-color: #064C2A;
}

.tabMene2 .tap:first-child {
    border-radius: 50px 0 0 50px;
}

.tabMene2 .tap:last-child {
    border-radius: 0 50px 50px 0;
}

.tabMene2 .icon {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    width: 35px;
    height: 35px;
}

.img-panal>img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}


.img-fit {
    /* 	width: calc(var(--scwidth) / 2 - 10px - var(--pading-all)); */
    padding: 10px;
    /* 	flex: 1 */
}

.img-fit>img {

    width: 100%;
    height: 100%;
    object-fit: contain;
}



.line-text-cetner {
    display: flex;
    flex-basis: 100%;
    align-items: center;
    color: #B29969;
    margin: 8px 0px;
}

.line-text-cetner::before {
    content: "";
    flex-grow: 1;
    margin: 0px 16px;
    background: #B29969;
    height: 1px;
    font-size: 0px;
    line-height: 0px;
}

.line-text-cetner::after {
    content: "";
    flex-grow: 1;
    margin: 0px 16px;
    background: #B29969;
    height: 1px;
    font-size: 0px;
    line-height: 0px;
}


.line-text-left {
    display: flex;
    flex-basis: 100%;
    align-items: center;
    color: #B29969;
    margin: 8px 0px;
}

.line-text-left::after {
    content: "";
    flex-grow: 1;
    margin: 0px 16px;
    background: #B29969;
    height: 1px;
    font-size: 0px;
    line-height: 0px;
}



.lesson-box {
    text-align: center;
    background-color: #CEDCC7;
    border-radius: 100px;
    padding: 10px;
    width: calc(90% - 10px);
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.switchRow {
    display: var(--switchDisP);
}

.radiusTxt label {
    display: inline-block;
    border-radius: 15px;
    padding: 3px 10px;
    background: var(--body-bg);
    color: #fff;
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-align: center;
}

.boxTxt label {
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid #000;
    /*     background: var(--body-bg); */
    color: #000;
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-align: center;
}

.saleBtnBook {
    color: #fff;
    background: inherit;
    padding: 10px;
    border: 1px solid #fff;
    transition: all 0.6s;
}

.saleBtnBook:hover {
    color: #000;
    background: #fff;
    border: 1px solid #000;
}

.goBtn {
    color: #fff;
    background: inherit;
    padding: 20px;
    border: 1px solid #fff;
    transition: all 0.6s;
}

.goBtn:hover {
    color: #000;
    background: #fff;
    border: 1px solid #000;
}

.goBtn:hover svg {
    fill: #000;
}


.highlight>* {
    opacity: 0.8;
}

.highlight>*:hover {
    opacity: 1;
}

.top-swiper-items:hover {
    cursor: pointer;
    font-weight: bold;
}

.top-swiper-items {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

}

/* 21:9 비율 */
.ratio-21-9 {
    aspect-ratio: 21 / 9;
}

/* 16:9 비율 */
.ratio-16-9 {
    aspect-ratio: 16 / 9;
}

.ratio-1-3 {
    aspect-ratio: 1 / 3;
}


