/* Start custom CSS for text-editor, class: .elementor-element-17f20ce4 *//* 不動産記事本文：スマホ最適化 */
.real-estate-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 18px;
  color: #2b2b2b;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.02em;
}

.real-estate-article p {
  margin: 0 0 1.35em;
}

.real-estate-article strong {
  font-weight: 700;
}

/* 大見出し */
.real-estate-article h2 {
  margin: 2.4em 0 1.2em;
  padding: 0.9em 1em;
  background: #e7f1f7;
  border-top: 2px dotted #3f7d9f;
  border-bottom: 2px dotted #3f7d9f;
  color: #2b2b2b;
  font-size: clamp(22px, 5.8vw, 32px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* 中見出し */
.real-estate-article h3 {
  margin: 2em 0 1em;
  padding: 0.65em 0.85em;
  background: #dcecf5;
  border-radius: 8px;
  color: #2b2b2b;
  font-size: clamp(20px, 5.2vw, 28px);
  line-height: 1.4;
  font-weight: 700;
}

/* 小見出し */
.real-estate-article h4 {
  margin: 1.8em 0 0.8em;
  padding-left: 0.65em;
  border-left: 4px solid #3f7d9f;
  color: #2b2b2b;
  font-size: clamp(18px, 4.8vw, 24px);
  line-height: 1.45;
  font-weight: 700;
}

/* 箇条書き風に見える強調行の間隔 */
.real-estate-article strong + strong {
  display: block;
  margin-top: 0.35em;
}

/* 画像 */
.real-estate-article img {
  max-width: 100%;
  height: auto;
  margin: 1.6em auto;
  display: block;
  border-radius: 6px;
}

/* 引用 */
.real-estate-article blockquote {
  margin: 1.8em 0;
  padding: 1.2em 1.3em;
  background: #f7f9fa;
  border-left: 5px solid #7fa9bf;
  color: #333;
  line-height: 1.8;
}

/* 表 */
.real-estate-article table {
  width: 100% !important;
  height: auto !important;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 14px;
  line-height: 1.6;
}

.real-estate-article td,
.real-estate-article th {
  padding: 0.7em 0.6em;
  border: 1px solid #cfd8df;
  vertical-align: middle;
}

.real-estate-article tr:first-child td {
  background: #edf4f8;
  font-weight: 700;
}

/* スマホ専用調整 */
@media screen and (max-width: 600px) {
  .real-estate-article {
    padding: 0 10px;
    font-size: 15.5px;
    line-height: 1.9;
  }

  .real-estate-article h2 {
    margin: 2.1em 0 1em;
    padding: 0.8em 0.75em;
    font-size: 24px;
    line-height: 1.38;
  }

  .real-estate-article h3 {
    margin: 1.8em 0 0.9em;
    padding: 0.65em 0.7em;
    font-size: 21px;
    line-height: 1.42;
  }

  .real-estate-article h4 {
    font-size: 19px;
  }

  .real-estate-article table {
    font-size: 13px;
  }

  .real-estate-article td,
  .real-estate-article th {
    padding: 0.65em 0.45em;
  }
}/* End custom CSS */