@charset "utf-8";

/* **************************************** *
* 공통 레이아웃
* **************************************** */

/* 페이지 헤더 */
.content-header{position: fixed;top:0;left:0;width:100%;font-size:17rem;text-align:center;border-bottom: 1px solid var(--bd-01);background: #fff;z-index: 1000;}
.content-header h2{display:flex;justify-content:center;align-items:center;height:55rem;font-weight:700;font-size: 16rem;color:var(--b-01);}
.header-bar{display:flex; position:absolute; bottom:0; left:0; width:100%; height:3rem; background:#f3f3f3;}
.header-bar > i{width:100%; height:100%;}
.header-bar > i.on{background:var(--c-01);}
.btn-prev{display:block; position:absolute; left:6rem; width:44rem; height:100%; background:url(../img/common/arrow-prev.svg) no-repeat 50% 50%; background-size:7rem;}
.btn-close{position:absolute; top:0; right:0; width:54rem; height:100%; background:url(../img/common/ic-cancle-pop.svg) no-repeat 50% 50%;}
.btn-right{display:flex; align-items:center; position:absolute; top:0rem; right:20rem; height:100%; font-weight:700; font-size:14rem; color:#d7d7d7;}
.btn-right.on{color:var(--c-02);}

.btn-cart {position: absolute; right: 20rem; top: 50%; width: 20rem; height: 20rem; background: url(../img/common/ic-cart.svg) no-repeat center / 19rem; transform: translateY(-50%);}
.btn-cart i {position: absolute; right: 0; bottom: 0; display: inline-flex; align-items: center; justify-content: center; width: 16rem; height: 16rem; font-size: 9rem; font-weight: 600; color: var(--f); border-radius: 100%; background: var(--c-01); text-align: center; transform: translate(50%, 30%);}

/* 푸터 */
#footer{margin-top: 60rem; padding:30rem 0rem; padding-bottom:80rem; background:var(--bg-01);}
#footer .content-wrap {min-height: auto !important;}
.footer-company {font-size: var(--font-14); font-weight: 700;color: var(--f);}
#footer address{margin-top:15rem; line-height: 1.7; font-size: var(--font-12); color: #eaeaea;}
.footer-customer strong{font-weight: 700;}
.footer-customer a{display:flex; align-items:center; position:relative; font-weight:800; font-size:18rem; color:var(--b-01);}
.footer-customer p{margin-top:7rem;}
.footer-customer a::before{content:""; display:block; width:16rem; height:17rem; background:url(../img/common/ic-call.svg) no-repeat 50% 50%;}
#content:not(:is(.main)) #footer {margin-top: 20rem;}

/* 하단 네비게이션 */
#content-nav{position:fixed; overflow:hidden; bottom:0; left:0; z-index:90; width:100%; box-shadow:0px -1px 14rem 0px rgba(0, 0, 0, 0.07); border-top-left-radius:20rem; border-top-right-radius:20rem;}
.content-nav__list{display: flex;padding:4rem 4rem 0;background:#fff;text-align:center;border-top-left-radius:20rem;border-top-right-radius:20rem;}
.content-nav__list > li{padding:10rem 0;font-weight:500;font-size:12rem;color:#9e9e9e;flex: auto;}
.content-nav__list > li::before{content:""; display:block; width:100%; margin-bottom:3rem; background-position:50% 50%; min-height:24rem; background-repeat:no-repeat; min-width:23rem;}
.content-nav__item--01::before{background-image:url(../img/common/ic-tab01.svg);}
.content-nav__item--02::before{background-image:url(../img/common/ic-tab02.svg);}
.content-nav__item--03::before{background-image:url(../img/common/ic-tab03.svg);}
.content-nav__item--04::before{background-image:url(../img/common/ic-tab04.svg);}

/* 하단 네비 온처리 */
body:has(.main) .content-nav__item--01,
body:has(.product) .content-nav__item--02,
body:has(.rent) .content-nav__item--03,
body:has(.mypage, .pay) .content-nav__item--04{color:var(--c-01);}

body:has(.main) .content-nav__item--01::before{background-image:url(../img/common/ic-tab01_on.svg);}
body:has(.product) .content-nav__item--02::before{background-image:url(../img/common/ic-tab02_on.svg);}
body:has(.rent) .content-nav__item--03::before{height:22rem; background-image:url(../img/common/ic-tab03_on.svg);}
body:has(.mypage) .content-nav__item--04::before{background-image:url(../img/common/ic-tab04_on.svg);}
