/* お知らせの記事ページ（single-info.php）。現サイトの記事ページの見た目の再現。legacy.css と同じく .gp-legacy の下にだけ効かせ、:where() で詳しさを増やさない。
   旧サイトの html の文字サイズは 14px（min(4vw, 14px)）で、rem は --lg-rem に置き換えてある。 */
:where(.gp-legacy) #lg-content section.lg-single:not(.no-padding) { padding: 0 0 calc(var(--lg-rem) * 5); }
:where(.gp-legacy) .lg-single aside { padding-top: calc(var(--lg-rem) * 5); }

:where(.gp-legacy) .lg-single #description .lg-meta { margin-bottom: var(--lg-rem); }
:where(.gp-legacy) .lg-single #description .date { margin-right: var(--lg-rem); }
:where(.gp-legacy) #lg-content .lg-single h1 { font-size: clamp(calc(var(--lg-rem) * 2.2), 2.6vw, calc(var(--lg-rem) * 3.8)); }

:where(.gp-legacy) .entry-content { clear: both; position: relative; margin: 0 0 calc(var(--lg-rem) * 3); text-align: left; word-wrap: break-word; line-height: 1.7; }
:where(.gp-legacy) .entry-content :is(div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em, strong, img, ul, ol, li, dl, dt, dd, table, tbody, tr, th, td, figure, figcaption) { margin: 0; padding: 0; border: 0; outline: 0; vertical-align: baseline; }
:where(.gp-legacy) .entry-content span { display: inline; }
:where(.gp-legacy) .entry-content p { margin: 0; line-height: 2; }
:where(.gp-legacy) .entry-content :is(h1, h2, h3, h4, h5, h6) { clear: both; margin: 0 0 10px; padding: 10px 0 0; line-height: 1.2; font-weight: 600; }
:where(.gp-legacy) .entry-content h1 { font-size: calc(var(--lg-rem) * 1.5) !important; }
:where(.gp-legacy) .entry-content h2 { font-size: calc(var(--lg-rem) * 1.4) !important; }
:where(.gp-legacy) .entry-content h3 { font-size: calc(var(--lg-rem) * 1.3) !important; }
:where(.gp-legacy) .entry-content h4 { font-size: calc(var(--lg-rem) * 1.2) !important; }
:where(.gp-legacy) .entry-content h5 { font-size: calc(var(--lg-rem) * 1.1) !important; }
:where(.gp-legacy) .entry-content h6 { font-size: var(--lg-rem) !important; }
:where(.gp-legacy) .entry-content :is(ul, ol, dl) { margin-bottom: 24px; }
:where(.gp-legacy) .entry-content ol { margin-left: 1.5em; list-style: decimal outside none; }
:where(.gp-legacy) .entry-content ul { margin-left: 1.3em; list-style: circle outside none; }
:where(.gp-legacy) .entry-content li > :is(ul, ol) { margin-bottom: 0; }
:where(.gp-legacy) .entry-content :is(li, dt, dd) { line-height: 2.2; }
:where(.gp-legacy) .entry-content dt { font-weight: bold; }
:where(.gp-legacy) .entry-content dd { margin-bottom: 1em; }
:where(.gp-legacy) .entry-content table { width: 100%; margin: 0 0 5px; border-collapse: collapse; border-spacing: 0; }
:where(.gp-legacy) .entry-content :is(th, td) { padding: 10px 15px; line-height: 2.2; border: 1px #c5b9b3 solid; text-align: left; }
:where(.gp-legacy) .entry-content th { font-weight: normal; }
:where(.gp-legacy) .entry-content blockquote { position: relative; margin: 1em 0; padding: 20px 55px; background: rgba(245, 245, 245, .8); quotes: none; }
:where(.gp-legacy) .entry-content blockquote::before { content: "\201C"; position: absolute; top: 0; left: 0; color: #c8c8c8; font-family: serif; font-size: 600%; line-height: 1em; }
:where(.gp-legacy) .entry-content blockquote::after { content: "\201D"; position: absolute; right: 0; bottom: -16px; color: #c8c8c8; font-family: serif; font-size: 600%; line-height: 0; }
:where(.gp-legacy) .entry-content hr { display: block; height: 1px; margin: 1em 0; padding: 0; border: 0; border-top: 1px solid #ccc; }
:where(.gp-legacy) .entry-content img { height: auto; max-width: 100%; -ms-interpolation-mode: bicubic; }
:where(.gp-legacy) .entry-content iframe { width: 100% !important; }
:where(.gp-legacy) .entry-content :is(a:link, a:visited) { color: #00e; text-decoration: underline; }
:where(.gp-legacy) .entry-content a:visited { color: #551a8b; }
:where(.gp-legacy) .entry-content a:active { color: red; }
:where(.gp-legacy) .entry-content .alignleft { float: left; }
:where(.gp-legacy) .entry-content .alignright { float: right; }
:where(.gp-legacy) .entry-content .aligncenter { display: block; margin-right: auto; margin-bottom: 7px; margin-left: auto; }
:where(.gp-legacy) .entry-content img.alignleft { margin: 7px 24px 7px 0; }
:where(.gp-legacy) .entry-content img.alignright { margin: 7px 0 7px 24px; }
:where(.gp-legacy) .entry-content .wp-caption { max-width: 100%; margin-bottom: 24px; padding: 5px; box-sizing: border-box; border: 1px solid #ccc; border-radius: 5px; background: #fff; }
:where(.gp-legacy) .entry-content .wp-caption-text { margin: 9px auto; font-size: 12px; font-style: italic; line-height: 1.5; text-align: center; }
:where(.gp-legacy) .entry-content .wp-caption img { display: block; margin: 0 auto; }
@media only screen and (max-width: 599px) {
  :where(.gp-legacy) .entry-content :is(.alignright, .alignleft) { float: none; }
  :where(.gp-legacy) .entry-content img:is(.alignright, .alignleft) { display: block; margin: 7px auto; }
}

:where(.gp-legacy) .share { margin-top: calc(var(--lg-rem) * 2); text-align: center; }
:where(.gp-legacy) .share a.line { width: 32px; }
:where(.gp-legacy) .share a.line svg { display: block; width: 90%; height: auto; margin: 2px auto; }

:where(.gp-legacy) .page_navi { margin: calc(var(--lg-rem) * 3) auto; }
:where(.gp-legacy) .page_navi :is(.next, .prev) { width: 4em; }
@media (min-width: 960px) {
  :where(.gp-legacy) .page_navi a:hover { color: var(--color-primary); }
}
