/* --- 物件情報一覧ページ --- */
.archive_sec.cmn__sec {
  padding-top: 8rem;
  padding-bottom: 10rem;
}


.archive_sec_inner {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.archive_sec_sidebar {
  margin-top: 6rem;
  width: 18%;
}

.archive_sec_sidebar .sidebar .widget + .widget {
  margin-top: 8rem;
}

.archive_sec_sidebar .sidebar .widget.widget_archive li {
  border-left: 0.1rem solid #333;
  border-right: 0.1rem solid #333;
  padding: 0 3rem;
  margin-top: 3rem;
}

.archive_sec_sidebar .sidebar .widgettitle {
  border-bottom: 0.3rem solid #333;
  font-size: 2rem;
}

.archive_sec_sidebar .sidebar .cat-item {
  margin-top: 3rem;
}

.archive_sec_sidebar .sidebar .current-cat a {
  position: relative;
  padding-left: 3rem;
}

.archive_sec_sidebar .sidebar .current-cat a::before {
  content: "";
  display: inline-block;
  width: 0.08rem;
  height: 3rem;
  background-color: #333;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;
}
/*
.archive_sec_sidebar .sidebar .current-cat a::after {
  content: "";
  display: inline-block;
  width: 0.08rem;
  height: 3rem;
  background-color: #333;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  right: -14.6rem;
}
*/
.archive_sec_sidebar .sidebar .children {
  margin-top: 3rem;
}

.archive_sec_sidebar .sidebar .children .cat-item {
  border-left: 0.1rem solid #333;
  border-right: 0.1rem solid #333;
  padding: 0 3rem;
}

.archive_sec_sidebar .sidebar .children .cat-item a {
  padding-left: 0;
}

.archive_sec_sidebar .sidebar .children .cat-item a::before {
  content: none;
}

.archive_sec_sidebar .sidebar .children .cat-item a::after {
  content: none;
}

.archive_sec_sidebar-wrapsp {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 0.1rem solid #333;
  width: 48%;
}

.archive_sec_sidebar-wrapsp_list {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.archive_sec_sidebar-wrapsp select {
  width: 100%;
  padding: 2rem 3rem 2rem;
  color: #333;
  font-weight: bold;
  cursor: pointer;
  text-overflow: ellipsis;
  z-index: 1;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  background: transparent;
}

.archive_sec_sidebar-wrapsp + .archive_sec_sidebar-wrapsp {
  margin-left: 3rem;
}

.archive_sec_content {
  width: 100%;
}

.single_sec {
  padding-bottom: 10rem;
}

.single_sec_inner {
  padding: 10rem 0 6rem;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.single_sec .topics_links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  /* border-left: 0.1rem solid #333; */
  /* border-right: 0.1rem solid #333; */
  margin-bottom: 6rem;
}

.single_sec .topics_links .links_move {
  width: 50%;
  padding: 0 4rem;
  text-align: center;
}

.single_sec .topics_links .links_move + .links_move, .post-links .post-link + .post-link {
  border-left: 0.1rem solid #333;
}

.single_sec .topics_links .links_move.prev {
  position: relative;
}

.single_sec .topics_links .links_move.prev::before {
  position: absolute;
  left: 3rem;
  content: "";
  width: 0.8rem;
  height: 2.8rem;
  background-image: url(../images/common/icon_arrow02.png);
  background-size: 0.8rem;
  background-position: center;
  background-repeat: no-repeat;
}

.single_sec .topics_links .links_move.prev a {
  position: relative;
}

.single_sec .topics_links .links_move.next {
  position: relative;
}

.single_sec .topics_links .links_move.next::after {
  position: absolute;
  right: 3rem;
  content: "";
  width: 0.8rem;
  height: 2.8rem;
  background-image: url(../images/common/icon_arrow.png);
  background-size: 0.8rem;
  background-position: center;
  background-repeat: no-repeat;
}

.single_sec .more_btn a {
  padding: 2rem 0;
}


@media (max-width: 768px) {
  .archive_sec_inner {
    display: block;
  }

  .archive_sec_content {
    width: 100%;
	padding: 0;
  }

  .archive_sec_content_item {
    width: calc(50% - 1.5rem);
  }

	.archive_sec_content_item:nth-child(3n - 1){
		margin: 6rem 0 0;
	}
	
	
	.archive_sec_content_item:nth-child(2n){
		margin-left: 3rem;
	}
	
	.archive_sec_content_item_characters{
	font-size: 2.2rem;
	}
	
  .archive_sec_content_item .heading3 {
    font-size: 2.8rem;
  }

  .single_sec_inner {
    display: block;
  }

  .single_sec_content {
    width: 100%;
    margin-top: 5rem;
    padding: 6rem 4rem;
  }

  .single_sec .topics_links {
    border: none;
  }

  .single_sec .topics_links .links_move {
    padding: 0 1.5rem;
  }

  .single_sec .topics_links .links_move.prev::before {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0rem;
    width: 0.6rem;
    background-size: 0.6rem;
  }

  .single_sec .topics_links .links_move.prev a {
    font-size: 1.6rem;
  }

  .single_sec .topics_links .links_move.next::after {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 0rem;
    width: 0.6rem;
    background-size: 0.6rem;
  }

  .single_sec .topics_links .links_move.next a {
    font-size: 1.8rem;
  }

  .single_sec .more_btn {
    width: 30rem;
  }
}

/* Property Archive Page Styles */
.property-archive-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem 2rem; /* 行と列の間の余白を設定 */
  list-style: none;
  margin: 0;
  padding: 0;
}
.property-archive-item {
  width: calc(25% - 1.5rem); /* 4カラムレイアウト (gap: 2rem) */
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.property-archive-item a {
  display: block;
  text-decoration: none;
}

.property-archive-item a:hover {
  opacity: 1;
}

.property-archive-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.property-archive-img {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.property-archive-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.property-archive-item:hover .property-archive-img img {
  transform: scale(1.05);
}

.property-archive-txtBox {
  color: #333;
  padding: 1.5rem 2rem 2rem;
}

.property-archive-meta {
  margin-bottom: 1.5rem;
}

.property-archive-meta .category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.property-archive-meta .category {
  font-size: 1.3rem;
  color: #fff;
  background-color: #009b87; /* お知らせと色を変えて区別 */
  padding: 0.4rem 1.3rem;
  border-radius: 4px;
  font-weight: bold;
}

.property-archive-txtBox .title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.2rem;
  line-height: 1.4;
  min-height: 5.6rem; /* 2行分の高さを確保 */
}

.property-archive-txtBox .desc {
  font-size: 1.6rem;
  color: #666;
  line-height: 1.7;
  display: -webkit-box;
  line-clamp: 2; /* Standard property for compatibility */
  -webkit-line-clamp: 2; /* 2行で切り捨て */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .property-archive-item {
    width: calc(50% - 1rem); /* 2カラムレイアウト */
  }
}

@media (max-width: 560px) {
  .property-archive-item {
    width: 100%; /* 1カラムレイアウト */
  }
}

/* --- 物件情報個別ページ --- */
.single-property-page { background:#fff; }

/* 物件ヘッダー上部とギャラリーの間隔調整 */
.property-header-section { padding:3rem 0 1rem; background:#fff; }
.property-header-section .property-header { margin:0 0 2.4rem; }
.property-header-section .property-status-badge { margin-bottom:1.2rem; }

.property-slider-section {
  background-color: #fff;
  padding: 4rem 0;
}

.single_sec_images {
  max-width: 980px;
  margin: 0 auto;
  width: 90%;
}

.property-info-section {
  padding: 6rem 0 10rem;
}

.property-header {
  margin-bottom: 5rem;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 3rem;
}

/* 成約済みバッジ */
.property-status-badge.is-sold {
  display: inline-block;
  background: #c40000;
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
  padding: 0.6rem 1.6rem;
  border-radius: 4px;
  margin-bottom: 1.4rem;
  letter-spacing: .05em;
}

.property-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.category-badge {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
  background-color: #009b87;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}
.category-badge:hover {
  background-color: #007a6b;
  opacity: 1;
}

.property-title {
  font-size: 3.6rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.property-date {
  font-size: 1.5rem;
  color: #7f8c8d;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #009b87;
  position: relative;
}

.property-details-table,
.property-description {
  margin-bottom: 6rem;
}

.property-description .post-content-styles {
  font-size: 1.7rem;
  line-height: 1.8;
  color: #34495e;
}

.property-description .post-content-styles h3 {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ddd;
}

.property-description .post-content-styles p {
  margin-bottom: 1.5rem;
}

/* 関連キーワード */
.property-related-keywords {margin-bottom:6rem;}
.property-tag-list {display:flex;flex-wrap:wrap;gap:1rem;list-style:none;margin:0;padding:0;}
.property-tag-list__item a {display:inline-block;background:#eef3f3;color:#006b5d;font-size:1.3rem;padding:.6rem 1.2rem;border-radius:20px;text-decoration:none;transition:.25s;font-weight:600;}
.property-tag-list__item a:hover {background:#006b5d;color:#fff;opacity:1;}
.category-badge--sold {background:#c40000;}

.property-navigation {
  margin-top: 8rem;
  text-align: center;
}

.property-navigation .more_btn {
  margin-bottom: 5rem;
}

.post-links {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e0e0e0;
  padding-top: 3rem;
}

.post-link {
  width: 48%;
  text-decoration: none;
  padding: 2rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s;
  background-color: #fff;
}

.post-link:hover {
  opacity: 1;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-color: #009b87;
}

.post-link span {
  display: block;
  font-size: 1.4rem;
  color: #7f8c8d;
  margin-bottom: 0.8rem;
}

.post-link p {
  font-size: 1.6rem;
  font-weight: bold;
  color: #2c3e50;
  line-height: 1.5;
}

.post-link.prev {
  text-align: left;
}

.post-link.next {
  text-align: right;
}

/* CTA Buttons */
.property-cta-buttons {display:flex;flex-wrap:wrap;gap:2rem;justify-content:center;margin-top:3rem;}
.property-cta-btn {position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;background:#009b87;color:#fff;padding:2rem 3rem;border-radius:10px;min-width:280px;box-shadow:0 4px 12px rgba(0,0,0,.08);transition:.25s;font-weight:700;line-height:1.4;}
.property-cta-btn:hover {opacity:1;transform:translateY(-4px);box-shadow:0 10px 22px rgba(0,0,0,.12);}
.property-cta-btn--tel {background:#d63c00;}
.property-cta-btn--reserve {background:#006b5d;}
.property-cta-btn__main {font-size:1.8rem;letter-spacing:.03em;}
.property-cta-btn__sub {margin-top:.6rem;font-size:1.3rem;font-weight:500;opacity:.85;}
@media (max-width:680px){
  .property-cta-buttons {flex-direction:column;align-items:stretch;}
  .property-cta-btn {width:100%;}
  .property-cta-btn__main {font-size:1.6rem;}
}

@media (max-width: 768px) {
  .property-title {
    font-size: 2.8rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .post-links {
    flex-direction: column;
    gap: 2rem;
  }
  .post-link {
    width: 100%;
  }
}

/* --- 既存テーブルスタイルの調整 --- */
.table_content_wrap02 {
  margin-top: 0;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}
.table_content_row {
  border-bottom: 1px solid #e0e0e0;
}
.table_content_row:after {
  content: none;
}
.table_h02, .table_h02_b {
  background-color: #f8f9fa;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* .slick-list {
  overflow: visible !important;
}

.slick-prev,
.slick-next {
  z-index: 20;
}
 */
/* .slick-prev {
    top: 15rem;
    left: -8rem;
  }
  
  .slick-next {
    top: 15rem;
    right: -8rem;
  }
  
  .slick-prev:before {
    content: "\f0d9";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 700;
    color: #fff;
    font-size: 4rem;
    opacity: 1;
  }
  
  .slick-next:before {
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-weight: 700;
    color: #fff;
    font-size: 4rem;
    opacity: 1;
  } */

.slide-arrow {
  width: 3.5rem;
  height: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
}

.prev-arrow {
  left: 2rem;
}

.next-arrow {
  right: 2rem;
}

.slick-slide {
  margin: 0 4.5rem;
}

.swiper-slide img {
  height: auto;
  width: 100%;
}

.slider-main__img {
  aspect-ratio: 16/10;
  cursor: pointer;
}

/* サムネイル画像一覧 */
.property-thumbs {margin-top:2rem;}
.property-thumbs__list {display:flex;flex-wrap:wrap;gap:1rem;list-style:none;margin:0;padding:0;}
.property-thumbs__item {width:100px;}
.property-thumbs__btn {padding:0;border:2px solid transparent;cursor:pointer;background:#fff;border-radius:4px;display:block;transition:.2s;}
.property-thumbs__btn img {display:block;width:100%;height:70px;object-fit:cover;border-radius:2px;}
.property-thumbs__btn:hover,.property-thumbs__btn:focus {border-color:#009b87;outline:none;}
@media (max-width:600px){.property-thumbs__item{width:calc(25% - .75rem);} .property-thumbs__btn img{height:60px;}}

/* 価格表示 */
.table_content_inner .orig-price.is-discounted {
  text-decoration: line-through;
  color: #888;
  margin-right: 1rem;
  display: inline-block;
}
.table_content_inner .discount-price {
  color: #c40000;
  font-weight: 700;
  font-size: 1.9rem;
  display: inline-block;
}


.slider-main__label {
  left: 1.5rem;
  top: 1.75rem;
}

.slider-main__caption {
  font-size: 0.9375rem;
  padding: 0.5625rem 0.9375rem;
}

.slider-thumbnail {
  border-radius: 0 0 15px 15px;
}

.swiper-button-next {
  width: 4rem;
}

.swiper-button-next::before {
  height: 2rem;
  width: 2rem;
}

.modal-btn-wrap {
  right: 1.5625rem;
  top: 1.5rem;
  width: 4rem;
}

.lineup-modal__content {
  max-width: 532px;
  padding: 3.75rem 6.25rem;
  padding: 1.25rem;
  width: 73vh;
}

.lineup-modal__close-btn-wrap {
  right: -2.25rem;
  top: -2.25rem;
  width: 3.125rem;
}

.lineup-modal__wrap-text {
  font-size: 1.5625rem;
  margin-left: calc(-40vw + 50%);
  width: 80vw;
}

@media screen and (max-width: 1024px) {
  .prev-arrow {
    left: 1rem;
  }

  .next-arrow {
    right: 1rem;
  }
}

@media screen and (max-width: 767px) {
  .slide-arrow {
    width: 2.8rem;
  }

  .prev-arrow {
    left: -1.5rem;
  }

  .next-arrow {
    right: -1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .slide-arrow {
    width: 2rem;
  }

  .prev-arrow {
    left: -0.5rem;
  }

  .next-arrow {
    right: -0.5rem;
  }
}

/* ===============================================
  # スライダー：サムネイル画像
  =============================================== */

.slider-thumbnail {
  background-color: #efefef;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.slider-thumbnail__img {
  -o-object-fit: cover;
  aspect-ratio: 1/1;
  border-radius: 5px;
  cursor: pointer;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.swiper-slide-thumb-active .slider-thumbnail__img {
  border: 3px solid #2c2c2c;
}



.swiper-button-next::before {
  background: url("../images/common/slider-next-arrow.svg") no-repeat center
    center/contain;
  content: "";
  display: none; /* デフォルトの矢印は非表示に */
  height: 44px; 
  width: 44px;
}

/* ===============================================
  # モーダル
  =============================================== */

.modal-btn-wrap {
  cursor: pointer;
  position: absolute;
  right: 1.5rem;
  top: 1.625rem;
  width: 5rem;
}

.modal-btn {
  -o-object-fit: contain;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.lineup-modal {
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1001;
}

.lineup-modal__content {
  left: 50%;
  position: relative;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 96%;
}

.lineup-modal__close-btn-wrap {
  cursor: pointer;
  display: inline-block;
  position: absolute;
  right: 0;
  top: -3.125rem;
  width: 2.5rem;
}

.lineup-modal__close-btn {
  -o-object-fit: contain;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.lineup-modal__img {
  -o-object-fit: cover;
  aspect-ratio: 732/660;
  height: 100%;
  object-fit: cover;

  width: 100%;
}

.lineup-modal__wrap-text {
  color: #fff;
  font-family: "dnp-shuei-gothic-gin-std", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  margin-top: 1.875rem;
  text-align: center;
}
