/*
Theme Name: 横浜翠陵 Suiryo
Description: 既存の学校紹介サイトを継承し、投稿でお知らせを更新する専用テーマ。
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: suiryo
*/
.news-section { padding: var(--space-5l) 0; background: #f7f8fb; }
.news-section .section-title, .news-page .section-title { margin: 0 0 32px; }
.news-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid #d7dce6; }
.news-row { border-bottom: 1px solid #d7dce6; }
.news-row a { display: grid; grid-template-columns: 120px 140px 1fr 24px; gap: 24px; padding: 24px 0; align-items: baseline; color: var(--color-text-main); text-decoration: none; }
.news-row a:hover, .news-row a:focus-visible { color: var(--color-primary); }
.news-row time { font-size: 1.4rem; color: #555; }
.news-row span { overflow-wrap: anywhere; }
.news-more { margin-top: 32px; text-align: right; }
.news-more a, .news-page a { color: var(--color-primary); }
.news-page { padding-top: 48px; padding-bottom: 88px; min-height: 50vh; }
.news-article { max-width: 900px; margin: 48px auto; }
.news-article h1 { font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1.5; margin: 16px 0 40px; overflow-wrap: anywhere; }
.entry-content { overflow-wrap: anywhere; }
.entry-content p { margin: 1.5em 0; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content a { text-decoration: underline; }
.entry-content img, .news-article > img { max-width: 100%; height: auto; }
.entry-content iframe { max-width: 100%; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid #ddd; }
.pagination { margin: 40px 0; }
.page-numbers { display: inline-block; padding: 8px 14px; margin: 4px; border: 1px solid #ddd; }
.page-numbers.current { background: var(--color-primary); color: white; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100001; background: white; padding: 12px; }
.skip-link:focus { top: 12px; }
.admin-bar .header { top: 32px; }
@media(max-width:782px) { .admin-bar .header { top: 46px; } }
@media(max-width:600px) { #wpadminbar { position: fixed; } }
@media(max-width:767px) {
.news-row a { grid-template-columns: 1fr 24px; gap: 8px; padding: 20px 0; }
.news-row time { grid-column: 1 / -1; }
.news-page { padding-top: 32px; padding-bottom: 56px; }
}

.news-categories { display: flex; flex-wrap: wrap; gap: 6px; }
.news-category { display: inline-block; border: 1px solid #d7dce6; padding: 2px 10px; border-radius: 3px; color: var(--color-primary); background: #fff; font-size: 1.3rem; }
.news-article > .news-categories { margin-top: 12px; }
@media(max-width:767px) {
.news-row a { grid-template-columns: 1fr 24px; }
.news-row .news-categories { grid-column: 1 / -1; }
.news-row-title { grid-column: 1; }
}
/* 採用情報見出し（背景色付き） */
.entry-content .recruit-heading {
  display: block;
  font-size: 1.5em;
  font-weight: bold;
  margin: 0.83em 0;
  padding: 0.5em 0.8em;
  background: #1C664B;
  color: #fff;
  line-height: 1.5;
  unicode-bidi: isolate;
}