.items__search {
  padding: 2rem;
  background-color: var(--color-second);
  border-radius: 0.375rem;
}
@media screen and (max-width: 767px) {
  .items__search {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 2.5rem 1.5rem;
    border-radius: 0;
  }
}
.items__search__form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.items__search__form__selects {
  display: flex;
  gap: 0.5rem;
}
.items__search__form__select {
  position: relative;
}
.items__search__form__select__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 10rem;
  padding: 0.75rem 1.5rem 0.75rem 1rem;
  background-color: var(--color-base);
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  cursor: pointer;
  color: var(--color-dark);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.6;
  position: relative;
  text-align: left;
}
.items__search__form__select__label__icon {
  display: block;
  position: absolute;
  top: 50%;
  right: 0.875rem;
  transform: translateY(-50%);
}
.items__search__form__select__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  background: var(--color-base);
  box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.08);
}
.items__search__form__select__menu__button {
  width: 100%;
  margin: 0;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 0.25rem;
  background: transparent;
  color: var(--color-text);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
}
.items__search__form__select__menu__button.is-active {
  color: var(--color-red);
  background: #f9e9e9;
}
.items__search__form__select__menu__button--depth-1 {
  padding-left: 1.5rem;
}
.items__search__form__select__menu__button--depth-2 {
  padding-left: 2.25rem;
}
.items__search__form__select.is-open .items__search__form__select__label {
  color: var(--color-red);
}
.items__search__form__input {
  flex: 1;
  max-width: 38.5rem;
  background: var(--color-base);
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
}
.items__search__form__input__icon {
  display: block;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
}
.items__search__form__input input {
  display: block;
  width: 100%;
  padding: 0.5rem 3.25rem 0.5rem 1.5rem;
  appearance: none;
  border: none;
  box-shadow: none;
  line-height: 2.25rem;
  outline: none;
  color: var(--color-dark);
  font-size: 1rem;
  font-weight: 500;
}
.items__search__form__input input::placeholder {
  color: var(--color-border);
}
@media screen and (max-width: 1023px) {
  .items__search__form {
    flex-direction: column;
    align-items: flex-start;
  }
  .items__search__form__input {
    width: 100%;
    max-width: none;
  }
}
@media screen and (max-width: 767px) {
  .items__search__form__selects {
    display: grid;
    grid-template-columns: 123fr 123fr 100fr;
    gap: 0.25rem;
    width: 100%;
  }
  .items__search__form__select__label {
    width: 100%;
    padding: 0.5rem 0.625rem;
    font-size: 0.8125rem;
    line-height: 1.5rem;
  }
  .items__search__form__select__label__icon {
    display: none;
  }
  .items__search__form__select__label > img:first-of-type {
    max-width: 1rem;
    max-height: 1rem;
  }
  .items__search__form__input__icon {
    width: 1.125rem;
    height: 1.125rem;
    right: 1.125rem;
  }
  .items__search__form__input input {
    padding: 0.5rem 2.5rem 0.5rem 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.875rem;
  }
}
@media screen and (max-width: 374px) {
  .items__search__form__select__label {
    padding: 0.5rem;
    font-size: 0.625rem;
  }
  .items__search__form__select__label > img:first-of-type {
    max-width: 0.75rem;
    max-height: 0.75rem;
  }
}
.items__search__result {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.items__search__result__label {
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 2;
}
.items__search__result__items {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.items__search__result__item {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem 0.5rem 1.5rem;
  background: #f9e9e9;
  border: 1px solid #f9e9e9;
  border-radius: 2rem;
  color: var(--color-red);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5rem;
}
.items__search__result__item--clear {
  background-color: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}
.items__search__result__item__icon path {
  stroke: var(--color-red);
}
.items__search__result__item__icon--clear path {
  stroke: var(--color-text);
}
@media screen and (max-width: 767px) {
  .items__search__result {
    align-items: flex-start;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 2rem;
  }
  .items__search__result__label {
    margin-top: 0.375rem;
    font-size: 0.75rem;
  }
  .items__search__result__item {
    font-size: 0.8125rem;
    line-height: 1.375rem;
  }
  .items__search__result__item--clear {
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
    position: relative;
  }
  .items__search__result__item--clear svg {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
  }
}
.items__search__result .items__search__result__item__icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  line-height: 1;
  color: inherit;
  cursor: pointer;
}
.items__search__result .items__search__result__item__clear-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
}
.items__data {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.items__data__num {
  display: flex;
  align-items: baseline;
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
}
.items__data__num span {
  font-family: "Poppins", sans-serif;
  display: block;
  margin: 0 0.25rem 0 0.5rem;
  color: var(--color-dark);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.items__data__order {
  position: relative;
}
.items__data__order__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 2;
  cursor: pointer;
}
.items__data__order__label img {
  display: block;
}
.items__data__order__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 2;
  min-width: 8rem;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  background: var(--color-base);
  box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.08);
}
.items__data__order__menu__button {
  width: 100%;
  margin: 0;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 0.25rem;
  background: transparent;
  color: var(--color-text);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
}
.items__data__order__menu__button.is-active {
  color: var(--color-red);
  background: #f9e9e9;
}
.items__data__order.is-open .items__data__order__label {
  color: var(--color-red);
}
@media screen and (max-width: 767px) {
  .items__data {
    padding-bottom: 0.75rem;
  }
  .items__data_num {
    font-size: 0.625rem;
  }
  .items__data_num span {
    margin: 0 0.125rem 0 0.5rem;
    font-size: 1rem;
  }
  .items__data__order__label {
    line-height: 1.6;
  }
}
.items__list {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 4rem;
}
.items__list__item {
  width: calc((100% - 10rem) / 5);
}
.items__list__item__title {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.8;
}
.items__list__item__title a {
  display: block;
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.2s;
}
@media screen and (min-width: 768px) {
  .items__list__item__title a:hover {
    color: var(--color-red);
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .items__list__item {
    width: calc((100% - 5rem) / 3);
  }
}
@media screen and (max-width: 767px) {
  .items__list {
    gap: 1.5rem 1.25rem;
    margin-top: 2.5rem;
  }
  .items__list__item {
    width: calc((100% - 1.25rem) / 2);
  }
  .items__list__item__title {
    margin-top: 0.625rem;
    font-size: 1rem;
  }
}
.items__empty {
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.8;
}

body {
  position: relative;
}
body:before {
  content: "";
  display: block;
  width: 35.25rem;
  height: 43.75rem;
  background: url("../images/common/bg_hero.svg") center/contain no-repeat;
  position: absolute;
  top: -3rem;
  left: calc(50% + 11.75rem);
  z-index: -1;
}
@media screen and (max-width: 767px) {
  body:before {
    width: 15.375rem;
    height: 19.125rem;
    top: 2rem;
    left: calc(50% - 1.75rem);
  }
}

.breadcrumb__list {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.intro {
  margin-top: 7.5rem;
  padding: 0 1.5rem;
}
.intro__inner {
  max-width: 1296px;
  margin: 0 auto;
  padding: 3rem;
  background-color: var(--color-base);
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
}
.intro__title {
  color: var(--color-dark);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.8;
}
.intro__text {
  margin-top: 1.5rem;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 2.2;
}
@media screen and (max-width: 767px) {
  .intro {
    margin-top: 3rem;
  }
  .intro__inner {
    padding: 2rem;
  }
  .intro__title {
    font-size: 1.125rem;
  }
  .intro__text {
    font-size: 0.9375rem;
    line-height: 2;
  }
}

.category-items {
  display: flex;
  gap: 2.375rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.category-items__item {
  width: calc((100% - 7.125rem) / 4);
}
.category-items__item__title {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.8;
}
.category-items__item__title a {
  color: var(--color-text);
  text-decoration: none;
}
.category-items__empty {
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
}
@media screen and (min-width: 768px) {
  .category-items__item__title a {
    transition: color 0.3s;
  }
  .category-items__item__title a:hover {
    color: var(--color-red);
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .category-items {
    gap: 1.5rem;
  }
  .category-items__item {
    width: calc((100% - 1.5rem) / 2);
  }
  .category-items__item__title {
    font-size: 1rem;
  }
}
@media screen and (max-width: 767px) {
  .category-items {
    gap: 1.5rem 1.25rem;
    margin-top: 1.5rem;
  }
  .category-items__item {
    width: calc(50% - 0.625rem);
  }
  .category-items__item__title {
    font-size: 0.9375rem;
    line-height: 1.6;
  }
}

.search-items {
  margin-top: 10rem;
  padding: 0 1.5rem;
}
.search-items__inner {
  max-width: 1296px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .search-items {
    margin-top: 7.5rem;
  }
}
