/* 実績・ブログの記事1本（旧本文）を、サイト共通の見た目にそろえる。旧サイトの CSS の後に読む。
   共通の値: 帯の高さ240px・本文16px・行の間1.9倍・字の色#333・補足14px #5c5c5c・線#d9d9d9・角丸12px・節の間64px */
.legacy-body.single { color: #333; }
/* 題名の帯: 写真に暗い膜、白い題名。点の模様は外す */
.legacy-body.single #top_title_area { height: 240px; min-height: 0; padding: 0; display: flex; align-items: center; }
.legacy-body.single #top_title_area::before { background: linear-gradient(rgba(38, 38, 38, .55), rgba(38, 38, 38, .55)) !important; opacity: 1 !important; }
.legacy-body.single #top_title_area::after { display: none !important; }
.legacy-body.single #top_title_area .l-topTitleArea__img { filter: grayscale(.2); }
.legacy-body.single .l-topTitleArea__body { position: relative; z-index: 1; width: min(100% - 32px, 1120px); max-width: none; margin: 0 auto; padding: 0; }
.legacy-body.single .l-topTitleArea .c-postTitle__ttl { font-size: 40px; font-weight: 700; line-height: 1.5; letter-spacing: .08em; color: #fff; text-shadow: none; }
.legacy-body.single .l-topTitleArea .c-postTitle__date { display: none; }
.legacy-body.single .l-topTitleArea .p-articleMetas { margin-top: 16px; }
.legacy-body.single .l-topTitleArea :is(.c-taxList__link, .c-categoryList__link) { padding: 0 8px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 999px; background: none; color: #fff; font-size: 12px; }
.legacy-body.single .l-topTitleArea :is(.c-postTimes, .c-postTimes__posted) { color: #fff; font-size: 12px; }
/* パンくず: 共通と同じ幅と大きさ */
.legacy-body.single .p-breadcrumb { padding: 8px 0; background: none; }
.legacy-body.single .p-breadcrumb__list { width: min(100% - 32px, 1120px); max-width: none; margin: 0 auto; padding: 0; font-size: 12px; }
.legacy-body.single .p-breadcrumb__text { color: #333; }
/* 本文: 読みやすい幅（800px）で真ん中に */
.legacy-body.single #content.l-content { width: min(100% - 32px, 800px); max-width: none; margin: 0 auto; padding: 64px 0 96px; }
.legacy-body.single .l-mainContent { width: 100%; max-width: none; }
.legacy-body.single .l-mainContent__inner > .p-articleHead { display: none; } /* 帯の題名と同じものが本文の頭にもう一度出ていた */
.legacy-body.single .sakuhin_data { margin: 0 0 32px; font-size: 14px; color: #5c5c5c; }
.legacy-body.single .post_content { font-size: 16px; line-height: 1.9; color: #333; }
.legacy-body.single .post_content p { margin: 0 0 1.5em; padding: 0; }
.legacy-body.single .post_content :is(h2, h3, h4) { margin: 64px 0 16px; padding: 0; border: 0; background: none; color: #333; line-height: 1.5; }
.legacy-body.single .post_content :is(h2, h3, h4)::before, .legacy-body.single .post_content :is(h2, h3, h4)::after { display: none; }
.legacy-body.single .post_content h2 { font-size: 24px; font-weight: 700; }
.legacy-body.single .post_content h3 { font-size: 20px; font-weight: 700; }
.legacy-body.single .post_content h4 { font-size: 16px; font-weight: 700; }
.legacy-body.single .post_content :is(h2, h3, h4):empty { display: none; }
/* 写真: 本文の幅いっぱい・角丸・説明は小さく灰色 */
.legacy-body.single .post_content img { display: block; max-width: 100%; height: auto; border-radius: 16px; }
.legacy-body.single .post_content .wp-caption { width: auto !important; max-width: 100%; margin: 0 0 32px; padding: 0; border: 0; background: none; }
.legacy-body.single .post_content .wp-caption img { width: 100%; }
.legacy-body.single .post_content .wp-caption-text { margin: 8px 0 0; padding: 0; font-size: 14px; line-height: 1.7; color: #5c5c5c; text-align: left; }
.legacy-body.single .post_content a { color: #333; text-decoration: underline; text-underline-offset: 4px; }
/* 目次・リンクの札・囲み: 白地に細い線 */
.legacy-body.single .post_content .p-toc { width: 100%; max-width: none; margin: 32px 0; padding: 24px 32px; border: 1px solid #d9d9d9; border-radius: 16px; background: none; box-shadow: none; }
.legacy-body.single .post_content .p-toc__ttl { font-size: 16px; font-weight: 700; }
.legacy-body.single .post_content .p-toc__ttl::before { display: none; }
.legacy-body.single .post_content .p-toc__list { margin: 16px 0 0; font-size: 14px; }
.legacy-body.single .post_content .linkcard { margin: 0 0 16px; }
.legacy-body.single .post_content :is(.lkc-external-wrap, .lkc-internal-wrap) { max-width: 100%; border: 1px solid #d9d9d9; border-radius: 16px; background: #fff; box-shadow: none; }
.legacy-body.single .post_content .su-note { margin: 32px 0; border: 0 !important; border-radius: 16px !important; }
.legacy-body.single .post_content .su-note-inner { padding: 24px 32px !important; border: 1px solid #d9d9d9 !important; border-radius: 16px !important; background: #fff !important; color: #333 !important; }
/* 記事の終わり: 分類の札とシェア。横に浮いていた色付きのシェアは外し、下のシェアは白地に細い線 */
.legacy-body.single .c-shareBtns.-fix { display: none !important; }
.legacy-body.single .p-articleFoot { margin-top: 64px; padding-top: 24px; border-top: 1px solid #d9d9d9; }
.legacy-body.single .p-articleFoot :is(.c-taxList__link, .c-categoryList__link) { padding: 0 8px; border: 1px solid #d9d9d9; border-radius: 999px; background: none; color: #333; font-size: 12px; }
.legacy-body.single .c-shareBtns.-bottom { margin-top: 32px; }
.legacy-body.single .c-shareBtns__message { padding: 0; font-size: 14px; color: #5c5c5c; }
.legacy-body.single .c-shareBtns__message::before, .legacy-body.single .c-shareBtns__message::after { display: none; }
.legacy-body.single .c-shareBtns.-bottom .c-shareBtns__list { gap: 8px; }
.legacy-body.single .c-shareBtns.-bottom .c-shareBtns__btn { height: 40px; border: 1px solid #d9d9d9; border-radius: 999px; background: #fff !important; color: #333 !important; }
/* スマホ */
@media (max-width: 767px) {
  .legacy-body.single #top_title_area { height: 200px; }
  .legacy-body.single .l-topTitleArea .c-postTitle__ttl { font-size: 20px; }
  .legacy-body.single #content.l-content { padding: 32px 0 64px; }
  .legacy-body.single .post_content :is(.p-toc, .su-note-inner) { padding: 16px !important; }
}
/* 字体はサイト共通（ヒラギノ角ゴ）。印の字体（icon の付く物）は除く */
.legacy-body.single, .legacy-body.single :is(h1, h2, h3, h4, p, li, a, span, div, time, figcaption, td, th, dt, dd, strong, b, em):not([class*="icon"]) { font-family: var(--font-body, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif); }
.legacy-body.single .post_content, .legacy-body.single .post_content p { font-size: 16px; }
.legacy-body.single .c-shareBtns.-bottom .c-shareBtns__btn, .legacy-body.single .c-shareBtns.-bottom .c-shareBtns__icon { color: #333 !important; }
.legacy-body.single #content.l-content { padding-top: 64px; }
.legacy-body.single .sakuhin_data:not(:has(span:not(:empty))) { display: none; }
.legacy-body.single { background: #fff; }
/* リンクの札の中身を札の幅に収める（スマホでサイト名の行がはみ出していた） */
.legacy-body.single .post_content .linkcard :is(div, a, span) { max-width: 100%; min-width: 0; box-sizing: border-box; }
.legacy-body.single .post_content .lkc-domain { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.legacy-body.single .post_content .lkc-domain { width: auto !important; max-width: 100% !important; }
.legacy-body.single .post_content :is(.lkc-card, .lkc-content, .lkc-info, .lkc-excerpt, .lkc-title, .lkc-url) { max-width: 100% !important; overflow-wrap: anywhere; }
.legacy-body.single .post_content .lkc-url { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 767px) { .legacy-body.single .post_content .lkc-excerpt { display: none; } }
