﻿@charset "utf-8";

/*==================================================
  GENERAL SETTINGS
==================================================*/
.indexWire {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

.btn_archive {
  text-align: center;
}

.btn_archive a {
  display: block;
  width: 90%;
  max-width: 250px;
  margin: 0 auto;
  background: var(--color-black);
  color: #FFF;
  padding: 20px 0;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
  border-radius: 3px;
  position: relative;
}

.btn_archive a::after {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-left: 5px solid #fff;
  top: 50%;
  right: 3%;
  transform: translateY(-50%);
}

/*==================================================
  TITLE COMMON
==================================================*/
.eventBox,
.searchBox,
.pickupBox,
.galleryBox,
.shopInfoBox,
.noticeBox {
  padding: 50px 0;
}

.eventBox__ttl img {
  max-width: 186px;
  width: 90%;
}

.searchBox__ttl img {
  max-width: 165px;
  width: 90%;
}

.pickupBox {
  position: relative;
  padding: 80px 0;
}

.pickupBox__ttl img {
  max-width: 400px;
  width: 90%;
}

.recomBox__ttl img {
  max-width: 450px;
  width: 90%;
}

.galleryBox__ttl img {
  max-width: 474px;
  width: 90%;
}

.topicsBox__ttl img {
  max-width: 96px;
  width: 90%;
}

.columnBox__ttl img {
  max-width: 79px;
  width: 90%;
}

/*
===== SLIDER ==========================================
*/
.indexmainBox {
  max-height:500px;
  overflow: hidden;
}

.indexmainBox .slick-list.draggable {
  width: 100%;
}

.indexmainBox__wrap {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

/*dots*/
.indexmainBox .slick-dots {
  bottom: 20px;
}

.slick-dots li,
.slick-dots li button {
  width: 16px !important;
  height: 16px !important;
}

.slick-dots li button:before {
  content: "" !important;
  width: 13px !important;
  height: 13px !important;
  border-radius: 8px;
  opacity: 1 !important;
}

.indexmainBox .slick-dots li.slick-active button:before {
  background: #FFED26;
}

.indexmainBox .slick-dots li button:before {
  background: #fff;
}

.bannerWrap {
  text-align: center;
  margin: 30px auto 0;
  max-width: 1080px;
}

.slick-list.draggable {
  width: calc(100% - 100px);
  overflow: hidden;
  margin: 0 auto;
}

/*
===== EVENTBOX ==========================================
*/
.eventBox__ttl {
  text-align: center;
  margin-bottom: 30px;
}

.eventBox__inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.eventBox__inner .slick-initialized {
  min-height: 200px;
}

.eventBox__list {
  display: -webkit-flex;
  /* Safari */
  display: flex;
  -webkit-flex-wrap: nowrap;
  /* Safari */
  flex-wrap: nowrap;
  -webkit-justify-content: center;
  /* Safari */
  justify-content: center;
  position: relative;
  gap: 25px;
}

.eventBox__item {
  width: calc((100% - 60px) / 3);
  max-width: 300px;
  position: relative;
  margin: 0 10px;
}

.eventBox__item a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  background: var(--color-palegray);
}

.eventBox__photo {
  aspect-ratio: 3/ 2;
  overflow: hidden;
}

.eventBox__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eventBox__detail {
  padding: 10px;
}

.eventBox__iconWrap {
  display: block;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
}

.eventBox__iconWrap span {
  min-width: 40px;
  display: inline-block;
  text-align: center;
  margin: 0 auto;
  line-height: 1;
  padding: 10px;
}

.eventBox__itemTtl {
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.eventBox__date {
  margin: 5px 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.eventBox__intro {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.eventBox__btn {
  margin-top: 50px;
}

/*
===== SEARCHBOX ==========================================
*/

.searchBox {
  position: relative;
  overflow: hidden;
  background: var(--color-paleorange);
}

.searchBox::before {
  content: "";
  position: absolute;
  background: url(../img/index/illust_search_01.webp) bottom center / cover;
  width: 100%;
  height: auto;
  aspect-ratio: 1437 / 93;
  bottom: 0;
}

.searchBox__ttl {
  text-align: center;
  margin-bottom: 30px;
}

.searchBox__container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1080px;
  gap: 20px;
}

/*
----- 物件数リスト --------------------
*/
.estateCountBox {
  max-width: 420px;
  width: calc(40% - 20px);
  background: rgba(255,255,255,.8);
  padding: 40px 0 20px;
}

.estateCountBox__totalBox {
  padding: 0 40px 20px;
}

.estateCountBox__totalWrap {
  display: flex;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
}

.estateCountBox__totalWrap:not(:first-child) {
  margin-top: 20px;
}

.estateCountBox__totalTtl {
  max-width: 170px;
  width: 52%;
  padding: 10px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  margin-right: 8px;
}

.estateCountBox__totalNumBox {
  font-weight: bold;
  font-size: 18px;
}

.estateCountBox__num {
  font-size: 36px;
  line-height: 1;
}

.estateCountBox__totalTtl--current {
  border: 2px solid var(--color-black);
  color: #fff;
  background-color: var(--color-black);
}

.estateCountBox__totalTtl--today {
  border: 2px solid var(--color-black);
  background-color: #fff;
}

.estateCountBox__detailBox {
  border:1px solid var(--color-black);
  margin: 0 18px;
  padding: 30px;
}

.estateCountBox__detailWrap {
  display: flex;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
  margin-bottom: 10px;
}

.estateCountBox__detailWrap:not(:first-child) {
  margin-top: 20px;
}

.estateCountBox__detailTtl,
.estateCountBox__detailNumBox {
  font-weight: bold;
  font-size: 18px;
}

.estateCountBox__detailTtl i {
  margin-right: 5px;
}

.estateCountBox__detailWrap--general i {
  color: var(--color-black);
}

.estateCountBox__detailWrap--member i {
  color: var(--color-red);
}

.estateCountBox__detailWrap--shop i {
  color: var(--color-blue);
}

.estateCountBox__btn {
  color: #fff;
  display: block;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  padding: 8px 0 10px;
  border-radius: 3px;
  position: relative;
}

.estateCountBox__btn::after {
  position: absolute;
  content: '';
  width: 10px;
  height: 10px;
  border: 5px solid transparent;
  border-left: 5px solid #fff;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
}

.estateCountBox__btnTxt {
  font-size: 14px;
}

.estateCountBox__btn--emember {
  background-color: var(--color-red);
}

.estateCountBox__btn--shoprsv {
  background-color: var(--color-blue);
  border: 1px solid var(--color-blue);
}

.estateCountBox__btn--member {
  background-color: #fff;
  color: var(--color-red);
  padding: 18px 0;
  border: 1px solid var(--color-red);
  position: relative;
}

.estateCountBox__btn--member::after {
  border-left: 5px solid var(--color-orange);
}

/*
----- areasearchBox rightCont --------------------
*/
.searchBox__rightCont {
  max-width: 640px;
  width: 60%;
}

.areasearchBox__tabList {
  width: 100%;
  border-bottom: 5px solid var(--color-black);
  background: url(../img/index/areasearchBox_tab_bg.webp) no-repeat 15px center;
  display: flex;
  -webkit-flex-wrap: nowrap;
  /* Safari */
  flex-wrap: nowrap;
  -webkit-justify-content: flex-end;
  /* Safari */
  justify-content: flex-end;
  gap: 2px;
  margin-bottom: 5px;
}

.areasearchBox__tabItem {
  max-width: 140px;
  width: calc((100% - 70px) / 4);
  background-color: var(--color-palegray);
  color: var(--color-darkgray);
  font-size: 1.4rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 12px 5px;
}

@media (any-hover:hover) {
  .areasearchBox__tabItem:hover {
    cursor: pointer;
    opacity: 0.7;
  }
}

.areasearchBox__tabItem.active {
  background-color: var(--color-black);
  color: #fff;
}

.areasearchBox__tabTxt {
  line-height: 1.1;
}

.areasearchBox__mapBox {
  width: 100%;
  height: 500px;
  background: url(../img/index/areasearchBox_map1.webp) center no-repeat;
  position: relative;
}

.areasearchBox__mapItem {
  text-decoration: none;
  display: block;
}

.areasearchBox__mapItemTtl,
.areasearchBox__mapItemNumBox {
  font-weight: bold;
  text-align: center;
  line-height: 1;
}

.areasearchBox__mapItemTtl {
  margin-bottom: 5px;
  font-size: 22px;
  white-space: pre-wrap
}

.areasearchBox__mapItemNumBox {
  font-size: 18px;
}

.areasearchBox__mapItemNum {
  font-family: Arial, Helvetica, 'sans-serif';
  font-size: 24px;
  line-height: 1;
}

@media screen and (min-width: 768px) {

  .areasearchBox__mapItem {
    position: absolute;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff;
  }
  
  /*加古川市*/
  .areasearchBox__mapBox .c-28210{
    top: 227px;
    left: 40%;
    transform: translateX(calc(-50% + 135px));
  }
  
  /*高砂市*/
  .areasearchBox__mapBox .c-28216{
    top: 255px;
    left: 58%;
    transform: translateX(calc(-50% - 120px));
  }
  
  /*播磨町*/
  .areasearchBox__mapBox .c-28382{
    top: 430px;
    left: 64%;
    transform: translateX(calc(-50% + 14px));
  }

  /*稲美町*/
  .areasearchBox__mapBox .c-28381{
    top: 344px;
    left: 84%;
    transform: translateX(calc(-50% + 14px));
  }

  /*加西市*/
  .areasearchBox__mapBox .c-28220{
    top: 24px;
    left: 58%;
    transform: translateX(calc(-50% + 14px));
  }

  /*姫路市別所町*/
  .areasearchBox__mapBox .c-bessho{
    top: 174px;
    left: 27%;
    transform: translateX(calc(-50% + 14px));
  }

  .areasearchBox__mapBox .c-bessho .areasearchBox__mapItemTtl,
  .areasearchBox__mapBox .c-bessho .areasearchBox__mapItemNumBox {
    line-height: 1.2;
  }

  /*姫路市大塩町*/
  .areasearchBox__mapBox .c-oshio{
    top: 374px;
    left: 16%;
    transform: translateX(calc(-50% + 14px));
  }

  /*姫路市その他*/
  .areasearchBox__mapBox .c-28201{
    top: 54px;
    left: 13%;
    transform: translateX(calc(-50% + 14px));
  }

  .areasearchBox__mapBox .c-28201 .areasearchBox__mapItemTtl {
    font-size: 20px;
  }

  /*補助線*/
  .areasearchBox__mapBox .c-oshio::before {
    position: absolute;
    content: '';
    width: 40px;
    border-top: 1px solid var(--color-black);
    transform: rotate(-60deg);
    top: 40px;
    left: 40px;
  }
  .areasearchBox__mapBox .c-oshio::before{
    width:65px;
    top:-37px;
    left:92px;
  }

}


/*物件検索へのボタン*/
.searchBox__linkBtnWrap {
  max-width: 1080px;
  width: 100%;
  margin: 20px auto;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  gap: 20px;
}

.searchBox__linkBtn {
  background-color: var(--color-black);
  color: #fff;
  border-radius: 3px;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  max-width: 370px;
  width: 90%;
  height: 70px;
  border: 1px solid #fff;
  box-shadow: 10px 10px 0 rgba(0,0,0,.5);
  position: relative;
}

.searchBox__linkBtn::after {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-left: 5px solid #fff;
  top: 50%;
  right: 3%;
  transform: translateY(-50%);
}

.searchBox__linkBtnTxt {
  font-size: 14px;
}

.searchBox__linkBtn--station {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*
===== RECOMBOX 注目物件／リフォーム済みおすすめ物件 ==========================================
*/

.recomBox {
  background: url(../img/index/recBox_re_bg.webp) no-repeat top center/cover;
}

.pickupBox__ttl,
.recomBox__ttl {
  text-align: center;
  margin-bottom: 30px;
}

.recom .wrap {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.recomBox .wrap {
  padding: 50px 0;
}

.recom #itemList {
  position: relative;
  display: flex;
  justify-content: center;
}

.recom .item {
  width: 300px;
  background: #FFF;
  border: solid 1px #999999;
  position: relative;
  margin: 0 10px;
}

/*会員限定物件*/
.recomBox.recom .item.emember {
  border: none;
}

.recom .item.emember .memberItem {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 450px;
}

.recom .item.emember .memberItem__body {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.recom .item.emember .memberItem__txt {
  font-size: 18px;
  margin-bottom: 15px;
}

.recom .item.emember .memberItem__btn {
  font-size: 18px;
  line-height: 1;
  font-feature-settings: 'palt';
  letter-spacing: 0.1em;
  max-width: 240px;
  width: 100%;
}

.recom .item.emember .memberItem__btnTxt {
  padding: 20px;
}

.recom .item.emember .memberItem__btnTxt::after {
  right: 2%;
}

/*会員限定物件のぼかし*/
/*スタッフコメント有(注目物件)*/
.pickupBox .staff .item.emember.land:nth-of-type(3n-2) .memberItem {
  background: url(../img/basic/btn_prpregist02_land01.webp) no-repeat center / cover;
}

.pickupBox .staff .item.emember.land:nth-of-type(3n-1) .memberItem {
  background: url(../img/basic/btn_prpregist02_land02.webp) no-repeat center / cover;
}

.pickupBox .staff .item.emember.land:nth-of-type(3n) .memberItem {
  background: url(../img/basic/btn_prpregist02_land03.webp) no-repeat center / cover;
}

.pickupBox .staff .item.emember.house:nth-of-type(3n-2) .memberItem {
  background: url(../img/basic/btn_prpregist02_house01.webp) no-repeat center / cover;
}

.pickupBox .staff .item.emember.house:nth-of-type(3n-1) .memberItem  {
  background: url(../img/basic/btn_prpregist02_house02.webp) no-repeat center / cover;
}

.pickupBox .staff .item.emember.house:nth-of-type(3n) .memberItem {
  background: url(../img/basic/btn_prpregist02_house03.webp) no-repeat center / cover;
}

.pickupBox .staff .item.emember.mansion:nth-of-type(3n-2) .memberItem,
.pickupBox .staff .item.emember.otherAll:nth-of-type(3n-2) .memberItem,
.pickupBox .staff .item.emember.otherPart:nth-of-type(3n-2) .memberItem {
  background: url(../img/basic/btn_prpregist02_mansion01.webp) no-repeat center / cover;
}

.pickupBox .staff .item.emember.mansion:nth-of-type(3n-1) .memberItem,
.pickupBox .staff .item.emember.otherAll:nth-of-type(3n-1) .memberItem,
.pickupBox .staff .item.emember.otherPart:nth-of-type(3n-1) .memberItem {
  background: url(../img/basic/btn_prpregist02_mansion02.webp) no-repeat center / cover;
}

.pickupBox .staff .item.emember.mansion:nth-of-type(3n) .memberItem,
.pickupBox .staff .item.emember.otherAll:nth-of-type(3n) .memberItem,
.pickupBox .staff .item.emember.otherPart:nth-of-type(3n) .memberItem {
  background: url(../img/basic/btn_prpregist02_mansion03.webp) no-repeat center / cover;
}

/*スタッフコメント無(注目物件にコメントなし・リノベ済みおすすめ物件)*/
.pickupBox .item.emember.land:nth-of-type(3n-2) .memberItem,
.recomBox .item.emember.land:nth-of-type(3n-2) .memberItem {
  background: url(../img/basic/btn_prpregist_land01.webp) no-repeat center / cover;
}

.pickupBox .item.emember.land:nth-of-type(3n-1) .memberItem,
.recomBox .item.emember.land:nth-of-type(3n-1) .memberItem {
  background: url(../img/basic/btn_prpregist_land02.webp) no-repeat center / cover;
}

.pickupBox .item.emember.land:nth-of-type(3n) .memberItem,
.recomBox .item.emember.land:nth-of-type(3n) .memberItem {
  background: url(../img/basic/btn_prpregist_land03.webp) no-repeat center / cover;
}

.pickupBox .item.emember.house:nth-of-type(3n-2) .memberItem,
.recomBox .item.emember.house:nth-of-type(3n-2) .memberItem {
  background: url(../img/basic/btn_prpregist_house01.webp) no-repeat center / cover;
}

.pickupBox .item.emember.house:nth-of-type(3n-1) .memberItem,
.recomBox .item.emember.house:nth-of-type(3n-1) .memberItem {
  background: url(../img/basic/btn_prpregist_house02.webp) no-repeat center / cover;
}

.pickupBox .item.emember.house:nth-of-type(3n) .memberItem,
.recomBox .item.emember.house:nth-of-type(3n) .memberItem {
  background: url(../img/basic/btn_prpregist_house03.webp) no-repeat center / cover;
}

.pickupBox .item.emember.mansion:nth-of-type(3n-2) .memberItem,
.pickupBox .item.emember.otherAll:nth-of-type(3n-2) .memberItem,
.pickupBox .item.emember.otherPart:nth-of-type(3n-2) .memberItem,
.recomBox .item.emember.mansion:nth-of-type(3n-2) .memberItem,
.recomBox .item.emember.otherAll:nth-of-type(3n-2) .memberItem,
.recomBox .item.emember.otherPart:nth-of-type(3n-2) .memberItem {
  background: url(../img/basic/btn_prpregist_mansion01.webp) no-repeat center / cover;
}

.pickupBox .item.emember.mansion:nth-of-type(3n-1) .memberItem,
.pickupBox .item.emember.otherAll:nth-of-type(3n-1) .memberItem,
.pickupBox .item.emember.otherPart:nth-of-type(3n-1) .memberItem,
.recomBox .item.emember.mansion:nth-of-type(3n-1) .memberItem,
.recomBox .item.emember.otherAll:nth-of-type(3n-1) .memberItem,
.recomBox .item.emember.otherPart:nth-of-type(3n-1) .memberItem {
  background: url(../img/basic/btn_prpregist_mansion02.webp) no-repeat center / cover;
}

.pickupBox .item.emember.mansion:nth-of-type(3n) .memberItem,
.pickupBox .item.emember.otherAll:nth-of-type(3n) .memberItem,
.pickupBox .item.emember.otherPart:nth-of-type(3n) .memberItem,
.recomBox .item.emember.mansion:nth-of-type(3n) .memberItem,
.recomBox .item.emember.otherAll:nth-of-type(3n) .memberItem,
.recomBox .item.emember.otherPart:nth-of-type(3n) .memberItem {
  background: url(../img/basic/btn_prpregist_mansion03.webp) no-repeat center / cover;
}

/*一般公開物件*/
.recom .item>a {
  width: 100%;
  height: 100%;
  display: block;
  padding: 10px;
}

.recom .item .inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.recom .item .box01 {
  padding-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.recom .item .box01 .icon img {
  width: 50px;
  aspect-ratio: 5 / 2;
  display: inline-block !important;
  margin-right: 3px;
}

.recom .item .box01 .price {
  color: var(--color-orange);
  font-weight: bold;
  font-size: 12px;
  flex-shrink: 0;
}

.recom .item .box01 .price span {
  font-size: 18px;
  line-height: 1.3;
}

.recom .item .photo {
  text-align: center;
}

.recom .item .photo img {
  width: 100%;
  height: 185px;
  display: block;
  margin: 0 auto;
}

.recom .item .info {
  padding: 10px;
  flex-grow: 1;
}

.recom .item .info h3.ttl {
  color: #333;
  font-size: 16px;
  font-weight: bold;
}

.recom .item .info .details {
  min-height: 60px;
}

.recom .item .payment_pay {
  margin: 0 20px;
  padding: 10px 0 5px;
}

.recom .item .payment_pay dl {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.recom .item .payment_pay dt,
.recom .item .payment_pay dd {
  font-weight: bold;
  line-height: 1;
}

.recom .item .payment_pay dd span {
  font-size: 16px;
  margin: 0 3px;
}

.recom .item .payment_pay .payment_txt {
  padding: 5px;
  font-size: 12px;
  text-align: center;
  background: var(--color-palegray);
  margin-top: 10px;
  line-height: 1;
}

/* スタッフコメント */
.recom .item .staffComment {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px dotted #ccc;
  border-bottom: 1px dotted #ccc;
}

.recom .item .staffComment_img {
  width: 75px;
  height: auto;
  aspect-ratio: 1 / 1;
}

.recom .item .staffComment_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recom .item .staffComment_txtBox {
  width: calc(100% - 75px);
  padding: 0 8px;
  text-align: left;
}

.recom .item .staffComment_name {
  font-size: 1.4rem;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recom .item .staffComment_txt {
  font-size: 1.3rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/*
===== GALLERYBOX ==========================================
*/
.galleryBox__ttl {
  text-align: center;
  margin-bottom: 30px;
}

.galleryBox__inner {
  width: 96%;
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
}

.galleryBox__inner .slick-initialized {
  min-height: 200px;
}

.galleryBox__list {
  display: -webkit-flex;
  /* Safari */
  display: flex;
  -webkit-flex-wrap: nowrap;
  /* Safari */
  flex-wrap: nowrap;
  -webkit-justify-content: center;
  /* Safari */
  justify-content: center;
  position: relative;
}

.galleryBox__item {
  max-width: 300px;
  width: calc((100% - 40px)/ 3);
  text-align: center;
  position: relative;
  margin: 0 10px;
}

.galleryBox__item a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  background: var(--color-palegray);
}

.galleryBox__photo img {
  width: 100%;
  height: 200px;
}

.galleryBox__detail {
  padding: 10px;
  border-top: none;
}

.galleryBox__detailTtl {
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.galleryBox__detailDataWrap {
  margin: 5px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.galleryBox__detailDataTtl {
  width: 47%;
  text-align: left;
}

.galleryBox__detailData {
  width: 53%;
}

.galleryBox__detailDataSubTxt {
  display: block;
  font-size: 0.9em;
  line-height: 1.2;
}

.galleryBox__iconWrap {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.galleryBox .cate_syubetu {
  padding: 10px !important;
  background: var(--color-main);
  border: 1px solid var(--color-main);
  line-height: 1;
}

.galleryBox .cate_new {
  padding: 10px !important;
  display: inline-block;
  text-align: center;
  margin: 0 auto;
  font-weight: bold;
  line-height: 1;
}

.galleryBox__btn {
  margin-top: 50px;
}

/*
===== SHOPINFOBOX ==========================================
*/
.shopInfoBox{
  padding-bottom: 0;
}

/*
===== NOTICEBOX ==========================================
*/
.noticeBox__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.noticeBox__btn a {
  display: block;
  width: 180px;
  padding: 15px;
  margin: 0 auto;
  color: #FFFFFF;
  background: var(--color-black);
  font-weight: bold;
  font-size: 1.2em;
  text-decoration: none;
  border-radius: 3px;
  position: relative;
}

.noticeBox__btn a::after {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-left: 5px solid #fff;
  top: 50%;
  right: 3%;
  transform: translateY(-50%);
}

.topicsBox__ttl,
.columnBox__ttl {
  margin: 20px 0;
  text-align: center;
  height: 50px;
}

.topicsBox__item a {
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}

.topicsBox__date {
  width: 32%;
  max-width: 150px;
  flex-shrink: 0;
  font-weight: bold;
}

.topicsBox__itemTtl {
  width: 75%;
  max-width: 360px;
  margin: 15px 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.noticeBox .cate_new,
.noticeBox .cate_popular {
  padding: 2px 5px;
  font-weight: bold;
}

.columnBox__item {
  display: block;
}

.columnBox__item:nth-child(even) {
  margin: 20px 0;
}

.columnBox__item a {
  display: block;
  text-decoration: none;
}

.columnBox__photo {
  width: 33.3%;
  display: inline-block;
  vertical-align: middle;
}

.columnBox__photo img {
  width: 120px;
  height: 80px;
}

.columnBox__detail {
  width: calc(100% - 38%);
  max-width: 340px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
}

.columnBox__iconWrap {
  font-weight: bold;
}

.columnBox__infoList {
  display: inline-block;
  margin-top: 10px;
}

.columnBox__infoItem {
  margin-right: 5px;
  display: inline-block;
}

.columnBox__date {
  font-weight: bold;
}

.topicsBox,
.columnBox {
  width: calc((100% - 20px)/2);
  padding: 0 36px 36px;
  position: relative;
}

.topicsBox__inner,
.columnBox__inner {
  min-height: 280px;
  margin-bottom: 20px;
}

/*
===== SNSBOX ==========================================
*/
.SNSBox {
  background: var(--color-palegray);
  padding: 50px;
}

.SNSBox ul {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
}

.SNSBox ul li {
  width: 48%;
  margin-bottom: 30px;
}

.SNSBox ul li.col1{
  width: 100%;
}

/*==================================================
  tablet SETTINGS : Min768px Max1080px
==================================================*/
@media screen and (min-width: 768px) and (max-width: 1080px) {
  .indexWire {
    width: 98%;
    margin: 0 auto;
    overflow: hidden;
  }

  .indexmainSlider__item {
    width: 100%;
    height: 46.3vw !important;
  }

  .bannerWrap {
    margin: 30px auto;
    width: 96%;
  }

  /*イベント情報*/
  .eventBox__list {
    gap: 0;
  }

  /*物件を探す　物件数リスト*/
  .estateCountBox {
    padding: 4% 0;
  }

  .estateCountBox__totalWrap {
    flex-direction: column;
  }

  .estateCountBox__totalTtl {
    width: 100%;
    margin-right: 0;
  }

  .estateCountBox__detailBox {
    padding: 7%;
  }

  .estateCountBox__detailWrap {
    flex-direction: column;
  }

  .estateCountBox__btn {
    padding: 2px 0 10px;
  }

  .estateCountBox__btn--member {
    padding: 18px 0;
  }

  .estateCountBox__btnTxt {
    font-size: clamp(10px, 1vw, 14px);
  }

  /* 地図 */
  .areasearchBox__mapBox {
    background-size: cover;
    background-position: 61% 10%;
  }

  /*加古川市*/
   .areasearchBox__mapBox .c-28210{
    top: 327px;
  }

  /*高砂市*/
  .areasearchBox__mapBox .c-28216 {
    top: 345px;
    left: 49%;
  }

  /*播磨町*/
  .areasearchBox__mapBox .c-28382 {
    top: 87%;
    left: 70%;
  }

  /*稲美町*/
  .areasearchBox__mapBox .c-28381 {
    top: 70%;
    left: 77%;
    transform: translateX(calc(20% + 14px));
  }

  /*姫路市別所町*/
  .areasearchBox__mapBox .c-bessho {
    top: 35%;
    left: 7%;
  }

  /*姫路市大塩町*/
  .areasearchBox__mapBox .c-oshio {
    top: 514px;
    left: 13%;
  }

  /*補助線*/
  .areasearchBox__mapBox .c-oshio::before {
    width: 125px;
    top: -69px;
    left: -15px;
    transform: rotate(-110deg);
  }

}

/*==================================================
  tablet SETTINGS : Min1020px Max1080px
==================================================*/
@media screen and (min-width: 1020px) and (max-width: 1080px) {
  /*地図*/
  /*姫路市別所町*/
  .areasearchBox__mapBox .c-bessho {
    left: 13%;
  }

  /*補助線*/
  .areasearchBox__mapBox .c-oshio::before {
    width: 105px;
    top: -59px;
    left: 4px;
    transform: rotate(-65deg);
  }
}

/*==================================================
  SP SETTINGS : Max767px
==================================================*/

@media screen and (max-width: 767px) {
  .indexWire {
    width: 98%;
    margin: 0 auto;
    overflow: hidden;
  }

  .eventBox,
  .searchBox,
  .galleryBox,
  .shopInfoBox,
  .topicsBox,
  .columnBox {
    padding: 10% 0;
  }

  .indexmainBox{
    max-height: 47vw;
    aspect-ratio: 1080 / 500;
  }

  .indexmainBox .slick-dots {
    bottom: 0;
  }

  .slick-list.draggable {
    width: calc(100% - 60px);
    overflow: visible;
  }

  .slick-dots li button:before {
    width: 8px !important;
    height: 8px !important;
  }

  .bannerWrap {
    width: 96%;
  }

  /*
  ===== spInfoBox - SP   ==========================================
  */
  .spInfoBox {
    width: 100%;
    margin: 20px auto 0;
    padding: 10px;
  }

  .spInfoBox__countAll {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    line-height: 1.2;
    font-size: 1.6rem;
    font-weight: bold;
    padding: 3% 5%;
    background: var(--color-main);
    color: #fff;
  }

  .spInfoBox__countAllTxt--num {
    font-size: 1.9em;
  }

  .spInfoBox__countDetail {
    padding: 10px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 5%;
  }

  .spInfoBox__detailItem {
    margin: 10px 0;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
  }

  .spInfoBox__detailItemTxt--num {
    font-size: 1.8em;
  }

  .spInfoBox__detailItemTtl-general,
  .spInfoBox__detailItemTxt-general {
    color: var(--color-black);
  }

  .spInfoBox__detailItemTtl-emember,
  .spInfoBox__detailItemTxt-emember {
    color: var(--color-orange);
  }

  .spInfoBox__detailItemTtl-shop,
  .spInfoBox__detailItemTxt-shop {
    color: var(--color-blue);
  }

  .spInfoBox__btnBox {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 3%;
    font-weight: bold;
  }

  .spInfoBox__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48.5%; /*種別の数に応じて変更*/
    padding: 1em 0.5em;
    text-align: center;
    font-size: clamp(1.3rem, 4vw, 1.6rem);
    position: relative;
    border: 2px solid var(--color-black);
    border-radius: 3px;
  }

  .spInfoBox__btn::after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-left: 4px solid var(--color-black);
    top: 50%;
    right: 1%;
    transform: translateY(-50%);
  }

  .spInfoBox__btnTxt {
    line-height: 1.3;
  }

  /*
  ===== SEARCHBOX - SP ==========================================
  */

  .searchBox__ttl {
    margin-bottom: 20px;
  }

  .searchBox__ttl img {
    width: 45%;
  }

  .searchBox__container {
    flex-direction: column-reverse;
  }

  /*物件数リスト*/
  .estateCountBox {
    width: 100%;
    max-width: unset;
    padding: 30px 0 20px;
  }

  .estateCountBox__totalBox {
    padding: 0 15px 20px;
  }

  .estateCountBox__totalTtl {
    font-size: clamp(14px, 4.6vw, 18px);
  }

  .estateCountBox__detailBox {
    padding: 15px;
  }

  .estateCountBox__detailWrap--shop {
    flex-direction: column;
  }

  .estateCountBox__btnTxt {
    font-size: clamp(12px, 3.8vw, 14px);
  }
  
  /*エリア別物件一覧*/
  .searchBox__rightCont {
    width: 100%;
    max-width: unset;
  }

  .areasearchBox__tabList {
    background: none;
    flex-wrap: wrap;
    justify-content: center;
  }

  .areasearchBox__tabItem {
    width: 32%;
    max-width: unset;
    flex-grow: 1;
  }

  .areasearchBox__tabItem:nth-of-type(1),
  .areasearchBox__tabItem:nth-of-type(2) {
    width: 49%;
  }

  .areasearchBox__mapBox {
    background: none;
    height: unset;
  }

  .areasearchBox__mapInner {
    display: flex;
    flex-wrap: wrap;
  }

  .areasearchBox__mapItem {
    border: 1px solid #ccc;
    width: 48%;
    margin: 5px 1% 0;
    position: static;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .areasearchBox__mapItemInner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5px;
    width: 100%;
  }

  .areasearchBox__mapItemTtl,
  .areasearchBox__mapItemNumBox {
    font-size: 18px;
    text-shadow: none;
    color: var(--color-black);
  }

  .areasearchBox__mapItemNum {
    font-size: 18px;
  }

  /*物件検索へのリンク*/
  .searchBox__linkBtnWrap {
    flex-direction: column;
    align-items: center;
  }

  .searchBox__linkBtn {
    font-size: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 0.7;
  }

  .searchBox__linkBtnTxt {
    font-size: 12px;
  }

  /*
  ===== EVENTBOX - SP ==========================================
  */
  .eventBox {
    overflow: hidden;
  }

  .eventBox__ttl {
    width: 45%;
    margin: 0 auto 20px;
  }

  .eventBox__inner {
    width: 96%;
    margin: 0 auto 5%;
  }

  .eventBox__inner .slick-initialized {
    min-height: 100px;
  }

  .eventBox__item {
    width: 300px;
  }

  .eventBox__detail {
    padding: 10px;
    display: inline-block;
    width: 100%;
  }

  .eventBox__iconWrap {
    margin-bottom: 5px;
  }

  .eventBox__iconWrap span {
    padding: 5px;
    font-size: 11px;
    margin-right: 5px;
  }

  .eventBox__detail dt,
  .eventBox__detail dd {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 1.4rem;
  }

  /*
  ===== PICKUPBOX・RECOMBOX ==========================================
  */

  .pickupBox,
  .recomBox {
    overflow: hidden;
  }

  .pickupBox {
    padding: 15% 0;
  }

  .pickupBox::before,
  .pickupBox::after {
    height: 10vw;
  }

  /*
  ===== GALLERYBOX ==========================================
  */
  .galleryBox {
    overflow: hidden;
  }

  .galleryBox__ttl {
    margin-bottom: 5%;
  }

  .galleryBox__item{
    width:300px;
  }

  /*
  ===== noticeBox ==========================================
  */
  .noticeBox {
    padding: 0;
  }

  .noticeBox__inner {
    flex-direction: column;
    padding: 0;
    width: 96%;
  }

  .topicsBox,
  .columnBox {
    width: 100%;
    max-width: unset;
  }

  .topicsBox__inner,
  .columnBox__inner {
    min-height: unset;
  }

  .topicsBox__item a {
    flex-direction: column;
    align-items: baseline;
  }

  .topicsBox__date,
  .topicsBox__itemTtl {
    width: 100%;
    margin: 0;
  }

  .topicsBox__item {
    padding: 20px;
  }

  .topicsBox__item:nth-of-type(odd) {
    background: #F5F5F5;
  }

  /*
  ===== SNSBOX ==========================================
  */
  .SNSBox {
    padding: 10% 2%;
  }

  .SNSBox ul {
    flex-direction: column;
    gap: 10px;
  }

  .SNSBox ul li {
    width: 100%;
  }
}
