* {
    --common-width : 650px; /* 최대넓이 */
    --header-height: 6rem; /* 상단바 높이 */
    --footer-height: 6.5rem; /* 하단바 높이 */
}
header {
    width: 100%;
    z-index: 100;
    background-color: #fff;
    border-bottom: 1px solid #e7e7e7;
    height: var(--header-height);
    max-width: var(--common-width);
    border-bottom: 1px solid #ccc;
    display: flex;align-items: center;
    position: fixed;left: 50%;top: 0;transform: translateX(-50%);
}
header h1 {
    line-height: 1.4;
    font-weight: 800;
    color: #252525;
    font-size: 1.8rem;
    text-align: center;
}
header h1 img {
    height: calc(var(--header-height) / 2);
    display: block;
}
header .logo {
    display: flex;justify-content: center;align-items: center; 
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 10rem;
    border: 2px solid #111;
    color: #111;
    width: 10rem;height: 3rem;
}
header div {
    display: flex;gap: .5rem;
}
header .bell {
    display: flex;justify-content: center;align-items: center;flex-direction: column;
    border-radius: 10rem;
    width: 5rem;height: 3rem;
    transition: .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
header .bell img {
    width: 2rem;
}
header .bell p {
    margin-top: .5rem;
    font-size: 1.2rem;
    color: #fff;
}
header .prev {
    cursor: pointer;
    height: var(--header-height);
    width: calc(var(--header-height) / 1.5);
    background: url(../img/prev.png) no-repeat center / 25%;
}
header .dummy {
    height: var(--header-height);
    width: calc(var(--header-height) / 1.5);
}
header.default {
    justify-content: center;
}
main {
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #fefefe;
    max-width: var(--common-width);
    padding-top: var(--header-height);
    /* padding-bottom: var(--footer-height); */
}





/* ----------------------- */
#home {
    padding: 0;
    background: linear-gradient( #0062df 0%, #0062df 40%, #f5f8fc 40%, #f5f8fc 100%);
}
#home .intro {
    width: 100%;
    max-width: 400px;
    margin: 0 0 0 auto;
}
#home .intro img {width: 100%;}
#home .link_wrap {
    border-radius: 2rem 2rem 0 0;
    background-color: #f5f8fc;
    padding: 3rem 2rem;
    transform: translateY(-2rem);
}
#home .link_wrap a {margin: 1.5rem 0;display: block;}
#home .link_wrap a img {width: 100%;}



#step .intro {
    width: 100%;
    margin: 1.5rem 0 2rem;
}
#step section {
    padding: 1.5rem;
}
#step section h2 {
    color: #111;
    line-height: 1.2;
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: .3rem;
    padding: 1rem 1.3rem;
    margin-bottom: 1.5rem;
    background-color: #e6e6e6;
}
#step section pre {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #4f4f4f;
    margin-bottom: 3rem;
}
#step section img {width: 100%;}
#step section p {
    font-size: 1.4rem;
    line-height: 1.6;
    font-weight: bold;
    color: #0867e0;
}
#step section a {
    width: 100%;
    color: #fff;
    display: block;
    padding: 1.3rem;
    line-height: 1.4;
    font-weight: 800;
    font-size: 1.6rem;
    text-align: center;
    border-radius:.5rem;
    margin: 4rem 0 2rem;
    background-color: #7f7f7f;
}
#step section .desc {
    font-size: 1.4rem;
    line-height: 1.4;
    color: #4f4f4f;
    padding: 2rem 0;
    display: block;
    text-align: center;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    background-color: #f7f7f7;
}
#step section .btn_wrap {
    display: flex;gap: 1rem;
}
#step section .btn_wrap a:nth-of-type(1) {
    background-color: #0057dd;
}
#step section ul {}
#step section ul li {
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 1rem;
    border: 1px solid #0062df;
}
#step section ul li h3 {
    display: flex;align-items: center;gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.4;
    color: #0057dd;
}
#step section ul li h3 b {
    color: #fff;
    font-size: 1.2rem;
    border-radius: 10rem;
    background-color: #798399;
    width: 6.5rem;padding: .8rem;
    display: flex;justify-content: center;align-items: center;
}
#step section ul li pre {
    margin-bottom: 0;
}


/* 결과페이지 */
#step .final {
    background-color: #0062df;
    margin: 0 !important;
    position: relative;
    padding-bottom: 20%;
    height: calc(100% - var(--header-height));
}
#step .final img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#step .final a {
    position: absolute;
    left: 1.5rem;bottom: 1.5rem;

    color: #111;
    display: block;
    padding: 1.3rem;
    line-height: 1.4;
    font-weight: 800;
    font-size: 1.6rem;
    text-align: center;
    border-radius:.5rem;
    margin: 4rem 0 5rem;
    width: calc(100% - 3rem);
    background-color: #fff;
}