/* Shared knowhow article chrome: public/knowhowdetail.php */
/* Template base remains imgame-editorial-v1.css */

/* 公開サイトのヘッダー分だけ余白を調整（テンプレ本体は imgame-editorial-v1.css） */
.knowhow-editorial-host.imgame-editorial-v1-host {
  padding-top: 28px;
  padding-bottom: 64px;
}

.knowhow-editorial-empty {
  margin: 48px 0;
  color: #aaa;
  text-align: center;
}

/* 头图：无圆角、无红色底边；PC 最大幅 860px */
.column-article--editorial-v1 > .column-article__thumb {
  display: block;
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  border: 0;
  border-bottom: 0;
  border-radius: 0;
}

/* 目次下の画像：目次と同じ幅 */
.column-article--editorial-v1 > .column-article__thumb--below-toc {
  display: block;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.column-article--editorial-v1 > .column-article__date--below-toc {
  display: block;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: #eeeeee;
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
}

/* 目次と本文：左右ではなく上下（図二と同じ） */
.column-article--editorial-v1.has-column-toc {
  display: block;
}

.column-article--editorial-v1.has-column-toc > .column-toc--editorial-v1,
.column-article--editorial-v1.has-column-toc > .column-content--editorial-v1 {
  grid-column: auto;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  position: static;
  top: auto;
}

/* 正文：无白底卡片、无圆角 */
.column-content--editorial-v1 .news-article[data-imgame-template='imgame-editorial-v1'] {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

@media (min-width: 901px) {
  .column-article--editorial-v1.has-column-toc > .column-toc--editorial-v1,
  .column-article--editorial-v1.has-column-toc > .column-content--editorial-v1 {
    margin-top: 40px;
  }
}

@media (max-width: 600px) {
  .column-article--editorial-v1 > .column-article__thumb {
    border-radius: 0;
    border-bottom-width: 0;
  }

  .column-content--editorial-v1 .news-article[data-imgame-template='imgame-editorial-v1'] {
    padding: 0;
    border-radius: 0;
  }
}

/* 目次：后台预览 column.css 同款（金左边线 + 金色标题 + 白字） */
.column-toc--editorial-v1 {
  --column-toc-accent: #caa96b;
  margin: 40px auto 46px;
  padding: 24px 28px;
  border: 1px solid #4f4637;
  border-left: 4px solid var(--column-toc-accent);
  border-radius: 0;
  background: #151515;
  color: #fff;
  box-shadow: none;
}

.column-toc--editorial-v1 .column-toc__title {
  margin: 0 0 14px;
  padding-bottom: 0;
  border-bottom: 0;
  color: var(--column-toc-accent);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.column-toc--editorial-v1 ol,
.column-toc--editorial-v1 .column-toc__list {
  margin: 0;
  padding-left: 1.5em;
  list-style: decimal;
  list-style-position: outside;
  color: #fff;
}

.column-toc--editorial-v1 .column-toc__item {
  margin: 0.55em 0;
  line-height: 1.65;
  color: #fff;
}

.column-toc--editorial-v1 .column-toc__item::marker {
  color: #fff;
}

.column-toc--editorial-v1 .column-toc__item--level-3 {
  margin-left: 1.5em;
  padding-left: 0.15em;
  font-size: 0.94em;
  color: #eee;
}

.column-toc--editorial-v1 a {
  color: #eee;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.column-toc--editorial-v1 a:hover {
  color: #eee;
  text-decoration: underline;
  text-decoration-color: var(--column-toc-accent);
  text-underline-offset: 0.25em;
}

@media (max-width: 600px) {
  .column-toc--editorial-v1 {
    margin-top: 30px;
    margin-bottom: 36px;
    padding: 20px 18px;
  }

  .column-toc--editorial-v1 .column-toc__title {
    font-size: 18px;
  }

  .column-toc--editorial-v1 .column-toc__item--level-3 {
    margin-left: 1.1em;
  }
}

/* プロジェクト共通パンくず（News / Theme と同じ） */
.page-heading-accent {
  display: inline-block;
  width: 5px;
  height: 15px;
  background: #caa96b;
  flex-shrink: 0;
}

.list-heading {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.crumb-link {
  color: #ddd;
}

.crumb-link:hover {
  color: #d91760;
}

.crumb-sep {
  color: #999;
}

.crumb-current {
  color: #fff;
  font-weight: 600;
}

.breadcrumb-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb-row .page-heading-accent,
.breadcrumb-row .crumb-link,
.breadcrumb-row .crumb-sep,
.breadcrumb-row .list-heading {
  flex-shrink: 0;
}

/* editorial テンプレの薄い色を上書き */
.column-article--editorial-v1 > .column-breadcrumb.breadcrumb-row {
  color: inherit;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.column-article--editorial-v1 > .column-breadcrumb.breadcrumb-row a {
  color: inherit;
}

/* 表格提示：表の上に一文で表示（図2） */
.column-content--editorial-v1 .article-table-hint {
  display: block;
  margin: 0 0 1.4em;
  padding: 0;
  border: 0;
  background: transparent;
  color: #eee !important;
  font-size: 17px;
  font-weight: 400;
  line-height: 2;
}

.column-content--editorial-v1 .article-table-caption {
  display: none;
}

.column-content--editorial-v1 .article-table-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
  margin: 0.4em 0 0.4em;
  overflow-x: auto;
  border: 1px solid #555;
  border-radius: 0;
  background: #151515;
  -webkit-overflow-scrolling: touch;
}

.column-content--editorial-v1 .article-table-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* 表格：后台预览 column.css（深色 + 金色表头/首列） */
.column-content--editorial-v1 table,
.column-content--editorial-v1 .article-table-scroll table {
  display: table;
  width: 100%;
  min-width: 0;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: #151515;
  color: #eee;
  font-size: 0.92em;
  line-height: 1.65;
}

.column-content--editorial-v1 th,
.column-content--editorial-v1 td,
.column-content--editorial-v1 .article-table-scroll th,
.column-content--editorial-v1 .article-table-scroll td {
  min-width: 7rem;
  padding: 10px 12px;
  border: 1px solid #555;
  background: #151515;
  color: #eee;
  line-height: 1.65;
  text-align: left;
  vertical-align: top;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.column-content--editorial-v1 thead th,
.column-content--editorial-v1 .article-table-scroll thead th,
.column-content--editorial-v1 th,
.column-content--editorial-v1 .article-table-scroll th {
  background: #211e19;
  color: #f1d49c;
  font-weight: 700;
}

.column-content--editorial-v1 tbody th,
.column-content--editorial-v1 .article-table-scroll tbody th,
.column-content--editorial-v1 tbody td:first-child,
.column-content--editorial-v1 .article-table-scroll tbody td:first-child {
  background: #211e19;
  color: #f1d49c;
  font-weight: 700;
}

@media (max-width: 600px) {
  .column-content--editorial-v1 th,
  .column-content--editorial-v1 td,
  .column-content--editorial-v1 .article-table-scroll th,
  .column-content--editorial-v1 .article-table-scroll td {
    min-width: 6.5rem;
    padding: 9px 10px;
  }
}

/* 正文：字色白；金色装饰（对齐后台预览） */
.column-content--editorial-v1 {
  color: #eee;
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  line-height: 2;
}

.column-content--editorial-v1 .news-article,
.column-content--editorial-v1 .news-article h2,
.column-content--editorial-v1 .news-article h3,
.column-content--editorial-v1 .news-article h4,
.column-content--editorial-v1 .news-article p,
.column-content--editorial-v1 .news-article li,
.column-content--editorial-v1 .news-article .lead {
  color: #eee !important;
}

.column-content--editorial-v1 .news-article > h2,
.column-content--editorial-v1 .news-article h2 {
  margin: 2.5em 0 1em;
  padding: 0 0 10px 16px;
  border: 0 !important;
  border-left: 4px solid #caa96b !important;
  border-bottom: 1px solid #555 !important;
  color: #f4f4f4 !important;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.5;
}

.column-content--editorial-v1 .news-article > h3,
.column-content--editorial-v1 .news-article h3 {
  margin: 2em 0 0.8em;
  padding-left: 13px;
  border: 0 !important;
  border-left: 2px solid #796846 !important;
  color: #eeeeee !important;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
}

.column-content--editorial-v1 .news-article > p,
.column-content--editorial-v1 .news-article p {
  max-width: none;
  margin: 0 0 1.4em;
  color: #eee !important;
  font-size: 17px;
  line-height: 2;
}

.column-content--editorial-v1 .article-kicker,
.column-content--editorial-v1 .news-article .article-kicker {
  display: block;
  margin: 0 0 0.35em;
  padding: 0;
  border: 0;
  background: transparent;
  color: #eeeeee !important;
  font-family: inherit;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 2;
}

.column-content--editorial-v1 .lead,
.column-content--editorial-v1 .news-article .lead {
  max-width: none;
  margin: 0 0 1.4em;
  padding: 0 !important;
  border: 0 !important;
  border-left: 0 !important;
  background: transparent !important;
  color: #ddd !important;
  font-size: 17px;
  font-weight: 400;
  line-height: 2;
}

/* 导语下大标题目录（図1：オレンジ文字 + 下線、枠なし） */
.column-content--editorial-v1 .article-toc {
  margin: 1.6em 0 2.2em;
  padding: 22px 0 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #e5b789;
}

.column-content--editorial-v1 .article-toc-label {
  display: block;
  margin: 0 0 14px;
  color: #fff !important;
  font-size: 1em;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.column-content--editorial-v1 .article-toc ol {
  margin: 0;
  padding-left: 1.45em;
  list-style: decimal;
  color: #fff;
}

.column-content--editorial-v1 .article-toc li {
  margin: 0.55em 0;
  padding: 0;
  font-size: 17px;
  line-height: 1.65;
  color: #e5b789 !important;
}

.column-content--editorial-v1 .article-toc li::marker {
  color: #fff;
}

.column-content--editorial-v1 .article-toc-number {
  margin-right: 0.35em;
  color: #fff !important;
}

.column-content--editorial-v1 .article-toc a {
  color: #e5b789 !important;
  font-weight: 600;
  text-decoration: underline !important;
  text-decoration-color: #e5b789 !important;
  text-underline-offset: 0.2em;
}

.column-content--editorial-v1 .article-toc a:hover {
  color: #f0c9a0 !important;
}

.column-content--editorial-v1 a {
  color: #e1c48e !important;
}

.column-content--editorial-v1 blockquote {
  margin: 2em 0;
  padding: 18px 22px;
  border-left: 3px solid #caa96b;
  background: #151515;
  color: #eee !important;
}

.column-content--editorial-v1 details {
  margin: 1em 0;
  border: 1px solid #514735;
  border-radius: 0;
  background: #151515;
}

.column-content--editorial-v1 summary {
  color: #f3d59b !important;
}

/* FAQ：図2（无金框，仅左侧金线 + 白字） */
.column-content--editorial-v1 .article-faq-heading {
  margin: 2em 0 0.8em !important;
  padding: 0 0 0 13px !important;
  border: 0 !important;
  border-left: 2px solid #796846 !important;
  border-radius: 0;
  background: transparent !important;
  color: #f4f4f4 !important;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
}

.column-content--editorial-v1 .article-question {
  color: #f4f4f4 !important;
  margin-right: 0.25em;
}

.column-content--editorial-v1 .article-faq-answer {
  margin: 0 0 1.4em !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: #eee !important;
  font-size: 17px;
  line-height: 2;
}

/* チェックリスト：図1（白丸点 + 白チェック） */
.column-content--editorial-v1 .checklist {
  margin: 0 0 1.5em;
  padding: 0;
  border-top: 0;
  list-style: none;
}

.column-content--editorial-v1 .checklist > li {
  position: relative;
  margin: 0.5em 0;
  /* 15px：• を見出し「当」に揃え、1em：• 幅、15px：• と本文の間隔 */
  padding: 0.2em 0 0.2em calc(15px + 1em + 15px);
  border-bottom: 0;
  color: #eee !important;
  font-size: 17px;
  line-height: 1.75;
}

.column-content--editorial-v1 .checklist > li::before {
  content: '•';
  position: absolute;
  /* 見出し文字左端揃え：border-left 2px + padding-left 13px */
  left: 15px;
  top: 0.28em;
  color: #fff;
  font-size: 1.15em;
  line-height: 1;
}

.column-content--editorial-v1 .article-check {
  position: absolute !important;
  top: 0.38em !important;
  left: 0.95em !important;
  display: inline;
  color: #fff !important;
  font-size: 0.95em !important;
  font-weight: 900;
  line-height: 1;
}

/* 関連リンク：无枠、金色リンク（本文 a と同じ） */
.column-content--editorial-v1 .article-related {
  margin: 1.4em 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: #eee !important;
}

.column-content--editorial-v1 .article-related ul {
  margin: 0;
  padding-left: 1.45em;
  list-style: disc;
  list-style-position: outside;
}

.column-content--editorial-v1 .article-related li {
  margin: 0.42em 0;
  padding: 0;
  color: #eee !important;
  line-height: 1.8;
}

.column-content--editorial-v1 .article-related li::marker {
  color: #fff;
}

.column-content--editorial-v1 .article-related a {
  color: #e1c48e !important;
  font-size: 17px !important;
  font-weight: normal !important;
  text-decoration: underline !important;
  text-decoration-color: #e1c48e !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.column-content--editorial-v1 .article-footer {
  margin-top: 28px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: #eee;
}

.column-content--editorial-v1 .article-footer-label {
  display: block;
  margin-bottom: 0.35em;
  color: #fff !important;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 2;
}

.column-content--editorial-v1 .article-footer p {
  color: #eee !important;
}

.column-content--editorial-v1 figcaption {
  color: #aaa !important;
}

.column-article--editorial-v1 > h1 {
  color: #f4f4f4;
}

.column-article--editorial-v1 > .column-article__date:not(.column-article__date--below-toc) {
  color: #999;
  font-size: 17px;
}

@media (max-width: 991.98px) {
  /* 固定ヘッダー（45px）分の余白でパンくずが隠れないようにする */
  .knowhow-editorial-host.imgame-editorial-v1-host {
    padding-top: calc(var(--mobile-header-height, 45px) + 12px);
  }
}

@media (max-width: 767.98px) {
  .sptop {
    padding-top: 12px;
  }
}

@media (max-width: 600px) {
  .column-content--editorial-v1 .news-article > h2 {
    padding-left: 12px;
    font-size: 23px;
  }

  .column-content--editorial-v1 .news-article > h3 {
    padding-left: 10px;
    font-size: 20px;
  }

  .column-content--editorial-v1 .news-article > p {
    font-size: 16px;
    line-height: 1.9;
  }
}

