@media (max-width: 991px) {

.mobile {display: block;}
.pc {display: none;}

.inner_wrap {
    width: 100%;
    padding: 0 20px;
}
.sub-wrapper {padding: 120px 0;}

.mb_header .logo a {height: 45px;}
.mb_header .logo a img {height: 100%}

.header_wrap_mb {
    background-color: transparent;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#home-wrapper {
    padding-top: 60px;
}


/**메인**/
.main_contents .text_wrap h2 {
    font-size: 30px;
}

/*작성하기*/
.contents_wrap .item_wrap {
  max-width: 100%;
  min-width: auto;
}
.swiper-slide.common_item.is-active .imgbox {
    text-align: center;
    box-shadow: none;
}

/**화환**/
.wreath_list_all {
		grid-template-columns: repeat(2, 1fr);
}
.wreath_not > div {
    font-size: 13px;
}
.wreath_name {
    font-size: 17px;
}
.discount {
    font-size: 14px;
}
.discount_price {
    font-size: 15px;
}
.wreath_total {
    font-size: 20px;
}
.wreath_list_all.on .wreath_img {
    width: 230px;
}
.wreath_list_all.on .wreath_sub {
    width: calc(100% - 230px);
}
.wreath_list_all.on .wreath_sub_con {
    flex-direction: column;
    align-items: baseline;
    padding: 15px;
}
.wreath_list_all.on .wreath_sub_txt {
    width: 100%;
}
.wreath_list_all.on .wreath_sub_btn a:first-child {
    width: 100px;
}
.wreath_list_all.on .wreath_sub_btn a:last-child {
    width: calc(100% - 100px);
}
.txt_size01 {
    font-size: 18px;
    margin-bottom: 5px;
}

.wreath_send_wrap .txt_top_box {
    border-bottom: 2px solid #E3E3E3;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

}/* 991px 끝 */

@media (max-width: 768px) {

/**메인**/
.main_contents {
    flex-direction: column-reverse;
    row-gap: 40px;
}
.main_contents .phonebox {
    width: 80%;
}
.main_contents .text_wrap {
    flex: 1;
    width: 100%;
}
.main_contents .text_wrap h2 {
    font-size: 26px;
    text-align: center;
}
.main_contents .text_wrap .link_list_wrap li .link_list_item {
    margin: 0 auto;
}
.main_contents .text_wrap .link_list_wrap li .link_list_item .item_name span {
    font-size: 18px;
}
.main_count_con .main_count_num_wrap {
    padding: 20px 0;
}
.main_count_con .main_count_num_box .main_count_num_tt {
    font-size: 16px;
    margin: 0;
}
.main_count_con .main_count_num_box .main_count_num_txt {
    font-size: 14px;
}


/**청첩장 모바일 미리보기**/
.mirl_view .mirl_view_frame {
    position: unset;
}
.mirl_view .mobile-area {
    height: unset;
    border: 0;
    border-radius: 0;
    overflow: visible;
}
.preview_area section {
    padding: 70px 0;
}
.mirl_view .mobile-area .preview_area {
    overflow-y: visible;
}


/**마이페이지 **/
.board_wrap .cs_con_tab ul {
    width: 100%;
    display: flex;
}
.board_wrap .cs_con_tab ul li {
    width: unset;
    flex: 1;
}
.table_ing_wrap .list-header {
    display: none;
}

.table_ing_wrap .list-body .list-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    height: unset;
}
.table_ing_wrap .list-item {
    justify-content: flex-start;
}
.table_ing_wrap .list-item .title {
    line-height: unset;
    text-align: left;
    width: unset;
}

.list-item {
    width: 100%;
    text-align: left;
    padding: 5px 0;
}
.list-header .list-item:not(:first-of-type),
.table_ing_wrap .list-body .list-row .list-item:not(:first-of-type) {
    max-width: unset;
}
.list-item::before {
    content: attr(data-label);
    font-weight: bold;
    color: #555;
    margin-right: 5px;
    display: inline-block;
    width: 100px;
}
.table_ing_wrap .list-item.btn_wrap {
    display: flex;
}
.table_ing_wrap .list-item.btn_wrap > div {
    display: flex;
    flex: 1;
}
.table_ing_wrap .list-item .list-item_btn {
    flex: 1;
    text-align: center;
}
.table_ing_wrap .list-item .wd_100 {
    width: 100%;
}


/**고객센터**/
#bo_btn_top {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

}/* 768px 끝 */

@media (max-width: 480px) { /* iPhone 5, SE, Galaxy S5 등 */
.contents_wrap .form_group .card .wdate_select {
    width: 100%;
}

}/* 480px 끝 */

@media (min-width: 320px) and (max-width: 479px) {
}