/* 対談記事（会長座談会）の見せ方。.tsk-talk で包んだ記事だけ、右の列を消して一段で読ませる。 */

body:has(.tsk-talk) #side_col { display: none; }
body:has(.tsk-talk) #main_content { display: block; max-width: 1000px; margin-inline: auto; padding-inline: 24px; }
body:has(.tsk-talk) #single_post_header,
body:has(.tsk-talk) #main_col { width: 100%; max-width: none; float: none; }
body:has(.tsk-talk) #single_post_header_image,
body:has(.tsk-talk) .single_post_header_image { height: auto; aspect-ratio: 16 / 10; }

.tsk-talk { color: #1c2436; }
.tsk-talk > p,
.tsk-talk > h2,
.tsk-talk > .tsk-say,
.tsk-talk > .tsk-talk__lead,
.tsk-talk > .tsk-talk__date,
.tsk-talk > .tsk-talk__toc { max-width: 780px; margin-inline: auto; }

/* 導入と収録日 */
.tsk-talk > p:first-of-type strong { font-family: "Shippori Mincho B1", "Noto Serif JP", serif; font-size: clamp(21px, 2.5vw, 27px); font-weight: 700; line-height: 1.7; color: #092452; }
.tsk-talk__lead { margin-top: 36px; }
.tsk-talk__lead p { margin: 0 0 1.2em; font-size: 17px; line-height: 2.1; }
.tsk-talk__catch { font-family: "Shippori Mincho B1", "Noto Serif JP", serif; font-size: clamp(22px, 2.6vw, 28px) !important; font-weight: 700; line-height: 1.7 !important; color: #092452; }
.tsk-talk__date { margin-top: 28px; text-align: center; font-size: 14px; font-weight: 700; line-height: 1.9; }
.tsk-talk__date small { display: block; margin-top: 8px; font-size: 12px; font-weight: 400; color: #5a6270; }

/* 対談する二人 */
.tsk-talk__members { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); align-items: center; margin: 48px 0 56px; }
.tsk-talk__x { text-align: center; font-family: "Shippori Mincho B1", serif; font-size: 26px; color: #092452; }
.tsk-member { align-self: stretch; padding: 30px 26px 28px; border-radius: 14px; background: #fff; box-shadow: 0 6px 26px rgba(9, 36, 82, .1); text-align: center; }
.tsk-member img { display: block; width: 116px; height: 116px; margin: 0 auto 16px; border-radius: 50%; object-fit: cover; }
.tsk-member p { margin: 0; }
.tsk-member__name { font-family: "Shippori Mincho B1", "Noto Serif JP", serif; font-size: 23px; font-weight: 700; line-height: 1.5; color: #092452; }
.tsk-member__name span { display: block; font-family: "Noto Sans JP", sans-serif; font-size: 12px; font-weight: 400; color: #5a6270; }
.tsk-member__role { margin-top: 8px !important; padding-bottom: 14px; border-bottom: 1px solid #e1e5ec; font-size: 13px; line-height: 1.8; color: #39425a; }
.tsk-member__voice { margin-top: 14px !important; font-size: 14px; line-height: 1.95; text-align: left; }

/* 目次 */
.tsk-talk__toc { margin-top: 0; margin-bottom: 64px; padding: 24px 28px; border-radius: 14px; background: #f3f5f9; }
.tsk-talk__toc p { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: #092452; }
.tsk-talk__toc ol { margin: 0; padding: 0; list-style: none; counter-reset: tsk-toc; }
.tsk-talk__toc li { counter-increment: tsk-toc; position: relative; display: block !important; margin: 0 !important; padding: 5px 0 5px 2em !important; list-style: none !important; font-size: 15px; line-height: 1.7; }
.tsk-talk__toc li::before { content: none !important; }
.tsk-talk__toc li span { position: absolute; left: 0; top: 5px; width: 1.4em; text-align: right; font-weight: 700; color: #d60216; }
.tsk-talk__toc a { color: #1c2436 !important; text-decoration: none; }
.tsk-talk__toc a:hover { color: #d60216 !important; }

/* 話題の見出し */
.tsk-talk { counter-reset: tsk-theme; }
.tsk-talk > h2 { counter-increment: tsk-theme; display: block !important; position: relative; margin-top: 56px; margin-bottom: 36px; padding: 0; text-align: left; font-size: clamp(23px, 2.7vw, 29px); line-height: 1.6; color: #092452; scroll-margin-top: 90px; }
.tsk-talk > h2::before { content: "話題" counter(tsk-theme); position: static !important; display: block !important; width: auto !important; height: auto !important; margin: 0 0 6px; background: none !important; writing-mode: horizontal-tb; font-family: "Noto Sans JP", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .08em; line-height: 1.6; color: #d60216; }
.tsk-talk > h2::after { content: none !important; }
.tsk-talk > h2.tsk-talk__after { counter-increment: none; }
.tsk-talk > h2.tsk-talk__after::before { content: none; }

/* 発言 */
.tsk-say { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 0 24px; margin-top: 34px; margin-bottom: 34px; }
.tsk-say__who { margin: 0; text-align: center; }
.tsk-say__who img { display: block; width: 76px; height: 76px; margin: 0 auto 6px; border-radius: 50%; object-fit: cover; }
.tsk-say__who span { display: block; font-size: 11px; font-weight: 700; line-height: 1.4; color: #39425a; }
.tsk-say__text p { margin: 0 0 1em; font-size: 16px; line-height: 2; }
.tsk-say__text p:last-child { margin-bottom: 0; }
.tsk-say__text strong { font-weight: 700; color: #d60216; }

/* 写真 */
.tsk-photo { margin: 52px 0; }
.tsk-photo img { display: block; width: 100%; height: auto; border-radius: 6px; }
.tsk-photo figcaption,
.tsk-pair figcaption { margin-top: 10px; font-size: 13px; line-height: 1.8; color: #5a6270; }
.tsk-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 52px 0; }
.tsk-pair figure { margin: 0; }
.tsk-pair img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.tsk-pair figure:has(figcaption) img { height: auto; }
.tsk-pair--wide img { aspect-ratio: 4 / 3; }

/* 大きく見せる2ショット（対談以外の記事でも使う） */
.tsk-shot { margin: 40px 0; }
.tsk-shot img { display: block; width: 100%; height: auto; border-radius: 6px; }
.tsk-shot figcaption { margin-top: 10px; text-align: center; font-size: 14px; line-height: 1.8; color: #39425a; }
.tsk-shot figcaption strong { display: block; margin-bottom: 2px; font-family: "Shippori Mincho B1", "Noto Serif JP", serif; font-size: clamp(19px, 2.2vw, 23px); font-weight: 700; line-height: 1.5; color: #092452; }
.tsk-shot:has(figcaption strong) { margin: 48px 0 56px; }
.tsk-shot:has(figcaption strong) figcaption { margin-top: 14px; padding-bottom: 16px; border-bottom: 1px solid #e1e5ec; text-wrap: balance; word-break: auto-phrase; }

/* 記事のおわりのアルバム */
.tsk-album { margin-top: 72px; }
.tsk-album__title { margin: 0 0 8px !important; font-family: "Shippori Mincho B1", "Noto Serif JP", serif; font-size: clamp(23px, 2.7vw, 29px); font-weight: 700; line-height: 1.6; color: #092452; }
.tsk-album__note { margin: 0 0 24px !important; font-size: 15px; line-height: 1.9; }

.tsk-talk__links { max-width: 780px; margin: 56px auto 0; padding-top: 24px; border-top: 1px solid #e1e5ec; font-size: 15px; line-height: 2.1; }
.tsk-talk__links p { margin: 0; }

@media (max-width: 760px) {
  body:has(.tsk-talk) #main_content { padding-inline: 16px; }
  .tsk-talk__lead p { font-size: 16px; }
  .tsk-talk__members { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 36px 0 44px; }
  .tsk-talk__x { padding: 8px 0; }
  .tsk-member { padding: 26px 20px 24px; }
  .tsk-talk__toc { padding: 20px; margin-bottom: 48px; }
  .tsk-say { grid-template-columns: 56px minmax(0, 1fr); gap: 0 14px; margin-top: 28px; margin-bottom: 28px; }
  .tsk-say__who img { width: 56px; height: 56px; }
  .tsk-say__who span { font-size: 10px; }
  .tsk-photo, .tsk-pair { margin: 36px 0; }
  .tsk-pair { gap: 8px; }
  .tsk-shot { margin: 28px 0; }
}
