/* Site-wide post policy, including future ordinary posts. */
.single-post .c-meta__item--author,
.single-post .p-author-box,
.single-post .c-profile-box,
.single-post .c-entry-aside--author-box,
.single-post .p-comments,
.single-post .p-trackbacks { display: none !important; }

/* Only announcements use this article layout. */
.mihashi-news-page { background: #faf8f1; color: #35463d; }
.mihashi-news-page .l-contents {
	background-color: #faf8f1;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 200'%3E%3Cg fill='none' stroke='%23b89a5b' stroke-width='1' opacity='.45'%3E%3Cpath d='M10 190Q40 100 100 10M35 130Q10 105 15 80Q45 90 35 130ZM52 96Q49 66 77 53Q83 84 52 96ZM70 57Q65 28 95 16Q102 43 70 57Z'/%3E%3C/g%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 140px auto;
	padding-bottom: 64px;
}
.mihashi-news-page .c-entry { margin: 32px auto 0; background: transparent; }
.mihashi-news-page .c-entry__header { display: none; }
.mihashi-news-page .c-entry__content { max-width: 1000px; margin: 0 auto; }
.mihashi-news-page .mihashi-news-single {
	position: relative;
	width: 100%;
	padding: 48px 56px;
	border: 1px solid #b89a5b;
	border-radius: 10px;
	background: #fff;
	box-sizing: border-box;
	box-shadow: 0 8px 30px rgba(43, 53, 46, .04);
	color: #35463d;
	font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
	font-size: 16px;
	line-height: 2;
}
.mihashi-news-single *,
.mihashi-news-single *::before,
.mihashi-news-single *::after { box-sizing: border-box; }
.mihashi-news-single__label { display: inline-block; margin: 0 0 22px; padding: 4px 20px; border-radius: 999px; background: #e9eddf; color: #285f47; font-size: 14px; }
.mihashi-news-single__title { margin: 0; padding-bottom: 24px; border-bottom: 1px solid #b89a5b; color: #244636; font-family: "Zen Old Mincho", "Yu Mincho", serif; font-size: clamp(25px, 2.8vw, 36px); font-weight: 500; line-height: 1.7; overflow-wrap: anywhere; }
.mihashi-news-single__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 22px 0 36px; font-size: 13px; color: #626961; }
.mihashi-news-single__category { padding: 3px 12px; border-radius: 6px; background: #edf1e6; color: #35513e; font-size: 12px; }
.mihashi-news-single__content > p { margin: 0 0 20px; }
.mihashi-news-single__content h2,
.mihashi-news-single__content h3 { margin: 36px 0 20px; padding: 10px 18px; border: 0; border-left: 4px solid #b89a5b; background: #f1f3e9; color: #244636; font-family: "Zen Old Mincho", "Yu Mincho", serif; font-size: 24px; font-weight: 500; line-height: 1.6; }
.mihashi-news-single__content h2::before,
.mihashi-news-single__content h2::after,
.mihashi-news-single__content h3::before,
.mihashi-news-single__content h3::after { display: none; }
.mihashi-news-single__content a { color: #285f47; text-underline-offset: 4px; }
.mihashi-news-single__content a:focus-visible,
.mihashi-news-single__back a:focus-visible { outline: 3px solid #94732e; outline-offset: 4px; }
.mihashi-news-single__info { margin: 28px 0; border: 1px solid #d5ccbb; border-radius: 6px; overflow: hidden; }
.mihashi-news-single__info > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); }
.mihashi-news-single__info > div + div { border-top: 1px solid #d5ccbb; }
.mihashi-news-single__info dt { margin: 0; padding: 14px 18px; background: #f5f3e9; color: #285f47; font-weight: 500; }
.mihashi-news-single__info dd { min-width: 0; margin: 0; padding: 14px 20px; border-left: 1px solid #d5ccbb; overflow-wrap: anywhere; }
.mihashi-news-single__content p:has(> .mihashi-news-single__button) { display: inline-block; max-width: 100%; margin: 0 16px 18px 0; vertical-align: top; }
.mihashi-news-single__content .mihashi-news-single__button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; max-width: 100%; padding: 14px 22px; margin: 0 12px 12px 0; border: 1px solid #285f47; border-radius: 7px; color: #285f47; background: #fff; font-size: 15px; text-align: center; text-decoration: none; }
.mihashi-news-single__button::after { content: "→"; }
.mihashi-news-single__content .mihashi-news-single__button.is-visit { background: #285f47; color: #fff; }
.mihashi-news-single__content .mihashi-news-single__button:hover { background: #e9eddf; color: #244636; }
.mihashi-news-page .mihashi-news-single__back { margin: 30px 0 0; padding: 24px 0 0; border-top: 1px solid #d5ccbb; text-align: center; }
.mihashi-news-single__back a { color: #285f47; font-size: 14px; font-weight: 500; text-decoration: none; }
@media (max-width: 767px) {
	.mihashi-news-page .l-contents { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
	.mihashi-news-page .c-entry { margin-top: 20px; }
	.mihashi-news-page .mihashi-news-single { padding: 28px 20px; font-size: 15px; border-radius: 8px; }
	.mihashi-news-single__title { font-size: 25px; padding-bottom: 18px; }
	.mihashi-news-single__meta { margin: 18px 0 28px; gap: 8px; }
	.mihashi-news-single__meta time { width: 100%; }
	.mihashi-news-single__content h2,
	.mihashi-news-single__content h3 { font-size: 21px; padding: 10px 14px; }
	.mihashi-news-single__info > div { grid-template-columns: minmax(0, 1fr); }
	.mihashi-news-single__info dt { padding: 8px 14px; }
	.mihashi-news-single__info dd { padding: 12px 14px; border-left: 0; }
	.mihashi-news-single__content p:has(> .mihashi-news-single__button) { display: block; width: 100%; margin-right: 0; }
	.mihashi-news-single__content .mihashi-news-single__button { width: 100%; margin-right: 0; font-size: 14px; }
}

/* Announcements use the image in the article body, without the theme's duplicate hero or navigation. */
.mihashi-news-page .c-eyecatch,
.mihashi-news-page .c-entry__eyecatch,
.mihashi-news-page .c-entry__thumbnail,
.mihashi-news-page .p-entry__eyecatch,
.mihashi-news-page .c-prev-next-nav,
.mihashi-news-page .p-related-posts,
.mihashi-news-page .c-entry-aside--related-posts,
.mihashi-news-page .c-entry-aside--related-entries { display:none !important; }
.mihashi-news-page .mihashi-news-single__back { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) minmax(0,1fr); gap:16px; align-items:center; }
.mihashi-news-single__previous { text-align:left; }
.mihashi-news-single__next { text-align:right; }
.mihashi-news-single__back a { overflow-wrap:anywhere; }
@media(max-width:600px) {
 .mihashi-news-page .mihashi-news-single__back { grid-template-columns:1fr 1fr; gap:20px 12px; }
 .mihashi-news-single__index { grid-column:1 / -1; grid-row:1; }
 .mihashi-news-single__previous { grid-column:1; grid-row:2; }
 .mihashi-news-single__next { grid-column:2; grid-row:2; }
}
.mihashi-news-page .c-entry-aside { display:none !important; }
/* Cemetery article photograph: full content width, preserving its original ratio. */
.mihashi-news-single__content .mihashi-news-cemetery-photo {
 display:block;
 width:100%;
 max-width:100%;
 margin:0 0 28px;
}
.mihashi-news-single__content .mihashi-news-cemetery-photo img {
 display:block;
 width:100%;
 max-width:100%;
 height:auto;
 border-radius:6px;
}
@media(max-width:767px){
 .mihashi-news-single__content .mihashi-news-cemetery-photo { margin-bottom:22px; }
}
