/* 헤더 */

header {
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px 0;
    width: 100%;
    background: var(--Primary1);
    border-bottom: 1px solid #77A6FF;
    z-index: 999;
}

header > .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

header > .container h1 a {
    display: block;
    width: 272px;
    height: auto;
}

header > .container h1 a img {
    width: 100%;
}

header .rightBox {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

header .rightBox .pointItem,
header .rightBox .pointItem .pointBox {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #fff;
    gap: 10px;
}

header .rightBox .pointItem > span {
    font-size: 15px;
}

header .rightBox .pointItem .pointBox > p.point {
    color: #FEE500;
    font-size: 40px;
    font-weight: bold;
}

header .rightBox .pointItem .pointBox > span {
    font-size: 28px;
    font-weight: bold;
}

header .rightBox a.appDownBtn {
    flex-shrink: 0;
    display: block;
    padding: 10px;
    background: #fff;
    border-radius: 4px;
}

header .rightBox a.appDownBtn span {
    color: #000;
    font-size: 15px;
    font-weight: 400;
}

header .rightBox a.appDownBtn img {
    display: none;
    width: 20px;
    height: 20px;
}

@media (max-width: 960px) {
    header > .container h1 a {
        width: 190px;;
    }
}

@media (max-width: 768px) {
    header > .container h1 a {
        width: 160px;;
    }

    header .rightBox a.appDownBtn {
        padding: 5px;
    }



    header .rightBox .pointItem .pointBox {
        gap: 4px;
    }

    header .rightBox .pointItem .pointBox > p.point {
        font-size: 30px;
    }

    header .rightBox .pointItem .pointBox > span {
        font-size: 22px;
    }
}

@media (max-width: 640px) {
    header {
        padding: 16px 0;
    }

    header > .container h1 a {
        width: 130px;;
    }

    header .rightBox a.appDownBtn span {
        display: none;
    }

    header .rightBox a.appDownBtn img {
        display: block;
    }

    header .rightBox .pointItem > span {
        display: none;
    }

    header .rightBox .pointItem .pointBox > p.point {
        font-size: 22px;
    }

    header .rightBox .pointItem .pointBox > span {
        font-size: 18px;
    }
}


/* 푸터 */

footer {
    padding: 48px 0;
    background: #fff;
}

footer > .container {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    gap: 80px;
}

footer .leftBox p {
    color: var(--Greyscale7);
    font-size: 15px;
    font-weight: 400;
    word-break: keep-all;
    word-wrap: break-word;
}

footer .leftBox p.copyRight {
    padding-top: 10px;
}

footer .rightBox {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

footer .rightBox .rightItem {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

footer .rightBox .rightItem p {
    display: block;
    width: 120px;
    color: var(--Greyscale7);
    font-size: 16px;
    font-weight: bold;
    text-align: left;
}

footer .rightBox .rightItem a {
    flex-shrink: 0;
    display: block;
    width: 130px;
    color: var(--Greyscale7);
    font-size: 18px;
    font-weight: bold;
    text-align: right;
}

footer .rightBox .rightItem a.kakaoCh {
    padding: 7px 0;
    background-color: #FEE500;
    background-image: url(../assets/icon/common/kakao.svg);
    background-repeat: no-repeat;
    background-size: 14px;
    background-position: center left 10px;
    border-radius: 4px;
}

footer .rightBox .rightItem a.kakaoCh span {
    display: block;
    padding-left: 20px;
    color: #000;
    font-size: 13px;
    font-weight: 400;
    text-align: center;
}

@media (max-width: 960px) {
    footer > .container {
        flex-direction: column-reverse;
        gap: 30px;
    }

    footer .rightBox {
        flex-direction: row;
        align-items: center;
        gap: 30px;
    }

    footer .rightBox .rightItem {
        gap: 10px;
    }

    footer .rightBox .rightItem p,
    footer .rightBox .rightItem a {
        width: fit-content;
        font-size: 15px;
    }

    footer .rightBox .rightItem a.kakaoCh {
        width: 130px;
    }
}

@media (max-width: 640px) {
    footer .rightBox {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}



/* 메인 인트로 */

.introBox {
    margin-bottom: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.introBox b {
    color: #fff;
    font-size: 48px;
    font-weight: bold;
}

.introBox > .rightBox {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.introBox > .rightBox a {
    display: block;
    padding: 16px 12px;
    width: 100%;
    min-width: 350px;
    color: var(--Greyscale8);
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-radius: 16px;
    box-sizing: border-box;
}

.introBox > .rightBox a:first-child {
    background: #FEE500;
}

.introBox > .rightBox a:last-child {
    background: #fff;
}

@media (max-width: 960px) {
    .introBox b {
        font-size: 40px;
    }

    .introBox > .rightBox a {
        display: block;
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .introBox > .rightBox a {
        border-radius: 8px;
    }
}

@media (max-width: 640px) {
    .introBox b {
        font-size: 32px;
    }

    .introBox > .rightBox a {
        font-size: 15px;
    }
}

@media (max-width: 486px) {
    .introBox {
        flex-direction: column;
        align-items: flex-start;
    }

    .introBox > .rightBox {
        flex-direction: row;
        gap: 8px;
        width: 100%;
    }

    .introBox > .rightBox a {
        flex-grow: 1;
        min-width: unset;
    }
}



/* 탭 콘텐츠 */

.tab-area.onBox {
    padding: 0 0 16px;
}

.tab-area.onBox .tabCon .tabConItem {
    padding: 12px 16px 0;
}

.companyBox {
    display: flex;
    flex-direction: row;
    align-items: start;
    flex-wrap: wrap;
}

.companyBox a {
    margin: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% / 10 - 12px);
    background: #fff;
    border-radius: 8px;
}

.companyBox a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cautionTxt {
    margin-top: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--Greyscale1);
    font-size: 15px;
    font-weight: 500;
}

@media (max-width: 960px) {
    .companyBox a {
        width: calc(100% / 8 - 12px);
    }
}

@media (max-width: 768px) {
    .companyBox a {
        width: calc(100% / 6 - 12px);
    }

    .cautionTxt img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 640px) {
    .companyBox a {
        width: calc(100% / 4 - 12px);
    }
}

@media (max-width: 460px) {
    .companyBox a {
        width: calc(100% / 3 - 12px);
    }
}



/* 손해보험사 팝업 */

.popupInner  ul.comInfoList {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}

.popupInner  ul.comInfoList li {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popupInner  ul.comInfoList li p.titTxt {
    color: var(--Greyscale6);
    font-size: 15px;
    font-weight: 700;
}

.popupInner  ul.comInfoList li p.conTxt {
    color: var(--Greyscale10);
    font-size: 21px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .popupInner .popupTop h4.tit {
        font-size: 18px !important;
    }

    .popupInner ul.comInfoList li p.titTxt {
        font-size: 14px !important;
    }

    .popupInner ul.comInfoList li p.conTxt {
        font-size: 18px !important;
    }

    .popupInner .popupFooter .buttonBox a {
        font-size: 15px;
        border-radius: 8px !important;
    }
}

