#body_wrap:has(.tnn-home) {
  --tnn-gutter: clamp(16px, 4vw, 64px);
  --tnn-rule: #dedede;
  --tnn-mono: SFMono-Regular, Consolas, monospace;
  --color_bg: #fff;
  background: #fff;
}

#body_wrap:has(.tnn-home) :is(#sidebar, #breadcrumb, #main_visual, #post_slider, .p-articleHead, .p-articleThumb, .w-beforeContent, .w-afterContent, .l-mainContent__bottom) {
  display: none;
}

#body_wrap:has(.tnn-home) :is(#content, #main_content) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

#body_wrap:has(.tnn-home) :is(.l-mainContent__inner, .post_content) {
  margin: 0;
  padding: 0;
}

.tnn-home {
  background: #fff;
  color: #181818;
  font: 400 1rem/1.6 'Helvetica Neue', Arial, 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif;
  overflow-wrap: anywhere;
}

.tnn-home * { box-sizing: border-box; }
.post_content .tnn-home :is(h2, h3, p, ul) {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}
.post_content .tnn-home :is(h2, h3)::before,
.post_content .tnn-home :is(h2, h3)::after { display: none; }
.post_content .tnn-home ul { list-style: none; }
.post_content .tnn-home li { margin: 0; padding: 0; }
.post_content .tnn-home a { color: inherit; text-decoration: none; }
.post_content .tnn-home a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: .2em; }
.tnn-home a:focus-visible { outline: 2px solid #315d91; outline-offset: 3px; }
.tnn-home-content, .tnn-home-footer > *, #body_wrap:has(.tnn-home) #footer .l-footer__inner {
  width: calc(100% - 2 * var(--tnn-gutter));
  max-width: 1280px;
  margin-inline: auto;
}
.tnn-home-content { padding-block: 20px 36px; }
.post_content .tnn-home .tnn-home-description { margin-bottom: 22px; color: #595959; font-size: .875rem; }
.tnn-home-top { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 28px; }
.tnn-home-top:not(:has(.tnn-home-picks)) { grid-template-columns: minmax(0, 1fr); }
.post_content .tnn-home-top section > h2 { border-top: 2px solid #181818; padding-block: 8px 12px; font-size: 1rem; font-weight: 700; }
.tnn-home-picks + .tnn-home-latest { border-inline-start: 1px solid var(--tnn-rule); padding-inline-start: 24px; }
.tnn-home-lead > a { display: block; }
.tnn-home :is(.tnn-home-lead, .tnn-home-row) :is(img, .tnn-home-placeholder) {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f1f1f1;
}
.tnn-home :is(.tnn-home-lead, .tnn-home-row) .tnn-home-placeholder { display: grid; place-items: center; color: #595959; font-size: .75rem; }
.tnn-home-lead :is(img, .tnn-home-placeholder) { margin-bottom: 11px; }
.tnn-home-meta { display: block; margin-bottom: 4px; color: #595959; font: 500 .75rem/1.4 var(--tnn-mono), sans-serif; letter-spacing: .04em; }
.tnn-home-meta time { margin-inline-start: 6px; }
.post_content .tnn-home .tnn-home-lead h3 { font-size: clamp(1.5rem, 3.3vw, 2.4375rem); font-weight: 700; line-height: 1.35; text-wrap: pretty; }
.post_content .tnn-home .tnn-home-lead p { margin-top: 8px; color: #595959; }
.tnn-home-lead + .tnn-home-secondary { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--tnn-rule); }
.tnn-home-row { display: grid; grid-template-columns: clamp(64px, 9vw, 88px) minmax(0, 1fr); align-items: center; gap: 12px; }
.tnn-home-row.tnn-home-row-featured { grid-template-columns: clamp(88px, 13vw, 112px) minmax(0, 1fr); }
.tnn-home-title { display: block; font-weight: 600; }
.tnn-home-category .tnn-home-title { font-size: .875rem; font-weight: 400; }
.tnn-home-category .tnn-home-list > li:first-child .tnn-home-title { font-size: 1.0625rem; font-weight: 700; line-height: 1.45; }
.tnn-home-latest .tnn-home-row { grid-template-columns: clamp(84px, 10vw, 104px) minmax(0, 1fr); }
.tnn-home-list .tnn-home-row { padding-block: 10px; }
.tnn-home-list li + li { border-top: 1px solid var(--tnn-rule); }
.tnn-home-more { display: inline-block; margin-top: 4px; padding-block: 6px; font-size: .875rem; font-weight: 600; }
.tnn-home-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 32px; }
.tnn-home-category { border-top: 2px solid #181818; }
.tnn-home-sectionhead { display: flex; gap: 12px; padding-top: 8px; align-items: center; justify-content: space-between; }
.post_content .tnn-home-sectionhead h2 { font: 700 1.125rem/1.3 var(--tnn-mono); }
.tnn-home-sectionhead a { font-size: .875rem; padding-block: 6px; }
.tnn-home-footer { padding: 28px 0 0; background: #000; color: #fff; }
.tnn-home-footer a:focus-visible { outline-color: #fff; }
.post_content .tnn-home-footer h2 { font-size: 1.1875rem; font-weight: 700; }
.post_content .tnn-home-footer h2 span { font-size: .875rem; }
.post_content .tnn-home-footer p { margin-block: 6px 4px; }
.tnn-home-about { display: flex; flex-wrap: wrap; gap: 0 18px; font-size: .875rem; }
.tnn-home-about a { display: inline-flex; min-height: 44px; align-items: center; gap: .25em; }

#body_wrap:has(.tnn-home) #footer { background: #000; color: #fff; }
#body_wrap:has(.tnn-home) #footer .l-footer__widgetArea { display: none; }
#body_wrap:has(.tnn-home) #footer .l-footer__inner {
  border-top: 1px solid #555;
  background: transparent;
  padding: 4px 0 16px;
}
#body_wrap:has(.tnn-home) #footer .l-footer__foot { background: transparent; padding-block: 0; }
#body_wrap:has(.tnn-home) #footer .l-footer__foot .l-container { padding-inline: 0; }
#body_wrap:has(.tnn-home) #footer .l-footer__nav { justify-content: flex-start; gap: 0 18px; }
#body_wrap:has(.tnn-home) #footer .l-footer__nav li:has(> a[href$="/sitepolicy"]) { display: none; }
#body_wrap:has(.tnn-home) #footer .l-footer__nav a { padding: 8px 0; border: 0; }
#body_wrap:has(.tnn-home) #footer :is(a, .copyright) { color: inherit; }

@media (max-width: 720px) {
  .tnn-home-top, .tnn-home-categories { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .tnn-home-picks + .tnn-home-latest { padding-inline-start: 0; border-inline-start: 0; }
  .post_content .tnn-home .tnn-home-description { margin-bottom: 16px; }
}
