@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');

/* div.item_body 이하의 P 태그 및 기타 태그를 수저하면됨 */
div.item_body p{
    line-height: 1.5;
}

/* 상품 상세 하단 바로가기 배너 */
.pwqb1 {
    --pwqb1-c1: #1d6ba4;
    --pwqb1-c2: #fee500;
    --pwqb1-info: #383838;
    --pwqb1-blue-pt: #9FD4F5;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 40px 0;
    font-family: 'Pretendard', 'Pretendard Variable', -apple-system, 'Malgun Gothic', sans-serif;
}
.pwqb1 .pwqb1-item {
    display: flex;
    flex-direction: column;
    min-height: 178px;
    padding: 26px 24px 22px;
    border-radius: 16px;
    text-decoration: none;
    line-height: 1.5;
}
.pwqb1 a.pwqb1-item {
    transition: transform .2s, box-shadow .2s;
}
.pwqb1 a.pwqb1-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(19, 34, 27, .18);
    text-decoration: none;
}
.pwqb1 .pwqb1-ico {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    background: rgba(255, 255, 255, .18);
}
.pwqb1 .pwqb1-item strong {
    display: block;
    margin-bottom: 3px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.02em;
}
.pwqb1 .pwqb1-sub {
    font-size: 14px;
    opacity: .78;
}
.pwqb1 .pwqb1-go {
    margin-top: auto;
    padding-top: 14px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
}
.pwqb1 .pwqb1-go i {
    transition: transform .2s;
}
.pwqb1 a.pwqb1-item:hover .pwqb1-go i {
    transform: translateX(3px);
}
.pwqb1 .pwqb1-c1 {
    background: var(--pwqb1-c1);
    color: #fff;
}
.pwqb1 .pwqb1-c2 {
    background: var(--pwqb1-c2);
    color: #3C1E1E;
}
.pwqb1 .pwqb1-c2 .pwqb1-ico {
    background: rgba(60, 30, 30, .1);
}
.pwqb1 .pwqb1-info {
    background: var(--pwqb1-info);
    color: #fff;
    cursor: default;
}
.pwqb1 .pwqb1-info .pwqb1-ico {
    background: rgba(255, 255, 255, .18);
}
.pwqb1 .pwqb1-tel {
    display: block;
    margin: 4px 0 8px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--pwqb1-blue-pt);
    line-height: 1.2;
}
.pwqb1 .pwqb1-hours {
    margin-top: auto;
    font-size: 12.5px;
    opacity: .75;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .pwqb1 {
        grid-template-columns: 1fr 1fr;
    }
    .pwqb1 .pwqb1-info {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {
    .pwqb1 {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .pwqb1 .pwqb1-item {
        min-height: 0;
        padding: 20px;
    }
    .pwqb1 .pwqb1-info {
        grid-column: auto;
    }
    .pwqb1 .pwqb1-tel {
        font-size: 23px;
    }
}
div.item_body p *{
    line-height: 1.5;
}
div.show_sample_text{
    background-color: #F9F9F9;
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
}
div.show_sample_text button{
    font-weight: bold;
    font-size: 18px;
    border: 0;
    cursor: pointer;
}
section.sample_text{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}
div.sample_text_area{
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 20px;
    max-width: 800px;
    overflow: hidden;
}
div.sample_text_item_wrap{
    display: flex;
    padding: 45px;
}
div.sample_text_item.left{
    width: 45%;
}
div.sample_text_item.right{
    width: 55%;
}
div.sample_text_item_title{
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 20px;
    border-bottom: 1px solid #E2E2E2;
}
div.sample_text_item_content{
    display: flex;
    margin-top: 30px;
}
div.sample_text_item_content.right{
    padding-left: 20px;
}
div.divide_line{
    border-right: 1px solid #E2E2E2;
}
div.sample_text_item_content ul{
    padding: 20px 0;
    margin: 0;
    list-style: none;
    width: 100%;
}
div.sample_text_item_content ul li button{
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    margin-top: 5px;
}
div.sample_text_item_content ul li button:hover{
    background-color: #e6e6e6;
}
div.sample_text_footer{
    text-align: center;
    background-color: #F9F9F9;
    padding: 40px 0;
    border-top: 1px solid #E2E2E2;
    font-size: 15px;
}
button.sample_text_close{
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #F9F9F9;
    border: 0;
    cursor: pointer;
    padding: 5px 15px;
    background-color: #F9F9F9;
    border-radius: 16px;
}
p.sample_text_close_icon{
    font-size: 13px;
    font-weight: bold;
}
p.sample_text_close_text{
    font-size: 8px;
}

/* 768px 이하 반응형 스타일 */
@media screen and (max-width: 768px) {
    div.sample_text_area {
        max-width: 95%;
        margin: 0 10px;
        border-radius: 15px;
    }

    div.sample_text_item_wrap {
        padding: 30px 20px;
        flex-direction: column;
    }

    div.sample_text_item.left,
    div.sample_text_item.right {
        width: 100%;
    }

    div.sample_text_item_content {
        flex-direction: column;
        margin-top: 20px;
    }

    div.sample_text_item_content.right {
        padding-left: 0;
        margin-top: 20px;
    }

    div.divide_line {
        border-right: none;
        border-bottom: 1px solid #E2E2E2;
        padding-bottom: 20px;
    }

    div.sample_text_item_title {
        font-size: 16px;
        padding-bottom: 15px;
    }

    div.sample_text_item_content ul {
        padding: 15px 0;
    }

    div.sample_text_item_content ul li button {
        font-size: 12px;
        padding: 8px;
        margin-top: 3px;
    }

    div.sample_text_footer {
        padding: 30px 0;
        font-size: 14px;
    }

    button.sample_text_close {
        top: 15px;
        right: 15px;
        padding: 4px 12px;
    }
}

/* 425px 이하 반응형 스타일 */
@media screen and (max-width: 425px) {
    div.sample_text_area {
        max-width: 98%;
        margin: 0 5px;
        border-radius: 10px;
    }

    div.sample_text_item_wrap {
        padding: 20px 15px;
    }

    div.sample_text_item_title {
        font-size: 14px;
        padding-bottom: 12px;
    }

    div.sample_text_item_content {
        margin-top: 15px;
    }

    div.sample_text_item_content ul {
        padding: 10px 0;
    }

    div.sample_text_item_content ul li button {
        font-size: 11px;
        padding: 6px;
        margin-top: 2px;
        line-height: 1.3;
    }

    div.sample_text_footer {
        padding: 20px 0;
        font-size: 12px;
    }

    div.sample_text_footer p {
        margin: 5px 0;
    }

    button.sample_text_close {
        top: 10px;
        right: 10px;
        padding: 3px 10px;
        border-radius: 12px;
    }

    p.sample_text_close_icon {
        font-size: 11px;
    }

    p.sample_text_close_text {
        font-size: 7px;
    }

    div.show_sample_text button {
        font-size: 16px;
        padding: 15px 10px;
    }
}
