body {
  margin:0px;
  background-color:transparent;
}
.lb-outerContainer {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.lb-image {
  width: 80vw !important;
  height: 80vh !important;
  object-fit: contain !important;
}


/* module.css */
main {
  width: 100%;
}

/* 検索セクション */
.search-section {
  margin-top: 40px;
  padding: 40px 0;
  color: #fff;
  width: 100%;
}
.search-section-wrap{
  background: url(https://46325842.fs1.hubspotusercontent-na1.net/hubfs/46325842/search_home.jpg)no-repeat 0 90% / cover;
  box-sizing:border-box;
}

@media only screen and (max-width : 960px){
  .search-section-wrap{
  background: url(https://46325842.fs1.hubspotusercontent-na1.net/hubfs/46325842/search_home.jpg)no-repeat 0 90% / cover;
  box-sizing:border-box;
}
 　
  }
.heroArea{
  display:inline-block;
  border:none;
  color:#0A100D;
}

.top-copy{
  text-align:center;
  padding-top:30px;
  font-size:32px;
  font-weight:bold;
}

.search-section-container {
  display: flex;
  align-items: stretch;
  margin: 0 auto;
  padding:20px 5%;
  gap: 20px;
  justify-content: center;
}

.search-box-title {
  margin-bottom:32px;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 1px 2px 3px #808080;
}

.title-center {
  text-align: center;
}

.area {
  width: 40%;
}

.price {
  width: 60%;
}

@media (min-width: 1001px) {
 .area {
  width: 400px;
  }
.price {
  width: 560px;
  }

}

.BtnArea{
  display: flex;
  width:90%;
  padding-bottom: 32px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn-icon {
  padding-right: 20px;
  width: 60px;
}
.search-target{
  display: none;
  width: 100%;
  padding: 8px 12px;
  background-color: rgba(10,16,13,0.3);
  margin-top: 12px;
  font-size: 16px;
  border-radius: 4px;
}
.openBtn {
  font-size: 16px;
  font-weight: bold;
  padding: 22px;
  border: none;
  background: #fff;
	color: #000;
	border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
	-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  width: 100%;
  transition: .4s;
  flex: 1 0;
}

.openBtn:hover {
  background-color: #d6d6d6;
  color: #000;
  border:none;
}

.openBtn:disabled {
  background-color: rgba(214, 214, 214, 0.5);
  cursor: not-allowed;
}

.openBtn:disabled:hover {
  background-color: rgba(214, 214, 214, 0.5);
}

.search-section-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  gap: 20px;
  width:95%;
  padding-bottom: 40px;
}

a.HomeButtonMain{
  text-decoration: none;
}

.HomeButtonMain{
  font-size: 20px;
  font-weight:bold;
  background-color: #A0522D;
  color: #fff;
  border: none;
  padding: 24px 1rem;
  min-width: 350px;
  border-radius: 5px;
  cursor: pointer;
  transition: .4s;
}

.HomeButtonMain:hover {
  background: #BE7947;
  border: none;
}

#resetButtonMain {
  font-size: 16px;
  font-weight:bold;
  background-color: #FFF;
  color: #4D4861;
  border: none;
  cursor: pointer;
  text-shadow: 2px 3px 11px rgba(255, 255, 255, 0.4);
}

#resetButtonMain:hover{
  background-color: #d6d6d6;
  color: #4D4861;
  border:none;
}

.search-section .search-box {
  background-color: rgba(77, 72, 97, 0.8);
  padding: 40px 52px;
  border-radius: 5px;
}

.search-section .search-filters {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.search-section .filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-section .filter-small-group{  
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-section .filter-group label {
  font-size: 16px;
  font-weight:bold;
  white-space: nowrap;
}


.filter-build-group{
  display:flex;
  align-items: center;
   gap: 10px;
}
.filter-build-group label {
  font-size: 16px;
  font-weight:bold;
  white-space: nowrap;
}

.homeSelectLabel {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 auto;
  background-color: #fff;
  border: 1px solid #bbbbbb;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
	-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
}

/*プルダウンの三角を設定*/
.homeSelectLabel::before {
  position: absolute;
  right: 8px;
  content: '';
  width: 9px;
  height: 4px;
  background: #666666;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.homeSelectLabel select {
  text-align:center;
  width: 100%;
  padding: 8px;
  color: #0A100D;
  font-size: 14px;
  cursor: pointer;
  text-overflow: ellipsis;
  z-index: 1;
  border: none;
  appearance: none;
  outline: none;
  background: transparent;
  -moz-appearance: none;
  -webkit-appearance: none;
}
.select-l{
  width:192px;
}
.select-s{
  width:100px;
}

/* スクロールセクション */
.scroll_text{
  text-align: center;
  font-size:20px;
  font-weight:bold;
  color: #944a14;
}

.cp_arrows {
  position: relative;
  display: flex;
  height: 100px;/*画面いっぱいにする場合100vh*/
  justify-content: center;
  align-items: center;
}
.cp_arrows .cp_arrow {/*矢印を配置するベースの設定*/
  position: absolute;
  top: 70%;/*着地点*/
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 10px;
  opacity: 0;
}
.cp_arrows .cp_arrow:first-child {
  animation: arrow-move08 2s ease-in-out infinite;
}
.cp_arrows .cp_arrow:nth-child(2)  {
  animation: arrow-move08 2s 1s ease-in-out infinite;
}
.cp_arrows .cp_arrow:before,
.cp_arrows .cp_arrow:after {/*矢印全体の設定*/
  position: absolute;
  content: '';
  top: 0;
  width: 30px;
  height: 2px;
  background: #944a14;
}
.cp_arrows .cp_arrow:before {/*矢印左の線の位置と傾斜*/
  left: 3px;
  transform: rotate(30deg);
}
.cp_arrows .cp_arrow:after {/*矢印左の線の位置と傾斜*/
  right: 3px;
  transform: rotate(-30deg);
}
@keyframes arrow-move08 {
    0% { opacity: 0; top: 20%;}
   70% { opacity: 1;}
  100% { opacity: 0;}
}

/* 物件セクション */
.property-section {
  padding: 40px 0;
}

.property-section-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

h2.property-section-title {
  font-weight: bold;
  font-size: 24px;
  display: inline-block;
  padding: 0.3rem 0;
  margin-bottom: 0.2rem;
  background-image: linear-gradient(90deg, #4D4861 0 30%, #CCCCCC 20%);
  background-repeat: no-repeat;
  background-size: 100% 5%;
  background-position: bottom;
  color: #4D4861;
}

h3.property-item-title {
  font-weight: bold;
  font-size: 16px;
  margin: 10px 0;
  color: #0A100D;
}

.property-list {
  display: flex;
  margin-top: 32px;
  gap: 20px;
  justify-content: center;
}

.property-item {
  width: calc(33.333% - 20px); /* 三列に分割 */
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 16px;
  background-color: #fff;
  text-align: left;
  box-sizing: border-box;
  transition: .4s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.prorerty-img {
  position: relative;
  display: block;
  width: 100%;
  background-color: #fff;
  overflow: hidden;
}

.image-wrapper {
    position: relative;
/*     width: 30%;
    margin-right: 20px; */
    width:100%;
    margin: 0 auto;
    height: auto;
    object-fit: cover;
}

.property-image {
  width: 100%;
  height: auto;
}

.prorerty-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: 4 / 3;
}

.new-icon {
    position: absolute;
    bottom: 5px; /* 画像の右下に配置 */
    right: 5px;
    width: 20%;  /* アイコンのサイズ */
    height: auto;
}

.property-item-list {
  padding-left:0
}

.property-item-list li {
  font-size: 14px;
  list-style: none;
}

.slick-slide img{
  width:100%;
  object-fit:contain;
}

/* ホバー時の挙動 */
.rent-property:hover {
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.25);
	transform: translateY(-0.2em);
}

.RecommnendArea {
  background-color: #EAEEF0;
  margin-top:24px;
  padding: 12px 10px;
  border-radius: 5px;
}

.RecHead {
  color: #0A100D;
  font-size:16px;
  font-weight:bold;
  margin: 0 0 10px;
}

.RecCom{
  font-size:14px;
  margin:0px;
  height: 300px;
  overflow-y: auto;
}


.button-container {
  text-align: center;
  margin-top: 60px;
}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  z-index: 20;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 1000px;
  position: relative;
}

.close {
  color:#000;
  position: absolute;
  width: 50px;
  height:50px;
  line-height: 50px;
  text-align:center;
  border-radius: 50%;
  top: -1%;
  right: -0.5%;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  text-decoration: none;
  cursor: pointer;
}

.modal-body {
  display: block; /* flexからblockに変更 */
  max-height: 60vh;
  overflow-y: auto;
}

.modal-body .modal-item-div {
  display: block;
  margin-bottom: 20px;
}

.modal-body .modal-item-div h3 {
  font-weight: bold;
  padding: 5px 10px;
  margin-bottom: 10px;
  background-color: #CCCCCC;
  border-radius: 5px;
  font-size:20px;
}

.modal-body .modal-item-div div {
  display: flex;
  flex-wrap: wrap;
}

.modal-body .modal-item-div div div {
  flex: 1 1 30%;
  font-size:18px;
}


.modal-body button {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 5px;
  cursor: pointer;
}



.footer-buttons {
  display:flex;
  justify-content: center;
  text-align: center;
  margin-top: 20px;
}

.footer-buttons button {
  margin: 5px;
  padding: 12px 0;
  width: 256px;
  font-size: 16px;
}

.modal-select-Btn{
  background-color: #4D4861;
  color: #FFF;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  transition: .4s;
}
.modal-select-Btn:hover {
  background-color: #817E90;
}

.modal-confirm-Btn{
  background-color: #944A14;
  color: #FFF;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  transition: .4s;
}
.modal-confirm-Btn:hover {
  background-color: #BE7947;
}

.error-message {
  color: red;
  font-weight: bold;
  margin: 10px 0;
}

.regular_3{
 margin-top:32px; 
}

.slick-slide {
  margin-right:20px;
}

.slick-track:before,
.slick-track:after
{
    font-family: 'slick';
    font-size: 20px;
    line-height: 1;
    z-index: 2;
    opacity: .75;
    color: #000;
}
/* 大きなディスプレイ */
@media screen and (min-width: 1401px) {
  .scroll_text{
  font-size:36px;
  }
}
@media screen and (min-width: 961px) {
  .top-copy {
    top: 120px;
  }
}

@media screen and (max-width: 960px) {
  .heroArea{
    padding-top: 50px;
    font-size: 28px;
  }

  .search-section {
    margin-top: 10px;
  }
  .search-section .search-filters{
    margin-bottom:20px;
  }
  
  .search-section-container {
    flex-direction: column;
    width: 95%;
    margin: 0 auto;
    padding: 0 0 40px;
    gap: 20px;
  }
  .area,.price{
    width: 100%;
    margin: 0 auto;
  }
  
  #searchButtonMain{
    width: 100%;
  }
  .property-list {
    flex-direction:column;
    gap: 20px;
  }

  .property-item {
    width: 100%; 
  }
  .select-l{
    width:110px;
  }
  .select-s{
    width:50px;
  }

  .modal-body .modal-item-div p {
    font-size:18px;
  }
  .modal-body .modal-item-div div div {
    flex: 1 1 50%;
    font-size:16px;
  }
  .new-icon {
    width: 10%;
  }
}

@media screen and (min-width: 576px) {
  .trade {
    visibility: hidden;
  }
}

@media screen and (max-width: 676px) {
  .heroArea{
    padding-top: 30px;
    font-size: 20px;
  }
  
  .top-copy {
    font-size:12px;
  }
  .search-section-container {
    padding:10px 0 24px;
    gap: 16px;
  }

  .search-box-title {
    margin-top:10px;
    margin-bottom:18px;
    font-size: 20px;
  }
  .filter-build-group{
    margin-bottom:20px;
  }

  .filter-build-group label{
    width:60px;  
  }

  .BtnArea{
    padding-bottom: 16px;
  }

  .btn-icon {
    width: 48px;
  }

  .openBtn {
    font-size: 14px;
    font-weight: bold;
    padding: 16px;
  }

  a.HomeButtonMain{
    text-decoration: none;
  }

  .HomeButtonMain{
    font-size: 16px;
    font-weight:bold;
    background-color: #A0522D;
    color: #fff;
    padding: 24px 6rem;
    min-width:180px;
  }


  #resetButtonMain {
    font-size: 14px;
    text-shadow: 0 0 10px #fff;
  }

  .search-section .search-box {
    padding: 24px 34px 8px;
    border-radius: 5px;
  }

  .search-section .search-filters {
    gap: 16px;
  }

  .search-section .filter-small-group{
    display: block;
    justify-content: space-between;
  }
  .select-s{
  width:200px;
  }
  .new-icon {
    width: 20%;
  }
}

@media screen and (max-width: 576px) {
  .modal-body .modal-item-div div div {
    flex: 1 1 100%;
  }
  .footer-buttons {
    flex-direction: column;
  }
  .footer-buttons button {
    width: 100%;
  }
  .footer-buttons button:nth-child(1) {
    order: 3;
  }
  .footer-buttons button:nth-child(2) {
    order: 2;
  }
  .footer-buttons button:nth-child(3) {
    order: 1;
  }
}