#marriage #sec_01 .ringlist_wrap {
  padding-top: 50px;
}

.search_form {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 90;
}

.search_form h3 {
  font-size: 18px;
  text-align: center;
}

.search_form h3 br {
  display: none;
}

.search_form ul {
  display: flex;
  gap: 10px;
}

.search_form li {
  font-size: 14px;
  cursor: pointer;
  border: 1px solid #533a35;
  border-radius: 15px;
  padding: 3px 8px;
  line-height: 1;
  background-color: #fff;
  transition: .3s;
  width: fit-content;
}

.search_form li br {
  display: none;
}

.search_form p {
  font-size: 14px;
  cursor: pointer;
  border: 1px solid #533a35;
  border-radius: 15px;
  padding: 3px 8px;
  line-height: 1;
  background-color: #fff;
  width: fit-content;
  transition: .3s;
}

.search_form .reset {
  font-size: 14px;
  cursor: pointer;
  border: 1px solid #533a35;
  border-radius: 15px;
  padding: 8px 15px;
  line-height: 1.3;
  background-color: #fff;
  width: fit-content;
  transition: .3s;
  text-align: center;
  margin-top: auto;
}

.search_form p.set,
.search_form li.set {
  background-color: #533a35;
  color: #fff;
}

.search_form .wrap {
  display: flex;
  gap: 50px;
  padding-bottom: 15px;
  padding-top: 15px;
  border-bottom: 1px solid #533a35;
}

.search_form .container {
  width: fit-content;
}

.search_form .container:last-child {
  display: flex;
  align-items: flex-end;
}

.search_form .container.sort-item {
  width: 100%;
  flex: 1;
}

.search_form .container.sort-item h3 {
  text-align: left;
  width: 10em;
}

.search_form .container.sort-item section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.item_count {
  font-size: 36px;
  font-weight: bold;
}

.terms-01 {
  padding-right: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.terms-01 p,
.terms-01 li {
  border: none;

}

#marriage #sec_01 .ringlist {
  opacity: 0;
  transform: translateY(30px);
  transition: .8s;
}

#marriage #sec_01 .ringlist.animated-item {
  opacity: 1;
  transform: translateY(0);
}

#marriage #sec_01 .search_form p.open {
  display: none;
}

.ac_btn {
  display: none;
}

@media screen and (max-width: 767px) {
  .item_count {
    width: 1.8em;
    display: inline-block;
  }

  #marriage #contents #sec_01 {
    padding-top: 0;
  }

  #marriage #sec_01 .sec_inner {
    display: flex;
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;
  }

  #marriage #sec_01 .search_form {
    align-items: baseline;
    margin-right: 5px;
    position: relative;
  }

  #marriage #sec_01 .search_form .container {
    width: 100%;
    padding-right: 0;
    margin-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;
  }

  #marriage #sec_01 .search_form .wrap {
    flex-direction: column;
    gap: 0;
    border-bottom: none;

    padding-right: 5px;
    padding-top: 0;
    position: sticky;
    top: 30px;
    align-self: baseline;
    height: calc(100svh - 90px);
    transition: .8s;
    transition-timing-function: cubic-bezier(0.86, 0.03, 0, 0.97);
    margin-left: 0px;
    padding-top: 5px;
    overflow: auto;
  }

  #marriage #sec_01 .search_form .wrap.close {
    margin-left: -110px;
  }

  #marriage #sec_01 .search_form h3 {
    font-size: 12px;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3px;
    text-align: center;
    width: 100%;
    line-height: 1.2;
  }

  #marriage #sec_01 .search_form h3 br {
    display: block;
  }

  #marriage #sec_01 .search_form ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  #marriage #sec_01 .search_form li {
    font-size: 12px;
    margin-bottom: 5px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 8px;
    border-radius: 10px;
  }

  #marriage #sec_01 .search_form li br {
    display: block;
  }

  #marriage #sec_01 .search_form p {
    font-size: 12px;
    margin-bottom: 5px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 8px;
    border-radius: 10px;
  }

  #marriage #sec_01 .search_form .container.sort-item section {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 10px;
  }

  #marriage #sec_01 .search_form .reset {
    width: 100%;
    font-size: 12px;
    padding: 5px;
    line-height: 1.2;
  }

  #marriage #sec_01 .ringlist_wrap#item_list {
    margin-left: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    flex: 1;
    padding-top: 0;
  }

  #marriage #sec_01 .ringlist_wrap#item_list .plice_box {
    font-size: 12px;
  }

  #marriage #sec_01 .ringlist_wrap#item_list .ringlist {
    width: calc((100% - 5px) / 2);
    margin-right: 0;
    margin-top: 5px;
  }

  #marriage #sec_01 .search_form .container.sort-item {
    flex: none;
  }

  #marriage #fix_contact {
    z-index: 90;
  }

  #marriage .drawer--top {
    overflow: unset !important;
  }

  .ac_btn {
    background-color: #533a35;
    color: #fff;
    margin-bottom: 15px;
    border-radius: 0;
    display: block;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 90;
    width: fit-content;
    padding: 3px 5px;
    margin-bottom: 0;
    border-right: 1px solid #533a35;
    font-size: 12px;
  }

  #marriage #sec_01 .search_form .container.terms-01 {
    margin-bottom: 0;
  }
}