/* EmDash CMS extras — kept after switching public theme CSS to Azure WP azure1.
 * Source: extracted from _backup_databricks_20260821 (selectors containing "emdash").
 * Load AFTER style.css + responsive.css.
 */

/* Homepage #sec3 SERVICE cards: per-row equal height, pin CTA to bottom.
 * Do NOT use grid-auto-rows: 1fr — that stretches every row to the tallest
 * card on the page and leaves large empty gaps above short-copy buttons. */
#sec3 .part1 {
  align-items: stretch;
}
#sec3 .part1 .block {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}
#sec3 .part1 .block p {
  flex: 0 1 auto;
  margin-bottom: 0;
  /* ~3 body lines @ 12px — short copy reserves one soft line, not a huge gap */
  min-height: 3.6em;
}
#sec3 .part1 .block .btn_group {
  margin-top: auto;
  width: 100%;
  padding-top: 20px;
}
#sec3 .part1 .block .btn_group a {
  margin-top: 0;
}
/* SERVICE CTA: solid blue so white label is visible on white cards */
#sec3 .part1 .block .btn_group a.right_btn.blue_btn {
  background-color: #007dde;
  border: 1px solid #007dde;
}

/* from backup style.css */
#sec6 .part1 .slicker_parts .slicker_part .block_img figure.emdash-image {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

/* from backup style.css */
#sec6 .part1 .slicker_parts .slicker_part .block_img img,
#sec6 .part1 .slicker_parts .slicker_part .block_img figure.emdash-image img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 250px !important;
  aspect-ratio: unset !important;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  display: block;
  margin: 0 !important;
  margin-bottom: 0 !important;
}

/* NEWS & TOPICS CTA — solid Azure blue (button-dark theme tokens are not set on Azure) */
#sec6 .btn_group a.right_btn.blue_btn,
#sec6 .btn_group button.right_btn.blue_btn {
  background-color: #007dde !important;
  border: 1px solid #007dde !important;
  transition: background-color 0.3s ease, border-color 0.3s ease !important;
}
#sec6 .btn_group a.right_btn.blue_btn:hover,
#sec6 .btn_group button.right_btn.blue_btn:hover {
  background-color: #0066b8 !important;
  border-color: #0066b8 !important;
}
#sec6 .btn_group a.right_btn.blue_btn span::after,
#sec6 .btn_group button.right_btn.blue_btn span::after {
  background: none !important;
  width: 0 !important;
  height: 0 !important;
  left: auto !important;
  transition: none !important;
  content: none !important;
}
#sec6 .btn_group a.right_btn.blue_btn span,
#sec6 .btn_group button.right_btn.blue_btn span,
#sec6 .btn_group a.right_btn.blue_btn span strong,
#sec6 .btn_group button.right_btn.blue_btn span strong,
#sec6 .btn_group a.right_btn.blue_btn:hover span strong,
#sec6 .btn_group button.right_btn.blue_btn:hover span strong {
  color: white !important;
}
#sec6 .btn_group a.right_btn.blue_btn::after,
#sec6 .btn_group button.right_btn.blue_btn::after {
  background: url(./../images/arrow_right.svg) no-repeat !important;
}

/* from backup style.css */
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
  :is(
    p,
    ul,
    ol,
    blockquote,
    figure.emdash-image,
    figure.wp-block-image,
    .wp-block-image,
    .wp-block-button,
    .emdash-buttons,
    .wp-block-table,
    hr
  )
  + :is(h2, h2.wp-block-heading),
body.single-custom_work #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
  :is(
    p,
    ul,
    ol,
    blockquote,
    figure.emdash-image,
    figure.wp-block-image,
    .wp-block-image,
    .wp-block-button,
    .emdash-buttons,
    .wp-block-table,
    hr
  )
  + :is(h2, h2.wp-block-heading),
#news_detail_sec1 .part1 .block1 .block_body:is(.entry-content, .wp-block-post-content)
  :is(
    p,
    ul,
    ol,
    blockquote,
    figure.emdash-image,
    figure.wp-block-image,
    .wp-block-image,
    .wp-block-button,
    .emdash-buttons,
    .wp-block-table,
    hr
  )
  + :is(h2, h2.wp-block-heading) {
  margin-top: var(--theme-body-section-headline-margin-top-break, 80px) !important;
}

/* Azure WP: case-study section titles are h3 with blue left bar (style.css).
 * EmDash normalizes majors → h3; keep the same break spacing after body blocks. */
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
  :is(
    p:not(.case-study-letter-bar),
    ul,
    ol,
    blockquote,
    figure.emdash-image,
    figure.wp-block-image,
    .wp-block-image,
    .wp-block-button,
    .emdash-buttons,
    .wp-block-table,
    hr
  )
  + :is(h3, h3.wp-block-heading).has-text-align-left {
  margin-top: var(--theme-body-section-headline-margin-top-break, 80px) !important;
}

/* WP `l  Title` subheads: bold paragraph with letter-l as fake bar */
body.single-custom_work #custom_work_sec2 .part1 p.case-study-letter-bar {
  margin-top: 25px;
  margin-bottom: 0;
  font-weight: bold;
}

/* from backup style.css */
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) figure.emdash-image {
  display: block;
  width: 100%;
  max-width: var(--case-study-image-max, 800px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
  text-align: center;
}

/* WP alignleft/right (e.g. 2016gpf company logo beside 社名 / 事業内容) */
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) .wp-block-image.alignleft,
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) figure.emdash-image.alignleft {
  float: left;
  display: block;
  width: auto !important;
  max-width: min(240px, 45%) !important;
  margin: 0 1.5em 1em 0 !important;
  text-align: left !important;
}
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) .wp-block-image.alignright,
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) figure.emdash-image.alignright {
  float: right;
  display: block;
  width: auto !important;
  max-width: min(240px, 45%) !important;
  margin: 0 0 1em 1.5em !important;
  text-align: right !important;
}
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) .wp-block-image.alignleft figure.emdash-image,
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) .wp-block-image.alignright figure.emdash-image {
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  text-align: inherit !important;
}
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)::after {
  content: "";
  display: table;
  clear: both;
}

/* from backup style.css */
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) figure.emdash-image img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* after general img centering — keep floated logos flush left/right */
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) .wp-block-image.alignleft img,
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) .wp-block-image.alignright img,
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) figure.emdash-image.alignleft img,
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) figure.emdash-image.alignright img {
  width: auto !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* from backup style.css — only strip blue bar before full-width images, not floated logos */
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
  :is(h3, h3.wp-block-heading):has(+ figure.emdash-image:not(.alignleft):not(.alignright)),
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
  :is(h3, h3.wp-block-heading):has(+ .wp-block-image:not(.alignleft):not(.alignright)) {
  border-left: none !important;
  padding-left: 0 !important;
  margin-bottom: var(--theme-body-image-caption-margin-top, 25px) !important;
}

/* from backup style.css */
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
  :is(h3, h3.wp-block-heading).has-text-align-center:has(+ figure.emdash-image),
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
  :is(h3, h3.wp-block-heading):not(.has-text-align-left):has(+ figure.emdash-image):not(.has-text-align-right):not(.has-text-align-justify) {
  text-align: center !important;
}

/* from backup style.css */
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
  :is(h3, h3.wp-block-heading).has-text-align-left:has(+ figure.emdash-image) {
  text-align: left !important;
}

/* from backup style.css */
body.single-custom_work #custom_work_sec2 .part1 a:not(.wp-block-button__link):not(.wp-element-button):not(.emdash-button):not(.button-primary):not(.right_btn):not(.button-dark):not(.button-dark-outline):not(.download_btn) {
  color: var(--theme-accent, #ff5f46) !important;
  text-decoration: none;
  text-underline-offset: 2px;
  opacity: 1;
}

/* from backup style.css */
body.single-custom_work #custom_work_sec2 .part1 a:not(.wp-block-button__link):not(.wp-element-button):not(.emdash-button):not(.button-primary):not(.right_btn):not(.button-dark):not(.button-dark-outline):not(.download_btn):hover,
body.single-custom_work #custom_work_sec2 .part1 a:not(.wp-block-button__link):not(.wp-element-button):not(.emdash-button):not(.button-primary):not(.right_btn):not(.button-dark):not(.button-dark-outline):not(.download_btn):focus-visible {
  color: var(--theme-accent-hover, #e4553f) !important;
  text-decoration: underline;
  opacity: 1;
}

/* from backup style.css */
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
  > .emdash-break-space {
  height: 24px;
  margin: 0;
}

/* WP dotted separators (case study webinar / about blocks) */
body.single-custom_work #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
  hr.wp-block-separator.is-style-dots {
  background: none !important;
  border: none !important;
  height: auto;
  line-height: 1;
  max-width: none;
  margin: 1.75rem 0;
  text-align: center;
  overflow: visible;
  color: #6d6d6d;
}

body.single-custom_work #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
  hr.wp-block-separator.is-style-dots::before {
  content: "···";
  background: none;
  color: inherit;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 1em;
  padding-left: 1em;
  speak: never;
}

body.single-custom_work #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
  hr.wp-block-separator.is-style-dots::after {
  content: none;
}

body.single-custom_work #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
  .emdash-html-block:has(> .wp-block-spacer),
body.single-custom_work #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
  .emdash-html-block:has(> hr.wp-block-separator.is-style-dots) {
  margin: 0;
}

body.single-custom_work #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
  .wp-block-spacer {
  display: block;
  width: 100%;
}

/* Heights from WP `style="height:Npx"` (inline styles are sanitized away).
   Keep a dense table so new case-study spacers (e.g. 29px on Yamanashi) don't collapse. */
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-8 { height: 8px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-10 { height: 10px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-12 { height: 12px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-14 { height: 14px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-16 { height: 16px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-18 { height: 18px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-19 { height: 19px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-20 { height: 20px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-22 { height: 22px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-24 { height: 24px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-25 { height: 25px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-28 { height: 28px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-29 { height: 29px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-30 { height: 30px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-32 { height: 32px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-33 { height: 33px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-35 { height: 35px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-36 { height: 36px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-40 { height: 40px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-44 { height: 44px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-48 { height: 48px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-49 { height: 49px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-50 { height: 50px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-56 { height: 56px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-60 { height: 60px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-64 { height: 64px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-70 { height: 70px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-72 { height: 72px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-74 { height: 74px; }
body.single-custom_work #custom_work_sec2 .part1 .wp-block-spacer.emdash-cw-spacer-80 { height: 80px; }

/* from backup style.css */
#site-content .entry-content figure.emdash-image figcaption,
#site-content .entry-content figure.emdash-embed figcaption,
#site-content .entry-content figure.wp-block-image figcaption,
#site-content .entry-content figcaption.wp-element-caption,
.wp-block-post-content figure.emdash-image figcaption,
.wp-block-post-content figure.emdash-embed figcaption,
.wp-block-post-content figure.wp-block-image figcaption,
.wp-block-post-content figcaption.wp-element-caption,
#news_detail_sec1 .part1 .block1 .block_body:is(.entry-content, .wp-block-post-content) figure.emdash-image figcaption,
#news_detail_sec1 .part1 .block1 .block_body:is(.entry-content, .wp-block-post-content) figure.emdash-embed figcaption,
#news_detail_sec1 .part1 .block1 .block_body:is(.entry-content, .wp-block-post-content) figure.wp-block-image figcaption,
#news_detail_sec1 .part1 .block1 .block_body:is(.entry-content, .wp-block-post-content) figcaption.wp-element-caption,
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) figure.emdash-image figcaption,
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) figure.emdash-embed figcaption,
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) figure.wp-block-image figcaption,
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) figcaption.wp-element-caption {
  font-size: var(--theme-body-image-caption-font-size, 14px) !important;
  line-height: var(--theme-body-image-caption-line-height, 22px) !important;
  text-align: center !important;
  margin-top: var(--theme-body-image-caption-margin-top, 25px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* from backup style.css */
#site-content .entry-content:not(.news-post-body) figure.emdash-image + p.has-text-align-center,
#site-content .entry-content:not(.news-post-body) figure.wp-block-image + p.has-text-align-center,
.wp-block-post-content:not(.news-post-body) figure.emdash-image + p.has-text-align-center,
.wp-block-post-content:not(.news-post-body) figure.wp-block-image + p.has-text-align-center,
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) figure.emdash-image + p.has-text-align-center,
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) figure.wp-block-image + p.has-text-align-center {
  font-size: var(--theme-body-image-caption-font-size, 14px) !important;
  line-height: var(--theme-body-image-caption-line-height, 22px) !important;
  text-align: center !important;
}

/* Caption / figure label ABOVE image (MIC ＜アーキテクチャーイメージ図＞) */
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
  p.has-text-align-center:has(+ figure.emdash-image),
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
  p.has-text-align-center:has(+ .wp-block-image) {
  text-align: center !important;
  margin-bottom: var(--theme-body-image-caption-margin-top, 25px) !important;
}

/* from backup style.css */
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) figure.emdash-image + p:not(.has-text-align-center),
body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) figure.wp-block-image + p:not(.has-text-align-center) {
  font-size: 16px !important;
  line-height: 2.2 !important;
  text-align: left !important;
}

/* from backup style.css */
#news_detail_sec1 .part1 .block1 .block_body.news-post-body figure.emdash-image + p:not(.news-wp-embed-card__excerpt),
#news_detail_sec1 .part1 .block1 .block_body.news-post-body figure.wp-block-image + p:not(.news-wp-embed-card__excerpt) {
  font-size: 16px !important;
  line-height: 2.2 !important;
  text-align: left !important;
}

/* Azure WP accent for in-body links (theme `a { color: accent }`) */
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body a:not(.emdash-button):not(.wp-block-button__link):not(.wp-element-button):not(.button-primary):not(.right_btn):not(.button-dark):not(.button-dark-outline):not(.download_btn) {
  color: #cd2653 !important;
  text-decoration: underline;
}

#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body a:not(.emdash-button):not(.wp-block-button__link):not(.wp-element-button):not(.button-primary):not(.right_btn):not(.button-dark):not(.button-dark-outline):not(.download_btn):hover,
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body a:not(.emdash-button):not(.wp-block-button__link):not(.wp-element-button):not(.button-primary):not(.right_btn):not(.button-dark):not(.button-dark-outline):not(.download_btn):focus-visible {
  color: #a81e44 !important;
}

/* from backup style.css */
#site-content #news_detail_sec1 .part1 .block1 .block_body:is(.entry-content, .wp-block-post-content) .wp-block-button:not(.is-style-link),
#site-content #news_detail_sec1 .part1 .block1 .block_body .emdash-html-block .wp-block-button:not(.is-style-link) {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
  text-align: center;
}

/* Azure WP CTA: pink pill (accent), not Databricks outline tokens */
#site-content #news_detail_sec1 .part1 .block1 .block_body:is(.entry-content, .wp-block-post-content) .wp-block-button:not(.is-style-link) .wp-block-button__link,
#site-content #news_detail_sec1 .part1 .block1 .block_body:is(.entry-content, .wp-block-post-content) .wp-block-button:not(.is-style-link) a.wp-block-button__link,
#site-content #news_detail_sec1 .part1 .block1 .block_body .emdash-html-block .wp-block-button:not(.is-style-link) .wp-block-button__link,
#site-content #news_detail_sec1 .part1 .block1 .block_body .emdash-html-block .wp-block-button:not(.is-style-link) a.wp-block-button__link,
#site-content #news_detail_sec1 .part1 .block1 .block_body .emdash-html-block .wp-block-buttons > a.wp-block-button__link,
#site-content #news_detail_sec1 .part1 .block1 .block_body .emdash-html-block a.wp-block-button__link.wp-element-button,
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body a.emdash-button.emdash-button--fill,
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body a.emdash-button.emdash-button--default {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 50px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 16px 32px !important;
  line-height: 1.25 !important;
  border-radius: 9999px !important;
  background-color: #cd2653 !important;
  background-image: none !important;
  border: none !important;
  color: #fff !important;
  box-shadow: none !important;
  text-decoration: underline !important;
}

/* from backup style.css */
#site-content #news_detail_sec1 .part1 .block1 .block_body:is(.entry-content, .wp-block-post-content) .wp-block-button:not(.is-style-link) .wp-block-button__link strong,
#site-content #news_detail_sec1 .part1 .block1 .block_body:is(.entry-content, .wp-block-post-content) .wp-block-button:not(.is-style-link) a.wp-block-button__link strong,
#site-content #news_detail_sec1 .part1 .block1 .block_body .emdash-html-block .wp-block-button:not(.is-style-link) .wp-block-button__link strong,
#site-content #news_detail_sec1 .part1 .block1 .block_body .emdash-html-block .wp-block-button:not(.is-style-link) a.wp-block-button__link strong,
#site-content #news_detail_sec1 .part1 .block1 .block_body .emdash-html-block a.wp-block-button__link.wp-element-button strong {
  color: inherit !important;
}

/* from backup style.css */
#site-content #news_detail_sec1 .part1 .block1 .block_body:is(.entry-content, .wp-block-post-content) .wp-block-button:not(.is-style-link) .wp-block-button__link:hover,
#site-content #news_detail_sec1 .part1 .block1 .block_body:is(.entry-content, .wp-block-post-content) .wp-block-button:not(.is-style-link) a.wp-block-button__link:hover,
#site-content #news_detail_sec1 .part1 .block1 .block_body:is(.entry-content, .wp-block-post-content) .wp-block-button:not(.is-style-link) .wp-block-button__link:focus-visible,
#site-content #news_detail_sec1 .part1 .block1 .block_body:is(.entry-content, .wp-block-post-content) .wp-block-button:not(.is-style-link) a.wp-block-button__link:focus-visible,
#site-content #news_detail_sec1 .part1 .block1 .block_body .emdash-html-block .wp-block-button:not(.is-style-link) .wp-block-button__link:hover,
#site-content #news_detail_sec1 .part1 .block1 .block_body .emdash-html-block .wp-block-button:not(.is-style-link) a.wp-block-button__link:hover,
#site-content #news_detail_sec1 .part1 .block1 .block_body .emdash-html-block .wp-block-button:not(.is-style-link) .wp-block-button__link:focus-visible,
#site-content #news_detail_sec1 .part1 .block1 .block_body .emdash-html-block .wp-block-button:not(.is-style-link) a.wp-block-button__link:focus-visible,
#site-content #news_detail_sec1 .part1 .block1 .block_body .emdash-html-block a.wp-block-button__link.wp-element-button:hover,
#site-content #news_detail_sec1 .part1 .block1 .block_body .emdash-html-block a.wp-block-button__link.wp-element-button:focus-visible,
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body a.emdash-button.emdash-button--fill:hover,
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body a.emdash-button.emdash-button--fill:focus-visible,
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body a.emdash-button.emdash-button--default:hover,
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body a.emdash-button.emdash-button--default:focus-visible {
  background-color: #a81e44 !important;
  background-image: none !important;
  border: none !important;
  color: #fff !important;
  opacity: 1 !important;
}

/* from backup style.css */
#site-content #news_detail_sec1 .part1 .block1 .block_body:is(.entry-content, .wp-block-post-content) .wp-block-button:not(.is-style-link) .wp-block-button__link:hover strong,
#site-content #news_detail_sec1 .part1 .block1 .block_body:is(.entry-content, .wp-block-post-content) .wp-block-button:not(.is-style-link) a.wp-block-button__link:hover strong,
#site-content #news_detail_sec1 .part1 .block1 .block_body:is(.entry-content, .wp-block-post-content) .wp-block-button:not(.is-style-link) .wp-block-button__link:focus-visible strong,
#site-content #news_detail_sec1 .part1 .block1 .block_body:is(.entry-content, .wp-block-post-content) .wp-block-button:not(.is-style-link) a.wp-block-button__link:focus-visible strong,
#site-content #news_detail_sec1 .part1 .block1 .block_body .emdash-html-block .wp-block-button:not(.is-style-link) .wp-block-button__link:hover strong,
#site-content #news_detail_sec1 .part1 .block1 .block_body .emdash-html-block .wp-block-button:not(.is-style-link) a.wp-block-button__link:hover strong,
#site-content #news_detail_sec1 .part1 .block1 .block_body .emdash-html-block a.wp-block-button__link.wp-element-button:hover strong,
#site-content #news_detail_sec1 .part1 .block1 .block_body .emdash-html-block a.wp-block-button__link.wp-element-button:focus-visible strong {
  color: #fff !important;
}

/* from backup style.css */
#news_detail_sec1 .news-post-body .emdash-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

/* from backup style.css */
#news_detail_sec1 .news-post-body .emdash-buttons--vertical {
  flex-direction: column;
  align-items: flex-start;
}

/* from backup style.css */
#news_detail_sec1 .news-post-body .emdash-buttons--horizontal {
  flex-direction: row;
  align-items: center;
}

/* from backup style.css */
#news_detail_sec1 .news-post-body a.emdash-button,
#news_detail_sec1 .news-post-body span.emdash-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: var(--theme-button-block-min-height, 50px);
  font-size: var(--theme-button-block-font-size, 16px);
  font-weight: var(--theme-button-block-font-weight, 700) !important;
  padding: 0 var(--theme-button-block-padding-x, 32px);
  line-height: 1.25;
  border-radius: 0;
  text-decoration: none;
  cursor: default;
  border: 2px solid var(--theme-button-outline-dark-color) !important;
  background-color: var(--theme-button-outline-dark-background);
  color: var(--theme-button-outline-dark-text-color) !important;
}

/* from backup style.css */
#news_detail_sec1 .news-post-body a.emdash-button strong,
#news_detail_sec1 .news-post-body span.emdash-button strong {
  color: inherit !important;
}

/* from backup style.css */
#news_detail_sec1 .news-post-body a.emdash-button {
  cursor: pointer;
  opacity: 1 !important;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

/* from backup style.css */
#news_detail_sec1 .news-post-body a.emdash-button:hover,
#news_detail_sec1 .news-post-body a.emdash-button:focus-visible {
  background-color: var(--theme-button-dark-color) !important;
  border: 2px solid var(--theme-button-dark-color) !important;
  color: var(--theme-button-dark-text-color) !important;
  opacity: 1 !important;
}

/* from backup style.css */
#news_detail_sec1 .news-post-body a.emdash-button:active {
  background-color: var(--theme-button-dark-hover) !important;
  border: 2px solid var(--theme-button-dark-hover) !important;
  color: var(--theme-button-dark-text-color) !important;
}

/* Azure accent CTA pill (overrides outline-token defaults above) */
#news_detail_sec1 .news-post-body a.emdash-button.emdash-button--fill,
#news_detail_sec1 .news-post-body a.emdash-button.emdash-button--default {
  border-radius: 9999px !important;
  border: none !important;
  background-color: #cd2653 !important;
  color: #fff !important;
  text-decoration: underline !important;
  padding: 16px 32px !important;
}

/* WP 673: CTA sits almost flush under `* 共催` (theme buttons mt≈0) */
#news_detail_sec1 .news-post-body a.emdash-button.emdash-button--fill[href*="connpass.com/event/324088"] {
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}

/* WP 673: ~50px blank line before `* 主催` (from `<br><br>` in same source paragraph) */
#news_detail_sec1 .news-post-body .emdash-html-block:has(.news-post-673-organizers) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#news_detail_sec1 .news-post-body .news-post-673-organizers,
#news_detail_sec1 .news-post-body .emdash-html-block .news-post-673-organizers {
  margin-top: 50px !important;
  margin-bottom: 0 !important;
  text-align: left !important;
}

/* WP 655: Microsoft case-study label + URL below photo (left-aligned, not figcaption) */
#news_detail_sec1 .news-post-body .news-post-655-case-label,
#news_detail_sec1 .news-post-body .news-post-655-case-url,
#news_detail_sec1 .news-post-body .emdash-html-block .news-post-655-case-label,
#news_detail_sec1 .news-post-body .emdash-html-block .news-post-655-case-url {
  text-align: left !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  font-size: 16px !important;
  line-height: 2.2 !important;
}

/* WP 647: left-aligned 【提供内容のポイント】 block after hero image */
#news_detail_sec1 .news-post-body .emdash-html-block:has(.news-post-647-points) {
  text-align: left !important;
}

#news_detail_sec1 .news-post-body .news-post-647-points,
#news_detail_sec1 .news-post-body .emdash-html-block .news-post-647-points {
  text-align: left !important;
  margin-top: 0 !important;
  margin-bottom: 35px !important;
}

#news_detail_sec1 .news-post-body .news-post-647-points-label,
#news_detail_sec1 .news-post-body .news-post-647-points-text,
#news_detail_sec1 .news-post-body .emdash-html-block .news-post-647-points-label,
#news_detail_sec1 .news-post-body .emdash-html-block .news-post-647-points-text {
  text-align: left !important;
  font-size: 16px !important;
  line-height: 2.2 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* WP 625: empty <p> before ー開催概要ー ≈ one body line of space */
#news_detail_sec1 .news-post-body p.news-post-625-overview {
  margin-top: 35px !important;
}

/* Keep short Japanese endings (e.g. 予定です。) from wrapping alone */
#news_detail_sec1 .news-post-body .news-pt-nowrap {
  white-space: nowrap;
}

/* News section labels as single-item ul/ol (PR TIMES / WP 569 etc.) */
#news_detail_sec1 .part1 .block1 .block_body.news-post-body
  :is(ul.wp-block-list.news-body-list--bulleted, ol.wp-block-list) {
  list-style-position: outside;
  margin-top: 8px;
  margin-bottom: 18px;
  margin-left: 25px;
  padding-left: 10px;
}

/* WP empty-<p> rhythm: more air between body copy and the next section label */
#news_detail_sec1 .part1 .block1 .block_body.news-post-body
  p
  + :is(ul.wp-block-list.news-body-list--bulleted, ol.wp-block-list) {
  margin-top: 36px;
}

#news_detail_sec1 .part1 .block1 .block_body.news-post-body
  ul.wp-block-list.news-body-list--bulleted {
  list-style-type: disc;
}

#news_detail_sec1 .part1 .block1 .block_body.news-post-body
  :is(ul.wp-block-list.news-body-list--bulleted, ol.wp-block-list) li {
  list-style-position: outside;
  display: list-item;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 2.2;
  font-size: 16px;
}

/* Breathing room under in-body h3 (WP has empty <p> rhythm; EmDash often collapses it) */
#news_detail_sec1 .part1 .block1 .block_body.news-post-body :is(h3, h3.wp-block-heading) {
  margin-bottom: 12px;
}

#news_detail_sec1 .part1 .block1 .block_body.news-post-body
  p
  + :is(h3, h3.wp-block-heading) {
  margin-top: 36px;
}

#news_detail_sec1 .news-post-body a.emdash-button.emdash-button--fill:hover,
#news_detail_sec1 .news-post-body a.emdash-button.emdash-button--fill:focus-visible,
#news_detail_sec1 .news-post-body a.emdash-button.emdash-button--default:hover,
#news_detail_sec1 .news-post-body a.emdash-button.emdash-button--default:focus-visible,
#news_detail_sec1 .news-post-body a.emdash-button.emdash-button--fill:active,
#news_detail_sec1 .news-post-body a.emdash-button.emdash-button--default:active {
  background-color: #a81e44 !important;
  border: none !important;
  color: #fff !important;
}

/* from backup style.css */
#news_detail_sec1 .news-post-body > a.emdash-button,
#news_detail_sec1 .news-post-body p + a.emdash-button {
  display: inline-flex;
  align-items: center;
  min-width: 150px;
  margin-top: 15px;
  margin-bottom: 15px;
}

/* from backup style.css */
#news_detail_sec1 .part1 .block1 .block_body.news-post-body .emdash-html-block:has(.wp-block-spacer),
#news_detail_sec1 .part1 .block1 .block_body.news-post-body .emdash-html-block:has(.news-post-single-line) {
  margin: 0 !important;
}

/* PR spacers via htmlBlock (inline style stripped by sanitizer). */
#news_detail_sec1 .part1 .block1 .block_body.news-post-body .wp-block-spacer.news-post-spacer-35 {
  height: 35px;
  display: block;
}

#news_detail_sec1 .part1 .block1 .block_body.news-post-body .wp-block-spacer.news-post-spacer-58 {
  height: 58px;
  display: block;
}

/* Post 731: Ishigaki 導入事例 line fits on one row on WP desktop. */
#news_detail_sec1 .part1 .block1 .block_body.news-post-body .news-post-single-line {
  white-space: nowrap;
}

#news_detail_sec1 .part1 .block1 .block_body.news-post-body .news-post-footer-supplement .wp-block-spacer {
  display: block;
}

/* News body images: full column when landscape; soft height cap for tall portraits.
 * WP used width:100% only — portraits then became viewport-tall. Soft-cap keeps
 * landscape large while taming extreme aspect ratios (object-fit contain). */
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body {
  --news-post-image-margin-top: 40px;
  --news-post-image-margin-bottom: 40px;
  --news-post-image-max-height: min(80vh, 900px);
}

#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body figure.wp-block-image:not(.alignwide):not(.alignfull),
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body .wp-block-image:not(.alignwide):not(.alignfull),
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body figure.emdash-image:not(.alignwide):not(.alignfull) {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: var(--news-post-image-margin-top, 40px);
  margin-bottom: var(--news-post-image-margin-bottom, 40px);
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
  text-align: center;
}

#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body img:not(.news-wp-embed-card__image):not(.news-wp-embed-card__brand-mark) {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  max-height: var(--news-post-image-max-height, min(80vh, 900px)) !important;
  height: auto !important;
  object-fit: contain;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body .news-wp-embed-card img:not(.news-wp-embed-card__brand-mark),
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body .news-wp-embed-card picture {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body .news-wp-embed-card .news-wp-embed-card__image,
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body .news-wp-embed-card img.news-wp-embed-card__image {
  max-height: 77px !important;
}

#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body figure.wp-block-image.alignwide img,
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body figure.wp-block-image.alignfull img {
  max-width: 100%;
}

body.single-post #site-content #news_detail_sec1 .block_body.news-post-body .news-wp-embed-card img:not(.news-wp-embed-card__brand-mark) {
  width: auto !important;
  max-width: 100% !important;
}

body.single-post #site-content #news_detail_sec1 .block_body.news-post-body .news-post-portrait-734 figure.emdash-image {
  max-width: none !important;
}

/* News lead/resized images (e.g. post 734): wrapper sets px width; img fills wrapper */
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body .news-post-image-scale,
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body .news-post-image-scale {
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
}

#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body .news-post-image-scale img,
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body .news-post-image-scale img {
  width: auto !important;
  max-width: 100% !important;
  max-height: var(--news-post-image-max-height, min(80vh, 900px)) !important;
  height: auto !important;
  object-fit: contain;
}

/* from backup style.css */
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body .news-post-portrait-734 figure.emdash-image {
  width: 100% !important;
  max-width: none !important;
  margin-top: 50px !important;
  margin-bottom: 50px !important;
}

/* from backup style.css */
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body .news-post-portrait-734 figure.emdash-image img {
  width: 228px !important;
  max-width: 228px !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* from backup style.css */
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body figure.emdash-image {
  margin-top: var(--news-post-image-margin-top, 40px);
  margin-bottom: var(--news-post-image-margin-bottom, 40px);
}

/* from backup style.css */
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body figure.emdash-embed:not(.alignwide):not(.alignfull) {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: var(--news-post-image-margin-top, 40px);
  margin-bottom: var(--news-post-image-margin-bottom, 40px);
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
  text-align: center;
}

/* from backup style.css */
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body figure.emdash-embed + p:not(.news-wp-embed-card__excerpt).has-text-align-center {
  font-size: var(--theme-body-image-caption-font-size, 14px) !important;
  line-height: var(--theme-body-image-caption-line-height, 22px) !important;
  text-align: center !important;
  margin-top: var(--theme-body-image-caption-margin-top, 25px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* First lead image: match live WP (~30px under SNS), never negative (avoids SNS overlap). */
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body > figure.emdash-image:first-child,
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body > figure.wp-block-image:first-child,
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body > .news-post-portrait-734:first-child figure.emdash-image,
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body > .news-post-image-scale:first-child {
  margin-top: 30px !important;
}

/* from backup style.css */
#site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body figure.emdash-image + p:not(.news-wp-embed-card__excerpt) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* from backup style.css */
:is(
  #news_detail_sec1 .news-detail-article figure.wp-block-table,
  body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) figure.wp-block-table,
  #news_detail_sec1 .news-detail-article .emdash-table-wrapper,
  body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) .emdash-table-wrapper
) {
  margin: 24px 0;
  overflow-x: auto;
  line-height: normal;
}

/* Azure WP: table borders use #333 (theme vars are unset on this site) */
:is(
  #news_detail_sec1 .news-detail-article figure.wp-block-table table,
  body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) figure.wp-block-table table,
  #news_detail_sec1 .news-detail-article .emdash-table,
  body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) .emdash-table
) {
  width: 100%;
  min-width: 280px;
  border-collapse: collapse;
  border: 1px solid #333;
  font-size: 16px;
  color: #333;
  text-align: center;
}

:is(
  #news_detail_sec1 .news-detail-article figure.wp-block-table :is(th, td),
  body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) figure.wp-block-table :is(th, td),
  #news_detail_sec1 .news-detail-article .emdash-table :is(th, td),
  body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) .emdash-table :is(th, td)
) {
  border: 1px solid #333;
  padding: 10px;
  text-align: center;
  vertical-align: middle;
}

:is(
  #news_detail_sec1 .news-detail-article figure.wp-block-table thead th,
  #news_detail_sec1 .news-detail-article figure.wp-block-table tbody > tr:first-child > th,
  body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) figure.wp-block-table thead th,
  body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) figure.wp-block-table tbody > tr:first-child > th,
  #news_detail_sec1 .news-detail-article .emdash-table thead th,
  body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) .emdash-table thead th
) {
  background: transparent;
  color: #333;
  font-weight: 700;
}

/* from backup style.css */
#news_detail_sec1 .news-detail-article .entry-content .emdash-break-space,
#news_detail_sec1 .part1 .block1 .block_body.news-post-body.entry-content .emdash-break-space {
  height: 2rem;
  margin: 2rem 0;
}

/* from backup style.css */
#news_detail_sec1 .part1 .block1 .block_body.news-post-body .news-accent-box,
#news_detail_sec1 .part1 .block1 .block_body.news-post-body .emdash-html-block .news-accent-box {
  background-color: var(--theme-secondary-light);
  border-radius: 0;
  padding: 20px 24px;
  margin: 20px 0 24px;
  text-align: left !important;
  color: #333;
}

/* from backup style.css */
#news_detail_sec1 .part1 .block1 .block_body.news-post-body .news-accent-box :is(p, li),
#news_detail_sec1 .part1 .block1 .block_body.news-post-body .emdash-html-block .news-accent-box :is(p, li) {
  text-align: left !important;
  font-size: 16px;
  line-height: 2.2;
  color: #333;
}

/* from backup style.css */
#news_detail_sec1 .news-detail-article .part1 .block1 .block_body.news-post-body
  .emdash-html-block:has(> .wp-block-group.section-bg-accent) {
  display: contents;
  margin: 0 !important;
}

/* from backup style.css */
#news_detail_sec1 .news-detail-article .part1 .block1 .block_body.news-post-body
  :is(h3, h3.wp-block-heading)
  + .emdash-html-block:has(> .wp-block-group.section-bg-accent) {
  margin-top: 0 !important;
}

/* Azure public CSS omits Databricks :root theme tokens — set on case-study body so
 * full-bleed accent bands keep an inner column aligned with .fixedcontainer (1200px). */
body.single-custom_work #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) {
  --theme-building-block-inner-max: 1200px;
  --theme-building-block-inner-gutter: 0px;
  --case-study-image-max: 800px;
}

/* from backup style.css */
body.single-custom_work #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
  :is(.emdash-html-block, .wp-block-html):has(.news-accent-box) {
  width: 100vw;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  padding-top: 48px;
  padding-bottom: 60px;
  /* Azure: no Databricks beige band — keep full-bleed structure, white like page body */
  background-color: #fff;
  overflow-x: visible;
}

/* from backup style.css */
body.single-custom_work #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
  :is(
    p,
    ul,
    ol,
    ul.wp-block-list,
    ol.wp-block-list,
    blockquote,
    figure.emdash-image,
    figure.wp-block-image,
    .wp-block-image,
    .wp-block-table,
    hr
  )
  + :is(.emdash-html-block, .wp-block-html):has(.news-accent-box) {
  margin-top: var(--theme-body-section-headline-margin-top-break, 80px) !important;
}

/* from backup style.css */
body.single-custom_work #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) .news-accent-box,
body.single-custom_work #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) .emdash-html-block .news-accent-box {
  max-width: var(--theme-building-block-inner-max, 1200px);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0;
  padding: 0 var(--theme-building-block-inner-gutter, 0);
  background: transparent;
  text-align: left !important;
  color: #333;
}

/* from backup style.css */
body.single-custom_work #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) .news-accent-box :is(p, li),
body.single-custom_work #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) .emdash-html-block .news-accent-box :is(p, li) {
  text-align: left !important;
  font-size: 16px;
  line-height: 2.2;
  color: #333;
}

/* from backup style.css */
:is(.section-bg-white, .section-bg-dark, .section-bg-accent, .section-bg-primary-light) :is(
  .wp-block-button:not(.is-style-link),
  .emdash-buttons,
  a.emdash-button,
  span.emdash-button,
  .button-primary,
  a.button-primary,
  button.button-primary,
  .right_btn,
  a.right_btn,
  button.right_btn,
  .button-dark,
  a.button-dark,
  button.button-dark,
  .outline-button-dark,
  a.outline-button-dark,
  button.outline-button-dark,
  .right_btn.outline-button-dark,
  a.right_btn.outline-button-dark,
  .button-dark-outline,
  a.button-dark-outline,
  button.button-dark-outline,
  a.download_btn
) {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* from backup style.css */
#news_detail_sec1 .news-detail-article.news-post-accent-box--red .news-accent-box,
#news_detail_sec1 .news-detail-article.news-post-accent-box--red .emdash-html-block .news-accent-box {
  background-color: var(--theme-accent) !important;
  color: #fff !important;
}

/* from backup style.css */
#news_detail_sec1 .news-detail-article.news-post-accent-box--red .news-accent-box :is(p, li),
#news_detail_sec1 .news-detail-article.news-post-accent-box--red .emdash-html-block .news-accent-box :is(p, li) {
  color: #fff !important;
}

/* from backup style.css */
.section-bg-dark a:not(.wp-block-button__link):not(.wp-element-button):not(.emdash-button):not(.button-primary):not(.right_btn):not(.button-dark):not(.button-dark-outline):not(.download_btn) {
  color: var(--theme-accent);
  text-decoration: none;
  text-underline-offset: 2px;
  opacity: 1;
}

/* from backup style.css */
.section-bg-dark a:not(.wp-block-button__link):not(.wp-element-button):not(.emdash-button):not(.button-primary):not(.right_btn):not(.button-dark):not(.button-dark-outline):not(.download_btn):hover,
.section-bg-dark a:not(.wp-block-button__link):not(.wp-element-button):not(.emdash-button):not(.button-primary):not(.right_btn):not(.button-dark):not(.button-dark-outline):not(.download_btn):focus-visible {
  color: var(--theme-accent-hover);
  text-decoration: underline;
  opacity: 1;
}

/* from backup style.css */
.section-bg-dark :is(.card-grid-3, .card-grid-4) .part1 .block .emdash-buttons a.emdash-button,
.section-bg-dark .card-grid-8 .part1 .part_body .block .emdash-buttons a.emdash-button,
.section-bg-dark .card-layout-horizontal .part1 .block .emdash-buttons a.emdash-button,
.section-bg-primary-light :is(.card-grid-3, .card-grid-4) .part1 .block .emdash-buttons a.emdash-button,
.section-bg-primary-light .card-grid-8 .part1 .part_body .block .emdash-buttons a.emdash-button,
.section-bg-primary-light .card-layout-horizontal .part1 .block .emdash-buttons a.emdash-button {
  background-color: var(--theme-button-color) !important;
  border: 1px solid var(--theme-button-color) !important;
  color: var(--theme-button-text-color) !important;
}

/* from backup style.css */
.section-bg-dark :is(.card-grid-3, .card-grid-4) .part1 .block .emdash-buttons a.emdash-button:hover,
.section-bg-dark .card-grid-8 .part1 .part_body .block .emdash-buttons a.emdash-button:hover,
.section-bg-dark .card-layout-horizontal .part1 .block .emdash-buttons a.emdash-button:hover,
.section-bg-primary-light :is(.card-grid-3, .card-grid-4) .part1 .block .emdash-buttons a.emdash-button:hover,
.section-bg-primary-light .card-grid-8 .part1 .part_body .block .emdash-buttons a.emdash-button:hover,
.section-bg-primary-light .card-layout-horizontal .part1 .block .emdash-buttons a.emdash-button:hover {
  background-color: var(--theme-button-hover) !important;
  border-color: var(--theme-button-hover) !important;
  color: var(--theme-button-text-color) !important;
}

/* from backup style.css */
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body a.emdash-button:link,
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body a.emdash-button:visited {
  opacity: 1 !important;
}

/* from backup style.css */
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body a.emdash-button:hover,
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body a.emdash-button:focus-visible,
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body a.wp-block-button__link.wp-element-button:hover,
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body a.wp-block-button__link.wp-element-button:focus-visible,
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body .wp-block-button:not(.is-style-link) .wp-block-button__link:hover,
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body .wp-block-button:not(.is-style-link) a.wp-block-button__link:hover,
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body .wp-block-button:not(.is-style-link) .wp-block-button__link:focus-visible,
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body .wp-block-button:not(.is-style-link) a.wp-block-button__link:focus-visible {
  background-color: var(--theme-button-dark-color) !important;
  background-image: none !important;
  border-color: var(--theme-button-dark-color) !important;
  color: var(--theme-button-dark-text-color) !important;
  opacity: 1 !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

/* from backup style.css */
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body a.emdash-button:hover strong,
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body a.emdash-button:focus-visible strong {
  color: var(--theme-button-dark-text-color) !important;
}

/* from backup style.css */
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body a.emdash-button:active,
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body a.wp-block-button__link.wp-element-button:active,
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body .wp-block-button:not(.is-style-link) .wp-block-button__link:active,
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body .wp-block-button:not(.is-style-link) a.wp-block-button__link:active {
  background-color: var(--theme-button-dark-hover) !important;
  border-color: var(--theme-button-dark-hover) !important;
  color: var(--theme-button-dark-text-color) !important;
  opacity: 1 !important;
}

/* from backup style.css */
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body figure.emdash-image {
  margin-top: var(--news-post-image-margin-top, 40px) !important;
  margin-bottom: var(--news-post-image-margin-bottom, 40px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* First lead image: match live WP (~30px under SNS), never negative (avoids SNS overlap). */
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body > figure.emdash-image:first-child,
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body > figure.wp-block-image:first-child,
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body > .news-post-portrait-734:first-child figure.emdash-image,
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body > .news-post-image-scale:first-child {
  margin-top: 30px !important;
}

/* from backup style.css */
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body figure.emdash-image img {
  margin-bottom: 0 !important;
}

/* from backup style.css */
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body figure.emdash-image figcaption,
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body figure.wp-block-image figcaption,
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body figcaption.wp-element-caption {
  font-size: var(--theme-body-image-caption-font-size, 14px) !important;
  line-height: var(--theme-body-image-caption-line-height, 22px) !important;
  text-align: center !important;
  margin-top: var(--theme-body-image-caption-margin-top, 25px) !important;
  margin-bottom: 0 !important;
}

/* from backup style.css */
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body figure.emdash-image + p:not(.news-wp-embed-card__excerpt) {
  font-size: 16px !important;
  line-height: 2.2 !important;
  text-align: left !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* from backup style.css */
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body .news-post-portrait-734 figure.emdash-image {
  width: 100% !important;
  max-width: none !important;
  margin-top: 50px !important;
  margin-bottom: 50px !important;
}

/* from backup style.css */
body.single-post #site-content #news_detail_sec1 .block_body.news-post-body .news-post-portrait-734 figure.emdash-image img {
  width: 228px !important;
  max-width: 228px !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* from backup style.css */
hr.emdash-break,
hr.emdash-break-line {
  opacity: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: transparent !important;
  box-shadow: none !important;
  pointer-events: none;
}

/* from backup style.css */
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content
  .emdash-html-block:has(> .wp-block-group:is(.section-bg-white, .section-bg-dark, .section-bg-accent, .section-bg-primary-light)) {
  display: contents;
  margin: 0 !important;
}

/* Mid-article accent bands only — first-child callouts (ポイント box) skip the 80px section break */
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content
  :is(.emdash-html-block, .wp-block-html):has(.news-accent-box):not(:first-child) {
  margin-top: var(--theme-body-section-headline-margin-top-break, 80px) !important;
}

/* from backup style.css */
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content
  :is(.emdash-html-block, .wp-block-html):has(.news-accent-box) {
  padding-top: 48px !important;
}

/* from backup style.css */
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content .emdash-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

/* from backup style.css */
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content .emdash-buttons--vertical {
  flex-direction: column;
  align-items: flex-start;
}

/* from backup style.css */
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content .emdash-buttons--horizontal {
  flex-direction: row;
  align-items: center;
}

/* from backup style.css */
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content a.emdash-button,
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content span.emdash-button,
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content a.emdash-button.emdash-button--default,
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content a.emdash-button.emdash-button--fill,
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content span.emdash-button.emdash-button--default,
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content span.emdash-button.emdash-button--fill {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 40px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 0 18px !important;
  line-height: 1.25 !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  cursor: default;
  border: 1px solid var(--theme-button-dark-color) !important;
  background-color: var(--theme-button-dark-color) !important;
  background-image: none !important;
  color: var(--theme-button-dark-text-color) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* from backup style.css */
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content a.emdash-button {
  cursor: pointer;
  pointer-events: auto;
}

/* from backup style.css */
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content a.emdash-button:link,
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content a.emdash-button:visited {
  background-color: var(--theme-button-dark-color) !important;
  border-color: var(--theme-button-dark-color) !important;
  color: var(--theme-button-dark-text-color) !important;
  opacity: 1 !important;
}

/* from backup style.css */
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content a.emdash-button:hover,
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content a.emdash-button:focus-visible,
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content a.emdash-button.emdash-button--default:hover,
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content a.emdash-button.emdash-button--fill:hover {
  background-color: var(--theme-button-dark-hover) !important;
  border-color: var(--theme-button-dark-hover) !important;
  color: var(--theme-button-dark-text-color) !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

/* from backup style.css */
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content a.emdash-button:active,
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content a.emdash-button.emdash-button--default:active,
body.single-custom_work #site-content #custom_work_sec2 .part1.entry-content.wp-block-post-content a.emdash-button.emdash-button--fill:active {
  background-color: var(--theme-button-dark-hover) !important;
  border-color: var(--theme-button-dark-hover) !important;
  color: var(--theme-button-dark-text-color) !important;
}

/* Static fallback for WordPress post embeds — horizontal card (WP oEmbed style, news 744) */
#news_detail_sec1 .news-detail-article .news-wp-embed-card {
  margin: 1.5rem auto 2rem;
  max-width: 580px;
}

#news_detail_sec1 .news-detail-article .news-wp-embed-card__shell {
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 2px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  padding: 18px 20px 14px;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#news_detail_sec1 .news-detail-article .news-wp-embed-card__shell:hover {
  border-color: #c3c4c7;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

#news_detail_sec1 .news-detail-article .news-wp-embed-card .news-wp-embed-card__title {
  margin: 0 0 14px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--theme-primary-dark);
}

#news_detail_sec1 .news-detail-article .news-wp-embed-card a.news-wp-embed-card__title-link,
#news_detail_sec1 .news-detail-article .news-wp-embed-card a.news-wp-embed-card__title-link:link,
#news_detail_sec1 .news-detail-article .news-wp-embed-card a.news-wp-embed-card__title-link:visited {
  color: var(--theme-primary-dark) !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
}

#news_detail_sec1 .news-detail-article .news-wp-embed-card a.news-wp-embed-card__title-link:hover {
  color: var(--theme-primary-dark) !important;
  text-decoration: underline !important;
  text-decoration-line: underline !important;
  text-decoration-color: var(--theme-primary-dark) !important;
  text-underline-offset: 2px;
}

#news_detail_sec1 .news-detail-article .news-wp-embed-card a.news-wp-embed-card__title-link:focus-visible {
  color: var(--theme-primary-dark) !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  outline: 2px solid var(--theme-primary-dark);
  outline-offset: 3px;
}

#news_detail_sec1 .news-detail-article .news-wp-embed-card__row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  min-height: 77px;
}

#news_detail_sec1 .news-detail-article a.news-wp-embed-card__thumb-link,
#news_detail_sec1 .news-detail-article a.news-wp-embed-card__thumb-link:link,
#news_detail_sec1 .news-detail-article a.news-wp-embed-card__thumb-link:visited {
  flex: 0 0 auto;
  max-width: 200px;
  width: auto;
  height: 77px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

#news_detail_sec1 .news-detail-article a.news-wp-embed-card__thumb-link:hover,
#news_detail_sec1 .news-detail-article a.news-wp-embed-card__thumb-link:focus-visible {
  color: var(--theme-primary-dark);
  text-decoration: underline;
  text-decoration-color: var(--theme-primary-dark);
  text-underline-offset: 2px;
}

#news_detail_sec1 .news-detail-article a.news-wp-embed-card__thumb-link:hover .news-wp-embed-card__image,
#news_detail_sec1 .news-detail-article a.news-wp-embed-card__thumb-link:focus-visible .news-wp-embed-card__image {
  opacity: 0.92;
}

#news_detail_sec1 .news-detail-article .news-wp-embed-card__image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 77px;
  height: auto;
  margin: 0 !important;
  border: 0;
  object-fit: contain;
}

#news_detail_sec1 .news-detail-article .news-wp-embed-card__col-text {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 77px;
  height: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#news_detail_sec1 .news-detail-article .news-wp-embed-card p.news-wp-embed-card__excerpt {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 0 6px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  font-size: 14px;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.5;
  color: var(--theme-text-muted, #646970);
  text-align: left;
  text-decoration: none;
}

#news_detail_sec1 .news-detail-article a.news-wp-embed-card__more,
#news_detail_sec1 .news-detail-article a.news-wp-embed-card__more:link,
#news_detail_sec1 .news-detail-article a.news-wp-embed-card__more:visited {
  display: inline-block;
  align-self: flex-start;
  flex-shrink: 0;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: #0073aa !important;
  text-decoration: underline !important;
}

#news_detail_sec1 .news-detail-article a.news-wp-embed-card__more:hover,
#news_detail_sec1 .news-detail-article a.news-wp-embed-card__more:focus-visible {
  color: #135e96 !important;
  text-decoration: underline !important;
  text-decoration-color: var(--theme-primary-dark) !important;
  text-underline-offset: 2px;
}

#news_detail_sec1 .news-detail-article .news-wp-embed-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  margin-top: 14px;
  border-top: 1px solid #e8e8e8;
  overflow: visible;
  min-width: 0;
}

#news_detail_sec1 .news-detail-article a.news-wp-embed-card__brand,
#news_detail_sec1 .news-detail-article a.news-wp-embed-card__brand:link,
#news_detail_sec1 .news-detail-article a.news-wp-embed-card__brand:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
  font-size: 0.5625rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--theme-text-subtle, #50575e) !important;
  text-decoration: none !important;
}

@media (min-width: 1100px) {
  #news_detail_sec1 .news-detail-article a.news-wp-embed-card__brand,
  #news_detail_sec1 .news-detail-article a.news-wp-embed-card__brand:link,
  #news_detail_sec1 .news-detail-article a.news-wp-embed-card__brand:visited {
    font-size: 0.625rem;
  }
}

#news_detail_sec1 .news-detail-article a.news-wp-embed-card__brand:hover,
#news_detail_sec1 .news-detail-article a.news-wp-embed-card__brand:focus-visible {
  color: var(--theme-primary-dark) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--theme-primary-dark) !important;
  text-underline-offset: 2px;
}

#news_detail_sec1 .news-detail-article .news-wp-embed-card__brand-mark {
  flex-shrink: 0;
  display: block;
  width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  max-height: 20px !important;
  margin: 0 !important;
  object-fit: contain;
}

#news_detail_sec1 .news-detail-article .news-wp-embed-card__brand-label {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: visible;
  font-weight: 600;
  font-size: inherit;
}

#news_detail_sec1 .news-detail-article .news-wp-embed-card__share {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

#news_detail_sec1 .news-detail-article .news-wp-embed-card__share-svg {
  display: block;
}

@media (max-width: 600px) {
  #news_detail_sec1 .news-detail-article .news-wp-embed-card__row {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  #news_detail_sec1 .news-detail-article a.news-wp-embed-card__thumb-link {
    flex: 0 0 auto;
    max-width: 220px;
    height: auto;
    min-height: 77px;
    margin: 0 auto;
  }

  #news_detail_sec1 .news-detail-article .news-wp-embed-card__col-text {
    height: auto;
    min-height: 77px;
  }

  #news_detail_sec1 .news-detail-article .news-wp-embed-card__shell {
    padding: 16px 14px 12px;
  }

  #news_detail_sec1 .news-detail-article .news-wp-embed-card__brand-label {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Beat responsive.css / theme: embed card link colours + underline behaviour */
#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__title-link,
#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__title-link:link,
#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__title-link:visited {
  color: var(--theme-primary-dark) !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__title-link:hover {
  color: var(--theme-primary-dark) !important;
  text-decoration: underline !important;
  text-decoration-line: underline !important;
  text-decoration-color: var(--theme-primary-dark) !important;
  text-underline-offset: 2px;
}

#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__title-link:focus-visible {
  color: var(--theme-primary-dark) !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  outline: 2px solid var(--theme-primary-dark);
  outline-offset: 3px;
}

#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card p.news-wp-embed-card__excerpt {
  font-size: 14px !important;
  font-weight: 400 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
  line-height: 1.5 !important;
  color: var(--theme-text-muted, #646970) !important;
  text-align: left !important;
}

#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__thumb-link,
#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__thumb-link:link,
#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__thumb-link:visited {
  color: var(--theme-primary-dark) !important;
  text-decoration: none !important;
}

#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__thumb-link:hover,
#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__thumb-link:focus-visible {
  color: var(--theme-primary-dark) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--theme-primary-dark) !important;
  text-underline-offset: 2px;
}

#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__brand,
#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__brand:link,
#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__brand:visited {
  color: var(--theme-text-subtle, #50575e) !important;
  text-decoration: none !important;
}

#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__brand:hover,
#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__brand:focus-visible {
  color: var(--theme-primary-dark) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--theme-primary-dark) !important;
  text-underline-offset: 2px;
}

#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__more,
#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__more:link,
#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__more:visited {
  color: #0073aa !important;
  text-decoration: underline !important;
}

#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__more:hover,
#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__more:focus-visible {
  color: #135e96 !important;
  text-decoration: underline !important;
  text-decoration-color: var(--theme-primary-dark) !important;
  text-underline-offset: 2px;
}

#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card .news-wp-embed-card__brand-label {
  color: inherit !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: inherit !important;
}

#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card .news-wp-embed-card__brand-mark {
  width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  max-height: 20px !important;
  margin: 0 !important;
  object-fit: contain;
}

#news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card .news-wp-embed-card__image {
  width: auto !important;
  max-width: 100%;
  max-height: 77px !important;
}

/* from backup responsive.css */
@media screen and (max-width: 767px) {
  .btn_wrapper a {
    position: relative;
  }
  .btn_wrapper a::after {
    content: "";
    display: block;
    width: 2vw;
    height: 2vw;
    border-bottom: 1px solid white;
    border-right: 1px solid white;
    transform: translateY(-50%) rotate(-45deg);
    position: absolute;
    right: 4vw;
    top: 50%;
  }
  html {
    font-size: 3vw;
  }
  section {
    padding: 0;
  }
  #wrapper {
    margin: 0;
    padding: 0;
  }
  .pc {
    display: none !important;
  }
  .fixedcontainer {
    width: 100%;
  }
  .body {
    font-size: 3.8vw;
  }
  .flex_part .flex_img_left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .flex_part .flex_img_right {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
  }

  body.single-solution #solution_sec2.section-bg-dark {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.single-solution #solution_sec2.card-layout-horizontal .part1 .block.flex_img_left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    min-height: 96px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    padding-left: 14px !important;
    padding-right: 18px !important;
  }

  body.single-solution #solution_sec2.card-layout-horizontal .part1 .block .flex_img {
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    flex: 0 0 64px !important;
    padding: 0 !important;
    padding-left: 42px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    place-content: center !important;
  }

  body.single-solution #solution_sec2.card-layout-horizontal .part1 .block .flex_img img {
    max-width: 56px !important;
    max-height: 56px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  body.single-solution #solution_sec2.card-layout-horizontal .part1 .block.flex_img_left:nth-child(3) .flex_img img {
    transform: translateX(-7.6px) !important;
  }

  body.single-solution #solution_sec2.card-layout-horizontal .part1 .block .flex_body {
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 18px !important;
    text-align: left !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }

  body.single-solution #solution_sec2.card-layout-horizontal .part1 .block .flex_body p {
    font-size: 12px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: min(46vw, 280px) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .main_content > .btn_wrapper {
    position: sticky;
    top: 50vh;
    right: 0;
    margin-left: auto;
    display: block;
    z-index: 1000;
    width: 11vw;
    height: 44vw;
  }
  .main_content > .btn_wrapper a {
    width: 11vw;
  }
  .main_content > .btn_wrapper a img {
    width: 100%;
    width: 11vw;
    height: 22vw;
  }
  .main_content > .btn_wrapper a::after {
    content: none;
  }
  header {
    position: relative;
  }
  header .btn_wrapper {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    right: 0;
    top: 50vh;
    z-index: 100;
    transform: translateY(-50%);
    z-index: 1002;
  }
  header .btn_wrapper a {
    width: 11.6vw;
  }
  #header {
    position: fixed;
    z-index: 1001;
    background: none;
    top: 0;
    height: 20vw;
    right: 0;
    width: 100%;
    border-left: none;
    background: white;
  }
  #header::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    transition: all 0.2s;
  }
  #header:not(.top_bg) h1, #header:not(.top_bg) h2 {
    width: auto;
    height: 100%;
    bottom: 0;
    top: 0;
    margin-left: 0;
    padding-left: 5.7vw;
    padding-top: 0;
    position: absolute;
    left: 0;
    z-index: 1000;
  }
  #header:not(.top_bg) h1 a, #header:not(.top_bg) h2 a {
    display: block;
    line-height: 1;
  }
  #header:not(.top_bg) h1 a img, #header:not(.top_bg) h2 a img {
    width: 53.3333333333vw;
    transition: none;
  }
  #header.top_bg::before {
    top: -14.4vw;
    transition: all 0.2s;
  }
  #header.top_bg h1 {
    width: auto;
    height: 100%;
    bottom: 0;
    top: 0;
    margin-left: 0;
    padding-left: 5.7vw;
    padding-top: 2vw;
    position: absolute;
    left: 0;
    z-index: 1000;
  }
  #header.top_bg h1 a {
    display: block;
    line-height: 1;
  }
  #header.top_bg h1 a img {
    width: 32vw;
  }
  #header .header_top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
  }
  #header h1 {
    display: inline-block;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-left: 6vw;
    position: relative;
    z-index: 100;
  }
  #header h1 a {
    display: block;
    line-height: 1;
  }
  #header h1 a img {
    width: 18.8vw;
  }
  #header .menu-trigger {
    display: inline-block;
    transition: all 0.4s;
    box-sizing: border-box;
    cursor: pointer;
    position: absolute;
    top: calc(7.2vw - 18px);
    left: auto;
    right: 6vw;
    transform: none;
    margin-top: 0;
    width: 20px;
    height: 36px;
    z-index: 1002;
  }
  #header .menu-trigger p {
    position: absolute;
    bottom: 0;
    top: 0;
    font-size: 2.5vw;
    text-align: center;
    width: 100%;
    color: #333;
    right: 100%;
    width: 24vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
  }
  #header .menu-trigger p.close {
    display: none;
  }
  #header .menu-trigger.active p.close {
    display: flex;
  }
  #header .menu-trigger.active p.open {
    display: none;
  }
  #header .menu-trigger:hover {
    opacity: 1;
  }
  #header .menu-trigger span {
    display: inline-block;
    transition: all 0.4s;
    box-sizing: border-box;
    cursor: pointer;
    float: right;
    position: absolute;
    width: 20px;
    height: 1px;
    left: 0;
    background: #333;
    right: 0;
    margin: auto;
  }
  #header .menu-trigger span:nth-of-type(1) {
    top: 15px;
  }
  #header .menu-trigger span:nth-of-type(2) {
    top: 20px;
  }
  #header .menu-trigger span:nth-of-type(3) {
    top: 25px;
  }
  #header .menu-trigger.active span:nth-of-type(1) {
    transform: translateY(2.5px) rotate(-45deg);
  }
  #header .menu-trigger.active span:nth-of-type(2) {
    transform: translateY(-2.5px) rotate(45deg);
  }
  #header .menu-trigger.active span:nth-of-type(3) {
    transform: translateY(-5px) rotate(45deg);
  }
  #header .shop {
    position: absolute;
    width: 8.2vw;
    left: auto;
    right: 15vw;
    bottom: auto;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
  }
  .g_nav {
    position: fixed;
    width: 100%;
    right: 0;
    height: 100vh;
    padding-top: 14.4vw;
    top: 0;
    left: 0;
    z-index: 1000;
    display: none;
    background: #fff;
  }
  .g_nav.active {
    display: block !important;
  }
  .g_nav ul {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    letter-spacing: 0.1em;
    padding-bottom: 5vw;
    padding-top: 12vw;
    height: 100%;
    justify-content: flex-start;
  }
  .g_nav ul li {
    float: none;
    width: 100%;
    font-size: 16px;
    padding: 2.5vw 0;
    margin: 0;
    text-align: center;
  }
  .g_nav ul li.commercial a, .g_nav ul li.privacy a {
    font-size: 14px;
  }
  .g_nav ul li a {
    display: inline-block;
    padding: 2.5vw 0;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
  }
  .g_nav ul li a .logo {
    max-width: 79px;
  }
  .g_nav ul li a .insta {
    width: 18px;
  }
  .g_nav ul li a .tel {
    font-size: 6vw;
  }
  .g_nav ul li a:hover {
    opacity: 0.9;
  }
  .g_nav ul li a:hover::after {
    content: none;
  }
  #loading img {
    width: 30.77vw;
    transform: translateY(-8vh);
  }
  .loading_wrap {
    position: fixed;
    top: 45vh;
    left: 50vw;
    text-align: center;
    display: inline-flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    transform: translate(-50%, -60%);
  }
  .sp_drag {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
  }
  .sp_drag_part {
    text-align: center;
    padding: 2vw 5px 1.5vw;
  }
  ul.sp_drag_btns {
    list-style: none;
    width: 100%;
  }
  ul.sp_drag_btns li {
    float: left;
    width: 50%;
  }
  ul.sp_drag_btns li a {
    display: block;
    width: 96%;
    display: block;
    margin: 0 auto;
  }
  ul.sp_drag_btns li a img {
    width: 100%;
    vertical-align: middle;
  }
  .top {
    margin-top: 80px;
    height: 133vw;
  }
  .top .container {
    width: 100%;
  }
  .loopSliderWrap1 {
    width: 100%;
    height: 133vw;
  }
  .loopSlider1 {
    width: 100%;
    height: 133vw;
  }
  .loopSlider1 ul {
    width: 100%;
    height: 133vw;
  }
  .loopSlider1 ul li {
    width: 100vw;
    height: 133vw;
  }
  .loopSlider1 ul li div {
    width: 100vw;
    height: 133vw;
  }
  main {
    padding-top: 0;
  }

  /* Phase1: removed unused #pc_menu2 (responsive) */

  body {
    letter-spacing: 0.08em;
    padding-left: 0;
  }
  .lightbox {
    position: fixed;
    z-index: 1001;
    width: 100%;
    display: none;
    height: 100vh;
    top: 0;
    right: 0;
  }
  .lightbox .bg {
    background: rgba(240, 240, 240, 0.8);
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  .lightbox .boxcontent {
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .lightbox .boxcontent .close_btn {
    position: absolute;
    right: 8vw;
    top: -15vw;
  }
  .lightbox .boxcontent .flex_img {
    width: 80vw;
    margin: auto;
  }
  .lightbox .boxcontent .flex_img img {
    width: 100%;
    mix-blend-mode: darken;
  }
  @keyframes discoverAnimatin {
    0% {
      background-position: bottom 0 center;
    }
    20% {
      background-position: bottom 40.8vw center;
    }
    60% {
      background-position: bottom 40.8vw center;
    }
    80% {
      background-position: bottom 81.6vw center;
    }
    100% {
      background-position: bottom 81.6vw center;
    }
  }
  .btn_group {
    text-align: left;
  }
  .btn_group a.right_btn {
    position: relative;
    height: 10.6666666667vw;
    width: 41.6vw;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .btn_group a.right_btn span {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.2vw;
    font-weight: bold;
    overflow: hidden;
  }
  .btn_group a.right_btn span strong {
    position: absolute;
    z-index: 5;
    font-weight: bold;
  }
  .btn_group a.right_btn span::after {
    content: "";
    width: 200%;
    left: -100%;
    height: 100%;
    position: absolute;
    transition: left ease 0.4s;
  }
  .btn_group a.right_btn span:hover {
    opacity: 1;
  }
  .btn_group a.right_btn span:hover::after {
    left: 0;
    transition: left ease 0.4s;
  }
  .btn_group a.right_btn::after {
    position: absolute;
    width: 17px;
    height: 8px;
    content: "";
    background: url(./../images/arrow_right.svg) no-repeat;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
  }
  .btn_group a.right_btn.blue_btn span::after {
    background: linear-gradient(to left, var(--theme-button-color), var(--theme-button-color) 50%, white 50%, white);
  }
  .btn_group a.right_btn.blue_btn span strong {
    color: white;
  }
  .btn_group a.right_btn.blue_btn span:hover strong {
    color: #333333;
  }
  .btn_group a.right_btn.blue_btn::after {
    background: url(./../images/arrow_right.svg) no-repeat;
  }
  .btn_group a.right_btn.blue_btn:hover::after {
    background: url(./../images/arrow_right_bk.svg) no-repeat;
  }

  /* Phase1: removed unused .white_btn styles (responsive) */

  .btn_group a:hover {
    opacity: 1;
  }

  /* Phase1: removed unused #sec1 hero (responsive) */

  #sec2 .part1 {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-direction: column;
  }
  #sec2 .part1 .block {
    flex: 1;
    text-align: center;
    padding: 4vw;
  }
  #sec2 .part1 .block .block_img {
    width: 100%;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center;
       object-position: center;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #sec2 .part1 .block .block_img img {
    mix-blend-mode: darken;
  }
  #sec2 .part1 .block h3 {
    text-align: center;
    font-weight: bold;
    font-size: 4vw;
    margin-bottom: 2vw;
    margin-top: 3.3333333333vw;
  }
  #sec2 .part1 .block p {
    font-size: 3.2vw;
    line-height: 2;
  }
  #sec3 {
    position: relative;
    z-index: 3;
  }
  #sec3 .bg {
    line-height: 0;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  #sec3 .bg img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  #sec3 h2 {
    padding-bottom: 0;
    color: white;
    text-align: center;
    font-size: 5.0666666667vw;
    font-weight: bold;
    padding-top: 13.3333333333vw;
  }
  #sec3 .sub_title {
    font-size: 12px;
    color: white;
    text-align: center;
    line-height: 2;
    letter-spacing: 0.1em;
    padding-top: 5px;
    font-weight: bold;
  }
  #sec3 .part1,
  #download_sec1 .download-service-sec3 .part1 {
    padding-bottom: 0;
    padding-top: 35px;
    padding: 4.6666666667vw 4vw;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 4vw;
    padding-bottom: 13.3333333333vw;
  }
  #sec3 .part1 .block,
  #download_sec1 .download-service-sec3 .part1 .block {
    background: white;
    text-align: center;
    padding: 5.3333333333vw 5.3333333333vw 6.4vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
  }
  #sec3 .part1 .block > img,
  #download_sec1 .download-service-sec3 .part1 .block > img {
    height: 36vw;
    width: 100%;
    -o-object-fit: contain;
       object-fit: contain;
  }
  #sec3 .part1 .block h3,
  #download_sec1 .download-service-sec3 .part1 .block h3 {
    padding-top: 3.6vw;
    font-size: 4.2666666667vw;
    text-align: center;
    font-weight: bold;
    padding-bottom: 10px;
    line-height: 2.2;
  }
  #sec3 .part1 .block h3 span,
  #download_sec1 .download-service-sec3 .part1 .block h3 span {
    border-bottom: 1px solid black;
    padding-bottom: 3px;
  }
  #sec3 .part1 .block p,
  #download_sec1 .download-service-sec3 .part1 .block p {
    font-size: 3.2vw;
    text-align: left;
  }
  #sec3 .part1 .block .btn_group,
  #download_sec1 .download-service-sec3 .part1 .block .btn_group {
    margin-top: auto;
    width: 100%;
    padding-top: 5.3333333333vw;
    display: flex;
    justify-content: center;
  }
  #sec3 .part1 .block .btn_group a.right_btn.blue_btn,
  #download_sec1 .download-service-sec3 .part1 .block .btn_group a.right_btn.blue_btn {
    width: 56vw;
    height: 10.6666666667vw;
    margin: 0 auto;
    background-color: #007dde;
    border: 1px solid #007dde;
  }
  #sec4 {
    background: url(./../images/top_sec3_bg.jpg) no-repeat;
    position: relative;
    z-index: 3;
  }
  #sec4 h2 {
    padding-bottom: 0;
    text-align: center;
    font-size: 5.0666666667vw;
    font-weight: bold;
    padding-top: 13.3333333333vw;
  }
  #sec4 .sub_title {
    font-size: 12px;
    text-align: center;
    line-height: 2;
    letter-spacing: 0.1em;
    padding-top: 5px;
    font-weight: bold;
  }
  #sec4 > p {
    font-size: 3.7333333333vw;
    text-align: center;
    padding: 5.3333333333vw 2.6666666667vw 0;
  }
  #sec4 .part1 {
    padding-bottom: 13.3333333333vw;
  }
  #sec4 .part1 .part_body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none;
    padding: 0 4vw;
    padding-top: 4vw;
    gap: 0;
    overflow-x: visible;
  }
  #sec4 .part1 .part_body .block {
    height: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: white;
    padding: 5.3333333333vw 2.6666666667vw;
    flex-direction: column;
    grid-column: auto !important;
    grid-row: auto !important;
  }
  #sec4 .part1 .part_body .block .solution-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 0 4vw 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #sec4 .part1 .part_body .block .solution-card-icon picture,
  #sec4 .part1 .part_body .block .solution-card-icon figure {
    margin: 0;
  }
  #sec4 .part1 .part_body .block .solution-card-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    object-position: center;
    margin: 0;
    display: block;
  }
  #sec4 .part1 .part_body .block h3 {
    white-space: pre-line;
    word-break: break-word;
    color: #333;
    font-size: 3.2vw;
    font-weight: bold;
    line-height: 1.7;
  }
  #sec4 .part1 .part_body .block:nth-child(4n + 1),
  #sec4 .part1 .part_body .block:nth-child(4n + 4),
  #sec4 .part1 .part_body .block:nth-child(4n + 1).solution-card--accent,
  #sec4 .part1 .part_body .block:nth-child(4n + 4).solution-card--accent {
    background: white;
  }
  #sec4 .part1 .part_body .block:nth-child(4n + 2),
  #sec4 .part1 .part_body .block:nth-child(4n + 3),
  #sec4 .part1 .part_body .block.solution-card--accent:nth-child(4n + 2),
  #sec4 .part1 .part_body .block.solution-card--accent:nth-child(4n + 3) {
    background: #f2f2f2;
  }
  #sec4 .part2 {
    padding-bottom: 9.3333333333vw;
    text-align: center;
  }
  #sec4 .part2 a {
    margin: auto;
    margin-top: 0;
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #333;
    position: relative;
    background: white;
    border: 1px solid #333;
  }
  #sec4 .part2 a::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 6px;
    right: 15px;
    top: 50%;
    transform: rotate(-45deg) translateY(-50%);
    border-bottom: 1px solid white;
    border-right: 1px solid white;
  }
  #works_sec2.case-study-archive {
    background: var(--theme-secondary-light) !important;
    position: relative;
    z-index: 3;
  }

  #sec5 {
    background: #f3f8fd;
    position: relative;
    z-index: 3;
  }
  #sec5 h2 {
    padding-bottom: 0;
    text-align: center;
    font-size: 5.0666666667vw;
    font-weight: bold;
    padding-top: 13.3333333333vw;
  }
  #sec5 .sub_title {
    font-size: 12px;
    text-align: center;
    line-height: 2;
    letter-spacing: 0.1em;
    padding-top: 5px;
    font-weight: bold;
  }
  #sec5 > p {
    font-size: 3.7333333333vw;
    text-align: center;
    padding: 5.3333333333vw 2.6666666667vw;
  }
  #sec5 .part1,
  #works_sec2.case-study-archive .part1 {
    padding: 8vw 5.3333333333vw;
  }
  #sec5 .part1 .block,
  #works_sec2.case-study-archive .part1 .block {
    background: white;
    margin-bottom: 4vw;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  }
  #sec5 .part1 .block .flex_body,
  #works_sec2.case-study-archive .part1 .block .flex_body {
    padding: 4vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
  #sec5 .part1 .block .flex_body p {
    font-size: 3.7333333333vw;
  }
  #sec5 .part1 .block .flex_body h3 {
    font-size: 4.8vw;
    font-weight: bold;
    line-height: 1.6;
    padding-top: 1.3333333333vw;
  }

  #sec5.custom-html-section .part1 .block .flex_body .casestudy-card-title,
  #works_sec2.case-study-archive .part1 .block .flex_body .casestudy-card-title {
    font-size: 4.2666666667vw;
    padding-top: 0;
    line-height: 1.4;
  }

  #sec5.custom-html-section .part1 .block .flex_body .casestudy-card-subtitle,
  #works_sec2.case-study-archive .part1 .block .flex_body .casestudy-card-subtitle {
    font-size: 3.4666666667vw;
    font-weight: bold;
    line-height: 1.45;
  }

  #sec5.custom-html-section .part1 .block .flex_body .casestudy-card-body,
  #works_sec2.case-study-archive .part1 .block .flex_body .casestudy-card-body {
    font-size: 12px;
    line-height: 1.5;
    font-weight: normal;
  }

  #sec5.custom-html-section .part1 .block .flex_body,
  #works_sec2.case-study-archive .part1 .block .flex_body {
    align-items: flex-start;
    text-align: left;
  }

  #sec6 .part1 h2 {
    padding-bottom: 0;
    font-size: 5.0666666667vw;
    font-weight: bold;
    padding-top: 13.3333333333vw;
    text-align: center;
  }
  #sec6 .part1 .sub_title {
    text-align: center;
    font-size: 12px;
    line-height: 2;
    letter-spacing: 0.1em;
    padding-top: 5px;
    font-weight: bold;
  }
  #sec6 .part1 .slicker_parts {
    margin-top: 0;
    padding: 5.3333333333vw 0 13.3333333333vw;
  }
  /* Mobile: swipe cards — stop CSS marquee (overflow:hidden mid-glyph = black artifacts) */
  #sec6 .part1 .slicker_parts.js-news-ticker {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  #sec6 .part1 .slicker_parts.js-news-ticker .js-news-ticker-track {
    animation: none !important;
    will-change: auto !important;
    padding: 0 4vw;
  }
  #sec6 .part1 .slicker_parts .slicker_part {
    background: transparent !important;
    width: 84vw !important;
    max-width: 84vw !important;
    min-width: 84vw !important;
    margin: 0 2vw !important;
    scroll-snap-align: center;
    overflow: hidden;
  }
  #sec6 .part1 .slicker_parts .slicker_part .block_img {
    height: auto;
    display: block;
    overflow: hidden;
    background: #fff;
    line-height: 0;
    width: 100%;
  }
  #sec6 .part1 .slicker_parts .slicker_part .block_img figure.emdash-image {
    margin: 0;
    padding: 0;
    width: 100%;
    display: block;
    line-height: 0;
  }
  #sec6 .part1 .slicker_parts .slicker_part .block_img img,
  #sec6 .part1 .slicker_parts .slicker_part .block_img figure.emdash-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: 66.6666666667vw !important;
    max-height: none !important;
    aspect-ratio: unset !important;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
    display: block;
    margin: 0 !important;
  }
  #sec6 .part1 .slicker_parts .slicker_part .block_body {
    padding: 4vw;
  }
  #sec6 .part1 .slicker_parts .slicker_part .block_body h3 {
    font-size: 4vw;
    font-weight: bold;
    line-height: 1.8;
    color: #333;
  }
  #sec6 .part1 .slicker_parts .slicker_part .block_body p {
    font-size: 3.7333333333vw;
    color: #333;
  }
  /* Mobile: hide CTA arrow (Databricks pattern) — solid button is enough */
  #sec6 .btn_group a.right_btn.blue_btn::after,
  #sec6 .btn_group a.right_btn.blue_btn span::after,
  #sec6 .btn_group button.right_btn.blue_btn::after,
  #sec6 .btn_group button.right_btn.blue_btn span::after {
    display: none !important;
    content: none !important;
    background: none !important;
  }
  #sec6 .part1 .btn_group {
    display: flex;
    justify-content: center;
    padding: 0 4vw 13.3333333333vw;
  }
  #sec6 .part1 .btn_group a.right_btn.blue_btn {
    width: 70vw;
    max-width: 312px;
    height: 10.6666666667vw;
    min-height: 48px;
    margin: 0 auto;
  }
  #solution_sec_fv,
  body.service-detail-template #service_sec_fv {
    height: 60vw;
    background: url(./../images/solution_fv_bg.jpg) no-repeat;
    background-size: cover;
    background-position: left bottom;
    position: relative;
    z-index: 10;
  }
  #solution_sec_fv .part1,
  body.service-detail-template #service_sec_fv .part1 {
    height: 100%;
    position: relative;
  }
  #solution_sec_fv .part1 .block,
  body.service-detail-template #service_sec_fv .part1 .block {
    padding: 5.3333333333vw 5.3333333333vw;
    position: absolute;
    left: 0;
    bottom: 3vw;
  }

  body.service-detail-template #service_sec_fv .part1 .block {
    bottom: 9vw;
  }
  #solution_sec_fv .part1 .block h1,
  body.service-detail-template #service_sec_fv .part1 .block h1 {
    color: white;
    font-size: 4.8vw;
    font-weight: bold;
    line-height: 1.7;
  }
  #solution_sec_fv .part1 .block h2,
  body.service-detail-template #service_sec_fv .part1 .block h2 {
    font-size: 3.2vw;
    font-weight: bold;
    color: white;
    padding-top: 0vw;
  }

  body.single-solution #solution_sec_fv .part1 .block {
    bottom: 2.5vw;
    top: auto;
    padding: 0 5.3333333333vw;
  }

  #solution_sec1 .part1 {
    padding: 8vw 5.3333333333vw;
  }
  #solution_sec1 .part1 h2 {
    text-align: center;
    font-size: 5.0666666667vw;
    font-weight: bold;
    line-height: 1.7;
    padding-bottom: 5.3333333333vw;
  }
  #solution_sec1 .part1 p {
    text-align: center;
    font-size: 3.4666666667vw;
    white-space: pre-line;
    font-weight: normal;
    letter-spacing: 0.1em;
    max-width: 650px;
    width: 100%;
    margin: 60px auto;
    box-sizing: border-box;
    display: block;
  }

  body.single-solution #solution_sec1 .part1 p {
    font-size: 3.2vw !important;
  }

  body.single-solution #solution_sec1 .part1 p.solution-top-content {
    font-size: 3.2vw !important;
    line-height: 1.75;
    color: #555;
    font-weight: 400;
    letter-spacing: 0.06em;
    margin: 0 auto 2vw;
  }

  #solution_sec1 .part1 a {
    width: 61.3333333333vw;
    height: 13.3333333333vw;
    background: var(--theme-button-dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.2666666667vw;
    color: white;
    margin: 30px auto;
    position: relative;
  }
  #solution_sec1 .part1 a::after {
    content: "";
    position: absolute;
    width: 17px;
    height: 8px;
    background: url(./../images/arrow_right.svg) no-repeat;
    background-size: contain;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
  }
  #solution_sec3 {
    background: url(./../images/solution_sec3_bg.jpg) no-repeat;
    background-size: cover;
    background-position: top center;
    padding: 13.3333333333vw 0;
  }
  #solution_sec3 .part1 h2 {
    text-align: center;
    font-size: 5.0666666667vw;
    font-weight: bold;
    padding-bottom: 5.3333333333vw;
    letter-spacing: 0.1em;
  }
  #solution_sec3 .part1 .part_body .block {
    margin: auto;
    max-width: 100%;
    background: url(./../images/solution_sec3_block_bg_sp.jpg) no-repeat;
    padding: 5.3333333333vw;
    margin-bottom: 4vw;
  }
  #solution_sec3 .part1 .part_body .block.flex_img_right .flex_img {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
  #solution_sec3 .part1 .part_body .block.flex_img_right .flex_img > img {
    width: auto;
    max-width: 90%;
    height: auto;
  }
  #solution_sec3 .part1 .part_body .block .flex_body {
    padding-right: 5.3333333333vw;
    text-align: center;
  }
  #solution_sec3 .part1 .part_body .block .flex_body h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2.6666666667vw;
    margin-top: 5.3333333333vw;
  }
  #solution_sec3 .part1 .part_body .block .flex_body h3 img {
    width: 12vw;
    height: 12vw;
    -o-object-fit: contain;
       object-fit: contain;
  }

  body.single-solution #solution_sec3 .part1 {
    padding-left: calc(40px + env(safe-area-inset-left, 0px)) !important;
    padding-right: calc(40px + env(safe-area-inset-right, 0px)) !important;
    box-sizing: border-box !important;
  }

  body.single-solution #site-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.single-solution #solution_sec3 {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.single-solution #solution_sec3 .part1 .part_body {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-items: center !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  body.single-solution #solution_sec3 .part1 .part_body .block {
    width: 100% !important;
    max-width: 560px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  body.single-solution #solution_sec3 .part1 .part_body .block .flex_body {
    padding-right: 0 !important;
    text-align: center !important;
  }

  body.single-solution #solution_sec3 .part1 .part_body .block .flex_body h3 span {
    max-width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  body.single-solution #solution_sec3 .part1 .part_body .block .flex_body p {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  body.single-solution #solution_sec3 .part1 .part_body .block .flex_body h3 img {
    width: 19.008vw !important;
    height: 19.008vw !important;
  }

  #solution_sec3 .part1 .part_body .block .flex_body h3 span {
    padding-left: 0;
    display: block;
    white-space: normal;
    color: white;
    font-weight: bold;
    font-size: 4.2666666667vw;
    word-break: keep-all;
    line-height: 1.8;
    text-align: center;
    text-decoration: none;
  }
  #solution_sec3 .part1 .part_body .block .flex_body p {
    color: white;
    font-size: 3.4666666667vw;
    font-weight: bold;
    letter-spacing: 0.1em;
    padding-top: 4vw;
    line-height: 1.8;
  }

  body.single-solution #solution_sec3 .part1 .part_body .block .flex_body h3 span,
  body.single-solution #solution_sec3 .part1 .part_body .block .flex_body p {
    color: #333 !important;
  }

  #solution_sec4 .part1 {
    padding: 0 4vw;
    padding-top: 10vw;
    padding-bottom: 10vw;
  }

  body.single-solution #solution_sec4 > div {
    padding-top: 0 !important;
  }

  body.single-solution #solution_sec4 .part1 {
    padding-top: 0 !important;
    padding-bottom: 6vw !important;
  }

  body.single-solution #site-content > section#solution_sec4 > div > h2,
  body.single-solution #solution_sec4 > div > h2,
  body.single-solution #solution_sec4 > div:nth-child(1) > h2:nth-child(1) {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  body.single-solution #solution_sec3 > .part1 {
    padding-bottom: 2vw !important;
  }
  #solution_sec4 .part1 h2 {
    font-size: 3.6vw;
    color: #333;
    text-align: center;
    padding-bottom: 8vw;
    font-weight: bold;
  }
  #solution_sec4 > div:nth-child(1) > h2:nth-child(1) {
    font-size: 2.6666666667vw;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.8;
    padding-top: 10px;
    padding-bottom: 60px;
  }

  body.single-solution #solution_sec4 > div > h2 {
    padding-left: max(4vw, env(safe-area-inset-left, 0px));
    padding-right: max(4vw, env(safe-area-inset-right, 0px));
  }

  #solution_sec4 .part1 .part_body {
    text-align: center;
  }
  #solution_sec5 {
    background: url(./../images/solution_sec4_bg.jpg) no-repeat;
    background-size: cover;
    background-position: bottom center;
  }
  #solution_sec5 .part1 {
    padding-top: 10.6666666667vw;
  }
  #solution_sec5 .part1 h2 {
    color: white;
    text-align: center;
    font-size: 5.0666666667vw;
    font-weight: bold;
    letter-spacing: 0.1em;
  }
  #solution_sec5 .part1 .sub_title {
    color: white;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.1em;
    padding-bottom: 5.3333333333vw;
  }
  #solution_sec5 .part1 .part_body {
    padding: 4vw;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.3333333333vw;
    padding-bottom: 16vw;
  }
  #solution_sec5 .part1 .part_body .block {
    padding: 2.6666666667vw;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 20vw;
  }
  #solution_sec5 .part1 .part_body .block.inviewfadeInUp,
  #solution_sec5 .part1 .part_body .block.inviewfadeInUp.fadeInUp {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  #solution_sec5 .part1 .part_body .block h3 {
    text-align: center;
    font-size: 3.4666666667vw;
    line-height: 1.8;
    font-weight: bold;
    margin: 0;
    width: 100%;
  }
  #solution_sec5 .part1 .part_body .block p {
    white-space: normal;
    text-align: center;
    font-size: 12px;
    margin: 0;
    width: 100%;
  }
  #solution_sec5 .part1 .part_body .block:nth-child(even) {
    background-color: #ffffd8;
  }

  body.single-solution #solution_sec5 .part1 .part_body > .image_block {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 0;
    box-sizing: border-box;
    text-align: center;
    display: block;
    line-height: 0;
    overflow: hidden;
    height: clamp(200px, 50vw, 480px);
  }

  body.single-solution #solution_sec5 .part1 .part_body > .image_block img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0 !important;
    border: 0;
    outline: 0;
  }

  body.single-solution #solution_sec5 .part1 .part_body > .image_block,
  body.single-solution #solution_sec5 .part1 .part_body > .image_block img {
    box-shadow: none !important;
    filter: none;
  }

  #custom_work_sec1 .part1 {
    border-bottom: 1px solid var(--theme-accent);
    padding: 13.3333333333vw 0 6.6666666667vw;
    margin: 0 5.3333333333vw;
    width: auto;
  }
  body.single-custom_work #custom_work_sec1 .part1 {
    padding-bottom: 10px !important;
  }
  body.single-custom_work #custom_work_sec1 .part1 img,
  body.single-custom_work #custom_work_sec3 .part1 img {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #custom_work_sec1 img,
  #custom_work_sec1 figure.wp-block-image img,
  #custom_work_sec1 .wp-block-image img,
  #custom_work_sec2 img,
  #custom_work_sec2 figure.wp-block-image img,
  #custom_work_sec2 .wp-block-image img,
  #custom_work_sec3 img,
  #custom_work_sec3 figure.wp-block-image img,
  #custom_work_sec3 .wp-block-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    transform: none !important;
  }
  #custom_work_sec1 .part1 .title {
    width: 37.3333333333vw;
    height: 7.2vw;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid black;
    margin: auto;
  }
  #custom_work_sec1 .part1 p {
    font-size: 3.7333333333vw;
    text-align: center;
    margin-top: 2.6666666667vw;
  }
  #custom_work_sec1 .part1 h2 {
    font-size: 4.5333333333vw;
    text-align: center;
    font-weight: bold;
    line-height: 1.5;
    margin-top: 3.3333333333vw;
  }
  #custom_work_sec2 .part1 {
    margin: 5.3333333333vw 5.3333333333vw 60px 5.3333333333vw;
    width: auto;
  }
  #custom_work_sec2 .part1 h3 {
    font-size: 4.2666666667vw;
    font-weight: bold;
    border-left: 5px solid var(--theme-primary-dark);
    padding-left: 2.6666666667vw;
    margin-bottom: 5.3333333333vw;
    margin-top: 4vw;
  }
  body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
    h3:not(
      .card-grid-3 .block *,
      .card-grid-8 .part1 .block *,
      .card-layout-horizontal .part1 .block *,
      .wp-block-group.case-study-logo-row *
    ) {
    font-size: 4.2666666667vw !important;
    font-weight: bold !important;
    /* Azure WP: keep blue left bar on section h3 (was stripped from Databricks backup) */
    border-left: 5px solid #007DDE !important;
    padding-left: 2.6666666667vw !important;
    padding-top: 0 !important;
    margin-bottom: 5.3333333333vw;
    margin-top: 8vw !important;
  }
  body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
    :is(h4, h5, h6):not(
      .card-grid-3 .block *,
      .card-grid-8 .part1 .block *,
      .card-layout-horizontal .part1 .block *,
      .wp-block-group.case-study-logo-row *
    ) {
    font-size: 4.2666666667vw !important;
    font-weight: bold !important;
    border-left: none !important;
    padding-left: 0 !important;
    padding-top: 40px !important;
    margin-bottom: 5.3333333333vw;
    margin-top: 8vw;
  }
  body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content)
    h2.wp-block-heading:not(
      :is(.section-bg-white, .section-bg-dark, .section-bg-accent, .section-bg-primary-light) *,
      .card-grid-3 .block *,
      .card-grid-8 .part1 .block *,
      .card-layout-horizontal .part1 .block *,
      .wp-block-group.case-study-logo-row *
    ) {
    font-size: 4.9777777778vw !important;
    font-weight: bold !important;
    border-left: none !important;
    padding-left: 0 !important;
    padding-top: 40px !important;
    margin-bottom: 5.3333333333vw;
    margin-top: 8vw;
  }
  /* Azure WP: direct section h3 keep blue bar; only strip nested/group chrome headings below */
  body.single-custom_work #custom_work_sec2 .part1 > h3.wp-block-heading,
  body.single-custom_work #custom_work_sec2 .part1 > h3,
  body.single-custom_work #custom_work_sec2 .part1 > .wp-block-heading {
    border-left: 5px solid #007DDE !important;
    padding-left: 2.6666666667vw !important;
    padding-top: 0 !important;
  }
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > .wp-block-group__inner-container > :is(h2, h3, h4, h5, h6, .wp-block-heading),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > .wp-block-group__inner-container > .wp-block-columns > .wp-block-column > :is(h2, h3, h4, h5, h6, .wp-block-heading),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > .wp-block-group__inner-container > .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > .wp-block-group__inner-container > :is(h2, h3, h4, h5, h6, .wp-block-heading),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light).is-layout-flex > :is(h2, h3, h4, h5, h6, .wp-block-heading),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light).is-layout-grid > :is(h2, h3, h4, h5, h6, .wp-block-heading),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > :is(h2, h3, h4, h5, h6, .wp-block-heading),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > [class*="wp-container-"] > :is(h2, h3, h4, h5, h6, .wp-block-heading) {
    border-left: none !important;
    padding-left: 0 !important;
    padding-top: 40px !important;
  }
  #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) h3 {
    margin-top: 4vw !important;
  }
  body.single-custom_work #custom_work_sec2 .part1 > h3.wp-block-heading:has(strong),
  body.single-custom_work #custom_work_sec2 .part1 > h3.wp-block-heading:has(+ .wp-block-columns),
  body.single-custom_work #custom_work_sec2 .part1 > h3.wp-block-heading:has(+ div:has(.wp-block-columns)),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > .wp-block-group__inner-container > h3.wp-block-heading:has(strong),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > .wp-block-group__inner-container > h3.wp-block-heading:has(+ .wp-block-columns),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > .wp-block-group__inner-container > h3.wp-block-heading:has(+ div:has(.wp-block-columns)),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > .wp-block-group__inner-container > .wp-block-columns > .wp-block-column > h3.wp-block-heading:has(strong),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > .wp-block-group__inner-container > .wp-block-columns > .wp-block-column > h3.wp-block-heading:has(+ .wp-block-columns),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > .wp-block-group__inner-container > .wp-block-columns > .wp-block-column > h3.wp-block-heading:has(+ div:has(.wp-block-columns)),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > .wp-block-group__inner-container > .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > .wp-block-group__inner-container > h3.wp-block-heading:has(strong),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > .wp-block-group__inner-container > .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > .wp-block-group__inner-container > h3.wp-block-heading:has(+ .wp-block-columns),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > .wp-block-group__inner-container > .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > .wp-block-group__inner-container > h3.wp-block-heading:has(+ div:has(.wp-block-columns)),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light).is-layout-flex > h3.wp-block-heading:has(strong),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light).is-layout-flex > h3.wp-block-heading:has(+ .wp-block-columns),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light).is-layout-flex > h3.wp-block-heading:has(+ div:has(.wp-block-columns)),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light).is-layout-grid > h3.wp-block-heading:has(strong),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light).is-layout-grid > h3.wp-block-heading:has(+ .wp-block-columns),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light).is-layout-grid > h3.wp-block-heading:has(+ div:has(.wp-block-columns)),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > h3.wp-block-heading:has(strong),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > h3.wp-block-heading:has(+ .wp-block-columns),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > h3.wp-block-heading:has(+ div:has(.wp-block-columns)),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > [class*="wp-container-"] > h3.wp-block-heading:has(strong),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > [class*="wp-container-"] > h3.wp-block-heading:has(+ .wp-block-columns),
  body.single-custom_work #custom_work_sec2 .part1 .wp-block-group:not(.section-bg-white):not(.section-bg-dark):not(.section-bg-accent):not(.section-bg-primary-light) > [class*="wp-container-"] > h3.wp-block-heading:has(+ div:has(.wp-block-columns)),
  body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) h3:not(
      .card-grid-3 .block *,
      .card-grid-8 .part1 .block *,
      .card-layout-horizontal .part1 .block *,
      .wp-block-group.case-study-logo-row *
    ):has(strong),
  body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) h3:not(
      .card-grid-3 .block *,
      .card-grid-8 .part1 .block *,
      .card-layout-horizontal .part1 .block *,
      .wp-block-group.case-study-logo-row *
    ):has(+ .wp-block-columns),
  body.single-custom_work #site-content #custom_work_sec2 .part1:is(.entry-content, .wp-block-post-content) h3:not(
      .card-grid-3 .block *,
      .card-grid-8 .part1 .block *,
      .card-layout-horizontal .part1 .block *,
      .wp-block-group.case-study-logo-row *
    ):has(+ div:has(.wp-block-columns)) {
    text-align: center !important;
    border-left: none !important;
    padding-left: 0 !important;
  }
  #custom_work_sec2 .part1 p {
    font-size: 3.7333333333vw;
    margin-bottom: 0;
  }
  #custom_work_sec2 .part1 ul {
    margin-left: 5.3333333333vw;
  }
  #custom_work_sec2 .part1 ul li {
    list-style: disc;
    font-size: 3.7333333333vw;
  }
  #custom_work_sec2 .part1 ol {
    margin-left: 5.3333333333vw;
    padding-left: 0;
    list-style-type: decimal;
    list-style-position: outside;
    text-align: left;
  }
  #custom_work_sec2 .part1 ol > li {
    display: list-item;
    list-style-type: decimal;
    list-style-position: outside;
    font-size: 3.7333333333vw;
    padding-top: 0;
    margin-top: 0;
    border-left: none;
  }
  #custom_work_sec2 .part1 ol > li > p {
    font-size: inherit;
    font-weight: normal;
    margin-bottom: 0;
    padding-top: 0;
  }
  #custom_work_sec2 .part1 ol > li > p > :is(strong, b) {
    font-weight: bold;
  }
  #custom_work_sec2 .part1 ol:has(> li.case-study-ol-li-strong) {
    list-style: none;
    counter-reset: case-study-ol;
  }
  #custom_work_sec2 .part1 ol:has(> li.case-study-ol-li-strong) > li {
    list-style: none;
    display: block;
    position: relative;
    counter-increment: case-study-ol;
    padding-left: 1.6em;
  }
  #custom_work_sec2 .part1 ol:has(> li.case-study-ol-li-strong) > li::before {
    content: counter(case-study-ol) ". ";
    position: absolute;
    left: 0;
    font-size: inherit;
    font-weight: 700 !important;
  }
  #custom_work_sec2 .part1 ol:has(> li.case-study-ol-li-strong) > li > p {
    font-weight: normal !important;
  }
  #custom_work_sec2 .part1 h4 {
    margin-bottom: 2.6666666667vw;
    margin-top: 4vw;
    font-weight: bold;
  }
  #custom_work_sec2 .part1 figure {
    text-align: center;
    padding-top: 2.6666666667vw;
  }
  body.single-custom_work #custom_work_sec2 .part1.entry-content figure.wp-block-image figcaption,
  body.single-custom_work #custom_work_sec2 .part1.entry-content .wp-block-image figcaption,
  body.single-custom_work #custom_work_sec2 .part1.entry-content figcaption.wp-element-caption,
  body.single-custom_work #custom_work_sec2 .part1.wp-block-post-content figure.wp-block-image figcaption,
  body.single-custom_work #custom_work_sec2 .part1.wp-block-post-content .wp-block-image figcaption,
  body.single-custom_work #custom_work_sec2 .part1.wp-block-post-content figcaption.wp-element-caption {
    font-size: var(--theme-body-image-caption-font-size, 14px) !important;
    line-height: var(--theme-body-image-caption-line-height, 22px) !important;
  }
  body.single-custom_work #custom_work_sec2 .part1 > .wp-block-image img,
  body.single-custom_work #custom_work_sec2 .part1 > figure.wp-block-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  #custom_work_sec2 .part1 .wp-block-group.case-study-logo-row .wp-block-image img,
  #custom_work_sec2 .part1 .wp-block-group.case-study-logo-row figure.wp-block-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #custom_work_sec2 .part1 .custom_image {
    margin-top: 5.3333333333vw;
    margin-bottom: 4vw;
  }

  #custom_work_sec3 .part1 {
    margin-bottom: 13.3333333333vw;
  }
  #custom_work_sec3 .part1 .part_body {
    max-width: 100%;
    width: 90%;
    margin: auto;
    text-align: center;
    border: none !important;
    padding-bottom: 8vw;
    margin-top: 8vw;
  }
  #custom_work_sec3 .part1 .part_body h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 13.3333333333vw;
    background: var(--theme-primary-dark) !important;
    font-size: 5.0666666667vw;
    text-align: center;
    color: var(--theme-primary-light) !important;
    font-weight: bold;
  }
  #custom_work_sec3 .part1 .part_body .title {
    font-size: 5.0666666667vw;
    text-align: center;
    margin-top: 5.3333333333vw;
    font-weight: bold;
    padding: 0 5.3333333333vw;
  }
  #custom_work_sec3 .part1 .part_body .desc {
    font-weight: bold;
    text-align: center;
    font-size: 3.7333333333vw;
    padding: 0 5.3333333333vw;
  }
  #custom_work_sec3 .part1 .part_body img {
    margin-top: 1.3333333333vw;
    margin-bottom: 1.3333333333vw;
    padding: 0 5.3333333333vw;
  }
  #custom_work_sec3 .part1 .part_body .btn_group a {
    margin: auto;
    border: 1px solid var(--theme-button-color);
    margin-top: 5.3333333333vw;
    width: 66.6666666667vw;
    height: 16vw;
  }
  footer {
    position: relative;
    z-index: 3;
    /* Azure blue — not --theme-primary-light (undefined → transparent → white-on-white) */
    background: #007dde;
    background-position: top center;
    background-size: cover;
  }
  footer .part2 .btn_group3 li {
    border-color: #fff;
  }
  footer .part2 .btn_group3 li a {
    color: #fff;
  }
  footer .part1 {
    padding: 13.3333333333vw 5.3333333333vw 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
  }
  footer .part1 h2 img {
    width: 53.3333333333vw;
  }
  footer .part1 ul {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 5.3333333333vw;
  }
  footer .part1 ul li a {
    color: white;
    font-size: 13px;
  }
  footer .part2 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    padding: 5.3333333333vw 5.3333333333vw;
  }
  footer .part2 .sns_parts {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
  }
  footer .part2 .sns_parts a {
    margin-right: 24px;
  }
  footer .part2 .btn_group {
    margin-right: 0;
    margin-top: 5.3333333333vw;
  }
  footer .part2 .btn_group li {
    margin-bottom: 0.6666666667vw;
    text-align: left;
    width: 100%;
  }
  footer .part2 .btn_group li a {
    font-size: 14px;
    color: white;
  }
  footer .part2 .btn_group2 li {
    margin-bottom: 0.6666666667vw;
    text-align: left;
  }
  footer .part2 .btn_group2 li a {
    font-size: 14px;
    color: white;
  }
  footer .part3 {
    padding-bottom: 8vw;
  }
  footer .part3 p {
    font-size: 10px;
    color: white;
    padding: 0 5.3333333333vw;
    text-align: center;
  }
  #news_sec1 {
    background: url(./../images/news_fv_sp.jpg) no-repeat;
    background-size: cover;
    background-position: bottom;
    height: 80.6vw;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    position: relative;
  }
  #news_sec1 .part1 {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #news_sec1 .part1 h2 {
    font-size: vw;
    color: white;
    text-align: center;
    line-height: 1.4;
  }
  #news_sec1 .part1 p {
    font-size: 13px;
    color: white;
    text-align: center;
    letter-spacing: 4px;
  }
  #news_sec2 {
    margin-top: 0px;
    z-index: 3;
    position: relative;
    padding-top: 80px;
  }
  #news_sec2 .part1 {
    max-width: 983px;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    padding-bottom: 8vw;
  }
  #news_sec2 .part1 .block {
    width: 90%;
    margin: auto;
    border-bottom: 1px dotted #333;
  }
  #news_sec2 .part1 .block a {
    text-align: left;
    padding-top: 0;
    line-height: 1;
    padding-top: 2vw;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    color: #333;
    padding-bottom: 3.3333333333vw;
    padding-top: 3.3333333333vw;
    gap: 2.6666666667vw;
  }
  #news_sec2 .part1 .block a .date {
    width: 24vw;
    min-width: 24vw;
    max-width: 24vw;
    font-size: 3.7333333333vw;
    line-height: 1;
    display: block;
    text-align: left;
    flex-shrink: 0;
  }
  #news_sec2 .part1 .block a .title {
    font-size: 3.7333333333vw;
    display: block;
    line-height: 1.2;
    margin-left: 0;
    padding-left: 0;
    margin-top: 2.6666666667vw;
    width: 100%;
    flex-basis: 100%;
    min-width: 0;
  }
  #news_sec2 .part1 .block a .category {
    font-size: 3.4666666667vw;
    width: 21.3333333333vw;
    height: 5.3333333333vw;
    min-width: 21.3333333333vw;
    max-width: 21.3333333333vw;
    min-height: 5.3333333333vw;
    max-height: 5.3333333333vw;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: hidden;
    position: static;
  }
  #news_sec2 .part1 .block:last-child {
    border-bottom: none;
  }
  #news_sec2 .part2 {
    padding-bottom: 9.3333333333vw;
  }
  #news_sec2 .part2 a {
    color: #333;
    text-decoration: none;
  }
  #news_detail_sec1 {
    padding: 0 5.3333333333vw;
  }
  /* News *article title* only — do not target body h2 from Portable Text */
  #news_detail_sec1 .news-detail-article .part1 > h2 {
    font-size: 4.8vw;
    text-align: center;
    position: relative;
    padding-top: 6vw;
    margin: auto;
    margin-bottom: 6vw;
    max-width: 775px;
    width: 100%;
    line-height: 1.4;
    font-weight: bold;
  }
  #news_detail_sec1 .news-detail-article .part1 > h2 .date {
    font-size: 12px;
  }
  #news_detail_sec1 .part1 {
    margin-top: 13.3333333333vw;
  }
  #news_detail_sec1 .part1 .subtitle span {
    display: flex;
    width: 33.3333333333vw;
    height: 6.6666666667vw;
    border: 1px solid #333;
    margin: auto;
    align-items: center;
    justify-content: center;
    font-size: 3.2vw;
    font-weight: bold;
  }
  #news_detail_sec1 .part1 .sns_part {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.6666666667vw;
    margin-top: 2.6666666667vw;
    line-height: 1;
  }
  #news_detail_sec1 .part1 .block1 {
    text-align: center;
    width: 100%;
    margin: auto;
    margin-top: 24px;
  }
  #news_detail_sec1 .part1 .block1 > img {
    width: 100%;
    margin-bottom: 40px;
  }
  #news_detail_sec1 .part1 .block1 p:not(.news-wp-embed-card__excerpt) {
    text-align: left;
    color: #333;
    font-size: 16px;
    line-height: 2.2;
  }

  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body figure.emdash-image {
    margin-top: var(--news-post-image-margin-top, 40px) !important;
    margin-bottom: var(--news-post-image-margin-bottom, 40px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body > figure.emdash-image:first-child,
  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body > figure.wp-block-image:first-child,
  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body > .news-post-portrait-734:first-child figure.emdash-image,
  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body > .news-post-image-scale:first-child {
    margin-top: 30px !important;
  }

  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body figure.emdash-image img {
    margin-bottom: 0 !important;
  }

  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body figure.emdash-image figcaption,
  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body figure.wp-block-image figcaption,
  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body figcaption.wp-element-caption {
    font-size: var(--theme-body-image-caption-font-size, 14px) !important;
    line-height: var(--theme-body-image-caption-line-height, 22px) !important;
    text-align: center !important;
    margin-top: var(--theme-body-image-caption-margin-top, 25px) !important;
  }

  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body figure.emdash-image + p:not(.news-wp-embed-card__excerpt) {
    font-size: 16px !important;
    line-height: 2.2 !important;
    text-align: left !important;
  }
  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body figure.wp-block-image:not(.alignwide):not(.alignfull),
  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body .wp-block-image:not(.alignwide):not(.alignfull) {
    display: block;
    width: 100%;
    max-width: 100% !important;
    margin-top: var(--news-post-image-margin-top, 40px) !important;
    margin-bottom: var(--news-post-image-margin-bottom, 40px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
    text-align: center;
  }

  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body img:not(.news-wp-embed-card__image):not(.news-wp-embed-card__brand-mark) {
    display: block;
    width: auto !important;
    max-width: 100% !important;
    max-height: var(--news-post-image-max-height, min(80vh, 900px)) !important;
    height: auto !important;
    object-fit: contain;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body .news-wp-embed-card img:not(.news-wp-embed-card__brand-mark),
  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body .news-wp-embed-card picture {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body .news-wp-embed-card .news-wp-embed-card__image,
  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body .news-wp-embed-card img.news-wp-embed-card__image {
    max-height: 77px !important;
  }

  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body figure.wp-block-image:not(.alignwide):not(.alignfull) img,
  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body .wp-block-image:not(.alignwide):not(.alignfull) img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body figure.wp-block-image.alignwide img,
  #site-content #news_detail_sec1 .part1 .block1 .block_body.news-post-body figure.wp-block-image.alignfull img {
    max-width: 100%;
  }
  #news_detail_sec1 .part1 .block1 a {
    text-decoration: none;
  }
  #news_detail_sec1 .part1 .block1 a:hover,
  #news_detail_sec1 .part1 .block1 a:focus-visible {
    text-decoration: underline;
  }
  #news_detail_sec1 .part1 .block1 .btn_group a:hover,
  #news_detail_sec1 .part1 .block1 .btn_group a:focus,
  #news_detail_sec1 .part1 .block1 .btn_group a:focus-visible {
    text-decoration: none;
  }
  #news_detail_sec1 .part1 .block1 a.news-wp-embed-card__title-link,
  #news_detail_sec1 .part1 .block1 a.news-wp-embed-card__title-link:link,
  #news_detail_sec1 .part1 .block1 a.news-wp-embed-card__title-link:visited {
    color: var(--theme-primary-dark);
    text-decoration: none;
    text-decoration-line: none;
  }
  #news_detail_sec1 .part1 .block1 a.news-wp-embed-card__title-link:hover {
    color: var(--theme-primary-dark);
    text-decoration: underline;
    text-decoration-color: var(--theme-primary-dark);
    text-underline-offset: 2px;
  }
  #news_detail_sec1 .part1 .block1 a.news-wp-embed-card__title-link:focus-visible {
    color: var(--theme-primary-dark);
    text-decoration: none;
    text-decoration-line: none;
    outline: 2px solid var(--theme-primary-dark);
    outline-offset: 3px;
  }

  /* WP embed card (news 744): do not use news block1 link styling for title/thumb/footer */
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__title-link,
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__title-link:link,
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__title-link:visited {
    color: var(--theme-primary-dark) !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
  }
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__title-link:hover {
    color: var(--theme-primary-dark) !important;
    text-decoration: underline !important;
    text-decoration-line: underline !important;
    text-decoration-color: var(--theme-primary-dark) !important;
    text-underline-offset: 2px;
  }
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__title-link:focus-visible {
    color: var(--theme-primary-dark) !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    outline: 2px solid var(--theme-primary-dark);
    outline-offset: 3px;
  }
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card p.news-wp-embed-card__excerpt {
    font-size: 14px !important;
    font-weight: 400 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    line-height: 1.5 !important;
    color: var(--theme-text-muted, #646970) !important;
    text-align: left !important;
  }
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__thumb-link,
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__thumb-link:link,
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__thumb-link:visited {
    color: var(--theme-primary-dark) !important;
    text-decoration: none !important;
  }
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__thumb-link:hover,
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__thumb-link:focus-visible {
    color: var(--theme-primary-dark) !important;
    text-decoration: underline !important;
    text-decoration-color: var(--theme-primary-dark) !important;
    text-underline-offset: 2px;
  }
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__brand,
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__brand:link,
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__brand:visited {
    color: var(--theme-text-subtle, #50575e) !important;
    text-decoration: none !important;
  }
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__brand:hover,
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__brand:focus-visible {
    color: var(--theme-primary-dark) !important;
    text-decoration: underline !important;
    text-decoration-color: var(--theme-primary-dark) !important;
    text-underline-offset: 2px;
  }
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__more,
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__more:link,
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__more:visited {
    color: #0073aa !important;
    text-decoration: underline !important;
  }
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__more:hover,
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card a.news-wp-embed-card__more:focus-visible {
    color: #135e96 !important;
    text-decoration: underline !important;
    text-decoration-color: var(--theme-primary-dark) !important;
    text-underline-offset: 2px;
  }
  #news_detail_sec1 .news-detail-article .part1 .block1 .block_body .news-wp-embed-card .news-wp-embed-card__image {
    width: auto !important;
    max-width: 100%;
    max-height: 77px !important;
  }
  #news_detail_sec1 .part1 .other_part .date {
    display: block;
    text-align: center;
    font-size: 3.7333333333vw;
  }
  #news_detail_sec1 .part1 .other_part .category {
    display: flex;
    margin: auto;
    width: 20vw;
    height: 6vw;
    border: 1px solid #333;
    align-items: center;
    justify-content: center;
    font-size: 3.7333333333vw;
    margin-top: 2.6666666667vw;
  }
  #news_detail_sec1 .part1 .bottom_btn {
    text-align: center;
    padding-top: 10.6666666667vw;
  }
  #news_detail_sec1 .part1 .bottom_btn a {
    width: 60vw;
    height: 10.6666666667vw;
    background: var(--theme-button-dark-color);
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin: auto;
    line-height: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }
  /* Post 810: BACK lives inside article HTML; keep it centered on small screens */
  #news_detail_sec1 .news-detail-article .post810-back.bottom_btn {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    align-self: center;
  }
  #contact_sec1 .part1 {
    padding: 0 5.3333333333vw;
  }
  #contact_sec1 .part1 h2 {
    font-size: 4.8vw;
    font-weight: bold;
    text-align: center;
    color: #333;
    padding-top: 13.3333333333vw;
    padding-bottom: 6vw;
  }
  #contact_sec1 .part1 p {
    text-align: center;
    font-size: 3.7333333333vw;
  }
  #contact_sec1 .part1 p.work_time {
    font-size: 4.2666666667vw;
    font-weight: bold;
    margin-top: 5.3333333333vw;
  }
  #contact_sec1 .part1 .btn_group a {
    background: #007dde;
    width: 100%;
    border: 1px solid #007dde;
    margin: auto;
    height: 16vw;
  }
  #contact_sec1 .part1 .btn_group a img {
    width: 60vw;
  }
  #contact_sec1 .part1 .btn_group a .bk {
    display: none;
  }
  #contact_sec1 .part1 .btn_group a .wh {
    display: block;
  }
  #contact_sec1 .part1 .btn_group a:hover .bk {
    display: block;
  }
  #contact_sec1 .part1 .btn_group a:hover .wh {
    display: none;
  }
  #contact_sec1 .part2 {
    padding: 0 5.3333333333vw;
    padding-bottom: 12vw;
    border-bottom: 1px solid #007dde;
  }
  #contact_sec1 .part2 h2 {
    font-size: 4.8vw;
    font-weight: bold;
    text-align: center;
    color: #333;
    padding-top: 13.3333333333vw;
    padding-bottom: 5.3333333333vw;
  }
  #contact_sec1 .part2 p {
    text-align: center;
    font-size: 16px;
    margin-top: 5.3333333333vw;
  }
  #contact_sec1 .part2 .btn_group a {
    background: #007dde;
    border: 1px solid #007dde;
    width: 100%;
    margin: auto;
    height: 16vw;
  }
  #contact_sec1 .part2 .btn_group a span,
  #contact_sec1 .part2 .btn_group a span strong {
    color: #fff;
  }
  #contact_sec1 .part2 .btn_group a span {
    font-size: 16px;
  }
  #contact_sec1 .part2 .btn_group a img {
    width: 60vw;
  }
  #contact_sec1 .part2 .btn_group a .bk {
    display: none;
  }
  #contact_sec1 .part2 .btn_group a .wh {
    display: block;
  }
  #contact_sec1 .part2 .btn_group a:hover .bk {
    display: block;
  }
  #contact_sec1 .part2 .btn_group a:hover .wh {
    display: none;
  }
  #download_sec1 .part1 p {
    text-align: center;
    font-size: 3.7333333333vw;
  }
  #download_sec1 .part1 p.work_time {
    font-size: 4.2666666667vw;
    font-weight: bold;
    margin-top: 5.3333333333vw;
  }
  #download_sec1 .part2 {
    display: grid;
    padding: 0 5.3333333333vw;
    margin-top: 5.3333333333vw;
    padding-bottom: 10.6666666667vw;
    grid-template-columns: repeat(1, 1fr);
    gap: 5.3333333333vw;
  }
  #download_sec1 .part2 .block {
    width: 100%;
  }
  #download_sec1 .part2 .block img {
    width: 100%;
    aspect-ratio: 1/0.6;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
  }
  #download_sec1 .part2 .block p {
    margin-top: 2.6666666667vw;
    font-size: 3.7333333333vw;
  }
  #download_sec1 .part2 .block a {
    margin-top: 2.6666666667vw;
    background: var(--theme-button-color);
    color: white;
    font-size: 4.2666666667vw;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 9.3333333333vw;
    width: 100%;
  }
  #contact_sec2 {
    padding-top: 10vw;
    position: relative;
    z-index: 2;
  }
  #contact_sec2 .part1 {
    padding-bottom: 13.3333333333vw;
    width: 88vw;
    margin: auto;
  }
  #contact_sec2 .part1 h2 {
    font-size: 4.8vw;
    text-align: center;
    font-weight: bold;
    padding-bottom: 6.6666666667vw;
  }
  #contact_sec2 .part1 .wpcf7-spinner {
    display: none !important;
  }
  #contact_sec2 .part1 .form-group {
    display: flex;
    align-items: stretch;
    margin-bottom: 1.3333333333vw;
    font-size: 16px;
    flex-direction: column;
    justify-content: flex-start;
  }
  #contact_sec2 .part1 .form-group > label {
    width: 100%;
    display: block;
    font-size: 16px;
    margin-bottom: 1.3333333333vw;
    color: #333;
  }
  #contact_sec2 .part1 .form-group .link_group {
    flex: 1;
    margin-left: 0;
    width: 100%;
    min-width: 0;
  }
  #contact_sec2 .part1 .form-group .wpcf7-form-control-wrap {
    flex: 1;
    width: 100%;
    margin-left: 0;
    min-width: 0;
    display: block;
  }
  /* Download page (and our CF7-like markup) nests controls inside <p>. Make spans behave like blocks on mobile. */
  #contact_sec2 .part1 .form-group p {
    margin: 0;
  }

  /* Download form (CF7 id: 481): remove desktop alignment nudges on mobile */
  #contact_sec2 div[id^="wpcf7-f481-"] .part1 .form-group,
  #contact_sec2 div[id^="wpcf7-f481-"] .form-group {
    margin-left: 0 !important;
  }
  #contact_sec2 div[id^="wpcf7-f481-"] .part1 .form-group .wpcf7-checkbox .wpcf7-list-item label,
  #contact_sec2 div[id^="wpcf7-f481-"] .form-group .wpcf7-checkbox .wpcf7-list-item label {
    margin-left: calc(-6vw + 5px) !important;
  }
  #contact_sec2 div[id^="wpcf7-f481-"] .wpcf7-checkbox input[type="checkbox"] {
    margin-left: 15px !important;
  }
  #contact_sec2 div[id^="wpcf7-f481-"] .part1 .form-group a,
  #contact_sec2 div[id^="wpcf7-f481-"] .form-group a {
    margin-left: 0 !important;
  }
  #contact_sec2 div[id^="wpcf7-f481-"] .download-singleline-label {
    display: block !important;
    white-space: normal !important;
  }
  #contact_sec2 div[id^="wpcf7-f481-"] .download-singleline-label br {
    display: inline !important;
  }
  #contact_sec2 div[id^="wpcf7-f481-"] .download-singleline-label .essential {
    display: inline-block;
    margin-left: 8px;
    padding-left: 0 !important;
    white-space: nowrap;
  }

  /* Download form (481): align label text + "必須" nicely on mobile */
  #contact_sec2 div[id^="wpcf7-f481-"] .form-group p > label {
    display: block;
    width: 100%;
    text-align: left;
  }
  #contact_sec2 div[id^="wpcf7-f481-"] .form-group p > label .essential {
    padding-left: 0 !important;
  }

  /* Download form (481): consent checkbox should stay visible and left-aligned */
  #contact_sec2 div[id^="wpcf7-f481-"] .download-consent-checkbox-label {
    margin-left: 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }
  #contact_sec2 div[id^="wpcf7-f481-"] .wpcf7-form-control-wrap[data-name="custom-agree-privacy"] .wpcf7-list-item {
    justify-content: flex-start !important;
  }
  #contact_sec2 div[id^="wpcf7-f481-"] .wpcf7-form-control-wrap[data-name="custom-agree-privacy"] {
    /* WP desktop CSS uses a fixed translate; disable on mobile so it sits above the submit button */
    transform: none !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    width: 100% !important;
    margin-top: 32px !important;
    margin-bottom: 8px !important;
    margin-left: 50px !important;
    padding-left: 0 !important;
    box-sizing: border-box;
  }

  /* Keep the privacy links + checkbox in a readable vertical flow on mobile */
  #contact_sec2 div[id^="wpcf7-f481-"] .form-group .link_group > p {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
  }

  /* Consent checkbox: never apply the generic negative label shift */
  #contact_sec2 div[id^="wpcf7-f481-"] .wpcf7-form-control-wrap[data-name="custom-agree-privacy"] .wpcf7-list-item label,
  #contact_sec2 div[id^="wpcf7-f481-"] .download-consent-checkbox-label {
    margin-left: 0 !important;
    transform: none !important;
  }

  /* Consent checkbox should be on its own line below the links */
  #contact_sec2 div[id^="wpcf7-f481-"] .wpcf7-form-control-wrap[data-name="custom-agree-privacy"] {
    flex: 0 0 100% !important;
    width: 100% !important;
  }
  #contact_sec2 div[id^="wpcf7-f481-"] .wpcf7-form-control-wrap[data-name="custom-agree-privacy"] .wpcf7-list-item {
    width: 100%;
  }
  #contact_sec2 div[id^="wpcf7-f481-"] .download-consent-checkbox-label {
    width: 100% !important;
    justify-content: flex-start !important;
    gap: 10px;
  }
  #contact_sec2 div[id^="wpcf7-f481-"] .download-consent-checkbox-label .wpcf7-list-item-label {
    display: inline-block !important;
    white-space: normal !important;
  }
  #contact_sec2 .part1 .form-group .essential {
    color: #cc0000;
    font-size: 13px;
    font-weight: normal;
    padding-left: 10px;
  }
  #contact_sec2 .part1 .form-group input[type=radio] {
    height: 18px;
    margin-left: 0;
    margin-right: 5px;
    accent-color: #333333;
  }
  #contact_sec2 .part1 .form-group input[type=radio] {
    width: auto;
    height: 18px;
    margin-left: 0;
    margin-right: 5px;
    accent-color: #333333;
  }
  #contact_sec2 .part1 .form-group .wpcf7-checkbox input[type=checkbox] {
    margin-right: 10px;
    flex-shrink: 0;
    position: relative;
    top: 1px;
  }
  #contact_sec2 .part1 .form-group a {
    color: #333;
    font-weight: bold;
    font-size: 14px;
    margin-left: 0px;
    margin-bottom: 10px;
  }
  #contact_sec2 .part1 .form-group .wpcf7-list-item {
    display: block;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: flex-start;
  }
  #contact_sec2 .part1 .form-group .wpcf7-list-item label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    position: relative;
    left: 0;
    padding-left: 0;
    box-sizing: border-box;
  }
  #contact_sec2 .part1 .form-group .wpcf7-checkbox .wpcf7-list-item {
    text-align: left;
    align-items: flex-start;
  }
  #contact_sec2 .part1 .form-group .wpcf7-checkbox .wpcf7-list-item label {
    z-index: 2;
    margin-left: calc(-6vw + 5px);
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: left;
    align-items: baseline;
  }
  #contact_sec2 .part1 .form-group .wpcf7-checkbox .wpcf7-list-item label span {
    padding-right: 10px;
    white-space: normal;
    box-sizing: border-box;
    text-align: left;
    flex: 1;
    min-width: 0;
    font-size: 14px;
    line-height: 1.35;
  }
  #contact_sec2 .part1 .form-group .wpcf7-radio .wpcf7-list-item label {
    margin-left: calc(-6vw + 30px);
  }
  #contact_sec2 .part1 .form-group .wpcf7-list-item label span {
    font-size: 16px;
    display: inline-block;
    width: auto;
    white-space: nowrap;
    position: static;
    transform: none;
  }
  #contact_sec2 .part1 .form-group input[type=text], #contact_sec2 .part1 .form-group input[type=email], #contact_sec2 .part1 .form-group textarea, #contact_sec2 .part1 .form-group input[type=tel], #contact_sec2 .part1 .form-group select, #contact_sec2 .part1 .form-group textarea {
    color: black;
    height: 8vw;
    width: 100%;
    box-sizing: border-box;
    background-color: #edeeee;
    border: none;
    display: block;
    padding-left: 2.6666666667vw;
    color: #363636;
    font-size: 15px;
  }
  #contact_sec2 .part1 .form-group textarea {
    height: 12vw;
  }
  #contact_sec2 textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    resize: vertical;
    box-sizing: border-box;
  }
  #contact_sec2 .part1 .btn_group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.6666666667vw;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  #contact_sec2 .part1 .submit_btn {
    text-align: center;
  }
  #contact_sec2 .part1 .submit_btn input {
    background: #007dde;
    width: 40vw;
    display: inline-flex;
    justify-content: center;
    font-size: 13px;
    align-items: center;
    height: 10.6666666667vw;
    color: white;
    border: 1px solid #007dde;
  }
  #contact_sec2 .part1 .submit_btn input.prev_btn {
    background: #333;
    color: white;
    border-color: #333;
    font-size: 14px;
    height: 10.6666666667vw;
  }
  #contact_sec2 .part1 .submit_btn input.submit_btn {
    background: #007dde !important;
    color: #fff !important;
    border: 1px solid #007dde !important;
    font-size: 14px;
    height: 10.6666666667vw;
  }
  #contact_sec2 .part1 .submit_btn input.submit_btn:hover {
    background: #0066bb !important;
    border-color: #0066bb !important;
    color: #fff !important;
  }
  figure {
    margin: 0;
  }
  figure img {
    margin-bottom: 2.6666666667vw;
  }
  .shopify-buy__btn-wrapper {
    text-align: center;
  }

  #news_detail_sec1 .news-detail-article {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 5.3333333333vw !important;
    padding-right: 5.3333333333vw !important;
    box-sizing: border-box;
  }

  #news_detail_sec1 .news-detail-article > div {
    max-width: 100% !important;
  }

  #news_detail_sec1 .news-detail-article > div > div.block1 > div:not(.news-post-body) > div:nth-child(1) > div > figure > img {
    width: 100% !important;
    max-width: 100% !important;
  }

  #news_detail_sec1 .news-detail-article > div > div.block1 > div:not(.news-post-body) > div:nth-child(5) > div > figure > img {
    width: 100% !important;
    max-width: 100% !important;
  }

  #news_detail_sec1 .news-detail-article div.wp-block-group:nth-child(1) > div:nth-child(1) {
    margin-top: 20px !important;
    margin-bottom: 45px !important;
  }

  #news_detail_sec1 .news-detail-article .part1 > h2,
  #news_detail_sec1 .news-detail-article .part1 > h2.wp-block-heading,
  #news_detail_sec1 .news-detail-article .block1 h2,
  #news_detail_sec1 .news-detail-article .block1 h2.wp-block-heading,
  #news_detail_sec1 .news-detail-article .wp-block-heading.has-background,
  #news_detail_sec1 .news-detail-article .split-text h2,
  #news_detail_sec1 .news-detail-article .block1 h2.has-background,
  #news_detail_sec1 .news-detail-article .block1 h2[class*="has-vivid"],
  #news_detail_sec1 .news-detail-article .block1 h2[class*="has-primary"] {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: var(--theme-primary-dark) !important;
  }

  #contact_sec1 {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    background-color: #fff !important;
  }

  #contact_sec1 .part1 h2,
  #contact_sec1 .part2 h2,
  #contact_sec1 h2.wp-block-heading,
  #contact_sec1 .wp-block-heading.has-background,
  #contact_sec1 h2.has-background,
  #contact_sec1 h2[class*="has-vivid"],
  #contact_sec1 h2[class*="has-primary"],
  #contact_sec1 .split-text h2 {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #333 !important;
  }

  #site-content .wp-block-heading.has-background,
  #site-content h1.wp-block-heading[class*="has-vivid"],
  #site-content h2.wp-block-heading[class*="has-vivid"],
  #site-content h2.wp-block-heading[class*="has-background"],
  #site-content h3.wp-block-heading[class*="has-vivid"],
  #site-content h3.wp-block-heading[class*="has-background"],
  #site-content h4.wp-block-heading[class*="has-vivid"],
  #site-content h4.wp-block-heading[class*="has-background"],
  #site-content .entry-content .wp-block-heading.has-background,
  #site-content article .wp-block-heading.has-background,
  #site-content .post-inner .wp-block-heading.has-background {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: var(--theme-primary-dark) !important;
  }

  #site-content .wp-block-cover .wp-block-heading,
  #site-content .wp-block-cover h1,
  #site-content .wp-block-cover h2,
  #site-content .wp-block-cover h3 {
    color: #fff !important;
  }
}
