/*
 * IMGAME Editorial Template v1
 *
 * Required content root:
 *   .news-article[data-imgame-template="imgame-editorial-v1"]
 *
 * Required host wrappers:
 *   .column-article--editorial-v1
 *   .column-content--editorial-v1
 *
 * Optional full-page host:
 *   .imgame-editorial-v1-host
 *
 * Keep this file immutable for v1. Breaking visual changes require a new
 * template identifier and stylesheet version.
 */

.imgame-editorial-v1-host {
  width: 100%;
  padding: clamp(24px, 5vw, 72px) clamp(16px, 4vw, 40px);
  background: #090909;
  color: #f4f4f4;
}

.column-article--editorial-v1 {
  --imgame-editorial-accent: #c72258;
  --imgame-editorial-accent-dark: #8e173d;
  --imgame-editorial-accent-soft: #fff1f5;
  --imgame-editorial-ink: #202126;
  --imgame-editorial-copy: #303137;
  --imgame-editorial-muted: #62636a;
  --imgame-editorial-line: #dedde1;
  --imgame-editorial-paper: #fff;
  --imgame-editorial-soft: #f7f6f4;
  --imgame-editorial-dark: #252528;
  width: 100%;
  max-width: 1036px;
  min-width: 0;
  margin-inline: auto;
  color: inherit;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN",
    "Meiryo", system-ui, sans-serif;
}

.column-article--editorial-v1,
.column-article--editorial-v1 * {
  box-sizing: border-box;
}

.column-article--editorial-v1 > .column-breadcrumb {
  margin: 0 0 24px;
  overflow: hidden;
  color: #999;
  font-size: 13px;
  line-height: 1.6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.column-article--editorial-v1 > .column-breadcrumb a {
  color: #bbb;
}

.column-article--editorial-v1 > h1 {
  margin: 0 0 15px;
  color: inherit;
  font-size: clamp(27px, 3.2vw, 38px);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.column-article--editorial-v1 > .column-article__date {
  color: #aaa;
  font-size: 14px;
}

.column-article--editorial-v1 > .column-article__thumb {
  display: block;
  width: 100%;
  max-height: none;
  margin: 32px 0;
  overflow: hidden;
  border-bottom: 5px solid var(--imgame-editorial-accent);
  border-radius: 14px;
  aspect-ratio: 1672 / 941;
  background: var(--imgame-editorial-dark);
  object-fit: cover;
}

.column-toc--editorial-v1,
.column-content--editorial-v1 {
  width: 100%;
  min-width: 0;
}

.column-toc--editorial-v1 {
  margin: 40px auto 46px;
  padding: 24px 28px;
  border: 0;
  border-radius: 12px;
  background: var(--imgame-editorial-dark);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

.column-toc--editorial-v1 .column-toc__title {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #55555a;
  color: #f38aaa;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .09em;
}

.column-toc--editorial-v1 ol {
  margin: 0;
  padding-left: 1.35em;
  list-style: decimal;
}

.column-toc--editorial-v1 .column-toc__item {
  margin: .55em 0;
  line-height: 1.65;
}

.column-toc--editorial-v1 .column-toc__item--level-3 {
  margin-left: 1.25em;
  font-size: .94em;
}

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

.column-toc--editorial-v1 a:hover {
  color: #f38aaa;
  text-decoration: underline;
  text-decoration-color: #f38aaa;
  text-underline-offset: .25em;
}

.column-toc--editorial-v1 a:focus-visible,
.column-content--editorial-v1 a:focus-visible,
.column-content--editorial-v1 .article-table-scroll:focus-visible {
  outline: 3px solid var(--imgame-editorial-accent);
  outline-offset: 3px;
}

.column-content--editorial-v1 {
  max-width: 1036px;
  margin-inline: auto;
  color: var(--imgame-editorial-ink);
  font-size: 17px;
  line-height: 1.9;
  word-break: normal;
  overflow-wrap: anywhere;
}

.column-content--editorial-v1 > * {
  max-width: 100%;
}

.column-content--editorial-v1 .news-article[data-imgame-template="imgame-editorial-v1"] {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--imgame-editorial-line);
  border-radius: 14px;
  background: var(--imgame-editorial-paper);
  color: var(--imgame-editorial-ink);
  font-size: clamp(16.5px, 1.18vw, 18px);
  line-height: 1.9;
  letter-spacing: .015em;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .2);
  overflow-wrap: anywhere;
}

.column-content--editorial-v1 .article-header {
  margin: 0 0 48px;
}

.column-content--editorial-v1 .article-kicker {
  display: block;
  margin: 0 0 9px;
  color: var(--imgame-editorial-accent-dark);
  font-size: .75em;
  font-weight: 800;
  letter-spacing: .13em;
}

.column-content--editorial-v1 .lead {
  max-width: 72ch;
  margin: 0;
  padding: clamp(17px, 2.4vw, 22px) clamp(17px, 2.8vw, 26px);
  border-left: 4px solid var(--imgame-editorial-accent);
  background: var(--imgame-editorial-soft);
  color: var(--imgame-editorial-copy);
  font-size: 1.06em;
  font-weight: 500;
  line-height: 1.95;
}

.column-content--editorial-v1 .article-layout,
.column-content--editorial-v1 .article-content {
  display: block;
  min-width: 0;
}

.column-content--editorial-v1 .article-content > section {
  margin: 0 0 clamp(48px, 6vw, 64px);
}

.column-content--editorial-v1 .article-content > section:last-of-type {
  margin-bottom: 48px;
}

.column-content--editorial-v1 h2,
.column-content--editorial-v1 h3 {
  scroll-margin-top: 110px;
  overflow-wrap: anywhere;
}

.column-content--editorial-v1 .news-article h2 {
  margin: 0 0 24px;
  padding: 7px 0 7px 18px;
  border: 0;
  border-left: 4px solid var(--imgame-editorial-accent);
  color: var(--imgame-editorial-ink);
  font-size: clamp(1.4rem, 2.25vw, 2rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .01em;
}

.column-content--editorial-v1 .news-article h3 {
  margin: 34px 0 13px;
  padding: 0;
  border: 0;
  color: var(--imgame-editorial-ink);
  font-size: clamp(1.16rem, 1.65vw, 1.38rem);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: .01em;
}

.column-content--editorial-v1 .news-article h4 {
  margin: 1.8em 0 .7em;
  color: #511127;
  font-size: 1.08em;
  line-height: 1.6;
}

.column-content--editorial-v1 .news-article p {
  max-width: 68ch;
  margin: 0 0 1.35em;
  color: var(--imgame-editorial-copy);
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.column-content--editorial-v1 .news-article a {
  color: #a90f43;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.column-content--editorial-v1 .news-article a:hover {
  color: var(--imgame-editorial-accent);
}

.column-content--editorial-v1 .news-article ul,
.column-content--editorial-v1 .news-article ol {
  margin: 0 0 1.5em;
  padding-left: 1.45em;
}

.column-content--editorial-v1 .news-article li {
  margin: .42em 0;
  padding-left: .15em;
  line-height: 1.8;
}

.column-content--editorial-v1 figure {
  width: 100%;
  max-width: 100%;
  margin: 2em auto;
}

.column-content--editorial-v1 img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.column-content--editorial-v1 figcaption {
  margin-top: .7em;
  color: var(--imgame-editorial-muted);
  font-size: .82em;
  line-height: 1.7;
  text-align: center;
}

.column-content--editorial-v1 blockquote {
  margin: 2em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--imgame-editorial-accent);
  background: var(--imgame-editorial-soft);
  color: var(--imgame-editorial-copy);
}

.column-content--editorial-v1 .checklist {
  margin: 0 0 1.5em;
  padding: 0;
  border-top: 1px solid var(--imgame-editorial-line);
  list-style: none;
}

.column-content--editorial-v1 .checklist > li {
  position: relative;
  margin: 0;
  padding: 12px 8px 12px 34px;
  border-bottom: 1px solid var(--imgame-editorial-line);
  color: var(--imgame-editorial-copy);
  line-height: 1.75;
}

.column-content--editorial-v1 .article-check {
  position: absolute;
  top: 15px;
  left: 7px;
  display: inline;
  color: var(--imgame-editorial-accent-dark);
  font-size: .78em;
  font-weight: 900;
  line-height: 1;
}

.column-content--editorial-v1 .article-table-scroll {
  max-width: 100%;
  margin: 26px 0 12px;
  overflow-x: auto;
  border: 1px solid var(--imgame-editorial-line);
  border-radius: 10px;
  background: var(--imgame-editorial-paper);
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.column-content--editorial-v1 .article-table-hint {
  display: block;
  padding: 8px 12px;
  border-bottom: 1px solid var(--imgame-editorial-line);
  background: var(--imgame-editorial-soft);
  color: var(--imgame-editorial-muted);
  font-size: .72em;
  font-weight: 650;
  letter-spacing: .02em;
}

.column-content--editorial-v1 .article-table-scroll table {
  display: table;
  width: 100%;
  min-width: 650px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  color: var(--imgame-editorial-copy);
  font-size: .88em;
  line-height: 1.65;
}

.column-content--editorial-v1 .article-table-scroll caption {
  padding: 13px 16px;
  border-bottom: 1px solid var(--imgame-editorial-line);
  background: var(--imgame-editorial-paper);
  color: var(--imgame-editorial-muted);
  font-size: .84em;
  font-weight: 700;
  text-align: left;
}

.column-content--editorial-v1 .article-table-scroll th,
.column-content--editorial-v1 .article-table-scroll td {
  min-width: 0;
  padding: 13px 15px;
  border: 0;
  border-right: 1px solid var(--imgame-editorial-line);
  border-bottom: 1px solid var(--imgame-editorial-line);
  background: var(--imgame-editorial-paper);
  color: var(--imgame-editorial-copy);
  line-height: 1.65;
  text-align: left;
  vertical-align: top;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.column-content--editorial-v1 .article-table-scroll tr > *:last-child {
  border-right: 0;
}

.column-content--editorial-v1 .article-table-scroll thead th {
  background: var(--imgame-editorial-dark);
  color: #fff;
  font-weight: 750;
}

.column-content--editorial-v1 .article-table-scroll tbody th {
  background: var(--imgame-editorial-accent-soft);
  color: #511127;
  font-weight: 750;
}

.column-content--editorial-v1 .article-faq-heading {
  margin: 18px 0 0 !important;
  padding: 18px 20px !important;
  border: 1px solid var(--imgame-editorial-line) !important;
  border-left: 4px solid var(--imgame-editorial-accent) !important;
  border-radius: 9px 9px 0 0;
  background: var(--imgame-editorial-accent-soft);
  color: #511127 !important;
}

.column-content--editorial-v1 .article-question {
  display: inline-block;
  margin-right: 10px;
  color: var(--imgame-editorial-accent);
  font-size: 1.05em;
  font-weight: 900;
}

.column-content--editorial-v1 .article-faq-answer {
  max-width: none !important;
  margin: 0 0 16px !important;
  padding: 18px 20px 20px;
  border: 1px solid var(--imgame-editorial-line);
  border-top: 0;
  border-radius: 0 0 9px 9px;
  background: var(--imgame-editorial-paper);
}

.column-content--editorial-v1 details {
  margin: 1em 0;
  border: 1px solid var(--imgame-editorial-line);
  border-radius: 9px;
  background: var(--imgame-editorial-paper);
}

.column-content--editorial-v1 summary {
  padding: 16px 20px;
  color: #511127;
  font-weight: 800;
  line-height: 1.65;
  cursor: pointer;
}

.column-content--editorial-v1 details > summary ~ * {
  margin-inline: 20px;
}

.column-content--editorial-v1 .article-related {
  margin-top: 8px;
  padding: 22px 24px;
  border: 1px solid #e7c8d2;
  border-radius: 10px;
  background: var(--imgame-editorial-accent-soft);
}

.column-content--editorial-v1 .article-related ul {
  margin: 0;
  padding-left: 1.4em;
}

.column-content--editorial-v1 .article-related li {
  margin: .55em 0;
}

.column-content--editorial-v1 .article-footer {
  margin-top: 28px;
  padding: 26px 28px 8px;
  border-radius: 12px;
  background: var(--imgame-editorial-dark);
  color: #f7f7f8;
}

.column-content--editorial-v1 .article-footer-label {
  display: block;
  margin-bottom: 10px;
  color: #f38aaa;
  font-size: .72em;
  font-weight: 850;
  letter-spacing: .14em;
}

.column-content--editorial-v1 .article-footer p {
  max-width: none;
  color: #f7f7f8;
}

@media (min-width: 901px) {
  .column-article--editorial-v1.has-column-toc {
    display: grid;
    grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
    column-gap: clamp(34px, 4vw, 54px);
    align-items: start;
  }

  .column-article--editorial-v1.has-column-toc > .column-breadcrumb,
  .column-article--editorial-v1.has-column-toc > h1,
  .column-article--editorial-v1.has-column-toc > .column-article__date,
  .column-article--editorial-v1.has-column-toc > .column-article__thumb,
  .column-article--editorial-v1.has-column-toc > .column-cta,
  .column-article--editorial-v1.has-column-toc > .column-related {
    grid-column: 1 / -1;
  }

  .column-article--editorial-v1.has-column-toc > .column-toc--editorial-v1 {
    position: sticky;
    top: 110px;
    grid-column: 1;
    width: 100%;
    max-width: none;
    margin: 40px 0 0;
  }

  .column-article--editorial-v1.has-column-toc > .column-content--editorial-v1 {
    grid-column: 2;
    width: 100%;
    max-width: none;
    margin: 40px 0 0;
  }
}

@media (max-width: 900px) {
  .column-article--editorial-v1 {
    max-width: 860px;
  }

  .column-toc--editorial-v1 {
    position: relative;
    top: auto;
  }

  .column-content--editorial-v1 .news-article[data-imgame-template="imgame-editorial-v1"] {
    padding: clamp(22px, 4vw, 34px);
  }
}

@media (max-width: 600px) {
  .imgame-editorial-v1-host {
    padding: 24px 16px 48px;
  }

  .column-article--editorial-v1 > .column-article__thumb {
    margin: 24px 0 28px;
    border-bottom-width: 4px;
    border-radius: 10px;
  }

  .column-toc--editorial-v1 {
    margin-top: 28px;
    margin-bottom: 32px;
    padding: 20px 18px;
  }

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

  .column-content--editorial-v1 .news-article[data-imgame-template="imgame-editorial-v1"] {
    padding: 22px 16px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.85;
  }

  .column-content--editorial-v1 .article-header {
    margin-bottom: 38px;
  }

  .column-content--editorial-v1 .lead {
    padding: 16px 17px;
    font-size: 1em;
    line-height: 1.85;
  }

  .column-content--editorial-v1 .article-content > section {
    margin-bottom: 44px;
  }

  .column-content--editorial-v1 h2,
  .column-content--editorial-v1 h3 {
    scroll-margin-top: 90px;
  }

  .column-content--editorial-v1 .news-article h2 {
    margin-bottom: 19px;
    padding-left: 12px;
    font-size: 1.35rem;
  }

  .column-content--editorial-v1 .news-article h3 {
    margin-top: 28px;
    font-size: 1.14rem;
  }

  .column-content--editorial-v1 .article-table-scroll {
    margin: 22px 0 10px;
  }

  .column-content--editorial-v1 .article-table-scroll table {
    min-width: 620px;
    font-size: .84em;
  }

  .column-content--editorial-v1 .article-table-scroll th,
  .column-content--editorial-v1 .article-table-scroll td {
    padding: 11px 12px;
  }

  .column-content--editorial-v1 .article-faq-heading {
    padding: 15px !important;
  }

  .column-content--editorial-v1 .article-faq-answer {
    padding: 15px 15px 17px;
  }

  .column-content--editorial-v1 .article-related {
    padding: 18px 17px;
  }

  .column-content--editorial-v1 .article-footer {
    padding: 22px 18px 7px;
  }
}
