@charset "utf-8";

.main-page {
    overflow:hidden;
    color:#222;
}

.main-inner {
    width:calc(100% - 80px);
    max-width:1440px;
    margin:0 auto;
}

/* =========================================================
   HERO
========================================================= */

.main-hero {
    position:relative;
    background:#eef4f2;
}

.main-hero-swiper {
    position:relative;
    width:100%;
}

.main-hero-swiper .swiper-slide a {
    display:block;
}

.main-hero-swiper .swiper-slide img {
    display:block;
    width:100%;
    height:auto;
    min-height:420px;
    max-height:650px;
    object-fit:cover;
    object-position:center;
}

.main-hero-nav {
    position:absolute;
    top:50%;
    z-index:10;
    width:54px;
    height:54px;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.5);
    border-radius:50%;
    background:rgba(40,40,40,.25);
    color:#fff;
    cursor:pointer;
    transform:translateY(-50%);
}

.main-hero-prev {
    left:32px;
}

.main-hero-next {
    right:32px;
}

.main-hero-nav svg {
    width:26px;
    height:26px;
}

.main-hero-pagination {
    position:absolute;
    z-index:10;
    left:50% !important;
    bottom:24px !important;
    width:auto !important;
    transform:translateX(-50%);
}

.main-hero-pagination .swiper-pagination-bullet {
    width:9px;
    height:9px;
    margin:0 5px !important;
    background:#fff;
    opacity:.65;
}

.main-hero-pagination .swiper-pagination-bullet-active {
    width:25px;
    border-radius:20px;
    background:#b39f6c;
    opacity:1;
}

.main-hero-toggle {
    position:absolute;
    z-index:11;
    left:calc(50% + 72px);
    bottom:17px;
    width:32px;
    height:32px;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.75);
    border-radius:50%;
    background:rgba(40,40,40,.32);
    color:#fff;
    cursor:pointer;
}

.main-hero-toggle svg {
    width:14px;
    height:14px;
}

.main-hero-nav:focus-visible,
.main-hero-toggle:focus-visible {
    outline:3px solid #fff;
    outline-offset:3px;
}

/* =========================================================
   QUICK
========================================================= */

.main-quick {
    position:relative;
    z-index:20;
    margin-top:-48px;
}

.main-quick-list {
    margin:0;
    padding:0;
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    border-radius:24px;
    background:#fff;
    box-shadow:0 20px 60px rgba(52,45,29,.1);
    list-style:none;
    overflow:hidden;
}

.main-quick-list li+li {
    border-left:1px solid #eeeae1;
}

.main-quick-list a {
    position:relative;
    min-height:170px;
    padding:27px 18px 22px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    color:#333;
    text-align:center;
    text-decoration:none;
    box-sizing:border-box;
    transition:background .25s ease;
}

.main-quick-list a:hover,
.main-quick-list a:focus-visible {
    background:#f8f5ed;
}

.main-quick-icon {
    width:66px;
    height:66px;
    margin-bottom:13px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.main-quick-icon img {
    display:block;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}

.main-quick-list strong {
    font-size:17px;
    line-height:1.45;
    font-weight:700;
    letter-spacing:-.035em;
}

.main-quick-list a>svg {
    position:absolute;
    top:18px;
    right:18px;
    width:17px;
    height:17px;
    color:#a59672;
    opacity:0;
    transition:opacity .2s ease;
}

.main-quick-list a:hover>svg,
.main-quick-list a:focus-visible>svg {
    opacity:1;
}

/* =========================================================
   COMMON HEADING
========================================================= */

.main-section-heading {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:40px;
    margin-bottom:34px;
}

.main-section-heading>div>span,
.main-gallery-title>span,
.main-partner-title>span {
    display:block;
    margin-bottom:5px;
    color:#9d8959;
    font-size:14px;
    font-weight:700;
    letter-spacing:.14em;
}

.main-section-heading h2,
.main-gallery-title h2 {
    margin:0;
    color:#222;
    font-size:36px;
    line-height:1.35;
    font-weight:700;
    letter-spacing:-.055em;
}

.main-section-heading>p {
    margin:0;
    color:#666;
    font-size:17px;
    line-height:1.75;
    text-align:right;
}

/* =========================================================
   SERVICE
========================================================= */

.main-service {
    padding:110px 0 100px;
}

.main-service-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
}

.main-service-card {
    position:relative;
    min-height:310px;
    padding:42px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    border:1px solid #e8e4da;
    border-radius:24px;
    background:#fff;
    color:#222;
    text-decoration:none;
    overflow:hidden;
    box-sizing:border-box;
    transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}

.main-service-card:hover,
.main-service-card:focus-visible {
    border-color:#cfc2a0;
    box-shadow:0 20px 48px rgba(70,57,30,.08);
    transform:translateY(-5px);
}

.main-service-number {
    position:absolute;
    top:29px;
    right:34px;
    color:#ede8db;
    font-size:76px;
    line-height:1;
    font-weight:700;
}

.main-service-icon {
    width:70px;
    height:70px;
    margin-bottom:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:20px;
    background:#f4f0e6;
    color:#8e7a4b;
}

.main-service-icon svg {
    width:32px;
    height:32px;
}

.main-service-content {
    position:relative;
    z-index:2;
    padding-right:60px;
}

.main-service-content>span {
    display:block;
    margin-bottom:5px;
    color:#9d8959;
    font-size:12px;
    font-weight:700;
    letter-spacing:.12em;
}

.main-service-content h3 {
    margin:0 0 12px;
    font-size:26px;
    line-height:1.4;
}

.main-service-content p {
    margin:0;
    color:#666;
    font-size:16px;
    line-height:1.7;
}

.main-service-arrow {
    position:absolute;
    right:34px;
    bottom:35px;
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#faf8f2;
    color:#8e7a4b;
}

/* =========================================================
   BOARD
========================================================= */

.main-board {
    padding:90px 0;
    background:#faf9f6;
}

.main-board-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:60px;
}

.main-board-heading {
    padding-bottom:20px;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    border-bottom:2px solid #333;
}

.main-board-heading span {
    display:block;
    margin-bottom:4px;
    color:#9d8959;
    font-size:12px;
    font-weight:700;
    letter-spacing:.12em;
}

.main-board-heading h2 {
    margin:0;
    font-size:27px;
    line-height:1.4;
}

.main-board-heading>a {
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #d8d2c5;
    border-radius:50%;
    color:#555;
    text-decoration:none;
}

.main-board-heading>a:hover,
.main-board-heading>a:focus-visible {
    border-color:#9d8959;
    background:#9d8959;
    color:#fff;
}

/* 기존 latest 스킨 하단 더보기 제거 */
.main-latest>.more,
.main-latest>.lt_more,
.main-latest>.latest-more,
.main-latest>a {
    display:none !important;
}

.main-latest ul {
    margin:0;
    padding:10px 0 0;
    list-style:none;
}

.main-latest ul li {
    min-height:58px;
    margin:0 !important;
    display:grid;
    grid-template-columns:minmax(0,1fr) 96px;
    align-items:center;
    gap:16px;
    border-bottom:1px solid #e8e4da;
    font-size:16px !important;
    line-height:1.5 !important;
}

.main-latest ul li a {
    position:relative;
    min-width:0;
    width:auto !important;
    padding:0 0 0 14px !important;
    float:none !important;
    color:#555 !important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.main-latest ul li a:before {
    position:absolute;
    top:50%;
    left:0;
    width:4px;
    height:4px;
    border-radius:50%;
    background:#9d8959;
    content:"";
    transform:translateY(-50%);
}

.main-latest ul li span.date {
    width:96px !important;
    margin:0 !important;
    float:none !important;
    color:#888;
    font-size:14px;
    line-height:1;
    text-align:right;
    white-space:nowrap;
    font-variant-numeric:tabular-nums;
    font-feature-settings:"tnum";
}

/* =========================================================
   TOGETHER
========================================================= */

.main-together {
    padding:105px 0;
}

.main-together-box {
    position:relative;
    min-height:390px;
    padding:60px 70px;
    display:flex;
    align-items:center;
    border-radius:28px;
    background:#f6f2e8;
    overflow:hidden;
    box-sizing:border-box;
}

.main-together-box:before {
    position:absolute;
    top:-150px;
    right:-100px;
    width:430px;
    height:430px;
    border:1px solid rgba(179,159,108,.16);
    border-radius:50%;
    content:"";
}

.main-together-copy {
    position:relative;
    z-index:3;
    width:52%;
}

.main-together-copy>span {
    display:block;
    margin-bottom:9px;
    color:#9d8959;
    font-size:14px;
    font-weight:700;
    letter-spacing:.14em;
}

.main-together-copy h2 {
    margin:0;
    color:#332f27;
    font-size:42px;
    line-height:1.35;
}

.main-together-copy p {
    margin:15px 0 0;
    color:#70695d;
    font-size:18px;
}

.main-together-buttons {
    margin-top:28px;
    display:flex;
    gap:10px;
}

.main-together-buttons a {
    min-width:150px;
    height:54px;
    padding:0 22px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:1px solid #cfc3a5;
    border-radius:10px;
    background:#fff;
    color:#554a32;
    font-size:16px;
    font-weight:700;
    text-decoration:none;
}

.main-together-buttons a:first-child {
    border-color:#9d8959;
    background:#9d8959;
    color:#fff;
}

.main-together-image {
    position:absolute;
    z-index:2;
    right:45px;
    bottom:0;
    width:47%;
    height:360px;
    display:flex;
    align-items:flex-end;
    justify-content:center;
}

.main-together-image img {
    display:block;
    width:auto;
    max-width:100%;
    max-height:350px;
    object-fit:contain;
    object-position:center bottom;
}

/* =========================================================
   COMMON SLIDER CONTROLS
========================================================= */

.main-slider-controls {
    display:flex;
    align-items:center;
    gap:7px;
}

.main-control-btn {
    width:40px;
    height:40px;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #dcd5c7;
    border-radius:50%;
    background:#fff;
    color:#555;
    cursor:pointer;
    transition:background .2s ease,border-color .2s ease,color .2s ease;
}

.main-control-btn:hover,
.main-control-btn:focus-visible {
    border-color:#9d8959;
    background:#9d8959;
    color:#fff;
}

.main-control-btn svg {
    width:19px;
    height:19px;
}

.main-control-btn.swiper-button-disabled {
    opacity:.35;
    cursor:default;
}

.main-control-btn:focus-visible {
    outline:3px solid rgba(157,137,89,.25);
    outline-offset:3px;
}

/* =========================================================
   GALLERY
========================================================= */

.main-gallery {
    padding:110px 0 100px;
    background:linear-gradient(
        180deg,
        #fff 0%,
        #fff 22%,
        #fdfbf7 58%,
        #faf8f2 100%
    );
}

.main-gallery-heading {
    margin-bottom:34px;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:40px;
}

.main-gallery-heading-side {
    display:flex;
    align-items:center;
    gap:18px;
}

.main-gallery-heading-side p {
    margin:0;
    color:#666;
    font-size:17px;
}

.main-more {
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:#333;
    font-size:15px;
    font-weight:700;
    text-decoration:none;
}

.main-more svg {
    width:18px;
    height:18px;
}

.main-gallery-swiper {
    width:100%;
    overflow:hidden;
}

.main-gallery-list {
    margin:0;
    padding:0;
    list-style:none;
}

.main-gallery-list .swiper-slide {
    height:auto;
}

.main-gallery-list a {
    display:block;
    color:#222;
    text-decoration:none;
}

.main-gallery-thumb {
    position:relative;
    aspect-ratio:520 / 340;
    border-radius:18px;
    background:#eee;
    overflow:hidden;
}

.main-gallery-thumb img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .5s ease;
}

.main-gallery-list a:hover .main-gallery-thumb img,
.main-gallery-list a:focus-visible .main-gallery-thumb img {
    transform:scale(1.04);
}

.main-gallery-list strong {
    display:block;
    margin-top:15px;
    color:#222;
    font-size:18px;
    line-height:1.55;
    font-weight:700;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.main-gallery-arrow {
    position:absolute;
    right:16px;
    bottom:16px;
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,.95);
    color:#6d6040;
    opacity:0;
    transition:opacity .2s ease;
}

.main-gallery-list a:hover .main-gallery-arrow,
.main-gallery-list a:focus-visible .main-gallery-arrow {
    opacity:1;
}

.main-gallery-noimage {
    width:100%;
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:9px;
    color:#888;
}

.main-gallery-empty {
    margin:0;
    padding:60px 20px;
    border:1px solid #e8e4da;
    border-radius:18px;
    color:#777;
    text-align:center;
}

/* =========================================================
   PARTNER
========================================================= */

.main-partner {
    padding:30px 0;
    border-top:1px solid #ece8df;
    background:#fff;
}

.main-partner-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    margin-bottom:15px;
}

.main-partner-title>span {
    font-size:11px;
}

.main-partner-title h2 {
    margin:0;
    color:#333;
    font-size:20px;
    line-height:1.4;
}

.main-partner-swiper {
    width:100%;
    overflow:hidden;
}

.main-partner-list {
    margin:0;
    padding:0;
    list-style:none;
    align-items:center;
}

.main-partner-list .swiper-slide {
    height:66px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.main-partner-list a {
    width:100%;
    height:100%;
    padding:5px 10px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
}

.main-partner-list img {
    display:block;
    width:auto;
    max-width:100%;
    max-height:48px;
    object-fit:contain;
    filter:grayscale(.2);
    opacity:.82;
    transition:filter .2s ease,opacity .2s ease;
}

.main-partner-list a:hover img,
.main-partner-list a:focus-visible img {
    filter:grayscale(0);
    opacity:1;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width:1024px) {
    .main-inner {
        width:calc(100% - 48px);
    }

    .main-hero-swiper .swiper-slide img {
        min-height:360px;
    }

    .main-quick {
        margin-top:-30px;
    }

    .main-quick-list a {
        min-height:145px;
        padding:20px 10px;
    }

    .main-quick-icon {
        width:54px;
        height:54px;
    }

    .main-quick-list strong {
        font-size:15px;
    }

    .main-service {
        padding:85px 0;
    }

    .main-board-grid {
        gap:38px;
    }

    .main-together-box {
        min-height:340px;
        padding:48px;
    }

    .main-together-copy h2 {
        font-size:36px;
    }

    .main-together-image {
        right:20px;
        width:48%;
        height:315px;
    }

    .main-together-image img {
        max-height:305px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width:700px) {
    .main-inner {
        width:calc(100% - 36px);
    }

    .main-hero-swiper .swiper-slide img {
        width:100%;
        height:250px;
        min-height:250px;
        object-fit:cover;
    }

    .main-hero-nav {
        display:none;
    }

    .main-hero-pagination {
        bottom:14px !important;
    }

    .main-hero-toggle {
        left:auto;
        right:15px;
        bottom:9px;
    }

    .main-quick {
        margin-top:0;
        padding-top:22px;
    }

    .main-quick-list {
        grid-template-columns:repeat(2,minmax(0,1fr));
        border:1px solid #ebe7dd;
        border-radius:18px;
        box-shadow:none;
    }

    .main-quick-list li+li {
        border-left:0;
    }

    .main-quick-list li:nth-child(even) {
        border-left:1px solid #eeeae1;
    }

    .main-quick-list li:nth-child(n+3) {
        border-top:1px solid #eeeae1;
    }

    .main-quick-list li:last-child {
        grid-column:1 / -1;
    }

    .main-quick-list a {
        min-height:126px;
        padding:18px 10px;
    }

    .main-section-heading {
        display:block;
    }

    .main-section-heading h2,
    .main-gallery-title h2 {
        font-size:29px;
    }

    .main-section-heading>p {
        margin-top:12px;
        text-align:left;
    }

    .main-service {
        padding:70px 0;
    }

    .main-service-grid {
        grid-template-columns:1fr;
    }

    .main-service-card {
        min-height:250px;
        padding:28px 24px;
    }

    .main-board {
        padding:65px 0;
    }

    .main-board-grid {
        grid-template-columns:1fr;
        gap:52px;
    }

    .main-latest ul li {
        grid-template-columns:1fr;
    }

    .main-latest ul li span.date {
        display:none;
    }

    .main-together {
        padding:70px 0;
    }

    .main-together-box {
        min-height:auto;
        padding:32px 24px 0;
        display:block;
    }

    .main-together-copy {
        width:100%;
    }

    .main-together-copy h2 {
        font-size:31px;
    }

    .main-together-buttons {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .main-together-buttons a {
        min-width:0;
        padding:0 10px;
        font-size:14px;
    }

    .main-together-image {
        position:relative;
        right:auto;
        width:100%;
        height:210px;
        margin-top:20px;
    }

    .main-together-image img {
        max-height:210px;
    }

    .main-gallery {
        padding:70px 0;
    }

    .main-gallery-heading {
        display:block;
    }

    .main-gallery-heading-side {
        margin-top:15px;
        flex-wrap:wrap;
    }

    .main-gallery-heading-side p {
        width:100%;
        font-size:15px;
    }

    .main-slider-controls {
        gap:6px;
    }

    .main-control-btn {
        width:38px;
        height:38px;
    }

    .main-partner {
        padding:26px 0;
    }

    .main-partner-head {
        margin-bottom:12px;
    }

    .main-partner-title h2 {
        font-size:18px;
    }

    .main-partner-list .swiper-slide {
        height:58px;
    }

    .main-partner-list img {
        max-height:42px;
    }
}

/* =========================================================
   Reduced Motion
========================================================= */

@media (prefers-reduced-motion:reduce) {
    .main-service-card,
    .main-gallery-thumb img,
    .main-partner-list img {
        transition:none !important;
    }
}