body {
    background: #f3f3f3;
}

/*------------------- login -------------------*/

.member-con {
    --input-h: 60px;
    position: relative;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 80%;
}

.member-title {
    text-align: center;
    margin-bottom: 40px;
}

.member-title h3 {
    font-size: var(--text-3xl);
    line-height: 1.2;
    text-align: center;
    margin-bottom: 10px;
}

.member-title p {
    color: #999;
}

.member-tit {
    font-size: 14px;
    color: #666;
}

.member-copy {
    opacity: 0.5;
    font-size: var(--text-xs);
}

.login-content {
    width: 100%;
}

.login-input {
    margin: 10px 0
}


.login-form-con .login-input>div {
    margin-bottom: 10px;
}

.login-input input,
.input-wrap textarea,
.input-wrap input,
.input-wrap select {
    width: 100%;
    height: var(--input-h);
    padding: 0 12px;
    border-radius: var(--radius-8);
    font-size: inherit;
    border: 1px solid #ddd;
}

.input-wrap textarea:focus,
.login-input input:focus,
.input-wrap input:focus,
.input-wrap select:focus {
    border-color: var(--primary);
}

.input-wrap select {
    color: #000;
}

.login-btn {
    gap: 10px;
    margin-top: 40px;
    justify-content: center;
}

.login-btn button {
    flex: 1;
    height: var(--input-h);
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-8);
    font-weight: 700;
    font-size: var(--text-xl);
    transition: 0.3s;
    width: 100%;
}

.login-option {
    font-size: var(--text-xs);
    margin: 20px 0 60px 0;

}

.check-item {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    user-select: none;
}

.check-item input[type="checkbox"] {
    display: none;
}

.check-item .checkbox-custom {
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    background: white;
}

.check-item input[type="checkbox"]:checked+.checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.check-item .checkbox-custom::after {
    content: '\2713';
    color: white;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s;
}

.check-item input[type="checkbox"]:checked+.checkbox-custom::after {
    opacity: 1;
    transform: scale(1);
}

.check-item:hover .checkbox-custom {
    border-color: rgb(var(--primary-rgb)/50%);
}

.login-pw {
    position: relative;
}

.login-pw #eye {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    cursor: pointer;
}

.login-pw .fa,
.login-pw .fas {
    font-weight: 300 !important;
    font-size: var(--txt-s);
    cursor: pointer;
}

.login-pw input {
    padding-right: 45px;
    margin-bottom: 0 !important;
}

.find-hp {
    color: #ccc;
    padding: 0 6px;
}

.find-link a:hover {
    opacity: 0.8;
}


.form-exp {
    font-size: 0.8rem;
    margin: 4px 0 0 0;
    color: #999;

}

.agree-box-wrap {
    background: #f2f3f6;
    padding: 28px;
    border-radius: 12px;
}

.agree-box {
    width: 100%;
    height: 80px;
    overflow-x: auto;
    font-size: 0.85rem;
    color: #666;
    padding: 12px 16px;
    border-radius: var(--radius-xs);
    background: #fff;
    border: 1px solid #ddd;

}

.agree-box::-webkit-scrollbar {
    width: 7px;
}

.agree-box::-webkit-scrollbar-thumb {
    height: 30%;
    background: rgb(0 0 0/20%);
    border-radius: 10px;
}

.agree-box::-webkit-scrollbar-track {
    background: none;
}

.agree_check {
    font-size: var(--text-xs);
    margin-top: 4px;
}

.join-step1 .agree_check {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: end;
    ;
}

.join-btn {
    margin-top: 20px;
    font-size: var(--text-xs);
    color: rgb(255 255 255 / 70%);
}

.join-tit {
    margin-top: 8px;
    font-weight: 500;
}

.join-tit span {
    color: var(--primary);
}

/*------------------- header -------------------*/
.content-wrap {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 0 50px rgba(0, 0, 0, .12);
    background: #f2f3f6;
    min-height: 100vh;
}

header {
    position: sticky;
    z-index: 98;
    width: 100%;
    height: var(--header-h);
    margin: 0 auto;
    top: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.logo-wrap {
    width: 100%;
    height: 100%;
}

.nav-wrap {
    height: 100%;
    padding: 0 var(--side-space);
    width: 100%;
    box-sizing: border-box;
    z-index: 20;
    position: absolute;
    top: 0;
    left: 0;
}

.logo {
    width: 260px;
}

.logo a {
    display: block;
    width: 100%;
    height: 100%;
    font-weight: 800;
    font-size: 19px;
}


/*------------------- mobile menu -------------------*/
.burger_box {
    z-index: 111;
    width: var(--header-h);
    height: var(--header-h);
    position: relative;
}

.sidenav {
    --sd-space: 30px;
    display: none;
    background: #f2f3f6;
    position: sticky;
    z-index: 11;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    padding-top: var(--header-h);
}

body.menuOpen {
    height: 100vh;
    overflow: hidden;
}

.menuOpen .sidenav {
    display: block;
}

.menu-icon-container {
    width: 100%;
    height: 100%;
}

.menu-icon {
    opacity: 1;
    z-index: 100;
    color: #000;
    font-size: 1.3rem;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-align: center;
}

.menu-icon_box {
    display: block;
    --ham-width: 20px;
    width: var(--ham-width);
    height: calc(var(--ham-width) - 6px);
    right: 0;
    margin-top: -5px;
}

.menu-text {
    position: absolute;
    bottom: 7px;
    font-size: 14px;
    width: 24px;
    text-align: center;
    right: -2px;
    letter-spacing: -0.1rem;
}

.menu-icon_line {
    background: #000;
    display: inline-block;
    height: 2px;
    position: absolute;
    left: 0;
    width: 100%;

    &.menu-icon_line--1 {
        top: 0;
    }

    &.menu-icon_line--2 {
        top: 50%;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    &.menu-icon_line--3 {
        bottom: 0;
    }
}

.menu-icon.opened .menu-icon_box {
    transform: scale3d(0.9, 0.9, 0.9);
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    margin-top: calc(var(--ham-width)/1 * -1);
    margin-left: calc(var(--ham-width)/2 * -1);
}

.menu-icon.opened .menu-icon_line {
    top: 15px;

    &.menu-icon_line--1 {
        transform: rotate3d(0, 0, 1, 45deg);
        -webkit-transform: rotate3d(0, 0, 1, 45deg);
    }

    &.menu-icon_line--2 {
        opacity: 0;
    }

    &.menu-icon_line--3 {
        transform: rotate3d(0, 0, 1, -45deg);
        -webkit-transform: rotate3d(0, 0, 1, -45deg);
    }
}

.side_menu {
    height: 100%;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.sd-menu-con {
    position: absolute;
    height: calc(100% - var(--header-h));
    width: 100%;
    overflow-y: auto;
}


/*모바일 1차메뉴*/
.sd-menu-wrap {
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 0 20px;
    max-height: 100%;
}


.sd-menu-w {
    width: 100%;
    padding: 24px 0;
}

.sd-menu-list {
    position: relative;
    cursor: pointer;
}

.sd-menu-list> :is(a, span) {
    font-size: 18px;
    font-weight: 700;
    margin-top: var(--sd-space);
    display: block;
    color: var(--gray1);
    margin-bottom: 5px;
}

.sd-menu-list:last-child> :is(a, span) {
    padding-bottom: 0;
}


.sd-menu-list:last-child.on:before {
    height: 100% !important;
}


/*모바일 2차메뉴*/
.sd-smenu {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: var(--radius-8);
    padding: 0 20px;
    box-shadow: var(--shadow1);
}

.sd-smenu li {
    font-size: 1.5rem;
    position: relative;
    text-align: left;
    border-bottom: 1px dashed #ddd;
}

.sd-smenu li a {
    font-weight: 700 !important;
    padding: 16px 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.sd-smenu li a span {
    height: 32px;
    display: flex;
    align-items: center;
    font-weight: 300;
    color: var(--gray2);
    font-size: 20px;
}

.sd-smenu li a::after {
    font-family: remixicon !important;
    content: "\ea6e";
    font-weight: 100;
    position: absolute;
    right: 0;
    opacity: 0.2;
}

.sd-smenu li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}



.sd-account>a {
    background: linear-gradient(270deg, rgba(46, 125, 50, 1) 0%, rgb(33 95 48) 100%);
    gap: 12px;
    padding: 20px;
    border-radius: var(--radius-8);
}

.account-img {
    width: 40px;
    height: 40px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.account-info {
    flex: 1;
    color: #fff;
}

.account-info p {
    font-size: 24px;
    font-weight: 600;
}

.account-info div {
    background: rgb(0 0 0 / 40%);
    border-radius: 40px;
    padding: 4px 8px 4px 12px;
    font-size: var(--text-base)
}

.btn-logout {
    margin-top: var(--sd-space);
    border: 1px solid;
    width: 100%;
    padding: 20px;
    text-align: center;
    font-size: 1.15rem;
    border-radius: var(--radius-8)
}

/*------------------- footer -------------------*/
footer {
    background: #131313;
    padding: 40px 5%;
    text-align: center;
    color: #fff;
    margin-top: calc(var(--con-gap) * 2);
}

footer p {
    opacity: 0.5;
    font-size: 12px;
    margin-top: 10px;
}


/*------------------- 공통 -------------------*/
.con {
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--side-space)
}

.con h2,
h2.con {
    font-size: var(--text-lg);
    margin-bottom: 8px;
    color: var(--gray1);
}

.main-con-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: var(--con-gap);
}

/*------------------- 메인 -------------------*/
.main-visual-wrap {
    width: 100%;
}

.main-visual {
    position: relative;
    overflow: hidden;
    background: url(../images/main/main_visual.jpg) no-repeat center/cover;
    border-radius: var(--radius-12);
    height: 0;
    padding-bottom: 48%;
}


/*---------------- 날씨 정보 ----------------*/
.weather-widget {
    background: #fff;
    border-radius: var(--radius-12);
    padding: 24px;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: var(--con-gap);
    box-shadow: var(--shadow1);
}

.weather-widget:before {
    content: '';
    position: absolute;
    filter: blur(2rem);
    -webkit-filter: blur(2rem);
    border-radius: 50%;
    top: -50%;
    left: 5%;
    width: 10rem;
    height: 10rem;
    background-color: var(--weather-bg);
    animation: pulseGradient2 8s infinite alternate ease-in-out;
    opacity: 0.2;
}


.main-weather {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.temperature-section {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.temp-high {
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
}

.temp-low {
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
}

.weather-icon-large {
    font-size: 80px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    line-height: 1;
}

.weather-icon-large img {
    width: 80px
}

.weather-details {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 12px;
}

.wt-detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #777;
}

.wt-detail-icon {
    font-size: 16px;
}

.weather-date {
    font-size: 14px;
    margin-bottom: 10px;
}

/* 공지사항 */
.main-board-wrap {
    width: 100%;
}

.main-board-list .swiper-slide {
    height: auto !important;
}

.main-board-list .swiper {
    padding: 0 20px;
}

.main-board-list a {
    display: flex;
    background: #fff;
    border-radius: var(--radius-12);
    padding: 24px;
    box-shadow: var(--shadow1);
    height: 100%;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
}


.main-board-list p {
    font-size: var(--text-xl);
    font-weight: 700;
}

.m-bd-writer {
    display: block;
    margin-top: 40px;
}

.m-bd-date {
    margin-bottom: 4px;
    display: block;
    color: var(--gray2);
}

.more-btn {
    border: 1px solid #333;
    width: 100%;
    padding: 16px;
    margin-top: var(--side-space);
    font-size: var(--text-base);
    border-radius: var(--radius-4);
}

.tab {
    gap: 2px;
    margin-bottom: 12px;
}

.tab div {
    border-radius: 4px;
    color: rgb(0 0 0 / 44%);
    flex: 1;
    background: rgb(0 0 0 / 12%);
    padding: 7px 4px;
    text-align: center;
}

.tab div.on {
    color: #fff;
    background: #333;
    font-weight: 700;
}



/* 우리마을 */
.main-gal-img {
    background: var(--m-gal-bg) #ddd no-repeat center/200%;
    width: 100px;
    height: 100px;
    border-radius: var(--radius-8);
}

.main-gallery {
    background: #fff;
    padding: 24px;
    border-radius: var(--radius-12);
    box-shadow: var(--shadow1);
}

.main-gallery-list {
    gap: 20px;
    margin-top: 20px;
}

.main-gallery-list li {
    width: 100%;
}

.main-gallery-list a {
    display: flex;
    gap: 16px;
    align-items: center;
}

.main-gal {
    flex: 1;
    padding-right: 20px;
}

.m-gal-rg {
    color: #fff;
    background: rgb(var(--primary-rgb)/100%);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: var(--text-sm);
}

.m-gal-tit {
    font-size: var(--text-xl);
    color: #000;
    font-weight: 700;
    margin-top: 2px;
}

.m-gal-date {
    font-size: var(--text-xs);
    color: var(--gray2);
    margin-top: 4px;
}

.main-gallery h2 span {
    float: right;
    font-size: var(--text-sm);
    font-weight: 300;
}