@import url("base.css");
@import url("header.css");
@import url("footer.css");


/* ==============================
    Layout
============================== */
#sContainer {
    position: relative;
    margin-bottom: 0 !important;
}


/* ==============================
    Sub Visual
============================== */
.sub_visual {
    width: 100%;
    margin-bottom: 50px;
    padding: 0;
}

.sub_visual_bg {
    position: relative;
    width: 100%;
    height: 620px;

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

    overflow: hidden;
    background: url('/img/sub/bg_05.jpg') center center / cover no-repeat;
}

.sub_visual_bg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;

    background: rgba(0, 0, 0, 0.48);
}

.sub_visual_inner {
    max-width: 1520px;
    width: calc(100% - 40px);
    margin: 0 auto;
}

.sub_visual_text {
    position: relative;
    z-index: 2;

    text-align: center;
    color: #fff;
}

.sub_visual_text .plus {
    font-family: 'Pretendard_SB';
    font-size: 40px;
    line-height: 1;
}

.sub_visual_text h2 {
    margin: 10px 0;

    font-family: 'Pretendard_SB';
    font-size: 48px;
}

.sub_visual_text p {
    margin: 0;

    font-size: 20px;
    color: #eee;
}


/* ===============================
   MAST 176종 알러지 검사
   1520px 기준 반응형
================================ */

.allergy-page {
    width: 100%;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    color: #111;
    overflow: hidden;
}

.allergy-page * {
    box-sizing: border-box;
}

.allergy-page img {
    display: block;
    max-width: 100%;
}

.allergy-inner {
    width: 1520px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
}

/* title */
.allergy-title {
    padding: 0 20px;
    text-align: center;
}

.allergy-title span {
    display: block;
    margin-bottom: 4px;
    color: #1b5da9;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.allergy-title h2 {
    margin: 0;
    color: #111;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.04em;
}

/* visual */
.allergy-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding-top: 80px;
}

.visual-img {
    width: 600px;
}

.visual-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.visual-text {
    width: 380px;
}

.visual-text > span {
    position: relative;
    display: inline;
    margin-bottom: 20px;
    color: #9a9a9a;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.visual-text > span::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 10px;
    background: #E6F1FF;
    z-index: -1;
}

.visual-text h3 {
    margin: 0;
    color: #111;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.055em;
}

.visual-text h3 strong {
    color: #165aa8;
    font-weight: 800;
}

.visual-text p {
    margin: 28px 0 30px;
    color: #777;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: -0.04em;
}

.blue-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 300px;
    height: 70px;
    padding: 0 28px;
    background: #155aa9;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.04em;
}

.blue-btn em {
    font-style: normal;
    font-size: 24px;
    line-height: 1;
}

/* common section */
.allergy-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    padding-top: 140px;
}

.section-text {
    position: relative;
    width: 620px;
}

.section-text b {
    display: block;
    margin-bottom: 55px;
    color: #e3e3e3;
    font-size: 88px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.06em;
}

.section-text h3 {
    margin: 0;
    color: #111;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.055em;
}

.section-text h3 strong {
    color: #155aa9;
    font-weight: 800;
}

.section-text p {
    margin: 28px 0 0;
    color: #555;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: -0.045em;
}

.section-img {
    width: 450px;
}

.section-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.type-left {
    padding-left: 0;
    padding-right: 0;
}

.type-right {
    justify-content: center;
    gap: 160px;
}

.type-right .section-text {
    width: 600px;
}

.type-right .section-text b {
    margin-bottom: 55px;
}

/* circle */
.circle-items {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-right: 120px;
}

.circle-item {
    position: relative;
    width: 170px;
    height: 170px;
    border: 7px solid #155aa9;
    border-radius: 50%;
    background: #fff;
}

.circle-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.circle-item span {
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    min-width: 62px;
    height: 30px;
    padding: 0 10px;
    background: #155aa9;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    border-radius: 2px;
}

/* recommend */
.recommend {
    padding-top: 150px;
}

.recommend h3 {
    margin: 0 0 55px;
    color: #111;
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.05em;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 1220px;
    max-width: 100%;
    margin: 0 auto;
}

.recommend-item {
    display: flex;
    align-items: center;
    min-height: 165px;
    background: #eaf8ff;
}

.recommend-item img {
    width: 300px;
    height: 165px;
    object-fit: cover;
}

.recommend-item p {
    margin: 0;
    padding: 0 45px;
    color: #222;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.65;
    letter-spacing: -0.055em;
}

.recommend-item p strong {
    color: #155aa9;
    font-weight: 800;
}

/* process */
.process {
    padding-top: 180px;
}

.process-title {
    margin-bottom: 60px;
    text-align: center;
}

.process-title span {
    display: block;
    margin-bottom: 8px;
    color: #155aa9;
    font-size: 13px;
    font-weight: 700;
}

.process-title h3 {
    margin: 0;
    color: #111;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 1220px;
    max-width: 100%;
    margin: 0 auto;
}

.process-card {
    position: relative;
    min-height: 280px;
    padding: 48px 20px 35px;
    border: 1px solid #e5eaf1;
    background: #fff;
    text-align: center;
}

.process-card + .process-card {
    border-left: 0;
}

.process-card i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0 auto 25px;
    background: #155aa9;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-style: normal;
    border-radius: 50%;
}

.process-card img {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    object-fit: contain;
}

.process-card h4 {
    margin: 0 0 16px;
    color: #111;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.process-card p {
    margin: 0;
    color: #777;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: -0.04em;
}

/* bottom */
.allergy-bottom {
    position: relative;
    margin-top: 160px;
    width: 100%;
    height: 680px;
    overflow: hidden;
}

.allergy-bottom img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.bottom-text {
    position: absolute;
    top: 50%;
    right: calc((100% - 1520px) / 2 + 70px);
    transform: translateY(-50%);
    color: #111;
    text-align: right;
}

.bottom-text h3 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.055em;
}

.bottom-text h3 strong {
    font-weight: 800;
}

.bottom-text p {
    margin: 10px 0 0;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -0.055em;
}

/* ===============================
   반응형
================================ */

/* 1520 이하 */
@media (max-width: 1520px) {
    .bottom-text {
        right: 60px;
    }

    .circle-items {
        padding-right: 40px;
    }
}

/* 태블릿 */
@media (max-width: 1200px) {
    .allergy-title h2 {
        font-size: 32px;
    }

    .allergy-visual {
        gap: 50px;
    }

    .visual-img {
        width: 52%;
    }

    .visual-text {
        width: 38%;
    }

    .visual-text h3 {
        font-size: 28px;
    }

    .allergy-section {
        gap: 50px;
        padding-top: 120px;
    }

    .type-right {
        gap: 80px;
    }

    .section-text {
        width: 52%;
    }

    .section-img {
        width: 40%;
    }

    .circle-items {
        padding-right: 0;
    }

    .circle-item {
        width: 145px;
        height: 145px;
        border-width: 6px;
    }

    .recommend-grid,
    .process-list {
        width: 100%;
    }

    .recommend-item img {
        width: 240px;
    }

    .recommend-item p {
        padding: 0 28px;
        font-size: 16px;
    }
}

/* 1024 이하 */
@media (max-width: 1024px) {
    .allergy-inner {
        max-width: calc(100% - 32px);
    }

    .allergy-visual {
        padding-top: 60px;
    }

    .visual-img img {
        height: 340px;
    }

    .blue-btn {
        width: 260px;
        height: 62px;
        font-size: 15px;
    }

    .section-text b {
        margin-bottom: 35px;
        font-size: 72px;
    }

    .section-text h3 {
        font-size: 25px;
    }

    .section-text p {
        font-size: 14px;
    }

    .section-img img {
        height: 260px;
    }

    .recommend {
        padding-top: 120px;
    }

    .recommend h3 {
        font-size: 28px;
    }

    .recommend-grid {
        grid-template-columns: 1fr;
    }

    .recommend-item {
        min-height: 145px;
    }

    .recommend-item img {
        height: 145px;
    }

    .process {
        padding-top: 140px;
    }

    .process-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-card:nth-child(3) {
        border-left: 1px solid #e5eaf1;
    }

    .process-card:nth-child(n+3) {
        border-top: 0;
    }

    .bottom-text {
        right: 40px;
    }

    .bottom-text h3,
    .bottom-text p {
        font-size: 26px;
    }
}

/* 모바일 */
@media (max-width: 768px) {
    .allergy-title h2 {
        font-size: 26px;
    }

    .allergy-title span {
        font-size: 12px;
    }

    .allergy-visual {
        display: block;
        padding-top: 45px;
    }

    .visual-img,
    .visual-text {
        width: 100%;
    }

    .visual-img img {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .visual-text {
        margin-top: 35px;
    }

    .visual-text h3 {
        font-size: 25px;
    }

    .visual-text p {
        margin: 22px 0 25px;
    }

    .blue-btn {
        width: 100%;
        max-width: 300px;
    }

    .allergy-section {
        display: block;
        padding-top: 90px;
    }

    .type-right {
        display: flex;
        flex-direction: column;
    }

    .type-right .section-img {
        order: 2;
    }

    .type-right .section-text {
        order: 1;
    }

    .section-text,
    .type-right .section-text,
    .section-img {
        width: 100%;
    }

    .section-text b {
        margin-bottom: 28px;
        font-size: 62px;
    }

    .section-text h3 {
        font-size: 23px;
    }

    .section-text p {
        margin-top: 20px;
    }

    .section-img {
        margin-top: 35px;
    }

    .section-img img {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .circle-items {
        justify-content: center;
        margin-top: 45px;
    }

    .circle-item {
        width: 135px;
        height: 135px;
    }

    .recommend {
        padding-top: 100px;
    }

    .recommend h3 {
        margin-bottom: 35px;
        font-size: 25px;
    }

    .recommend-item {
        display: block;
        min-height: auto;
    }

    .recommend-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 7;
    }

    .recommend-item p {
        padding: 24px 22px;
        font-size: 15px;
        text-align: center;
    }

    .process {
        padding-top: 110px;
    }

    .process-title {
        margin-bottom: 35px;
    }

    .process-title h3 {
        font-size: 27px;
    }

    .process-list {
        grid-template-columns: 1fr;
    }

    .process-card {
        min-height: auto;
        padding: 38px 20px;
    }

    .process-card + .process-card {
        border-left: 1px solid #e5eaf1;
        border-top: 0;
    }

    .process-card:nth-child(3) {
        border-left: 1px solid #e5eaf1;
    }

    .allergy-bottom {
        margin-top: 110px;
        height: 360px;
    }

    .allergy-bottom::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.55);
    }

    .bottom-text {
        z-index: 1;
        left: 20px;
        right: 20px;
        text-align: center;
    }

    .bottom-text h3,
    .bottom-text p {
        font-size: 23px;
    }
}

/* 작은 모바일 */
@media (max-width: 480px) {
    .allergy-inner {
        max-width: calc(100% - 28px);
    }

    .allergy-title h2 {
        font-size: 23px;
    }

    .visual-text h3 {
        font-size: 22px;
    }

    .visual-text > span {
        font-size: 13px;
    }

    .section-text b {
        font-size: 54px;
    }

    .section-text h3 {
        font-size: 21px;
    }

    .circle-items {
        gap: 12px;
    }

    .circle-item {
        width: 118px;
        height: 118px;
        border-width: 5px;
    }

    .circle-item span {
        min-width: 54px;
        height: 27px;
        font-size: 12px;
        line-height: 27px;
    }

    .recommend h3 {
        font-size: 22px;
    }

    .recommend-item p {
        font-size: 14px;
    }

    .process-title h3 {
        font-size: 24px;
    }

    .bottom-text h3,
    .bottom-text p {
        font-size: 20px;
    }
}