@charset "UTF-8";
/* ==========================================================================
   淡路市立サンシャインホール - お知らせ詳細ページ
   ========================================================================== */

/* ==========================================================================
   ページ全体
   ========================================================================== */
.p-news-detail {
  padding: 4rem 0 12rem;
}

/* ==========================================================================
   記事カード
   ========================================================================== */
.p-article {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0.8rem;
  padding: 5rem 6rem;
}

/* ==========================================================================
   記事ヘッダー
   ========================================================================== */
.p-article__header {
  margin-bottom: 4rem;
}

.p-article__meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

.p-article__date {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: #7d7d7d;
  line-height: 1;
}

.p-article__tag {
  background: #337D8A;
  border-radius: 4.4rem;
  padding: 0.3rem 0 0.4rem;
  width: 8.4rem;
  text-align: center;
  flex-shrink: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1;
}

.p-article__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 3.2rem;
}

.p-article__divider {
  border: none;
  border-top: 1px solid #e5e5e5;
}

/* ==========================================================================
   記事本文
   ========================================================================== */
.p-article__body {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  margin-bottom: 4rem;
}

.p-article__body p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  color: #333;
  line-height: 1.9;
}

/* h1スタイル: 左オレンジバー + 薄オレンジ背景 */
.p-article__body h1 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #333;
  line-height: 1.5;
  padding: 1.2rem 1.6rem;
  background: #E7F7F6;
  border-left: 4px solid #337D8A;
  border-radius: 0 0.4rem 0.4rem 0;
}

/* h2スタイル: オレンジ下線 */
.p-article__body h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: #333;
  line-height: 1.5;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #337D8A;
}

/* h3スタイル: ボールド */
.p-article__body h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #333;
  line-height: 1.5;
}

/* h4スタイル: オレンジテキスト */
.p-article__body h4 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: #337D8A;
  line-height: 1.5;
}

/* h5スタイル: オレンジテキスト（小） */
.p-article__body h5 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #337D8A;
  line-height: 1.5;
}

/* h6スタイル: グレーテキスト（小） */
.p-article__body h6 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: #7d7d7d;
  line-height: 1.5;
}

/* リンク */
.p-article__body a{
  color: #337D8A;
  text-decoration: underline;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  transition: opacity 0.2s;
}

.p-article__body a:hover {
  opacity: 0.7;
}

/* 箇条書きリスト */
.p-article__body ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-left: 0.4rem;
}

.p-article__body ul li {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  color: #333;
  line-height: 1.7;
  padding-left: 1.6rem;
  position: relative;
}

.p-article__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.6rem;
  height: 0.6rem;
  background: #337D8A;
  border-radius: 50%;
}

/* 数字リスト */
.p-article__body ol {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-left: 2rem;
}

.p-article__body ol li {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  color: #333;
  line-height: 1.7;
  list-style: decimal;
}

.p-article__body ol li::marker {
  color: #337D8A;
  font-weight: 700;
}

/* 画像 */
.p-article__body figure {
  width: 100%;
  border-radius: 0.4rem;
  overflow: hidden;
  background: #e5e5e5;
}

.p-article__body figure img{
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   記事フッター
   ========================================================================== */
.p-article__footer {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

.p-article__back {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  align-self: center;
  text-decoration: none;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.8rem;
  color: #333;
  transition: opacity 0.2s;
}

.p-article__back:hover {
  opacity: 0.7;
}

.p-article__back-icon {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
}

/* ==========================================================================
   SP対応 (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {

  .p-news-detail {
    padding: 2.4rem 0 8rem;
  }

  .p-article {
    padding: 3.2rem 2rem;
  }

  .p-article__title {
    font-size: 2.2rem;
  }
	
	.p-article__body h1 {
    font-size: 1.8rem;
  }
	
	.p-article__body h2 {
    font-size: 1.7rem;
  }

  .p-article__back {
    font-size: 1.6rem;
  }
}