/* =============================================================
   動画編集PCラボ - article.css
   記事ページ専用スタイル(1カラム・本文中央寄せ)
   ============================================================= */

/* -------------------- 1カラム用コンテナ -------------------- */
.container--narrow {
  max-width: 760px;
}

/* -------------------- パンくずリスト -------------------- */
.breadcrumb {
  padding: 110px 0 0;
  background: var(--c-bg);
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--c-ink-mute);
  padding: 18px 0;
}
.breadcrumb__list li {
  display: flex;
  align-items: center;
}
.breadcrumb__list li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--c-line);
}
.breadcrumb__list a {
  color: var(--c-ink-soft);
  transition: color .2s var(--ease);
}
.breadcrumb__list a:hover {
  color: var(--c-purple);
}
.breadcrumb__list li[aria-current="page"] {
  color: var(--c-ink);
  font-weight: 500;
}

/* -------------------- 記事ヘッダー -------------------- */
.article {
  background: var(--c-bg);
  padding-bottom: 80px;
}
.article__head {
  padding: 40px 0 50px;
  text-align: left;
}
.article__cat {
  display: inline-block;
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-purple);
  padding: 5px 12px;
  background: var(--c-purple-soft);
  border-radius: 3px;
  margin-bottom: 24px;
}
.article__title {
  font-family: var(--f-display);
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .02em;
  color: var(--c-ink);
  margin-bottom: 36px;
}

/* 記事メタ情報 */
.article__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  flex-wrap: wrap;
}
.article__meta-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.article__meta-author img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--c-bg-alt);
}
.article__meta-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.4;
}
.article__meta-role {
  font-size: 11px;
  color: var(--c-ink-mute);
  line-height: 1.4;
  margin-top: 2px;
}
.article__meta-info {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--f-en);
  font-size: 12px;
  color: var(--c-ink-mute);
  letter-spacing: .05em;
}
.article__meta-info time {
  font-weight: 600;
}
.article__meta-read::before {
  content: "•";
  margin-right: 16px;
  color: var(--c-line);
}

/* -------------------- アイキャッチ画像 -------------------- */
.article__eyecatch {
  margin: 0 auto 60px;
  max-width: 1000px;
  padding: 0 32px;
}
.article__eyecatch-inner {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.article__eyecatch-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.article__eyecatch-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--c-navy-deep), var(--c-navy), var(--c-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  font-family: var(--f-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
}
@media (max-width: 768px) {
  .article__eyecatch { padding: 0 20px; margin-bottom: 40px; }
  .article__eyecatch-inner { border-radius: 10px; }
}

/* -------------------- 記事本文 -------------------- */
.article__body {
  font-size: 16px;
  line-height: 2;
  color: var(--c-ink);
}
.article__body > * + * {
  margin-top: 24px;
}
@media (max-width: 768px) {
  .article__body { font-size: 15px; }
}

/* 本文 段落 */
.article__body p {
  line-height: 2;
  color: var(--c-ink);
}

/* リード文 */
.lead {
  font-size: 17px !important;
  line-height: 2 !important;
  color: var(--c-ink-soft) !important;
  padding: 24px 28px;
  background: var(--c-bg-alt);
  border-left: 3px solid var(--c-purple);
  border-radius: 0 8px 8px 0;
  font-weight: 500;
}
@media (max-width: 768px) {
  .lead { font-size: 15px !important; padding: 20px 22px; }
}

/* 「この記事はこんな人向け」ボックス */
.target-box {
  background: linear-gradient(135deg, var(--c-purple-soft) 0%, #F4F2FF 100%);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 36px 0 !important;
}
.target-box__label {
  display: inline-block;
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-purple-deep);
  margin-bottom: 16px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, .7);
  border-radius: 3px;
}
.target-box__list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--c-ink);
}
.target-box__list li:last-child { margin-bottom: 0; }
.target-box__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 14px; height: 14px;
  background: var(--c-purple);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--c-purple-soft);
}
.target-box__list li::after {
  content: "";
  position: absolute;
  left: 4px; top: 15px;
  width: 6px; height: 3px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
}
@media (max-width: 768px) {
  .target-box { padding: 22px 22px; }
  .target-box__list li { font-size: 14px; padding-left: 22px; }
}

/* -------------------- 目次 -------------------- */
.toc {
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 40px 0 !important;
}
.toc__title {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-line-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.toc__title::before {
  content: "";
  width: 4px; height: 18px;
  background: var(--c-purple);
  border-radius: 2px;
}
.toc__list {
  counter-reset: toc;
  list-style: none;
  padding: 0;
}
.toc__list > li {
  counter-increment: toc;
  position: relative;
  padding-left: 36px;
  margin-bottom: 10px;
}
.toc__list > li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0; top: 2px;
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 700;
  color: var(--c-purple);
  letter-spacing: .05em;
}
.toc__list a {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-ink-soft);
  transition: color .2s var(--ease);
}
.toc__list a:hover {
  color: var(--c-purple);
}
/* 目次のH3（入れ子） */
.toc__sublist {
  list-style: none;
  padding: 0;
  margin-top: 8px;
  margin-bottom: 4px;
}
.toc__sublist li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}
.toc__sublist li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 10px; height: 1px;
  background: var(--c-line);
}
.toc__sublist a {
  font-size: 13px;
  color: var(--c-ink-mute);
}
@media (max-width: 768px) {
  .toc { padding: 20px 20px; }
}

/* -------------------- 本文 見出し -------------------- */
.article__body h2 {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .02em;
  color: var(--c-ink);
  margin-top: 72px !important;
  margin-bottom: 24px;
  padding-left: 20px;
  position: relative;
  scroll-margin-top: 100px;
}
.article__body h2::before {
  content: "";
  position: absolute;
  left: 0; top: .35em;
  bottom: .3em;
  width: 5px;
  background: linear-gradient(180deg, var(--c-purple) 0%, var(--c-purple-deep) 100%);
  border-radius: 3px;
}
.article__body h2:first-child { margin-top: 0 !important; }

.article__body h3 {
  font-family: var(--f-display);
  font-size: clamp(18px, 2.1vw, 22px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-ink);
  margin-top: 48px !important;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--c-line);
  scroll-margin-top: 100px;
}

.article__body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-ink);
  margin-top: 32px !important;
  margin-bottom: 16px;
}

/* -------------------- 本文 箇条書き -------------------- */
.article-list {
  padding-left: 0;
  list-style: none;
}
.article-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  line-height: 1.95;
}
.article-list li::before {
  content: "";
  position: absolute;
  left: 6px; top: 14px;
  width: 8px; height: 8px;
  background: var(--c-purple);
  border-radius: 50%;
}
.article-list--ordered {
  counter-reset: list;
}
.article-list--ordered li {
  counter-increment: list;
  padding-left: 36px;
}
.article-list--ordered li::before {
  content: counter(list);
  background: transparent;
  width: auto; height: auto;
  left: 0; top: 0;
  font-family: var(--f-en);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--c-purple);
  border-radius: 50%;
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 8px;
  line-height: 1;
}

/* マーカー */
.article__body mark {
  background: linear-gradient(transparent 60%, rgba(123, 97, 255, .25) 60%);
  color: var(--c-ink);
  padding: 0 2px;
}
.article__body strong {
  font-weight: 700;
  color: var(--c-ink);
}

/* -------------------- カラーアウト(POINT/NOTE) -------------------- */
.callout {
  padding: 22px 26px;
  border-radius: 10px;
  position: relative;
  margin: 36px 0 !important;
  border: 1px solid var(--c-line);
  background: var(--c-bg-card);
}
.callout__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 3px;
}
.callout__body {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--c-ink);
  margin: 0;
}
.callout--point {
  background: linear-gradient(135deg, #F0FBF8 0%, #E8F8F4 100%);
  border-color: rgba(0, 194, 168, .25);
}
.callout--point .callout__label {
  color: #007A6B;
  background: rgba(0, 194, 168, .15);
}
.callout--point .callout__label::before { content: "💡"; }
.callout--note {
  background: linear-gradient(135deg, #FFF8EE 0%, #FFF1DC 100%);
  border-color: rgba(255, 153, 0, .25);
}
.callout--note .callout__label {
  color: #8A5A00;
  background: rgba(255, 153, 0, .15);
}
.callout--note .callout__label::before { content: "⚠️"; }
@media (max-width: 768px) {
  .callout { padding: 18px 20px; }
  .callout__body { font-size: 14px; }
}

/* -------------------- 引用ブロック -------------------- */
.article-quote {
  padding: 28px 32px;
  background: var(--c-bg-alt);
  border-radius: 8px;
  position: relative;
  font-style: italic;
  margin: 36px 0 !important;
}
.article-quote::before {
  content: """;
  position: absolute;
  top: -6px; left: 18px;
  font-family: var(--f-display);
  font-size: 70px;
  line-height: 1;
  color: var(--c-purple);
  opacity: .35;
}
.article-quote p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--c-ink);
  margin-bottom: 12px;
  padding-left: 24px;
}
.article-quote cite {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--c-ink-mute);
  text-align: right;
  padding-left: 24px;
}

/* -------------------- 比較表 -------------------- */
.article-table-wrap {
  overflow-x: auto;
  margin: 36px 0 !important;
  -webkit-overflow-scrolling: touch;
}
.article-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  background: var(--c-bg-card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
}
.article-table thead {
  background: linear-gradient(135deg, var(--c-navy-deep) 0%, var(--c-navy) 100%);
  color: #fff;
}
.article-table th,
.article-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--c-line-soft);
}
.article-table thead th {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .03em;
  border-bottom: 0;
}
.article-table tbody th {
  background: var(--c-bg-alt);
  font-weight: 700;
  width: 25%;
  color: var(--c-ink);
}
.article-table tbody tr:last-child th,
.article-table tbody tr:last-child td {
  border-bottom: 0;
}
.article-table tbody tr:hover {
  background: rgba(123, 97, 255, .03);
}
@media (max-width: 768px) {
  .article-table { font-size: 13px; }
  .article-table th,
  .article-table td { padding: 12px 14px; }
}

/* -------------------- 画像 + キャプション -------------------- */
.article-figure {
  margin: 40px 0 !important;
}
.article-figure img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.article-figure__placeholder {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #eef1f6 0%, #f8f9fc 100%);
  border-radius: 10px;
  border: 1px dashed var(--c-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ink-mute);
  font-size: 13px;
}
.article-figure figcaption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--c-ink-mute);
  text-align: center;
  line-height: 1.7;
}

/* -------------------- YouTube埋め込み -------------------- */
.article-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 40px 0 !important;
  background: #000;
}
.article-video iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* -------------------- 記事内バナー広告 -------------------- */
.article-ad {
  margin: 48px 0 !important;
  text-align: center;
  padding: 16px;
  border: 1px solid var(--c-line-soft);
  border-radius: 8px;
  background: var(--c-bg-alt);
}
.article-ad__label {
  display: block;
  font-family: var(--f-en);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  margin-bottom: 8px;
}
.article-ad__slot {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ink-mute);
  font-size: 12px;
}

/* -------------------- アフィリンクボックス -------------------- */
.affiliate-box {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding: 28px;
  background: var(--c-bg-card);
  border: 2px solid var(--c-line);
  border-radius: 14px;
  margin: 40px 0 !important;
  position: relative;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.affiliate-box::before {
  content: "PR";
  position: absolute;
  top: -10px; left: 20px;
  font-family: var(--f-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  background: var(--c-purple);
  color: #fff;
  padding: 3px 10px;
  border-radius: 3px;
}
.affiliate-box:hover {
  border-color: var(--c-purple);
  box-shadow: 0 14px 36px rgba(123, 97, 255, .12);
}
.affiliate-box__img {
  aspect-ratio: 1 / 1;
  background: var(--c-bg-alt);
  border-radius: 10px;
  overflow: hidden;
}
.affiliate-box__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.affiliate-box__img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fc 0%, #eef1f6 100%);
  color: var(--c-ink-mute);
  font-size: 13px;
}
.affiliate-box__info {
  display: flex;
  flex-direction: column;
}
.affiliate-box__cat {
  font-family: var(--f-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--c-purple);
  margin-bottom: 6px;
}
.affiliate-box__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--c-ink);
  margin-bottom: 10px;
}
.affiliate-box__desc {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--c-ink-soft);
  margin-bottom: 14px;
}
.affiliate-box__spec {
  margin-bottom: 14px;
  padding: 12px 14px;
  background: var(--c-bg-alt);
  border-radius: 6px;
}
.affiliate-box__spec li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  padding: 3px 0;
  color: var(--c-ink);
  border-bottom: 1px dashed var(--c-line);
}
.affiliate-box__spec li:last-child { border-bottom: 0; }
.affiliate-box__spec li span {
  font-family: var(--f-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--c-ink-mute);
}
.affiliate-box__price {
  font-family: var(--f-en);
  font-size: 22px;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 4px;
  letter-spacing: -.01em;
}
.affiliate-box__price small {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--c-ink-mute);
  letter-spacing: .05em;
  margin-right: 6px;
}
.affiliate-box__price small:last-child { margin-right: 0; margin-left: 4px; }
.affiliate-box__note {
  font-size: 11px;
  color: var(--c-ink-mute);
  margin-bottom: 14px;
}
.affiliate-box__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.affiliate-box__btns .btn {
  margin-top: 0 !important;
}
@media (max-width: 600px) {
  .affiliate-box {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }
  .affiliate-box__img { max-width: 220px; margin: 0 auto; }
  .affiliate-box__title { font-size: 16px; }
}

/* -------------------- まとめボックス -------------------- */
.summary-box {
  background: linear-gradient(135deg, var(--c-navy-deep) 0%, var(--c-navy) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 36px 40px;
  margin: 56px 0 !important;
  position: relative;
  overflow: hidden;
}
.summary-box::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--c-purple) 0%, transparent 70%);
  opacity: .35;
  filter: blur(40px);
}
.summary-box__label {
  position: relative;
  display: inline-block;
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-purple);
  margin-bottom: 18px;
  padding: 5px 12px;
  background: rgba(123, 97, 255, .15);
  border-radius: 3px;
}
.summary-box__list {
  position: relative;
}
.summary-box__list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .92);
}
.summary-box__list li:last-child { margin-bottom: 0; }
.summary-box__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 18px; height: 2px;
  background: var(--c-purple);
}
@media (max-width: 768px) {
  .summary-box { padding: 28px 24px; }
  .summary-box__list li { font-size: 14px; padding-left: 26px; }
}

/* -------------------- SNSシェアボタン -------------------- */
.share {
  margin-top: 72px;
  padding: 28px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.share__label {
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  text-align: center;
  margin-bottom: 16px;
}
.share__list {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.share__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  background: var(--c-bg-card);
  color: var(--c-ink-soft);
  transition: all .25s var(--ease);
  cursor: pointer;
}
.share__btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.share__btn--x:hover { background: #000; color: #fff; border-color: #000; }
.share__btn--fb:hover { background: #1877F2; color: #fff; border-color: #1877F2; }
.share__btn--hb:hover { background: #00A4DE; color: #fff; border-color: #00A4DE; }
.share__btn--copy:hover { background: var(--c-purple); color: #fff; border-color: var(--c-purple); }
.share__btn.is-copied { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
@media (max-width: 600px) {
  .share__btn { padding: 10px 16px; font-size: 12px; }
  .share__btn span:not(#shareCopyText) { display: none; }
}

/* -------------------- 著者プロフィール -------------------- */
.author-card {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-line);
  border-radius: 14px;
}
.author-card__avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--c-bg-alt);
}
.author-card__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.author-card__label {
  font-family: var(--f-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-purple);
  margin-bottom: 6px;
}
.author-card__name {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 10px;
}
.author-card__desc {
  font-size: 13px;
  line-height: 1.85;
  color: var(--c-ink-soft);
  margin-bottom: 12px;
}
.author-card__link {
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-purple);
  transition: color .2s var(--ease);
}
.author-card__link:hover {
  color: var(--c-purple-deep);
}
@media (max-width: 600px) {
  .author-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px;
    gap: 18px;
  }
  .author-card__avatar { margin: 0 auto; width: 90px; height: 90px; }
}

/* -------------------- 関連記事 -------------------- */
.related {
  background: var(--c-bg-alt);
  padding: 100px 0;
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}
@media (max-width: 900px) {
  .related__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .related__grid { grid-template-columns: 1fr; }
  .related { padding: 70px 0; }
}

/* -------------------- インタースティシャル広告 -------------------- */
.interstitial {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.interstitial.is-active {
  display: flex;
  opacity: 1;
}
.interstitial__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 27, 61, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.interstitial__inner {
  position: relative;
  width: 100%;
  max-width: 620px;
  background: var(--c-bg-card);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: scale(.95);
  transition: transform .35s var(--ease);
}
.interstitial.is-active .interstitial__inner {
  transform: scale(1);
}
.interstitial__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--c-bg-alt);
  border-bottom: 1px solid var(--c-line);
}
.interstitial__label {
  font-family: var(--f-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
}
.interstitial__close {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-line-soft);
  color: var(--c-ink-mute);
  cursor: not-allowed;
  font-size: 18px;
  line-height: 1;
  transition: all .25s var(--ease);
}
.interstitial__close[disabled] .interstitial__close-icon { display: none; }
.interstitial__close:not([disabled]) {
  background: var(--c-ink);
  color: #fff;
  cursor: pointer;
}
.interstitial__close:not([disabled]):hover {
  transform: scale(1.1);
  background: var(--c-purple);
}
.interstitial__close:not([disabled]) .interstitial__countdown { display: none; }
.interstitial__countdown {
  font-family: var(--f-en);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-ink-soft);
}
.interstitial__slot {
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--c-bg-alt);
  text-align: center;
  color: var(--c-ink-mute);
  font-size: 13px;
  line-height: 1.8;
}

/* モバイル非表示(マニュアル指定) */
@media (max-width: 900px) {
  .interstitial { display: none !important; }
}

/* -------------------- スクロール時に出現する目次・シェアボタン用調整(モバイル) -------------------- */
@media (max-width: 768px) {
  .article__head { padding: 30px 0 35px; }
  .article__title { margin-bottom: 28px; }
  .article__body > * + * { margin-top: 22px; }
  .article__body h2 { margin-top: 56px !important; padding-left: 16px; }
  .article__body h3 { margin-top: 40px !important; }
  .toc { margin: 32px 0 !important; }
  .target-box { margin: 28px 0 !important; }
}
