#page > article + article,
#page > article + article ~ article {
    max-width: 1000px;
    margin: 30px auto;
}

.bd-webp #page .bg-document {
    background-image: none;
}

div#bk42039 {
    background-image: url(https://smile-mitsuke.com/_src/44286/gra_20201015151022484.webp);
    background-repeat: repeat-x;
    background-position: left top;
}

/* PDFアイコン */
a[href$=".pdf"]::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url(svg/pdf-icon.svg) no-repeat center / contain;
    margin-right: 6px;
    margin-top: 20px;
}

/* 画像サイズ */
img.alignnone {
    max-width: 80%;
    margin-right: auto;
    margin-left: auto;
    display: block;
}

.entry-content a[href$=".pdf"]::after {
    content: " (PDF)";
    font-size: 0.9em;
}

.entry-content a {
    color: #dd7e6b;
}

h2.screen-reader-text {
    display: none;
}

.nav-links {
    margin-top: 60px;
}

p.post-title {
    display: none;
}

footer.entry-footer.default-max-width {
    /* margin: 60px 0px 0px 0px; */
    margin-bottom: 50px;
    margin-top: 30px;
    background-image: repeating-linear-gradient(to right, #FF860D, #FF860D 2px, /* 点の太さ */ transparent 2px, transparent 10px);
    background-position: left bottom;
    background-size: auto 1px;
    background-repeat: repeat-x;
}

h1.entry-title {
    font-size: 24px;
    color: #FF860D;
}

.entry-content {
    font-size: 16px;
	margin-top: 10px;
    font-family: 'GenJyuuGothic-Regular';
    font-weight: 400;
}

img#imgsrc44288_1 {
    width: 450px;
	margin-top: 40px;
    margin-bottom: 20px;
}

/* ナビのアイコンを下に5px移動 */
.navigation.post-navigation .nav-previous a .svg-icon,
.navigation.post-navigation .nav-next a .svg-icon,
.navigation.post-navigation .nav-previous a img,
.navigation.post-navigation .nav-next a img {
  display: inline-block;        /* transform を安定させるため */
  transform: translateY(5px);   /* 下に 5px 移動 */
  -webkit-transform: translateY(5px);
  -ms-transform: translateY(5px);
}

/* 両方を横並びのまま中央寄せ（改行させない） */
.navigation.post-navigation .nav-links {
  display: flex;
  justify-content: center; /* 両方を中央に寄せる */
  align-items: center;
  flex-wrap: nowrap;       /* 改行しない */
  gap: 1.5rem;             /* 前後の間隔（お好みで調整） */
}

/* 各ナビコンテナの余白・折返し防止 */
.navigation.post-navigation .nav-previous,
.navigation.post-navigation .nav-next {
  margin: 0;
  flex: 0 1 auto;
  white-space: nowrap;     /* 中のテキストを改行しない */
  font-size: 15px;
}

/* リンクの見た目調整（アイコンとテキストを中央揃え） */
.navigation.post-navigation .nav-previous a,
.navigation.post-navigation .nav-next a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #FF860D;
}

/* --- 作成者（byline）と編集リンクを非表示 --- */
.entry-footer .byline,
.entry-footer .edit-link,
.entry-footer .post-edit-link {
  display: none !important;
}

/* --- カテゴリ表示を枠タグ（丸枠）スタイルにする --- */

/* 親のテキスト（"カテゴリー:"）を目立たなくしてカテゴリリンクだけを表示 */
.post-taxonomies .cat-links {
  /* 親のラベル文字を隠すためにサイズを0にします（リンクは別に指定して復元） */
  font-size: 0;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  pointer-events: none;
  margin-bottom: 30px;
}

/* カテゴリリンクの共通スタイル（提示されたスタイルと同一） */
.post-taxonomies .cat-links a {
  font-size: 11px;                /* 元の指定 */
  padding: 4px 12px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid;
  font-weight: 500;
  letter-spacing: .05em;
  white-space: nowrap;
  display: inline-block;
  text-decoration: none;
  vertical-align: middle;
  /* デフォルト色（安全のため設定） */
  color: #4DB6E2;
  border-color: #4DB6E2;
}

/* ホバー時の視覚効果（任意） */
.post-taxonomies .cat-links a:hover,
.post-taxonomies .cat-links a:focus {
  background: rgba(0,0,0,0.03);
  text-decoration: none;
}

/* カテゴリ別の色指定（スラッグに応じて href 属性で判定） */
/* お知らせ（slug: news / URL に /news/category/news/ を含む場合） */
.post-taxonomies .cat-links a[href*="/news/category/news/"] {
  color: #4DB6E2;
  border-color: #4DB6E2;
}

/* 園児募集（slug: enji） */
.post-taxonomies .cat-links a[href*="/news/category/enji/"],
.post-taxonomies .cat-links a[href*="/category/enji/"] {
  color: #8BCF3F;
  border-color: #8BCF3F;
}

/* 求人（slug: recruit） */
.post-taxonomies .cat-links a[href*="/news/category/recruit/"],
.post-taxonomies .cat-links a[href*="/category/recruit/"] {
  color: #E85C9E;
  border-color: #E85C9E;
}

/* 複数カテゴリがある場合は間隔を確保 */
.post-taxonomies .cat-links a + a {
  margin-left: 0.5rem;
}

h2.entry-title.default-max-width a {
    color: #FF860D;
}


/* スマホ等で折返しが必要な場合の対応（任意） */
@media (max-width: 480px) {
  .post-taxonomies .cat-links a {
    font-size: 10px;
    padding: 3px 10px;
  }
  .post-taxonomies .cat-links {
    /* 親の font-size:0 のままリンクは見えるので改行させるならここで切り替え */
    font-size: 0;
  }
}


@media only screen and (max-width: 960px) {
    .bd-webp #a-main {
        padding: 15px;
    }
	
	img#imgsrc44288_1 {
    width: 300px;
    margin-top: 60px;
	margin-bottom: 20px;
}
#page > article + article,
#page > article + article ~ article {
    max-width: 85%;
    margin: 30px auto 30px auto;
}
}