:root {
    --color-bk: #303030;
    --color-bk2: #3B434E;
    --color-gy: #909090;
    --color-wh: #ffffff;

    --color-bg: #F5F5F5;
    --color-bg2: #F0F8FF;
    --color-bg3: #EBEBFF;

    --color-hl: #252466;
    --color-hl2: #5485A6;

    --color-alert: #FE4141;
    --color-bg-alert: #FCE9E9;

    --title-1: 64px;
    --title-2: 52px;
    --title-3: 40px;
    --title-4: 34px;

    --font-xl: 28px;
    --font-l: 24px;
    --font-m: 22px;
    --font-s: 20px;
    --font-xs: 18px;

    --size-xl: 120px;
    --size-l: 80px;
    --size-m: 60px;
    --size-s: 40px;
    --size-xs: 20px;

    --shadow: 0px 4px 16px #2524660D;
}

/* ---------------- COMMON ---------------- */

::selection {
    background-color: var(--color-bg2);
    color: var(--color-hl);
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    min-width: 360px;
    max-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: var(--color-wh);
}

section{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: var(--size-xl);
    padding-bottom: var(--size-xl);
}

.section-wrapper{
    max-width: 1320px;
    width: 100%;
    padding-left: var(--size-xs);
    padding-right: var(--size-xs);
}

.section-tag{
    font-family: "Poppins", sans-serif;
    font-size: var(--font-m);
    font-weight: 500;
    color: var(--color-hl2);
    line-height: 100%;
    margin-bottom: var(--size-xs);
}

.section-title{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--title-2);
    font-weight: 400;
    color: var(--color-bk);
    word-break: keep-all;
    line-height: 135%;
    word-break: keep-all;
}

.section-title > span{
    color: var(--color-hl);
    font-weight: 700;
}

.floating-btn{
    position: fixed;
    bottom: var(--size-s);
    right: var(--size-xl);
    animation-name: updownAnimation;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    z-index: 10;
}

@keyframes updownAnimation{
    from{
        bottom: var(--size-s);
    }

    to{
        bottom: var(--size-xs);
    }
}

.floating-btn img{
    width: var(--size-l);
    object-fit: contain;
    filter: drop-shadow(var(--shadow));
}


/* ---------------- HEADER ---------------- */

header{
    position: fixed;
    top: 0;
    min-width: 360px;
    width: 100%;
    height: var(--size-l);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #2524661A;
    z-index: 5;
}


header.sticky{
    background-color: var(--color-wh);
}

.header-wrapper{
    max-width: 1320px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--size-xs);
}


.logo > img{
    height: 32px;
    object-fit: contain;
}

nav{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav > ul{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav > ul > li > a{
    font-family: "Poppins", sans-serif;
    font-size: var(--font-xs);
    font-weight: 400;
    color: var(--color-bk);
    margin-right: var(--size-l);
    transition: 0.2s;
}

nav > ul > li > a:hover{
    color: var(--color-hl2);
}

nav > ul > li:last-of-type > a{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-wh);
    background-color: var(--color-hl);
    padding: 9px 24px;
    border-radius: 48px;
    transition: 0.2s;
    margin: 0;
}

nav > ul > li:last-of-type > a:hover{
    background-color: var(--color-hl2);
}

/* ---------------- MAIN ---------------- */

#main{
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--color-wh), var(--color-bg3));
    padding-top: var(--size-l);
    padding-bottom: 0;
}

#main > .section-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--size-xl);
    padding-bottom: var(--size-xl);
}

.main-txt{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-bottom: var(--size-s);
}

.main-sub{
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.main-sub > span{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--title-4);
    color: var(--color-bk);
    font-weight: 500;
}

.main-sub > img{
    width: 92px;
    object-fit: contain;
    margin-bottom: 3px;
    margin-left: 12px;
    margin-right: 12px;
}

.main-txt > h1{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--title-1);
    font-weight: 800;
    color: var(--color-hl);
    line-height: 125%;
    margin-top: var(--size-xs);
}


.main-desc{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: var(--size-s);
    margin-bottom: var(--size-l);
}

.main-desc > div{
    width: 2px;
    height: 72px;
    background-color: var(--color-bk2);
    border-radius: 2px;
    border: none;
    margin-top: 2px;
}

.main-desc > p{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-l);
    color: var(--color-bk);
    line-height: 150%;
    padding-left: var(--size-xs);
}

.main-txt > a{
    width: 100%;
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-m);
    font-weight: 600;
    color: var(--color-wh);
    text-align: center;
    background-color: var(--color-hl);
    border-radius: 6px;
    padding: var(--size-xs);
    transition: 0.2s;
}

.main-txt > a:hover{
    background-color: var(--color-hl2);
}

.main-img{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.main-img > img{
    max-width: 620px;
    width: 100%;
    object-fit: contain;
    transform-origin: bottom;
    animation-name: scaleAnimation;
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes scaleAnimation{
    from{
        scale: 0.98;
    }

    to{
        scale: 1;
    }
}

/* ---------------- MERIT ---------------- */

#merit > .section-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.merit-txt{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 64px;
}

.merit-txt > img{
    position: absolute;
    width: 64px;
    top: 0;
    z-index: 2;
}

.merit-txt > div{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--color-alert);
    background-color: var(--color-bg-alert);
    padding: 20px 60px;
    border-radius: 120px;
    text-align: center;
}

.merit-txt > .section-title{
    text-align: center;
    margin-top: var(--size-s);
    margin-bottom: var(--size-l);
}

.merit-img > img{
    width: 480px;
    object-fit: contain;
}

/* ---------------- CLIENT ---------------- */

#client{
    background-image: url('../img/bg_client.jpg');
    background-size: cover;
    background-position: center right 37.5%;
    background-repeat: no-repeat;
}

#client > .section-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.client-wrapper:nth-of-type(2){
    display: none;
}

.client-wrapper{
    width: 100%;
    margin-top: var(--size-l);
}

.client-wrapper > div{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.client-wrapper > div:last-of-type{
    margin-top: var(--size-s);
}

.client-wrapper > div > div{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--color-bk2);
    padding: 14px 40px 16px 40px;
    border-radius: 80px;
    border: 1px solid #E6E6E6;
    background-color: var(--color-wh);
    margin-right: var(--size-s);
    cursor: pointer;
    transition: 0.2s;
}

.client-wrapper > div > div > br{
    display: none;
}

.client-wrapper > div > div > span{
    font-size: var(--font-m);
    font-weight: 400;
}

.client-wrapper > div > div:hover{
    color: var(--color-hl);
    background-color: var(--color-bg3);
    border: 1px solid var(--color-hl);
}

/* ---------------- WHYUS ---------------- */


#whyus > .section-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

#whyus > .section-wrapper .section-title{
    text-align: center;
}

.whyus-wrapper{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--size-s);
    row-gap: var(--size-s);
    margin-top: var(--size-l);
}

.whyus-wrapper > div{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: var(--size-s);
    border-radius: var(--size-xs);
}

.whyus-wrapper > div:nth-of-type(1), .whyus-wrapper > div:nth-of-type(4){
    background: linear-gradient(180deg, var(--color-wh), var(--color-bg));
    border: 1px solid #E6E6E6;
}

.whyus-wrapper > div:nth-of-type(2), .whyus-wrapper > div:nth-of-type(3){
    background: linear-gradient(180deg, var(--color-wh), var(--color-bg2));
    border: 1px solid #DFECFF;
}

.whyus-wrapper > div > div{
    font-family: "Poppins", sans-serif;
    font-size: var(--font-xs);
    color: var(--color-hl2);
    font-weight: 500;
    background-color: var(--color-bg2);
    padding: 4px 18px;
    border-radius: 36px;
}

.whyus-wrapper > div > h3{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--color-bk);
    text-align: center;
    line-height: 125%;
    margin-top: 12px;
    margin-bottom: var(--size-xs);
}

.whyus-wrapper > div > h3 > span{
    color: var(--color-alert);
}

.whyus-wrapper > div > p{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-s);
    font-weight: 400;
    color: var(--color-gy);
    line-height: 140%;
    text-align: center;
    margin-bottom: calc(var(--size-xs) * 1.5);
}

.whyus-wrapper > div > img{
    height: 160px;
    object-fit: contain;
}

/* ---------------- CONSULTING ---------------- */

#consulting{
    background-image: url('../img/bg_whyus.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#consulting > .section-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

#consulting > .section-wrapper > img{
    width: 132px;
    object-fit: contain;
}

.alert{
    background-color: var(--color-bg-alert);
    padding: 8px;
    border-radius: 6px;
    margin-top: var(--size-xs);
}

.alert > h2{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--title-2);
    font-weight: 700;
    color: var(--color-alert);
    border: 2px solid var(--color-alert);
    padding: 14px 32px;
    border-radius: 6px;
}

.consult{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: var(--size-s);
}

.consult > img{
    width: 64px;
    object-fit: contain;
}

.consult > h2{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--title-2);
    font-weight: 600;
    color: var(--color-wh);
    text-align: center;
    line-height: 125%;
    margin: 0 var(--size-l);
}

#consulting > .section-wrapper > p{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-xl);
    font-weight: 300;
    color: var(--color-wh);
    line-height: 150%;
    text-align: center;
    margin-top: var(--size-s);
}

/* ---------------- SERVICE ---------------- */

#service{
    background-color: var(--color-bg2);
}

#service > .section-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.service-wrapper{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--size-s);
    margin-top: var(--size-l);
}

.service{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: var(--size-s);
    border-radius: 12px;
    background-color: var(--color-wh);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-wh);
    transition: 0.2s;
}

.service:hover{
    border: 1px solid var(--color-hl2);
}

.service-txt{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.service-txt > span{
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-family: "Poppins", sans-serif;
    font-size: var(--font-xs);
    color: var(--color-wh);
    background-color: var(--color-hl);
}

.service-txt > div{
    margin-left: 12px;
}

.service-txt > div > h3{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--color-bk);
}

.service-txt > div > p{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-m);
    font-weight: 400;
    color: var(--color-gy);
    line-height: 140%;
    margin-top: var(--size-xs);
}

.service-img{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: var(--size-xs);
}

.service:nth-of-type(1) .service-img > img{
    height: 160px;
    object-fit: contain;
}

.service:nth-of-type(2) .service-img > img{
    height: 132px;
    object-fit: contain;
    margin-top: 14px;
}

/* ---------------- PROCESS ---------------- */

#process > .section-wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--size-l);
}

#process > .section-wrapper > img{
    max-width: 560px;
    width: 100%;
    object-fit: contain;
    border-radius: var(--size-xs);
}

#process > .section-wrapper > div{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

#process > .section-wrapper .section-title{
    margin-bottom: var(--size-l);
}

.process-wrapper{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.process-wrapper > hr{
    position: absolute;
    top: 14px;
    left: 14px;
    width: 1px;
    border-left: 1px dashed var(--color-hl);
}

.process{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: var(--size-xs);
    margin-bottom: var(--size-m);
}

.process > .dot{
    position: absolute;
    left: 0px;
    top: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--color-bg3);
}

.process > .dot > div{
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--color-hl);
}

.process > h3{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--color-bk);
    margin-bottom: var(--size-xs);
    padding-left: var(--size-s);
}

.process > p{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-m);
    font-weight: 400;
    color: var(--color-bk2);
    line-height: 150%;
    padding-left: var(--size-s);
    word-break: keep-all;
}

.process:last-of-type{
    margin-bottom: 0;
}

.process:last-of-type > .dot{
    background-color: var(--color-hl);
}

.process:last-of-type > .dot > div{
    background-color: var(--color-bg3);
}

.process:last-of-type > h3{
    color: var(--color-hl);
}

/* ---------------- CONTACT ---------------- */


#contact{
    background-color: var(--color-bg);
}

#contact > .section-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.contact-title{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-end;
}

.contact-title > p{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-xl);
    font-weight: 400;
    color: var(--color-bk2);
    padding-bottom: 8px;
}

form{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: var(--color-wh);
    border-radius: var(--size-xs);
    padding: var(--size-m) var(--size-s);
    margin-top: var(--size-l);
    box-shadow: var(--shadow);
}

.basic-wrapper{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--size-s);
    margin-bottom: var(--size-s);
}

.input-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.input-wrapper > label, form > p{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-m);
    font-weight: 700;
    color: var(--color-hl);
    margin-bottom: var(--size-xs);
}

.input-wrapper > input, form textarea{
    width: 100%;
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-s);
    font-weight: 400;
    color: var(--color-bk);
    padding: 12px var(--size-xs);
    background-color: #F8F8F8;
    border: 1px solid #EBEBEB;
    border-radius: 6px;
}

.input-wrapper > input:focus, form textarea:focus{
    outline: none;
    border: 1px solid var(--color-hl2);
}

.checkbox-wrapper{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: var(--size-s);
}

.checkbox-wrapper > label{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-xs);
    font-weight: 400;
    color: var(--color-gy);
    margin-left: 8px;
    margin-right: 4px;
}

.checkbox-wrapper > span{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-xs);
    font-weight: 700;
    color: var(--color-gy);
    cursor: pointer;
}

form > input{
    width: 100%;
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-m);
    font-weight: 600;
    color: var(--color-wh);
    text-align: center;
    background-color: var(--color-hl);
    border-radius: 6px;
    padding: var(--size-xs);
    transition: 0.2s;
    margin-top: var(--size-s);
    cursor: pointer;
    border: none;
    outline:none
}

form > input:hover{
    background-color: var(--color-hl2);
}

#contact .notice{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: var(--size-xs);
}

#contact .notice > img{
    width: 22px;
    object-fit: contain;
    margin-right: 8px;
    margin-top: 5px;
}

#contact .notice > p{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-s);
    font-weight: 400;
    color: var(--color-bk);
    word-break: keep-all;
    line-height: 150%;
}

#contact .notice > p > span{
    font-weight: 700;
}

/* ---------------- FOOTER ---------------- */

footer{
    background-color: #E6E6E6;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--size-m) 0;
}

.footer-wrapper{
    max-width: 1320px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0 var(--size-xs);
}
.footer-wrapper > div{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer-wrapper > div > span{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-xs);
    font-weight: 700;
    color: var(--color-gy);
    margin-right: var(--size-xs);
    cursor: pointer;
}

.footer-wrapper > p{
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-xs);
    font-weight: 400;
    color: var(--color-gy);
    margin-top: var(--size-xs);
    line-height: 150%;
}

.footer-wrapper a{
    color: var(--color-gy);
}

/* ---------------- POPUP ---------------- */

#popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(32, 32, 32, 0.75);
    z-index: 1000;
}

#popup{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 720px;
    width: 90%;
    min-width: 324px;
    background: var(--color-wh);
    padding: var(--size-s);
    box-shadow: var(--shadow);
    border-radius: 12px;
    z-index: 1001;
}

.popup-header {
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: var(--size-xs);
}

.popup-body {
    height: 50vh;
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 150%;
    white-space: pre-wrap;
    overflow-y: scroll;
    padding-right: 12px;
}

.popup-footer {
    text-align: right;
    margin-top: var(--size-xs);
}

.btn-close {
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background-color: #dc3545;
    cursor: pointer;
}

.btn-close:hover {
    background-color: #a71d2a;
}

.mo-only{
    display: none;
}

@media screen and (max-width: 1320px) {
    :root {
        --title-1: 52px;
        --title-2: 44px;
        --title-3: 32px;
        --title-4: 28px;
    
        --font-xl: 26px;
        --font-l: 22px;
        --font-m: 20px;
        --font-s: 18px;
        --font-xs: 17px;
    
        --size-xl: 96px;
        --size-l: 72px;
        --size-m: 54px;
        --size-s: 36px;
        --size-xs: 19px;
    }

    .logo > img{
        height: 28px;
    }

    .main-sub > img{
        width: 84px;
    }

    .main-img > img{
        max-width: 50vw;
    }

    .floating-btn{
        right: calc(var(--size-s) * 0.8);
    }

    .floating-btn img{
        width: calc(var(--size-l) * 0.8);
    }

}

@media screen and (max-width: 1024px) {
    :root {
        --title-1: 44px;
        --title-2: 36px;
        --title-3: 28px;
        --title-4: 26px;
    
        --font-xl: 24px;
        --font-l: 21px;
        --font-m: 19px;
        --font-s: 17px;
        --font-xs: 16px;
    }

    nav > ul > li > a{
        margin-right: var(--size-s);
    }

    .main-sub > img{
        width: 80px;
    }
    
    .main-img > img{
        max-width: 45vw;
    }

    .merit-txt > div{
        padding: 18px 48px;
    }

    .client-wrapper > div:last-of-type{
        margin-top: var(--size-xs);
    }

    .client-wrapper > div > div{
        font-size: var(--font-l);
        margin-right: var(--size-xs);
        padding-left: 32px;
        padding-right: 32px;
    }

    .client-wrapper > div > div > span{
        font-size: var(--font-s);
    }

    .whyus-wrapper{
        row-gap: var(--size-xs);
        column-gap: var(--size-xs);
    }

    .whyus-wrapper > div{
        border-radius: 12px;
    }

    .whyus-wrapper > div > img{
        height: 108px;
    }
        
    #consulting > .section-wrapper > img{
        width: 108px;
    }

    .alert{
        border-radius: 8px;
    }

    .alert > h2{
        padding: 12px 28px;
        border: 1px solid var(--color-alert);
    }

    .service-wrapper{
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: var(--size-xs);
    }

    #process > .section-wrapper{
        grid-template-columns: 1fr 2fr;
        column-gap: var(--size-m);
    }

    .process > .dot{
        top: 3px;
        width: 24px;
        height: 24px;
    }

    .process > .dot > div{
        width: 12px;
        height: 12px;
    }

    .process-wrapper > hr{
        top: 12px;
        left: 12px;
    }

    #contact .notice > img{
        margin-top: 3px;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --title-1: 40px;
        --title-2: 32px;
        --title-3: 24px;
        --title-4: 23px;
    
        --font-xl: 22px;
        --font-l: 20px;
        --font-m: 18px;
        --font-s: 16px;
        --font-xs: 15px;

        --size-xl: 80px;
        --size-l: 64px;
        --size-m: 48px;
        --size-s: 32px;
        --size-xs: 18px;
    }

    .logo > img{
        height: 26px;
    }

    nav > ul > li:not(nav > ul > li:last-of-type){
        display: none;
    }

    nav > ul > li:last-of-type > a{
        font-size: var(--font-xs);
        padding: 8px 22px;
    }

    .main-txt{
        padding: 0;
    }

    .main-sub > img{
        width: 68px;
        margin-left: 8px;
        margin-right: 8px;
    }

    #main > .section-wrapper{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .main-txt > h1{
        width: 100%;
        text-align: center;
    }

    .main-txt > div{
        width: 100%;
    }

    .main-txt > div > div{
        display: none;
    }

    .main-txt > div > p{
        width: 100%;
        padding-left: 0;
        text-align: center;
    }

    .main-img{
        padding-top: var(--size-l);
    }

    .main-img > img{
        max-width: 450px;
    }

    .merit-txt{
        padding-top: 48px;
    }
    
    .merit-txt > img{
        width: 48px;
    }

    .merit-txt > div{
        font-size: 20px;
        padding: 16px 40px;

    }

    .merit-img{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .merit-img > img{
        max-width: 480px;
        width: 90%;
        object-fit: contain;
    }

    .client-wrapper:nth-of-type(1){
        display: none;
    }

    .client-wrapper:nth-of-type(2){
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .client-wrapper > div {
        width: 100%;
    }

    .client-wrapper > div > div{
        width: 100%;
        text-align: center;
        font-size: var(--font-s);
        padding: 14px 20px 16px 20px;
    }

    .client-wrapper > div > div > span{
        font-size: 14px;
    }

    .client-wrapper > div:not(.client-wrapper > div:nth-of-type(1)){
        margin-top: 12px;
    }

    .client-wrapper > div > div:nth-of-type(1){
        margin-right: 12px;
    }

    .client-wrapper > div > div:nth-of-type(2){
        margin-right: 0;
    }

    .client-wrapper > div:nth-of-type(1) > div{
        margin-right: 0;
    } 
    
    .client-wrapper > div > div > br{
        display: block;
    }

    .whyus-wrapper{
        grid-template-columns: 1fr;
    }

    .whyus-wrapper > div{
        padding-left: var(--size-xs);
        padding-right: var(--size-xs);
    }

    .whyus-wrapper > div > div{
        font-size: 14px;
    }

    .whyus-wrapper > div:nth-of-type(1), .whyus-wrapper > div:nth-of-type(3){
        background: linear-gradient(180deg, var(--color-wh), var(--color-bg));
        border: 1px solid #E6E6E6;
    }
    
    .whyus-wrapper > div:nth-of-type(2), .whyus-wrapper > div:nth-of-type(4){
        background: linear-gradient(180deg, var(--color-wh), var(--color-bg2));
        border: 1px solid #DFECFF;
    }

            
    #consulting > .section-wrapper > img{
        width: 80px;
    }

    .alert{
        width: 100%;;
    }

    .alert > h2{
        text-align: center;
        width: 100%;
        padding: 12px 0;
        font-size: 28px;
    }

    .consult > img{
        display: none;
    }

    .consult > h2{
        word-break: keep-all;
        margin: 0;
    }

    #consulting > .section-wrapper > p{
        font-size: var(--font-m);
        word-break: keep-all;
    }

    .service{
        padding-left: 24px;
        padding-right: 24px;
    }

    .service-txt > span{
        min-width: 28px;
        min-height: 28px;
        width: 28px;
        height: 28px;
    }

    .service-txt > div > p {
        word-break: keep-all;
    }

    .service-txt > div > p > br{
        display: none;
    }

    .service:nth-of-type(1) .service-img > img{
        height: 108px;
    }

    .service:nth-of-type(2) .service-img > img{
        height: 92px;
        margin-top: 8px;
    }


    #process > .section-wrapper{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items:center;
        grid-template-columns: none;
    }

    #process > .section-wrapper > img:not(.mo-only){
        display: none;
    }

    #process > .section-wrapper > img.mo-only{
        max-width: 480px;
        margin-top: var(--size-m);
    }

    .mo-only{
        max-width: 480px;
        display: block;
    }
        
    #process > .section-wrapper > div > a{
        margin-top: var(--size-s);
    }

    .process > .dot{
        top: 2px;
    }

    .contact-title{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;

        grid-template-columns: none;
    }

    .contact-title > p{
        font-size: var(--font-l);
        padding-bottom: 0;
        margin-top: var(--size-xs);
    }

    form{
        padding: 40px 26px;
    }

    .basic-wrapper{
        grid-template-columns: 1fr;
        row-gap: var(--size-s);
    }

    .checkbox-wrapper label, .checkbox-wrapper span{
        font-size: 14px;
    }

    .footer-wrapper > div > span{
        font-size: 14px;
        word-break: keep-all;
    }
    
    .footer-wrapper > p{
        font-size: 14px;
        word-break: keep-all;
    }
    
    #contact .notice > img{
        margin-top: 2px;
    }

    #contact .notice{
        margin-top: 12px;
    }

}