@charset "UTF-8";
/* ==========================================================================
   投稿の本文（.entryBody。ブロックエディターで書いた見出し・リスト・リンク・画像・表など）
   - いまはお知らせの詳細（single-post.php）で使っています
   - 見出しは、記事のタイトル（h1：20px）を一番大きくして、h2 → h3 → h4 の順に小さくしています
   ========================================================================== */

.entryBody {
  font-size: 15px;
  line-height: 1.75;
  /* 本文エディターの文章はテーマで句読点を詰めないので、ブラウザで詰める（common.css の body では詰めない設定） */
  text-spacing-trim: normal;
}
/* 段落・画像などのあいだは1行分あける（デザインの段落の間隔） */
.entryBody > * + * {
  margin-top: 1.75em;
}
.entryBody > :first-child {
  margin-top: 0;
}
/* 段組み（カラム）・グループの中も同じようにあける（見出しのすぐ下は少し狭く）。
   例：お知らせ「大津の名品プレゼント」の、写真｜商品名・説明・当選数・応募ボタン */
.entryBody :is(.wp-block-column, .wp-block-group) > * + * {
  margin-top: 1em;
}
.entryBody :is(.wp-block-column, .wp-block-group) > :is(h2, h3, h4) + * {
  margin-top: .5em;
}
/* 段組みの中の「太字だけの段落」のすぐ下に応募ボタンがあるときは、その段落を右に寄せて、上下を広めにあける（旧サイトの見せ方。ユーザーの希望、2026-11-19）。
   例：お知らせ「大津の名品プレゼント」の「１０名様にプレゼント！」。エディターで1つずつ右寄せしなくてよいように、並び方で見分けている */
.entryBody .wp-block-column > p:has(> strong:only-child):has(+ .wp-block-buttons) {
  margin-top: 1.5em;
  text-align: right;
}
.entryBody .wp-block-column > p:has(> strong:only-child) + .wp-block-buttons {
  margin-top: 2em;
}
/* スマホは写真と文章が縦に並び、次の商品とのすき間（1.75em）より広いとまとまりが分かりにくいので、少し狭く */
@media (max-width: 560px) {
  .entryBody .wp-block-column > p:has(> strong:only-child):has(+ .wp-block-buttons) {
    margin-top: 1em;
  }
  .entryBody .wp-block-column > p:has(> strong:only-child) + .wp-block-buttons {
    margin-top: 1.25em;
  }
}
/* 画像の回り込みを本文の最後で止める */
.entryBody::after {
  content: "";
  display: block;
  clear: both;
}
.entryBody strong,
.entryBody b {
  font-weight: 700;
}

/* 見出し
   -------------------------------------------------------------------------- */
.entryBody h1,
.entryBody h2,
.entryBody h3,
.entryBody h4,
.entryBody h5,
.entryBody h6 {
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .02em;
}
/* 見出しの上は広く、すぐ下の文章との間は狭く（見出しがどの文章のものか分かるように） */
.entryBody > :is(h1, h2, h3, h4, h5, h6) + * {
  margin-top: 16px;
}
/* h2：下に線 */
.entryBody h1,
.entryBody h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--lineColor);
  font-size: 18px;
}
.entryBody > h1:not(:first-child),
.entryBody > h2:not(:first-child) {
  margin-top: 56px;
}
.entryBody > :is(h1, h2) + * {
  margin-top: 20px;
}
/* h3：左に赤い棒（サイトの見出しと同じ印） */
.entryBody h3 {
  position: relative;
  padding-left: 14px;
  font-size: 16px;
}
.entryBody h3::before {
  content: "";
  position: absolute;
  top: .3em;
  left: 0;
  width: 4px;
  height: 1em;
  background: var(--primaryColor);
}
.entryBody > h3:not(:first-child) {
  margin-top: 44px;
}
/* h4：太字 */
.entryBody h4 {
  font-size: 15px;
  font-weight: 700;
}
.entryBody > h4:not(:first-child) {
  margin-top: 36px;
}
.entryBody h5,
.entryBody h6 {
  font-size: 15px;
}

/* リンク
   -------------------------------------------------------------------------- */
.entryBody a:not(.wp-block-button__link) {
  color: var(--primaryColor);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
@media (hover: hover) {
  .entryBody a:not(.wp-block-button__link):hover {
    text-decoration: none;
  }
}

/* リスト（・の箇条書き、番号付き）
   -------------------------------------------------------------------------- */
.entryBody ul,
.entryBody ol {
  padding: 0;
}
.entryBody ul > li {
  position: relative;
  padding-left: 1em;
  list-style: none;
}
.entryBody ul > li::before {
  content: "・";
  position: absolute;
  top: 0;
  left: 0;
}
.entryBody ol {
  padding-left: 1.6em;
}
.entryBody ol > li {
  list-style: decimal;
}
.entryBody ol > li::marker {
  color: var(--primaryColor);
  font-weight: 500;
}
.entryBody li + li,
.entryBody li > :is(ul, ol) {
  margin-top: .5em;
}

/* 画像（キャプション・左右への回り込み）
   -------------------------------------------------------------------------- */
.entryBody img {
  max-width: 100%;
  height: auto;
}
.entryBody > :is(figure, .wp-block-image) {
  margin-block: 40px;
}
.entryBody > :is(figure, .wp-block-image):first-child {
  margin-top: 0;
}
.entryBody > :is(figure, .wp-block-image) + * {
  margin-top: 0;
}
.entryBody figcaption,
.entryBody .wp-element-caption {
  margin: 10px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}
.entryBody .aligncenter {
  margin-inline: auto;
  text-align: center;
}
.entryBody img.aligncenter {
  display: block;
}
.entryBody .alignleft {
  float: left;
  max-width: 50%;
  margin: .4em 24px 16px 0;
}
.entryBody .alignright {
  float: right;
  max-width: 50%;
  margin: .4em 0 16px 24px;
}
@media (max-width: 560px) {
  .entryBody .alignleft,
  .entryBody .alignright {
    float: none;
    max-width: 100%;
    margin: 0;
  }
}

/* 引用・表・区切り線
   -------------------------------------------------------------------------- */
.entryBody blockquote {
  margin-inline: 0;
  padding: 20px 24px;
  border-left: 3px solid var(--lineColor);
  background: var(--bgColor);
}
.entryBody blockquote > * + * {
  margin-top: 1em;
}
.entryBody blockquote cite {
  display: block;
  color: #666;
  font-size: 12px;
  font-style: normal;
}
.entryBody .wp-block-table {
  overflow-x: auto;
}
.entryBody table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
}
.entryBody th,
.entryBody td {
  padding: 10px 14px;
  border: 1px solid var(--lineColor);
  text-align: left;
  vertical-align: top;
}
.entryBody th {
  background: var(--bgColor);
  font-weight: 500;
}
.entryBody .wp-block-table thead {
  border-bottom: 0;
}
.entryBody hr {
  height: 0;
  margin-block: 48px;
  border: 0;
  border-top: 1px solid var(--lineColor);
  background: none;
}
.entryBody > hr + * {
  margin-top: 0;
}

/* ボタン（サイトの赤いボタンと同じ形）・埋め込み動画
   -------------------------------------------------------------------------- */
.entryBody .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.entryBody .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  max-width: 100%;
  min-height: 50px;
  padding: 12px 32px;
  border: 1px solid var(--primaryColor);
  border-radius: 25px;
  box-sizing: border-box;
  background: var(--primaryColor);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: opacity .3s;
}
.entryBody .is-style-outline .wp-block-button__link {
  background: var(--white);
  color: var(--primaryColor);
}
@media (hover: hover) {
  .entryBody .wp-block-button__link:hover {
    opacity: .75;
  }
}
.entryBody iframe {
  max-width: 100%;
}
.entryBody .wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
}
.entryBody .wp-embed-aspect-4-3 .wp-block-embed__wrapper {
  aspect-ratio: 4 / 3;
}
.entryBody .wp-block-embed.wp-has-aspect-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
