@charset "utf-8";
/* ==========================
   Search hero card
========================== */

body {
  background-color: #fff;
}

.search_page {
  margin-top: 250px;
}

.search-hero {
  margin: 40px 0;
}

.search-hero__card {
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.search-hero__top {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

/* 左：現在地ボタン */
.search-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  width: 50%;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;

  @media screen and (max-width: 768px) {
    flex: 1 1 100%;
  }
}

.search-hero__btn.search-hero__btn--location {
  background-color: #d64034;
  /* 赤 */
  color: #fff;
}

.search-hero__icon-img {
  width: 16px;
  height: 16px;

}

/* 右：キーワード検索 */
.search-hero__keyword {
  width: 50%;

  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.search-hero__keyword-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 10px 14px;
  border-radius: 8px;
  background-color: #f6eee7;
  height: 60px;
  position: relative;
}

.search-hero__keyword-inner .search-hero__icon-img {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-hero__keyword-input {
  border: none;
  background: transparent;
  font-size: 14px;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  font-weight: 600;
  text-align: center;
  padding: 0 54px;
  box-sizing: border-box;
}

.search-hero__keyword-input:focus {
  outline: none;
}

.search-hero__keyword-submit {
  position: absolute;
  top: auto;
  right: 20px;
  font-size: 12px;
  color: var(--color-main);
  background-color: #fff;
  border: 1px solid var(--color-main);
  border-radius: 8px;
  padding: 2px 8px;
  background: #fff;
  width: auto;
  height: auto;
  cursor: pointer;
  transition: all 0.3s ease;
}

@media (any-hover: hover) {
  .search-hero__keyword-submit:hover {
    background-color: var(--color-main);
    color: #fff;
  }
}

/* 下：エリアから探すバー */
.search-hero__area-trigger {
  width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 2px solid #d64034;
  background-color: #fff;
  color: #d64034;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .search-hero__card {
    padding: 20px 16px 16px;
    border-radius: 20px;
  }

  .search-hero__top {
    flex-direction: column;
  }

  .search-hero__btn,
  .search-hero__keyword-inner {
    width: 100%;
  }
}

.search-area-panel {
  margin-top: 40px;

  @media (max-width: 768px) {
    margin-top: 0;
  }
}

.search-area-panel__region {
  display: flex;
  flex-direction: column;
  gap: 28px;
  cursor: pointer;
}

.search-area-panel__region-summary {
  font-size: 20px;
  font-weight: 700;
  color: #C6A394;
  border-bottom: 1px solid #C6A394;
  padding-block: 28px 8px;
}

.search-area-panel__pref-summary {
  font-size: 18px;
  font-weight: 700;
  color: #C6A394;
  border-bottom: 1px solid #C6A394;
  padding-block: 28px 8px;
}

@media (max-width: 768px) {
  .search-area-panel__pref-summary {
    font-size: 1.8rem;
    padding: 8px 0;
  }
}

.area-shop {
  display: flex;
  border-bottom: 2px solid #EDEDED;
  padding-block: 20px;

  @media (max-width: 768px) {
    flex-direction: column;
    gap: 10px;
    padding-block: 15px;
  }
}

.area-shop__logo {
  width: 100px;
  align-content: center;
  aspect-ratio: 100 / 100;
  object-fit: cover;

  @media (max-width: 768px) {
    margin-inline: auto;
  }
}

.area-shop__body {
  max-width: 500px;
  width: 100%;
  margin-left: 10px;
  align-content: center;

  @media (max-width: 768px) {
    margin-left: 0;
  }
}

.area-shop__actions {
  display: flex;
  flex-direction: column;
  flex: 1 1 290px;
  gap: 16px;
  margin-left: 16px;

  @media (max-width: 768px) {
    flex: 1 1 100%;
    margin-left: 0;
    margin-top: 10px;
  }
}

.area-shop__btn {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  max-width: 290px;
  width: 100%;
  padding-block: 5px;
  border-radius: 4px;
  margin-left: auto;

  @media (max-width: 768px) {
    font-size: 16px;
    max-width: 100%;
  }
}

.area-shop__btn.area-shop__btn--web {
  color: #fff;
  background-color: var(--color-main);
  transition: opacity 0.2s ease;
}

.area-shop__btn.area-shop__btn--web:hover {
  opacity: 0.8;
}

.area-shop__btn.area-shop__btn--tel {
  color: var(--color-main);
  background-color: #fff;
  border: 1px solid var(--color-main);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.area-shop__btn.area-shop__btn--tel:hover {
  opacity: 0.8;
}

.area-shop__btn.area-shop__btn--recruit {
  color: #000;
  background-color: #EDEDED;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.area-shop__btn.area-shop__btn--recruit:hover {
  opacity: 0.8;
}


/* ==========================
   Search Result
========================== */

.search_page {
  background-image: none;
  background-color: #fff !important;
  padding-bottom: 140px;
  margin-top: 180px;

  @media (min-width: 768px) and (max-width: 1023px) {
    padding-bottom: 100px;
  }

  @media (max-width: 767px) {
    padding-bottom: 80px;
  }
}

.search_page .contents_wrap {
  max-width: 1130px;
  padding-inline: 25px;
  margin-inline: auto;
}

/* ==========================
   条件を指定する（アコーディオン）
========================== */

.area_filter-conditions {
  margin: 20px 0;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.accordion-hidden {
  display: none;
}

.accordion-open {
  display: block;
  padding: 12px 16px;
  background-color: #fff;
  border: 2px solid #d64034;
  border-radius: 8px;
  color: #d64034;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-open:hover {
  background-color: #d64034;
  color: #fff;
}

.filter-conditions-label {
  display: inline-block;
}

.accordion-content {
  display: none;
  margin-top: 16px;
  padding: 24px;
  background-color: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.accordion-hidden:checked~.accordion-content {
  display: block;
}

.accordion-hidden:checked~.accordion-open {
  background-color: #d64034;
  color: #fff;
}

.filter-conditions-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .filter-conditions-list {
    grid-template-columns: 1fr;
  }
}

.filter-conditions-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.filter-conditions-item:hover {
  background-color: #f0f0f0;
}

.filter-conditions-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #d64034;
}

.filter-conditions-item span {
  font-size: 14px;
  color: #333;
  user-select: none;
}

.filter-conditions-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .filter-conditions-actions {
    flex-direction: column;
  }
}

.filter-conditions-submit,
.filter-conditions-reset {
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.filter-conditions-submit {
  background-color: #d64034;
  color: #fff;
}

.filter-conditions-submit:hover {
  background-color: #c03024;
}

.filter-conditions-reset {
  background-color: #fff;
  color: #666;
  border: 1px solid #ccc;
}

.filter-conditions-reset:hover {
  background-color: #f5f5f5;
}