@charset "UTF-8";

.head {
  font-size: 2rem;
  font-weight: bold;
}

/* checkbox */
.checkbox-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.checkbox-item {
  display: flex;
  align-items: center;
}
/* .checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
} */
.checkbox-item label {
  cursor: pointer;
  font-size: 1.8rem;
}
input[type=checkbox]+label>.form__checkbox__checkmark {
  margin-right: 10px;
}
input[type=checkbox]:checked+label>.form__checkbox__checkmark:before {
  left: .1em;
}
@media screen and (max-width: 768px) {
  .head {
    font-size: 1.8rem;
  }
  .checkbox-list {
    gap: 16px;
    margin-left: -16px;
  }
  .checkbox-item label {
    font-size: 1.4rem;
  }
}

/* type */
.type-select {
  display: flex;
  justify-content: center;
  max-width: 600px;
  border: 1px solid #f4763a;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto;
}
.type-btn {
  flex: 1;
  padding: 12px 8px;
  background: #fff;
  color: #333;
  border: none;
  border-right: 1px solid #f4763a;
  font-size: 1.8rem;
  cursor: pointer;
  font-family: inherit;
}
.type-btn:last-child {
  border-right: none;
}
.type-btn.is-active {
  background: #f4763a;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .type-btn {
    font-size: 1.4rem;
  }
}

/* search-btn */
.search-area {
  margin-top: 70px;
}
.search-btn {
  cursor: pointer;
}
.button {
  text-align: center;
}
.button img {
  right: 30px;
}
@media screen and (max-width: 768px) {
  .search-area {
    margin-top: 40px;
  }
  .button > span {
    font-size: 1.7rem;
  }
}

/* result-area */
.result-area {
  display: none;
  /* width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw); */
}
.result-area.is-visible {
  display: block;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.card {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
}
.card:not(.no-shadow):hover {
  transform: none;
  box-shadow: none;
  background-color: #fff;
}
.card.is-hidden {
  display: none;
}
.card-thumb {
  flex-shrink: 0;
  width: 280px;
  height: 173px;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-body {
  flex: 1;
}
.card-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: bold;
}

/* card-category */
ul.card-category {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0;
}
ul.card-category > li {
  display: inline-block;
  border: 1px solid #F86C33;
  background-color: #fff;
  border-radius: 4px;
  padding: 5px 10px;
  line-height: 1.2;
  text-align: center;
  margin-top: 0 !important;
}
ul.card-category > li:before {
  content: none;
}
.card-link {
  width: 400px;
}

@media screen and (max-width: 768px) {
  .result-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .card {
    gap: 12px;
  }
  .card-thumb {
    width: 100%;
    height: auto;
  }
  .card-title {
    margin: 0 0 8px;
    font-size: 1.8rem;
  }

  /* card-category */
  ul.card-category {
    gap: 10px;
  }
  .card-link {
    width: 100%;
    height: auto;
  }
}

.empty-message {
  display: none;
  text-align: center;
  font-size: 1.8rem;
}
.empty-message.is-visible {
  display: block;
}

.content-btm {
  padding-top: 50px;
}