@charset "UTF-8";
/**********************************************************************
	セミナー・講演会一覧（page-seminar.php）- className : sm-
***********************************************************************/
.sm {
  --sm-ink: #333;
  --sm-sub: #666;
  --sm-line: #e3e6ea;
  --sm-soft: #f5f5f5;
  --sm-navy: #0d4270;
  --sm-navy-soft: #e8eef5;
  --sm-red: #d9534f;
  --sm-yellow: #f5c400;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--sm-ink);
  font-size: 15px;
  line-height: 1.7;
  padding-bottom: 60px;
}
.sm *, .sm *::before, .sm *::after { box-sizing: border-box; }
.sm img { max-width: 100%; height: auto; display: block; }
.sm ul { list-style: none; margin: 0; padding: 0; }
.sm p { margin: 0; }

.sm .sm-lead { color: var(--sm-sub); margin-bottom: 16px; }
.sm-jump { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.sm a.sm-jump-link, .sm-jump a {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  border: 1px solid var(--sm-line); border-radius: 999px; padding: 6px 18px;
  font-size: 14px; font-weight: bold; color: var(--sm-navy); background: #fff;
}
.sm-jump a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.sm-jump a:hover { background: var(--sm-navy-soft); text-decoration: none; }

.sm .sm-sec-title {
  font-size: 21px; font-weight: bold; margin: 0 0 18px; padding: 0 0 8px;
  border-bottom: 2px solid var(--sm-navy); background: none;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.sm .sm-sec-title small { font-size: 13px; font-weight: normal; color: var(--sm-sub); }

/* 開催予定 */
.sm-up-list { display: grid; gap: 26px; margin-bottom: 56px; }
.sm-up {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  border: 1px solid var(--sm-line); border-radius: 12px; overflow: hidden;
  background: #fff; box-shadow: 0 2px 10px rgba(13, 66, 112, .06);
}
.sm-up-banner { background: var(--sm-soft); display: flex; align-items: center; }
.sm-up-banner img { width: 100%; }
.sm-up-body { padding: 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.sm .sm-badges { line-height: 1; }
.sm-badge { display: inline-block; background: var(--sm-red); color: #fff; font-size: 12px; font-weight: bold; padding: 3px 12px; border-radius: 999px; line-height: 1.6; }
.sm .sm-up-name { font-size: 20px; font-weight: bold; line-height: 1.4; margin: 0; padding: 0; background: none; border: 0; }
.sm .sm-up-when { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; color: var(--sm-navy); font-weight: bold; }
.sm-up-when .d { font-size: 22px; }
.sm-up-when .t { font-size: 15px; }

.sm-dl { display: grid; grid-template-columns: 4.5em 1fr; gap: 6px 12px; margin: 0; font-size: 14px; }
.sm-dl dt { color: var(--sm-sub); }
.sm-dl dd { margin: 0; }
.sm-dl dd li + li { margin-top: 2px; }

.sm a.sm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-weight: bold; border-radius: 999px;
  padding: 12px 28px; font-size: 16px; line-height: 1.2; border: 2px solid transparent;
}
.sm a.sm-btn-apply { background: var(--sm-red); color: #fff; margin-top: 6px; align-self: flex-start; }
.sm a.sm-btn-apply:hover { filter: brightness(1.07); text-decoration: none; }
.sm .sm-note { font-size: 12px; color: var(--sm-sub); }
.sm-empty { border: 2px dashed var(--sm-line); border-radius: 10px; background: var(--sm-soft); text-align: center; padding: 44px 20px; color: var(--sm-sub); margin-bottom: 56px; }

/* 開催済み */
.sm-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.sm-chip {
  appearance: none; -webkit-appearance: none; font: inherit; font-size: 13.5px;
  border: 1px solid var(--sm-line); background: #fff; color: var(--sm-ink);
  border-radius: 999px; padding: 5px 16px; cursor: pointer;
}
.sm-chip small { color: var(--sm-sub); margin-left: 4px; }
.sm-chip[aria-pressed="true"] { background: var(--sm-navy); border-color: var(--sm-navy); color: #fff; font-weight: bold; }
.sm-chip[aria-pressed="true"] small { color: #fff; opacity: .85; }
.sm-year-block[hidden] { display: none !important; }
.sm .sm-year { font-size: 17px; font-weight: bold; color: var(--sm-navy); margin: 30px 0 12px; padding: 0; background: none; border: 0; display: flex; align-items: center; gap: 10px; }
.sm .sm-year::after { content: ""; flex: 1; height: 1px; background: var(--sm-line); }

.sm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; }
.sm-card {
  appearance: none; -webkit-appearance: none; border: 0; background: none; padding: 0;
  text-align: left; font: inherit; color: inherit; cursor: pointer;
  display: flex; flex-direction: column; gap: 4px;
}
.sm-thumb {
  position: relative; display: block; aspect-ratio: 210 / 297; overflow: hidden;
  border: 1px solid var(--sm-line); border-radius: 4px; background: var(--sm-soft);
  transition: transform .15s, box-shadow .15s;
}
.sm .sm-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sm-card:hover .sm-thumb, .sm-card:focus-visible .sm-thumb { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0, 0, 0, .15); }
.sm-card:focus-visible { outline: 3px solid var(--sm-yellow); outline-offset: 4px; }
.sm-more {
  position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; transition: opacity .15s;
  background: linear-gradient(transparent, rgba(13, 66, 112, .88)); color: #fff;
  font-size: 12.5px; font-weight: bold; text-align: center; padding: 26px 6px 8px;
}
.sm-card:hover .sm-more, .sm-card:focus-visible .sm-more { opacity: 1; }
.sm-photo-badge {
  position: absolute; top: 8px; left: 8px; background: rgba(255, 255, 255, .95);
  color: var(--sm-navy); font-size: 11px; font-weight: bold; padding: 2px 8px;
  border-radius: 999px; box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}
.sm-c-date { font-size: 12.5px; color: var(--sm-sub); margin-top: 8px; }
.sm-c-name { font-size: 15px; font-weight: bold; line-height: 1.45; }
.sm-c-theme { font-size: 12.5px; color: var(--sm-sub); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 詳細ダイアログ */
.sm-detail[hidden] { display: none !important; }
dialog.sm-dialog {
  border: 0; padding: 0; border-radius: 12px; color: var(--sm-ink);
  width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  font: 15px/1.7 メイリオ, Meiryo, "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
}
dialog.sm-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.sm-dialog *, .sm-dialog *::before, .sm-dialog *::after { box-sizing: border-box; }
.sm-dialog img { max-width: 100%; height: auto; display: block; }
.sm-dialog ul { list-style: none; margin: 0; padding: 0; }
.sm-dialog p { margin: 0; }
.sm-dg-head { position: sticky; top: 0; z-index: 2; background: #fff; border-bottom: 1px solid var(--sm-line); padding: 16px 62px 12px 22px; }
.sm-dg-head h2 { font-size: 19px; font-weight: bold; margin: 0; line-height: 1.4; background: none; border: 0; padding: 0; }
.sm-dg-close {
  position: absolute; top: 10px; right: 12px; width: 42px; height: 42px; border: 0;
  border-radius: 50%; background: var(--sm-soft); font-size: 24px; line-height: 42px;
  cursor: pointer; color: var(--sm-ink);
}
.sm-dg-close:hover { background: var(--sm-line); }
.sm-dg-body { padding: 20px 22px 26px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 26px; }
.sm-flyers { display: flex; flex-direction: column; gap: 10px; }
.sm-flyers a { display: block; border: 1px solid var(--sm-line); border-radius: 4px; overflow: hidden; cursor: zoom-in; }
.sm-flyers .sm-note { text-align: center; font-size: 12px; color: var(--sm-sub); }
.sm-info .sm-dl { grid-template-columns: 5.5em 1fr; font-size: 14.5px; gap: 8px 12px; }
.sm-report { grid-column: 1 / -1; border-top: 1px solid var(--sm-line); padding-top: 18px; }
.sm-report h4 { font-size: 16px; font-weight: bold; color: var(--sm-navy); margin: 0 0 10px; padding: 0; background: none; border: 0; }
.sm-report h4 + .sm-msg { margin-bottom: 14px; }
.sm-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 20px; }
.sm-photos figure { margin: 0; }
.sm-photos img { width: 100%; border-radius: 4px; }
.sm-photos figcaption { font-size: 12.5px; color: var(--sm-sub); margin-top: 4px; line-height: 1.5; }
.sm-photos p { margin: 0; }
.sm-voices { background: var(--sm-navy-soft); border-radius: 10px; padding: 14px 18px; }
.sm-voices li { position: relative; padding-left: 1.4em; margin: 4px 0; }
.sm-voices li::before { content: "“"; position: absolute; left: 0; top: -4px; font-size: 22px; color: var(--sm-navy); font-family: Georgia, serif; }

/* 画像の拡大 */
.sm-zoom { position: fixed; inset: 0; z-index: 100000; background: rgba(0, 0, 0, .85); display: flex; align-items: center; justify-content: center; padding: 16px; cursor: zoom-out; }
.sm-zoom[hidden] { display: none !important; }
.sm-zoom img { max-height: calc(100vh - 32px); width: auto; background: #fff; }

@media screen and (max-width: 1023px) {
  .sm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media screen and (max-width: 767px) {
  .sm-up { grid-template-columns: 1fr; }
  .sm-up-body { padding: 16px 18px; }
  .sm .sm-up-name { font-size: 18px; }
  .sm-up-when .d { font-size: 19px; }
  .sm a.sm-btn-apply { align-self: stretch; }
  .sm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .sm-dg-body { grid-template-columns: 1fr; gap: 18px; }
  .sm-flyers { max-width: 260px; width: 100%; margin: 0 auto; }
  .sm-info .sm-dl, .sm-dl { grid-template-columns: 1fr; gap: 0; }
  .sm-dl dt { margin-top: 8px; font-size: 12.5px; }
}
