@charset "utf-8";
/* ====================================================================================================

	pist_db.css

==================================================================================================== */

/* ----------------------------------------------------------------------------------------------------
	page-title
---------------------------------------------------------------------------------------------------- */
#pist_db1 .page-title {
  background-image: url("../image/content/pist_db/land-bg.jpg");
  background-repeat: no-repeat;
  background-position: left bottom;
}
@media (max-width:640px) {
  #pist_db1 .page-title {
    background-position: left -280px bottom 0;
  }
}
#pist_db2 .page-title {
  background-image: url("../image/content/pist_db/build-bg.jpg");
  background-repeat: no-repeat;
  background-position: center bottom;
}
@media (max-width:500px) {
  #pist_db2 .page-title h1 .title {
    font-size: 25px;
  }
}

/* ----------------------------------------------------------------------------------------------------
	list
---------------------------------------------------------------------------------------------------- */
#pist-list {
  margin: 50px 0;
}
#pist-list .hit {
  margin-bottom: 1rem;
  font-size: 14px;
  text-align: right;
}
.pist-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
}
.pist-list li {
  width: calc(33.33% - 20px);
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.pist-list-img {
  aspect-ratio: 380 / 272;
  object-fit: cover;
  overflow: hidden;
}
.pist-list-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 380 / 272;
  object-fit: cover;
}
.pist-list-description {
  padding: 20px 30px 30px;
  box-sizing: border-box;  
}
.pist-list-description .ad-price-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.2;
}
.pist-list-description .address {
  font-size: 18px;
  font-weight: bold;
}
.pist-list-description .price {
  color: var(--thirdry-color);
  font-size: 36px;
  font-weight: bold;
  text-align: right;
  white-space: nowrap;
}
.pist-list-description .price span {
  font-size: 24px;
}
.pist-list-description .size {
  margin-top: 0.5em;
}
.pist-list-description .comment {
  margin-top: 0.75em;
  padding-top: 0.75em;
  border-top: 1px dashed #aaa;
}
.pist-list-description .link-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 1em;
  padding: 0.5em;
  background-color: var(--thirdry-color);
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
}
.pist-list-description .link-btn:hover {
  background-color: var(--thirdry-color-hover);
}
.pist-list-description .link-btn img {
  display: inline-block;
  margin-right: 0.5em;
}

.pist-list-btn {
  display: flex;
  justify-content: center;
  column-gap: 50px;
  margin-top: 50px;
}
.pist-list-btn .p-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  max-width: 400px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  height: 95px;
  font-size: 24px;  
}
.pist-list-btn .p-btn img {
  display: inline-block;
  margin-right: 0.5em;
}
.pist-list-btn .build-btn {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}
.pist-list-btn .build-btn:hover {
  background-color: var(--secondary-color-light);
}
@media (max-width:1000px) {
  .pist-list li {
    width: calc(50% - 15px);
  }
  .pist-list-description {
    padding: 20px;
  }
  .pist-list-btn {
    column-gap: 30px;
  }
}
@media screen and (max-width:640px) {
  .pist-list li {
    width: 100%;
  }
  .pist-list-btn {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  .pist-list-btn .p-btn {
    width: 100%;
  }
}


/* ----------------------------------------------------------------------------------------------------
	detail
---------------------------------------------------------------------------------------------------- */
#pist-detail {
  margin: 50px 0;
}
#pist-detail .detail-contents {
  width: 100%;
  padding: 50px;
  background-color: rgba(255,255,255,0.6);
  box-sizing: border-box;
  border-radius: 12px;
}
@media (max-width:900px) {
  #pist-detail .detail-contents {
    padding: 30px;
  }
}
@media (max-width:640px) {
  #pist-detail .detail-contents {
    padding: 20px;
  }
}
#pist-detail .detail_head .update {
  color: #666;
  font-size: 14px;
}
#pist-detail .detail_head .comment {
  display:block;
  color: var(--primary-color);
  font-size:24px;
  font-weight: 800;
  text-align:left;
  padding-bottom: 12px;
  border-bottom: 1px solid #bbb;
  margin-bottom: 30px;
}
#pist-detail .detail_head .heading_block {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  margin-bottom: 10px;
}
#pist-detail .detail_head .heading_block dl {
  display:flex;
  align-items: center;
  flex-wrap:wrap;
}
#pist-detail .detail_head .heading_block dl dt {
  display:inline-block;
  color:#fff;
  font-size:18px;
  text-align:center;
  line-height:1;
  background:var(--thirdry-color);
  margin-right:0.5em;
  padding:8px;
}  
#pist-detail .detail_head .heading_block dl dd {
  font-weight:bold;
}
#pist-detail .detail_head .address {
  display:block;
  font-size:20px;
  text-align:left;
}

/* photoarea */
#pist-detail ul.main_photo {
  display:flex;
  width:100%;
  justify-content:space-between;
  margin:30px auto 0 auto;
  list-style:none;
  }
#pist-detail ul.main_photo li {
  position:relative;
  display:block;
  width:calc((100% - 20px) / 2);
  aspect-ratio:4 / 3;
  background:#ffffff;
  overflow:hidden;
}
#pist-detail ul.main_photo li a {
  display:block;
  width:100%;
  height:100%;
}
#pist-detail ul.main_photo li a img {
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  width:100%;
  height:100%;
  /*object-fit:contain;*/
  object-fit:cover;
  margin:auto;
  transition:all 0.5s 0s ease;
  }
#pist-detail ul.main_photo li a:hover img {
  transform:scale(1.2,1.2);
  transition:all 0.5s 0s ease;
  }

#pist-detail ul.sub_photo {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  width:100%;
  margin:30px auto 0;
  list-style:none;
  }
#pist-detail ul.sub_photo li {
  position:relative;
  display:block;
  width:calc((100% - 100px) / 6);
  aspect-ratio:4 / 3;
  background:#ffffff;
  overflow:hidden;
  }
#pist-detail ul.sub_photo li a {
  display:block;
  width:100%;
  height:100%;
  }
#pist-detail ul.sub_photo li a img {
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  margin:auto;
  transition:all 0.5s 0s ease;
  }
#pist-detail ul.sub_photo li a:hover img {
  transform:scale(1.2,1.2);
  transition:all 0.5s 0s ease;
  }
#pist-detail .alart {
  color: var(--thirdry-color);
  font-size:14px;
  text-align: right;
  padding-bottom: 30px;
  border-bottom: 1px dashed #bbb;
  margin-top: 12px;
  margin-bottom: 30px;
  }

@media screen and (max-width:1000px) {
  #pist-detail ul.sub_photo li {
    width:calc((100% - 60px) / 4);
    }
}
@media screen and (max-width:640px) {
  #pist-detail ul.sub_photo li {
    width:calc((100% - 40px) / 3);
    }
  #pist-detail .alart {
    text-align: left;
  }
}


/* table */
#pist-detail .p-table {
  margin-top: 30px;
  }
@media screen and (max-width:750px) {
  #pist-detail .p-table {
    border-top: 1px solid var(--primary-color);
    }
  #pist-detail .p-table th,
  #pist-detail .p-table td {
    display: block;
    width: 100%;
    border-top: none;
  }
}

/* youtube */
#pist-detail .youtube {
  width:100%;
  aspect-ratio:16 / 9;
  border:none;
  margin:30px auto 0;
  }
  #pist-detail .youtube iframe {
    width:100%;
    height:100%;
    }

/* theta */
#pist-detail .theta {
  width:100%;
  aspect-ratio:73 / 25;
  margin:30px auto 0;
  }

/* gmap */
#pist-detail .gmap {
  width:100%;
  aspect-ratio:12 / 5;
  margin:30px auto 0;
  }
  #pist-detail .gmap iframe {
    width:100%;
    height:100%;
    }

/* detail-btn */
#pist-detail .detail-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin: 30px auto 0
}
@media screen and (max-width:1450px) {
  #pist-detail .detail-btn {
    width: calc(100% - 136px);
  }
}
@media screen and (max-width:860px) {
  #pist-detail .detail-btn {
    gap: 10px;
  }
}
@media screen and (max-width:640px) {
  #pist-detail .detail-btn {
    width: calc(100% - 20px);
  }
}
#pist-detail .detail-btn.fixed {
  position: fixed;
  bottom: 20px;
  z-index: 2;
}
@media screen and (max-width:1450px) {
  #pist-detail .detail-btn.fixed {
    left: 20px;
  }
}
@media screen and (max-width:640px) {
  #pist-detail .detail-btn.fixed {
    left: 10px;
    bottom: 10px;
  }
}
#pist-detail .detail-btn .p-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 12px;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  width: calc(50% - 10px);
  max-width: 590px;
  font-size: 20px;
  font-weight: bold;
}
@media screen and (max-width:860px) {
  #pist-detail .detail-btn .p-btn {
    font-size: 16px;
    padding: 0.5em 1em;
  }
  #pist-detail .detail-btn .p-btn img {
    max-width: 32px;
  }
}
@media screen and (max-width:530px) {
  #pist-detail .detail-btn .p-btn {
    width: 100%;
  }
}

/* back-btn */
#pist-detail .back-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin-top: 30px;
}
#pist-detail .back-btn .p-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 385px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 18px;  
}
@media screen and (max-width:640px) {
  #pist-detail .back-btn {
    width: calc(100% - 20px);
    margin: 30px auto 0;
  }
}



