@charset "UTF-8";
/* =========================================================
   しあわせの介護プラン — 下層ページ共通（sub.css）
   ・kyotaku.css のあとに読み込む。変数（--paper, --ink, --line, --f-hand など）と
     共通部品（.wrap .hand .ib .tlink .btn-tel .print .ph .sheet .idx .mark）はトップのものをそのまま使う
   ・ここに書くのは、下層の「読むページ」用の型だけ。クラスは sub- 接頭辞
   ・トップより静かに: 本文の行長は全角34〜38字（max-width:37em 前後）、行間 2.1 前後
   ・CSSで初期状態を隠さない（出現は sub.js の data-reveal / data-draw が gsap.from で行う）
   ・グラデーション装飾・filter: blur()・新しい色は使わない。藍（#3F5270）はありがとやだけ
   ・ブレークポイント: スマホを先に組み、768px・1024px・1200px で広げる

   部品の一覧（HTMLの書き方は各ブロックのコメント）
     .sub-head        ページの見出し部（添え書き・h1・リード・パンくず・小さな線画・手描きの線）
     .sub-crumb       パンくず
     .sub-rule        手描きの横線（区切り。data-draw で線が引かれる）
     .sub-sec         本文の区画（--shade で紙・影色の帯）
     .sub-sec__head   区画の見出し（.sub-kicker ＋ .sub-h2）
     .sub-prose       文章だけの型（読みやすい行長）
     .sub-media       写真と文章を左右に組む型（--rev で左右反転）
     .sub-quote       手書き風の一文（肉声の引用・ひとこと）
     .sub-dl          定義リストの表（募集要項など）
     .sub-table       <table> で組むときの表
     .sub-more        右寄せの小さな導線（.tlink を1つ）
     .sub-cta         締めの導線（電話ボタン＋お問い合わせリンク）
   ========================================================= */

/* ---------------------------------------------------------
   ページの見出し部
   使い方（各ページの最初の <section>）:
   <section class="sub-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" data-reveal="fade">添え書き</p>
         <h1 class="sub-head__title" id="page-title" data-reveal="up">ページ名</h1>
         <p class="sub-head__lead" data-reveal="up" data-reveal-delay="0.2">短いリード</p>
       </div>
       <div class="sub-head__art ph" style="--ar:1536/922" aria-hidden="true" data-reveal="fade" data-reveal-delay="0.3">
         <img src="../materials/…webp" width="…" height="…" alt="" decoding="async" onload="phOk(this)" onerror="phNg(this)">
       </div>
     </div>
     <svg class="sub-rule sub-head__rule" …>（下の .sub-rule を参照）</svg>
   </section>
   ・絵は線画（generated-care / generated-line）を1点。最初の画面に入るので loading="lazy" は付けない
   ・絵が縦長なら .sub-head__art--tall（幅を狭くする）
   --------------------------------------------------------- */
.sub-head{
  position:relative;
  padding:calc(var(--hd-h) + 20px) 0 0;
  overflow:clip;
}
.sub-head__inner{ display:grid; gap:28px; }
.sub-head__kicker{ margin-top:28px; margin-bottom:6px; }
.sub-head__title{
  font-size:clamp(28px, 7.4vw, 46px);
  line-height:1.5;
  letter-spacing:.14em;
}
.sub-head__lead{ margin-top:18px; max-width:30em; }
.sub-head__art{ width:min(86%, 420px); justify-self:end; }
.sub-head__art--tall{ width:min(52%, 240px); }
.sub-head__rule{ margin-top:32px; }

@media (min-width:768px){
  .sub-head{ padding-top:calc(var(--hd-h) + 28px); }
  .sub-head__inner{ grid-template-columns:minmax(0,1fr) minmax(0,.9fr); column-gap:48px; align-items:end; }
  .sub-head__kicker{ margin-top:48px; }
  .sub-head__art{ width:100%; max-width:440px; }
  .sub-head__art--tall{ width:60%; max-width:260px; }
  .sub-head__rule{ margin-top:40px; }
}
@media (min-width:1024px){
  .sub-head__inner{ column-gap:72px; }
  .sub-head__body{ padding-bottom:24px; }
  .sub-head__kicker{ margin-top:64px; }
}

/* ---------------------------------------------------------
   パンくず（トップ ＞ ページ名）
   <nav class="sub-crumb" aria-label="パンくず">
     <ol>
       <li><a href="kyotaku.html">トップ</a></li>
       <li><span aria-current="page">ページ名</span></li>
     </ol>
   </nav>
   --------------------------------------------------------- */
.sub-crumb ol{ list-style:none; display:flex; flex-wrap:wrap; align-items:baseline; gap:0 .2em; }
.sub-crumb li{ font-size:15px; line-height:1.8; letter-spacing:.06em; color:var(--ink-sub); }
.sub-crumb li + li::before{
  content:"＞";
  content:"＞" / "";
  margin-right:.3em;
  color:var(--line-soft);
}
.sub-crumb a{
  display:inline-block;
  padding:6px 0; /* 指で押しやすい高さ */
  color:var(--ink-sub);
  text-decoration:underline;
  text-decoration-color:var(--peach);
  text-underline-offset:5px;
  transition:color .4s;
}
.sub-crumb a:hover{ color:var(--peach-text); }

/* ---------------------------------------------------------
   手描きの横線（区切り）
   <svg class="sub-rule" viewBox="0 0 1000 12" preserveAspectRatio="none" aria-hidden="true" focusable="false">
     <path pathLength="1" data-draw d="M2 7C160 4 330 9 500 6S840 4.5 998 6.5"/>
   </svg>
   ・path に data-draw を付けると、画面に入ったとき左から引かれる（sub.js）
   ・.wrap の中に置けば本文幅、外に置けば画面幅
   --------------------------------------------------------- */
.sub-rule{ display:block; width:100%; height:12px; overflow:visible; }
.sub-rule path{
  fill:none;
  stroke:var(--line);
  stroke-width:1.4;
  stroke-linecap:round;
  vector-effect:non-scaling-stroke;
  opacity:.6;
  stroke-dasharray:1;
  stroke-dashoffset:0;
}

/* ---------------------------------------------------------
   本文の区画
   <section class="sub-sec" aria-labelledby="sec-xxx">
     <div class="wrap">
       <div class="sub-sec__head">
         <p class="hand sub-kicker">添え書き（任意）</p>
         <h2 class="sub-h2" id="sec-xxx">見出し</h2>
       </div>
       … .sub-prose / .sub-media など …
     </div>
   </section>
   ・紙・影色の帯にするときは .sub-sec--shade（続けて2つ並べない）
   ・区画の中の小見出しは .sub-h3
   --------------------------------------------------------- */
.sub-sec{ position:relative; padding:64px 0; }
.sub-sec--shade{ background:var(--paper-shade); }
.sub-sec--shade .hand{ color:var(--sage-ink-deep); } /* 影色の上でも 4.5:1 */
.sub-sec:not(.sub-sec--shade) + .sub-sec:not(.sub-sec--shade){ padding-top:16px; } /* 紙色の区画が続くときは、上下の余白が二重にならないよう詰める */
.sub-sec__head{ max-width:38em; margin-bottom:32px; }
.sub-kicker{ margin-bottom:4px; }
.sub-h2{
  font-size:clamp(22px, 5.8vw, 34px);
  line-height:1.6;
  letter-spacing:.1em;
}
.sub-h3{
  margin:40px 0 12px;
  font-size:clamp(19px, 4.8vw, 22px);
  line-height:1.7;
  letter-spacing:.08em;
}
@media (min-width:1024px){
  .sub-sec{ padding:104px 0; }
  .sub-sec:not(.sub-sec--shade) + .sub-sec:not(.sub-sec--shade){ padding-top:24px; }
  .sub-sec__head{ margin-bottom:44px; }
}

/* ---------------------------------------------------------
   文章だけの型（読みやすい行長）
   <div class="sub-prose">
     <p>段落</p>
     <p>段落</p>
   </div>
   ・1段落は2〜4文程度で分ける。段落の間は1行分あける
   ・強調したい冒頭の一文は <p class="sub-prose__lead">
   ・右寄せにずらして置くときは .sub-prose--indent（PCで左に余白）
   --------------------------------------------------------- */
.sub-prose{ max-width:37em; line-height:2.15; }
.sub-prose p + p{ margin-top:1.3em; }
.sub-prose__lead{
  font-weight:500;
  font-size:1.12em;
  line-height:1.9;
  letter-spacing:.08em;
}
@media (min-width:1024px){
  .sub-prose--indent{ margin-left:4.5em; }
}

/* ---------------------------------------------------------
   写真と文章を左右に組む型
   <div class="sub-media">            ← 写真が右（--rev で写真が左）
     <figure class="sub-media__photo print" data-reveal="place">
       <img src="../materials/current-site/…" width="…" height="…" alt="…" loading="lazy" decoding="async">
     </figure>
     <div class="sub-media__body">
       <h2 class="sub-h2">見出し（区画見出しを中に入れる場合）</h2>
       <div class="sub-prose">…</div>
     </div>
   </div>
   ・スマホ〜1023px: 写真 → 文章の縦並び（写真は幅いっぱいより少し小さく、左右に寄せる）
   ・1024px〜: 2列。文章の列は 34〜36字ぶんの幅を確保し、残りが写真
   ・写真の切り取り位置は img の style="object-position:…" で
   ・写真の縦横比を変えるときは .sub-media__photo--wide（3:2）／--tall（4:5）
   --------------------------------------------------------- */
.sub-media{ display:grid; gap:36px; }
.sub-media__photo{ width:92%; margin-left:auto; }
.sub-media--rev .sub-media__photo{ margin-left:0; margin-right:auto; }
.sub-media__photo--wide img{ aspect-ratio:3 / 2; }
.sub-media__photo--tall img{ aspect-ratio:4 / 5; }
.sub-media__body > .sub-h2{ margin-bottom:24px; }
.sub-media__body > .hand + .sub-h2{ margin-top:0; }

@media (min-width:768px){
  .sub-media__photo{ width:78%; }
}
@media (min-width:1024px){
  .sub-media{
    grid-template-columns:minmax(0,36em) minmax(0,1fr);
    column-gap:64px;
    align-items:start;
  }
  .sub-media__photo,
  .sub-media--rev .sub-media__photo{ grid-column:2; grid-row:1; width:100%; margin:8px 0 0; }
  .sub-media__body{ grid-column:1; grid-row:1; }
  .sub-media--rev{ grid-template-columns:minmax(0,1fr) minmax(0,36em); }
  .sub-media--rev .sub-media__photo{ grid-column:1; }
  .sub-media--rev .sub-media__body{ grid-column:2; }
}
@media (min-width:1200px){
  .sub-media{ column-gap:88px; }
}

/* ---------------------------------------------------------
   手書き風の一文（肉声の引用・ひとこと）
   <blockquote class="sub-quote">
     <p><span class="ib">一文の前半、</span><span class="ib">後半。</span></p>
   </blockquote>
   ・Klee One。左に手描きの縦線。段落の中ではなく、段落と段落の間に置く
   ・名前を添えるときは <p class="sub-quote__by">名前</p> を blockquote の中に
   --------------------------------------------------------- */
.sub-quote{
  position:relative;
  max-width:34em;
  margin:32px 0;
  padding:4px 0 4px 22px;
  font-family:var(--f-hand);
  font-weight:600;
  font-size:clamp(18px, 4.8vw, 22px);
  line-height:1.9;
  letter-spacing:.08em;
  color:var(--ink);
}
.sub-quote::before{
  content:"";
  position:absolute; left:0; top:.3em; bottom:.3em;
  width:3px; border-radius:2px;
  background:var(--peach-pale);
}
.sub-quote p + p{ margin-top:.2em; }
.sub-quote .sub-quote__by{
  margin-top:10px;
  font-size:16px;
  letter-spacing:.14em;
  color:var(--sage-ink);
}

/* ---------------------------------------------------------
   定義リストの表（募集要項など）
   <dl class="sub-dl sheet">
     <div class="sub-dl__row"><dt>勤務時間</dt><dd>8:30～17:30</dd></div>
     …
   </dl>
   ・.sheet と組み合わせると連絡帳の紙。インデックスの付箋を付けるなら、
     外側を <div class="sub-dl-wrap"> にして <p class="idx">募集要項</p> を先頭に（.idx は上にはみ出すので上に余白を取っている）
   ・スマホ: 見出し（dt）の下に中身（dd）／768px〜: 左に見出し・右に中身の2列
   ・dd の中で改行が要るときは <br>、箇条なら <ul class="sub-dl__list">
   --------------------------------------------------------- */
.sub-dl-wrap{ position:relative; margin-top:44px; }
.sub-dl{ margin:0; padding:4px 20px; }
.sub-dl__row{ padding:16px 0 17px; border-bottom:1px solid rgba(107,82,68,.18); }
.sub-dl__row:last-child{ border-bottom:0; }
.sub-dl dt{
  font-weight:700;
  font-size:15px;
  line-height:1.7;
  letter-spacing:.1em;
  color:var(--sage-ink-deep);
}
.sub-dl dd{ margin:4px 0 0; line-height:1.95; }
.sub-dl__list{ list-style:none; }
.sub-dl__list li{ position:relative; padding-left:1.1em; }
.sub-dl__list li::before{ content:"・"; position:absolute; left:-.1em; }
@media (min-width:768px){
  .sub-dl{ padding:8px 40px; }
  .sub-dl__row{ display:grid; grid-template-columns:9.5em minmax(0,1fr); column-gap:28px; align-items:baseline; padding:20px 0; }
  .sub-dl dt{ font-size:16px; }
  .sub-dl dd{ margin:0; }
}

/* ---------------------------------------------------------
   <table> で組むときの表（列が3つ以上あるときなど。2列なら .sub-dl を優先）
   <div class="sub-table-wrap">
     <table class="sub-table">
       <caption class="sr-only">表の名前</caption>
       <tr><th scope="row">項目</th><td>内容</td></tr>
     </table>
   </div>
   ・横にあふれる表は .sub-table-wrap の中だけで横スクロール（ページ全体は横スクロールさせない）
   --------------------------------------------------------- */
.sub-table-wrap{ max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.sub-table{
  width:100%;
  border-collapse:collapse;
  background:var(--paper-light);
  border:1px solid rgba(107,82,68,.16);
}
.sub-table th,
.sub-table td{
  padding:14px 16px;
  border-bottom:1px solid rgba(107,82,68,.18);
  text-align:left;
  vertical-align:top;
  line-height:1.9;
}
.sub-table th{
  width:8.5em;
  font-weight:700;
  font-size:15px;
  letter-spacing:.08em;
  color:var(--sage-ink-deep);
  white-space:nowrap;
}
.sub-table tr:last-child th,
.sub-table tr:last-child td{ border-bottom:0; }
@media (min-width:768px){
  .sub-table th, .sub-table td{ padding:18px 24px; }
}

/* ---------------------------------------------------------
   右寄せの小さな導線
   <p class="sub-more">
     <span class="sub-more__note">ひとこと（任意）</span>
     <a class="tlink" href="…">リンクの文字<svg class="tlink__line" viewBox="0 0 200 10" preserveAspectRatio="none" aria-hidden="true" focusable="false"><path pathLength="1" d="M2 5C50 7.6 100 2.8 150 5.6S190 4 198 5.2"/></svg></a>
   </p>
   --------------------------------------------------------- */
.sub-more{
  display:flex; flex-wrap:wrap; align-items:baseline; justify-content:flex-end;
  gap:4px 18px;
  margin-top:40px;
  text-align:right;
}
.sub-more__note{ color:var(--ink-sub); }

/* ---------------------------------------------------------
   締めの導線（各ページの最後の <section>）
   <section class="sub-cta" aria-labelledby="cta-title">
     <div class="wrap">
       <div class="sub-cta__card sheet">
         <p class="idx" aria-hidden="true">ご相談</p>
         <div class="sub-cta__body">
           <h2 class="sub-cta__title" id="cta-title">見出し</h2>
           <p class="sub-cta__lead">ひとこと</p>
           <div class="sub-cta__act" data-reveal="up">      ← .btn-tel には data-reveal を付けない（CSSの transition があるため）。包む div に付ける
             <a class="btn-tel btn-tel--large" href="tel:0492655906">
               <span class="btn-tel__label">お電話でのご相談</span>
               <span class="btn-tel__num">049-265-5906</span>
             </a>
             <p class="sub-cta__form"><a class="tlink" href="https://siawasenokaigo.co.jp/お問い合わせ/" target="_blank" rel="noopener">お問い合わせフォームへ<svg class="tlink__line" …></svg></a></p>
           </div>
         </div>
         <div class="sub-cta__art ph" style="--ar:400/312" aria-hidden="true">（小物の線画・任意）</div>
       </div>
     </div>
   </section>
   ・採用案内: 電話ボタンを外し、.sub-cta__form のリンクを「ご応募はお問い合わせから」に
   ・.idx は上にはみ出すので、.sub-cta には上の余白を多めに取ってある
   --------------------------------------------------------- */
.sub-cta{ position:relative; padding:56px 0 72px; }
.sub-cta__card{
  display:grid; gap:24px;
  margin-top:28px; /* .idx のぶん */
  padding:32px 22px 36px;
}
.sub-cta__title{
  font-size:clamp(22px, 5.8vw, 32px);
  line-height:1.6;
  letter-spacing:.1em;
}
.sub-cta__lead{ margin:14px 0 26px; max-width:30em; }
.sub-cta__act{ display:flex; flex-direction:column; align-items:flex-start; gap:18px; }
.sub-cta__form{ margin:0; }
.sub-cta__art{ width:min(44%, 160px); justify-self:end; margin-top:-8px; }

@media (min-width:768px){
  .sub-cta__card{ padding:44px 48px 48px; }
  .sub-cta__act{ flex-direction:row; flex-wrap:wrap; align-items:center; gap:18px 32px; }
}
@media (min-width:1024px){
  .sub-cta{ padding:80px 0 112px; }
  .sub-cta__card{
    grid-template-columns:minmax(0,1fr) 200px;
    column-gap:56px; align-items:end;
    padding:56px 64px 60px;
  }
  .sub-cta__art{ width:100%; margin:0; }
}
