@charset "UTF-8";
/* =========================================================
   お知らせ（news.html と記事6本 news-*.html）だけの指定。クラスは nws- 接頭辞
   ・kyotaku.css → sub.css のあとに読み込む。変数・部品（.sheet .idx .print .ph .tlink .hand）はトップのもの
   ・一覧: 連絡帳の1枚に、日付順に書き留めた記録（トップの .notice と同じ世界。日付は Klee One のセージ）
     768px〜は 左に日付・右に題と出だし。あいだに連絡帳の縦の余白線（ピーチ）
   ・記事: 便箋1枚に書かれた短いお便り（罫線の入った紙）。右下に小さな線画を1点「置く」
     スタッフ紹介の記事は、便箋に自己紹介カード（写真＋名札＋罫線の表）を添える（staff.html の見せ方を参考に、クラスは別）
   ・記事の写真は切り抜かない（.print の 4:3 をやめ、元の縦横比のまま見せる。顔が切れないように）
   ・CSSで初期状態を隠さない（出現は sub.js の data-reveal / data-draw）。filter: blur()・藍色・新しい色は使わない
   ・ブレークポイント: スマホを先に組み、768px・1024px で広げる
   ========================================================= */

/* =========================================================
   一覧（news.html）
   <div class="nws-book sheet">
     <p class="idx" aria-hidden="true">新しい順</p>
     <ol class="nws-list">
       <li class="nws-item" data-reveal="up">
         <article class="nws-item__inner" aria-labelledby="…">
           <time class="nws-item__date" datetime="2026-11-14">2026年11月14日</time>
           <h2 class="nws-item__title" id="…"><a class="nws-item__link" href="news-….html">題</a></h2>
           <p class="nws-item__excerpt">本文の出だし</p>
         </article>
       </li>
     </ol>
   </div>
   ・行全体を押せるよう、題のリンクを行いっぱいに広げる（::after）
   ========================================================= */
.nws-list-sec{ padding-top:40px; }
.nws-book{
  --date-w:10em;        /* 768px〜の日付の列の幅 */
  max-width:880px;
  margin-top:28px;      /* .idx のぶん */
  padding:4px 22px 8px;
  box-shadow:var(--shadow);
}
.nws-list{ position:relative; list-style:none; }
.nws-item{
  position:relative;
  border-bottom:1px solid rgba(107,82,68,.18);
}
.nws-item:last-child{ border-bottom:0; }
.nws-item__inner{ display:grid; gap:2px; padding:20px 0 22px; }
.nws-item__date{
  font-family:var(--f-hand); font-weight:600;
  font-size:16px; line-height:1.8; letter-spacing:.06em;
  color:var(--sage-ink);
}
.nws-item__title{
  font-size:clamp(18px, 4.8vw, 20px);
  line-height:1.7;
  letter-spacing:.08em;
}
.nws-item__link{
  text-decoration:none;
  transition:color .4s;
}
.nws-item__link::after{ content:""; position:absolute; inset:0; } /* 行全体を押せるように */
.nws-item__link:hover,
.nws-item__link:focus-visible{
  color:var(--peach-text);
  text-decoration:underline;
  text-decoration-color:var(--peach);
  text-underline-offset:6px;
  text-decoration-thickness:1.5px;
}
.nws-item__excerpt{
  margin-top:6px;
  font-size:15px;
  line-height:1.95;
  color:var(--ink-sub);
}

@media (min-width:768px){
  .nws-list-sec{ padding-top:56px; }
  .nws-book{ padding:10px 48px 14px; }
  /* 連絡帳の縦の余白線（日付の列と本文の列のあいだ） */
  .nws-book::before{
    content:"";
    position:absolute; top:0; bottom:0;
    left:calc(48px + var(--date-w) + 20px);
    width:1px;
    background:var(--peach-pale);
  }
  .nws-item__inner{
    grid-template-columns:var(--date-w) minmax(0,1fr);
    column-gap:40px;
    padding:26px 0 28px;
  }
  .nws-item__date{ grid-column:1; grid-row:1 / span 2; padding-top:.15em; }
  .nws-item__title,
  .nws-item__excerpt{ grid-column:2; }
}
@media (min-width:1024px){
  .nws-list-sec{ padding-top:72px; }
  .nws-item__inner{ padding:30px 0 32px; }
}

/* =========================================================
   記事の見出し部（.sub-head を簡素に使う。絵・リードは無し）
   <section class="sub-head nws-head" aria-labelledby="page-title">
     <div class="wrap sub-head__inner">
       <div class="sub-head__body">
         <nav class="sub-crumb" aria-label="パンくず">（トップ ＞ お知らせ ＞ 題）</nav>
         <p class="hand sub-head__kicker nws-head__date" data-reveal="fade"><time datetime="…">…</time></p>
         <h1 class="sub-head__title nws-head__title" id="page-title" data-reveal="up" data-reveal-delay="0.15">題</h1>
       </div>
     </div>
     <div class="wrap"><svg class="sub-rule sub-head__rule" …></svg></div>
   </section>
   ========================================================= */
.nws-head .sub-head__inner{ grid-template-columns:minmax(0,1fr); }
.nws-head .nws-head__date{ margin-top:24px; margin-bottom:4px; font-size:17px; }
.nws-head .nws-head__title{
  max-width:24em;
  font-size:clamp(23px, 6.2vw, 36px);
  line-height:1.6;
  letter-spacing:.1em;
}
@media (min-width:768px){
  .nws-head .nws-head__date{ margin-top:40px; }
}
@media (min-width:1024px){
  .nws-head .nws-head__date{ margin-top:48px; }
  .nws-head .sub-head__body{ padding-bottom:8px; }
}

/* =========================================================
   記事の本文（便箋1枚）
   <div class="sub-sec nws-body-sec">
     <div class="wrap">
       <div class="nws-letter sheet" data-reveal="place">
         <div class="nws-letter__body">
           <div class="nws-lines"><p>…</p></div>       ← 罫線の上の文章
           <figure class="nws-figure print">…</figure> ← 写真（任意）
           <div class="nws-profile">…</div>             ← 自己紹介カード（スタッフ紹介の記事）
         </div>
         <div class="nws-letter__art ph" style="--ar:307/400" aria-hidden="true">（小さな線画）</div>
       </div>
       <nav class="nws-pager">…</nav>
       <p class="sub-more nws-back">…</p>
     </div>
   </div>
   ・罫線は 34px（768px〜 36px）おき。段落の間は1行ぶん空ける
   ========================================================= */
.nws-body-sec{ padding-top:40px; }
.nws-letter{
  --rule:34px;
  max-width:820px;
  padding:38px 22px 28px;
  border-radius:2px 3px 2px 3px;
  box-shadow:var(--shadow);
}
.nws-letter__body > * + *{ margin-top:var(--rule); }

/* 便箋の罫線（トップの .letter__body と同じ描き方） */
.nws-lines{
  max-width:37em;
  font-size:16px;
  line-height:var(--rule);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='34'%3E%3Cpath d='M0 33.5H10' stroke='%23EADCCB' stroke-width='1'/%3E%3C/svg%3E") repeat 0 0 / 10px 34px;
}
.nws-lines p + p{ margin-top:var(--rule); }

/* 署名（新年のご挨拶） */
.nws-sign{ display:flex; flex-direction:column; align-items:flex-end; }
.nws-sign__org{ color:var(--ink-sub); }
.nws-sign__name{
  font-family:var(--f-hand); font-weight:600;
  font-size:24px; line-height:calc(var(--rule) * 2);
  letter-spacing:.2em;
}

/* 本文の中の写真（切り抜かず、元の縦横比のまま） */
.nws-figure{ max-width:560px; }
.nws-figure img{ aspect-ratio:auto; }

/* 本文の中のリンク（社協だよりの記事） */
.nws-lines .tlink{ line-height:1.8; }

/* 便箋に置いた小さな線画（高さで大きさを揃える。幅は縦横比から） */
.nws-letter__art{
  --art-h:84px;
  width:calc(var(--art-h) * var(--ar));
  height:var(--art-h);
  margin:16px -4px 0 auto;
}

@media (min-width:768px){
  .nws-body-sec{ padding-top:56px; }
  .nws-letter{ --rule:36px; padding:60px 72px 64px; }
  .nws-lines{
    font-size:17px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='36'%3E%3Cpath d='M0 35.5H10' stroke='%23EADCCB' stroke-width='1'/%3E%3C/svg%3E");
    background-size:10px 36px;
  }
  .nws-sign__name{ font-size:28px; }
  /* 線画は便箋の右下の角に、少しはみ出して置く */
  .nws-letter__art{
    --art-h:116px;
    position:absolute; right:-18px; bottom:-30px;
    margin:0;
  }
}
@media (min-width:1024px){
  .nws-body-sec{ padding-top:72px; }
  .nws-letter{ padding:68px 88px 72px; }
  .nws-letter__art{ --art-h:128px; right:-36px; }
}

/* =========================================================
   自己紹介カード（スタッフ紹介の記事。便箋に添える）
   <div class="nws-profile">
     <figure class="nws-profile__photo print" data-reveal="place"><img …></figure>
     <div class="nws-profile__body">
       <div class="nws-tag">
         <p class="nws-tag__role">介護支援専門員</p>
         <h2 class="nws-tag__name">氏名</h2>
         <p class="nws-tag__roman" translate="no">ローマ字</p>
       </div>
       <div class="nws-profile__word"><p class="nws-profile__label">ひとこと</p><p class="nws-profile__word-text">…</p></div>
       <dl class="nws-profile__dl">…</dl>
     </div>
   </div>
   ========================================================= */
.nws-profile__photo{ max-width:520px; }
.nws-profile__photo img{ aspect-ratio:auto; }
.nws-profile__body{ padding:0 4px; }

/* 名札（白い札＋上辺にピーチの線＋ストラップを通す穴。トップの名札と同じ流儀） */
.nws-tag{
  position:relative; z-index:2;
  display:inline-block;
  min-width:min(14em, calc(100% - 6px));
  max-width:calc(100% - 6px);
  margin:-28px 0 0 6px; /* スマホは写真の下端に少しかける */
  padding:20px 20px 12px;
  background:var(--paper-light);
  border:1px solid rgba(107,82,68,.24);
  border-top:4px solid var(--peach);
  border-radius:3px;
  box-shadow:0 3px 10px rgba(84,67,58,.07);
}
.nws-tag::before{
  content:"";
  position:absolute; left:50%; top:7px;
  width:24px; height:6px;
  margin-left:-12px;
  border:1px solid var(--line-soft);
  border-radius:3px;
  background:var(--paper);
}
.nws-tag__role{
  font-weight:500;
  font-size:15px; line-height:1.6; letter-spacing:.04em;
  color:var(--ink-sub);
}
.nws-tag__name{
  font-size:clamp(21px, 5.6vw, 25px);
  line-height:1.5;
  letter-spacing:.14em;
}
.nws-tag__roman{
  margin-top:2px;
  font-size:15px; line-height:1.6; letter-spacing:.1em;
  color:var(--ink-sub);
}

/* ひとこと（書き込み） */
.nws-profile__word{ margin-top:22px; }
.nws-profile__label,
.nws-profile__dl dt{
  font-weight:700;
  font-size:15px; line-height:1.7; letter-spacing:.1em;
  color:var(--sage-ink-deep);
}
.nws-profile__word-text{
  position:relative;
  margin-top:6px;
  padding-left:18px;
  font-family:var(--f-hand); font-weight:600;
  font-size:clamp(18px, 4.8vw, 20px);
  line-height:1.85; letter-spacing:.06em;
  color:var(--ink);
}
.nws-profile__word-text::before{
  content:"";
  position:absolute; left:0; top:.35em; bottom:.35em;
  width:3px; border-radius:2px;
  background:var(--peach-pale);
}

/* 趣味・特技／仕事へのこだわり（連絡帳の罫線） */
.nws-profile__dl{ margin:18px 0 0; border-top:1px solid rgba(107,82,68,.18); }
.nws-profile__row{ padding:14px 0 15px; border-bottom:1px solid rgba(107,82,68,.18); }
.nws-profile__row:last-child{ border-bottom:0; padding-bottom:0; }
.nws-profile__dl dd{ margin:4px 0 0; line-height:1.95; }

@media (min-width:768px){
  .nws-profile{
    display:grid;
    grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
    column-gap:28px;
    align-items:start;
  }
  .nws-profile__photo{ max-width:none; }
  .nws-profile__body{
    padding:2px 0 0 24px;
    border-left:1px solid var(--peach-pale); /* 連絡帳の縦の余白線 */
  }
  .nws-tag{ margin:0; max-width:100%; }
}
@media (min-width:1024px){
  .nws-profile{ column-gap:36px; }
  .nws-profile__body{ padding-left:32px; }
}

/* =========================================================
   前後の記事・お知らせ一覧へ（記事6本で同じマークアップ）
   <nav class="nws-pager" aria-label="前後の記事">
     <ul class="nws-pager__list">
       <li class="nws-pager__item nws-pager__item--prev">
         <a class="nws-pager__link" href="…"><span class="nws-pager__label"><span aria-hidden="true">←</span> 前の記事</span><span class="nws-pager__title">題</span></a>
       </li>
       <li class="nws-pager__item nws-pager__item--next">…次の記事 →…</li>
     </ul>
   </nav>
   <p class="sub-more nws-back"><a class="tlink" href="news.html">お知らせ一覧へ<svg class="tlink__line" …></svg></a></p>
   ・前の記事＝1つ古い記事（左）、次の記事＝1つ新しい記事（右）。端の記事は片方だけ（位置は保つ）
   ========================================================= */
.nws-pager{ max-width:820px; margin-top:56px; }
.nws-pager__list{ list-style:none; display:grid; gap:14px; }
.nws-pager__link{
  display:grid; gap:2px;
  height:100%;
  padding:14px 20px 16px;
  background:var(--paper-light);
  border:1px solid rgba(107,82,68,.2);
  border-radius:3px;
  text-decoration:none;
  transition:border-color .4s;
}
.nws-pager__label{
  font-family:var(--f-hand); font-weight:600;
  font-size:15px; line-height:1.8; letter-spacing:.08em;
  color:var(--sage-ink);
}
.nws-pager__title{
  font-weight:500;
  line-height:1.75;
  letter-spacing:.06em;
  transition:color .4s;
}
.nws-pager__link:hover{ border-color:var(--peach); }
.nws-pager__link:hover .nws-pager__title,
.nws-pager__link:focus-visible .nws-pager__title{
  color:var(--peach-text);
  text-decoration:underline;
  text-decoration-color:var(--peach);
  text-underline-offset:5px;
  text-decoration-thickness:1.5px;
}
.nws-back{ max-width:820px; margin-top:28px; }
/* 記事のすぐ下の小さな導線（スタッフ紹介の記事の「スタッフ紹介を見る」）。便箋の右端にそろえる */
.nws-aside{ max-width:820px; }

@media (min-width:768px){
  .nws-aside{ margin-top:60px; } /* 便箋の角の線画と重ならないように */
  .nws-pager{ margin-top:72px; }
  .nws-pager__list{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:20px; }
  .nws-pager__item--prev{ grid-column:1; grid-row:1; }
  .nws-pager__item--next{ grid-column:2; grid-row:1; text-align:right; }
  .nws-pager__link{ padding:18px 24px 20px; }
}
@media (min-width:1024px){
  .nws-pager{ margin-top:88px; }
}
