/*
 * エンタメライク｜TOP見せ分け・サイドバー整理
 * Scope: published home page ID 223 only.
 * Other pages, widget definitions, ranking and WordPress content remain intact.
 */
body.page-id-223 #sidebar,
body.page-id-223 #sidebar-scroll {
  display: none !important;
}
body.page-id-223 #content-in {
  display: block !important;
}
body.page-id-223 #main {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
}
body.page-id-223 .er-home #love-reality {
  background: linear-gradient(160deg, #fff6fa, #fff2f7 65%, #fffafd) !important;
}
body.page-id-223 .er-home .er-after-stories-grid {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: clamp(10px,1.6vw,18px) !important;
  margin: 0 !important;
}
body.page-id-223 .er-home .er-after-stories-grid > .er-after-story-link {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100%;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #edd7e5 !important;
  border-radius: 15px !important;
  background: #fff !important;
  box-shadow: 0 6px 20px rgba(123,45,88,.06) !important;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease;
}
body.page-id-223 .er-home .er-after-story-card {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #fff !important;
}
body.page-id-223 .er-home .er-after-story-card figure {
  display: block;
  width: 100%;
  margin: 0 !important;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #fae4ef;
}
body.page-id-223 .er-home .er-after-stories-image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 0 !important;
}
body.page-id-223 .er-home .er-after-story-card .new-entry-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px 15px 15px !important;
}
body.page-id-223 .er-home .er-after-story-label {
  display: inline-flex;
  align-self: start;
  margin: 0 0 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff0f7;
  color: #b72e68;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
}
body.page-id-223 .er-home .er-after-story-card .new-entry-card-title {
  display: block;
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: #272641 !important;
  font-size: clamp(13px,1.4vw,16px) !important;
  font-weight: 800 !important;
  line-height: 1.55 !important;
  text-align: left;
}
body.page-id-223 .er-home .er-after-story-card .new-entry-card-meta {
  margin-top: auto;
  color: #7b7083;
  font-size: 11px;
  line-height: 1.4;
}
@media (hover:hover) {
  body.page-id-223 .er-home .er-after-stories-grid > .er-after-story-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 27px rgba(123,45,88,.13) !important;
  }
}
body.page-id-223 .er-home .er-after-stories-grid > .er-after-story-link:focus-visible {
  outline: 3px solid #8260be !important;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  body.page-id-223 .er-home .er-after-stories-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 11px !important;
  }
  body.page-id-223 .er-home .er-after-story-card .new-entry-card-content {
    padding: 10px 11px 12px !important;
  }
  body.page-id-223 .er-home .er-after-story-card .new-entry-card-title {
    font-size: 12px !important;
    line-height: 1.52 !important;
  }
  body.page-id-223 .er-home .er-after-story-label {
    font-size: 9px;
    margin-bottom: 6px;
    padding: 3px 7px;
  }
}
@media (max-width: 350px) {
  body.page-id-223 .er-home .er-after-stories-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }
  body.page-id-223 .er-home .er-after-story-card .new-entry-card-title {
    font-size: 14px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-id-223 .er-home .er-after-stories-grid > .er-after-story-link {
    transition: none !important;
  }
}
