@charset "utf-8";

.wreath_list_tab {
    display: flex;
}
.wreath_list_tab > a {
    width: 100%;
    border-bottom: 1px solid #E0E0E0;
    padding: 13px 0;
    font-size: 17px;
	font-weight: 400;
	color: #AEAEAE;
    text-align: center;
}
.wreath_list_tab > a.on {
	border-bottom: 3px solid #252525;
	font-weight: 700;
	color: #373737;
}
.wreath_list_con {
    margin-bottom: 30px;
}
.wreath_list_all {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 10px;
}
.wreath_list_box {
    border: 1px solid #E0E0E0;
    position: relative;
}
.wreath_img {
    height: 165px;
}
.wreath_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wreath_sub_btn {
    display: flex;
}
.wreath_sub_btn a {
    text-align: center;
    font-size: 16px;
    padding: 8px 0;
}
.wreath_sub_btn a:first-child {
	background: #EDEDED;
    width: 50px;
	color: #7B7B7B;
}
.wreath_sub_btn a:first-child i {
	font-weight: 700;
}
.wreath_sub_btn a:last-child {
	background-color: var(--sub-main-color);
	width: calc(100% - 50px);
	color: #fff;
}
.wreath_not {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
}
.wreath_not > div {
	color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
	font-size: 17px;
}
.wreath_sub_con {
    padding: 12px 10px;
    text-align: center;
}
.wreath_name {
    font-size: 20px;
    line-height: 1;
    margin-bottom: 5px;
}
.wreath_ex {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    height: 2.5em;
    line-height: 1.2;
    font-size: 13px;
    word-break: keep-all;
}
.wreath_sub_txt {
	margin-bottom: 2px;
}
.discount {
    font-size: 15px;
    color: #AA7B51;
    font-weight: 500;
    margin-right: 5px;
}
.discount_price {
	color: #999;
	font-size: 17px;
	font-weight: 500;
    text-decoration: line-through;
}
.wreath_total {
    color: #252525;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
}
.wreath_list_both {
    padding: 15px 0 5px;
    text-align: right;
}
.wreath_list_both span {
	font-size: 23px;
	color: #b1b1b1;
	cursor: pointer;
}
.wreath_list_both span:first-child {
	margin-right: 5px;
}
.wreath_list_both span.on {
	color: #252525;
}
.wreath_list_all.on {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
}
.wreath_list_all.on .wreath_list_box {
    display: flex;
}
.wreath_list_all.on .wreath_img {
    width: 340px;
    height: 205px;
	border-right: 1px solid #E0E0E0;
}
.wreath_list_all.on .wreath_sub {
	width: calc(100% - 340px);
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
}
.wreath_list_all.on .wreath_sub_con {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
}
.wreath_list_all.on .wreath_sub_txt {
	margin-bottom: 0;
    text-align: left;
    width: 300px;
}
.wreath_list_all.on .wreath_name {
    margin-bottom: 15px;
}
.wreath_list_all.on .wreath_ex {
    height: 2.9em;
    line-height: 1.4;
    font-size: 15px;
}
.wreath_list_all.on .wreath_sub_btn a {
	padding: 12px 0;
}
.wreath_list_all.on .wreath_sub_btn a:first-child {
	width: 170px;
}
.wreath_list_all.on .wreath_sub_btn a:last-child {
	width: calc(100% - 170px);
}
.wreath_list_all.on .wreath_not > div br {
	display: none;
}
.wreath_send_wrap .txt_top_box {
    border-bottom: 3px solid #E3E3E3;
    padding-bottom: 20px;
    margin-bottom: 20px;
    text-align: left;
}
.wreath_send_wrap .txt_top_box:nth-last-child(2) {
	border-bottom: 0;
}
.wreath_send_btn {
    width: 100%;
    border-radius: 5px !important;
    background-color: var(--sub-main-color);
    border: 0;
    font-size: 17px;
    color: #fff;
    padding: 12px 0;
}
.wreath_send_wrap .txt_top_box input {
	border-radius: 5px;
	border: 1px solid #E0E0E0;
	width: 100%;
    font-size: 16px;
    padding: 10px 15px;
	margin-bottom: 7px;
}
.wreath_send_wrap .txt_top_box select {
	border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #606060;
	font-size: 16px;
    padding: 10px 15px;
	width: 100%;
}
.wreath_send_wrap .txt_top_box select + input {
	border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #606060;
	font-size: 16px;
    padding: 10px 15px;
	width: 100%;
}
.wreath_view_wrap {
    max-width: 700px;
    margin: 0 auto;
    padding: 25px 0;
}
.wreath_view_img {
    border: 1px solid #E0E0E0;
    height: 450px;
}
.wreath_view_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wreath_view_wrap .wreath_sub_con {
    text-align: left;
    padding: 20px 0;
}
.wreath_view_wrap .wreath_send_btn {
    margin-top: 20px;
}
.wreath_view_con {
    padding: 20px 20px 0;
	font-size: 15px;
}
.wreath_view_con > div:not(:first-child) {
	display: none;
}

.consolatory_money_wrap {
    max-width: 600px;
    margin: 0 auto;
}
.txt_size01 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
}
.txt_size02 {
    font-size: 18px;
}
.go_wreath_list {
    background: #fff;
    border: 1px solid var(--sub-main-color);
    color: var(--sub-main-color);
    font-weight: 600;
    margin-top: 7px;
    padding: 10px 0;
	cursor: pointer;
}
.wreath_send_terms_wrap {
    margin-top: 20px;
    display: flex;
    justify-content: space-evenly;
}
.wreath_send_terms_wrap > div:first-child {
    position: relative;
}
.wreath_send_terms_wrap > div:first-child::after {
	content:'';
	display: inline-block;
	width: 1px;
	height: 15px;
	background: #ddd;
    position: absolute;
    top: 50%;
    left: 182%;
    transform: translateY(-50%);
}
.wreath_send_terms_wrap > div > div:first-child {
    font-size: 15px;
    color: #717171;
    font-weight: 500;
	cursor: pointer;
}
.wreath_send_terms_wrap > div > div:first-child:hover {
    text-decoration: underline;
}
.terms_tt {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}
.terms_con {
    max-height: 400px;
    overflow: auto;
    padding: 10px;
    border: 1px solid #ddd;
    white-space-collapse: preserve-breaks;
}

/**화환 결제**/
.inner_wrap.pay_inner {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
.obituary_line {
	/* min-height: calc(100vh - 200px); */
    position: relative;
}
.obituary_line .contents {
	max-width: 400px;
	width: 100%;
    margin: 0 auto;
    /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
}
.obituary_top {
	text-align: center;
}
.obituary_top div {
	color: #1F1F1F;
    font-size: 16px;
    margin-top: 20px;
    font-weight: 600;
    line-height: 1.5;
}
.payment_top {
    text-align: center;
    margin: 35px 0;
}
.payment_top img {
	margin-bottom: 25px;
}
.payment_con {
    border-radius: 5px;
    border: 1px solid #DEDEDE;
    background: #FAFAFA;
    padding: 30px 20px;
    word-break: keep-all;
    max-width: 350px;
    margin: 0 auto;
}
.payment_con_txt p {
	color: #666;
	font-size: 16px;
    display: flex;
    gap: 7px;
	line-height: 1.4;
}
.payment_con_txt p span {
	color: #5F4A37;
    font-weight: 500;
}
.payment_close {
    display: block;
    width: 100%;
    background-color: var(--sub-main-color);
    text-align: center;
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    max-width: 165px;
    margin: 20px auto 0;
    padding: 8px 0;
}