@charset "UTF-8";

/**
 * エリア検索用css
 */
.search_selectconts{
  margin-bottom: 80px;
}

.search_selectconts:last-of-type{
  margin-bottom: 56px;
}

.search_ttl01{
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 32px !important;
  line-height: 1.5 !important;
}

.search_listtag-clinic{
  margin-bottom: 32px;
}

.search_listtag-clinic ul{
  display: flex;
  flex-wrap: wrap;
  margin-left: 0;
}

.search_listtag-clinic ul li{
  width: calc(25% - 1px);
  margin-right: 1px;
  box-sizing: border-box;
  list-style-type: none;
}

.search_listtag-clinic ul li label{
  display: flex;
  background: #f0f0f0;
  box-sizing: border-box;
  padding: 16px;
  font-size: 16px;
  line-height: 2 !important;
}

.search_listtag-clinic ul li label.on{
  background: rgba(var(--tcd-accent-color, 0, 0, 0), 1);
  font-weight: bold;
  color: #fff;
}

.search_listtag-clinic ul li label input[type="radio"]{
  -webkit-appearance: none;
  display: none;
}

.search_listtag-area{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  position: relative;
}

.select_areabox{
  width: calc(25% - 1px);
  margin-right: 1px;
  box-sizing: border-box;
}

.select_parent{
  background: #fff;
  box-sizing: border-box;
  
}

.select_parent.on{
  background: rgba(var(--tcd-accent-color, 0, 0, 0), 1);
}

.select_parent button{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: none;
  padding: 16px;
  background: none;
  cursor: pointer;
  background: #f0f0f0;
  font-size: 16px;
  line-height: 2 !important;
  position: relative;
}

.select_parent button:after{
  content: "+";
  position: absolute;
  right: 12px;
  font-size: 24px;
  font-weight: normal;
  top: auto;
}

.select_parent button.on{
  background: rgba(var(--tcd-accent-color, 0, 0, 0), 1);
  font-weight: bold;
  color: #fff;
}

.select_parent button.on:after{
  content: "-";
  top: calc(50% - 1.05em);
  font-size: 32px;
}

.select_child-area{
  display: none;
  border: 1px solid rgba(var(--tcd-accent-color, 0, 0, 0), 1);
  background: rgba(var(--tcd-accent-color, 0, 0, 0), 0.1);
  box-sizing: border-box;
  padding: 24px;
  opacity: 0;
}

.select_child-area.on{
  display: flex !important;
  flex-wrap: wrap;
  width: 100%;
  position: absolute;
  left: 0;
  opacity: 1;
}

.select_child{
  margin-right: 24px;
}

.search_btn input[type="submit"]{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  background: rgba(var(--tcd-accent-color, 0, 0, 0), 1);
  border: none;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  border-radius: 4px;
  padding: 12px;
}

#error_message{
  display: block;
  text-align: center;
  margin-top: 16px;
}

#error_message p{
  color: #ff0000;
  line-height: 1.85;
}

/**
 * エリア検索結果css
 */
.review-search-none{
  width: 100%;
  max-width: 1000px;
  margin: 80px auto;
}

.review-search-none-text{
  border-bottom: 1px dashed #ccc;
  padding-bottom: 64px;
  margin-bottom: 80px;
}

.review-search-none-text {
  font-size: 16px;
  line-height: 2;
  text-align: center;
}


/* レスポンシブ・スマホ対応
************************************/
@media only screen and (max-width: 800px) {
  .search_selectconts{
    margin-bottom: 36px;
  }

  .search_selectconts:last-of-type{
    margin-bottom: 36px;
  }

  .search_ttl01{
    font-size: 18px;
    margin-bottom: 16px !important;
  }

  .search_listtag-clinic ul li{
    width: calc(50% - 1px);
    margin-right: 2px;
    margin-bottom: 2px;
  }

  .search_listtag-clinic ul li label,
  .select_parent button{
    font-size: 15px;
    padding: 10px 8px;
  }

  .search_listtag-clinic ul li:nth-of-type(2n){
    margin-right: 0;
  }

  .search_listtag-clinic ul li label{
    display: block;
    text-align: center;
    
  }

  .select_areabox{
    width: 100%;
    margin: 0 auto 2px;
  }

  .select_child-area{
    border: none;
    padding: 16px 12px;
  }

  .select_child-area.on{
    position: relative;
  }

  .select_child label{
    font-size: 15px;
  }

}