/* 온프레미스 고객 데이터 페이지 스타일 */

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

.to-visual-title {
    color: #fff;
    font-family: 'Pretendard-Bold', sans-serif;
    font-size: 32px;
    text-align: center;
    max-width: 900px;
    width: 100%;
    word-break: keep-all;
    line-height: 1.5;
}

/* 공통 컨테이너 */
.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;
    text-align: center;
    margin-bottom: 15px;
}

.to-inner-title-container {
    text-align: center;
    margin-bottom: 50px;
}

.to-inner-desc {
    font-size: 18px;
    color: #666;
    margin-top: 15px;
}

/* 인트로 컨테이너 */
.to-intro-container {
    background-color: #fff;
    box-shadow: 0 0 20px 0 #CCDDEC;
    padding: 60px 100px;
    box-sizing: border-box;
    border-radius: 20px;
}

.to-intro-description {
    color: #666;
    text-align: right;
    font-size: 14px;
    margin-top: 35px;
    line-height: 1.6;
}

.to-intro-list {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.to-intro-item {
    flex: 1;
}

.to-intro-title {
    display: block;
    border-radius: 6px;
    border: 1px solid #C8C8C8;
    color: #222;
    text-align: center;
    font-size: 16px;
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 45px;
}

.to-intro-category-container {
    width: 100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
    word-break: keep-all;
    border-radius: 4px;
}

.to-intro-category-container.total {
    background: #268D6E;
    min-height: 120px;
    color: #fff;
}

.to-intro-category-container.average {
    background: #19BB78;
    color: #fff;
}

.to-intro-category-container.large {
    background: #38B980;
}

.to-intro-category-container.medium {
    background: #A9D18E;
}

.to-intro-category-container.small {
    background: #C5E0B4;
}

.to-intro-category-container.details {
    background: #F1FFE8;
}

.to-intro-category-desc {
    flex: 1;
    padding-left: 20px;
    box-sizing: border-box;
}

.to-intro-sub-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.to-intro-sub-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.to-intro-text {
    text-align: center;
    word-break: keep-all;
}

.to-intro-text::before {
    display: block;
    width: 150px;
    height: 163px;
    margin: 0 auto 20px;
    background: url("/images/to/to-onpremise-customer-image-891a8900d974a0367083f5a40a4713b1.svg") no-repeat center center / contain;
    content: '';
}

.to-intro-text-title {
    color: #222;
    font-size: 18px;
    display: block;
}

.to-intro-text-desc {
    color: #222;
    font-size: 14px;
}

.to-intro-desc-text {
    text-align: center;
    max-width: 50%;
    word-break: keep-all;
    width: 100%;
    margin: 60px auto 0;
    font-size: 16px;
    line-height: 1.6;
}

/* 세그먼트 */
.to-segment-container {
    display: flex;
    gap: 20px;
}

.to-segment-wrap {
    flex: 1;
    display: flex;
    flex-direction: column-reverse;
}

.to-segment-list-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 0 20px 0 #CCDDEC;
    border-radius: 20px;
}

.to-segment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 30px;
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    width: 100%;
}

.to-segment-item {
    width: calc(33.33% - 10px);
    display: inline-block;
    border-radius: 12px;
    padding: 20px 10px;
    box-sizing: border-box;
    border: 1px solid #268D6E;
    color: #222;
    text-align: center;
    font-size: 16px;
}

.to-segment-title {
    text-align: center;
    display: block;
    font-weight: normal;
    margin-top: 20px;
    font-size: 18px;
}

/* 정보 컨테이너 */
.to-info-container {
    display: flex;
    gap: 80px;
}

.to-info-container .to-intro-text::before {
    height: 120px;
}

.to-info-container .to-intro-title {
    margin-bottom: 17px;
}

.to-info-container .variety {
    min-width: 200px;
}

.to-info-item {
    flex: 1;
}

.to-info-item:not(:last-child) {
    position: relative;
}

.to-info-item:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -62px;
    transform: translateY(-50%);
    display: block;
    width: 47px;
    height: 32px;
    background: url("/images/to/to-process-arrow-046cb0903d616bfd8dd92bcb25c77400.svg") no-repeat center center / contain;
    content: '';
}

.to-intro-info-container {
    display: flex;
    align-items: center;
}

.to-intro-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.to-intro-info-item {
    background-color: #0A3F35;
    color: #fff;
    padding: 17px 5px;
    text-align: center;
    font-size: 14px;
    box-sizing: border-box;
    word-break: keep-all;
}

.to-intro-info-item:first-child {
    background: #38B980;
}

.to-intro-info-item:nth-child(2) {
    background: #A9D18E;
}

.to-intro-info-item:nth-child(3) {
    background: #C5E0B4;
}

.to-intro-info-details-list {
    font-size: 14px;
    word-break: keep-all;
    padding: 0 10px;
    margin: 0;
}

.to-intro-info-details-title {
    color: #268D6E;
    font-weight: 600;
}

.to-intro-info-details-desc:not(:last-child) {
    margin-bottom: 10px;
}

/* 테이블 */
.to-info-table-container {
    margin-top: 30px;
}

.to-info-table {
    border-top: 1px solid #000;
    width: 100%;
    border-collapse: collapse;
}

.to-info-table caption {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
    text-align: left;
}

.to-info-table th {
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    background: #F4F6F8;
    font-weight: normal;
    padding: 15px 5px;
    box-sizing: border-box;
    word-break: keep-all;
    color: #222;
    font-size: 16px;
}

.to-info-table th:first-child {
    border-left: none;
}

.to-info-table th:last-child {
    border-right: none;
}

.to-info-table th.to-strong-header {
    border-top: 4px solid #ff3a28;
    border-left: 4px solid #ff3a28;
    border-right: 4px solid #ff3a28;
}

.to-info-table tbody th {
    padding: 20px;
}

.to-info-table td {
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    word-break: keep-all;
    color: #222;
    font-size: 16px;
}

.to-info-table td.text-left {
    text-align: left;
}

.to-info-table td:first-child {
    border-left: none;
}

.to-info-table td:last-child {
    border-right: none;
}

.to-info-table td.to-strong-left {
    border-left: 4px solid #ff3a28;
}

.to-info-table td.to-strong-right {
    border-right: 4px solid #ff3a28;
}

.to-info-table td.to-strong-bottom {
    border-bottom: 4px solid #ff3a28;
}

.to-info-table tfoot td {
    border-bottom: none;
    text-align: right;
    font-size: 14px;
}

.to-info-table-tfoot-text {
    color: #222;
    display: block;
}

.to-info-table-tfoot-desc {
    color: #666;
    display: block;
}

.to-info-item .to-info-table th,
.to-info-item .to-info-table td {
    padding: 15px 5px;
    font-size: 14px;
}

/* 연락처 */
.to-contact-container {
    background: #0A3F35;
    padding: 55px 0;
}

.to-contact-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    color: #fff;
    position: relative;
    padding: 0 280px 0 20px;
    box-sizing: border-box;
}

.to-button-link-container {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
}

.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;
}

.to-contact-text {
    font-size: 24px;
    margin: 0 0 10px 0;
}

.to-contact-desc {
    color: #999;
    font-size: 16px;
}

.to-contact-list {
    display: flex;
    align-items: center;
    margin: 10px 0 0 0;
}

.to-contact-title {
    display: block;
    width: 13px;
    height: 13px;
    overflow: hidden;
    color: transparent;
    margin-right: 5px;
}

.to-contact-title.phone {
    background: url("../images/to/icon/to-icon-contact-call.svg") no-repeat center center / contain;
}

.to-contact-title.email {
    background: url("../images/to/icon/to-icon-contact-mail.svg") no-repeat center center / contain;
}

.to-contact-content:not(:last-child) {
    margin-right: 20px;
}

/* 접근성 숨김 */
.blind {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* 반응형 */
@media (max-width: 1024px) {
    .to-intro-container {
        padding: 40px 30px;
    }

    .to-intro-list {
        flex-direction: column;
    }

    .to-segment-container {
        flex-direction: column;
    }

    .to-info-container {
        flex-direction: column;
        gap: 40px;
    }

    .to-info-item:not(:last-child)::after {
        display: none;
    }

    .to-contact-inner {
        padding: 0 20px;
    }

    .to-button-link-container {
        position: static;
        transform: none;
        margin-top: 30px;
        justify-content: center;
    }
}

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

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

    .to-intro-container {
        padding: 30px 20px;
    }

    .to-intro-desc-text {
        max-width: 100%;
    }

    .to-segment-item {
        width: calc(50% - 7.5px);
    }

    .to-info-table {
        font-size: 12px;
    }

    .to-info-table th,
    .to-info-table td {
        padding: 10px 5px;
        font-size: 12px;
    }

    .to-contact-text {
        font-size: 18px;
    }

    .to-button-link-container {
        flex-direction: column;
        width: 100%;
    }

    .to-button-link {
        width: 100%;
        text-align: center;
    }
}

