@charset "utf-8";
.category-nav {
  display: flex;
  gap: 10px;
  width: 100%;
}
.category-item {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
.category-parent {
  display: flex;
  align-items: center;
  padding: 0 40px;
}
.category-link {
  display: flex;
  padding: 10px 20px;
  color: #124a97 !important;
  text-decoration: none;
  background: #fff;
  border: 2px solid;
  width: 100%;
  justify-content: center;
  font-size: 1.2em;
  border-radius: 10pc;
  box-shadow: 5px 5px 10px #124a9761;
}
.category-child {
    position: relative;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-wrap: wrap;
    background: rgb(255 255 255 / 80%);
    border-radius: 0 0 20px 20px;
    padding: 10px 10px 0;
}
.category-child li {
  width: 24%;
  margin: 10px 1% 10px 0;
  border-radius: 10pc;
  overflow: hidden;
  box-sizing: border-box;
}
.category-child a {
  display: block;
  padding: 5px 18px;
  color: #164895;
  text-decoration: none;
  transition: background 0.2s ease;
  text-align: center;
  border-radius: 10pc;
  background: #fff;
  border: 1px solid #164895;
}
.category-child a:hover {
  background: #f5f5f5;
}
.purchase_wrap h2 {
  background: linear-gradient(to bottom, rgba(13, 76, 154, 1) 29%, rgba(34, 132, 205, 1) 100%);
  border: none;
  padding: 10px 20px;
  color: #fff;
  margin: 50px 0;
}
.purchase_choice_01 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
}
.purchase_choice_01 img {
  max-width: 100%;
}
.purchase_choice_cont {
    width: 48%;
    display: flex;
    flex-direction: column;
    padding: 40px 0 0;
}
.purchase_choice_cont figure {
    margin-bottom: 0;
}
.category-child li:nth-child(4n) {
  margin-right: 0;
}
.purchase_choice_02 ul {
  display: flex;
  flex-wrap: wrap;
}
.purchase_choice_02 ul li {
  width: 32%;
  margin-right: 2%;
  margin-bottom: 20px;
}
.purchase_choice_02 ul li:nth-child(3n) {
  margin-right: 0;
}
.purchase_choice_02 ul li a {
  background: #aaa;
  display: flex;
  justify-content: center;
  padding: 10px;
  border: 1px solid;
  border-radius: 10pc;
  text-decoration: none;
  font-size: 1.2em;
  position: relative;
  transition: .5s;
  box-shadow: 5px 5px 10px #0002;
}
.purchase_choice_02 ul li a:before {
  content: "▼";
  font-size: 14px;
  position: absolute;
  right: 10%;
  height: 100%;
  display: flex;
  align-items: center;
  top: 0;
  color: #555;
}
.purchase_choice_02 ul li a[data-category-slug="properties-that-cannot-be-rebuilt"] {
  background: #e1eadb;
  border: 1px solid #b6d7a8;
}
.purchase_choice_02 ul li a[data-category-slug="co-ownership-property"] {
  background: #f8e2e3;
  border: 1px solid #d5a6bd;
}
.purchase_choice_02 ul li a[data-category-slug="stigmatized-property"] {
  background: #ebe4f2;
  border: 1px solid #b4a7d6;
}
.purchase_choice_02 ul li a[data-category-slug="property-subject-to-eviction"] {
  background: #fbe6cf;
  border: 1px solid #f9cb9c;
}
.purchase_choice_02 ul li a[data-category-slug="seized-or-auctioned-properties"] {
  background: #fcf0d2;
  border: 1px solid #ffe599;
}
.purchase_choice_02 ul li a[data-category-slug="vacant-house"] {
  background: #cfe2f3;
  border: 1px solid #9fc5e8;
}
.purchase_choice_02 ul li a[data-category-slug="others"] {
  background: #eeeeee;
  border: 1px solid #d4d4d4;
}
.ac.mb50.purchase_bottom img {
  max-width: 800px;
}
section.sec-re-contactarea {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
}
div#content.purchase_wrap {
  padding-bottom: 0;
}
@media screen and (min-width: 769px) {
  .category-item.has-child:hover .category-child {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .category-toggle {
    display: none;
  }
} 
#purchase-results {
  margin-top: 100px;
  padding-bottom: 100px;
}
#purchase-results h2 {
  margin: 0 0 40px;
}
#purchase-results h2 span {
  display: inline-block;
}
.purchase-results_box {
  display: flex;
  transition: opacity 0.3s ease, transform 0.3s ease;
  flex-wrap: wrap;
}
.purchase-results_box.is-loading {
  opacity: 0.4;
  pointer-events: none;
}
.purchase_cont {
  min-width: 0;
  width: calc((100% - 60px) / 4);
  margin-right: 20px;
  margin-bottom: 40px;
  position: relative;
  transition: .5s;
}
.purchase_cont:nth-child(4n) {
  margin-right: 0;
}
ul.purchase-category-list li a {
  position: relative;
  z-index: 1;
}
.purchase_cont a.purchase_link {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
}
.purchase_cont:hover {
  opacity: .6;
}
.purchase_cont p.daytime {
  color: #888;
  padding: 5px 0;
}
.purchase_cont a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.purchase_cont figure {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0 0 18px;
  overflow: hidden;
}
.purchase_cont figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.5s ease;
}
.purchase_cont a:hover figure img {
  transform: scale(1.04);
}
.purchase_cont ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.purchase_cont ul li {
  display: inline-block;
  font-size: 12px;
  line-height: 1.3;
}
.purchase_cont ul li a {
  border: 1px solid;
  padding: 3px 15px;
  color: #134a98;
  border-radius: 10pc;
  box-shadow: 3px 3px 3px #0003;
}
.purchase_cont ul li.cat-properties-that-cannot-be-rebuilt a {
  background: #e1eadb;
  border: 1px solid #b6d7a8;
  color: #000;
}
.purchase_cont ul li.cat-co-ownership-property a {
  background: #f8e2e3;
  border: 1px solid #d5a6bd;
  color: #000;
}
.purchase_cont ul li.cat-stigmatized-property a {
  background: #ebe4f2;
  border: 1px solid #b4a7d6;
  color: #000;
}
.purchase_cont ul li.cat-property-subject-to-eviction a {
  background: #fbe6cf;
  border: 1px solid #f9cb9c;
  color: #000;
}
.purchase_cont ul li.cat-seized-or-auctioned-properties a {
  background: #fcf0d2;
  border: 1px solid #ffe599;
  color: #000;
}
.purchase_cont ul li.cat-vacant-house a {
  background: #cfe2f3;
  border: 1px solid #9fc5e8;
  color: #000;
}
.purchase_cont ul li.cat-others a {
  background: #eeeeee;
  border: 1px solid #d4d4d4;
  color: #000;
}
.purchase_cont h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  border: none;
  color: #000;
  font-weight: normal;
}
.purchase-loading {
  width: 100%;
  margin: 0;
  padding: 60px 0;
  text-align: center;
  font-size: 14px;
}
.purchase-no-result {
  grid-column: 1 / -1;
  margin: 0;
  padding: 70px 0;
  text-align: center;
  font-size: 15px;
}
.purchase-category-link {
  transition:
    opacity 0.3s ease, color 0.3s ease;
}
.purchase-category-link.is-active {
  font-weight: 700;
}
@media screen and (max-width: 1024px) {
 .purchase-results_box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 0px;
}
}

@media screen and (max-width: 768px) {
	div#content.purchase_wrap {
    padding: 0 20px;
    box-sizing: border-box;
}
  .category-nav {
    display: block;
  }
  .category-item {
    position: relative;
    width: 100%;
  }
  .category-parent {
    display: flex;
    align-items: center;
    width: 100%;
  }
  .category-link {
    flex: 1;
    display: block;
  }
.category-toggle {
    position: absolute;
    display: flex;
    width: 100%;
    height: 50px;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    right: 0;
    text-align: right;
    justify-content: end;
}.category-parent {
    display: flex;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
}
.category-toggle span {
    position: absolute;
    top: 50%;
    right: 30px;
    width: 16px;
    height: 1px;
    background: #111;
    transform: translate(-50%, -50%);
}
  .category-toggle span:nth-child(2) {
    transform:
      translate(-50%, -50%) rotate(90deg);
    transition: transform 0.25s ease;
  }
  .category-child {
    position: static;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition:
      max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
  }
  .category-item.is-open .category-child {
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
  }
  .category-item.is-open .category-toggle span:nth-child(2) {
    transform:
      translate(-50%, -50%) rotate(0deg);
  }
  .category-child li a {
    display: block;
    padding: 12px 20px;
  }ul.category-child {
    margin: 20px 0 0;
}.category-child li {
    width: 32%;
    margin: 10px 2% 10px 0;
}.category-child li:nth-child(4n) {
    margin: 10px 2% 10px 0;
}

.category-child li:nth-child(3n) {
    margin-right: 0;
}.purchase_cont {
    min-width: 0;
    width: calc((100% - 40px) / 3);
}.category-child li:nth-child(3n) {
    margin-right: 0;
}
.purchase_cont:nth-child(4n) {
    margin-right: 20px;
}
.purchase_cont:nth-child(3n) {
    margin-right: 0;
}
}
@media screen and (max-width: 767px) {
  #purchase-results {
    margin-top: 70px;
    padding-bottom: 70px;
  }
  #purchase-results h2 {
    margin-bottom: 30px;
  }
  .purchase-results_box {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .purchase_cont h3 {
    font-size: 16px;
  }
}
@media screen and (max-width: 599px) {
	.purchase_choice_01 {
    flex-wrap: wrap;
}

.purchase_choice_cont {
    width: 100%;
}

.purchase_choice_02 ul li {
    width: 49%;
    margin: 0 0 20px;
}

.purchase_choice_02 ul li a {
    font-size: 1em;
}

.purchase_choice_02 ul {
    justify-content: space-between;
}

.purchase_choice_02 ul li a:before {
    right: 3px;
    font-size: 9px;
}.purchase_cont {
    min-width: 0;
    width: 48%;
    margin: 0 0 20px !important;
}.purchase_wrap h2 {
    font-size: 20px;
}

.purchase-results_box {
    justify-content: space-between;
    gap: 0;
}
}
/*SINGLE*/
.image-gallery {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
/* メイン画像 */
.main-image {
  width: 100%;
}
.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 16 / 9;
}
/* サムネイル */
.thumbnail-list {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.thumbnail {
  width: 100px;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.6;
  flex: 1;
  max-height: 100px;
  max-width: 250px;
}
.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 選択中 */
.thumbnail.active {
  border-color: #fba850;
  opacity: 1;
}
#content #main .main-image_txt p {
  margin-bottom: 0;
}
#main div.main-image_txt {
  min-height: 30px;
}
#main div.thumbnail-list:after {
  content: none;
}
.purchase_table table {
  border: 1px solid #aaa;
}
.purchase_table table th {
  border: 1px solid #aaa;
  background: #deedfe;
  width: 35%;
  padding: 15px;
  text-align: left;
  color: #0c47a4;
}
.purchase_image-gallery {
  margin-bottom: 50px;
}
.purchase_table table td {
  border: 1px solid #aaa;
  padding: 15px;
}
#main div.purchase_textbox {
  border: 1px solid #184f9c;
  padding: 15px;
  margin-bottom: 50px;
}
#content #main div.purchase_textbox h3 {
  margin: 10px 0;
  padding: 10px;
  text-align: center;
  color: #184f9c;
  border-bottom: 1px solid #184f9c;
}
.purchase_table {
  margin-bottom: 50px;
}
.purchase_Ul ul {
  display: flex;
}
.purchase_Ul ul li img {
  max-width: 100%;
}
.purchase_Ul ul li {
  width: 32%;
  margin-right: 2%;
  margin-bottom: 20px;
  position: relative;
  transition: .5s;
}
.purchase_Ul ul li:last-child {
  margin-right: 0;
}
.purchase_Ul ul li span.datetxt {
  color: #666;
  padding: 10px;
  display: block;
}
.purchase_Ul ul li a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.purchase_Ul ul li:hover {
  opacity: .6;
}