@charset "UTF-8";
/* CSS Document */

.nx-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: clamp(2em, 6vh, 3.5em) 1.5em clamp(2em, 5vh, 3em);
  background: none;
  border: none;
}

.nx-inner {
  width: 100%;
  max-width: min(620px, 92vw); /* 画面に収める */
  margin: 0 auto;
  border-left: 2px solid #333;
  padding-left: 0.9em;
}

.nx-text {
  font-family: "Noto Sans JP","Hiragino Sans","游ゴシック体",sans-serif;
  font-size: clamp(15px, 4vw, 17px);
  line-height: 1.9;
  letter-spacing: 0.03em;
  text-align: left;
  color: #111;

  /* 🔧 ここがポイント */
  white-space: pre-line;     /* <br>で確実に改行 */
  word-break: normal;        /* CJKは自然に折り返しOK */
  overflow-wrap: anywhere;   /* 英数や長い語も折り返す */
  /* text-wrap: pretty;  ← 対応ブラウザなら見た目がさらに整う（任意） */

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ============================================
   RENOVATION 見出しブロック
   （Elementor衝突なしの独立クラス）
============================================ */

.nx-heading-renov {
  text-align: center;
  padding: 48px 20px 56px;
  font-family: "Noto Serif JP", serif;
  color: #1a1a1a;
}

.nx-heading-renov__label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #7d7d7d;
  margin-bottom: 12px;
}

.nx-heading-renov__title {
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 16px;
}

.nx-heading-renov__title span {
  color: #4aa3d8; /* アクセントカラー */
}

.nx-heading-renov__lead {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(0.9rem, 3.2vw, 1.1rem);
  line-height: 1.7;
  color: #555;
  margin-top: 12px;
}

/* PC調整 */
@media (min-width: 1024px) {
  .nx-heading-renov {
    padding: 72px 20px 80px;
    max-width: 780px;
    margin: 0 auto;
  }
}

/* ============================================
   暮らしコピー 見出しブロック
   nx-heading-life
============================================ */

.nx-heading-life {
  text-align: center;
  padding: 48px 20px 56px;
  font-family: "Noto Serif JP", serif;
  color: #1a1a1a;
  box-sizing: border-box;
}

.nx-heading-life__label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #888;
  margin-bottom: 12px;
}

.nx-heading-life__title {
  font-size: clamp(1.7rem, 5.2vw, 2.6rem);
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 16px;
}

.nx-heading-life__accent {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.9em;
  letter-spacing: 0.06em;
  background: rgba(74, 163, 216, 0.07); /* うっすら水色 */
  color: #114b73;                         /* 濃いめの紺 */
}

.nx-heading-life__lead {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(0.9rem, 3.2vw, 1.05rem);
  line-height: 1.8;
  color: #555;
  max-width: 32em;
  margin: 12px auto 0;
}

/* PC用の余白調整 */
@media (min-width: 1024px) {
  .nx-heading-life {
    padding: 72px 20px 80px;
    max-width: 820px;
    margin: 0 auto;
  }
}
