@charset "utf-8";
/* CSS Document */

/* ---------- shop search page ---------- */
.main-wrap {
  width:100%;
  margin: 0 auto;
  align-items: flex-start;
  gap: clamp(34px, 5vw, 72px);
}

.main-wrap .search_list {
  width: clamp(180px, 18vw, 230px);
  flex: none;
  padding-right: 0;
}

.main-wrap .animal_list {
  flex: 1;
  width: auto;
  min-width: 0;
}

/* ---------- search side ---------- */
.search_list .search-area-wrapper {
  padding: 0 0 22px !important;
  margin-bottom: 24px !important;
  border: none !important;
  border-bottom: 1px dotted rgba(123, 93, 80, 0.38) !important;
  background: transparent !important;
}

.search_list .search-subtitle ,.search_list .search-title{
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: none;
}

.search_list .search-subtitle,.search_list .search-title {
  color: #7b5d50;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.search_list .search-contents-wrapper {
  display: grid;
  gap: 12px;
}

.search_list label {
  display: flex ;
  align-items: center;
  gap: 9px;
  margin: 0 !important;
  color: #7b5d50;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.search_list input[type="checkbox"] {
  position: relative;
  width: 15px;
  aspect-ratio: 1 / 1;
  flex: none;
  margin: 0 !important;
  border: 1px solid #b9b9b9;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
}

.search_list input[type="checkbox"]::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 5px;
  height: 8px;
  border-right: 1px solid #999;
  border-bottom: 1px solid #999;
  transform: rotate(45deg);
}

.search_list input[type="checkbox"]:checked {
  border-color: #7bc4df;
  background: #7bc4df;
}

.search_list input[type="checkbox"]:checked::after {
  border-color: #fff;
}

.search_list .search-submit {
  width: 100%;
  padding: 13px 20px;
  border: none;
  border-radius: 999px;
  outline: none;
  background: #ef7fab;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: ease 0.3s;
}

.search_list .search-submit:hover {
  opacity: 0.85;
}

/* ---------- shop list ---------- */
/* ---------- shop list ---------- */
.animal_list .webgene-blog {
  display: grid;
  gap: clamp(54px, 6vw, 76px);
}

.animal_list .webgene-item {
  width: 100%;
}

/* 新HTML */
.animal_list .shop_item {
  align-items: center;
  gap: clamp(34px, 5vw, 62px);
}

/* 旧HTMLも同じ見た目に寄せる */
.animal_list .webgene-item > a {
  display: grid !important;
  grid-template-columns: minmax(320px, 48%) 1fr;
  grid-template-areas:
    "img box1"
    "img box2"
    "img box3";
  align-items: center;
  gap: 14px clamp(34px, 5vw, 62px);
  text-decoration: none;
}

/* 画像：新HTMLではリンク要素が画像幅を保持する */
.animal_list .shop_item > .shop-detail-link,
.animal_list .shop_item > .imgbox,
.animal_list .webgene-item > a > .imgbox {
  width: min(48%, 540px);
  flex: none;
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  border-radius: clamp(34px, 5vw, 62px);
}

.animal_list .shop-detail-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.animal_list .shop-detail-link .imgbox {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.animal_list .webgene-item > a > .imgbox {
  grid-area: img;
  width: 100%;
}

.animal_list .imgbox img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.animal_list .shop-detail-link:hover .imgbox img {
  opacity: 0.85;
  transform: scale(1.02);
}

/* テキスト側 */
.animal_list .shop_txtbox {
  flex: 1;
  min-width: 0;
}

.animal_list .webgene-item > a > .box1 {
  grid-area: box1;
  display: flex !important;
  flex-direction: column-reverse;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 14px;
}

/* 店舗ラベル */
.animal_list .shop .check-item{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 7px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #f5ce69;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.animal_list .webgene-item > a .shop {
  margin-bottom: 0;
}

/* 店名 */
.animal_list .shop-name-link {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.animal_list .shop_txtbox h2,
.animal_list .webgene-item > a .box1 h2 {
  color: #7b5d50;
  margin-bottom: clamp(16px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.animal_list .shop-name-link:hover h2 {
  color: #ef7fab;
}


.animal_list .webgene-item > a > .box2 {
  grid-area: box2;
}
.animal_list .box2 {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(188px, 1fr));
  gap: 12px 14px;
  margin-bottom: clamp(18px, 2.5vw, 28px);
}

.animal_list .box2 .check-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(38px, 3.5vw, 46px);
  width: 100%;
  min-width: 0;
  padding: 6px clamp(12px, 1.8vw, 20px);
  border: 1px solid #ef7fab;
  border-radius: 999px;
  box-sizing: border-box;
  background: rgba(239, 127, 171, 0.1);
  color: #7b5d50;
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-align: center;
  white-space: normal;
}
.animal_list .box2 .check-item span {
  color: #ef7fab;
  font-family: "Quicksand", sans-serif;
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 700;
  line-height: 1;
  margin-right: 10px;
  letter-spacing: 0.04em;
}
/* 旧HTMLのサービスを4つに見せる */
.animal_list .webgene-item > a > .box2 .check-item {
  font-size: 0;
}

.animal_list .webgene-item > a > .box2 .check-item:nth-child(1)::before {
  content: "01 トリマー";
  font-size: 14px;
}

.animal_list .webgene-item > a > .box2 .check-item:nth-child(2)::before {
  content: "02 シッター";
  font-size: 14px;
}

.animal_list .webgene-item > a > .box2::before,
.animal_list .webgene-item > a > .box2::after {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #ef7fab;
  border-radius: 999px;
  box-sizing: border-box;
  color: #7b5d50;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.animal_list .webgene-item > a > .box2::before {
  content: "03 トレーナー";
}

.animal_list .webgene-item > a > .box2::after {
  content: "04 カヌサポ";
}

/* ボタン */
.animal_list .box3 {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
    justify-content: flex-start;
}

.animal_list .webgene-item > a > .box3 {
  grid-area: box3;
}

/* 新HTML */
.animal_list .box3 .btn_pink a {
  min-width: clamp(150px, 14vw, 190px);
  padding: 13px 18px;
}

.animal_list .box3 .btn_pink img {
  width: 22px;
}

/* 旧HTMLのbox3もボタン風 */
.animal_list .webgene-item > a > .box3 p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(150px, 14vw, 190px);
  padding: 13px 18px;
  border-radius: 999px;
  background: #ef7fab;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

/* 旧HTMLに予約ボタン風を追加 */
.animal_list .webgene-item > a > .box3::after {
  content: "ご予約はこちら";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(150px, 14vw, 190px);
  padding: 13px 18px;
  border-radius: 999px;
  background: #ef7fab;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

/* ---------- responsive ---------- */
@media screen and (max-width: 900px) {
  .animal_list .shop_item {
    display: block;
  }

  .animal_list .shop_item > .shop-detail-link,
  .animal_list .shop_item > .imgbox {
    width: 100%;
    margin-bottom: 22px;
  }

  .animal_list .webgene-item > a {
    grid-template-columns: 1fr;
    grid-template-areas:
      "img"
      "box1"
      "box2"
      "box3";
  }
}


.webgene-pagination {
  width: 100%;
  padding-top: 50px;
}
.webgene-pagination ul {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -webkit-box-lines: multiple;
  -moz-box-lines: multiple;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 30px;
}
.webgene-pagination ul a {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -webkit-box-lines: multiple;
  -moz-box-lines: multiple;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  color: #333;
  text-align: center;
  letter-spacing: 0;
  background-color: transparent;
  width: 46px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 500;
  border: 1px solid #0A183E;
}
.webgene-pagination ul a:hover {}
.webgene-pagination ul .selected a {
  pointer-events: none;
  background-color: #0A183E;
  border-color: #0A183E;
  border: none;
  color: #fff;
}
.webgene-pagination ul a {
  border-color: #ef7fab;
  color: #ef7fab;
  font-family: inherit;
  font-weight: 700;
  transition: ease 0.3s;
}

.webgene-pagination ul a:hover,
.webgene-pagination ul .selected a {
  background: #ef7fab;
  border-color: #ef7fab;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .main-wrap {
    display: block !important;
    width: 100%;
  }

  .main-wrap .search_list {
    width: 100%;
    margin-bottom: 44px;
  }

  .main-wrap .animal_list {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .search_list .webgene-search-form-block {
    padding-bottom: 20px !important;
    margin-bottom: 28px !important;
    border-bottom: 1px solid rgba(123, 93, 80, 0.22) !important;
  }

  .search_list .search-subtitle {
    padding-bottom: 8px;
    margin-bottom: 12px;
  }

  .search_list .search-subtitle .search-title {
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .search_list .search-contents-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
  }

  .search_list label {
    display: inline-flex !important;
    align-items: center;
    width: auto;
    gap: 7px;
    margin: 0 !important;
    font-weight: 500;
    letter-spacing: 0.04em;
  }

  .search_list .search-submit {
    width: min(180px, 100%);
    margin: 36px auto 0;
    padding: 13px 24px;
  }
}
