@charset "UTF-8";
/* =============================================================
   WordPress 用の追加スタイル
   （既存デザイン css/style.css を補完。投稿詳細・エディタ出力など）
   ============================================================= */

/* --- 共通コンテナ幅（news-page__inner を流用した本文幅） --- */
.news-page__empty {
  text-align: center;
  padding: 4em 0;
  color: #666;
}

/* --- 投稿詳細（single.php） --- */
.news-single {
  max-width: 820px;
  margin: 0 auto;
}
.news-single__head {
  margin-bottom: 2em;
  padding-bottom: 1.2em;
  border-bottom: 1px solid #e5e0d5;
}
.news-single__date {
  display: block;
  font-size: 0.9rem;
  color: #8a7f6a;
  margin-bottom: 0.6em;
}
.news-single__title {
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 700;
}
.news-single__thumb {
  margin: 0 0 2em;
}
.news-single__thumb img {
  width: 100%;
  height: auto;
}
.news-single__body {
  line-height: 1.9;
}
.news-single__body > * + * {
  margin-top: 1.2em;
}
.news-single__body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 2em;
  padding-left: 0.6em;
  border-left: 4px solid #c9a96a;
}
.news-single__body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 1.6em;
}
.news-single__body ul,
.news-single__body ol {
  padding-left: 1.4em;
}
.news-single__body ul { list-style: disc; }
.news-single__body ol { list-style: decimal; }
.news-single__body li + li { margin-top: 0.4em; }
.news-single__body a {
  color: #0b6b5e;
  text-decoration: underline;
}
.news-single__body img {
  max-width: 100%;
  height: auto;
}
.news-single__body blockquote {
  margin: 1.5em 0;
  padding: 1em 1.2em;
  background: #f7f4ec;
  border-left: 4px solid #c9a96a;
}
.news-single__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
}
.news-single__body th,
.news-single__body td {
  border: 1px solid #e5e0d5;
  padding: 0.6em 0.8em;
  text-align: left;
}

/* --- 記事送りナビ --- */
.news-single__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  max-width: 820px;
  margin: 3em auto 0;
  padding-top: 1.5em;
  border-top: 1px solid #e5e0d5;
  font-size: 0.95rem;
}
.news-single__nav a { color: #0b6b5e; text-decoration: none; }
.news-single__nav a:hover { text-decoration: underline; }
.news-single__nav-back { text-align: center; }

/* --- 汎用固定ページ本文（page.php） --- */
.page-body {
  padding: clamp(2.5em, 6vw, 5em) 0;
}
.page-body__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 5%;
  line-height: 1.9;
}
.page-body__inner > * + * { margin-top: 1.2em; }
.page-body__inner h2 { font-size: 1.5rem; font-weight: 700; margin-top: 1.8em; }
.page-body__inner h3 { font-size: 1.2rem; font-weight: 700; margin-top: 1.4em; }
.page-body__inner img { max-width: 100%; height: auto; }
.page-body__inner a { color: #0b6b5e; text-decoration: underline; }

/* --- ページネーション（paginate_links type=list） --- */
.news-page__inner .page-numbers {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4em;
  margin: 2.5em 0 0;
  padding: 0;
}
.news-page__inner .page-numbers li { margin: 0; }
.news-page__inner .page-numbers a,
.news-page__inner .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4em;
  height: 2.4em;
  padding: 0 0.6em;
  border: 1px solid #d8d0bf;
  border-radius: 4px;
  color: #4a4436;
  text-decoration: none;
  line-height: 1;
}
.news-page__inner .page-numbers a:hover { background: #f2ede1; }
.news-page__inner .page-numbers .current {
  background: #0b6b5e;
  border-color: #0b6b5e;
  color: #fff;
}

/* --- WordPress 標準クラス --- */
.alignleft  { float: left;  margin: 0 1.2em 1em 0; max-width: 100%; height: auto; }
.alignright { float: right; margin: 0 0 1em 1.2em; max-width: 100%; height: auto; }
.aligncenter { display: block; margin: 1em auto; max-width: 100%; height: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: #777; text-align: center; margin-top: 0.4em; }
.sticky, .gallery-caption {}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  position: absolute !important;
  word-wrap: normal !important;
}
.wp-block-image img { max-width: 100%; height: auto; }
.aligncenter.wp-block-image { text-align: center; }
