
/* Codex Bousui responsive media fix 2026-07-05 */
html body:not(.wp-admin) #body_wrap {
  overflow-x: clip !important;
}

html body:not(.wp-admin) #body_wrap :where(.bma-site, .bma-about-page, .bma-site *, .bma-about-page *) {
  box-sizing: border-box !important;
  min-width: 0 !important;
}

html body:not(.wp-admin) #body_wrap .bma-about-hero {
  overflow: hidden !important;
}

html body:not(.wp-admin) #body_wrap .bma-about-hero img {
  left: 50% !important;
  max-width: none !important;
  min-width: 100% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
}

html body:not(.wp-admin) #body_wrap :where(
  img[src*="bousui-materials-detail.png"],
  img[data-src*="bousui-materials-detail.png"],
  img[src*="bousui-succession-meeting.png"],
  img[data-src*="bousui-succession-meeting.png"],
  img[src*="bousui-layer-cta.png"],
  img[data-src*="bousui-layer-cta.png"],
  img[src*="nagoya-tokai-waterproofing-company-ma-20260627-"],
  img[data-src*="nagoya-tokai-waterproofing-company-ma-20260627-"],
  img[src*="automation-article-2026-06-26-chiba-featured-"],
  img[data-src*="automation-article-2026-06-26-chiba-featured-"],
  img[src*="osaka-kansai-waterproofing-company-ma-20260626-"],
  img[data-src*="osaka-kansai-waterproofing-company-ma-20260626-"],
  img[src*="large-scale-repair-company-ma-20260625-"],
  img[data-src*="large-scale-repair-company-ma-20260625-"],
  img[src*="leak-repair-company-ma-20260624-"],
  img[data-src*="leak-repair-company-ma-20260624-"],
  img[src*="rooftop-waterproofing-ma-20260623-"],
  img[data-src*="rooftop-waterproofing-ma-20260623-"],
  img[src*="tokyo-kanagawa-sealing-ma-20260622-"],
  img[data-src*="tokyo-kanagawa-sealing-ma-20260622-"],
  img[src*="kanto-bousui-ma-motouke-hosho-20260621-"],
  img[data-src*="kanto-bousui-ma-motouke-hosho-20260621-"],
  img[src*="case_1_large_repair-1024x538.jpg"],
  img[data-src*="case_1_large_repair-1024x538.jpg"],
  img[src*="case_2_local_successor-1024x538.jpg"],
  img[data-src*="case_2_local_successor-1024x538.jpg"],
  img[src*="case_3_leak_seal-1024x538.jpg"],
  img[data-src*="case_3_leak_seal-1024x538.jpg"]
) {
  display: none !important;
}

html body:not(.wp-admin) #body_wrap :where(.bma-reveal, .c-postThumb, .p-articleThumb):has(
  img[src*="bousui-materials-detail.png"],
  img[data-src*="bousui-materials-detail.png"],
  img[src*="bousui-succession-meeting.png"],
  img[data-src*="bousui-succession-meeting.png"],
  img[src*="bousui-layer-cta.png"],
  img[data-src*="bousui-layer-cta.png"],
  img[src*="nagoya-tokai-waterproofing-company-ma-20260627-"],
  img[data-src*="nagoya-tokai-waterproofing-company-ma-20260627-"],
  img[src*="automation-article-2026-06-26-chiba-featured-"],
  img[data-src*="automation-article-2026-06-26-chiba-featured-"],
  img[src*="osaka-kansai-waterproofing-company-ma-20260626-"],
  img[data-src*="osaka-kansai-waterproofing-company-ma-20260626-"],
  img[src*="large-scale-repair-company-ma-20260625-"],
  img[data-src*="large-scale-repair-company-ma-20260625-"],
  img[src*="leak-repair-company-ma-20260624-"],
  img[data-src*="leak-repair-company-ma-20260624-"],
  img[src*="rooftop-waterproofing-ma-20260623-"],
  img[data-src*="rooftop-waterproofing-ma-20260623-"],
  img[src*="tokyo-kanagawa-sealing-ma-20260622-"],
  img[data-src*="tokyo-kanagawa-sealing-ma-20260622-"],
  img[src*="kanto-bousui-ma-motouke-hosho-20260621-"],
  img[data-src*="kanto-bousui-ma-motouke-hosho-20260621-"],
  img[src*="case_"],
  img[data-src*="case_"]
)::before {
  content: "防水工事 M&A";
  display: grid !important;
  place-items: center !important;
  aspect-ratio: 16 / 9;
  width: 100%;
  min-height: 180px;
  border-radius: 8px;
  color: rgba(255, 255, 255, .94);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(7, 31, 51, .96), rgba(42, 140, 132, .86)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 18px);
  box-shadow: 0 18px 44px rgba(7, 31, 51, .12);
}

html body:not(.wp-admin) #body_wrap .bma-site :where(.bma-reveal, .bma-feature-list, .bma-btns, .bma-card, .bma-img) {
  max-width: 100% !important;
}

html body:not(.wp-admin) #body_wrap .post_content img.bma-img[src*="bousui-materials-detail"],
html body:not(.wp-admin) #body_wrap .post_content img.bma-img[data-src*="bousui-materials-detail"],
html body:not(.wp-admin) #body_wrap .post_content img.bma-img[src*="bousui-succession-meeting"],
html body:not(.wp-admin) #body_wrap .post_content img.bma-img[data-src*="bousui-succession-meeting"],
html body:not(.wp-admin) #body_wrap .post_content img.bma-img[src*="bousui-layer-cta"],
html body:not(.wp-admin) #body_wrap .post_content img.bma-img[data-src*="bousui-layer-cta"],
html body:not(.wp-admin) #body_wrap .post_content img[src*="nagoya-tokai-waterproofing-company-ma-20260627-"],
html body:not(.wp-admin) #body_wrap .post_content img[data-src*="nagoya-tokai-waterproofing-company-ma-20260627-"],
html body:not(.wp-admin) #body_wrap .post_content img[src*="automation-article-2026-06-26-chiba-featured-"],
html body:not(.wp-admin) #body_wrap .post_content img[data-src*="automation-article-2026-06-26-chiba-featured-"],
html body:not(.wp-admin) #body_wrap .post_content img[src*="osaka-kansai-waterproofing-company-ma-20260626-"],
html body:not(.wp-admin) #body_wrap .post_content img[data-src*="osaka-kansai-waterproofing-company-ma-20260626-"],
html body:not(.wp-admin) #body_wrap .post_content img[src*="large-scale-repair-company-ma-20260625-"],
html body:not(.wp-admin) #body_wrap .post_content img[data-src*="large-scale-repair-company-ma-20260625-"],
html body:not(.wp-admin) #body_wrap .post_content img[src*="leak-repair-company-ma-20260624-"],
html body:not(.wp-admin) #body_wrap .post_content img[data-src*="leak-repair-company-ma-20260624-"],
html body:not(.wp-admin) #body_wrap .post_content img[src*="rooftop-waterproofing-ma-20260623-"],
html body:not(.wp-admin) #body_wrap .post_content img[data-src*="rooftop-waterproofing-ma-20260623-"],
html body:not(.wp-admin) #body_wrap .post_content img[src*="tokyo-kanagawa-sealing-ma-20260622-"],
html body:not(.wp-admin) #body_wrap .post_content img[data-src*="tokyo-kanagawa-sealing-ma-20260622-"],
html body:not(.wp-admin) #body_wrap .post_content img[src*="kanto-bousui-ma-motouke-hosho-20260621-"],
html body:not(.wp-admin) #body_wrap .post_content img[data-src*="kanto-bousui-ma-motouke-hosho-20260621-"],
html body:not(.wp-admin) #body_wrap .post_content img[src*="case_"],
html body:not(.wp-admin) #body_wrap .post_content img[data-src*="case_"],
html body:not(.wp-admin) #body_wrap .post_content img[src*="column_"],
html body:not(.wp-admin) #body_wrap .post_content img[data-src*="column_"] {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
}

html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[src*="nagoya-tokai-waterproofing-company-ma-20260627-"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[data-src*="nagoya-tokai-waterproofing-company-ma-20260627-"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[src*="automation-article-2026-06-26-chiba-featured-"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[data-src*="automation-article-2026-06-26-chiba-featured-"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[src*="osaka-kansai-waterproofing-company-ma-20260626-"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[data-src*="osaka-kansai-waterproofing-company-ma-20260626-"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[src*="large-scale-repair-company-ma-20260625-"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[data-src*="large-scale-repair-company-ma-20260625-"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[src*="leak-repair-company-ma-20260624-"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[data-src*="leak-repair-company-ma-20260624-"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[src*="rooftop-waterproofing-ma-20260623-"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[data-src*="rooftop-waterproofing-ma-20260623-"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[src*="tokyo-kanagawa-sealing-ma-20260622-"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[data-src*="tokyo-kanagawa-sealing-ma-20260622-"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[src*="kanto-bousui-ma-motouke-hosho-20260621-"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[data-src*="kanto-bousui-ma-motouke-hosho-20260621-"],
html body:not(.wp-admin) #body_wrap img.c-postThumb__img[src*="column_"],
html body:not(.wp-admin) #body_wrap img.c-postThumb__img[data-src*="column_"],
html body:not(.wp-admin) #body_wrap img.c-postThumb__img[src*="case_"],
html body:not(.wp-admin) #body_wrap img.c-postThumb__img[data-src*="case_"] {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
}

html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[src*="nagoya-tokai-waterproofing-company-ma-20260627"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[srcset*="nagoya-tokai-waterproofing-company-ma-20260627"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[src*="automation-article-2026-06-26-chiba-featured"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[srcset*="automation-article-2026-06-26-chiba-featured"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[src*="osaka-kansai-waterproofing-company-ma-20260626"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[srcset*="osaka-kansai-waterproofing-company-ma-20260626"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[src*="large-scale-repair-company-ma-20260625"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[srcset*="large-scale-repair-company-ma-20260625"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[src*="leak-repair-company-ma-20260624"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[srcset*="leak-repair-company-ma-20260624"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[src*="rooftop-waterproofing-ma-20260623"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[srcset*="rooftop-waterproofing-ma-20260623"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[src*="tokyo-kanagawa-sealing-ma-20260622"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[srcset*="tokyo-kanagawa-sealing-ma-20260622"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[src*="kanto-bousui-ma-motouke-hosho-20260621"],
html body:not(.wp-admin) #body_wrap img.p-articleThumb__img[srcset*="kanto-bousui-ma-motouke-hosho-20260621"] {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
}

@media (max-width: 599px) {
  html body:not(.wp-admin) #body_wrap .bma-site :where(.bma-reveal, .bma-feature-list, .bma-btns, .bma-card, .bma-img) {
    width: 100% !important;
  }

  html body:not(.wp-admin) #body_wrap .bma-site :where(.bma-btns, .bma-actions) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  html body:not(.wp-admin) #body_wrap .bma-site :where(.bma-btns a, .bma-actions a, .bma-btn) {
    width: 100% !important;
    white-space: normal !important;
  }

  html body:not(.wp-admin) #body_wrap .bma-site :where(h1, h2, h3, p, li, a) {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
}

/* BOUSUI contact form UX: one control per row, clean palette — 2026-08-26 */
html body #body_wrap:is(.page-id-112, .page-id-113) #content .bma-form-panel {
  background: #ffffff !important;
  border-color: #d8e0e5 !important;
  box-shadow: 0 10px 28px rgba(16, 42, 59, .07) !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) {
  --bma-form-ink: #102a3b;
  --bma-form-accent: #17384d;
  --bma-form-accent-dark: #0f2d40;
  --bma-form-muted: #55636d;
  --bma-form-border: #c5ced5;
  --bma-form-soft-border: #d8e0e5;
  --bma-form-soft: #f5f7f8;
  color: var(--bma-form-ink) !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-cf7-lead {
  color: var(--bma-form-muted) !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-cf7-lead strong {
  color: var(--bma-form-ink) !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-cf7-mini li {
  min-height: 34px !important;
  border-color: var(--bma-form-soft-border) !important;
  background: var(--bma-form-soft) !important;
  color: var(--bma-form-ink) !important;
  box-shadow: none !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-cf7-section-title {
  padding: 0 0 10px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--bma-form-soft-border) !important;
  background: transparent !important;
  color: var(--bma-form-ink) !important;
  box-shadow: none !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-cf7-section-title::before,
html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-cf7-section-title::after {
  display: none !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-field-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  column-gap: 0 !important;
  row-gap: 18px !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) :is(.bma-field, .bma-field--full, .bma-field--priority) {
  grid-column: 1 / -1 !important;
  min-width: 0 !important;
  width: 100% !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-field > label {
  display: block !important;
  width: 100% !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-label {
  color: var(--bma-form-ink) !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 56px !important;
  padding: 14px 16px !important;
  border: 1px solid var(--bma-form-border) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--bma-form-ink) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  box-shadow: none !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) textarea {
  min-height: 150px !important;
  resize: vertical !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) :is(input[type="text"], input[type="email"], input[type="tel"], textarea)::placeholder {
  color: #6b7881 !important;
  opacity: 1 !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea):focus,
html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea):focus-visible {
  border-color: var(--bma-form-accent) !important;
  outline: 3px solid #17384d !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-choice-grid .wpcf7-form-control {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 10px !important;
  width: 100% !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-choice-grid .wpcf7-list-item {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-choice-grid .wpcf7-list-item label {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 12px 14px !important;
  gap: 10px !important;
  border: 1px solid var(--bma-form-border) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--bma-form-ink) !important;
  box-shadow: none !important;
  transform: none !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-choice-grid .wpcf7-list-item label:hover,
html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-choice-grid .wpcf7-list-item label:has(input:checked) {
  border-color: var(--bma-form-accent) !important;
  background: var(--bma-form-soft) !important;
  box-shadow: none !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) :is(input[type="checkbox"], input[type="radio"]) {
  flex: 0 0 22px !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  accent-color: var(--bma-form-accent) !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-help {
  color: var(--bma-form-muted) !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-badge--required {
  border: 1px solid var(--bma-form-accent) !important;
  background: var(--bma-form-accent) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-badge--optional {
  border: 1px solid var(--bma-form-soft-border) !important;
  background: var(--bma-form-soft) !important;
  color: var(--bma-form-muted) !important;
  box-shadow: none !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-cf7-privacy {
  border: 1px solid var(--bma-form-soft-border) !important;
  border-radius: 8px !important;
  background: var(--bma-form-soft) !important;
  color: var(--bma-form-muted) !important;
  box-shadow: none !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-cf7-privacy a {
  color: var(--bma-form-accent) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .wpcf7-acceptance .wpcf7-list-item {
  display: block !important;
  width: 100% !important;
  margin: 12px 0 0 !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .wpcf7-acceptance .wpcf7-list-item label {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  align-items: start !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 14px !important;
  gap: 10px !important;
  border: 1px solid var(--bma-form-border) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--bma-form-ink) !important;
  box-shadow: none !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .wpcf7-acceptance .wpcf7-list-item label:hover,
html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .wpcf7-acceptance .wpcf7-list-item label:has(input:checked) {
  border-color: var(--bma-form-accent) !important;
  background: var(--bma-form-soft) !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-submit-note {
  position: static !important;
  z-index: auto !important;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) input.wpcf7-submit {
  width: 100% !important;
  min-height: 58px !important;
  padding: 14px 20px !important;
  border: 1px solid var(--bma-form-accent) !important;
  border-radius: 8px !important;
  background: var(--bma-form-accent) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: .02em !important;
  box-shadow: none !important;
  transform: none !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) input.wpcf7-submit:not(:disabled):hover,
html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) input.wpcf7-submit:not(:disabled):focus-visible {
  border-color: var(--bma-form-accent-dark) !important;
  background: var(--bma-form-accent-dark) !important;
  color: #ffffff !important;
  outline: 3px solid rgba(23, 56, 77, .2) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) input.wpcf7-submit:disabled {
  border-color: #cbd3d9 !important;
  background: #cbd3d9 !important;
  color: #4d5b65 !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) :is(.wpcf7-not-valid-tip, .wpcf7-response-output) {
  color: #a61b12 !important;
}

@media (max-width: 780px) {
  html body #body_wrap:is(.page-id-112, .page-id-113) #content .bma-form-panel {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
    .wpcf7[data-wpcf7-id="110"],
    .wpcf7[data-wpcf7-id="111"]
  ) .bma-field-grid {
    row-gap: 16px !important;
  }

  html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
    .wpcf7[data-wpcf7-id="110"],
    .wpcf7[data-wpcf7-id="111"]
  ) :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
    min-height: 56px !important;
  }

  html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
    .wpcf7[data-wpcf7-id="110"],
    .wpcf7[data-wpcf7-id="111"]
  ) .bma-choice-grid .wpcf7-list-item label {
    min-height: 54px !important;
  }
}
html body #body_wrap.page-id-112 #content #wpcf7-f110-p112-o1 input.wpcf7-submit:not(:disabled),
html body #body_wrap.page-id-113 #content #wpcf7-f111-p113-o1 input.wpcf7-submit:not(:disabled) {
  border-color: #17384d !important;
  background: #17384d !important;
  color: #ffffff !important;
}

html body #body_wrap.page-id-112 #content #wpcf7-f110-p112-o1 input.wpcf7-submit:disabled,
html body #body_wrap.page-id-113 #content #wpcf7-f111-p113-o1 input.wpcf7-submit:disabled {
  border-color: #cbd3d9 !important;
  background: #cbd3d9 !important;
  color: #4d5b65 !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}
html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) :is(input, select, textarea, a):focus-visible {
  outline: 3px solid #17384d !important;
  outline-offset: 2px !important;
}

html body #body_wrap.page-id-112 #content #wpcf7-f110-p112-o1 input.wpcf7-submit:not(:disabled),
html body #body_wrap.page-id-113 #content #wpcf7-f111-p113-o1 input.wpcf7-submit:not(:disabled) {
  border-width: 0 !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: inset 0 0 0 100vmax #17384d, 0 0 0 1px #17384d !important;
}

html body #body_wrap.page-id-112 #content #wpcf7-f110-p112-o1 input.wpcf7-submit:disabled,
html body #body_wrap.page-id-113 #content #wpcf7-f111-p113-o1 input.wpcf7-submit:disabled {
  border-width: 0 !important;
  -webkit-text-fill-color: #4d5b65 !important;
  box-shadow: inset 0 0 0 100vmax #cbd3d9, 0 0 0 1px #cbd3d9 !important;
}
html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) :is(.bma-choice-grid, .wpcf7-acceptance) .wpcf7-list-item label:has(input:focus-visible) {
  border-color: #17384d !important;
  outline: 3px solid #17384d !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}
html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) textarea {
  min-height: 150px !important;
}
html body #body_wrap.page-id-112 #content #wpcf7-f110-p112-o1 textarea.wpcf7-textarea,
html body #body_wrap.page-id-113 #content #wpcf7-f111-p113-o1 textarea.wpcf7-textarea {
  min-height: 150px !important;
}
/* END BOUSUI contact form UX */

/* BOUSUI optional-fields skip UX — 2026-08-26 */
html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-skip-optional {
  margin: 18px 0 24px !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-skip-optional a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 12px 16px !important;
  border: 1px solid #17384d !important;
  border-radius: 8px !important;
  background: #f5f7f8 !important;
  color: #17384d !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-skip-optional a::after {
  content: "" !important;
  display: block !important;
  flex: 0 0 9px !important;
  width: 9px !important;
  height: 9px !important;
  margin-left: 10px !important;
  border-right: 2px solid #17384d !important;
  border-bottom: 2px solid #17384d !important;
  transform: rotate(45deg) translateY(-2px) !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-skip-optional a:hover {
  background: #eef2f4 !important;
  color: #0f2d40 !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-skip-optional a:focus-visible {
  border-color: #17384d !important;
  outline: 3px solid #17384d !important;
  outline-offset: 2px !important;
  background: #ffffff !important;
  color: #17384d !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) :is(#bma-seller-consent, #bma-buyer-consent) {
  scroll-margin-top: 112px !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) :is(#bma-seller-consent, #bma-buyer-consent):is(:focus, :target) {
  outline: 3px solid #17384d !important;
  outline-offset: 3px !important;
}

html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-submit-help {
  margin: 14px 0 8px !important;
  padding: 10px 12px !important;
  border: 1px solid #d8e0e5 !important;
  border-radius: 8px !important;
  background: #f5f7f8 !important;
  color: #102a3b !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.7 !important;
}

@media (max-width: 780px) {
  html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
    .wpcf7[data-wpcf7-id="110"],
    .wpcf7[data-wpcf7-id="111"]
  ) .bma-skip-optional a {
    justify-content: space-between !important;
    min-height: 54px !important;
    padding: 12px 14px !important;
    text-align: left !important;
  }
}
html body #body_wrap:is(.page-id-112, .page-id-113) #content :is(
  .wpcf7[data-wpcf7-id="110"],
  .wpcf7[data-wpcf7-id="111"]
) .bma-skip-target {
  margin: 24px 0 14px !important;
}

html body #body_wrap.page-id-113 #content #wpcf7-f111-p113-o1 .bma-cf7-disclosure {
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid #d8e0e5 !important;
  border-radius: 8px !important;
  background: #f5f7f8 !important;
  color: #55636d !important;
  font-size: .94rem !important;
  line-height: 1.84 !important;
  box-shadow: none !important;
}
/* END BOUSUI optional-fields skip UX */

/* BOUSUI narrow-screen form readability — 2026-08-26 */
:is(#wpcf7-f110-p112-o1, #wpcf7-f111-p113-o1) form:not(.submitting) .wpcf7-spinner {
  display: none !important;
}

@media (max-width: 480px) {
  :is(#wpcf7-f110-p112-o1, #wpcf7-f111-p113-o1) form {
    font-size: 16px !important;
  }

  :is(#wpcf7-f110-p112-o1, #wpcf7-f111-p113-o1) .bma-cf7-section-title {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }

  :is(#wpcf7-f110-p112-o1, #wpcf7-f111-p113-o1) :is(.bma-cf7-privacy, .bma-cf7-disclosure) {
    font-size: 15px !important;
    line-height: 1.75 !important;
  }
}


/* Logo background harmony | 2026-10-09 */
html body .bma-footer-pro .bma-footer-pro__brand{background:#fff!important;color:#18384b!important;padding:clamp(20px,2.4vw,28px)!important;border:1px solid #e1e9ed!important;border-radius:12px!important;box-shadow:none!important;box-sizing:border-box;min-width:0}
html body .bma-footer-pro .bma-footer-pro__brand :is(p,a,small,strong,span,dt,dd,li,h2,h3){color:#18384b!important}
html body .bma-footer-pro .bma-footer-pro__brand :is(dl,dt,dd){border-color:#dce5ea!important}
html body .bma-footer-pro .bma-footer-pro__logo{background-color:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;max-width:100%}

