@charset 'UTF-8';
@import url('var.css');
.brand-story-item:before {
    color: #ddd;
    font-size: 1.5em;
    font-weight: 600;
}
.brand-story-item:nth-of-type(1):before {content: "01";}
.brand-story-item:nth-of-type(2):before {content: "02";}
.brand-story-item:nth-of-type(3):before {content: "03";}
.brand-story-item:nth-of-type(4):before {content: "04";}

.brand-story-img img {
    display: block;
    width: 100%;
    margin-top: 1em;
}

.brand-story-content h2 {
    position: relative;
    margin: 1em 0;
    text-align: left;
    font-size: 1.3em;
}
.brand-story-content p {
    line-height: 1.3;
}
.brand-story-page {
    position: absolute;
    left: 1em;
    bottom: 2em;
    display: flex;
    gap: 5px;
    margin-top: 1em;
    text-align: center;
}
.brand-story-page > * {
    flex-basis: 1em;
    font-size: 1.1em;
    font-weight: 800;
}
.current-page {
    color: #fff;
}
.slash, .total-page {
    color: var(--medium-gray);
}
.page-controls {
    display: flex;
    text-align: center;
    color: #fff;
}
.page-controls button {
    width: 24px; 
    height: 24px; 
    cursor: pointer;
}
.prev-btn, .next-btn {background: url(../images/svg/play_arrow_wh.svg);}
.prev-btn {
    transform: scaleX(-1);
}
.next-btn {}

/* --------------반응형---------------- */
/* 1. mo ~767px까지 */
@media all and (max-width: 767px) {
    .brand-story-container {
        height: 600px;
        width: 100%;
        margin-bottom: 40px;
    }
    .brand-story-wrap {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    .brand-story-wrap:before {
        position: absolute;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        border-radius: 15px;
        background-color: var(--main-color);
        content: '';
        z-index: -1;
    }
    .brand-story {
        position: absolute;
        left: 0;
        top: 0;
        width: 400%;
        height: 100%;
        height: auto;
        color: #fff;
    }
    .brand-story li {
        position: relative;
        float: left;
        width: 25%;
        height: 100%;
        padding: 1em;
    }
}

/* 2. tb 768px부터~ */
@media all and (min-width: 768px) {
    .brand-story-container {}
    .brand-story-wrap {}
    .brand-story {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .brand-story li {
        width: 46%;
    }
    .brand-story-item:before {
        color: #ddd;
        font-size: 1.7em;
    }
    .brand-story li dl {
    }
    .brand-story li img {}
    .brand-story li dl dt{
        color: var(--main-color);
        font-size: 1.4em;
        font-weight: 700;
    }
    .brand-story li dl dd{}
    .brand-story-page {
        display: none;
    }
    .brand-story-item:nth-of-type(2),
    .brand-story-item:nth-of-type(4) {
        margin-top: 150px;
    }
    .brand-story {
        background: url(../images/sub/logo_background.png) right center / 70% no-repeat;
    }

}

/* 3. only tb 768px ~ 1279px */
@media all and (min-width: 768px) and (max-width: 1279px) {
    .brand-story-container {}
    .brand-story-wrap {}
    .brand-story {}
    .brand-story li {}
    .brand-story li dl {}
    .brand-story li img {}
    .brand-story li dl dt{}
    .brand-story li dl dd{}
}

/* 4. pc 1280px부터~ */
@media all and (min-width: 1280px) {
    .brand-story-container {}
    .brand-story-wrap {}
    .brand-story {
        background-size: 65%;
    }
    .brand-story li {}
    .brand-story li dl {}
    .brand-story li img {}
    .brand-story li dl dt{
        font-size: 1.5em;
    }
    .brand-story li dl dd{}
    .brand-story-item:nth-of-type(2),
    .brand-story-item:nth-of-type(4) {
        margin-top: 220px;
    }
}
