/*
 * エンタメライク｜恋リア・ポップエディトリアル v1.0
 * Existing page 223, its WordPress shortcodes, links, rankings and featured images are untouched.
 * Decorative originals are local SVG in this theme /assets directory.
 */
body.page-id-223 .er-home {
  --er-rose: #d53371;
  --er-rose-dark: #b91e59;
  --er-navy: #1d2442;
  --er-navy-soft: #32345e;
  --er-pink-soft: #fff2f8;
  --er-pink-wash: #fff7fa;
  --er-lilac: #cbb4e3;
  --er-border-rose: #efdae5;
  --er-shadow-sm: 0 6px 22px rgba(154, 38, 91, .075);
  --er-shadow-md: 0 14px 36px rgba(126, 44, 93, .105);
  color: #39405c;
}
body.page-id-223 #container { background-color: #fffdfd; }
/* Romantic ribbon illustration, clean editorial headline. */
body.page-id-223 .er-home .elr26-hero {
  display: block !important;
  position: relative;
  overflow: hidden;
  margin: 0 0 16px !important;
  border: 1px solid #efd4e6 !important;
  border-radius: 25px !important;
  background: linear-gradient(160deg,#fff5fa,#f9edf5) !important;
  box-shadow: 0 18px 42px rgba(177,49,111,.09) !important;
}
body.page-id-223 .er-home .elr26-hero__main {
  position: relative;
  isolation: isolate;
  min-height: 292px;
  padding: clamp(30px,5vw,68px) clamp(24px,5vw,65px) !important;
  background: linear-gradient(90deg,rgba(255,252,253,.96) 0%,rgba(255,250,253,.90) 39%,rgba(255,250,253,.24) 76%),
    url("./er-love-hero.svg") center right / cover no-repeat !important;
}
body.page-id-223 .er-home .elr26-hero__main::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  width: 82px;
  height: 6px;
  top: 23px;
  left: clamp(24px,5vw,65px);
  border-radius: 999px;
  background: linear-gradient(90deg,#e93e83,#ffb5cf);
  transform: rotate(-5deg);
  opacity: .72;
  pointer-events: none;
}
body.page-id-223 .er-home .elr26-hero__eyebrow {
  color: #bb2362 !important;
  letter-spacing: .18em !important;
}
body.page-id-223 .er-home .elr26-hero__title {
  max-width: 750px;
  font-size: clamp(29px,4.15vw,52px) !important;
  line-height: 1.42 !important;
  color: #1e2544 !important;
  text-shadow: 0 2px 0 rgba(255,255,255,.64) !important;
}
body.page-id-223 .er-home .elr26-hero__accent { color: #db2669 !important; }
body.page-id-223 .er-home .elr26-hero__lead {
  max-width: 630px !important;
  color: #4d4b64 !important;
  font-size: clamp(13px,1.5vw,16px) !important;
}
body.page-id-223 .er-home .elr26-hero__button {
  border-radius: 999px !important;
  box-shadow: 0 7px 17px rgba(148,50,91,.12) !important;
}
body.page-id-223 .er-home .elr26-hero__button--primary {
  background: #d72b71 !important;
  border-color: #d72b71 !important;
  color: #fff !important;
}
body.page-id-223 .er-home .elr26-hero__button--secondary {
  color: #222944 !important;
  background: rgba(255,255,255,.91) !important;
  border-color: #cf99b5 !important;
}
body.page-id-223 .er-home .elr26-hero__side {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  grid-template-rows: auto !important;
  gap: 13px !important;
  padding: 14px !important;
  background: linear-gradient(140deg,#fff0f5,#f6e9f4) !important;
}
body.page-id-223 .er-home .elr26-hero-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 149px !important;
  padding: 24px 27px !important;
  border: 1px solid rgba(242,182,208,.74) !important;
  border-radius: 16px !important;
  box-shadow: 0 5px 17px rgba(172,70,124,.07) !important;
}
body.page-id-223 .er-home .elr26-hero-card--love {
  color: #67213e !important;
  background: radial-gradient(circle at 83% 38%,rgba(255,140,181,.46),transparent 36%),
    linear-gradient(130deg,#fff8fb,#ffd9e8) !important;
}
body.page-id-223 .er-home .elr26-hero-card--after {
  background: radial-gradient(circle at 82% 30%,rgba(169,157,241,.37),transparent 40%),
    linear-gradient(135deg,#fcfaff,#f1e7fa) !important;
}
body.page-id-223 .er-home .elr26-hero-card::before {
  content: "♡" !important;
  display: block !important;
  position: absolute;
  right: 12px;
  top: 4px;
  font: 100px/1 Georgia,serif;
  color: rgba(221,59,117,.20);
  pointer-events:none;
  transform: rotate(-12deg);
}
body.page-id-223 .er-home .elr26-hero-card--after::before {
  content:"◇" !important;
  font-size: 104px;
  color: rgba(119,89,171,.22);
}
body.page-id-223 .er-home .elr26-hero-card__label {
  color:#af2466 !important;
  font-size: 11px !important;
}
body.page-id-223 .er-home .elr26-hero-card__title {
  color:#352343 !important;
  font-size: clamp(17px,2.15vw,23px) !important;
}
body.page-id-223 .er-home .elr26-hero-card__text { color: #62506b !important; }
/* A lighter, punchier quick navigation. */
body.page-id-223 .er-home .er-quicknav {
  background: #fff5f9 !important;
  border: 1px solid #f3d4e4 !important;
  border-radius: 15px !important;
  box-shadow: 0 5px 17px rgba(147,51,104,.04) !important;
}
body.page-id-223 .er-home .er-quicknav__list a {
  color: #7c2858 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}
body.page-id-223 .er-home .er-quicknav__list a:hover {
  background: #ffe4ee !important;
  color: #a71e59 !important;
}
body.page-id-223 .er-home .er-quicknav__dot,
body.page-id-223 .er-home .er-quicknav__dot--love {
  background: #df528a !important;
  width: 8px !important;
  height: 8px !important;
}
body.page-id-223 .er-home .er-search {
  background: linear-gradient(105deg,#fff5fa,#fff) !important;
  border: 1px solid #f3d6e3 !important;
  border-radius: 19px !important;
  box-shadow: 0 8px 24px rgba(150,54,100,.05) !important;
}
body.page-id-223 .er-home .er-search__input {
  border: 1px solid #dfb8cb !important;
  border-radius: 100px !important;
}
body.page-id-223 .er-home .er-search__submit {
  background: #d63274 !important;
  border-radius: 100px !important;
  min-width: 74px !important;
}
body.page-id-223 .er-home .er-search__submit:hover { background:#a92159 !important; }
/* Magazine section headings, with one hand-drawn underline. */
body.page-id-223 .er-home .er-section-index,
body.page-id-223 .er-home .elr26-popular__eyebrow,
body.page-id-223 .er-home .er-topic-signature { color:#d42d71 !important; }
body.page-id-223 .er-home .er-section-head__copy .er-section-title,
body.page-id-223 .er-home .elr26-popular__title {
  position: relative;
  display: inline-block;
  color: #222543 !important;
  padding-bottom: 9px !important;
}
body.page-id-223 .er-home .er-section-head__copy .er-section-title::after,
body.page-id-223 .er-home .elr26-popular__title::after {
  content:"" !important;
  display:block !important;
  position:absolute;
  width: 90px;
  height: 10px;
  bottom:-3px;
  left: 34%;
  background: none !important;
  border: none !important;
  border-bottom: 3px solid #f186ab !important;
  border-radius: 50%;
  transform: rotate(-5deg);
  opacity:.95;
  pointer-events:none;
}
body.page-id-223 .er-home .er-section { padding-top: clamp(38px,5.4vw,64px) !important; padding-bottom: clamp(38px,5.4vw,64px) !important; }
/* Latest cards: artwork remains article-owned, frame becomes editorial. */
body.page-id-223 .er-home .er-latest-layout .widget-entry-card-link {
  overflow: hidden;
  border: 1px solid #efdce6 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 7px 24px rgba(109,50,84,.07) !important;
  transition: transform .2s ease,box-shadow .2s ease;
}
body.page-id-223 .er-home .er-latest-layout .widget-entry-card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(109,50,84,.14) !important;
}
body.page-id-223 .er-home .er-latest-layout .widget-entry-card {
  overflow: hidden;
  border-radius: 15px !important;
}
body.page-id-223 .er-home .er-latest-layout .widget-entry-card-thumb {
  overflow: hidden;
  margin: 0 !important;
  background: #ffeaf3;
}
body.page-id-223 .er-home .er-latest-layout .widget-entry-card-thumb img {
  display: block;
  width:100%;
  height:auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
body.page-id-223 .er-home .er-latest-layout .widget-entry-card-title {
  color: #242640 !important;
  line-height: 1.52 !important;
  font-weight: 800 !important;
}
body.page-id-223 .er-home .er-latest-layout .widget-entry-card-content { padding: 14px 16px !important; }
/* Main attraction: four original illustrated stories, links and copy preserved. */
body.page-id-223 .er-home .elr26-popular {
  position: relative;
  border-top: 1px solid #f4dce7 !important;
  border-bottom: 1px solid #f4dce7 !important;
  background: radial-gradient(circle at 96% 8%,rgba(248,193,220,.20),transparent 29%),
    linear-gradient(180deg,#fffafd,#fff) !important;
}
body.page-id-223 .er-home .elr26-popular__head { margin-bottom: 27px !important; }
body.page-id-223 .er-home .elr26-popular__grid { gap: 16px !important; }
body.page-id-223 .er-home .elr26-popular__grid > article.elr26-popular-card {
  position:relative !important;
  isolation:isolate;
  display:flex !important;
  flex-direction:column !important;
  flex:0 0 calc(50% - 8px) !important;
  width:calc(50% - 8px) !important;
  max-width:calc(50% - 8px) !important;
  min-width:0 !important;
  min-height:297px !important;
  padding: clamp(21px,2.75vw,31px) !important;
  border:1px solid #f5d0e0 !important;
  border-radius:22px !important;
  background-color:#ffdfed !important;
  background-image:linear-gradient(90deg,rgba(255,248,251,.96),rgba(255,244,249,.78) 56%,rgba(255,246,251,.02) 100%),
    url("./er-series-kyosuki.svg") !important;
  background-position:center,center right !important;
  background-repeat:no-repeat !important;
  background-size:cover !important;
  box-shadow: 0 9px 24px rgba(139,44,87,.09) !important;
  transition:transform .2s ease,box-shadow .2s ease;
}
body.page-id-223 .er-home .elr26-popular__grid > article.elr26-popular-card:nth-of-type(2) {
  border-color:#f3dbc9 !important;
  background-color:#fff0e8 !important;
  background-image:linear-gradient(90deg,rgba(255,251,245,.96),rgba(255,246,236,.74) 52%,rgba(255,248,239,.07)),
    url("./er-series-ainosato.svg") !important;
}
body.page-id-223 .er-home .elr26-popular__grid > article.elr26-popular-card:nth-of-type(3) {
  border-color:#a63a62 !important;
  color:#fff !important;
  background-color:#992c56 !important;
  background-image:linear-gradient(90deg,rgba(81,14,44,.96),rgba(124,22,63,.77) 53%,rgba(139,28,66,.05)),
    url("./er-series-joto.svg") !important;
}
body.page-id-223 .er-home .elr26-popular__grid > article.elr26-popular-card:nth-of-type(4) {
  border-color:#a9dfed !important;
  background-color:#bdeeff !important;
  background-image:linear-gradient(90deg,rgba(231,250,255,.98),rgba(226,249,255,.78) 55%,rgba(221,246,255,.05)),
    url("./er-series-shuffle.svg") !important;
}
body.page-id-223 .er-home article.elr26-popular-card::before,
body.page-id-223 .er-home article.elr26-popular-card::after {
  content:none !important;
  display:none !important;
}
body.page-id-223 .er-home .elr26-popular__grid > article.elr26-popular-card:hover {
  transform:translateY(-4px);
  box-shadow:0 17px 34px rgba(130,47,90,.15) !important;
}
body.page-id-223 .er-home .elr26-popular-card > * { position:relative; z-index:1; }
body.page-id-223 .er-home .elr26-popular-card__meta {
  display: inline-block !important;
  align-self:flex-start;
  width:auto !important;
  padding:5px 11px !important;
  margin:0 0 12px !important;
  border-radius:999px !important;
  font-size:10px !important;
  letter-spacing:.05em !important;
  color: #b42862 !important;
  background:rgba(255,255,255,.82) !important;
  box-shadow:0 2px 9px rgba(132,58,94,.08);
}
body.page-id-223 .er-home .elr26-popular-card__title {
  color:#75264d !important;
  font-family: "Hiragino Mincho ProN","Yu Mincho",serif !important;
  font-size:clamp(23px,2.8vw,35px) !important;
  font-weight:800 !important;
  letter-spacing:.01em !important;
  line-height:1.42 !important;
  max-width:90%;
  text-shadow:0 1px 0 rgba(255,255,255,.5);
}
body.page-id-223 .er-home .elr26-popular-card__description {
  color:#59485c !important;
  font-size:clamp(12px,1.2vw,14px) !important;
  line-height:1.74 !important;
  max-width:82%;
  font-weight:600;
}
body.page-id-223 .er-home .elr26-popular-card__action {
  margin-top:auto !important;
  padding-top:14px !important;
}
body.page-id-223 .er-home .elr26-popular-card__link {
  display:inline-flex !important;
  align-items:center;
  min-height:40px;
  padding:9px 17px !important;
  border:1px solid #e9b7cc !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.90) !important;
  color:#a62761 !important;
  box-shadow:0 4px 13px rgba(150,48,88,.08);
  font-size:12px !important;
  font-weight:800 !important;
  text-decoration:none !important;
}
body.page-id-223 .er-home .elr26-popular__grid > article.elr26-popular-card:nth-of-type(3) .elr26-popular-card__title,
body.page-id-223 .er-home .elr26-popular__grid > article.elr26-popular-card:nth-of-type(3) .elr26-popular-card__description {
  color:#fff6fb !important;
  text-shadow: 0 1px 2px rgba(55,12,29,.35) !important;
}
body.page-id-223 .er-home .elr26-popular__grid > article.elr26-popular-card:nth-of-type(3) .elr26-popular-card__meta {
  color:#a92a59 !important;
}
/* Series directory & tags: soft chips, not a field of identical white pills. */
body.page-id-223 .er-home .er-series-directory {
  background:linear-gradient(180deg,#fff,#fff8fb) !important;
}
body.page-id-223 .er-home .er-series-buttons a {
  border-radius:999px !important;
  border-color:#f1cada !important;
  background:linear-gradient(130deg,#fff5fa,#f7ecf8) !important;
  color:#893058 !important;
  box-shadow:0 4px 12px rgba(130,50,95,.045);
}
body.page-id-223 .er-home .er-series-buttons a:nth-child(4n+2) {
  background:linear-gradient(130deg,#f5f0fc,#eae5fa) !important;
}
body.page-id-223 .er-home .er-series-buttons a:nth-child(4n+3) {
  background:linear-gradient(130deg,#e9f8fb,#f5fbfd) !important;
}
body.page-id-223 .er-home .er-series-buttons a:hover { border-color:#d24d82 !important; }
/* Related story cards remain linked to actual article thumbnail data. */
body.page-id-223 .er-home .er-topic-shell--love {
  background:linear-gradient(160deg,#fff9fc,#fff3f8 63%,#fffdfd) !important;
}
body.page-id-223 .er-home .er-topic-shell .widget-entry-card-link {
  overflow:hidden;
  border:1px solid #f0deea !important;
  border-radius:16px !important;
  background:#fff !important;
  box-shadow:0 7px 22px rgba(125,45,91,.06) !important;
  transition:transform .2s ease, box-shadow .2s ease;
}
body.page-id-223 .er-home .er-topic-shell .widget-entry-card-link:hover {
  transform:translateY(-3px);
  box-shadow:0 13px 27px rgba(125,45,91,.12) !important;
}
/* Popular content: royal navy + editorial ribbon accents. */
body.page-id-223 .er-home .er-ranking-shell {
  position:relative;
  overflow:hidden;
  background:radial-gradient(circle at 88% 8%,rgba(211,81,141,.26),transparent 35%),
    repeating-linear-gradient(135deg,transparent 0,transparent 96px,rgba(255,255,255,.018) 97px,rgba(255,255,255,.018) 98px),
    #1d2442 !important;
}
body.page-id-223 .er-home .er-ranking-shell::before {
  content:"";
  position:absolute;
  right:-75px;
  bottom:-75px;
  width:250px;
  height:250px;
  border:18px solid rgba(241,132,176,.10);
  border-radius:50%;
  pointer-events:none;
}
body.page-id-223 .er-home .er-ranking-shell .widget-entry-card-link {
  overflow:hidden;
  border:1px solid rgba(255,214,232,.28) !important;
  border-radius:13px !important;
  background:#fff !important;
  box-shadow:0 7px 20px rgba(5,12,35,.15) !important;
}
body.page-id-223 .er-home .er-ranking-shell .widget-entry-card-title { color:#202642 !important; }
/* Editorial policy: readability first. */
body.page-id-223 .er-home .er-standard-card {
  border:1px solid #f2e1e8 !important;
  border-radius:13px !important;
  box-shadow:0 4px 15px rgba(109,44,86,.035) !important;
}
body.page-id-223 .er-home .er-standard-card__number { color:#d9397c !important; }
/* Rounds are intentional; content and links remain unchanged. */
body.page-id-223 .er-home a:focus-visible,
body.page-id-223 .er-home button:focus-visible,
body.page-id-223 .er-home input:focus-visible {
  outline:3px solid #6553b4 !important;
  outline-offset:3px !important;
}
@media (max-width: 900px) {
  body.page-id-223 .er-home .elr26-hero__main {
    min-height:250px;
    padding:34px 30px !important;
  }
  body.page-id-223 .er-home .elr26-popular__grid > article.elr26-popular-card {
    min-height:260px !important;
  }
}
@media (max-width: 640px) {
  body.page-id-223 .er-home .elr26-hero { border-radius:18px !important; }
  body.page-id-223 .er-home .elr26-hero__main {
    min-height:0;
    padding:29px 22px 27px !important;
    background-image:linear-gradient(90deg,rgba(255,252,253,.97),rgba(255,250,252,.91) 65%,rgba(255,250,252,.55)),
      url("./er-love-hero.svg") !important;
    background-size:cover !important;
  }
  body.page-id-223 .er-home .elr26-hero__main::before { left:22px; top:12px; width:46px; height:4px; }
  body.page-id-223 .er-home .elr26-hero__title { font-size:clamp(27px,6.5vw,34px) !important; }
  body.page-id-223 .er-home .elr26-hero__lead { font-size:13px !important; }
  body.page-id-223 .er-home .elr26-hero__side {
    gap:9px !important;
    padding:10px !important;
  }
  body.page-id-223 .er-home .elr26-hero-card {
    min-height:135px !important;
    padding:18px 15px !important;
    border-radius:12px !important;
  }
  body.page-id-223 .er-home .elr26-hero-card__title { font-size:17px !important; }
  body.page-id-223 .er-home .elr26-hero-card__text { font-size:11px !important; }
  body.page-id-223 .er-home .elr26-hero-card::before { font-size:63px !important; }
  body.page-id-223 .er-home .er-quicknav__list a { padding:9px 11px !important; font-size:11px !important; }
  body.page-id-223 .er-home .er-section { padding:33px 18px !important; }
  body.page-id-223 .er-home .elr26-popular { padding:33px 18px !important; }
  body.page-id-223 .er-home .elr26-popular__grid > article.elr26-popular-card {
    flex:0 0 100% !important;
    width:100% !important;
    max-width:100% !important;
    min-height:260px !important;
    padding:22px !important;
    border-radius:17px !important;
  }
  body.page-id-223 .er-home .elr26-popular-card__title { font-size:clamp(24px,7vw,32px) !important; }
  body.page-id-223 .er-home .elr26-popular-card__description { font-size:12px !important; }
  body.page-id-223 .er-home .elr26-popular-card__link { font-size:11px !important; min-height:38px; padding:8px 11px !important; }
  body.page-id-223 .er-home .elr26-popular-card__meta { font-size:9px !important; }
}
@media (max-width: 390px) {
  body.page-id-223 .er-home .elr26-hero__side { grid-template-columns:minmax(0,1fr) !important; }
  body.page-id-223 .er-home .elr26-hero-card { min-height:108px !important; }
  body.page-id-223 .er-home .elr26-popular-card__description { max-width:92%; }
}
@media (hover:hover) {
  body.page-id-223 .er-home .elr26-popular-card__link:hover {
    color:#fff !important;
    background:#bf2a69 !important;
    border-color:#bf2a69 !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.page-id-223 .er-home .elr26-popular__grid > article.elr26-popular-card,
  body.page-id-223 .er-home .er-latest-layout .widget-entry-card-link,
  body.page-id-223 .er-home .er-topic-shell .widget-entry-card-link {
    transition:none !important;
    transform:none !important;
  }
}