/* =========================
   ブログ記事 全体
========================= */

.up-d_column-detail {
  max-width: 900px;
  margin: 60px auto;
  padding: 48px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  box-sizing: border-box;
  line-height: 1.9;
  color: #333;
}

/* =========================
   投稿日
========================= */

.up-d_column-date {
  font-size: 14px;
  color: #888;
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}

/* =========================
   タイトル
========================= */

.up-d_column-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 36px;
  color: #222;
  letter-spacing: 0.03em;
}

/* =========================
   アイキャッチ画像
========================= */

.up-d_column-detail img {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  margin: 0 auto 40px;
  border-radius: 12px;
}

/* =========================
   本文
========================= */

.up-d_column-text {
  font-size: 16px;
  line-height: 2.1;
  color: #444;
  word-break: break-word;
}

/* 段落 */
.up-d_column-text p {
  margin-bottom: 28px;
}

/* リンク */
.up-d_column-text a {
  color: #2b6cb0;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.up-d_column-text a:hover {
  opacity: 0.7;
}


/* =========================
   一覧へ戻る
========================= */

.up-d_back {
  width: 100%;
  margin: 60px auto 0;
  text-align: center;
}

.up-d_back a,
.up-d_back a:link,
.up-d_back a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 32px;
  background: #551a86;
  color: #fff !important;
  text-decoration: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

/* hover */
.up-d_back a:hover {
  background: #111;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* =========================
   スマホ対応
========================= */

@media screen and (max-width: 768px) {

  .up-d_column-detail {
    margin: 24px 16px;
    padding: 28px 20px;
    border-radius: 12px;
  }

  .up-d_column-date {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .up-d_column-title {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 28px;
  }

  .up-d_column-detail img {
    max-width: 360px;
    width: 100%;
    aspect-ratio: 3 / 2;
    margin: 0 auto 32px;
    border-radius: 10px;
  }

  .up-d_column-text {
    font-size: 16px;
    line-height: 2;
  }

  .up-d_back {
    margin-top: 48px;
  }

  .up-d_back a,
  .up-d_back a:link,
  .up-d_back a:visited {
    width: 100%;
    max-width: 260px;
    padding: 13px 24px;
    font-size: 15px;
  }

}




/* ##### ページネーション pager ##### */
/* カスタムプロパティ */
:root {
  --color-01: #a28e5a;
  --color-02: #fff;
}

.pager {
  width: 100%;
  margin: clamp(3rem, 2.09rem + 0.24vw, 5rem);
}
.pager-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.pager-list.-left {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
.pager-list.-right {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
.pager-list li {
  width: 2.5em;
  height: 2.5em;
  margin: 0 0.5em;
}
.pager-list li a,
.pager-list li .now {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0.25em;
  font-size: 1.25em;
  color: var(--color-02);
  line-height: 1;
  border: 2px solid var(--color-01);
  background-color: var(--color-01);
  position: relative;
}
.pager-list li a a:hover,
.pager-list li .now a:hover {
  color: var(--color-01);
  background-color: var(--color-02);
  opacity: 1;
}
.pager-list li a:focus,
.pager-list li .now:focus {
  outline: none;
}
.pager-list li a:hover,
.pager-list li .now {
  color: var(--color-01);
  border: 2px solid var(--color-01);
  background-color: var(--color-02);
  opacity: 1;
}
.pager-list .arrow a::before {
  content: "";
  width: 10px;
  height: 10px;
  display: inline-block;
  border-top: 2px solid var(--color-02);
  border-right: 2px solid var(--color-02);
}
.pager-list .arrow a:hover {
  color: var(--color-02);
}
.pager-list .arrow a:hover::before {
  border-top: 2px solid var(--color-01);
  border-right: 2px solid var(--color-01);
}
.pager-list .arrow.-prev a::before {
  -webkit-transform: rotate(-135deg);
          transform: rotate(-135deg);
}
.pager-list .arrow.-next a::before {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.pager.-circle-list li a,
.pager.-circle-list li .now {
  border-radius: 100%;
}
.pager.-deformation-list li a,
.pager.-deformation-list li .now {
  border-radius: 0.5em 0;
}

@media (max-width: 1024px) {
  .pager-list.-left\@tb {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .pager-list.-right\@tb {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
  }
  .pager-list li {
    margin: 0 0.25em;
  }
}
@media (max-width: 599px) {
  .pager-list.-left\@sp {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .pager-list.-right\@sp {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
  }
}
