.check-wrap.wp-loop {
	display:flex;
	flex-wrap:wrap;
	gap: 18x;
}
.check-wrap.wp-loop .check-line {
	order: 7;
}
.check-wrap.wp-loop .check-line:has(.id-111) {
	order: 1;
}
.check-wrap.wp-loop .check-line:has(.id-60) {
	order: 1;
}
.check-wrap.wp-loop .check-line:has(.id-270) {
	order: 2;
}
.check-wrap.wp-loop .check-line:has(.id-271) {
	order: 3;
}
.check-wrap.wp-loop .check-line:has(.id-63) {
	order: 4;
}
.check-wrap.wp-loop .check-line:has(.id-66) {
	order: 5;
}
.c-modal__btnblock input[type="submit"]{
    border: none;
    width: 100%;
    cursor: pointer;
}

.p-favorite-modal__list li {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    justify-content:space-between;
    align-items: center;
    align-content: center;
}
.p-favorite-modal__list li .img {
  width: 25%;
}
.p-favorite-modal__list li .name {
  width: 73%;
  padding-right: 20px;
}
.p-favorite-modal__list li .img img {
  display: block;
  width: 100%;
  height: 100%;
}
.del_btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom:0;
  margin: auto 0;
  display: flex;
  width: 15px;
  cursor: pointer;
}
.del_btn:hover {
  opacity: .6;
}

.p-favorite-modal__list:empty + #history_default_txt,
.p-favorite-modal__list:empty + .p-favorite-modal__default{
  display: block;
}
.p-favorite-modal__default,
#history_default_txt {
  display: none;
}
p:empty {
  display:none;
}
.c-card01__img {
  aspect-ratio: 5 / 3.125;
}
.c-card01__img img  {
  object-fit: cover;
  height: 100%;
}
.check-wrap.wp-loop:has(#all) {
  margin-bottom: -15px;
}

.flex_jc-center {
  justify-content: center;
}
