/* デイサービスカデナ 静的サイト共通スタイル（旧WordPressテーマ Astra の配色・書体に合わせる） */
:root{
  --c-primary:#0067FF; --c-primary-dark:#005EE9; --c-heading:#0F172A; --c-text:#364151;
  --c-bg-soft:#E7F6FF; --c-border:#D1DAE5; --c-dark:#222222;
  --wp--custom--ast-content-width-size:1200px;
  --wp--custom--ast-wide-width-size:1240px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:'Open Sans',"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;font-size:16px;line-height:1.65;color:var(--c-text);background:#fff;overflow-x:hidden}
img,video{max-width:100%;height:auto}
a{color:var(--c-primary)} a:hover,a:focus{color:var(--c-primary-dark)}
h1,h2,h3,h4,h5,h6{font-family:'Playfair Display',"Hiragino Mincho ProN","Yu Mincho",serif;font-weight:700;color:var(--c-heading);line-height:1.4;margin:0 0 .6em}
h1,.entry-content h1{font-size:3.375rem;text-transform:uppercase} h2,.entry-content h2{font-size:2.625rem;line-height:1.3} h3,.entry-content h3{font-size:2.25rem;line-height:1.3} h4,.entry-content h4{font-size:1.5625rem;line-height:1.2} h5,.entry-content h5{font-size:1.25rem} h6,.entry-content h6{font-size:1rem}
p{margin:0 0 1.5em}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}

/* ヘッダー */
.site-header{background:#fff;border-bottom:1px solid #eaeaea;position:relative;z-index:50}
.header-inner{max-width:1240px;margin:0 auto;padding:10px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--c-heading)}
.brand img{width:100px;height:auto}
.site-title{font-family:'Playfair Display',serif;font-weight:700;font-size:1.625rem;color:var(--c-heading)}
.site-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:0 4px}
.site-nav a{display:block;padding:12px 10px;color:var(--c-text);text-decoration:none;font-size:.95rem;border-bottom:2px solid transparent}
.site-nav a:hover,.site-nav a[aria-current="page"]{color:var(--c-primary-dark);border-bottom-color:var(--c-primary)}
.menu-toggle{display:none;background:none;border:1px solid var(--c-border);border-radius:6px;padding:8px 10px;cursor:pointer;align-items:center;gap:4px;flex-direction:column}
.menu-toggle span{display:block;width:22px;height:2px;background:var(--c-heading)}
.menu-toggle b{font-size:10px;font-weight:400;color:var(--c-text)}
@media (max-width:921px){
  .menu-toggle{display:flex}
  .site-nav{display:none;width:100%}
  .site-nav.is-open{display:block}
  .site-nav ul{flex-direction:column;background:var(--c-bg-soft);border-radius:8px}
  .site-nav a{padding:14px 16px;border-bottom:1px solid #fff}
  .brand img{width:72px}
  .site-title{font-size:1.25rem}
}

/* 本文エリア（Astra の「plain」「separate」コンテナに合わせる） */
.site-main{display:block;max-width:1240px;margin:0 auto;padding:60px 20px}
.is-page,.is-home{background:var(--c-bg-soft)}
.entry-content::after{content:"";display:table;clear:both}
.entry-content[data-ast-blocks-layout] > *{max-width:var(--wp--custom--ast-content-width-size);margin-left:auto;margin-right:auto}
.entry-content[data-ast-blocks-layout] > .alignwide{max-width:var(--wp--custom--ast-wide-width-size)}
.entry-content[data-ast-blocks-layout] > .alignfull{max-width:none}
.entry-content[data-ast-blocks-layout] > figure{margin-bottom:1em}
.entry-content .alignfull{margin-left:-20px;margin-right:-20px}
.entry-content .alignfull .alignfull,.entry-content .alignfull .alignwide,.entry-content .wp-block-column .alignfull{margin-left:auto;margin-right:auto;width:100%}
.entry-content > .wp-block-cover,.entry-content > .wp-block-columns,.entry-content > .wp-block-group{padding:3em}
.entry-header{margin:0 0 1.5em}
.entry-title,.entry-content .entry-title{font-size:1.375rem;text-transform:none}
.is-page .entry-title,.is-home .entry-title{font-size:2rem}
.entry-meta{font-size:.8125rem;color:var(--c-text)}

/* 投稿（白い背景に水色の箱） */
.is-post .site-main > article{background:var(--c-bg-soft);padding:3em}
@media (max-width:921px){.site-main{padding:30px 20px}.is-post .site-main > article{padding:1.5em 1em}.entry-content > .wp-block-cover,.entry-content > .wp-block-columns,.entry-content > .wp-block-group{padding:1.5em}}

/* お知らせ一覧 */
.page-wrap{max-width:1200px;margin:0 auto}
.page-title{font-size:2.25rem;text-transform:none;margin-bottom:1em}
.news-list{display:grid;gap:24px}
.news-item{display:grid;grid-template-columns:280px 1fr;gap:20px;background:var(--c-bg-soft);border:1px solid var(--c-border);border-radius:8px;overflow:hidden}
.news-thumb img{width:100%;height:100%;object-fit:cover;aspect-ratio:16/10;display:block}
.news-text{padding:16px 20px 16px 0}
.news-cat{display:inline-block;font-size:.8rem;color:#fff;background:var(--c-primary);border-radius:4px;padding:1px 8px;margin-bottom:6px}
.news-title{font-size:1.25rem;line-height:1.5;margin:0 0 6px;text-transform:none}
.news-title a{color:var(--c-heading);text-decoration:none}
.news-title a:hover{color:var(--c-primary)}
.news-meta{font-size:.8125rem;margin-bottom:8px}
.news-body p{margin:0 0 .8em}
.news-item:not(:has(.news-thumb)){grid-template-columns:1fr}
.news-item:not(:has(.news-thumb)) .news-text{padding:16px 20px}
@media (max-width:700px){.news-item{grid-template-columns:1fr}.news-text{padding:0 16px 16px}}
/* トップページの News & Information（コンパクト表示） */
.news-list--compact{gap:16px;max-width:1200px;margin:0 auto 2em}
.news-list--compact .news-item{grid-template-columns:150px 1fr;background:transparent;border:none;border-bottom:1px solid var(--c-border);border-radius:0;padding-bottom:16px}
.news-list--compact .news-thumb img{aspect-ratio:1/1}
.news-list--compact .news-text{padding:0}
.news-list--compact .news-cat{display:none}
@media (max-width:600px){.news-list--compact .news-item{grid-template-columns:96px 1fr;gap:12px}.news-list--compact .news-title{font-size:1rem}}

/* フッター */
.site-footer{border-top:1px solid #eaeaea;text-align:center;font-size:.8125rem;padding:24px 20px;background:#fff}
.site-footer p{margin:0}

@media (max-width:921px){h1,.entry-content h1{font-size:45px}h2,.entry-content h2{font-size:32px}h3,.entry-content h3{font-size:26px}h4,.entry-content h4{font-size:1.375rem}}
@media (max-width:544px){h1,.entry-content h1{font-size:32px}h2,.entry-content h2{font-size:28px}h3,.entry-content h3{font-size:22px}h4,.entry-content h4{font-size:1.25rem}}

/* お知らせの見出しは本文の大見出しサイズを受けない（トップのNews欄・一覧で共通） */
.entry-content .news-title,.news-list .news-title{font-size:1.25rem;line-height:1.5;text-transform:none}
@media (max-width:600px){.entry-content .news-list--compact .news-title{font-size:1rem}}
/* 写真のないお知らせは1列で表示（トップのNews欄） */
.news-list--compact .news-item:not(:has(.news-thumb)){grid-template-columns:1fr}
.news-list--compact .news-item:not(:has(.news-thumb)) .news-text{padding:0}
