/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 22 2025 | 15:22:05 */
.static-wrapper,
.single-wrapper {

/* ===== Gutenberg 基本整形（安全スコープ）===== */
.entry-content, .post-content, .page-content {
  --content-max: 720px;   /* 本文の最大幅（必要に応じ調整） */
  --wide-max: 1100px;     /* alignwide の最大幅 */
  line-height: 1.8;
  word-break: break-word;
}

/* 基本文字要素 */
.entry-content p,
.entry-content li { font-size: 1rem; margin: 0 0 1.2em; }
.entry-content h2, .entry-content h3, .entry-content h4 {
  line-height: 1.35; margin: 2em 0 0.8em;
}
.entry-content h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem); }
.entry-content h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }
.entry-content h4 { font-size: 1.1rem; }

/* 画像・図版 */
.entry-content img,
.entry-content video,
.entry-content iframe { max-width: 100%; height: auto; }

/* 図版ブロック */
.entry-content figure { margin: 0 0 1.5em; }
.entry-content figcaption { font-size: .9em; color: #666; text-align: center; }

/* 埋め込み（念のためのレスポンシブ） */
.entry-content .wp-block-embed__wrapper,
.entry-content .wp-block-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 100%;
}
.entry-content .wp-block-embed iframe,
.entry-content .wp-block-embed__wrapper iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
}

/* 幅指定: alignwide / alignfull */
.entry-content > * { max-width: var(--content-max); margin-left: auto; margin-right: auto; }
.entry-content .alignwide { max-width: var(--wide-max); }
.entry-content .alignfull {
  max-width: none !important;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* 左右寄せ画像（小画面で崩れないよう制御） */
.entry-content .alignleft  { float: left;  margin: 0.2em 1em 1em 0; }
.entry-content .alignright { float: right; margin: 0.2em 0 1em 1em; }
@media (max-width: 782px) {
  .entry-content .alignleft,
  .entry-content .alignright {
    float: none; display: block; margin: 0 0 1em; }
}

/* 列（Columns） */
.entry-content .wp-block-columns { gap: 1.2rem; align-items: stretch; }
@media (max-width: 782px) {
  .entry-content .wp-block-columns { display: block; }
  .entry-content .wp-block-column { margin: 0 0 1.2rem; }
}

/* メディアと文章（Media & Text） */
.entry-content .wp-block-media-text { gap: 1rem; }
.entry-content .wp-block-media-text__media img { width: 100%; height: auto; display: block; }
@media (max-width: 782px) {
  .entry-content .wp-block-media-text { grid-template-columns: 1fr !important; }
}

/* カバー（Cover） */
.entry-content .wp-block-cover { min-height: 240px; }
.entry-content .wp-block-cover img { object-fit: cover; }

/* ギャラリー */
.entry-content .wp-block-gallery { gap: .6rem; }
.entry-content .wp-block-image { margin: 0; }

/* ボタン */
.entry-content .wp-block-button__link {
  display: inline-block; text-decoration: none; padding: .8em 1.2em;
  border-radius: .4em; line-height: 1.2; white-space: normal;
}

/* 区切り線 */
.entry-content hr,
.entry-content .wp-block-separator {
  border: none; border-top: 1px solid #e5e5e5; margin: 2em auto;
  max-width: var(--content-max);
}

/* 引用 */
.entry-content blockquote {
  margin: 1.5em auto; padding: .8em 1em .8em 1.2em; border-left: 3px solid #ddd; color: #444;
}
.entry-content .wp-block-pullquote {
  margin: 2em auto; padding: 1.2em; border: 1px solid #eee; text-align: center;
}

/* テーブル：横スクロール許容で崩れ回避 */
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content table th,
.entry-content table td { border: 1px solid #e5e5e5; padding: .6em; vertical-align: top; }
.entry-content .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* リストの余白最適化 */
.entry-content ul, .entry-content ol { padding-left: 1.2em; margin: 0 0 1.2em; }

/* 余白の最終調整（最後の要素の余白を詰める） */
.entry-content > *:last-child { margin-bottom: 0; }

}

