/* =========================================================
   ブログ記事詳細ページ (slug: blog-detail)
   デザインカンプ XoXUw4vzh2C2X6RIfJJVGM node 560:5834 を再現。
   top.css / pages.css の後に読み込む。px/rem ベース（cqw は使わない）。
   ========================================================= */

.bld-pagehead {
  background: #fff;
  padding: 42px 0 48px;
}
.bld-pagehead__inner {
  max-width: 1064px;
  margin: 0 auto;
  padding: 0 24px;
}
.bld-pagehead__content {
  width: min(600px, 100%);
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}
.bld-pagehead__crumb {
  margin: 0 0 14px;
  color: #3b3b3b;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 1.2px;
}
.bld-pagehead__en {
  margin: 0;
  color: var(--c-brown);
  font-family: var(--ff-josefin);
  font-weight: 700;
  font-size: 50px;
  line-height: 1;
  letter-spacing: 1.5px;
}
.bld-pagehead__ja {
  margin: 14px 0 0;
  color: var(--c-brown);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 1.4px;
}

.bld { background: #fff; padding: 64px 0 8px; }
.bld-related { background: #fff; padding: 36px 0 76px; }
.bld-related + .cta-band { background: #fff !important; }

.bld__wrap,
.bld-related__wrap {
  max-width: 1064px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 本文 + タグサイドバー 2カラム ---------- */
.bld__wrap {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}
.bld__main { flex: 1 1 auto; min-width: 0; max-width: 600px; }
.bld__side { flex: 0 0 272px; }

/* ---------- 記事ヘッダー ---------- */
.bld-article__head { margin-bottom: 22px; }
.bld-article__title {
  margin: 0;
  color: #3b3b3b;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.45;
  letter-spacing: 3.2px;
}
.bld-article__meta {
  display: flex;
  align-items: center;
  margin: 14px 0 0;
  color: var(--c-pink);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1.8px;
}
.bld-article__sep { margin: 0 2px; }

/* ---------- 記事メイン画像（カンプはグレープレースホルダ） ---------- */
.bld-article__hero {
  margin: 0 0 40px;
  border-radius: 4px;
  aspect-ratio: 600 / 353;
  background: #e3ddd9;
}

/* ---------- 本文 ---------- */
.bld-article__body { color: var(--c-brown2); }

.bld-article__heading {
  position: relative;
  margin: 0 0 26px;
  padding-left: 24px;
  color: #3b3b3b;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 3.2px;
}
.bld-article__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 7px;
  border-radius: 3px;
  background: var(--c-red);
}

.bld-article__body p {
  margin: 0 0 14px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.85; /* 実投稿は行間広めで読みやすく */
  letter-spacing: 1px;
}

/* ---------- 実投稿(the_content)の本文要素：画像・見出し・リスト・リンク ---------- */
.bld-article__hero img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; display: block; }
.bld-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 12px auto;
  display: block;
}
.bld-article__body h2 {
  position: relative;
  margin: 36px 0 18px;
  padding-left: 16px;
  color: #3b3b3b;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 1.6px;
  border-left: 6px solid var(--c-red);
}
.bld-article__body h3 {
  margin: 28px 0 12px;
  padding-left: 12px;
  color: #3b3b3b;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 1.4px;
  border-left: 5px solid var(--c-pink);
}
.bld-article__body h4 { margin: 22px 0 10px; color: #3b3b3b; font-weight: 700; font-size: 16px; letter-spacing: 1px; }
.bld-article__body ul, .bld-article__body ol { margin: 0 0 18px; padding-left: 1.6em; }
.bld-article__body li { font-weight: 500; font-size: 16px; line-height: 1.85; letter-spacing: 1px; margin: 0 0 4px; }
.bld-article__body a { color: var(--c-pink); text-decoration: underline; }
.bld-article__body a:hover { opacity: .8; }
.bld-article__body strong { font-weight: 700; }
.bld-article__body iframe, .bld-article__body video { max-width: 100%; }

.bld-article__subhead {
  margin: 34px 0 14px;
  color: #3b3b3b;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 1.8px;
  padding-left: 14px;
  border-left: 5px solid var(--c-pink);
}

.bld-article__points {
  margin: 6px 0 22px;
  padding: 0;
  list-style: none;
  background: transparent;
  border-radius: 0;
}
.bld-article__points li {
  margin: 0;
  padding: 0 0 0 6px;
  color: #3b3b3b;
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.85;
  letter-spacing: 1px;
}
.bld-article__points li + li { margin-top: 8px; }
.bld-article__points li::marker { content: ""; }

/* ---------- 一覧へ戻る ---------- */
.bld-article__back { margin-top: 44px; text-align: center; }
.bld-article__back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 15px 30px;
  border-radius: 50px;
  background: var(--c-red);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1.4px;
}
.bld-article__back-link::before {
  content: "‹";
  margin-right: 10px;
  font-size: 18px;
  line-height: 1;
}
.bld-article__back-link:hover { opacity: .9; }

/* ---------- タグサイドバー（カンプ bld-side 再現） ---------- */
.bld-tags {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #f3e7e4;
}
.bld-tags__title {
  margin: 0;
  padding: 14px 18px;
  background: #f3a39b;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
}
.bld-tags__list {
  list-style: none;
  margin: 0;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bld-tags__item {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid #ddd4cf;
  border-radius: 4px;
  background: #fff;
  color: #5a5048;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: .4px;
  transition: border-color .2s, color .2s;
}
.bld-tags__item:hover { border-color: var(--c-pink); color: var(--c-pink); }

/* ---------- 関連記事 ---------- */
.bld-related__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 10px;
  max-width: 610px;
}
.bld-card__link { display: block; color: inherit; }
.bld-card__thumb {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: #e3ddd9;
  transition: filter .3s ease;
}
.bld-card__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.bld-card__link:hover .bld-card__thumb { filter: brightness(.97); }
.bld-card__title {
  margin: 22px 0 0;
  color: #3b3b3b;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 2.56px;
}
.bld-card__meta {
  margin: 8px 0 0;
  color: var(--c-pink);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1.8px;
}

/* ---------- ページャー（カンプ bld-pager 再現） ---------- */
.bld-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 50px;
}
.bld-pager__num,
.bld-pager__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  background: #fff;
  color: #5a5048;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .5px;
  border: 1px solid #f0e6e3;
}
.bld-pager__num.is-current {
  background: var(--c-pink);
  color: #fff;
  border-color: var(--c-pink);
}
.bld-pager__num:hover,
.bld-pager__arrow:hover { background: var(--c-pink-soft); }
.bld-pager__num.is-current:hover { background: var(--c-pink); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  .bld__wrap {
    flex-direction: column;
    gap: 36px;
  }
  .bld__main { max-width: none; width: 100%; }
  .bld__side { flex: none; width: 100%; max-width: 420px; }
}

@media (max-width: 600px) {
  .bld-pagehead { padding: 28px 0 32px; }
  .bld-pagehead__inner { padding: 0 18px; }
  .bld-pagehead__content { margin-left: 0; margin-right: auto; }
  .bld-pagehead__en { font-size: 34px; }
  .bld-pagehead__crumb { font-size: 12px; gap: 0 8px; }
  .bld { padding: 88px 0 8px; }
  .bld-related { padding: 28px 0 52px; }
  .bld__wrap,
  .bld-related__wrap { padding: 0 18px; }
  .bld-article__title { font-size: 20px; letter-spacing: 1.8px; }
  .bld-article__heading { font-size: 18px; letter-spacing: 1.8px; }
  .bld-article__body p { font-size: 15px; line-height: 1.9; letter-spacing: 1px; }
  .bld-article__subhead { font-size: 16px; }
  .bld-article__points { padding: 0; }
  .bld-article__points li { font-size: 14.5px; }
  .bld-article__back-link { min-width: 200px; width: 100%; }
  .bld-related__grid { grid-template-columns: 1fr; gap: 28px; max-width: none; }
  .bld-card__title { letter-spacing: 1.6px; }
  .bld-pager__num,
  .bld-pager__arrow { width: 34px; height: 34px; font-size: 13px; }
  .bld-pager { gap: 6px; flex-wrap: wrap; }
}
