/* ============================================================
   お知らせ・授業報告（/blog/blog.html 専用）
   workshop.css の部品（ws-crumbs / ws-hero / ws-sec / ws-btn / ws-status / ws-tag /
   ws-date-badge / ws-photo / ws-card / ws-footer）をそのまま使い、一覧に必要なものだけ bl- で足す。
   読み込み順：gajyuku-nav.css → workshop.css → blog.css
   色・角丸・線は --ws-* と --gaj-* に従う。太字は600まで。英字ラベルは大文字にしない。
   授業報告は WordPress（https://gajyuku.com/classreport/）から js/blog.js で読み込む。
   ============================================================ */
.bl {
  --bl-top: var(--gaj-gh-h-sp, 60px);          /* 固定ヘッダーの高さ（スマホ） */
  --bl-sub: #6b6b6b;                            /* 白地で4.5:1以上の補足文字 */
}
@media (min-width: 960px) { .bl { --bl-top: calc(var(--gaj-gh-h-pc, 72px) + var(--gaj-gn-h, 44px)); } }
.bl .ws-sec { scroll-margin-top: calc(var(--bl-top) + 72px); }
.bl [hidden] { display: none !important; }

/* ---- ヒーロー ---- */
.bl-hero { margin-bottom: 24px; }
.bl-hero .ws-lead { max-width: 40em; }

/* ---- ページ内の切り替え（スクロールしてもヘッダーの下に残る。授業スケジュールの切り替えと同じ形） ---- */
.bl-jump {
  position: sticky; top: calc(var(--bl-top) + 10px); z-index: 40;
  display: flex; width: max-content; max-width: 100%; margin: 0 0 44px; padding: 3px;
  border-radius: 22px; background: rgba(242,242,242,.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 6px 18px rgba(17,17,17,.06);
  overflow-x: auto; scrollbar-width: none;
}
.bl-jump::-webkit-scrollbar { display: none; }
.ws .bl-jump a {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 16px; border-radius: 19px;
  font-size: 13px; color: var(--ws-ink-2); text-decoration: none; white-space: nowrap;
  transition: background var(--gaj-dur), color var(--gaj-dur), box-shadow var(--gaj-dur);
}
.ws .bl-jump a:hover { color: var(--gaj-black); }
.ws .bl-jump a.is-current { background: #fff; color: var(--gaj-black); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.bl-jump a:focus-visible { outline: 2px solid var(--ws-accent); outline-offset: 2px; }
.bl-jump-n { font-size: 11px; font-weight: 600; color: var(--ws-accent-ink); font-variant-numeric: tabular-nums; }

/* ---- 絞り込み（チップ） ---- */
.bl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.bl-chip {
  appearance: none; font: inherit; cursor: pointer; flex: none;
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px;
  border: 1px solid var(--ws-line); border-radius: 18px; background: #fff;
  font-size: 13px; letter-spacing: .02em; color: var(--ws-ink-2);
  transition: border-color var(--gaj-dur), color var(--gaj-dur), background var(--gaj-dur);
}
.bl-chip:hover { border-color: var(--ws-accent); color: var(--ws-accent-ink); }
.bl-chip[aria-pressed="true"] { background: var(--ws-accent-soft); border-color: var(--ws-accent); color: var(--ws-accent-ink); font-weight: 600; }
.bl-chip:focus-visible { outline: 2px solid var(--ws-accent); outline-offset: 2px; }
.bl-chip-n { font-size: 11px; font-weight: 500; color: var(--bl-sub); font-variant-numeric: tabular-nums; }
.bl-chip[aria-pressed="true"] .bl-chip-n { color: var(--ws-accent-ink); }
.bl-chip-new { font-size: 9.5px; font-weight: 600; letter-spacing: .06em; color: var(--ws-accent); }

/* ---- お知らせ ---- */
.bl-news-tools { margin: 0 0 16px; }
.bl-news-box { border: 1px solid var(--ws-line); border-radius: var(--ws-radius); background: #fff; overflow: hidden; }
.bl-news { margin: 0; padding: 0 20px; list-style: none; }
.bl-news > li + li { border-top: 1px solid var(--ws-line); }
.bl-news-item {
  display: grid; grid-template-columns: 58px minmax(0, 1fr) 18px; gap: 16px; align-items: start;
  padding: 18px 0; color: inherit !important; text-decoration: none;
}
.bl-news-item:focus-visible { outline: 2px solid var(--ws-accent); outline-offset: 4px; border-radius: 6px; }
/* 日付の札（ワークショップの写真の日付と同じ形を、枠線だけで） */
.bl-date {
  display: flex; flex-direction: column; align-items: center; padding: 7px 0 8px;
  border: 1px solid var(--ws-line); border-radius: 10px; background: #fff; line-height: 1.1; text-align: center;
}
.bl-date-y { font-size: 9.5px; letter-spacing: .12em; color: var(--ws-accent-ink); font-weight: 600; }
.bl-date-md { margin-top: 2px; font-size: 18px; font-weight: 600; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.bl-date-dow { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--ws-line); align-self: stretch; font-size: 10px; font-weight: 600; letter-spacing: .08em; color: var(--ws-ink-2); }
.bl-news-main { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.bl-news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.bl-news-meta .ws-status { margin: 0; padding: 2px 9px; font-size: 11px; }
.bl-new { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; color: var(--ws-accent); }
.bl-news-title { margin: 0; font-size: 15.5px; font-weight: 600; line-height: 1.55; color: var(--gaj-black); transition: color var(--gaj-dur); }
.bl-news-sum { font-size: 13px; line-height: 1.75; color: var(--ws-ink-2); }
.bl-arrow { align-self: center; color: var(--ws-muted); font-size: 15px; transition: transform var(--gaj-dur), color var(--gaj-dur); }
.bl-news-item:hover .bl-news-title { color: var(--ws-accent-ink); }
.bl-news-item:hover .bl-arrow { color: var(--ws-accent); transform: translateX(3px); }
/* 4件目以降は折りたたみ（開閉は高さをなめらかに。閉じている間は中身にフォーカスが入らない） */
.bl-fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .36s var(--gaj-ease); }
.bl-fold.is-open { grid-template-rows: 1fr; }
.bl-fold-inner { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s linear .36s; }
.bl-fold.is-open .bl-fold-inner { visibility: visible; transition-delay: 0s; }
.bl-fold .bl-news > li:first-child { border-top: 1px solid var(--ws-line); }
.bl-fold-btn {
  appearance: none; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; margin: 0; padding: 0 16px;
  border: 0; border-top: 1px solid var(--ws-line); background: var(--ws-bg-2); font: inherit; font-size: 13.5px; letter-spacing: .04em; color: var(--gaj-black); cursor: pointer;
  transition: color var(--gaj-dur), background var(--gaj-dur);
}
.bl-fold-btn:hover { background: #fff; color: var(--ws-accent-ink); }
.bl-fold-btn:focus-visible { outline: 2px solid var(--ws-accent); outline-offset: -2px; }
.bl-fold-n { font-size: 12px; color: var(--bl-sub); font-variant-numeric: tabular-nums; }
.bl-fold-btn svg { color: var(--ws-muted); transition: transform .24s var(--gaj-ease); }
.bl-fold-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.bl-more-row { display: flex; justify-content: center; margin-top: 18px; }
.bl-more-row .ws-btn { min-width: 240px; justify-content: center; }

/* ---- 授業報告：絞り込みパネル ---- */
.bl-filter { display: grid; gap: 14px; margin: 0 0 14px; padding: 16px; border: 1px solid var(--ws-line); border-radius: var(--ws-radius); background: var(--ws-bg-2); }
.bl-filter-row { display: grid; gap: 8px; min-width: 0; }
.bl-filter-label { font-size: 11px; letter-spacing: .12em; color: var(--bl-sub); font-weight: 600; }
@media (min-width: 760px) {
  .bl-filter { padding: 18px 20px; }
  .bl-filter-row { grid-template-columns: 5.5em minmax(0, 1fr); gap: 12px; align-items: start; }
  .bl-filter-label { padding-top: 10px; }
}
/* スマホ：スタジオのチップは横にスクロール */
@media (max-width: 759px) {
  .bl-chips--scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .bl-chips--scroll::-webkit-scrollbar { display: none; }
  .bl-chips--scroll .bl-chip { scroll-snap-align: start; }
}
/* クラス：授業スケジュールと同じセグメント */
.bl-seg { display: inline-flex; flex-wrap: wrap; padding: 3px; border-radius: 20px; background: #ededed; }
.bl-seg button {
  appearance: none; border: 0; font: inherit; cursor: pointer;
  min-height: 32px; padding: 0 16px; border-radius: 17px; background: transparent;
  font-size: 13px; color: var(--ws-ink-2); transition: background var(--gaj-dur), color var(--gaj-dur), box-shadow var(--gaj-dur);
}
.bl-seg button[aria-checked="true"] { background: #fff; color: var(--gaj-black); box-shadow: 0 1px 4px rgba(0,0,0,.12); font-weight: 600; }
.bl-seg button:focus-visible { outline: 2px solid var(--ws-accent); outline-offset: 2px; }
.bl-count { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0 0 16px; font-size: 13px; color: var(--ws-ink-2); }
.bl-sample { font-size: 12px; color: var(--bl-sub); }
.bl-count b { color: var(--gaj-black); font-variant-numeric: tabular-nums; }
.bl-reset { appearance: none; border: 0; background: none; font: inherit; font-size: 12.5px; color: var(--ws-accent-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px 0; }

/* ---- 授業報告：カード ---- */
.bl-reports { display: grid; gap: 16px; }
@media (min-width: 640px) { .bl-reports { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .bl-reports { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.bl-card {
  display: flex; flex-direction: column; min-width: 0;
  border: 1px solid var(--ws-line); border-radius: var(--ws-radius); overflow: hidden; background: #fff;
  color: inherit !important; text-decoration: none;
  transition: border-color var(--gaj-dur), box-shadow var(--gaj-dur);
}
.bl-card:hover { border-color: var(--ws-accent); box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.bl-card:focus-visible { outline: 2px solid var(--ws-accent); outline-offset: 2px; }
.bl-card .ws-photo { border-radius: 0; border-width: 0 0 1px; border-color: var(--ws-line); border-style: solid; }
/* 一覧カードの写真：縦写真も横写真も、枠いっぱいに中央を切り取って同じ大きさにそろえる（余白を作らない）。
   枠の比率はスマホ・タブレット・PCとも 4:3（.ws-photo の比率のまま） */
.bl-card .ws-photo .bl-thumb { object-fit: cover; object-position: 50% 50%; }
.bl-card .ws-photo img { transition: transform .6s var(--gaj-ease); }
.bl-card:hover .ws-photo img { transform: scale(1.03); }
.bl-card .ws-date-badge { top: 10px; left: 10px; min-width: 56px; padding: 6px 9px 7px; border-radius: 10px; }
.bl-card .ws-date-badge-md { font-size: 18px; }
.bl-card .ws-date-badge-y { font-size: 9px; }
.bl-card .ws-date-badge-dow { font-size: 10px; }
/* 写真の枚数（右下） */
.bl-pics { position: absolute; right: 10px; bottom: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 11px; background: rgba(17,17,17,.62); color: #fff; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
.bl-pics svg { display: block; }
.bl-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 18px 16px; }
.bl-card-studio { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--gaj-black); }
.bl-card-studio small { font-size: 11.5px; font-weight: 500; color: var(--bl-sub); }
.bl-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.bl-tags .ws-tag { padding: 2px 8px; font-size: 10.5px; letter-spacing: .06em; }
.bl-card-text {
  margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--ws-ink-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-card-by { margin-top: auto; padding-top: 10px; border-top: 1px solid #f1f1f1; font-size: 12px; color: var(--bl-sub); }
.bl-empty-wrap { grid-column: 1 / -1; }
.bl-archive { margin-top: 28px; max-width: none; padding: 0 20px; border: 1px solid var(--ws-line); border-radius: var(--ws-radius); background: #fff; }
.bl-archive summary { list-style: none; cursor: pointer; position: relative; padding: 16px 28px 16px 0; font-size: 14px; font-weight: 600; }
.bl-archive summary::-webkit-details-marker { display: none; }
.bl-archive summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 18px; font-weight: 400; color: var(--ws-muted); }
.bl-archive[open] summary::after { content: '−'; }
.bl-archive summary small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--bl-sub); }
.bl-archive summary:focus-visible { outline: 2px solid var(--ws-accent); outline-offset: 2px; }
.bl-archive ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 4px 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.ws .bl-archive a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid #f1f1f1; font-size: 13.5px; color: var(--gaj-black); text-decoration: none; }
.ws .bl-archive a:hover { color: var(--ws-accent-ink); }
.bl-archive a small { font-size: 11.5px; color: var(--bl-sub); }

/* ---- 授業の写真（スナップスナップ） ---- */
.bl-photo-box { aspect-ratio: 16 / 9; margin: 0 0 16px; max-width: 100%; }
@media (min-width: 760px) { .bl-photo-box { aspect-ratio: 21 / 9; } }
.bl-photos { display: grid; border: 1px solid var(--ws-line); border-radius: var(--ws-radius); overflow: hidden; background: #fff; }
@media (min-width: 760px) { .bl-photos { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.bl-photos-body { padding: 22px 20px; }
@media (min-width: 760px) { .bl-photos-body { padding: 28px 30px; } }
.bl-steps { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; }
.bl-steps li { counter-increment: step; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.bl-steps li::before {
  content: counter(step); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 50%; border: 2px solid var(--ws-accent); color: var(--ws-accent-ink); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.bl-steps b { display: block; font-size: 14.5px; line-height: 1.5; padding-top: 4px; }
.bl-steps span { display: block; font-size: 13px; line-height: 1.75; color: var(--ws-ink-2); }
.bl-photos-side { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 22px 20px; background: var(--ws-bg-2); border-top: 1px solid var(--ws-line); }
@media (min-width: 760px) { .bl-photos-side { padding: 28px; border-top: 0; border-left: 1px solid var(--ws-line); } }
.bl-photos-side img { display: block; width: 150px; height: auto; }
.bl-photos-side .ws-btn { width: 100%; justify-content: center; }
.bl-photos-side .ws-note { margin: 0 !important; }

/* ---- ソーシャルメディア（Instagram は写真つきの大きな枠、そのほかは小さく並べる）
   アイコンは各アプリの iOS アイコンそのもの（App Store 掲載のアイコン）を、iOS と同じ角丸（一辺の約22.4%）で切り抜いて使う ---- */
.bl-social { display: grid; gap: 22px; }
.ws .bl-social-card {
  display: grid; overflow: hidden;
  border: 1px solid var(--ws-line); border-radius: var(--ws-radius); background: #fff;
  color: var(--gaj-black); text-decoration: none; transition: border-color var(--gaj-dur), box-shadow var(--gaj-dur);
}
.ws .bl-social-card:hover { border-color: var(--ws-accent); box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.bl-social-card:focus-visible, .bl-social-mini:focus-visible { outline: 2px solid var(--ws-accent); outline-offset: 2px; }
/* 写真（PCは左半分、スマホは上） */
.bl-social-card > .ws-photo { border-radius: 0; border-width: 0 0 1px; aspect-ratio: 16 / 10; }
.bl-social-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px 20px 22px; }
.bl-social-body .bl-fav { width: 64px; height: 64px; margin-bottom: 10px; }
@media (min-width: 760px) {
  .ws .bl-social-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 340px; }
  .bl-social-card > .ws-photo { aspect-ratio: auto; height: 100%; border-width: 0 1px 0 0; }
  .bl-social-body { justify-content: center; padding: 36px 40px; }
}
.bl-social-name { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 20px; font-weight: 600; line-height: 1.4; }
.bl-social-name small { font-size: 13px; font-weight: 500; color: var(--bl-sub); }
.bl-social-desc { max-width: 26em; font-size: 13.5px; line-height: 1.8; color: var(--ws-ink-2); }
/* フォロー（スタジオ欄のボタンと同じ青） */
.bl-social-cta {
  display: inline-flex; align-items: center; justify-content: center; margin-top: 16px;
  min-width: 180px; min-height: 46px; padding: 0 32px; border-radius: 23px; background: #001bc7; color: #fff;
  font-size: 14px; font-weight: 500; letter-spacing: .08em; transition: background var(--gaj-dur);
}
.ws .bl-social-card:hover .bl-social-cta { background: #00139a; }
@media (max-width: 759px) { .bl-social-cta { align-self: stretch; } }
/* アイコン：iOS と同じ比率の角丸で切り抜く。白地のアイコン（Pinterest）は白い背景に溶けないよう細い線を内側に */
.bl-fav { position: relative; flex: none; display: block; width: 56px; height: 56px; border-radius: 22.4%; overflow: hidden; }
.bl-fav img { display: block; width: 100%; height: 100%; }
.bl-fav::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(17,17,17,.08); pointer-events: none; }
.ws-sec .bl-social-label { margin: 0 0 10px; font-size: 11px; letter-spacing: .12em; color: var(--bl-sub); font-weight: 600; }
.bl-social-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .bl-social-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.ws .bl-social-mini {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 12px;
  border: 1px solid var(--ws-line); border-radius: 12px; background: #fff; color: var(--gaj-black); text-decoration: none;
  transition: border-color var(--gaj-dur);
}
.ws .bl-social-mini:hover { border-color: var(--ws-accent); }
.bl-social-mini .bl-fav { width: 40px; height: 40px; }
.bl-social-mini > span:last-child { min-width: 0; }
.bl-social-mini b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.bl-social-mini small { display: block; font-size: 11.5px; color: var(--bl-sub); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============================================================
   記事ページ（授業報告・お知らせ）  ※本番では WordPress の個別記事テンプレート
   ============================================================ */
.bl-art { display: grid; gap: 44px; }
@media (min-width: 960px) {
  .bl-art { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
  .bl-art-side { position: sticky; top: calc(var(--bl-top) + 24px); }
}
.bl-art-main { min-width: 0; max-width: 720px; }
.bl-art-head { position: relative; margin: 0 0 28px; padding-bottom: 22px; border-bottom: 1px solid var(--ws-line); }
.bl-art-head::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 48px; height: 2px; background: var(--ws-accent); }
.bl-art-head .ws-eyebrow { margin-bottom: 12px; }
.bl-art-head h1 { margin: 0; font-size: clamp(30px, 5.2vw, 52px); line-height: 1.12; font-weight: 600; letter-spacing: -.005em; }   /* ワークショップ各回の h1（.ws-hero h1）と同じ */
.bl-art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 14px 0 0; font-size: 12.5px; color: var(--bl-sub); }
.bl-art-meta .ws-status { margin: 0; }
.bl-prose > p { margin: 0 0 14px; font-size: 15px; line-height: 1.95; color: var(--ws-ink-2); }
.bl-prose > h2 { display: flex; align-items: center; gap: 10px; margin: 34px 0 12px; font-size: 16.5px; font-weight: 600; line-height: 1.5; letter-spacing: .02em; color: var(--gaj-black); }
.bl-prose > h2::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ws-accent); }
.bl-prose > h2:first-child { margin-top: 0; }
.bl-gallery { display: grid; gap: 10px; margin: 18px 0 24px; }
.bl-gallery--multi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bl-fig { margin: 0; overflow: hidden; border-radius: 12px; background: var(--ws-bg-2); display: flex; align-items: center; justify-content: center; }
.bl-fig img { display: block; }
.bl-gallery--single .bl-fig img { width: auto; max-width: 100%; height: auto; max-height: min(640px, 80vh); }
.bl-gallery--multi .bl-fig { aspect-ratio: 1 / 1; }
.bl-gallery--multi .bl-fig img { width: 100%; height: 100%; object-fit: contain; }
.bl-gallery--odd .bl-fig:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
/* お知らせ本文の部品 */
.bl-facts { margin: 6px 0 22px; padding: 4px 20px; border: 1px solid var(--ws-line); border-radius: var(--ws-radius); background: #fff; font-size: 14px; }
.bl-facts > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid #f1f1f1; }
.bl-facts > div:first-child { border-top: 0; }
.bl-facts dt { font-size: 11.5px; letter-spacing: .1em; color: var(--bl-sub); font-weight: 600; padding-top: 2px; }
.bl-facts dd { margin: 0; line-height: 1.75; font-variant-numeric: tabular-nums; }
.bl-hl { color: var(--ws-accent); font-weight: 600; }   /* 本文中で目立たせたい語（期間など） */
.bl-fig--plain { background: none; border-radius: 0; justify-content: flex-start; }   /* ロゴなど白地の画像は背景を敷かない */
.bl-fig--plain img { max-width: min(100%, 420px) !important; }
.bl-fig:has(.bl-cap) { flex-direction: column; background: none; border-radius: 0; }
.bl-fig:has(.bl-cap) img { border-radius: 12px; }
.bl-cap { align-self: flex-end; margin: 6px 0 0; font-size: 11.5px; color: var(--bl-sub); }   /* 画像の注記（※画像はイメージです など） */
.bl-studio-box { margin: 6px 0 22px; padding: 18px 20px; border: 1px solid var(--ws-line); border-radius: var(--ws-radius); background: var(--ws-bg-2); }
.bl-studio-box h3 { margin: 0 0 4px; font-size: 16px; }
.bl-studio-box address { font-style: normal; font-size: 13.5px; line-height: 1.8; color: var(--ws-ink-2); }
.bl-studio-box .ws-access { margin-top: 12px; padding-top: 12px; gap: 8px; }
.bl-studio-box .ws-access-text { font-size: 14px; }
.bl-prose .ws-links { margin: 4px 0 22px; }
.bl-credit { margin: 30px 0 0; padding: 16px 18px; border: 1px solid var(--ws-line); border-radius: var(--ws-radius); background: var(--ws-bg-2); font-size: 13px; line-height: 1.8; color: var(--ws-ink-2); }
.bl-source { margin: 12px 0 0; font-size: 12px; line-height: 1.7; color: var(--bl-sub); }
.bl-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 36px 0 0; }
.ws .bl-pager a { display: flex; flex-direction: column; gap: 2px; min-height: 68px; padding: 12px 16px; border: 1px solid var(--ws-line); border-radius: var(--ws-radius); color: var(--gaj-black); text-decoration: none; transition: border-color var(--gaj-dur); }
.ws .bl-pager a:hover { border-color: var(--ws-accent); }
.bl-pager a:focus-visible { outline: 2px solid var(--ws-accent); outline-offset: 2px; }
.bl-pager small { font-size: 11.5px; color: var(--bl-sub); }
.bl-pager b { font-size: 13.5px; line-height: 1.5; }
.bl-pager .is-next { text-align: right; grid-column: 2; }
.bl-back { margin-top: 28px; }
/* 記事の右側（スタジオの情報・最近の記事） */
.bl-art-side { display: grid; gap: 16px; min-width: 0; }
.bl-side-label { margin: 0 0 4px; font-size: 11px; letter-spacing: .12em; color: var(--bl-sub); font-weight: 600; }
.bl-side-title { margin: 0; font-size: 19px; line-height: 1.4; }
.bl-side-title small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--bl-sub); }
.bl-side-btns { display: grid; gap: 8px; margin-top: 16px; }
.bl-side-btns .ws-btn { justify-content: center; min-height: 42px; }
.bl-side-list { margin: 0; padding: 0; list-style: none; }
.ws .bl-side-list a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #f1f1f1; color: var(--gaj-black); text-decoration: none; }
.bl-side-list li:first-child a { border-top: 0; }
.ws .bl-side-list a:hover b { color: var(--ws-accent-ink); }
.bl-side-thumb { width: 64px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--ws-bg-2); }
.bl-side-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bl-side-list b { display: block; font-size: 13px; line-height: 1.5; font-weight: 600; }
.bl-side-list small { display: block; font-size: 11.5px; color: var(--bl-sub); }
.ws .bl-side-list--text a { grid-template-columns: minmax(0, 1fr); }   /* 写真なしの一覧（お知らせ）。上の .ws .bl-side-list a より強くする */

/* ---- スマホ ---- */
@media (max-width: 759px) {
  .bl-jump { margin-bottom: 36px; }
  .bl-news { padding: 0 14px; }
  .bl-news-item { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
  .bl-news-item .bl-arrow { display: none; }
  .bl-news-title { font-size: 15px; }
  .bl-prose > p { font-size: 15.5px; line-height: 1.9; }
  .bl-facts { padding: 2px 16px; }
  .bl-facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .bl-more-row .ws-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .bl-card .ws-photo img, .bl-arrow, .bl-chip, .bl-jump a, .bl-fold, .bl-fold-inner, .bl-fold-btn svg, .bl-social-card, .bl-social-cta, .bl-social-mini { transition: none; }
  .bl-card:hover .ws-photo img { transform: none; }
}

/* ============================================================
   WordPress（/classreport/）から読み込む授業報告
   ============================================================ */
/* 読み込み中のカード */
.bl-skel { border: 1px solid var(--ws-line); border-radius: var(--ws-radius); overflow: hidden; background: #fff; }
.bl-skel i { display: block; background: #f1f1f1; border-radius: 6px; }
.bl-skel .bl-skel-photo { aspect-ratio: 4 / 3; border-radius: 0; }
.bl-skel .bl-skel-body { display: grid; gap: 10px; padding: 16px 18px 20px; }
.bl-skel .bl-skel-body i { height: 12px; }
.bl-skel .bl-skel-body i:first-child { width: 45%; height: 16px; }
.bl-skel .bl-skel-body i:last-child { width: 70%; }
@media (prefers-reduced-motion: no-preference) {
  .bl-skel i { animation: bl-pulse 1.4s ease-in-out infinite; }
  @keyframes bl-pulse { 50% { opacity: .55; } }
}
.bl-msg { grid-column: 1 / -1; display: grid; justify-items: center; gap: 12px; padding: 28px 20px; border: 1px dashed var(--ws-line); border-radius: var(--ws-radius); text-align: center; font-size: 13.5px; line-height: 1.8; color: var(--ws-ink-2); }
.bl-msg .ws-btn { min-height: 40px; }
/* 記事本文（WordPress の本文 HTML をそのまま入れる） */
.bl-wp { font-size: 15px; line-height: 1.95; color: var(--ws-ink-2); overflow-wrap: anywhere; }
.bl-wp > * { max-width: 100%; }
.bl-wp p { margin: 0 0 14px; }
.bl-wp h2, .bl-wp h3, .bl-wp h4 { display: flex; align-items: center; gap: 10px; margin: 34px 0 12px; font-size: 16.5px; line-height: 1.5; letter-spacing: .02em; color: var(--gaj-black); }
.bl-wp h2::before, .bl-wp h3::before, .bl-wp h4::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ws-accent); }
.bl-wp > :first-child { margin-top: 0; }
.bl-wp a { color: var(--ws-accent-ink); }
.bl-wp ul, .bl-wp ol { margin: 0 0 14px; padding-left: 1.4em; }
.bl-wp strong, .bl-wp b { font-weight: 600; color: var(--gaj-black); }
.bl-wp figure { margin: 18px 0 22px; }
.bl-wp img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 12px; }
.bl-wp p > img, .bl-wp a > img { margin: 18px auto; }
.bl-wp .wp-block-image { text-align: center; }
.bl-wp .wp-block-image img { max-height: min(640px, 80vh); width: auto; }
.bl-wp figcaption, .bl-wp .wp-element-caption { margin-top: 6px; font-size: 12px; line-height: 1.6; color: var(--bl-sub); text-align: center; }
/* ギャラリー：2列の正方形に作品全体が入るよう収める */
.bl-wp .wp-block-gallery, .bl-wp .gallery { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 22px; }
.bl-wp .wp-block-gallery > figure, .bl-wp .gallery > .gallery-item {
  width: auto !important; margin: 0 !important; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; background: var(--ws-bg-2);
  display: flex; align-items: center; justify-content: center;
}
.bl-wp .wp-block-gallery > figure img, .bl-wp .gallery img { width: 100% !important; height: 100% !important; max-height: none; object-fit: contain; border-radius: 0; margin: 0; }
.bl-wp .wp-block-gallery > figure figcaption { display: none; }
/* 写真が奇数枚のときは、1枚目を横いっぱいに大きく */
.bl-wp .wp-block-gallery > figure:first-child:nth-last-child(2n+1) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.bl-wp .wp-block-embed iframe, .bl-wp iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.bl-wp .wp-block-separator, .bl-wp hr { margin: 28px 0; border: 0; border-top: 1px solid var(--ws-line); }
.bl-wp blockquote { margin: 18px 0; padding: 14px 18px; border-left: 3px solid var(--ws-accent); background: var(--ws-bg-2); border-radius: 0 12px 12px 0; }
@media (max-width: 759px) { .bl-wp { font-size: 15.5px; line-height: 1.9; } }

/* ---- いいね（記事の本文の下にボタン、一覧のカードに数） ---- */
.bl-card-by { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bl-card-likes { display: inline-flex; align-items: center; gap: 4px; flex: none; font-variant-numeric: tabular-nums; color: var(--bl-sub); }
.bl-card-likes svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.bl-like-row { display: flex; justify-content: center; margin: 36px 0 0; }
.bl-like {
  appearance: none; font: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border: 1px solid var(--ws-line); border-radius: 24px; background: #fff;
  font-size: 14px; letter-spacing: .06em; color: var(--gaj-black);
  transition: border-color var(--gaj-dur), background var(--gaj-dur), color var(--gaj-dur);
}
.bl-like svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: fill var(--gaj-dur); }
.bl-like:hover { border-color: var(--ws-accent); color: var(--ws-accent-ink); }
.bl-like[aria-pressed="true"] { border-color: var(--ws-accent); background: var(--ws-accent-soft); color: var(--ws-accent-ink); }
.bl-like[aria-pressed="true"] svg { fill: var(--ws-accent); stroke: var(--ws-accent); }
.bl-like:focus-visible { outline: 2px solid var(--ws-accent); outline-offset: 2px; }
.bl-like:disabled { cursor: progress; }
.bl-like-n { min-width: 1.2em; font-weight: 600; font-variant-numeric: tabular-nums; text-align: left; }
/* 一覧のカード：右下に重ねて、カードを開かずに押せるようにする */
.bl-card-wrap { position: relative; display: flex; min-width: 0; }
.bl-card-wrap > .bl-card { flex: 1; }
.bl-card-wrap .bl-card-by { padding-right: 64px; min-height: 30px; }
.bl-like--card { position: absolute; right: 10px; bottom: 9px; z-index: 2; gap: 4px; min-height: 32px; padding: 0 10px; border-color: transparent; border-radius: 16px; background: transparent; font-size: 12px; letter-spacing: 0; color: var(--bl-sub); }
.bl-like--card svg { width: 15px; height: 15px; stroke-width: 2; }
.bl-like--card .bl-like-n { font-weight: 500; }
/* 記事の見出しの下：小さめのボタン */
.bl-like--head { min-height: 36px; margin-top: 14px; padding: 0 16px; border-radius: 18px; font-size: 13px; }
.bl-like--head svg { width: 17px; height: 17px; }

/* ---- お知らせのシェア ---- */
.bl-share { margin: 32px 0 0; padding: 18px 0 0; border-top: 1px solid var(--ws-line); }
.bl-share-label { margin: 0 0 10px; font-size: 11.5px; letter-spacing: .12em; color: var(--bl-sub); font-weight: 600; }
.bl-share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ws .bl-share-btn {
  appearance: none; font: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--ws-line); border-radius: 20px; background: #fff;
  font-size: 13px; color: var(--gaj-black); text-decoration: none;
  transition: border-color var(--gaj-dur), color var(--gaj-dur);
}
.bl-share-btn svg { width: 16px; height: 16px; flex: none; }
.ws .bl-share-btn:hover { border-color: var(--ws-accent); color: var(--ws-accent-ink); }
.bl-share-btn:focus-visible { outline: 2px solid var(--ws-accent); outline-offset: 2px; }
.bl-share-btn--line svg { color: #06c755; }
.bl-share-btn--facebook svg { color: #1877f2; }
.bl-share-btn--instagram svg { color: #e1306c; }
.bl-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 1000; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; background: rgba(17,17,17,.9); color: #fff; font-size: 13px; line-height: 1.6; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.bl-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: no-preference) {
  .bl-like.is-pop svg { animation: bl-pop .42s cubic-bezier(.3, 1.6, .5, 1); }
  @keyframes bl-pop { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
}

/* ---- 写真の注記（※画像はイメージです）：写真の左下に小さく、控えめに重ねる（地の帯は付けず、文字に薄い影だけ） ---- */
.bl-illus { position: absolute; left: 8px; bottom: 6px; z-index: 1; color: rgba(255,255,255,.8); font-size: 8.5px; line-height: 1.4; letter-spacing: .02em; text-shadow: 0 0 3px rgba(0,0,0,.35); pointer-events: none; }
