/* ========== ニュース詳細ページ ========== */

.l-main {
  background-color: #F6F6F6;
}
/* — ビジュアル（背景画像＋固定タイトル “News”） — */
.p-news-single__visual {
  position: relative;
  overflow: hidden;
  height: 256px;
  margin-top: 104px;
  background-color: #E7E7E7;
  background-repeat: no-repeat;
  background-position: center top;
  /* background-size: auto; */
  background-size: 1440px auto;
  background-image: url('../img/title_back_pc.png');
}

@media (max-width: 767px) {
  .p-news-single__visual {
    height: 200px;
    background-size: 100% auto;
    background-image: url('../img/title_back_sp.png');
  }
}

/* ========== ビジュアル内タイトル配置 ========== */
.p-news-single__visual-inner {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 1152px;
  transform: translateY(-50%);
  text-align: left;
  z-index: 1;
}

/* ========== タイトルテキストスタイル ========== */
.p-news-single__title {
  font-size: 38px;
  font-weight: normal;
  margin: 0;
  color: #000;
}

/* — 本文エリア — */
.p-news-single__inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 136px 0;
}

/* 日付 */
.p-news-single__date {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 24px;
}

/* 投稿タイトル（サブタイトル） */
.p-news-single__sub-title {
  font-size: 28px;
  line-height: 1.4;
  margin: 0 0 1em;
  font-weight: 400;
  border-bottom: 1px solid #000;
  padding-bottom: 0.5em;
  color: #000;
}

/* 本文部分 */
.p-news-single__content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.6em;
  color: #333;
}

/* 画像のレスポンシブ対応 */
.p-news-single__content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2em auto;
}

/* リスト */
.p-news-single__content ul,
.p-news-single__content ol {
  margin: 1em 0 1em 1.4em;
  padding: 0;
}
.p-news-single__content li {
  margin-bottom: 0.5em;
}

/* 記事内見出し */
.p-news-single__content h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 2em 0 0.8em;
}
.p-news-single__content h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 1.8em 0 0.6em;
}

/* 引用ブロック */
.p-news-single__content blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1em;
  margin: 1.6em 0;
  font-style: italic;
  color: #555;
}

/* ニュース一覧へ戻るボタン */
.p-news-single__to-list {
  text-align: center;
  margin-top: 80px;
}
.p-news-single__to-list > a {
  display: inline-block;
  padding: 24px 0;
  border: #000 1px solid;
  border-radius: 60px;
  width: 304px;
}

.p-news-single__content a {
  text-decoration: underline;
}
.p-news-single__content a:hover {
  text-decoration: none;
}

/* — SPレスポンシブ — */
@media (max-width: 767px) {
  .p-news-single__visual {
    height: 200px;
  }
  .p-news-single__visual-inner {
    margin: 0 16px;
  }
  .p-news-single__title {
    font-size: 1.5rem;
  }
  .p-news-single__inner {
    padding: 72px 16px 64px;
  }
  .p-news-single__date {
    font-size: 14px;
    margin-bottom: 14px;
  }
  .p-news-single__sub-title {
    font-size: 18px;
    margin: 0 0 16px;
    padding-bottom: 0.4em;
    line-height: 1.2;
  }
  .p-news-single__content p {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 1.2em;
  }
  .p-news-single__content h2 {
    font-size: 1.25rem;
    margin: 1.6em 0 0.6em;
  }
  .p-news-single__content h3 {
    font-size: 1.1rem;
    margin: 1.4em 0 0.5em;
  }
  .p-news-single__to-list {
    margin-top: 64px;
  }
  .p-news-single__content img {
    margin: 0 auto 1.2em;
  }
}
