/* 마케팅 자동화(MA) 페이지 스타일 */

/* 비주얼 영역 */
.to-visual-container {
    background: url("/images/to/to-visual-ma-1ce06e236c3408fe92b5ce73ab78de17.jpg") no-repeat center center / cover;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.to-visual-title {
    color: #fff;
    font-size: 32px;
    text-align: center;
    max-width: 650px;
    width: 100%;
    word-break: keep-all;
    margin-bottom: 10px;
    line-height: 1.4;
}

.to-visual-desc {
    word-break: keep-all;
    max-width: 520px;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.6;
}

.to-visual-link {
    min-width: 150px;
}

/* 공통 */
.to-container {
    padding: 40px 0;
}

.to-container.grey {
    background-color: #F4F6F8;
}

.to-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.to-inner-title {
    font-family: 'Pretendard-Bold', sans-serif;
    font-size: 36px;
    color: #222;
    margin-bottom: 30px;
}

.to-button-link {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    background-color: #268D6E;
    color: #fff;
}

.to-button-link:hover {
    background-color: #1f7459;
}

/* 배너 */
.banner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    background-color: #005b38;
    margin: 10px auto;
    padding: 10px 0;
}

.banner .emphasis {
    color: #ff0000;
    font-size: 22px;
}

.banner p {
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    margin: 0;
}

.banner-radius {
    margin: 0 20px;
    background-color: #FEDB39;
    border-radius: 5px;
    padding: 5px 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.banner-radius.cursor-pointer {
    cursor: pointer;
}

.banner-icon {
    display: inline-block;
    width: 20px;
    height: 35px;
}

.banner-icon-thunder {
    background-image: url('../images/to/icon/thunder_icon.svg');
    background-size: 20px 35px;
    background-repeat: no-repeat;
}

/* 소개 */
.to-introduction-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

.to-introduction-item:not(:last-child) {
    margin-bottom: 80px;
}

.to-introduction-item:nth-child(even) .to-introduction-desc-container {
    order: 2;
    text-align: right;
    padding: 0 50px 0 0;
}

.to-introduction-inner {
    flex: 1;
}

.to-introduction-desc-container {
    box-sizing: border-box;
    max-width: 40%;
    padding: 0 0 0 50px;
}

.to-introduction-desc-point {
    display: block;
    font-size: 32px;
    color: #000;
    margin-bottom: 10px;
    word-break: keep-all;
    font-family: 'Pretendard-Bold', sans-serif;
    line-height: 1.3;
}

.to-introduction-desc-text {
    font-size: 18px;
    color: #000;
    word-break: keep-all;
}

.to-introduction-image {
    width: 100%;
}

.to-introduction-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
    max-width: 60%;
}

.to-introduction-image-wrap {
    background-color: #fff;
    border-radius: 20px;
    padding: 25px 75px;
    box-sizing: border-box;
    margin-bottom: 20px;
    min-height: 407px;
    display: flex;
    align-items: center;
}

.to-introduction-image-title {
    font-size: 16px;
    color: #222;
    font-weight: normal;
}

/* What 섹션 */
.to-what-container {
    position: relative;
}

.to-what-title {
    text-align: left;
    padding-right: 170px;
    box-sizing: border-box;
}

.to-what-desc {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.to-what-desc:not(:last-of-type) {
    margin-bottom: 20px;
}

.to-what-image {
    width: 80%;
}

.to-what-image-container {
    text-align: center;
    margin: 35px 0 50px 0;
}

.to-what-link {
    position: absolute;
    top: 100px;
    right: 20px;
    min-width: 200px;
    font-size: 18px;
    padding: 10px 5px;
}

/* 슬라이드 */
.to-slide-container {
    margin: 40px 0;
}

.to-slide-swiper {
    padding: 20px 0;
}

.to-slide-item {
    padding: 30px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 0 15px #CCDDEC;
    border-radius: 20px;
    margin: 15px;
    min-height: 280px;
    word-break: keep-all;
    display: flex;
    flex-direction: column;
}

.to-slide-label-container {
    margin-bottom: 12px;
}

.to-slide-label {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 12px;
    color: #999;
    background: #F4F6F8;
    font-family: 'Pretendard-Bold', sans-serif;
}

.to-slide-desc {
    font-size: 17px;
    color: #222;
    margin-bottom: 15px;
    flex: 1;
    line-height: 1.5;
}

.to-slide-category {
    font-size: 13px;
    color: #666;
}

/* 전환매출 */
.to-sales-intro-container {
    display: flex;
    margin-top: 60px;
    align-items: center;
    gap: 40px;
}

.to-sales-intro-example {
    flex: 1;
    display: flex;
}

.to-sales-intro-example:not(:last-child) {
    margin-bottom: 50px;
}

.to-sales-intro-example-container {
    flex: 1;
}

.to-sales-intro-example-desc {
    flex: 1;
}

.to-sales-intro-example-name {
    font-size: 14px;
    color: #000;
    display: block;
}

.to-sales-intro-example-point {
    font-size: 26px;
    background-color: #FFF6A0;
    font-family: 'Pretendard-Bold', sans-serif;
}

.to-sales-intro-example-image {
    max-width: 373px;
}

.to-sales-intro-example-image-container {
    text-align: right;
}

.to-sales-intro-example-list {
    min-width: 40%;
    margin: 0;
}

.to-sales-intro-example-item {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    box-sizing: border-box;
    border-radius: 20px;
}

.to-sales-intro-example-item:not(:last-child) {
    margin-bottom: 20px;
}

.to-sales-intro-example-item-title {
    font-size: 12px;
    line-height: 14px;
    color: #666;
    text-align: center;
    font-weight: normal;
}

.to-sales-intro-example-item-title::before {
    display: block;
    width: 50px;
    height: 50px;
    margin: 0 auto 5px;
    content: '';
}

.to-sales-intro-example-item.overseas {
    background-color: #ECF8F8;
}

.to-sales-intro-example-item.overseas .to-sales-intro-example-item-title::before {
    background: url("../images/to/icon/to-icon-ma-sales-overseas.png") no-repeat center center / cover;
}

.to-sales-intro-example-item.jewelry {
    background-color: #F4F8EC;
}

.to-sales-intro-example-item.jewelry .to-sales-intro-example-item-title::before {
    background: url("../images/to/icon/to-icon-ma-sales-jewelry.png") no-repeat center center / cover;
}

.to-sales-intro-example-item.tea {
    background-color: #ECEFF8;
}

.to-sales-intro-example-item.tea .to-sales-intro-example-item-title::before {
    background: url("../images/to/icon/to-icon-ma-sales-tea.png") no-repeat center center / cover;
}

.to-sales-intro-example-item.makeup {
    background-color: #F8ECF3;
}

.to-sales-intro-example-item.makeup .to-sales-intro-example-item-title::before {
    background: url("../images/to/icon/to-icon-ma-sales-makeup.png") no-repeat center center / cover;
}

.to-sales-intro-example-item.suit {
    background-color: #F8ECEC;
}

.to-sales-intro-example-item.suit .to-sales-intro-example-item-title::before {
    background: url("../images/to/icon/to-icon-ma-sales-suit.png") no-repeat center center / cover;
}

.to-sales-intro-example-item-desc {
    flex: 1;
    text-align: right;
    font-size: 14px;
    color: #000;
}

.to-sales-intro-example-item-desc strong {
    display: block;
    font-size: 20px;
}

.to-sales-intro-example-item-point {
    color: #268D6E;
}

/* 요금 */
.to-amount-button-container {
    display: flex;
    position: relative;
    margin-top: 60px;
}

.to-amount-button-container::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 73px;
    height: 73px;
    border-radius: 50%;
    z-index: 10;
    background: #C8F8CD url("../images/to/icon/to-icon-ma-plus.svg") no-repeat center center / 36px 36px;
    content: '';
}

.to-amount-button {
    background: #fff;
    box-shadow: 0 0 5px #CCDDEC;
    border-radius: 20px;
    flex: 1;
    padding: 55px;
    box-sizing: border-box;
    cursor: pointer;
    border: none;
    text-align: center;
}

.to-amount-button.active {
    box-shadow: 0 0 20px #CCDDEC;
    z-index: 1;
}

.to-amount-button-title {
    display: block;
    font-size: 24px;
    color: #222;
}

.to-amount-button-title::before {
    display: block;
    width: 80px;
    height: 78px;
    margin: 0 auto 16px;
    content: '';
}

.to-amount-button.use .to-amount-button-title::before {
    background: url("/images/to/to-ma-button-use-359c2ac316220800758f1a569b4aa466.png") no-repeat center center / contain;
}

.to-amount-button.send .to-amount-button-title::before {
    background: url("/images/to/to-ma-button-send-da709f93ce9dd7db99d4999348d33997.png") no-repeat center center / contain;
}

.to-amount-button-desc {
    display: block;
    font-size: 16px;
    color: #666;
    margin-top: 16px;
}

.to-amount-contents-container {
    background: #fff;
    border-radius: 20px;
    position: relative;
    margin-top: 30px;
    z-index: 100;
    box-shadow: 0 0 20px #CCDDEC;
    display: none;
}

.to-amount-contents-container::before {
    display: block;
    width: 69px;
    height: 69px;
    position: absolute;
    top: -69px;
    background: url("/images/to/to-ma-background-arrow-ddc4719cf3fe427219d98e191cddf421.png") no-repeat center center / 69px 69px;
    content: '';
}

.to-amount-contents-container.use::before {
    left: 69px;
}

.to-amount-contents-container.send::before {
    right: 69px;
}

.to-amount-contents-container.active {
    display: block;
}

.to-amount-contents-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.to-amount-contents-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 52px 50px;
    box-sizing: border-box;
}

.to-amount-contents-item:not(:last-child) {
    border-right: 1px solid #ddd;
}

.to-amount-contents-label {
    border-radius: 50px;
    border: 1px solid #268D6E;
    display: block;
    padding: 2px 10px;
    font-size: 14px;
    color: #268D6E;
    margin-bottom: 20px;
}

.to-amount-contents-item:nth-child(2) .to-amount-contents-label {
    border-color: #88DCB9;
    background: #88DCB9;
    color: #fff;
}

.to-amount-contents-item:nth-child(3) .to-amount-contents-label {
    border-color: #47BA8B;
    background: #47BA8B;
    color: #fff;
}

.to-amount-contents-item:nth-child(4) .to-amount-contents-label {
    border-color: #268D6E;
    background: #268D6E;
    color: #fff;
}

.to-amount-contents-money {
    font-size: 22px;
    color: #222;
    display: block;
    margin-bottom: 60px;
    font-weight: normal;
}

.to-amount-contents-text {
    font-size: 14px;
    color: #222;
}

.to-amount-contents-percent {
    font-size: 28px;
    color: #222;
}

.to-amount-contents-item:first-child .to-amount-contents-percent {
    color: #268D6E;
}

.to-amount-contents-send-list {
    width: 80%;
    margin: 0 auto;
    padding: 50px 0;
    box-sizing: border-box;
}

.to-amount-contents-send-item {
    display: flex;
    align-items: center;
    padding: 6px 40px;
    box-sizing: border-box;
    min-height: 54px;
}

.to-amount-contents-send-item:not(:last-child) {
    border-bottom: 1px solid #ddd;
}

.to-amount-contents-send-title {
    flex: 1;
    color: #268D6E;
}

.to-amount-contents-send-title::before {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    width: 30px;
    height: 30px;
    content: '';
}

.to-amount-contents-send-title.email::before {
    background: url("../images/to/icon/to-icon-ma-email.svg") no-repeat center center / contain;
}

.to-amount-contents-send-title.sms::before {
    background: url("../images/to/icon/to-icon-ma-sms.svg") no-repeat center center / contain;
}

.to-amount-contents-send-title.lms::before {
    background: url("../images/to/icon/to-icon-ma-lms.svg") no-repeat center center / contain;
}

.to-amount-contents-send-title.talk::before {
    background: url("../images/to/icon/to-icon-ma-talk.svg") no-repeat center center / contain;
}

.to-amount-contents-send-title.push::before {
    background: url("../images/to/icon/to-icon-ma-push.svg") no-repeat center center / contain;
}

.to-amount-contents-send-cost {
    color: #222;
    font-size: 16px;
}

.to-amount-contents-send-cost ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.to-amount-contents-send-cost li {
    text-align: right;
}

.to-amount-contents-send-cost-title {
    color: #666;
    margin-right: 10px;
}

.to-amount-contents-send-cost-number {
    font-size: 18px;
}

/* 반응형 */
@media (max-width: 1024px) {
    .to-introduction-item {
        flex-direction: column;
    }

    .to-introduction-item:nth-child(even) .to-introduction-desc-container {
        order: 0;
        text-align: left;
        padding: 0 0 0 50px;
    }

    .to-introduction-desc-container,
    .to-introduction-image-container {
        max-width: 100%;
    }

    .to-what-title {
        padding-right: 0;
    }

    .to-what-link {
        position: static;
        margin: 30px auto;
        display: block;
        width: fit-content;
    }

    .to-sales-intro-container {
        flex-direction: column;
    }

    .to-amount-contents-list {
        flex-wrap: wrap;
    }

    .to-amount-contents-item {
        flex: 1 1 50%;
        border-right: none !important;
    }

    .to-amount-contents-item:nth-child(odd) {
        border-right: 1px solid #ddd !important;
    }
}

@media (max-width: 768px) {
    .to-visual-title {
        font-size: 24px;
    }

    .to-inner-title {
        font-size: 28px;
    }

    .to-introduction-desc-point {
        font-size: 24px;
    }

    .to-introduction-image-wrap {
        padding: 25px 20px;
    }

    .to-amount-button-container {
        flex-direction: column;
        gap: 20px;
    }

    .to-amount-button-container::after {
        display: none;
    }

    .to-amount-contents-item {
        flex: 1 1 100%;
        border-right: none !important;
    }
}

