/* v0.10.6 - Category editorial body. Only SANGO assigned static-page category fronts, excluding configured slugs. */
body.gdl-c1-article-category {
  --gdl-c1-ink:#292929;
  --gdl-c1-muted:#6e6e6e;
  --gdl-c1-rule:#dedede;
  --gdl-c1-strong-rule:#666;
  --gdl-c1-paper:#faf9f6;
  background:#faf9f6 !important;
}
body.gdl-c1-article-category :is(#container,#content,#inner-content,#main) {background-color:#faf9f6 !important;}
/* SANGO may render the assigned fixed page in #main. Only the long-form
   article container gets these styles; archive cards and pagination stay out. */
body.gdl-c1-article-category .gdl-c1-category-content {
  box-sizing:border-box;
  max-width:760px;
  width:100%;
  margin-left:auto;
  margin-right:auto;
  color:#292929;
  background:transparent !important;
  font-size:16px;
  line-height:1.95;
}
body.gdl-c1-article-category .gdl-c1-category-content :is(p,li) {line-height:1.95;}
body.gdl-c1-article-category .gdl-c1-category-content img {
  max-width:100%;height:auto;
}
body.gdl-c1-article-category .gdl-c1-category-content figure {max-width:100%;}
body.gdl-c1-article-category .gdl-c1-category-content a {text-underline-offset:3px;}
/* Explicitly avoid styling archive cards nested in SANGO's category page. */
body.gdl-c1-article-category .gdl-c1-category-content :is(.sidelong,.cardtype,.wp-block-post-template,.post-grid) :is(h2,h3) {
  margin:initial !important;padding:initial !important;border:0 !important;
  font-size:inherit !important;line-height:inherit !important;
}
body.gdl-c1-article-category .gdl-c1-category-content .gdl-c1-toc {max-width:760px;}
body.gdl-c1-article-category #archive_header {
  box-sizing:border-box;
  width:min(100%,760px);
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
  color:#292929;
  background:transparent;
}
body.gdl-c1-article-category #archive_header h1 {
  color:#292929;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  line-height:1.5;
  font-size:clamp(27px,3vw,37px);
  font-weight:750;
  letter-spacing:-.035em;
}
body.gdl-c1-article-category .gdl-c1-category-content .wp-block-table {
  max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;
}
body.gdl-c1-article-category .gdl-c1-category-content .wp-block-table table {
  /* Match C-1 articles: never force equal-width Gutenberg table columns. */
  border-collapse:collapse;width:100%;table-layout:auto !important;
}
body.gdl-c1-article-category .gdl-c1-category-content .wp-block-table table :is(th,td) {
  padding:11px 13px;border:1px solid #d8d8d8;
  color:#292929;
}
@media(max-width:767px) {
  body.gdl-c1-article-category .gdl-c1-category-content {padding-left:12px;padding-right:12px;font-size:15px;}
  body.gdl-c1-article-category #archive_header {padding-left:12px;padding-right:12px;}
}

/* gadgetlogy Editorial C-1 — 記事型カテゴリー本文だけに限定 */
body.gdl-c1-article-category {
  --gdl-c1-ink: #292929;
  --gdl-c1-muted: #6e6e6e;
  --gdl-c1-rule: #dedede;
  --gdl-c1-strong-rule: #666666;
}

/* CONTENTS: light, paper-like, ruled index (no frame/background) */
body.gdl-c1-article-category .gdl-c1-toc {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 34px 0 52px;
  padding: 23px 0 12px;
  background: transparent;
  color: var(--gdl-c1-ink);
  border: 0;
  border-top: 3px double var(--gdl-c1-strong-rule);
  border-bottom: 3px double var(--gdl-c1-strong-rule);
  box-shadow: none;
  border-radius: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
}
body.gdl-c1-article-category .gdl-c1-toc *,
body.gdl-c1-article-category .gdl-c1-toc *::before,
body.gdl-c1-article-category .gdl-c1-toc *::after { box-sizing: border-box; }
body.gdl-c1-article-category .gdl-c1-toc__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin: 0 0 19px;
}
body.gdl-c1-article-category .gdl-c1-toc__title {
  display: block;
  margin: 0;
  padding: 0;
  font: 700 26px/1.15 "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  letter-spacing: .055em;
  color: var(--gdl-c1-ink);
}
body.gdl-c1-article-category .gdl-c1-toc__subtitle {
  display: block;
  margin-top: 5px;
  color: var(--gdl-c1-muted);
  font: 400 11px/1.55 -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  letter-spacing: .04em;
}
body.gdl-c1-article-category .gdl-c1-toc__collapse,
body.gdl-c1-article-category .gdl-c1-toc__toggle {
  color: var(--gdl-c1-muted);
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}
body.gdl-c1-article-category .gdl-c1-toc__collapse {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 0 4px 12px;
  font-size: 12px;
}
body.gdl-c1-article-category .gdl-c1-toc__list,
body.gdl-c1-article-category .gdl-c1-toc__sublist {
  margin: 0;
  padding: 0;
  list-style: none !important;
}
body.gdl-c1-article-category .gdl-c1-toc__item {
  display: grid;
  grid-template-columns: 32px minmax(0,1fr);
  gap: 12px;
  border-top: 1px solid var(--gdl-c1-rule);
  padding: 16px 2px;
  margin: 0;
}
body.gdl-c1-article-category .gdl-c1-toc__number {
  color: #777777;
  font: 600 19px/1.4 "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}
body.gdl-c1-article-category .gdl-c1-toc a.gdl-c1-toc__link {
  display: block;
  min-height: 24px;
  color: var(--gdl-c1-ink);
  text-decoration: none;
  border: none;
  box-shadow: none;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.75;
  overflow-wrap: anywhere;
  padding: 0;
  margin: 0;
}
body.gdl-c1-article-category .gdl-c1-toc a.gdl-c1-toc__link:hover,
body.gdl-c1-article-category .gdl-c1-toc a.gdl-c1-toc__sublink:hover { text-decoration: underline; }
body.gdl-c1-article-category .gdl-c1-toc__toggle {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 0 4px;
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.65;
  text-align: left;
}
body.gdl-c1-article-category .gdl-c1-toc__sublist {
  border-top: 1px dotted var(--gdl-c1-rule);
  margin: 7px 0 0;
  padding: 10px 0 0;
}
body.gdl-c1-article-category .gdl-c1-toc__subitem {
  display: grid;
  grid-template-columns: 30px minmax(0,1fr);
  gap: 9px;
  padding: 7px 0;
  margin: 0;
}
body.gdl-c1-article-category .gdl-c1-toc__subnumber {
  color: #999999;
  font: 500 11px/1.85 "Helvetica Neue", Arial, sans-serif;
}
body.gdl-c1-article-category .gdl-c1-toc a.gdl-c1-toc__sublink {
  color: #555555;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
body.gdl-c1-article-category .gdl-c1-toc [hidden] { display: none !important; }
body.gdl-c1-article-category .gdl-c1-toc a:focus-visible,
body.gdl-c1-article-category .gdl-c1-toc button:focus-visible {
  outline: 2px solid var(--gdl-c1-strong-rule);
  outline-offset: 3px;
}

/* Article H2/H3: only directly-authored top-level headings; leave embedded review blocks intact. */
body.gdl-c1-article-category .gdl-c1-category-content h2:not(.wp-block-post-title):not(.entry-title) {
  clear: both;
  margin: 64px 0 25px !important;
  padding: 60px 0 0 !important;
  position: relative !important;
  isolation: isolate;
  background: transparent !important;
  border: 0 !important;
  border-top: 2px solid var(--gdl-c1-strong-rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--gdl-c1-ink) !important;
  font-size: clamp(22px, 2.35vw, 27px) !important;
  line-height: 1.55 !important;
  font-weight: 700 !important;
  letter-spacing: .02em;
  scroll-margin-top: 95px;
}
body.gdl-c1-article-category .gdl-c1-category-content h3 {
  margin: 43px 0 20px !important;
  padding: 2px 0 2px 14px !important;
  background: transparent !important;
  border: 0 !important;
  border-left: 2px solid #b8b8b8 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--gdl-c1-ink) !important;
  font-size: clamp(18px, 2vw, 20px) !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
  letter-spacing: .01em;
  scroll-margin-top: 95px;
}
/* Chapter watermarks are decorative only: H2 text/IDs stay unchanged. */
body.gdl-c1-article-category .gdl-c1-category-content h2:not(.wp-block-post-title):not(.entry-title)[data-gdl-c1-chapter]::before {
  content: attr(data-gdl-c1-chapter) !important;
  display: block !important;
  position: absolute !important;
  z-index: -1;
  inset: 12px auto auto 2px;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  color: #e3e3e3 !important;
  background: transparent !important;
  font: 800 96px/.92 "Helvetica Neue", Arial, sans-serif !important;
  letter-spacing: -.075em !important;
  opacity: 1;
  pointer-events: none;
  user-select: none;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
body.gdl-c1-article-category .gdl-c1-category-content h2:not(.wp-block-post-title):not(.entry-title)::after,
body.gdl-c1-article-category .gdl-c1-category-content h3::before,
body.gdl-c1-article-category .gdl-c1-category-content h3::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 767px) {
  body.gdl-c1-article-category .gdl-c1-toc { margin: 29px 0 43px; padding-top: 20px; }
  body.gdl-c1-article-category .gdl-c1-toc__title { font-size: 26px; }
  body.gdl-c1-article-category .gdl-c1-toc__item { gap: 9px; padding: 15px 0; }
  body.gdl-c1-article-category .gdl-c1-toc a.gdl-c1-toc__link { font-size: 14px; line-height: 1.75; }
  body.gdl-c1-article-category .gdl-c1-toc__subitem { grid-template-columns: 26px minmax(0,1fr); gap: 7px; }
  body.gdl-c1-article-category .gdl-c1-category-content h2:not(.wp-block-post-title):not(.entry-title) { margin-top: 50px !important; padding-top: 53px !important; font-size: 23px !important; }
  body.gdl-c1-article-category .gdl-c1-category-content h2:not(.wp-block-post-title):not(.entry-title)[data-gdl-c1-chapter]::before { font-size: 81px !important; inset: 10px auto auto 2px; }
  body.gdl-c1-article-category .gdl-c1-category-content h3 { margin-top: 38px !important; font-size: 18px !important; }
}



/* v0.10.4 — SANGO renders a category-assigned static page as
   #main > article.entry, not as the archive description. The original
   white paper is the article wrapper, not .gdl-c1-category-content. */
body.gdl-c1-article-category #main > article.entry {
  box-sizing:border-box !important;
  max-width:760px;
  width:100%;
  margin-inline:auto !important;
  background:transparent !important;
  background-color:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:#292929;
}
body.gdl-c1-article-category #main > article.entry > :is(.entry-header,.entry-content,.article-footer),
body.gdl-c1-article-category #main > article.entry > .article-footer > aside,
body.gdl-c1-article-category #main > article.entry .footer-contents {
  background:transparent !important;
  background-color:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
}
body.gdl-c1-article-category #main > article.entry > .entry-header {
  border:0 !important;
  box-shadow:none !important;
}
body.gdl-c1-article-category #main > article.entry > .entry-content {
  border:0 !important;
  box-shadow:none !important;
}
body.gdl-c1-article-category #main > article.entry > .article-footer {
  border:0 !important;
  box-shadow:none !important;
}
/* Constrain only the assigned article. Do not touch other archive cards. */
body.gdl-c1-article-category #main > article.entry .article-footer .footer-contents {
  box-sizing:border-box !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}

/* Reuse article C-1 share presentation for the assigned SANGO page. */
body.gdl-c1-article-category #main > article.entry .article-footer .footer-contents > .sns-btn {
  box-sizing:border-box !important;
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  flex-wrap:wrap !important;
  gap:12px 18px !important;
  width:100% !important;
  min-height:0 !important;
  margin:0 !important;
  padding:17px 0 !important;
  background:transparent !important;
  border:0 !important;
  border-top:1px solid #bfc1c0 !important;
  border-bottom:1px solid #dedede !important;
  border-radius:0 !important;
  box-shadow:none !important;
  text-align:left !important;
  transform:none !important;
}
body.gdl-c1-article-category #main > article.entry .article-footer .footer-contents > .sns-btn > .sns-btn__title,
body.gdl-c1-article-category #main > article.entry .article-footer .footer-contents > .sns-btn > .sns-btn__title::before,
body.gdl-c1-article-category #main > article.entry .article-footer .footer-contents > .sns-btn > .sns-btn__title::after {
  display:none !important;
  content:none !important;
  background:none !important;
}
body.gdl-c1-article-category #main > article.entry .article-footer .footer-contents > .sns-btn::before {
  content:'SHARE' !important;
  display:block !important;
  order:0 !important;
  position:static !important;
  margin:0 !important;
  padding:0 !important;
  width:auto !important;
  height:auto !important;
  color:#676767 !important;
  background:none !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  font:800 10px/1.4 'Helvetica Neue',Arial,sans-serif !important;
  letter-spacing:.13em !important;
  text-shadow:none !important;
  transform:none !important;
}
body.gdl-c1-article-category #main > article.entry .article-footer .footer-contents > .sns-btn::after {
  content:none !important;
  display:none !important;
}
body.gdl-c1-article-category #main > article.entry .article-footer .footer-contents > .sns-btn > ul {
  box-sizing:border-box !important;
  display:flex !important;
  flex-flow:row nowrap !important;
  align-items:center !important;
  justify-content:flex-end !important;
  order:1 !important;
  width:auto !important;
  height:auto !important;
  min-width:0 !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  gap:7px !important;
  list-style:none !important;
  background:none !important;
  border:0 !important;
}
body.gdl-c1-article-category #main > article.entry .article-footer .sns-btn__item {
  display:block !important;
  position:static !important;
  float:none !important;
  flex:0 0 36px !important;
  width:36px !important;
  height:36px !important;
  min-width:36px !important;
  min-height:36px !important;
  margin:0 !important;
  padding:0 !important;
  background:none !important;
  box-shadow:none !important;
}
body.gdl-c1-article-category #main > article.entry .article-footer .sns-btn__item > a {
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  position:relative !important;
  float:none !important;
  width:36px !important;
  min-width:36px !important;
  max-width:36px !important;
  height:36px !important;
  min-height:36px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #d5d5d5 !important;
  border-radius:0 !important;
  background:#fff !important;
  color:#292929 !important;
  box-shadow:none !important;
  transform:none !important;
  text-decoration:none !important;
}
body.gdl-c1-article-category #main > article.entry .article-footer .sns-btn__item > a > :is(i,img,span) {display:none !important;}
body.gdl-c1-article-category #main > article.entry .article-footer .sns-btn__item > a::before {content:none !important;display:none !important;}
body.gdl-c1-article-category #main > article.entry .article-footer .sns-btn__item > a::after {
  display:block !important;
  content:'';
  position:static !important;
  inset:auto !important;
  width:auto !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:none !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:#282828 !important;
  font:750 12px/1 'Helvetica Neue',Arial,sans-serif !important;
  transform:none !important;
}
body.gdl-c1-article-category #main > article.entry .article-footer .sns-btn__item.tw > a::after{content:'X' !important;}
body.gdl-c1-article-category #main > article.entry .article-footer .sns-btn__item.fb > a::after{content:'f' !important;font-size:16px !important;}
body.gdl-c1-article-category #main > article.entry .article-footer .sns-btn__item.hatebu > a::after{content:'B!' !important;}
body.gdl-c1-article-category #main > article.entry .article-footer .sns-btn__item.line > a::after{content:'LINE' !important;font-size:9px !important;}
body.gdl-c1-article-category #main > article.entry .article-footer .sns-btn__item > a:hover{background:#f5f5f5 !important;}
body.gdl-c1-article-category #main > article.entry .article-footer .sns-btn__item > a:focus-visible{outline:2px solid #292929 !important;outline-offset:2px !important;}

/* The assigned page uses SANGO's archive wrapper on mobile as well. */
@media(max-width:767px) {
  body.gdl-c1-article-category #main > article.entry {max-width:100%;}
  body.gdl-c1-article-category #main > article.entry .article-footer .footer-contents > .sns-btn {
    padding:14px 0 !important;
  }
}
