@charset "UTF-8";

/* ============================================================
   articles-published パーシャル用スタイル
   common/partials/articles-published.html とセットで使う
   ※ このパーシャルを読み込むページで <link> してください
   ============================================================ */

/* ---------- 依存トークン ----------
   top.css の :root から、このパーシャルが参照する変数のみを再掲。
   top.css を読み込むページでは重複定義になるが、同値なので影響なし。 */
:root {
  --text-primary: #1e1e1e;
  --text-secondary: #808080;
  --text-tertiary: #9d9d9d;
  --text-accent: #961414;
  --border-primary: #dadada;

  --font-serif: "Zen Old Mincho", serif;
  --font-sans: "Zen Kaku Gothic New", sans-serif;
  --font-en: "Inter", sans-serif;

  --radius-s: 4px;
}

/* ---- 記事一覧 ---- */
.articles {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-primary);
}
.articles figure {
  margin: 0;
}
.article {
  position: relative;
  border-bottom: 1px solid var(--border-primary);
}
.article__num {
  position: absolute;
  top: 20px; left: 8px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--text-accent);
  text-decoration: underline;
  text-underline-offset: 0.4em;
  z-index: 1;
}
/* 記事(01-03) */
.article__body {
  display: flex;
  align-items: center;
  gap: 49px;
  padding: 48px 40px 48px 56px;
  position: relative;
}
.article__thumb { flex: 0 1 282px; width: 282px; min-width: 150px; aspect-ratio: 282 / 188; border-radius: var(--radius-s); overflow: hidden; }
.article__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.article__body:hover .article__thumb img { transform: scale(1.05); }
.article__more {
  position: absolute;
  top: 24px; right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 0.6875rem;
  color: var(--text-primary);
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.article__body:hover .article__more { transform: translateX(8px); }
@media (prefers-reduced-motion: reduce) {
  .article__thumb img { transition: none; }
  .article__body:hover .article__thumb img { transform: none; }
  .article__more { transition: none; }
  .article__body:hover .article__more { transform: none; }
  .article--parts .article__part:hover .article__more { transform: none; }
}
.article__main { flex: 1 1 auto; display: flex; flex-direction: column; gap: 33px; min-width: 0; }
.article__date { font-family: var(--font-en); font-weight: 500; font-size: 0.75rem; color: var(--text-accent); }
.article__detail { display: flex; gap: 50px; align-items: center;max-width: 613px;}
.article__title {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.7;
  letter-spacing: .8px;
  color: var(--text-primary);
  max-width: 314px;
}
.speaker { flex: 0 1 314px; width: 314px; min-width: 0; padding-left: 21px; border-left: 1px solid var(--border-primary); }
.speaker__name { font-weight: 500; font-size: 0.9375rem; margin-bottom: 32px; }
.speaker__hon { font-size: 0.8125rem; }
.speaker__org { font-size: 0.8125rem; line-height: 1.7; margin-bottom: 3px; }
.speaker__addr { font-size: 0.8125rem; line-height: 1.7; color: var(--text-secondary); }
.speaker__credit { font-size: 0.8125rem; line-height: 1.7; margin-top:1em; color: var(--text-secondary); }
.article__more .arrow {
  display: inline-block;
  flex: none;
  background: currentColor;
  width: 8px;
  height: 6px;
  color: var(--text-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6' fill='none'%3E%3Cpath d='M5.912 2.42811C5.30857 1.98778 4.55429 1.23293 4.03886 0.515817L4.95657 0C5.81143 1.10712 6.85714 2.42811 8 3.00003C6.85714 3.57189 5.81143 4.89288 4.95657 6L4.03886 5.48418C4.55429 4.76707 5.30857 4.01222 5.912 3.57189L0 3.57189L0 2.42811L5.912 2.42811Z' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6' fill='none'%3E%3Cpath d='M5.912 2.42811C5.30857 1.98778 4.55429 1.23293 4.03886 0.515817L4.95657 0C5.81143 1.10712 6.85714 2.42811 8 3.00003C6.85714 3.57189 5.81143 4.89288 4.95657 6L4.03886 5.48418C4.55429 4.76707 5.30857 4.01222 5.912 3.57189L0 3.57189L0 2.42811L5.912 2.42811Z' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* 前編・後編（画像は共有、本文は2段） */
.article--parts .article__body {
  align-items: flex-start;
}
.article--parts .article__parts {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-width: 0;
}
.article__part {
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
}
.article--parts .article__more {
  top: 0;
  right: -20px;
}
.article--parts .article__body:hover .article__more {
  transform: none;
}
.article--parts .article__part:hover .article__more {
  transform: translateX(8px);
}

/* coming soon (04-07) */
.article--soon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 24px 28px 80px;
}
.article--soon .article__num { position: static; top: auto; left: auto; }
.article__soon-body { display: flex; align-items: center; gap: 48px; }
.article--soon .speaker__name { width: 100px; margin-bottom: 0; }
.article__soon-org { width: 264px; }
.article__soon-label { font-family: var(--font-en); font-weight: 500; font-size: 0.75rem; color: var(--text-tertiary); }
.article--soon { position: relative; }
.article--soon .article__num { position: absolute; left: 8px; top: 16px; }

/* ---------- SP (max-width: 1023px) ---------- */
@media (max-width: 1023px) {
  .article__num {
    left: 0;
    top: 11px;
    font-size: 0.6875rem;
    text-decoration: none;
  }

  .articles .article__body {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;

    padding: 32px 0 32px clamp(20px, 16.53vw, 62px);
  }
  .article__thumb {
    flex: none;
    width: 100%;
    max-width: 270px;
    min-width: 0;
    align-self: stretch;
    margin-bottom: 8px;
    overflow: hidden;
  }
  .article__thumb img {
    position: static;
    display: block;
    width: 100%;
    aspect-ratio: 277 / 184;
    height: auto;
    object-fit: cover;
  }
  .article__main {
    width: 100%;
    max-width: 270px;
    gap: 12px;
  }
  .article__date { font-size: 0.6875rem; }
  .article__detail {
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
    max-width: none;
  }
  .article__title {
    font-size: 1.0625rem;
    line-height: 1.6;
    letter-spacing: 0;
    max-width: none;
  }
  .speaker {
    display: flex;
    flex-direction: column;
    flex: none;
    width: 100%;
    min-width: 0;
    border-left: 1px solid var(--border-primary);
    padding-left: 16px;
  }
  .speaker__name {
    margin: 0 0 10px;
    font-size: 0.875rem;
    line-height: 1.7;
  }
  .speaker__hon { font-size: 0.75rem; }
  .speaker__org {
    margin: 0 0 2px;
    font-size: 0.75rem;
    line-height: 1.7;
    font-weight: 500;
  }
  .speaker__addr {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.7;
    font-weight: 500;
  }
  .article__more {
    position: static;
    align-self: flex-end;
    margin-top: 0;
    gap: 8px;
    font-size: 0.625rem;
  }
  .article--parts .article__parts {
    width: 100%;
    max-width: none;
    gap: 0;
  }
  .article--parts .article__part {
    gap: 24px;
    width: 100%;
  }
  .article--parts .article__part + .article__part {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-primary);
  }
  .article--parts .article__more {
    position: static;
    align-self: flex-end;
    margin-left: auto;
    right: auto;
  }
  .articles .article--soon {
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 0 32px clamp(20px, 15.47vw, 58px);
  }
  .article--soon .article__num {
    left: 0;
    top: 12px;
  }
  .article__soon-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
  }
  .article--soon .speaker__name {
    width: auto;
    margin-bottom: 0;
    font-size: 0.875rem;
  }
  .article__soon-org {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .article__soon-org .speaker__org,
  .article__soon-org .speaker__addr {
    font-size: 0.75rem;
  }
  .article__soon-label {
    flex-shrink: 0;
    margin-left: 0;
    font-size: 0.6875rem;
  }
}

