/* ブログ区画(blog/ 配下)の共通スタイル。本体サイトの案C「スライド型」と同じトーンに揃えている。
   白と黒だけ。差し色は紺 #1E3A8A を kicker・リンク・下線にだけ使う(約5%)。
   角丸・影・ぼかし・グラデーション・左右の飾り線・黒背景の面は使わない */
:root {
  --ink: #111111;      /* 要点・見出し */
  --body: #444444;     /* 地の文 */
  --sub: #555555;      /* 補足(これより薄い文字色は使わない) */
  --tone: #f4f4f4;     /* 薄い面 */
  --rule: #dcdcdc;     /* 薄い罫線 */
  --accent: #1E3A8A;   /* 差し色(紺・ただ1色) */
  --paper: #ffffff;
  --gutter: 24px;
  --hdr: 56px;
  --article-width: 680px;
  --jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --en: -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--hdr);
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--jp);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

/* 改行は言葉のまとまりの切れ目で(非対応ブラウザは通常の折り返し) */
h1,
h2,
h3,
p,
li {
  word-break: normal;
  line-break: strict;
}

@supports (word-break: auto-phrase) {
  h1,
  h2,
  h3,
  p,
  li {
    word-break: auto-phrase;
  }
}

h1,
h2,
h3 {
  text-wrap: balance;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 本文の列は、ヘッダーのブランド名と同じ左端にそろえる(中身の幅だけを絞る) */
.narrow > *,
.article > * {
  max-width: 860px;
}

/* ===== ヘッダー(blog/index.html のみ) ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--hdr);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.nav-inner {
  display: flex;
  height: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-decoration: none;
}

.brand span {
  color: var(--sub);
  font-family: var(--en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.nav-links {
  display: none;
}

.nav-links.is-open {
  position: fixed;
  top: var(--hdr);
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) 12px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.nav-links a {
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  font-family: var(--en);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.nav-links a:first-child {
  border-top: 0;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: flex;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== 本文エリア ===== */
.blog-main {
  flex: 1;
  padding: calc(var(--hdr) + 40px) 0 72px;
}

/* 鍵の内側のページ(ヘッダー無し)は、上の余白を72pxにする */
.blog-main.no-header {
  padding-top: 72px;
}

/* 見出しまわり: 見出しの上の黒3px線は1本だけ */
.hd,
.preview-header {
  padding-top: 14px;
  border-top: 3px solid var(--ink);
}

.eyebrow {
  display: block;
  color: var(--accent);
  font-family: var(--en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.6;
}

.page-title {
  margin-top: 2px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.page-lead {
  max-width: 680px;
  margin-top: 28px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.95;
}

.preview-note {
  max-width: 680px;
  margin-top: 20px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.8;
}

/* ===== ボタン・リンク ===== */
.button {
  display: inline-block;
  max-width: 100%;
  margin-top: 24px;
  padding: 16px 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
}

.back-link {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 40px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.back-links {
  display: flex;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.back-links .back-link {
  margin-top: 0;
}

/* ===== Coming Soon: 関係者の方へ(薄灰の面) ===== */
.relation-box {
  margin-top: 48px;
  padding: 28px 20px;
  background: var(--tone);
}

.relation-box h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.relation-box p {
  max-width: 620px;
  margin-top: 10px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.8;
}

.relation-box .button {
  margin-top: 20px;
}

/* ===== 記事一覧 ===== */
.post-list {
  margin-top: 40px;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.post-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.post-list time {
  color: var(--body);
  font-family: var(--en);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

.post-list h2 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

.post-list h2 a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.post-list p {
  color: var(--body);
  font-size: 15px;
  line-height: 1.8;
}

.post-list .empty-message {
  display: block;
  color: var(--body);
  font-size: 15px;
}

/* ===== 記事 ===== */
.article-meta {
  margin-top: 16px;
  color: var(--body);
  font-family: var(--en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.article-lead,
.article-body,
.article-nav,
.article > .back-link {
  max-width: var(--article-width);
}

.article-lead {
  margin-top: 32px;
  padding: 22px 20px;
  background: var(--tone);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
}

.article-body {
  margin-top: 48px;
}

.article-body h2 {
  margin: 48px 0 18px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
}

.article-body > p:first-child {
  margin-top: 0;
}

.article-body p,
.article-body li {
  color: var(--body);
  font-size: 16px;
  line-height: 1.9;
}

.article-body p + p {
  margin-top: 20px;
}

.article-body ul {
  margin: 20px 0;
  padding-left: 1.4em;
}

.article-body ul li::marker {
  color: var(--ink);
}

/* 動画の枠: 四辺1pxの黒い真四角 */
.video-box {
  margin-top: 56px;
  padding: 22px 20px;
  border: 1px solid var(--ink);
}

.article-body .video-box h2 {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  font-size: 18px;
}

.video-box a,
.article-note a {
  color: var(--accent);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.video-box a {
  font-size: 15px;
}

.article-body .article-note {
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--tone);
  color: var(--body);
  font-size: 14px;
  line-height: 1.8;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.article-nav a {
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}

.article-nav a:last-child {
  text-align: right;
}

/* ===== フッター(白地・上に細い黒線) ===== */
.site-footer {
  padding: 24px 0 18px;
  border-top: 1px solid var(--ink);
  background: var(--paper);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-brand {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

.footer-brand span {
  display: block;
  color: var(--body);
  font-size: 14px;
  font-weight: 500;
}

.sns-links {
  display: flex;
  gap: 12px;
}

.sns-links a {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.sns-links a:hover,
.sns-links a:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.sns-links svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.7;
}

.copyright {
  margin-top: 18px;
  color: var(--sub);
  font-size: 12px;
  line-height: 1.6;
}

/* ===== ふわっと出る(動きを減らす設定では止める) ===== */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== パソコン幅(921px以上) ===== */
@media (min-width: 921px) {
  :root {
    --gutter: 56px;
    --hdr: 64px;
  }

  body {
    font-size: 16px;
  }

  .brand {
    font-size: 18px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 26px;
    padding: 0;
    border: 0;
    background: none;
  }

  .nav-links a {
    padding: 6px 0;
    border-top: 0;
    font-size: 13px;
  }

  .nav-links a:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
  }

  .blog-main {
    padding: calc(var(--hdr) + 64px) 0 96px;
  }

  .blog-main.no-header {
    padding-top: 72px;
  }

  .hd,
  .preview-header {
    padding-top: 16px;
  }

  .eyebrow {
    letter-spacing: 0.2em;
  }

  .page-title {
    font-size: 44px;
    line-height: 1.4;
  }

  .page-lead {
    margin-top: 36px;
    font-size: 17px;
  }

  .preview-note {
    font-size: 16px;
  }

  .relation-box {
    margin-top: 64px;
    padding: 36px 40px;
  }

  .relation-box h2 {
    font-size: 22px;
  }

  .relation-box p {
    font-size: 16px;
  }

  .post-list {
    margin-top: 48px;
  }

  .post-list li {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 6px 28px;
    padding: 28px 0;
  }

  .post-list time {
    padding-top: 2px;
    font-size: 17px;
  }

  .post-list h2 {
    font-size: 20px;
  }

  .post-list p {
    grid-column: 2;
    font-size: 16px;
  }

  .article-meta {
    font-size: 15px;
  }

  .article-lead {
    margin-top: 40px;
    padding: 28px 32px;
    font-size: 17px;
  }

  .article-body {
    margin-top: 56px;
  }

  .article-body h2 {
    margin: 56px 0 20px;
    font-size: 24px;
  }

  .article-body p,
  .article-body li {
    font-size: 17px;
  }

  .video-box {
    padding: 28px 32px;
  }

  .article-body .video-box h2 {
    font-size: 18px;
  }

  .video-box a {
    font-size: 16px;
  }

  .site-footer {
    padding: 28px 0 20px;
  }

  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .footer-brand {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .article-nav {
    grid-template-columns: 1fr;
  }

  .article-nav a:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-toggle span {
    transition: none;
  }
}

/* タレントボックスのロゴ(ヘッダー) */
.brand { flex-direction: row; align-items: center; gap: 10px; }
.brand-mark { display: block; width: 28px; height: 28px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.35; }

/* 文章の強弱 */
.em { font-weight: 700; color: #111111; }
.ul { font-weight: 700; color: #1E3A8A; text-decoration: underline; text-decoration-color: #1E3A8A; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.mk { font-weight: 700; color: #111111; background: linear-gradient(transparent 58%, #fff1a8 58%); padding: 0 2px; }
