/* ============================================================
   day.css
   day.html（デイサービス）専用スタイル
   前提: style.css → common-sub.css → このファイル の順に読み込むこと
   共通パーツ（見出し・特徴アイコン行・事業所一覧等）は
   common-sub.css を参照。ここには day.html 固有のパーツのみを置く
   ============================================================ */

/* ---------- 「楽しく1日を過ごしていただきたい」アイコン写真 拡大 ---------- */
.sub-feature img{height:190px;width:190px;}
@media only screen and (max-width:600px){
  .sub-feature img{height:150px;width:150px;}
}

/* ---------- レクリエーション タグ ---------- */
.ds-recreation-tags{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;max-width:820px;margin:0 auto;}
.ds-recreation-tags span{background:#fff;border:1px solid var(--pt-line);padding:9px 18px;border-radius:18px;font-size:12.5px;color:#555;}

/* ---------- レクリエーション 写真4枚 ---------- */
.ds-rec-photos{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  max-width:1100px;
  margin:32px auto 0;
}
.ds-rec-photo{
  aspect-ratio:4/3;
  overflow:hidden;
  border-radius:4px;
}
.ds-rec-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .4s ease;
}
.ds-rec-photo:hover img{transform:scale(1.06);}
@media(max-width:860px){ .ds-rec-photos{grid-template-columns:repeat(2,1fr);} }
@media(max-width:480px){ .ds-rec-photos{grid-template-columns:1fr;} }

/* ---------- デイサービスの一日（タイムスケジュール） ---------- */
.ds-schedule{max-width:820px;margin:0 auto;}
.ds-row{display:grid;grid-template-columns:90px 150px 1fr;gap:22px;align-items:center;padding:22px 0;border-bottom:1px solid rgba(58,51,42,.12);}
.ds-row:last-child{border-bottom:none;}
.ds-row .time{font-family:"Oswald",sans-serif;font-size:22px;color:var(--pt-orange);}
.ds-row .photo{width:150px;height:150px;border-radius:8px;overflow:hidden;flex:none;}
.ds-row .photo img{width:100%;height:100%;object-fit:cover;display:block;}
.ds-row h4{font-size:17.5px;font-weight:700;margin-bottom:6px;color:var(--pt-ink);}
.ds-row p{font-size:16px;color:#5c5346;line-height:1.8;}
@media(max-width:640px){
  .ds-row{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center;}
  .ds-row .time{flex:none;order:1;}
  .ds-row .photo{flex:none;width:64px;height:64px;order:2;margin-left:auto;}
  .ds-row > div:last-child{flex:1 0 100%;order:3;}
}
