@charset "UTF-8";
/* =========================================================
   sampo grafiikka：「デザイン現場の話」一覧（sg-column）
   この一覧ページだけで読み込まれる
========================================================= */

.sg-column {
  --sg-navy: #1f2d5a;
  --sg-orange: #c8702f;
  --sg-orange-pale: #fbe0c6;
  --sg-text: #333;
  --sg-sub: #6b6f7a;
  --sg-list-width: 1080px;
  --sg-pad: 24px;
  color: var(--sg-text);
  padding-bottom: 96px;
}

body.sg-column-list-page { overflow-x: clip; }

.sg-column a { text-decoration: none; }

/* テーマの見出し装飾を打ち消す */
.sg-column h1,
.sg-column h2,
.sg-column h3 {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.sg-column h1::before, .sg-column h1::after,
.sg-column h2::before, .sg-column h2::after,
.sg-column h3::before, .sg-column h3::after { content: none; }

/* 幅をそろえる */
.sg-column-breadcrumb,
.sg-column-head,
.sg-column-filter,
.sg-column-list {
  max-width: var(--sg-list-width);
  margin-inline: auto;
  padding-inline: var(--sg-pad);
  box-sizing: border-box;
}

/* ① ヘッダー画像（画面の端から端まで） */
.sg-column-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  line-height: 0;
}
.sg-column-hero picture,
.sg-column-hero img {
  display: block;
  width: 100%;
  height: auto;
}

/* ② パンくずリスト */
.sg-column .sg-column-breadcrumb {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-top: 24px;
  font-size: 12px;
  color: var(--sg-sub);
}
.sg-column .sg-column-breadcrumb > * { width: auto; }
.sg-column-breadcrumb a { color: var(--sg-navy); }
.sg-column-breadcrumb a:hover { color: var(--sg-orange); }


/* ③ 見出し */
.sg-column-head {
  padding-top: 40px;
  padding-bottom: 8px;
}
.sg-column .sg-column-head__title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.12em;
  color: var(--sg-navy);
}
.sg-column-head__en {
  margin: 6px 0 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: 15px;
  letter-spacing: 0.24em;
  color: var(--sg-orange);
}
.sg-column-head__lead {
  margin: 20px 0 0;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.9;
}

/* ④ カテゴリ絞り込み */
.sg-column .sg-column-filter {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 28px;
}
.sg-column .sg-column-filter__link {
  position: relative;
  z-index: 0;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: auto;
  padding: 7px 18px;
  border: 1px solid var(--sg-navy);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  line-height: 1.4;
  color: var(--sg-navy);
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
/* 選択中のカテゴリー：紺色 */
.sg-column .sg-column-filter__link.is-active {
  background: var(--sg-navy);
  color: #fff;
}
/* ホバー：紺色＋少し浮く */
.sg-column .sg-column-filter__link:hover {
  background: var(--sg-navy);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(31, 45, 90, 0.18);
}

/* ⑤ 記事一覧 */
.sg-column-list { padding-top: 48px; }
.sg-column .sg-column-list__title {
  margin-bottom: 28px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sg-navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--sg-navy);
}

.sg-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}

/* カード */
.sg-column-card__link {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  padding: 12px 12px 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(31, 45, 90, 0.08);
  color: var(--sg-text);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sg-column-card__link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(31, 45, 90, 0.14);
}

.sg-column-card__thumb {
  overflow: hidden;
  border-radius: 6px;
  background: #e9e7e1;
}
.sg-column-card__thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--sg-eyecatch-ratio, 21 / 9);
  object-fit: cover;
  object-position: var(--sg-eyecatch-pos, 50% 0%);
  transition: transform 0.5s ease;
}
.sg-column-card__link:hover .sg-column-card__thumb img { transform: scale(1.04); }

.sg-column-card__noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 21 / 9;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--sg-sub);
}

.sg-column-card__body { padding: 14px 4px 0; }

.sg-column .sg-column-card__meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--sg-sub);
  }
  .sg-column .sg-column-card__cat {
    flex: 0 0 auto;
    width: auto;
    padding: 2px 8px;
    border-radius: 3px;
    background: var(--sg-orange-pale);
    font-size: 11px;
    color: #8a4718;
  }
  

.sg-column .sg-column-card__title {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: #222;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.sg-column-card__link:hover .sg-column-card__title { color: var(--sg-navy); }

.sg-column-empty { font-size: 15px; }

/* ページ送り */
.sg-column .navigation.pagination { margin-top: 48px; }
.sg-column .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.sg-column .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--sg-navy);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  color: var(--sg-navy);
  box-sizing: border-box;
}
.sg-column .page-numbers.current,
.sg-column a.page-numbers:hover {
  background: var(--sg-navy);
  color: #fff;
}

/* ふわっと表示（対応ブラウザだけ。動きを減らす設定の人には出さない） */
@keyframes sg-fade-up {
  from { opacity: 0; translate: 0 24px; }
  to   { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .sg-column-head { animation: sg-fade-up 0.8s ease both; }
  @supports (animation-timeline: view()) {
    .sg-column-card {
      animation: sg-fade-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}

/* タブレット：2列 */
@media (max-width: 960px) {
  .sg-column-grid { grid-template-columns: repeat(2, 1fr); }
}

/* スマホ：781px以下 */
@media (max-width: 781px) {
  .sg-column {
    --sg-pad: var(--sg-sp-pad, 12px);
    padding-bottom: 64px;
  }
  .sg-column-head { padding-top: 28px; }
  .sg-column .sg-column-head__title { font-size: 28px; letter-spacing: 0.08em; }
  .sg-column-head__en { font-size: 13px; }
  .sg-column-head__lead { font-size: 14px; }
  .sg-column-list { padding-top: 36px; }
  .sg-column .sg-column-list__title { font-size: 18px; }
}

/* 小さいスマホ：1列 */
@media (max-width: 600px) {
  .sg-column-grid { grid-template-columns: 1fr; gap: 20px; }
}


