@charset 'UTF-8';

.main-sec {
    padding: 40px 0;
}
/* 1. 비주얼 영역 */
.main-visual-sec {
    height: 100vh;
    margin-bottom: 40px;
}
.main-visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.main-banner {
    position: absolute;
    left: 0;
    top: 0;
    width: 400%;
    height: 100%;
}
.mb-slide-item {
    position: relative;
    float: left;
    width: 25%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.mb-slide-item:before {
    display: block;
    width: 100%;
    height: 100%;
    content: '';
    background-color: #000;
    opacity: 0.05;
}

.mb-slide-item1 {background-image: url('../images/main_visual1.jpg');}
.mb-slide-item2 {background-image: url('../images/main_visual2.jpg');}
.mb-slide-item3 {background-image: url('../images/main_visual3.jpg');}
.mb-slide-item4 {background-image: url('../images/main_visual4.jpg');}

.mb-slide-txt {
    position: absolute;
    left: 50%;
    top: 45%;
    width: 100%;
    transform: translate(-50%, -50%);
    font-size: 1.6em;
    font-weight: 700;
    z-index: 2;
}
.txt-tag {}
.txt-tag span {
    font-size: 0.7em;
}

/* 자세히보기 버튼 */
.btn-go  { 
    display: block;
    width: 7em;
    margin-top: 1em;
    border-radius: 20px;
    line-height: 2.2;
    background-color: #000;
    text-align: center;
    font-size: 0.6em;
    font-weight: 700;
    color: #fff;
}
.btn-go:hover {
    background-color: #fff;
    color: #000;
}
/* 다크모드 자세히보기 버튼 */
.btn-go-wh { 
    display: block;
    width: 7em;
    margin-top: 1em;
    border-radius: 20px;
    line-height: 2.2;
    background-color: #fff;
    text-align: center;
    font-size: 0.7em;
    font-weight: 700;
    color: #000;
}
.btn-go-wh:hover {
    background-color: #000;
    color: #fff;
}

.main-visual-sec input {
    display: none;
}
.main-visual-sec label {
    display: inline-block;
    cursor: pointer;
}
/* 메인배너 이전, 다음 버튼 */
.mb-controls {
    position: absolute;
    left: 13PX;
    top: calc(40% + 17%);
    width: 7em;
}
.mb-btn {
    position: absolute;
    top: 0;
    width: 24px;
    height: 24px;
    overflow: hidden;
}
/* 화살표 */
.next-btn:before,
.prev-btn:before {
    position: absolute;
    right: calc(50% - 5px);
    top: calc(50% - 5px);
    width: 10px;
    height: 10px;
    border: 1.5px solid #000;
    border-width: 1.5px 1.5px 0 0;
    transform: rotate(45deg);
    content: '';
}
.next-btn:after,
.prev-btn:after  {
    position: absolute;
    right: calc(50% - 6px);
    top: calc(50% - 1px);
    width: 12px;
    height: 1.5px;
    background-color: #000;
    content: '';
}
.mb-pagination {
    /* display: none; */
}
.prev-btn {
    left: 0;
    transform: scaleX(-1);
}
.next-btn {
    right: 0;
}

/* trand */
.main-trand-sec {}
.main-trand-container {}
.main-trand-container h2 {
    text-align: center;
    font-weight: 600;
}
.main-trand-container h2::before { /* 동그라미 */
    background-color: var(--logo-yellow);
}
.trand-title-wrap {
    position: relative;
    height: 40vh;
    font-weight: 600;
    background: url(../images/Magazine_visual_mo.jpg) center center / cover no-repeat;
    z-index: 1;
    margin-bottom: 1em;
}
.trand-title-wrap::after {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    content: '';
    z-index: -1;
    background: linear-gradient(45deg, rgba(0,0,0,0.7) 0%,rgba(0,0,0,0) 100%);
}
.trand-title-img {}
.trand-title-txt {
    position: absolute;
    left: 15px;
    bottom: 15%;
    font-size: 1.3em;
    color: #fff;
}
.trand-title-wrap > a {
    position: absolute;
    left: 15px;
    bottom: 8%;
}

/* 트렌드 스와이퍼 */
.trand-swiper-container {
    position: relative;
    overflow-x: hidden;
}
.swiper-wrapper {}
.swiper-slide a {}
.swiper-img img {
    display: block;
    width: 100%;
}
.swiper-txt span {
    position: absolute;
    left: 1em;
    bottom: 1em;
    font-size: 1em;
    width: 5.5em;
    padding-right: 1em;
    color: #fff;
    text-decoration: none;
    background: #000;
}
.swiper-txt span::before {
    position: absolute;
    right: calc(50% - 25px);
    top: calc(50% - 5px);
    width: 10px;
    height: 10px;
    border: 1.5px solid #fff;
    border-width: 1.5px 1.5px 0 0;
    transform: rotate(45deg);
    content: '';
}
.swiper-txt span:hover:before{
    border-color: #000;
}
#swiper-container1 .swiper-scrollbar,
#swiper-container2 .swiper-scrollbar {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 0.5em;
    padding: 0;
    margin-top: 0.8em;
    background-color: var(--pale-brown);
    border-radius:0;
    z-index: 1;
}
#swiper-container1 .swiper-scrollbar-drag,
#swiper-container2 .swiper-scrollbar-drag {
    background-color: #000;
    border-radius:0;
}

/* 이전/다음 버튼 스타일 */
/* .swiper-prevBtn, .swiper-nextBtn {
    display: none;
    position: absolute;
    width: 1em;
    height: 1em;
    border: 1.5px solid #000;
    border-width: 0 0 1.5px 1.5px;
    background: transparent;
    transform: rotate(45deg);
}
.swiper-prevBtn {
    left: 1em;
    border: 1.5px solid #000;
    top: 50%;
    border-width: 0 0 1.5px 1.5px;
    content: '';
}
.swiper-nextBtn {
    right: 1em;
    top: calc(50% - 6px);
    border-width: 1.5px 1.5px 0 0;
    content: '';
} */


/* 매거진 */
.main-magazine-sec {}
.main-magazine-container {}
.main-magazine-container h2, .h2-desc {
    text-align: center;
    margin: 0;
}
.h2-desc {
    font-size: 1.2em;
    margin-bottom: 0.8em;
}
.main-magazine-container h2::before { /* 동그라미 */
    background-color: var(--main-color);

}
.main-magazine-wrap {}
.magazine-item li {
    margin-bottom: 1em;
}
.magazine-item a {
    position: relative;
    display: block;
    z-index: 1;
}
.magazine-item a::before {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: 0.2;
    content: '';
    z-index: 1;
}
.magazine-item a img {
    display: block;
    width: 100%;
    z-index: -1;
}
.img-desc {
    position: absolute;
    left: 0;
    top: calc(50% - 10%);
    width: 100%;
    text-align: center;
    font-size: 1.3em;
    font-weight: 600;
    color: #fff;
    opacity: 1;
    transition: 0.5s;
    z-index: 2;
}
.img-desc span {
    font-size: 0.8em;
}
.magazine-item h3 {
    margin: 0.5em 0 1.2em;
}
.magazine-item-tag {
    display: inline-block;
    padding: 0 0.8em;
    margin-top: 1em;
    border-radius: 20px;
    border: 1px solid var(--pale-brown);
    font-size: 0.85em;
    line-height: 1.8;
}
.more-btn {
    display: inline-block;
    font-weight: 800;
    color: var(--main-color);
}

/* 상담영역 */
.main-counseling-container {
    text-align: center;
}
.main-counseling-wrap {}
.main-counseling-container h2, h3 {
    font-weight: 600;
}
.main-counseling-container h2::before { /* 동그라미 */
    background-color: var(--logo-blue);
}
.counseling-item {
    border: 2px solid var(--pale-brown);
    padding: 1em;
    margin: 1em 0;
    transition: 0.3s;
}
.counseling-item h3 {
    position: relative;
    transition: 0.3s;
}
.counseling-item img {
    display: inline-block;
    width: 100%;
    height: 100%;
    max-width: 320px;
    text-align: center;
}
.counseling-item-txt {
    font-size: 0.9em;
    line-height: 1.4;
    margin-top: 0.5em;
}
.counseling-item:hover h3,
.counseling-item:hover {
    color: var(--main-color);
    border-color: var(--main-color);
}
/* 매장 */
.main-place-container {
    padding-top: 40px;
    padding-bottom: 40px;
}
.main-place-container h3 {
    padding-top: 1em;
}
.place-swiper-container {
    position: relative;
    overflow-x: hidden;
}
.place-img img {
    display: block;
    width: 100%;
}
.place-item {
    border: 2px solid var(--pale-brown);
}
.place-txt {
    display: inline-block;
    width: 100%;
    padding: 0.5em 0;
    text-align: center;
    background-color: var(--main-color);
    color: #fff;
    border-top: 2px solid var(--pale-brown);
    font-weight: 600;
}
.main-place-container a {
    font-size: 1em;
}
