@charset "UTF-8";

.header-logo {
  width: 90px;
}

@media screen and (min-width: 992px) {
  .header-logo {
    width: 116px;
  }
}

/*ヘッダーお気に入りボタン*/
#header-fav-btn {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  border-radius: 25px;
  border: none;
  background-color: #EAEAEA;
  color: #909090;
  font-size: 14px;
  font-weight: bold;
  padding: 6px 12px 5px 16px;
}

#header-fav-btn .icon-heart-path {
  font-size: 15px;
  fill: #bcbcbc;
}

#header-fav-btn.is-active {
  background-color: #BF3F00;
  color: #fff;
}

#header-fav-btn.is-active .icon-heart-path {
  fill: #fff;
}

#fav-count {
  margin-left: 8px;
  /*display: grid;*/
  place-items: center;
  width: 24px;
  height: 24px;
  background-color: #fff;
  border-radius: 25px;
  color: #909090;
}

#header-fav-btn.is-active #fav-count {
  color: #222222;
}

@media screen and (min-width: 992px) {
  #header-fav-btn {
    padding: 9px 20px 8px 24px;
  }

  #fav-count {
    margin-left: 16px;
  }
}

/*ヘッダーお気に入りモーダル*/
.fav-modal-container {
  max-width: 900px;
  min-height: 80vh;
  margin-top: 120px;
}

.fav-modal-content {
  background-color: #F8F7F6;
  text-align: center;
}

.fav-modal-header {
  border-bottom: none;
}

.fav-modal-title {
  font-size: 1.5rem;
  margin-bottom: 40px;
}

.fav-modal-list-content {
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}


.fav-modal-non-list {
  text-align: start;
}

.fav-modal-non-list p {
  font-size: 1rem;
  margin-bottom: 0px;
}

.fav-modal-non-list p:first-child {
  font-size: 18px;
  margin-bottom: 0.75rem;
}

.fav-modal-footer {
  display: flex;
  justify-content: center;
  border-top: none;
  padding-block: 40px 50px;
}

.fav-modal-btn {
  width: 263px;
  color: #fff;
  background-color: #BF4000;
}

.fav-modal-non-btn {
  width: 263px;
  color: #222222;
}

.btn-arrow-between-white {
  display: inline-block;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  width: 7px;
  height: 7px;
  transform: rotate(-45deg);
}


@media screen and (min-width: 992px) {
  .fav-modal-container {
  margin-top: 100px;
}

  .fav-modal-non-btn {
    width: 300px;
  }
}

#fav-modal-list {
  width: 100%;
}

@media screen and (min-width: 992px) {
  #fav-modal-list {
    width: 400px;
  }
}

.fav-modal-list-item {
  display: flex;
  align-items: center;
  justify-content: start;
  margin-bottom: 20px;
}

.fav-modal-list-item-img {
  width: 106px;
  height: 106px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.fav-modal-list-item-img img {
  width: 106px;
  height: 106px;
  object-fit: cover;
}

.fav-modal-list-item-content {
  text-align: start;
  margin-inline-start: 30px;
}

.fav-modal-list-item-content h3 {
  font-size: 1rem;
  font-weight: bold;
}

.fav-modal-list-item-content p {
  font-size: 0.875rem;
}

.favorite-del-btn {
  padding: 0px;
  border: none;
  border-bottom: #909090 1px solid;
  background-color: transparent;
  color: #909090;
  font-size: 0.750rem;
}

/*工務店一覧ページ*/

/*お気に入りボタン*/

.favorite-btn {
  width: 42px;
  height: 42px;
  border-width: 0.5px;
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: #fff;
  cursor: pointer;
}

.favorite-btn svg {
    vertical-align: baseline;
}

/* 通常時のハート色をグレーに */
.favorite-btn .icon-heart-path {
  fill: #bcbcbc;
}

/* 押されたら赤くする例 */
.favorite-btn[aria-pressed="true"] .icon-heart-path {
  fill: #BF4000;
}

.favorite-btn img {
  width: 15px;
}

@media screen and (min-width: 992px) {
  .favorite-btn {
    bottom: 20px;
    right: 20px;
  }
}
