/* 記念運用ページ専用の静的移行調整。全ページ共通CSSへの影響なし。 */
.l-entry__main.entry.p-wysiwyg figure.wp-block-image { margin: 2.4rem 0; width: 100%; }
.l-entry__main.entry.p-wysiwyg figure.wp-block-image img {
  display: block; max-width: 100%; width: auto; height: auto; object-fit: contain;
}
.l-entry__main.entry.p-wysiwyg .wp-block-buttons {display:flex; align-items:center;flex-wrap:wrap;}
.l-entry__main.entry.p-wysiwyg .wp-block-button__link {
  display:inline-block; background:#226dfc; color:white; padding:0.8em 1.5em; border-radius:999px;
  text-decoration:none; font-weight:700;
}
.l-entry__main.entry.p-wysiwyg .wp-block-button__link:hover { opacity:0.85; }
.l-entry__main.entry.p-wysiwyg ul.wp-block-list { padding-left:1.6em; }
.l-entry__main.entry.p-wysiwyg ul.wp-block-list li { overflow-wrap:anywhere; }
@media(max-width:600px) {
  .l-entry__main.entry.p-wysiwyg figure.wp-block-image {margin:2rem 0;}
  .l-entry__main.entry.p-wysiwyg figure.wp-block-image img {width:100%;}
}

/* v11: 「公募局調査票」とリンクアイコンを横一列で表示。元テーマの外部リンクマークは維持。 */
.l-entry__main.entry.p-wysiwyg a.wp-block-button__link.memorial-survey-link {
  display:inline-flex!important;
  flex-flow:row nowrap!important;
  justify-content:center!important;
  align-items:center!important;
  gap:.65em!important;
  white-space:nowrap!important;
  text-wrap:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  width:max-content;
  max-width:100%;
  min-height:3.15em;
}
.l-entry__main.entry.p-wysiwyg a.wp-block-button__link.memorial-survey-link::after {
  display:block!important;
  flex:0 0 1.2em;
  margin:0!important;
  position:static!important;
}

/*
 * 記念運用：運用実績と予定
 * 元画像の表組みをHTMLで再現
 */

.l-entry__main.entry.p-wysiwyg
.memorial-operation-schedule {
  display: block;
  width: 100%;
  max-width: 769px;
  margin: 2.4rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.l-entry__main.entry.p-wysiwyg
.memorial-operation-schedule__table {
  width: 100%;
  min-width: 760px;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #000;
  background: #fff;
  font-size: 15px;
  line-height: 1.3;
}

/* 列幅：元画像を基準に設定 */
.memorial-operation-schedule__table
.schedule-col-date {
  width: 15%;
}

.memorial-operation-schedule__table
.schedule-col-place {
  width: 12%;
}

.memorial-operation-schedule__table
.schedule-col-event {
  width: 49%;
}

.memorial-operation-schedule__table
.schedule-col-note {
  width: 24%;
}

/* 罫線・余白 */
.l-entry__main.entry.p-wysiwyg
.memorial-operation-schedule__table th,
.l-entry__main.entry.p-wysiwyg
.memorial-operation-schedule__table td {
  border: 1px solid #000;
  padding: 2px 4px;
  vertical-align: middle;
  white-space: nowrap;
  background-color: #fff;
}

/* 元画像と同様の薄い水色の見出し */

/* 見出し行：太字にしない */
.l-entry__main.entry.p-wysiwyg
.memorial-operation-schedule__table thead th {
  background-color: #c4dcef;
  color: #000;
  font-weight: 400 !important;
  text-align: left;
  border: 1px solid #000 !important;
}

/* 見出し行の下線も1pxで統一 */
.l-entry__main.entry.p-wysiwyg
.memorial-operation-schedule__table thead {
  border-bottom: 1px solid #000 !important;
}

/* 日付列：見出し・データとも左揃え */
.l-entry__main.entry.p-wysiwyg
.memorial-operation-schedule__table
th:first-child,
.l-entry__main.entry.p-wysiwyg
.memorial-operation-schedule__table
td:first-child {
  text-align: left !important;
}

/* 運用地列：中央揃えを維持 */
.l-entry__main.entry.p-wysiwyg
.memorial-operation-schedule__table
th:nth-child(2),
.l-entry__main.entry.p-wysiwyg
.memorial-operation-schedule__table
td:nth-child(2) {
  text-align: center !important;
}

}

