@charset "utf-8";
/* --------------------------------------------------------------
   単一記事（news-body）共通スタイル
-------------------------------------------------------------- */

#pg-common .news-body {
    font-size: 15px;
    line-height: 1.9;
}

#pg-common .news-body p {
    margin: 0 0 1.2em;
}

#pg-common .news-body h2 {
    font-size: 22px;
    margin: 2.4em 0 1em;
    font-weight: 600;
    text-align: center;
}

#pg-common .news-body h3 {
  position: relative;
  padding-left: 0.8em;
  border-left: 3px solid #d6c8a5;
  margin: 2.4em 0 1em;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}

/* リスト */
#pg-common .news-body ul {
    margin: 0 0 1.4em;
}

#pg-common .news-body ul li {
    margin-bottom: 0.4em;
}

/* 画像まわり */
#pg-common .news-body img {
    max-width: 100%;
    height: auto;
}

/* WordPress 標準の配置クラス */
#pg-common .news-body .alignleft {
    float: left;
    margin: 0 1em 1em 0;
}

#pg-common .news-body .alignright {
    float: right;
    margin: 0 0 1em 1em;
}

#pg-common .news-body .aligncenter {
    display: block;
    margin: 0 auto 1em;
}

/* figure（イベント画像など） */
#pg-common .news-body figure {
    margin: 0 0 1.5em;
}

#pg-common .news-body .event-main-image {
    text-align: center;
}

/* イベント用の軽い装飾 */
#pg-common .news-body .event-article {
    margin-top: 8px;
}

#pg-common .news-body .event-meta {
    text-align: center;
    margin-bottom: 1em;
}

#pg-common .news-body .event-note {
    font-size: 13px;
    color: #666;
}

/* スケジュール（dl） */
#pg-common .news-body .event-schedule {
    margin-bottom: 1.2em;
}

#pg-common .news-body .event-schedule dt {
    font-weight: 600;
    margin-top: 0.8em;
}

#pg-common .news-body .event-schedule dd {
    margin-left: 0;
    margin-bottom: 0.4em;
}

/* 厄年テーブル */
#pg-common .news-body .yakudoshi-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 14px;
}

#pg-common .news-body .yakudoshi-table th,
#pg-common .news-body .yakudoshi-table td {
    border: 1px solid #ddd;
    padding: 8px 10px;
}

#pg-common .news-body .yakudoshi-table thead th {
    background: #f5f5f5;
    text-align: center;
}

/* スマホ調整 */
@media screen and (max-width: 768px) {
    #pg-common .news-body {
        font-size: 14px;
    }

    #pg-common .news-body h2 {
        font-size: 20px;
    }

    #pg-common .news-body .alignleft,
    #pg-common .news-body .alignright {
        float: none;
        margin: 0 0 1em;
    }
}

/* --------------------------------------------------------------
   記事内 h2
-------------------------------------------------------------- */
#pg-common .news-body h2 {
    position: relative;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    padding: 0.6em 0 0.8em;
    margin: 2.2em 0 1.4em;
    color: #222;
}

/* 上のライン */
#pg-common .news-body h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 64px;
    height: 2px;
    background: #d6c8a5;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* 下の細ライン */
#pg-common .news-body h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 40%;
    max-width: 280px;
    height: 1px;
    background: #e0e0e0;
    transform: translateX(-50%);
}
@media screen and (max-width: 768px) {
    #pg-common .news-body h2 {
        font-size: 20px;
        margin: 1.8em 0 1.2em;
    }

    #pg-common .news-body h2::before {
        width: 48px;
    }

    #pg-common .news-body h2::after {
        width: 60%;
    }
}
.more-news {
  position: relative;
  margin-top: 40px;
  align-items: center;
  display: flex;
  flex-direction: row;
}
.next {
  position: relative;
  right: 0;
  padding: 10px;
  background: #fff;
  border: solid 1px #ccc;
  width: 50%;
  text-align: center;
}
.prev {
  position: relative;
  left: 0;
  padding: 10px;
  background: #fff;
  border: solid 1px #ccc;
  width: 50%;
  text-align: center;
}

/* FAQ：質問 */
#pg-common .news-body dl.faq-list dt {
  font-weight: 600;
  margin-top: 1.6em;
  padding: 0.6em 0.8em;
  background: #f7f6f3;
  border-left: 4px solid #b9a978;
}

/* --------------------------------------------------------------
   記事下 CTA
-------------------------------------------------------------- */
.cta-contact {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  padding: 32px;
  margin-top: 60px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  clear: both;
}
.cta-contact__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
#pg-common .news-body h3.cta-contact__title {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  padding: 0 10px 10px;
}
.cta-contact__text {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.cta-contact__tel {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}
.cta-contact__note {
  font-size: 13px;
  color: #666;
  margin-bottom: 24px;
}
.cta-contact__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}
.cta-btn--form {
  background: #333;
  color: #fff;
}
.cta-btn--insta {
  background: #d9477a;
  color: #fff;
}
.cta-btn:hover {
  opacity: .85;
}
/* スマホ対応 */
@media screen and (max-width: 768px) {
  .cta-contact {
    padding: 24px;
    margin-top: 40px;
  }
  .cta-contact__title {
    font-size: 20px;
  }
  .cta-contact__tel {
    font-size: 18px;
  }
  .cta-contact__buttons {
    flex-direction: column;
    gap: 12px;
  }
}

/* --------------------------------------------------------------
   Sidebar 基本レイアウト
-------------------------------------------------------------- */
.l-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.c-sidebar-widget h2.wp-block-heading, .c-sidebar-widget .widgettitle {
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 6px;
  border-bottom: 1px solid #ddd;
}
/* --------------------------------------------------------------
   最新投稿（行事予定リスト）
-------------------------------------------------------------- */
.wp-block-latest-posts__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wp-block-latest-posts__list li {
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
}
.wp-block-latest-posts__list li:last-child {
  border-bottom: none;
}
/* サムネイル画像（左寄せ小さめ） */
.wp-block-latest-posts__featured-image {
  float: left;
  margin-right: 12px;
}
.wp-block-latest-posts__featured-image img {
  width: 70px !important;
  height: 70px !important;
  object-fit: cover;
  border-radius: 6px;
}
/* タイトル */
.wp-block-latest-posts__post-title {
  font-size: 15px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  color: #333;
  text-decoration: none;
}
.wp-block-latest-posts__post-title:hover {
  opacity: .8;
}
/* 投稿者・日付 */
.wp-block-latest-posts__post-author, .wp-block-latest-posts__post-date {
  font-size: 12px;
  color: #666;
  margin: 0;
}
/* 投稿リスト float解除 */
.wp-block-latest-posts__list li::after {
  content: "";
  display: block;
  clear: both;
}
/* --------------------------------------------------------------
   画像ウィジェット
-------------------------------------------------------------- */
.c-sidebar-widget.widget_media_image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}
/* --------------------------------------------------------------
   レスポンシブ（スマホ）
-------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .l-sidebar {
    margin-top: 40px;
    gap: 24px;
  }
  .c-sidebar-widget {
    padding: 20px;
  }
  .wp-block-latest-posts__featured-image img {
    width: 60px !important;
    height: 60px !important;
  }
}

/* --------------------------------------------------------------
   記事末尾 共通メッセージ
-------------------------------------------------------------- */
#pg-common .news-body .article-feedback {
  margin-top: 3.5em;
  padding-top: 2em;
  border-top: 1px solid #e5e5e5;
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}


/* --------------------------------------------------------------
   記事 監修・執筆 表示
-------------------------------------------------------------- */
#pg-common .article-credits {
  margin-top: 3.5em;
  padding-top: 2em;
  border-top: 1px solid #e5e5e5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

#pg-common .credit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

#pg-common .credit-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f0f0f0; /* 写真未設定時 */
  flex-shrink: 0;
}

#pg-common .credit-role {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}

#pg-common .credit-name {
  font-weight: 600;
  margin-bottom: 6px;
}

#pg-common .credit-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

/* スマホ：縦並び */
@media screen and (max-width: 768px) {
  #pg-common .article-credits {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #pg-common .credit-photo {
    width: 56px;
    height: 56px;
  }
}
.news-excerpt{
  margin: 0.8em 0 1.2em;
  line-height: 1.8;
}

.news-featured-image{
  margin: 1.2em 0 1.6em;
}

.news-featured-image img{
  width: 100%;
  height: auto;
  display: block;
}



/* =========================
   目次（TOC）
========================= */

nav.toc {
  margin: 1.5em 0;
  padding: 1.2em 1.2em 1.0em;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
}

nav.toc h2 {
  margin: 0 0 .6em;
  font-size: 1.05em;
  line-height: 1.4;
}

nav.toc ol {
  margin: 0;
  padding-left: 1.3em;
}

nav.toc li {
  margin: .45em 0;
}

nav.toc a {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  text-decoration: underline;
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
  font-weight: 600; /* “クリックできる”感を出す */
}


/* ホバー・フォーカス時：リンクであることをさらに明確に */
nav.toc a:hover,
nav.toc a:focus-visible {
  text-decoration-thickness: 2px;
  outline: none;
}

/* =========================
   関連ページ（関連リンク）
   h2直下の ul を「関連リンク」表示に
   ※ footer内で使う場合は .news-body 内の見出しにも効くように調整
========================= */

/* 「関連ページ」の見出し直後に来るリストだけを狙う */
.news-body h2 + ul,
article h2 + ul {
  margin: .7em 0 1.4em;
  padding: 0;
  list-style: none;
}

/* 各項目を“リンクカード風”に：デザイン工数ゼロでクリック可能感を上げる */
.news-body h2 + ul li,
article h2 + ul li {
  margin: .55em 0;
}

.news-body h2 + ul li a,
article h2 + ul li a {
  display: block;
  padding: .85em 1.0em;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  text-decoration: underline;
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
  font-weight: 600;
  background: #fafafa;
}

/* 右向き矢印でリンクであることを明示（色に依存しない） */
.news-body h2 + ul li a::after,
article h2 + ul li a::after {
  content: " →";
  font-weight: 700;
  opacity: .8;
}

/* ホバー・フォーカス：反応をはっきり出す */
.news-body h2 + ul li a:hover,
.news-body h2 + ul li a:focus-visible,
article h2 + ul li a:hover,
article h2 + ul li a:focus-visible {
  text-decoration-thickness: 2px;
  outline: none;
}

/* クリック領域が“リンク”と分かるよう、フォーカスリングも用意（アクセシビリティ） */
nav.toc a:focus-visible,
.news-body h2 + ul li a:focus-visible,
article h2 + ul li a:focus-visible {
  outline: 2px solid rgba(0,0,0,.35);
  outline-offset: 3px;
}

/* 余計な装飾を抑える（サイト全体のリンク色設定に委ねる） */
nav.toc a,
.news-body h2 + ul li a,
article h2 + ul li a {
  color: inherit;
}
/* =========================
   記事本文中リンク
========================= */

.news-body a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
  transition: text-decoration-thickness .15s ease;
}

.news-body a::after {
  content: " ›";
  font-weight: 700;
  opacity: .7;
}

.news-body a:hover,
.news-body a:focus-visible {
  text-decoration-thickness: 2px;
  outline: none;
}

.news-body a:focus-visible {
  outline: 2px solid rgba(0,0,0,.35);
  outline-offset: 3px;
}


