/* =========================================================
   SHOP SEARCH
========================================================= */

.shop-search-area {
  padding: 20px 20px 100px;
  color: #4e473f;
}

.shop-search-inner {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  box-sizing: border-box;
}


/* =========================================================
   HEADING
========================================================= */

.shop-search-heading {
  margin-bottom: 45px;
  text-align: center;
}

.shop-search-en {
  margin: 0 0 10px;
  color: #7d746c;
  font-size: 12px;
  letter-spacing: 0.18em;
	    font-family: 'Lexend Peta', sans-serif;
}

.shop-search-heading h1 {
  margin: 0;
  color: #3f3933;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.shop-search-lead {
  margin: 18px 0 0;
  color: #716a63;
  font-size: 14px;
  line-height: 1.8;
}


/* =========================================================
   SEARCH PANEL
========================================================= */

.shop-search-panel {
  width: 100%;
    max-width: 760px;
    margin: 0 auto 60px;
    padding: 38px 42px;
    background: #f3f3f3;
    box-sizing: border-box;
}


/* =========================================================
   KEYWORD SEARCH
========================================================= */

.shop-search-field > label {
  display: block;
  margin-bottom: 12px;
  color: #4e473f;
  font-size: 14px;
}

.shop-search-input-wrap {
  display: flex;
  width: 100%;
}

.shop-search-input-wrap input {
  height: 52px;
  min-width: 0;
  flex: 1;
  padding: 0 18px;
  border: 1px solid #c9c1b8;
  border-right: none;
  border-radius: 0;
  background: #fff;
  color: #444;
  font-size: 14px;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.shop-search-input-wrap input::placeholder {
  color: #aaa39c;
}

.shop-search-input-wrap input:focus {
  border-color: #5c4923;
  outline: none;
}

.shop-search-input-wrap button {
  width: 100px;
  height: 52px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: #5c4923;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: opacity 0.25s ease;
	    text-align: center;
}

.shop-search-input-wrap button:hover {
  opacity: 0.8;
}


/* =========================================================
   CURRENT LOCATION
========================================================= */

.location-button {
  display: flex;
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  padding: 13px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid #5c4923;
  border-radius: 0;
  background: #fff;
  color: #5c4923;
  font-size: 14px;
  cursor: pointer;
  box-sizing: border-box;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.location-button:hover {
  background: #f7f5f1;
}

.location-button:disabled {
  border-color: #c7c1bb;
  color: #999;
  cursor: default;
}

.location-icon {
  display: inline-block;
  margin-right: 7px;
  font-size: 18px;
  line-height: 1;
}


/* =========================================================
   FILTER
========================================================= */

.shop-filter-block {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #e1ddd8;
}

.shop-filter-title {
  margin: 0 0 14px;
  color: #4e473f;
  font-size: 13px;
  font-weight: 600;
}


/* =========================================================
   SHOP TYPE
========================================================= */

.shop-filter-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-filter-radio label {
  position: relative;
  flex: 1;
  margin: 0;
  cursor: pointer;
}

.shop-filter-radio input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.shop-filter-radio span {
  display: flex;
  width: 100%;
  min-height: 44px;
  padding: 10px 15px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbc3ba;
  background: #fff;
  color: #544b43;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.shop-filter-radio label:hover span {
  border-color: #5c4923;
}

.shop-filter-radio input:checked + span {
  border-color: #5c4923;
  background: #5c4923;
  color: #fff;
}

.shop-filter-radio input:focus-visible + span {
  outline: 2px solid #5c4923;
  outline-offset: 2px;
}


/* =========================================================
   SERVICE FILTER
========================================================= */

.shop-checkbox {
  display: inline-flex;
  margin: 0;
  align-items: center;
  gap: 9px;
  color: #544b43;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.shop-checkbox input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #5c4923;
}


/* =========================================================
   RESET
========================================================= */

.shop-reset-button {
  display: block;
  margin: 28px auto 0;
  padding: 5px 3px;
  border: none;
  border-bottom: 1px solid #8e857c;
  border-radius: 0;
  background: transparent;
  color: #71685f;
  font-size: 12px;
  cursor: pointer;
}

.shop-reset-button:hover {
  opacity: 0.7;
}


/* =========================================================
   RESULT HEADER
========================================================= */

.shop-result-head {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 14px;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid #ccc5bd;
}

#shop-result-message {
  margin: 0;
  color: #4e473f;
  font-size: 15px;
  line-height: 1.6;
}

#shop-result-count {
  margin: 0 0 2px 20px;
  color: #887f76;
  font-size: 12px;
  white-space: nowrap;
}


/* =========================================================
   RESULT LIST
========================================================= */

.shop-result-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}


/* =========================================================
   SHOP CARD
========================================================= */

.shop-card {
  display: flex;
  min-width: 0;
  min-height: 280px;
  padding: 28px;
  flex-direction: column;
  background: #fff;
  box-sizing: border-box;
}


/* 店舗種別 */

.shop-type-label {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 15px;
  padding: 5px 10px;
  background: #5c4923;
  color: #fff;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.05em;
}


/* 取扱店 */

.shop-type-label.dealer {
      background: #707070;
}


/* 直営店 */

.shop-type-label.direct {
      background: #7f8ec6;
}


/* 店舗名 */

.shop-card-title {
  margin: 0;
  color: #403a35;
      font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.6;
}


/* 住所 */

.shop-address {
  margin: 12px 0 0;
  color: #6d665f;
  font-size: 1.2rem;
  line-height: 1.8;
}


/* 電話 */

.shop-tel {
  display: inline-block;
  align-self: flex-start;
  margin-top: 10px;
  color: #5c4923;
  font-size: 12px;
  line-height: 1.6;
  text-decoration: none;
}

.shop-tel:hover {
  text-decoration: underline;
}


/* 現在地からの距離 */

.shop-distance {
  margin: 12px 0 0;
  color: #76695b;
  font-size: 12px;
  line-height: 1.5;
}


/* トリートメント */

.shop-treatment {
  display: inline-block;
    align-self: flex-start;
    margin: 15px 0 0;
    padding: 5px 9px;
    background: #f0ede8;
    border: 1px solid #aaa096;
    color: #5c4923;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 5px;
}


/* =========================================================
   CARD BUTTON
========================================================= */

.shop-card-buttons {
  display: flex;
  margin-top: auto;
  padding-top: 25px;
  gap: 8px;
}

.shop-detail-button,
.shop-map-button {
  display: flex;
  min-height: 42px;
  padding: 8px 10px;
  flex: 1;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease;
}

.shop-detail-button {
  border: 1px solid #5c4923;
  background: #5c4923;
  color: #fff;
}

.shop-detail-button:hover {
  opacity: 0.8;
}

.shop-map-button {
  border: 1px solid #aaa096;
  background: #fff;
  color: #5c4923;
}

.shop-map-button:hover {
  background: #f7f5f1;
}


/* =========================================================
   NO RESULT
========================================================= */

.shop-no-result {
  grid-column: 1 / -1;
  padding: 70px 20px;
  background: #fff;
  color: #655d56;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}


/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 900px) {

  .shop-search-inner {
    max-width: 760px;
  }

}


/* =========================================================
   SMARTPHONE
========================================================= */

@media screen and (max-width: 640px) {

  .shop-search-area {
    padding: 45px 15px 70px;
  }


  /* heading */

  .shop-search-heading {
    margin-bottom: 30px;
  }

  .shop-search-en {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .shop-search-heading h1 {
    font-size: 24px;
  }

  .shop-search-lead {
    margin-top: 14px;
    font-size: 12px;
  }


  /* search panel */

  .shop-search-panel {
    margin-bottom: 40px;
    padding: 25px 18px;
  }

  .shop-search-field > label {
    font-size: 13px;
  }

  .shop-search-input-wrap input {
    height: 48px;
    padding: 0 12px;
    font-size: 13px;
  }

  .shop-search-input-wrap button {
    width: 70px;
    height: 48px;
    font-size: 12px;
  }


  /* current location */

  .location-button {
    min-height: 48px;
    font-size: 13px;
  }


  /* filters */

  .shop-filter-block {
    margin-top: 25px;
    padding-top: 22px;
  }

  .shop-filter-radio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }

  .shop-filter-radio label {
    width: 100%;
  }

  .shop-filter-radio span {
    min-height: 42px;
    padding: 8px 4px;
    font-size: 11px;
  }


  /* result header */

  .shop-result-head {
    margin-bottom: 15px;
    align-items: center;
  }

  #shop-result-message {
    font-size: 13px;
  }

  #shop-result-count {
    font-size: 11px;
  }


  /* list */

  .shop-result-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }


  /* card */

  .shop-card {
    min-height: 0;
    padding: 23px 19px;
  }

  .shop-type-label {
    margin-bottom: 12px;
  }

  .shop-card-title {
    font-size: 15px;
  }

  .shop-address {
    font-size: 12px;
  }


  /* buttons */

  .shop-card-buttons {
    margin-top: 20px;
    padding-top: 0;
  }

  .shop-detail-button,
  .shop-map-button {
    min-height: 42px;
  }


  /* no result */

  .shop-no-result {
    padding: 50px 15px;
    font-size: 13px;
  }

}