@charset "UTF-8";

/* 기본 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    width: 100%;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 메인 슬라이더 */
.main-slider {
    width: 100%;
    height: calc(100vh - 60px);
    overflow: hidden;
}

.swiper-wrapper {
    height: 100vh;
    width: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.slide-1 {
    background: url(/img/main/main_01.webp) no-repeat center;
    background-size: cover;
}

.slide-2 {
    background: url(/img/main/main_02.webp) no-repeat center;
    background-size: cover;
}

.slide-3 {
    background: url(/img/main/main_03.webp) no-repeat center;
    background-size: cover;
}

.swiper-pagination-bullet-active {
    background-color: #000;
}

.swiper-horizontal>.swiper-pagination-bullets {
    bottom: 85px;
}

.banner-content {
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    z-index: 30;
    width: 100%;
    height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #f0f0f0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.banner-circle {
    background-color: rgba(67, 148, 219, 0.5);
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    border-radius: 50%;
    border: 20px solid #0065bd;
}

.banner-text {
    padding: 50px;
}

.banner-text h1 {
    font-size: 20px;
}

.banner-text h2 {
    color: rgb(255, 255, 70);
}

/* 서비스 섹션 */
.service-section {
    margin-top: 15px;
}

.service-section h2 {
    color: rgb(67, 148, 219);
    text-align: center;
}

.service-container {
    margin: 0 auto;
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-card {
    margin-top: 10px;
    display: flex;
    justify-content: space-around;
    background-color: rgba(71, 179, 252, 0.5);
    border-radius: 20px;
    padding: 5px;
    font-size: 14px;
    width: 23%;
    height: 120px;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
}

.service-image {
    width: 100px;
    height: 100px;
}

.service-info {
    text-align: end;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: end;
}

hr {
    display: none;
}

/* 공지사항 섹션 */
.notice-section {
    margin-top: 15px;
}

.notice-content {
    position: inherit;
    margin: 0 0 0 300px;
    padding: 0 30px;
    border-left: 1px solid #e7e7e7;
}
.notice-content h2, .gallery-section h2, .sec4_tit_box h2{
    margin-left: 10px;
}

.sec2_tit_line {
    background-color: #e7e7e7;
    width: 100%;
    height: 1px;
    margin-top: 10px;
    margin-bottom: 10px;
}

body {
    font-family: Arial, sans-serif;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, 
.table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.table th {
    background-color: #f2f2f2;
}

.table a {
    color: #007bff;
    text-decoration: none;
}

.table a:hover {
    text-decoration: underline;
}

.add-button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 15px;
    float: left;
    display: inline-block;
}

.add-button:hover {
    background-color: #0056b3;
}

.sidebarCs_call {
    display: none;
}

.sidebarCs > div {
    width: 100%;
    margin: 25px 0;
}

/* 갤러리 섹션 */
.gallery-section {
    width: 100%;
    margin: 15px auto;
    clear: both;
}

.main_gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.gallery-card {
    text-align: center;
    width: 16%;
}

.gallery-card h2 {
    font-size: 16px;
}

.sec3_img {
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    width: 100%;
}

.sec3_img img {
    display: block;
    transition: transform 0.3s;
    object-fit: cover;
}

.gallery-card img:hover {
    transform: scale(1.05);
}

.gallery-card p {
    margin: 5px auto;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.gallery-card h2 {
    margin-top: 10px;
}
.sec4{
    margin-bottom: 10px;
}
.sec4_tit_box{
    display: flex;
    justify-content: space-between;
}
.average-rating{
    color: gold;
}

/* 리뷰 섹션 */
.review-section {
    width: 100%;
    margin: 15px auto;
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.review-container > a {
    display: block;
    width: 16%;
    margin-top: 10px;
}

.review-card {
    height: 220px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    vertical-align: top;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background-color: #f9f9f9;
}

.review-card:hover {
    background-color: #eaeaea;
}

.review-card h3 {
    font-size: 18px;
    color: #333;
}

.review-card .rating {
    color: gold;
    font-size: 20px;
    margin-bottom: 30px;
}

.review-card .review {
    font-size: 14px;
    color: #555;
    height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-card .created-at {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

.rating-average {
    font-size: 20px;
    color: gold;
}

/* 미디어 쿼리 */
@media only screen and (max-width: 1100px) {
    .service-container {
        flex-wrap: wrap;
    }
    .service-card {
        width: 48%;
    }
}

@media only screen and (max-width: 767px) {
    /* 메인 슬라이더 */
    .main-slider,
    .banner-content {
        font-size: 14px;
    }
    .banner-circle {
        width: 350px;
        height: 350px;
    }

    /* 서비스 섹션 */
    .service-section h2 {
        font-size: 16px;
    }
    .service-container {
        width: 100%;
        justify-content: space-around;
    }
    .service-card {
        font-size: 12px;
        margin-top: 5px;
        height: 80px;
    }
    .service-image {
        width: 30px;
        height: 30px;
    }
    hr {
        display: block;
        margin-bottom: 15px;
    }

    /* 공지사항 섹션 */
    .sidebarCs {
        display: none;
    }
    .notice-content {
        margin: auto;
        border-left: none;
        padding: 0 5px;
    }
    .table a {
        font-size: 14px;
    }
    .table th:nth-child(2),
    .table td:nth-child(2),
    colgroup col:nth-child(2) {
        display: none;
    }

    /* 갤러리 섹션 */
    .gallery-section {
        width: 98%;
    }
    .gallery-card {
        width: 48%;
    }
    .gallery-card h2,
    .gallery-card p {
        font-size: 14px;
    }

    /* 리뷰 섹션 */
    .review-container > a {
        width: 48%;
    }
} 