html,
body {
    word-break: keep-all;
}

body {
    /* font-family: 'NanumSquareNeo'; */
    font-family: 'Nanum Gothic', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.4;
}

h1 {
    font-size: 2rem;
}

a:link,
a:visited,
a:hover,
a:active,
a:visited {
    text-decoration: none;
    color: #000000;
}

.nav-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0.8rem;
}

.nav-bar a {
    display: inline-block;
    width: 12%;
    padding: 15px;
    margin: 0 35px;
    text-align: center;
}

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

.logo-img-1 {
    max-width: 80px;
}

.logo-img-2 {
    max-width: 350px;
}


/* 상단 문구 */
.announcement-section {
    display: block;
    text-align: center;
    background-color: #FDD958;
    padding: 2rem;
}

.announcement-text-main {
    margin-bottom: 0;
}

.announcement-text-sub {
    margin-top: 0.5rem;
}

.announcement-text-sub-bold {
    font-weight: bold;
    font-size: 1.7rem;
}

/* 히어로 섹션 래퍼 */
.hero {
    position: relative;
    min-height: 56vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    overflow: hidden;
}

/* 배경이미지 - 로컬 파일 사용, opacity를 위해 가상 요소로 처리 */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0; */
    background-image: url("../images/ads/onnuri-care.jpeg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: 0;
    filter: saturate(0.96) contrast(0.95);
}

/* 내용 컨테이너 - z-index를 높여 배경 위에 표시 */
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 980px;
    width: 100%;
    text-align: center;
    padding: 28px;
    background: rgba(255, 255, 255, 0.72);
    /* 배경을 반투명 흰색으로 하여 가독성 확보 */
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(6, 22, 28, 0.12);
}

.hero__eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #1b5e57;
    margin-bottom: 10px;
}

.hero__title {
    color: #08323a;
}

.hero__desc {
    font-size: clamp(14px, 1.8vw, 18px);
    color: #12343a;
    margin-bottom: 18px;
    line-height: 1.6;
}

.hero__cta {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
}


.btn--primary {
    background: #1fa67a;
    color: white;
    box-shadow: 0 6px 18px rgba(31, 166, 122, 0.18);
}


.btn--ghost {
    background: #ffffff;
    color: #084047;
    border: 2px solid rgba(8, 64, 71, 0.08);
}

/* 서비스 소개 */
.info {
    padding: 0 30px;
    max-width: 1000px;
    margin: 5rem auto;
}

.info-chart {
    max-width: 1000px;
    margin: 50px 0;
}

.info table {
    width: 100%;
    margin: 0 0 7px;
    border-top: 2px solid #7e7e7e;
    border-left: none;
    border-right: 1px solid #ccc;
    border-bottom: 2px solid #c3c3c3;
    text-indent: 0;
    /* border-bottom-color: #ccc; */
    border-collapse: collapse;
}

.info caption {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    overflow: hidden;
}

.info th {
    padding: 9px 0 6px;
    background: #faf9fa;
    text-align: center;
    font-weight: normal;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #a3a3a3;
    color: #333;
}

.info td {
    padding: 9px 5px 6px;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    text-align: center;
    color: #444;
}

.year-25 td {
    font-weight: 600;
    background-color: #F1FEE7;
}

.info-text {
    margin-bottom: 5rem;
}

.info-text p {
    position: relative;
    padding-left: 3.2rem;
    margin: 0.8rem 0px;
}

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

.process span {
    display: inline-flex;
    margin: 1rem;
    width: 8.5rem;
    height: 6rem;
    justify-content: center;
    align-items: center;
    border: 0.18rem solid #2D8B5A;
    border-radius: 0.2rem;
}

/* 서비스 소개 */
.info-onnuri-1,
.info-onnuri-3 {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 30px;
    margin: 50px auto;
    overflow: hidden;
}

/* 배경이미지 - 로컬 파일 사용, opacity를 위해 가상 요소로 처리 */
.info-onnuri-1::before {
    content: "";
    position: absolute;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0; */
    background-image: url("../images/ads/info-onnuri.jpeg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: 0;
    filter: saturate(0.96) contrast(0.95);
}

/* 내용 컨테이너 - z-index를 높여 배경 위에 표시 */
.info-onnuri-1 .info-onnuri__content,
.info-onnuri-3 .info-onnuri__content {
    position: relative;
    z-index: 2;
    max-width: 880px;
    width: 100%;
    text-align: center;
    padding: 2rem 3rem 4.5rem;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(6, 22, 28, 0.12);
}

.info-onnuri__services {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.info-onnuri__services .card {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(6, 28, 34, 0.08);
    padding: 1rem 1.4rem;
    border-radius: 12px;
    color: #0a3034;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    align-items: center;
}

.emoji {
    flex: 0 0 auto;
    font-size: 1.5rem;
    line-height: 1;
    padding-right: 0.2rem;
}

/* INFO 온누리 2 */

.info-onnuri-2 {
    padding: 0 30px;
    margin: 140px auto;
}

.info-onnuri-title {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.info-onnuri-2 h1 {
    display: inline-block;
}

.info-onnuri-2 .info-icon,
.info-onnuri-4 .info-icon {
    display: inline-block;
    height: 4rem;
    padding-right: 0.6rem;
    padding-bottom: 0.4rem;
}

.info-onnuri-2 .fee-estimation {
    margin: auto;
    max-width: 740px;
    font-size: 1.3rem;
}

/* INFO 온누리 3 */
.info-onnuri-3 {
    min-height: 75vh;
}

.info-onnuri-3 h1 {
    color: #08323a;
}

.info-onnuri-3::before {
    content: "";
    position: absolute;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0; */
    background-image: url("../images/ads/info-onnuri-3.jpeg");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
    filter: saturate(0.96) contrast(0.95);
}

.info-onnuri-3 .info-onnuri__content {
    padding: 3rem;
}

.info-onnuri-3 .info-onnuri__content h1 span {
    background-color: #FDD958;
}

/* INFO 온누리 4 */
.info-service-img {
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
}

.info-service-img div {
    display: inline-block;
    width: 23%;
    margin: 1.5rem;
}

.info-service-img img {
    display: inline-block;
    width: 100%;
    height: 15rem;
    object-fit: cover;
}

.info-service-img h3,
.info-service-img p {
    text-align: center;
}

.info-onnuri-title.title-color {
    background-color: #fff8dc;
    margin-top: 3rem;
    padding: 2rem 0;
}

.info-onnuri-title.title-color span,
.final-text span {
    background-color: #FDD958;
}

.final-text {
    text-align: center;
    background-color: #fff8dc;
    margin-top: 5rem;
    padding: 3rem;
}



.map-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.map-container {
    padding: 30px;
}

.map-info, .contact-info {
    display: inline-block;
    width: 40%;
    max-width: 580px;
    padding: 60px 20px;
}

.map-container span {
    display: block;
    margin-bottom: 12px;
}

.map-img {
    display: block;
    margin-top: 40px;
}

.map-img img {
    width: 100%;
}

.info-title {
    margin-bottom: 25px;
}

.contact-bottom-bar {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 2;
    height: 100px;
    width: 100%;
    background-color: #2D8B5A;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-bottom-bar span {
    margin: 0 15px;
    font-size: 1.8rem;
}

.bottom-bar-kakao {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.bottom-bar-btns {
    display: inline-flex;
}

.bottom-bar-txt {
    color: #ffffff;
}

.bottom-bar-btn a {
    display: inline-block;
    background-color: #FDD958;
    border-radius: 350px;
    padding: 15px 30px;
}

.bottom-bar-btn a:hover {
    background-color: #FFAA2E;
}

.kakao-talk {
    position: fixed;
    top: 30px;
    right: 15px;
    z-index: 3;
}

footer {
    border-top: 1px solid #ccc;
    padding: 6em 0;
    text-align: center;
}

footer p {
    font-size: 0.8rem;
}

.copyright {
    color: #ccc;
}

/* 모바일 */
@media (max-width: 430px) {
    h1 {
        font-size: 1.5rem;
    }

    header {
        padding-top: 1rem;
    }

    .logo-img-1 {
        width: 2rem;
    }

    .logo-img-2 {
        width: 12rem;
    }

    .nav-bar {
        padding: 0.3rem;
    }

    .nav-bar a {
        width: 45%;
        margin: 0.3rem;
        padding: 0.2rem;
        font-size: 0.8rem;
    }

    .announcement-section {
        padding: 1rem 2rem;
    }

    .announcement-text-main {
        font-size: 1.3rem;
        margin: 0;
        padding: 0 3rem;
    }

    .announcement-text-sub {
        font-size: 0.8rem;
        margin-top: 0.3rem;
        margin-bottom: 0;
    }

    .announcement-text-sub-bold {
        font-size: 1rem;
    }

    .hero {
        padding: 36px 15px;
        min-height: 40vh;
    }

    .hero__content {
        width: 85%;
        padding: 1rem;
        border-radius: 0.5rem;
    }

    .hero__cta {
        width: 100%;
    }

    .hero__cta .btn {
        width: 40%;
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .info {
        padding: 0;
    }

    .info h1 {
        text-align: center;
    }

    .info-chart {
        overflow: scroll;
    }

    .info-chart table {
        font-size: 0.6rem;
    }

    .process span {
        font-size: 0.8rem;
        width: 20%;
        height: 4rem;
        text-align: center;
        margin: 0.5rem;
    }

    .info-onnuri-1 {
        min-height: 70vh;
    }

    .info-onnuri-1 .info-onnuri__content {
        padding: 1rem;
    }

    .info-onnuri__services {
        grid-template-columns: 1fr;
    }

    .info-onnuri__services .card {
        font-size: 0.8rem;
        padding: 0.6rem;
    }

    .info-onnuri-2 {
        margin: 5rem 0;
        padding: 0 15px;
    }

    .info-onnuri-2 .fee-estimation {
        font-size: 1rem;
    }

    .info-onnuri-2 .fee-estimation p {
        text-align: center;
    }

    .info-onnuri-2 .info-icon {
        padding-right: 0;
        padding-bottom: 1rem;
    }

    .info-onnuri-2 .info-onnuri-title {
        padding-right: 2.3rem;
    }

    .info-onnuri-1,
    .info-onnuri-3 {
        padding: 0 15px;
    }

    .info-onnuri-3 h1 {
        font-size: 1.4rem;
    }

    .info-service-img {
        justify-content: space-around;
        margin-top: 2rem;
    }

    .info-service-img div {
        width: 45%;
        margin: 0;
    }

    .info-service-img img {
        height: 8rem;
    }

    .info-service-img h3 {
        font-size: 1rem;
        margin-top: 0.3rem;
    }

    .info-service-img p {
        font-size: 0.8rem;
        margin-bottom: 2rem;
    }

    .final-text {
        margin-top: 2rem;
        padding: 2.3rem 1rem;
    }

    .map-container {
        padding: 30px 15px;
    }

    .map-info, .contact-info {
        width: 100%;
        margin: 2rem 0;
        padding: 0;
        text-align: center;
    }

    footer {
        padding: 1rem 0 6rem;
    }

    .kakao-talk {
        top: 1rem;
        right: 0.3rem;
    }
}

@media(max-width: 960px) {
    .bottom-bar-kakao {
        width: 40%;
    }

    .bottom-bar-kakao img {
        width: 2rem;
    }

    .contact-bottom-bar {
        justify-content: space-evenly;
    }

    .contact-bottom-bar span {
        font-size: 1rem;
    }


    .bottom-bar-btns {
        width: 50%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-bottom-bar .bottom-bar-btn {
        margin: 0.2rem 0;

    }

    .bottom-bar-btn a {
        padding: 0.6rem 1rem;
        border-radius: 2rem;
        width: 10rem;
        text-align: center;
    }
}