/*
Theme Name:     Lightning-child
Description:    Lightningの子テーマ
Author:         mirai-todoke
Template:       lightning

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/


/* =========================
   Lightningのh2の横棒を消す
========================= */

h2 {
	border-top: none !important;
	padding-top: 0 !important;
}

/* =========================
   改行
========================= */

.hidden {
	display: none;
}

.hidden.pcBlock {
	display: inline;
}

@media screen and (max-width: 640px) {
	.hidden.pcBlock {
		display: none;
	}

	.hidden.spBlock {
		display: inline;
	}
}



/*HOME*/

.rels-search-form {
  background: #f7f9fc;
  border: 1px solid #dfe6ef;
  border-radius: 14px;
  padding: 22px;
  margin: 0 0 28px;
}

.rels-search-block {
  margin-bottom: 22px;
}

.rels-search-block h3 {
  font-size: 18px;
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 5px solid #2f7ecb;
}

.rels-check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rels-check-list label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #d7e1ec;
  border-radius: 999px;
  padding: 8px 13px;
  cursor: pointer;
  font-size: 14px;
}

.rels-count {
  color: #6b7280;
  font-size: 12px;
}

.rels-search-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.rels-search-actions button,
.rels-detail-button,
.rels-inquiry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: #2f7ecb;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.rels-search-actions button:hover,
.rels-detail-button:hover,
.rels-inquiry-button:hover {
  background: #1f66a8;
  color: #fff;
}

.rels-result-head {
  margin-bottom: 14px;
}

.rels-result-count {
  font-weight: 700;
  margin: 0;
}

.rels-property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 24px;
}

@media (max-width: 900px) {
  .rels-property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .rels-property-grid {
    grid-template-columns: 1fr;
  }
}

.rels-property-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.rels-property-thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef2f7;
  color: inherit;
  text-decoration: none;
}

.rels-property-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rels-no-image {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-weight: 700;
}

.rels-status {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #16a34a;
  color: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}

.rels-property-body {
  padding: 16px;
}

.rels-property-title {
  font-size: 18px;
  line-height: 1.45;
  margin: 0 0 10px;
}

.rels-property-title a {
  color: #111827;
  text-decoration: none;
}

.rels-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.rels-price span {
  font-size: 13px;
  color: #6b7280;
}

.rels-price strong {
  color: #dc2626;
  font-size: 22px;
}

.rels-small,
.rels-info {
  font-size: 14px;
  margin: 6px 0;
  color: #374151;
}

.rels-property-spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #e5e7eb;
  border-left: 1px solid #e5e7eb;
  margin: 12px 0;
}

.rels-property-spec div {
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 8px;
}

.rels-property-spec dt {
  font-size: 12px;
  color: #6b7280;
}

.rels-property-spec dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.rels-feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.rels-feature-badges span {
  display: inline-flex;
  align-items: center;
  border: 1px solid #b9d8f4;
  background: #eef7ff;
  color: #1f66a8;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
}

.rels-detail-button {
  width: 100%;
  margin-top: 10px;
}

.rels-empty {
  background: #fff8e6;
  border: 1px solid #f5d68a;
  border-radius: 12px;
  padding: 18px;
}

.rels-pagination {
  margin-top: 28px;
}

.rels-pagination ul {
  display: flex;
  gap: 8px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.rels-pagination a,
.rels-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 6px 12px;
  text-decoration: none;
}

.rels-pagination .current {
  background: #2f7ecb;
  color: #fff;
  border-color: #2f7ecb;
}

.rels-single-main-image {
  margin: 0 0 24px;
}

.rels-single-main-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.rels-section-title {
  font-size: 22px;
  margin: 28px 0 14px;
  padding-left: 12px;
  border-left: 5px solid #2f7ecb;
}

.rels-detail-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
}

.rels-detail-table th,
.rels-detail-table td {
  border: 1px solid #e5e7eb;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.rels-detail-table th {
  width: 28%;
  background: #f8fafc;
  font-weight: 700;
}

.rels-feature-badges-large span {
  font-size: 14px;
  padding: 7px 12px;
}

.rels-remarks {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
}

.rels-inquiry-box {
  margin-top: 32px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef7ff, #ffffff);
  border: 1px solid #cfe6fb;
  text-align: center;
}

.rels-inquiry-box h2 {
  margin-top: 0;
}

.rels-search-page {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 70px;
  box-sizing: border-box;
}

.rels-search-page *,
.rels-search-page *::before,
.rels-search-page *::after {
  box-sizing: border-box;
}

.rels-search-intro {
  margin: 0 0 24px;
}

.rels-search-label {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eef7ff;
  color: #2f7ecb;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.rels-search-intro h1 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.35;
  font-weight: 800;
  color: #111827;
}

.rels-search-intro p:last-child {
  margin: 0;
  color: #374151;
  font-size: 16px;
  line-height: 1.8;
}

.rels-search-form {
  width: 100%;
  max-width: 100%;
  margin: 0 0 32px;
  padding: 26px;
  overflow: hidden;
}

.rels-result-count {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 16px;
}

@media (max-width: 640px) {
  .rels-search-page {
    padding: 34px 14px 50px;
  }

  .rels-search-label {
    font-size: 12px;
    padding: 5px 12px;
  }

  .rels-search-intro h1 {
    font-size: 26px;
  }

  .rels-search-intro p:last-child {
    font-size: 14px;
  }

  .rels-search-form {
    padding: 16px;
  }
}

/*1件の物件だけ表示の場合に綺麗に見えるように上に余白*/

.rels-property-list-wrap {
  margin-top: 26px;
}

.rels-result-head {
  margin: 0 0 18px;
}

.rels-result-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #111827;
}

.rels-result-count::before {
  content: "";
  width: 6px;
  height: 20px;
  border-radius: 999px;
  background: #2f7ecb;
}


/* HOME追加：主な機能 修正版 */
.rels-demo-system-section {
  padding: 34px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid var(--rels-demo-border);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.rels-demo-system-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.rels-demo-system-grid > div {
  padding: 22px;
  border: 1px solid var(--rels-demo-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
}

.rels-demo-system-grid h3 {
  margin: 0 0 10px !important;
  padding: 0 0 0 12px !important;
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-left: 5px solid var(--rels-demo-blue) !important;
  background: transparent !important;
  color: #10233f;
  font-size: 18px;
  line-height: 1.5;
}

.rels-demo-system-grid h3::before,
.rels-demo-system-grid h3::after {
  content: none !important;
  display: none !important;
}

.rels-demo-system-grid p {
  margin: 0 !important;
  color: var(--rels-demo-muted);
  line-height: 1.85;
  font-size: 14px;
}

@media (max-width: 900px) {
  .rels-demo-system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .rels-demo-system-section {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .rels-demo-system-grid {
    grid-template-columns: 1fr;
  }
}

/* HOME追加：使い方の流れ 修正版 */
.rels-demo-flow-section {
  padding: 34px;
  border: 1px solid var(--rels-demo-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.rels-demo-flow-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.rels-demo-flow-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--rels-demo-border);
  border-radius: 18px;
  background: #f8fbff;
  box-sizing: border-box;
}

.rels-demo-flow-list li > span {
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--rels-demo-blue);
  color: #fff;
  font-weight: 900;
  line-height: 1;
}

.rels-demo-flow-list li > div {
  flex: 1 1 auto;
  min-width: 0;
}

.rels-demo-flow-list h3 {
  margin: 0 0 10px !important;
  padding: 0 0 0 12px !important;
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-left: 5px solid var(--rels-demo-blue) !important;
  background: transparent !important;
  color: #10233f;
  font-size: 18px;
  line-height: 1.5;
}

.rels-demo-flow-list h3::before,
.rels-demo-flow-list h3::after {
  content: none !important;
  display: none !important;
}

.rels-demo-flow-list p {
  margin: 0 !important;
  color: var(--rels-demo-muted);
  line-height: 1.85;
  font-size: 14px;
}

@media (max-width: 900px) {
  .rels-demo-flow-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .rels-demo-flow-section {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .rels-demo-flow-list li {
    min-height: 0;
    padding: 18px;
  }
}























/*ヘッダ画像ボタン設置*/
.custom-header-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.custom-header-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.custom-header-banner a {
  position: absolute;
  display: block;
  z-index: 5;
}

/* 左の「物件を探す」ボタン部分 */
.header-link-search {
  left: 3.2%;
  top: 7%;
  width: 21%;
  height: 20%;
}

/* 右の「無料相談はこちら」ボタン部分 */
.header-link-contact {
  left: 26.8%;
  top: 7%;
  width: 23%;
  height: 20%;
}