@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

body.free-search {
    background: #F6F9FB;
    color: #333333;
    box-sizing: border-box;
}

body.result-search {
    background: #FFFFFF;
    color: #333333;
    box-sizing: border-box;
}

h1 {
    font-weight: 700;
    font-size: 45px;
    line-height: 63px;
}

.section-title {
    font-size: 32px !important;
    line-height: 44.8px !important;
    font-weight: 700 !important;
    color: var(--black) !important;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.field-label {
    display: flex;
    align-items: center;
    margin: 8px 0;
}

.field-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    color: var(--black);
}

.field-option {
    max-width: 450px;
}

.checkbox-all {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
}

.checkbox-title {
    font-size: 28px;
    font-weight: 500;
    line-height: 39.2px;
    color: var(--indigo-700);
}

.text-option {
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    color: #333333;
}

.text-option-checkbox {
    font-size: 24px;
    font-weight: 500;
    line-height: 33.6px;
    color: #333333;
}

.banner {
    aspect-ratio: 24 / 9;
    background: url("../img/free-search/bg.png") no-repeat;
    background-size: cover;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}

@media only screen and (max-width: 768px) {
    .banner {
        aspect-ratio: 24 / 9;
        background: url("../img/free-search/bg-mobile.png") no-repeat;
        background-size: cover;
        width: 100%;
        margin-bottom: 0;
        height: 289px;
    }
}

.banner__content {
    max-width: 667px;
    max-height: 315px;
    padding: 48px;
    border-radius: 16px;
    border: 2px solid #FFFFFF;
    background: #FFFFFFD1;

    text-align: center;
}

.banner__content h1 {
    color: #4A5796;
    margin-bottom: 40px;
}


.banner__content p {
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 4px;
}

.btn-register {
    color: white;
    border: 1px solid var(--cerulean-blue);
    padding: 10px 24px;
    background-color: var(--cerulean-blue);
    font-weight: bold;
    font-size: 28px;
    line-height: 39.2px;
    cursor: pointer;
    width: 588px;
    height: 100px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
}

.btn-register.no-result {
    border-radius: 10px;
    height: 60px;
    width: 290px;
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
}

@media only screen and (max-width: 768px) {
    .btn-register.no-result {
        width: 250px;
        height: 48px;
        font-size: 18px;
        font-weight: 700;
        line-height: 26px;
    }
}

.btn-register.white {
    background-color: var(--white);
    color: var(--cerulean-blue);
    border: 1px solid var(--cerulean-blue);
}

@media only screen and (min-width: 769px) {

    .btn-register.white:hover {
        color: var(--sea-serpent);
        border: 1px solid var(--sea-serpent);
        background-color: var(--white);
    }

    .btn-register:hover {
        border: 1px solid var(--sea-serpent);
        background-color: var(--sea-serpent);
        color: white;
    }

}

@media only screen and (max-width: 768px) {
    a.btn-register:visited {
        text-decoration: none;
    }

    .checkbox-all {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 24px;
        gap: 8px;
    }

    .btn-register {
        width: 238px;
        height: 48px;
        font-size: 18px;
        font-weight: 700;
        line-height: 26px;
        border-radius: 40px;
    }

    .section-title {
        font-size: 24px !important;
        line-height: 33.6px !important;
        font-weight: 700 !important;
        color: var(--black) !important;
    }

    .banner__content {
        max-width: 311px;
        max-height: 184px;
        padding: 10px;
    }

    .banner__content h1 {
        font-size: 24px;
        font-weight: 700;
        line-height: 33.6px;
        margin-bottom: 10px;
    }

    .banner__content p {
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
    }

    .field-label {
        flex-direction: column;
        align-items: start;
    }

    .field-title {
        font-size: 16px;
        font-weight: 700;
        line-height: 22.4px;
        color: var(--black);
    }

    .text-option {
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
    }

    .text-option-checkbox {
        font-size: 20px;
        line-height: 28px;
        font-weight: 400;
    }

    .checkbox-title {
        font-size: 20px;
        font-weight: 700;
        line-height: 28px;
    }

    label[for^=all-check] {
        font-size: 16px;
        line-height: 25.6px;
        margin-bottom: 0 !important;
    }
}

.section {
    max-width: 1128px;
    margin: 40px auto 0;
    background: #FFFFFF;
    padding: 24px;
    border-radius: 12px;
}

h2.title {
    font-size: 32px;
    line-height: 44.8px;
    position: relative;
    padding-top: 64px;
    padding-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

@media only screen and (max-width: 768px) {
    .section {
        margin: 40px 12px 0;
        padding: 12px;
    }

    h2.title {
        font-size: 20px;
        line-height: 28px;
        font-weight: 700;
        padding: 32px 12px 10px;
    }
}

h2.title::before, h2.title::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    border-radius: 2px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

h2.title::before {
    width: 293px;
    height: 4px;
    background-color: #CFCFCF;
}

@media only screen and (max-width: 768px) {
    h2.title::before {
        width: 85%;
    }
}

h2.title::after {
    width: 143px;
    height: 4px;
    background-color: #FFA801;
    border-radius: 2px;
}

@media only screen and (max-width: 768px) {
    h2.title::before {
        width: 85%;
    }
}

h2.title::after {
    width: 143px;
    height: 4px;
    background-color: #FFA801;
}

@media only screen and (max-width: 768px) {
    h2.title::after {
        width: 40%;
    }
}

:root {
    --desktop-header-height: 96px;
    --mobile-header-height: 64px;
}

.result-search-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--desktop-header-height);
    box-shadow: 0 4px 18.9px 0 #197E971A;
    background: #FFFFFF;
    z-index: 9999;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
}

.header-container .btn-register {
    color: white;
    border: 1px solid var(--cerulean-blue);
    padding: 10px 24px;
    background-color: var(--cerulean-blue);
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    cursor: pointer;
    width: 394px;
    height: 60px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
}

@media only screen and (min-width: 769px) {
    .header-container .btn-register:hover {
        border: 1px solid var(--sea-serpent);
        background-color: var(--sea-serpent);
        color: white;
    }
}

@media only screen and (max-width: 768px) {
    .result-search-header {
        height: var(--mobile-header-height);
    }

    .header-container {
        box-shadow: 0 4px 18.9px 0 #197E971A;
        background: #FFFFFF;
        z-index: 9999;
        padding: 0 10px;
    }

    .header-container img {
        width: 144px;
        aspect-ratio: auto;
    }

    .header-container .btn-register {
        color: white;
        border: 1px solid var(--cerulean-blue);
        padding: 0;
        background-color: var(--cerulean-blue);
        font-size: 14px;
        line-height: 20px;
        font-weight: 500;
        cursor: pointer;
        width: 188px;
        height: 32px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 40px;
    }
}

.result-banner {
    margin-top: var(--desktop-header-height);
    display: flex;
    justify-content: center;
}

.result-banner .result-banner-first {
    background: url("../img/free-search/search_banner_first.jpeg") no-repeat center;
    background-size: cover;
}

.result-banner .result-banner-second {
    background: url("../img/free-search/search_banner_second.jpeg") no-repeat center;
    background-size: cover;
}

@media only screen and (min-width: 769px) {
    .result-banner {
        height: 599px;
    }

    .result-banner .result-banner-first {
        min-width: 330px;
        flex: 1;
        aspect-ratio: 21 / 9;
    }

    .result-banner .result-banner-second {
        min-width: 330px;
        flex: 1;
        aspect-ratio: 21 / 9;
    }
}

@media only screen and (max-width: 768px) {
    .result-banner {
        flex-direction: column;
        margin-top: var(--mobile-header-height);
        height: 599px;
    }

    .result-banner .result-banner-first {
        background: url("../img/free-search/search_banner_first.jpeg") no-repeat center;
        flex: 1;
        width: 100%;
        background-size: cover;
    }

    .result-banner .result-banner-second {
        background: url("../img/free-search/search_banner_second.jpeg") no-repeat center;
        flex: 1;
        width: 100%;
        background-size: cover;
    }
}

.result-banner .result-banner-content {
    height: 100%;
    background: url("../img/free-search/search_banner_content.png") no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 57px;
    position: relative;
}

.result-banner .result-banner-content:after {
    content: "";
    position: absolute;
    top: 16px;
    left: 16px;
    background: url("../img/free-search/search_banner_content_top.svg") no-repeat;
    width: 112px;
    height: 105px;
}

.result-banner .result-banner-content:before {
    content: "";
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: url("../img/free-search/search_banner_content_bottom.svg") no-repeat;
    width: 112px;
    height: 105px;
}

.result-banner .result-banner-content h1 {
    color: #333333;
    font-size: 48px;
    font-weight: 500;
    line-height: 67.2px;
    margin-bottom: 24px;
}

.result-banner .result-banner-content h2 {
    color: #1E91AE;
    font-size: 40px;
    font-weight: 700;
    line-height: 56px;
    margin-bottom: 40px;
}

.result-banner .result-banner-content .money-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 34px;
    margin-left: 80px;
}

.result-banner .result-banner-content .money-box .text {
    font-size: 40px;
    font-weight: 400;
    line-height: 56px;
    color: #333333;
}

.result-banner .result-banner-content .money-box .money {
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 47px;
    font-weight: 700;
    line-height: 65.8px;
    color: #4A5796;
    filter: drop-shadow(3px 0 0 white) drop-shadow(0 3px 0 white) drop-shadow(-3px 0 0 white) drop-shadow(0 -3px 0 white) drop-shadow(1px 1px 0 #4A5796) drop-shadow(-1px 1px 0 #4A5796) drop-shadow(1px -1px 0 #4A5796) drop-shadow(-1px -1px 0 #4A5796);
    margin-bottom: 7px;
}

@media only screen and (min-width: 769px) {
    .result-banner .result-banner-content {
        min-width: 700px;
    }
}

@media only screen and (max-width: 768px) {
    .result-banner {
        align-items: center;
    }

    .result-banner .result-banner-content {
        height: 295px;
        width: 100%;
        padding: 30px;
    }

    .result-banner .result-banner-content h1 {
        font-size: 24px;
        font-weight: 500;
        line-height: 33.6px;
    }

    .result-banner .result-banner-content h2 {
        font-size: 20px;
        font-weight: 700;
        line-height: 28px;
    }

    .result-banner .result-banner-content .money-box {
        gap: 15px;
        margin-left: 30px;
    }

    .result-banner .result-banner-content .money-box .text {
        font-size: 20px;
        font-weight: 400;
        line-height: 28px;
    }

    .result-banner .result-banner-content .money-box .money {
        font-size: 30px;
        font-weight: 700;
        line-height: 42px;
        margin-bottom: 14px;
    }


    .result-banner .result-banner-content:after {
        content: "";
        position: absolute;
        top: 10px;
        left: 10px;
        background: url("../img/free-search/search_banner_content_top_mobile.svg") no-repeat;
        width: 70px;
        height: 65px;
    }

    .result-banner .result-banner-content:before {
        content: "";
        position: absolute;
        bottom: 10px;
        right: 10px;
        background: url("../img/free-search/search_banner_content_bottom_mobile.svg") no-repeat;
        width: 70px;
        height: 65px;
    }

}

.result-joseikin {
    background: #ECF7FE;
    text-align: center;
    padding: 96px 114px;
}

.result-joseikin h2 {
    font-size: 40px;
    line-height: 56px;
    font-weight: 700;
    color: #1E91AE;
    margin-bottom: 48px;
}

.result-joseikin p,
.result-hojokin p {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    color: #333333;
}

.result-hojokin {
    background: #FAF4DC;
    text-align: center;
    padding: 96px 114px;
}


.result-hojokin h2 {
    font-size: 40px;
    line-height: 56px;
    font-weight: 700;
    color: #C19D0B;
    margin-bottom: 48px;
}

@media only screen and (max-width: 768px) {
    .result-joseikin {
        padding: 32px 16px;
    }

    .result-joseikin h2,
    .result-hojokin h2 {
        font-size: 24px;
        line-height: 33.6px;
        font-weight: 700;
        margin-bottom: 24px;
    }

    .result-joseikin p,
    .result-hojokin p {
        font-size: 16px;
        line-height: 24px;
        font-weight: 500;
    }

    .result-hojokin {
        padding: 32px 16px;
    }
}

.result-container {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
    max-width: 1212px;
    margin-left: auto;
    margin-right: auto;
}

.result-item {
    display: flex;
    flex-direction: column;
    position: relative;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 0 25px 40px;
}

@media only screen and (max-width: 768px) {
    .result-container {
        margin-top: 32px;
        gap: 20px;
    }

    .result-item {
        padding: 0 16px 16px;
    }
}

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

.myPage__ribbon {
    position: absolute;
    top: 0;
    left: 25px;
}

.result-item .result-item-img {
    margin-top: 20px;
    width: 100%;
    height: 298px;
    box-shadow: 0 2px 16px 0 #7D7D7D3D;
    padding: 5px;
    display: flex;
    justify-content: center;
}

.result-item .result-item-img img {
    height: 100%;
}

.result-item .result-item-title {
    display: block;
    text-align: center;
}

@media only screen and (min-width: 769px) {
    .result-item.yellow .myPage__ribbon {
        background: url("/img/free-search/img_yellow_ribbon_vertical.svg") no-repeat;
        width: 96px;
    }

    .result-item .myPage__ribbon {
        background: url("/img/free-search/img_blue_ribbon_vertical.svg") no-repeat;
        width: 96px;
    }

    .result-item.yellow .result-item-box-title {
        font-size: 28px;
        font-weight: 500;
        line-height: 39.2px;
        color: #C19D0B;
        width: 307px;
    }

    .result-item.yellow .result-item-title {
        font-size: 20px;
        font-weight: 700;
        line-height: 28.96px;
        color: #C19D0B !important;
        text-decoration: underline !important;
        text-underline-color: #C19D0B !important;
        cursor: pointer;
    }

    .result-item .result-item-title:after {
        content: none;
    }

    .result-item.yellow .result-item-description,
    .result-item .result-item-description {
        font-size: 18px;
        font-weight: 400;
        line-height: 26px;
        color: #333333 !important;
        text-align: justify;
    }

    .result-item .result-item-money {
        display: flex;
        align-items: end;
        justify-content: center;
        gap: 5px;
        margin-top: 40px;
    }

    .result-item.yellow .result-item-money .result-item-money-number {
        font-family: "Oswald", sans-serif;
        font-size: 72px;
        font-weight: 700;
        line-height: 100.8px;
        color: #C19D0B;
    }

    .result-item.yellow .result-item-money .result-item-money-text {
        font-size: 45px;
        font-weight: 500;
        line-height: 63px;
        color: #333333;
    }

    .result-item .result-item-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 120px;
        margin: 50px auto 0;
    }

    .result-item .result-item-box-title {
        font-size: 28px;
        font-weight: 500;
        line-height: 39.2px;
        color: #4A5796;
        width: 307px;
    }

    .result-item .result-item-title {
        font-size: 20px;
        font-weight: 700;
        line-height: 28.96px;
        display: inline-block;
        color: #4A5796;
        text-decoration: underline;
        text-underline-color: #4A5796;
        cursor: pointer;
    }

    .result-item .result-item-money .result-item-money-number {
        font-family: "Oswald", sans-serif;
        font-size: 72px;
        font-weight: 700;
        line-height: 100.8px;
        color: #4A5796;
    }

    .result-item .result-item-money .result-item-money-text {
        font-size: 45px;
        font-weight: 500;
        line-height: 63px;
        color: #333333;
        margin-bottom: 10px;
    }

    .result-item .result-item-title-box,
    .result-item.yellow .result-item-title-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 24px 0 24px 0;
    }
}

@media only screen and (max-width: 768px) {
    .myPage__ribbon {
        position: absolute;
        top: 0;
        left: 16px;
    }

    .result-item .result-item-img {
        margin-top: 30px;
        width: 100%;
        height: 214px;
        box-shadow: 0 2px 16px 0 #7D7D7D3D;
        padding: 5px;
        display: flex;
        justify-content: center;
    }

    .result-item.yellow .myPage__ribbon {
        background: url("/img/free-search/img_yellow_ribbon_vertical_mobile.svg") no-repeat;
        width: 61px;
    }

    .result-item .result-item-title:after {
        content: none;
    }

    .result-item .myPage__ribbon {
        background: url("/img/free-search/img_blue_ribbon_vertical_mobile.svg") no-repeat;
        width: 61px;
    }

    .result-item .result-item-box {
        height: unset;
        margin: 20px auto 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .result-item.yellow .result-item-box-title {
        color: #C19D0B !important;
    }

    .result-item .result-item-box-title {
        color: #4A5796 !important;
    }

    .result-item .result-item-box-title,
    .result-item.yellow .result-item-box-title {
        font-size: 16px;
        font-weight: 700;
        line-height: 22.4px;
        width: 185px;
    }

    .result-item .result-item-title-box,
    .result-item.yellow .result-item-title-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 12px 0 16px 0;
    }

    .result-item .result-item-title,
    .result-item.yellow .result-item-title {
        display: inline-block;
        font-size: 16px;
        font-weight: 500;
        line-height: 20px;
    }

    .result-item .result-item-title {
        color: #4A5796;
        text-decoration: underline;
        text-underline-color: #4A5796;
    }

    .result-item.yellow .result-item-title {
        color: #C19D0B !important;
        text-decoration: underline !important;
        text-underline-color: #C19D0B !important;
    }

    .result-item .result-item-description {
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        color: #333333 !important;
        text-align: justify;
    }

    .result-item .result-item-money {
        display: flex;
        display: -webkit-flex;
        align-items: end;
        -webkit-align-items: flex-end;
        justify-content: center;
        -webkit-justify-content: center;
        gap: 0 !important;
        margin-top: 20px;
    }

    .result-item .result-item-money > *:not(:first-child) {
        margin-left: 5px;
    }

    .result-item.yellow .result-item-money .result-item-money-number {
        font-family: "Oswald", sans-serif;
        font-size: 32px;
        font-weight: 700;
        line-height: 44.8px;
        color: #C19D0B;
    }

    .result-item.yellow .result-item-money .result-item-money-text,
    .result-item .result-item-money .result-item-money-text {
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        height: 24px;
        color: #333333;
        margin-bottom: 5px;
    }

    .result-item .result-item-money .result-item-money-number {
        font-family: "Oswald", sans-serif;
        font-size: 32px;
        font-weight: 700;
        line-height: 44.8px;
        height: 44.8px;
        color: #4A5796;
    }

}

.result-item.yellow .myPage__ribbon > span {
    color: #C19D0B;
}

.result-item .myPage__ribbon > span {
    color: #4A5796;
}

@media only screen and (min-width: 769px) {
    .myPage__ribbon {
        height: 96px;
    }

    .myPage__ribbon > span {
        font-weight: 700;
        font-size: 20px;
        line-height: 28px;
    }

}

@media only screen and (max-width: 768px) {
    .myPage__ribbon {
        height: 66px;
    }

    .myPage__ribbon > span {
        font-weight: 700;
        font-size: 16px;
        line-height: 22.4px;
    }
}


select:focus {
    box-shadow: none;
    outline: none;
    outline-offset: unset;
}

.btn-register {
    position: relative;
}

.btn-register img {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    width: 14px;
}

@media only screen and (max-width: 768px) {
    .btn-register img {
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        width: 9px;
    }
}


.st-formArea label:not([for^="all-check"])::after {
    top: 25.2px !important;
    left: 24.5px !important;
}


@media only screen and (max-width: 768px) {
    .field {
        gap: 0 !important;
    }

    .field > *:not(:first-child) {
        margin-top: 12px;
    }

    .result-banner .result-banner-content .money-box {
        gap: 0;
    }

    .result-banner .result-banner-content .money-box > *:not(:first-child) {
        margin-left: 10px;
    }
}
