.contents__layout > .contents__layout__inner{
    padding-top: 0;
}

.contents__layout > .contents__layout__inner .img__wrap{
    border-radius: 5px;
    overflow: hidden;
    height: 250px;
}

.contents__layout > .contents__layout__inner .img__wrap img{
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.contents__layout{
  max-width: 61%;
  place-self: center;
    margin-top: -40px;
}

.s2{
  width: 80%;
  place-self: center;
  padding-bottom: 20px;
}

.contents__layout > .contents__layout__inner > p{
    margin: 0;
    margin-top: 20px;
}

.intro__business__list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 10px;
}

.intro__business__list > li{
    width: 100%;
    height: auto;
}

.intro__business__list > li a{
    width: 100%;
    height: auto;
    display: block;
}

.intro__business__list > li a div{
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 5px;
}

.intro__business__list > li a div img{
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.intro__business__list > li a p{
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-top: 5px;
}

.map__wrap{
    width: 100%;
    height: 255px;
    overflow: hidden;
    border-radius: 5px;
}

.map__wrap .root_daum_roughmap{
    width: 100%;
    height: 100%;
}

.map__wrap .root_daum_roughmap .wrap_map{
    height: 100%;
}

.map__wrap .root_daum_roughmap .map_border{
    opacity: 0;
}

.map__info__list{
    display: block;
    width: 100%;
    height: auto;
}

.map__info__list > li{
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    border-bottom: 1px solid #d9d9d9;
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

.map__info__list > li:last-of-type{
    border-bottom: none;
}

.map__info__list > li img{
    width: 15px;
    height: auto;
    margin-right: 5px;
}

.board__list{
    width: 100%;
    height: auto;
}

.board__list li{
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d9d9d9;
}

.board__list li:last-of-type{
    margin: 0;
    padding: 0;
    border: none;
}

.board__list li > a{
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    gap: 14px;
}

.contents__layout > .contents__layout__inner .board__list li > a .img__wrap{
    width: 115px;
    height: 85px;
    border-radius: 5px;
    overflow: hidden;
}

.contents__layout > .contents__layout__inner .board__list li > a .img__wrap img{
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.board__list li > a div{
    width: calc(100% - 140px);
}

.board__list li > a p{
    font-size: 16px;
    font-weight: 500;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 28px;
}

.board__list li > a span{
    font-size: 14px;
    font-weight: 500;
    color: #909090;
    line-height: 22px;
    width: 100%;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.youtube__list{
    display: flex;
    flex-wrap: wrap;
    gap: 20px 12px;
}

.youtube__list > li{
    width: calc(50% - 6px);
    height: auto;
}

.youtube__list > li a{
    width: 100%;
    height: auto;
    display: block;
}

.youtube__list > li a .youtube__wrap{
    width: 100%;
    height: 135px;
    overflow: hidden;
    border-radius: 5px;
    position: relative;
}

.youtube__list > li a .youtube__wrap img:nth-child(1){
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.youtube__list > li a .youtube__wrap img:nth-child(2){
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10;
}

.youtube__list > li a p{
    font-size: 16px;
    font-weight: 500;
    color: #000;
    line-height: 26px;
    width: 100%;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 5px;
}





/* media */
@media screen and (max-width: 768px){
    .intro__business__list > li a div{
        height: 180px;
    }

    .youtube__list > li a .youtube__wrap{
        height: 180px;
    }
}

/* 리뷰 팝업 스타일 */
.review__popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.review__popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.review__popup__content {
    position: relative;
    background: #fff;
    border-radius: 10px;
    width: 100%;
    padding: 20px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.3s ease-out;
    margin-bottom:20px;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.review__popup__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
}

.review__popup__header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.review__popup__close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.review__popup__close:hover {
    background-color: #f8f9fa;
    color: #000;
}

.review__popup__body {
    padding: 25px;
}

.review__popup__img {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.review__popup__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review__popup__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.review__popup__info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.review__popup__info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.review__popup__content h5 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0 0 10px 0;
}

.review__popup__content p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 20px 0;
}

.review__popup__rating h5 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0 0 10px 0;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 20px;
    color: #ddd;
    transition: color 0.2s ease;
}

/* 상담신청 폼 스타일 */
.counsel__form {
    max-width: 600px;
    margin: 0 auto;
}

.form__group {
    margin-bottom: 25px;
}

.form__label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.required {
    color: #e74c3c;
    margin-right: 5px;
}

.form__subtitle {
    font-size: 14px;
    color: #666;
    margin: 0 0 15px 0;
    font-style: italic;
}

.form__input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form__input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form__textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form__textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.radio__group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio__item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.radio__item:hover {
    border-color: #007bff;
    background: #f8f9fa;
}

.radio__item.selected {
    border-color: #007bff;
    background: #e3f2fd;
}

.radio__item input[type="radio"] {
    margin: 0;
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #007bff;
}

.radio__text {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.checkbox__group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox__item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    min-width: 100px;
    justify-content: center;
}

.checkbox__item:hover {
    border-color: #007bff;
    background: #f8f9fa;
}

.checkbox__item.checked {
    border-color: #007bff;
    background: #e3f2fd;
}

.checkbox__item input[type="checkbox"] {
    margin: 0;
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #007bff;
}

.checkbox__text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.privacy__group {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.privacy__info {
    margin-bottom: 15px;
}

.privacy__info p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.privacy__info p:last-child {
    margin-bottom: 0;
}

.privacy__checkbox {
    background: #fff;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    margin: 0;
}

.form__submit {
    text-align: center;
    margin-top: 30px;
}

.submit__btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.submit__btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.submit__btn:active {
    transform: translateY(0);
}

/* 토스트 메시지 스타일 */
.toast__message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.toast__message.show {
    opacity: 1;
    visibility: visible;
}

.toast__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
}

.toast__content {
    position: relative;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 350px;
    max-width: 90%;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.toast__message.show .toast__content {
    transform: scale(1);
}

.toast__icon {
    font-size: 20px;
}

.toast__text {
    font-size: 14px;
    color: #333;
}

.toast__text strong {
    color: #007bff;
}

@media screen and (max-width: 650px){
    .contents__layout > .contents__layout__inner .img__wrap {
        height: 180px;
    }

    .intro__business__list{
        grid-template-columns: 1fr;
    }

    .intro__business__list > li a div{
        height: 140px;
    }

    .youtube__list > li{
        width: 100%;
    }

    .youtube__list > li a .youtube__wrap{
        height: 140px;
    }

    .review__popup__content {
        width: 95%;
        max-height: 90vh;
    }

    .review__popup__header {
        padding: 15px 20px;
    }

    .review__popup__header h3 {
        font-size: 18px;
    }

    .review__popup__body {
        padding: 20px;
    }

    .review__popup__img {
        height: 150px;
    }

    .review__popup__info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .counsel__form {
        max-width: 100%;
    }

    .checkbox__group {
        flex-direction: column;
    }

    .checkbox__item {
        min-width: auto;
        width: 100%;
    }

    .toast__content {
        min-width: 280px;
        padding: 20px 25px;
        margin: 20px;
    }
}
