/* ▼ お客様アンケートページ専用 売却案内ブロック */

.sell-block {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 20px 25px;
  margin-top: 40px;
  border-radius: 10px;
}

.sell-block h2 {
  color: #333;
  font-size: 1.3em;
  margin-top: 1em;
  border-left: 4px solid #008000;
  padding-left: 8px;
}

.sell-block .cta-links,
.sell-block .related-links {
  list-style: none;
  padding: 0;
  margin: 1em 0;
}

.sell-block .cta-links li,
.sell-block .related-links li {
  margin-bottom: 0.5em;
}

.sell-block a {
  color: #008000;
  text-decoration: underline;
  font-weight: bold;
}

.sell-block a:hover {
  opacity: 0.8;
}

/* ▲ ここまで */


/* ===============================
   h2 見出しデザイン（質問と統一感を出す）
   背景なし・左ライン細め
   =============================== */
h2 {
    font-size: 1.5em;                /* 少し大きめ */
    font-weight: 700;                /* 太字 */
    color: #1a3d6b;                  /* Q&Aと同じ青色 */
    margin-top: 2em;
    margin-bottom: 1em;
    border-left: 4px solid #1a3d6b;  /* 左ラインをh3と同じ太さに */
    padding-left: 10px;
    border-radius: 4px;              /* ラインとの統一感のため角丸 */
    position: relative;
    background-color: transparent;    /* 背景は透明 */
}



/* 質問部分（h3.sub_h4_ttl） */
.sub_h4_ttl {
    font-size: 1.2em;               
    font-weight: 700;               
    color: #1a3d6b;                 
    margin-top: 1.5em;
    margin-bottom: 0.1em;           /* 隙間を半分に調整 */
    border-left: 4px solid #1a3d6b; 
    padding-left: 10px;
    background-color: #f0f4f8;
    border-radius: 4px;
    position: relative;
}

/* 区切り線（質問下） */
.sub_h4_ttl::after {
    content: "";
    display: block;
    height: 1px;
    background-color: #dcdcdc;
    margin-top: 5px;
}

/* 回答部分（質問の直後のpタグ） */
.sub_h4_ttl + p {
    font-size: 1em;
    color: #333333;
	 margin-top: 0.1em;     /* 回答上の隙間を小さくする */
    margin-bottom: 0.2em;             /* 隙間を半分に調整 */
    line-height: 1.6;
    padding-left: 10px;
}

/* 「ご回答：」の強調 */
.sub_h4_ttl + p strong {
    color: #1a3d6b;
}

/* 2段目以降の回答（pタグが続く場合） */
.sub_h4_ttl + p + p {
    padding-left: 10px;
    margin-top: 0.2em;                /* 隙間を少し小さく */
}

/* ===============================
   レスポンシブ対応：h2とh3のライン幅統一
   =============================== */
@media screen and (max-width: 768px) {

    /* h2 見出し */
    h2 {
        font-size: 1.3em;            /* スマホ用に少し小さく */
        border-left-width: 3px;      /* h3と同じく細めに */
        padding-left: 8px;           /* 左ラインとの余白調整 */
    }

    /* h3.sub_h4_ttl（質問） */
    .sub_h4_ttl {
        font-size: 1.05em;           /* スマホ用に小さめ */
        border-left-width: 3px;      /* h2と揃えて統一感 */
        padding-left: 8px;
    }

    /* 回答部分の段落 */
    .sub_h4_ttl + p,
    .sub_h4_ttl + p + p {
        font-size: 0.95em;
        padding-left: 8px;           /* 左余白を質問に揃える */
    }
}

}
