/* ====== 記事ページ ====== */


.single-content {
    padding: 16px 16px 16px;
    background: #ffffff85;
}

.single-meta {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    gap: 10px;
}

.single-date {
  font-size: 17px;
  color: #777;
  margin-bottom: 8px;
}

.single-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.single-title {
  font-size: 20px;
  font-weight: 700;
  margin: 16px 0 14px;
  line-height: 1.5;
    text-align: center;
}

.single-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: #007bff;
}

.single-lead {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  background: #f7f9fb;
  padding: 14px;
  border: 2px solid #007bff;
  margin-bottom: 20px;
}

/* BEFORE / AFTER 画像ブロック */
.single-photo-block {
  margin: 24px 0;
  position: relative;
}

.single-photo-media {
  aspect-ratio: 16 / 9; /* 横長に固定 */
  border-radius: 6px;
  overflow: hidden;
  background: #e9eef3;
}

.single-photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 比率維持でカバー表示（必要に応じて上下がトリミング） */
  display: block;
}

.single-photo-block img {
  border-radius: 6px;
}

.photo-label {
  text-align: center;
  font-weight: 700;
  padding: 6px 0;
  margin-top: -1px;
}

.photo-label.before {
  background: #555;
  color: #fff;
}
.photo-label.after {
  background: #007bff;
  color: #fff;
}

/* 見出し */
.single-heading {
  font-size: 18px;
  font-weight: 700;
  color: #007bff;
  margin: 24px 0 12px;
  border-left: 4px solid #007bff;
  padding-left: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid #007bff;
}

/* 本文 */
.single-text {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* 強制リセットされた太字を記事内で復活 */
.single-text b,
.single-text strong,
.single-lead b,
.single-lead strong {
  font-weight: 700;
}

/* 一覧に戻る */
.single-more-block {
  text-align: center;
  margin: 26px 0 36px;
}

.single-related {
  margin: 26px 0 8px;
  text-align: center;
}

.single-related-link {
  color: #007bff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.single-related-link .arrow {
  margin-left: 4px;
}

.single-more-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #007bff;
  color: #fff;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
}

.single-more-btn::after {
  content: "＞";
  margin-left: 8px;
  font-weight: 800;
}


.single-more-block .single-more-btn {
  color: #fff;
}

