@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* Event M&A production refinements */
html body #body_wrap.home .ema-gov,
html body #body_wrap.home .ema-gov :where(h1,h2,h3,h4,p,li,span,strong,small,a,dt,dd,summary,blockquote) {
  letter-spacing: 0 !important;
  line-break: strict !important;
  overflow-wrap: break-word !important;
  text-wrap: pretty;
  word-break: normal !important;
}

@supports (word-break: auto-phrase) {
  html body #body_wrap.home .ema-gov,
  html body #body_wrap.home .ema-gov :where(h1,h2,h3,h4,p,li,span,strong,small,a,dt,dd,summary,blockquote) {
    word-break: auto-phrase !important;
  }
}

html body #body_wrap.home .ema-gov .ema-hero__body,
html body #body_wrap.home .ema-gov .ema-hero p,
html body #body_wrap.home .ema-gov .ema-hero .ema-wrap,
html body #body_wrap.home .ema-gov .ema-fee-proof {
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

@supports (word-break: auto-phrase) {
  html body #body_wrap.home .ema-gov .ema-hero__body,
  html body #body_wrap.home .ema-gov .ema-hero p,
  html body #body_wrap.home .ema-gov .ema-hero .ema-wrap,
  html body #body_wrap.home .ema-gov .ema-fee-proof {
    word-break: auto-phrase !important;
  }
}

@supports selector(figure:has(img)) {
  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt*="比較図"]),
  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt*="秘密保持フロー"]),
  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt*="図解"]) {
    position: relative !important;
    display: grid !important;
    min-height: 280px !important;
    place-items: center !important;
    padding: 28px !important;
    border: 1px solid #d8e5e3 !important;
    border-left: 6px solid #007c78 !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #fff, #f5faf9) !important;
    box-shadow: 0 14px 34px rgba(7, 39, 48, .07) !important;
    overflow: hidden !important;
  }

  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt*="比較図"]) > img,
  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt*="秘密保持フロー"]) > img,
  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt*="図解"]) > img {
    display: none !important;
  }

  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt*="比較図"])::before,
  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt*="秘密保持フロー"])::before,
  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt*="図解"])::before {
    content: "" !important;
    position: absolute !important;
    inset: 18px !important;
    border: 1px solid rgba(0, 124, 120, .18) !important;
    border-radius: 8px !important;
    background:
      linear-gradient(90deg, rgba(0, 124, 120, .08) 1px, transparent 1px) 0 0 / 34px 34px,
      linear-gradient(180deg, rgba(0, 124, 120, .06) 1px, transparent 1px) 0 0 / 34px 34px !important;
    pointer-events: none !important;
  }

  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt*="比較図"])::after,
  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt*="秘密保持フロー"])::after,
  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt*="図解"])::after {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    max-width: 520px !important;
    color: #0a2630 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.95 !important;
    text-align: center !important;
    white-space: pre-line !important;
    word-break: auto-phrase !important;
  }

  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt="譲渡企業様の着手金・中間金・成功報酬0円を示す比較図"])::after {
    content: "譲渡企業様の費用負担\A\A相談料 0円 / 着手金 0円\A中間金 0円 / 成功報酬 0円\A\A初回相談前に、開示範囲と別途費用を確認" !important;
  }

  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt="匿名相談からNDA締結、ノンネーム、詳細開示へ進む秘密保持フロー"])::after {
    content: "秘密保持の開示ステップ\A\A匿名相談 → NDA締結 → ノンネーム打診 → 詳細資料開示\A\A社名・案件名・会場名は段階的に管理" !important;
  }

  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt="年間案件表、香盤、機材、顧客、外注、会場規程を承継可能性へつなげる図解"])::after {
    content: "現場台帳で整理する資産\A\A年間案件表 / 香盤表 / 機材台帳\A顧客接点 / 外注網 / 会場規程\A\A買い手が再現性を判断できる粒度へ" !important;
  }

  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt="譲渡企業様と譲受企業様の相談導線を分け、条件整理後に候補先へ接続する図解"])::after {
    content: "相談導線を分けて整理\A\A譲渡企業様: 秘密保持・条件・資料準備\A譲受企業様: エリア・対象領域・PMI方針\A\A目的別に初期ヒアリングを設計" !important;
  }
}

@media (max-width: 760px) {
  html body #body_wrap.home .ema-gov,
  html body #body_wrap.home .ema-gov * {
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  @supports (word-break: auto-phrase) {
    html body #body_wrap.home .ema-gov,
    html body #body_wrap.home .ema-gov * {
      word-break: auto-phrase !important;
    }
  }

  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt*="比較図"]),
  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt*="秘密保持フロー"]),
  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt*="図解"]) {
    min-height: 230px !important;
    padding: 22px !important;
  }

  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt*="比較図"])::after,
  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt*="秘密保持フロー"])::after,
  html body #body_wrap.home .ema-gov figure.ema-detail-img:has(> img[alt*="図解"])::after {
    font-size: 13px !important;
    line-height: 1.85 !important;
  }
}
