/* /2025nightshopping/（旧サイトの固定ページ「ナイトショッピング」）を新サイトの LP 管理に移すための CSS（2026-10-09・gen_legacy_css.mjs で生成）。
   本文の枠 section#primary.content-area に class="lucua-legacy" を付けて読み込む。効くのは枠の中だけ */
/* ① 新サイトの CSS のうち、枠の中の要素に当たる規則（13 件）を、枠の中でだけ打ち消す（revert） */
:where(.lucua-legacy) *,
:where(.lucua-legacy):is(*),
:where(.lucua-legacy) ::before,
:where(.lucua-legacy):is(*)::before,
:where(.lucua-legacy) ::after,
:where(.lucua-legacy):is(*)::after { box-sizing: revert } /* reset.css */
:where(.lucua-legacy) p,
:where(.lucua-legacy) figure { margin-block-end: revert } /* reset.css */
:where(.lucua-legacy) a:not([class]) { text-decoration-skip-ink: revert; color: revert } /* reset.css */
:where(.lucua-legacy) img { max-width: revert; display: revert } /* reset.css */
:where(.lucua-legacy) :target,
:where(.lucua-legacy):is(:target) { scroll-margin-block-start: revert; scroll-margin-block-end: revert } /* reset.css */
:where(.lucua-legacy) img { user-select: revert } /* common.css */
:where(.lucua-legacy) p,
:where(.lucua-legacy) figure { padding-top: revert; padding-right: revert; padding-bottom: revert; padding-left: revert; margin-top: revert; margin-right: revert; margin-bottom: revert; margin-left: revert } /* common.css */
:where(.lucua-legacy) a { color: revert; text-decoration-line: revert; text-decoration-thickness: revert; text-decoration-style: revert; text-decoration-color: revert } /* common.css */
@media (prefers-reduced-motion: no-preference) {
:where(.lucua-legacy) :where(a, button) { transition-property: revert; transition-duration: revert; transition-timing-function: revert; transition-delay: revert; transition-behavior: revert } /* common.css */
}
:where(.lucua-legacy) :focus-visible,
:where(.lucua-legacy):is(:focus-visible) { outline-color: revert; outline-style: revert; outline-width: revert; outline-offset: revert } /* common.css */
@media (forced-colors: active) {
:where(.lucua-legacy) :focus-visible,
:where(.lucua-legacy):is(:focus-visible) { outline-color: revert } /* common.css */
}
:where(.lucua-legacy) :is(a, area, button, summary, label, input, select, textarea) { -webkit-tap-highlight-color: revert } /* common.css */
@media (max-width: 767px) {
:where(.lucua-legacy) :is(a, area, button, summary, label, input, select, textarea) { -webkit-tap-highlight-color: revert } /* common.css */
}
/* ② 打ち消しが旧サイトの指定まで消さないよう、旧サイトの同じ指定を `旧のセレクタ:is(新サイトのセレクタ)` で重ねる（21 件） */
:where(.lucua-legacy) .wp-block-image img:is(*) { box-sizing: border-box }
:where(.lucua-legacy) .wp-block-image img:is(img) { max-width: 100% }
:where(.lucua-legacy) .wp-block-image .aligncenter:is(figure) { margin-left: auto; margin-right: auto }
:where(.lucua-legacy) .wp-block-image figure:is(figure) { margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px }
:where(.lucua-legacy) :where(img[class*="wp-image-"]):is(img) { max-width: 100% }
:where(.lucua-legacy) :where(figure):is(figure) { margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px }
:where(.lucua-legacy):is(*):is(*) { box-sizing: border-box }
:where(.lucua-legacy) :is(*)::after { box-sizing: border-box }
:where(.lucua-legacy):is(*):is(*)::after { box-sizing: border-box }
:where(.lucua-legacy) :is(*)::before { box-sizing: border-box }
:where(.lucua-legacy):is(*):is(*)::before { box-sizing: border-box }
:where(.lucua-legacy) *:is(*) { box-sizing: border-box }
:where(.lucua-legacy) a:is(a:not([class])) { color: rgb(45, 49, 53) }
:where(.lucua-legacy) a:is(a) { text-decoration-line: none; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial }
:where(.lucua-legacy) img:is(img) { max-width: 100% }
:where(.lucua-legacy) article.page .entry-content > :first-child:is(p) { margin-top: 0px }
:where(.lucua-legacy) article.page .entry-content p:is(p) { margin-top: 24px; margin-right: 0px; margin-bottom: 24px; margin-left: 0px }
:where(.lucua-legacy) article.page .entry-content a:is(a) { text-decoration-line: underline; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial }
:where(.lucua-legacy) article.page .entry-content figure:is(figure) { margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px }
:where(.lucua-legacy) article.page .entry-content .aligncenter:is(img) { display: block }
:where(.lucua-legacy) article.page .entry-content .aligncenter:is(figure) { margin-top: 5px; margin-right: auto; margin-bottom: 5px; margin-left: auto }
/* ③' 旧サイトで枠が親（body など）から受け継いでいた値と、③が使う CSS 変数 */
:where(.lucua-legacy) { color: rgb(45, 49, 53); font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo UI", Meiryo, "Yu Gothic", "Noto Sans CJK JP", sans-serif; font-size: 14px; line-height: 20px; letter-spacing: normal; overflow-wrap: break-word; text-rendering: auto; -webkit-font-smoothing: antialiased }
/* ③ 旧サイトで枠の中に当たっていた CSS を抜き出したもの（38 件）。元: 旧テーマ（/wp-content/themes/lucua/）の normalize.css・style.css ほか、
   WordPress の block-library・インラインの <style>・プラグインの CSS */
:where(.lucua-legacy) .wp-block-image img { box-sizing: border-box; height: auto; max-width: 100%; vertical-align: bottom; } /* style.min.css */
:where(.lucua-legacy) .wp-block-image .aligncenter { display: table; } /* style.min.css */
:where(.lucua-legacy) .wp-block-image .aligncenter { margin-left: auto; margin-right: auto; } /* style.min.css */
:where(.lucua-legacy) .wp-block-image figure { margin: 0px; } /* style.min.css */
:where(.lucua-legacy) .wp-block-table { overflow-x: auto; } /* style.min.css */
:where(.lucua-legacy) .wp-block-table table { border-collapse: collapse; width: 100%; } /* style.min.css */
:where(.lucua-legacy) .wp-block-table td { border: 1px solid; padding: 0.5em; } /* style.min.css */
:where(.lucua-legacy) .entry-content { counter-reset: footnotes 0; } /* style.min.css */
:where(.lucua-legacy) .has-text-align-center { text-align: center; } /* style.min.css */
:where(.lucua-legacy) .aligncenter { clear: both; } /* style.min.css */
:where(.lucua-legacy) :where(img[class*="wp-image-"]) { height: auto; max-width: 100%; } /* style.min.css */
:where(.lucua-legacy) :where(figure) { margin: 0px 0px 1em; } /* style.min.css */
:where(.lucua-legacy) main { display: block; } /* normalize.css */
:where(.lucua-legacy) a { background-color: transparent; } /* normalize.css */
:where(.lucua-legacy) strong { font-weight: bolder; } /* normalize.css */
:where(.lucua-legacy) img { border-style: none; } /* normalize.css */
:where(.lucua-legacy) ::-webkit-file-upload-button,
:where(.lucua-legacy):is(*)::-webkit-file-upload-button { appearance: button; font: inherit; } /* normalize.css */
:where(.lucua-legacy) *,
:where(.lucua-legacy):is(*),
:where(.lucua-legacy) ::after,
:where(.lucua-legacy):is(*)::after,
:where(.lucua-legacy) ::before,
:where(.lucua-legacy):is(*)::before { box-sizing: border-box; } /* style.css */
:where(.lucua-legacy) a { color: rgb(45, 49, 53); text-decoration: none; } /* style.css */
:where(.lucua-legacy) img { max-width: 100%; height: auto; } /* style.css */
:where(.lucua-legacy) article.page .entry-content { margin: 0px 16px; } /* style.css */
:where(.lucua-legacy) article.page .entry-content > :first-child { margin-top: 0px; } /* style.css */
:where(.lucua-legacy) article.page .entry-content p { font-size: 0.875rem; line-height: 1.71429; letter-spacing: 0.07312rem; margin: 24px 0px; } /* style.css */
:where(.lucua-legacy) article.page .entry-content strong { font-weight: 700; } /* style.css */
:where(.lucua-legacy) article.page .entry-content a { text-decoration: underline; } /* style.css */
:where(.lucua-legacy) article.page .entry-content table { width: 100%; font-size: 0.75rem; font-weight: 400; line-height: 1.41667; margin: 23px 0px; border-collapse: collapse; } /* style.css */
:where(.lucua-legacy) article.page .entry-content table { border-top: 1px solid rgba(45, 49, 53, 0.1); border-bottom: 1px solid rgba(45, 49, 53, 0.1); } /* style.css */
:where(.lucua-legacy) article.page .entry-content td { width: calc(100% - 100px); letter-spacing: 0.02687rem; border-top: 1px solid rgba(45, 49, 53, 0.1); border-bottom: 1px solid rgba(45, 49, 53, 0.1); padding: 15px 0px; } /* style.css */
:where(.lucua-legacy) article.page .entry-content figure { margin: 0px; } /* style.css */
:where(.lucua-legacy) article.page .entry-content .aligncenter { display: block; margin: 5px auto; } /* style.css */
:where(.lucua-legacy) #main { background-color: rgb(255, 255, 255); } /* style.css */
:where(.lucua-legacy) #main { padding-bottom: 72px; } /* style.css */
:where(.lucua-legacy) #main { padding-top: 31px; } /* style.css */
:where(.lucua-legacy) article.page .entry-content .wp-block-image .aligncenter { display: table; } /* style.css */
@media screen and (min-width: 876px) {
:where(.lucua-legacy) article.page { max-width: 720px; margin: 0px auto; } /* style.css */
}
@media screen and (min-width: 876px) {
:where(.lucua-legacy) article.page .entry-content { margin: 0px; } /* style.css */
}
@media screen and (min-width: 876px) {
:where(.lucua-legacy) #main { padding-bottom: 100px; } /* style.css */
}
@media screen and (min-width: 876px) {
:where(.lucua-legacy) #main { padding-top: 73px; } /* style.css */
}
/* ⑤ 旧テーマの本文の外枠（div#content.site-content）の overflow を写す（旧テーマ style.css の .site-content { overflow: hidden; position: relative; z-index: 0 } のうち overflow だけ。
   /card/ ほか既存の移設と同じ。旧サイトではここで本文の横のはみ出しを切っていた） */
.site-content { overflow: hidden; }
