@charset "utf-8";

/* ==========================================================================
   ADM R Labs Web / Mobile Web CSS
   Theme: white background + blue point color
   ========================================================================== */


/* ==========================================================================
   01. Design Tokens
   ========================================================================== */

:root {
    --blue: #003bdc;
    --blue-dark: #002da8;
    --navy: #002f91;
    --footer-blue: #003da6;

    --text: #111;
    --gray: #666;
    --line: #dfe4ef;
    --light-blue: #f3f7ff;

    --container-max: 1400px;
}


/* ==========================================================================
   02. Reset / Base
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "Pretendard", "Noto Sans KR", Arial, sans-serif;
    color: var(--text);
    background: #fff;
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    vertical-align: top;
}

button,
input,
select,
textarea {
    font-family: inherit;
}


/* ==========================================================================
   03. Common Layout
   ========================================================================== */

.main-inner,
.header-inner,
.footer-inner {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}


/* ==========================================================================
   04. Header
   ========================================================================== */

.site-header {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 72px;
    border-bottom: 1px solid #e5e8ef;
    background: #fff;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo a {
    display: block;
}

.site-logo img {
    width: 112px;
    height: 48px;
    object-fit: contain;
}

.gnb {
    position: absolute;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
}

.gnb ul {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 62px;
}

.gnb a {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    color: #111;
    font-size: 17px;
    font-weight: 700;
}

.gnb a.on {
    color: var(--blue);
}

.gnb a.on::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 58px;
    height: 4px;
    background: var(--blue);
    transform: translateX(-50%);
}

.header-util {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-util a {
    min-width: 72px;
    height: 38px;
    padding: 0 18px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
}

.btn-login {
    border: 1px solid var(--blue);
    background: #fff;
    color: var(--blue);
}

.btn-consult {
    border: 1px solid var(--blue);
    background: linear-gradient(135deg, #0045e8, #002aa5);
    color: #fff;
}


/* ==========================================================================
   05. Main Visual
   ========================================================================== */

.main-page {
    background: #fff;
}

.main-visual {
    min-height: 315px;
    overflow: hidden;
    background: linear-gradient(90deg, #fff 0%, #fff 42%, #f7f8fa 100%);
}

.visual-inner {
    min-height: 315px;
    display: grid;
    grid-template-columns: 470px 1fr;
    align-items: center;
}

.visual-text {
    padding-top: 6px;
}

.visual-text h2 {
    font-size: 36px;
    line-height: 1.32;
    font-weight: 800;
    letter-spacing: -1.2px;
}

.visual-text h2 strong {
    color: var(--blue);
    font-weight: 800;
}

.visual-text p {
    margin-top: 24px;
    color: #222;
    font-size: 16px;
    line-height: 1.9;
    font-weight: 500;
    letter-spacing: -0.4px;
}

.visual-text p + p {
    margin-top: 18px;
}

.visual-image {
    position: relative;
    height: 315px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: #fff;
}

.visual-image img {
    display: block;
    width: 850px;
    height: 315px;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 20%, #000 80%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

/* 기존 페이드 제거 */
.visual-image::before,
.visual-image::after {
    display: none;
}


/* ==========================================================================
   06. Quick Menu
   ========================================================================== */

.quick-section {
    margin-top: -1px;
}

.quick-box {
    height: 96px;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 24, 80, 0.06);
}

.quick-item,
.quick-link {
    position: relative;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.quick-item:not(:last-child)::after,
.quick-link:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 8px;
    width: 1px;
    height: 38px;
    background: #d9deea;
}

.quick-item img,
.quick-link img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.quick-item strong {
    display: block;
    color: var(--blue);
    font-size: 20px;
    line-height: 1.1;
    font-weight: 800;
}

.quick-item span,
.quick-link span {
    display: block;
    margin-top: 5px;
    color: #111;
    font-size: 14px;
    font-weight: 700;
}

.quick-link span {
    margin-top: 0;
}


/* ==========================================================================
   07. Main Content
   ========================================================================== */

.content-section {
    margin-top: 14px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 14px;
}

.service-box,
.notice-box {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.section-title {
    margin-bottom: 12px;
}

.section-title h3 {
    color: #001b56;
    font-size: 17px;
    font-weight: 800;
}

.notice-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notice-title a {
    color: #16275b;
    font-size: 13px;
    font-weight: 700;
}


/* ==========================================================================
   08. Service Cards
   ========================================================================== */

.service-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.service-card {
    min-height: 154px;
    padding: 20px 10px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-align: center;
}

.service-card img {
    width: 54px;
    height: 54px;
    margin-bottom: 13px;
    object-fit: contain;
}

.service-card h4 {
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 15px;
    font-weight: 800;
}

.service-card p {
    color: #222;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 500;
    letter-spacing: -0.4px;
}


/* ==========================================================================
   09. Main Notice List
   ========================================================================== */

.notice-list li {
    height: 30px;
    border-bottom: 1px solid #e6e9f1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
}

.notice-list li:last-child {
    border-bottom: 0;
}

.notice-list a {
    position: relative;
    flex: 1;
    padding-left: 12px;
    overflow: hidden;
    color: #1c2a50;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-list a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--blue);
    transform: translateY(-50%);
}

.notice-list span {
    color: #1c2a50;
    font-weight: 500;
    white-space: nowrap;
}


/* ==========================================================================
   10. CTA
   ========================================================================== */

.cta-section {
    margin-top: 16px;
    margin-bottom: 22px;
}

.cta-box {
    min-height: 90px;
    padding: 0 225px 0 230px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #f4f8ff, #edf4ff);
}

.cta-text {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cta-text img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.cta-text h3 {
    color: #111;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.cta-text p {
    margin-top: 4px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

.cta-btn {
    width: 260px;
    height: 50px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    background: linear-gradient(135deg, #0045e8, #002aa5);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 8px 15px rgba(0, 43, 160, 0.18);
}

.cta-btn span {
    font-size: 28px;
    line-height: 1;
}


/* ==========================================================================
   11. Shared Components - Pagination
   ========================================================================== */

.dy-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.dy-pagination a,
.dy-pagination span {
    box-sizing: border-box;
    text-decoration: none;
}

.dy-page-num,
.dy-page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #d7e4ff;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #4b5563;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    transition: 0.18s ease;
}

.dy-page-num:hover,
.dy-page-btn:hover {
    border-color: #0047ff;
    background: #f3f7ff;
    color: #0047ff;
}

.dy-page-num.is-active {
    border-color: #0047ff;
    background: #0047ff;
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 71, 255, 0.18);
}

.dy-page-btn {
    min-width: 58px;
    color: #0047ff;
}

.dy-page-btn.is-disabled {
    border-color: #e5ecf8;
    background: #f8fafc;
    color: #b6c2d2;
    cursor: default;
    pointer-events: none;
}


/* ==========================================================================
   12. Shared Components - Search Clear Button
   ========================================================================== */

.dy-search-input-wrap {
    position: relative;
    width: 240px;
}

.dy-search-input-wrap input {
    width: 100%;
    padding-right: 42px;
}

.dy-search-clear {
    position: absolute;
    right: 11px;
    top: 50%;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
    color: #6b7280;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transform: translateY(-50%);
    transition: 0.18s ease;
}

.dy-search-clear:hover {
    background: #0047ff;
    color: #fff;
}


/* ==========================================================================
   13. Footer
   ========================================================================== */

.site-footer {
    background: linear-gradient(135deg, #0042b5 0%, #002f91 55%, #003aa8 100%);
    color: #fff;
}

.footer-inner {
    padding-top: 20px;
}

.footer-top {
    min-height: 145px;
    display: flex;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 20px;
}

.footer-company {
    display: flex;
    gap: 28px;
}

.footer-logo img {
    width: 92px;
}

.footer-info strong {
    display: block;
    margin-bottom: 12px;
    font-size: 16px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    line-height: 1.8;
}

.footer-menu {
    display: grid;
    grid-template-columns: repeat(3, 150px);
    gap: 42px;
    padding-right: 95px;
}

.footer-menu h4 {
    margin-bottom: 12px;
    font-size: 15px;
}

.footer-menu li + li {
    margin-top: 8px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.footer-bottom {
    height: 66px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p,
.footer-policy a,
.footer-policy span {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
}

.footer-policy {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-right: 150px;
}


/* ==========================================================================
   14. States / Hover
   ========================================================================== */

.gnb a:hover,
.notice-list a:hover,
.footer-menu a:hover,
.footer-policy a:hover {
    color: var(--blue);
}

.site-footer .footer-menu a:hover,
.site-footer .footer-policy a:hover {
    color: #fff;
    text-decoration: underline;
}

.btn-login:hover,
.btn-consult:hover,
.cta-btn:hover,
.quick-link:hover {
    opacity: 0.88;
}


/* ==========================================================================
   15. Responsive
   ========================================================================== */

@media (max-width: 1480px) {
    .main-inner,
    .header-inner,
    .footer-inner {
        max-width: calc(100% - 80px);
    }

    .cta-box {
        padding-left: 120px;
        padding-right: 120px;
    }

    .footer-menu,
    .footer-policy {
        padding-right: 20px;
    }
}

@media (max-width: 1200px) {
    .gnb ul {
        gap: 36px;
    }

    .visual-inner {
        grid-template-columns: 420px 1fr;
    }

    .visual-text h2 {
        font-size: 31px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 24px 40px;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
        padding-bottom: 30px;
    }

    .footer-menu {
        padding-right: 0;
    }
}

@media (max-width: 900px) {
    .site-header {
        height: auto;
    }

    .header-inner {
        max-width: calc(100% - 32px);
        height: auto;
        padding: 18px 0;
        flex-wrap: wrap;
        gap: 16px;
    }

    .gnb {
        position: static;
        width: 100%;
        order: 3;
        overflow-x: auto;
        transform: none;
    }

    .gnb ul {
        min-width: max-content;
        height: 44px;
        gap: 26px;
    }

    .gnb a {
        font-size: 15px;
    }

    .gnb a.on::after {
        width: 42px;
    }

    .main-inner,
    .footer-inner {
        max-width: calc(100% - 32px);
    }

    .main-visual {
        min-height: auto;
    }

    .visual-inner {
        display: block;
        padding-top: 40px;
    }

    .visual-text h2 {
        font-size: 28px;
    }

    .visual-text p {
        font-size: 15px;
    }

    .visual-image {
        height: auto;
        margin-top: 30px;
    }

    .visual-image img {
        width: 100%;
        height: auto;
    }

    .quick-box {
        height: auto;
        grid-template-columns: repeat(2, 1fr);
        padding: 18px 0;
    }

    .quick-item,
    .quick-link {
        height: 72px;
    }

    .quick-item::after,
    .quick-link::after {
        display: none;
    }

    .service-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-box {
        display: block;
        text-align: center;
    }

    .cta-text {
        justify-content: center;
        align-items: center;
    }

    .cta-btn {
        margin: 20px auto 0;
    }

    .footer-company {
        display: block;
    }

    .footer-logo {
        margin-bottom: 18px;
    }

    .footer-menu {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .footer-bottom {
        height: auto;
        padding: 20px 0;
        display: block;
    }

    .footer-policy {
        margin-top: 12px;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .dy-pagination {
        gap: 6px;
        margin-top: 24px;
    }

    .dy-page-num,
    .dy-page-btn {
        min-width: 34px;
        height: 34px;
        padding: 0 10px;
        border-radius: 9px;
        font-size: 13px;
    }

    .dy-page-btn {
        min-width: 48px;
    }

    .dy-page-first,
    .dy-page-last {
        display: none;
    }

    .dy-search-input-wrap {
        flex: 1;
        width: auto;
    }

    .dy-search-clear {
        right: 10px;
    }
}

@media (max-width: 560px) {
    .header-util {
        margin-left: auto;
    }

    .header-util a {
        min-width: auto;
        height: 34px;
        padding: 0 12px;
        font-size: 13px;
    }

    .visual-text h2 {
        font-size: 24px;
    }

    .visual-text h2 br {
        display: none;
    }

    .quick-box {
        grid-template-columns: 1fr;
    }

    .quick-item,
    .quick-link {
        justify-content: flex-start;
        padding-left: 40px;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .notice-list li {
        height: auto;
        padding: 10px 0;
        display: block;
    }

    .notice-list span {
        display: block;
        margin-top: 4px;
        padding-left: 12px;
        font-size: 12px;
    }

    .cta-text {
        display: block;
    }

    .cta-text img {
        margin-bottom: 10px;
    }

    .cta-text h3 {
        font-size: 17px;
    }

    .cta-btn {
        width: 100%;
    }

    .footer-menu {
        grid-template-columns: 1fr;
    }
}
