/* global React, Icons */
function RecommendByNeed() {
  const items = [
    {
      icon: Icons.Bolt,
      pill: "急ぎ",
      title: "とにかくすぐ資金調達したい",
      rec: "株式会社No.1",
      desc: "最短30分で入金。急な資金繰りに。",
      nameTag: `<a href="https://px.a8.net/svt/ejp?a8mat=4B3OR0+FREKHM+4EKW+5YJRM" rel="nofollow">ファクタリングなら株式会社No.1</a>
<img border="0" width="1" height="1" src="https://www18.a8.net/0.gif?a8mat=4B3OR0+FREKHM+4EKW+5YJRM" alt="">`,
    },
    {
      icon: Icons.Yen,
      pill: "コスト",
      title: "手数料を安く抑えたい",
      rec: "株式会社No.1",
      desc: "業界最低水準の手数料0.5%〜。",
      nameTag: `<a href="https://px.a8.net/svt/ejp?a8mat=4B3OR0+FREKHM+4EKW+5YJRM" rel="nofollow">ファクタリングなら株式会社No.1</a>
<img border="0" width="1" height="1" src="https://www18.a8.net/0.gif?a8mat=4B3OR0+FREKHM+4EKW+5YJRM" alt="">`,
    },
    {
      icon: Icons.User,
      pill: "個人",
      title: "個人事業主・フリーランスの方",
      rec: "QuQuMo online",
      desc: "手数料1〜14.8%・最短2時間。WEB完結。",
      nameTag: `<a href="https://px.a8.net/svt/ejp?a8mat=4B3OR0+G3B8L6+4JGG+BWVTE" rel="nofollow">QuQuMo online</a>
<img border="0" width="1" height="1" src="https://www12.a8.net/0.gif?a8mat=4B3OR0+G3B8L6+4JGG+BWVTE" alt="">`,
    },
    {
      icon: Icons.Building,
      pill: "高額",
      title: "大口の売掛金を現金化したい",
      rec: "アクセルファクター",
      desc: "2億円超の大口にも対応。",
      nameTag: `<a href="//af.moshimo.com/af/c/click?a_id=5553499&p_id=1861&pc_id=3615&pl_id=25882&url=https%3A%2F%2Faccelfacter.co.jp%2Flp12%2F%3Fcode%3Dmoaf12%26utm_term%3D%26utm_source%3Dmoaf12%26utm_medium%3Dcpc" rel="nofollow" referrerpolicy="no-referrer-when-downgrade" attributionsrc>即日資金調達アクセルファクター</a><img src="//i.moshimo.com/af/i/impression?a_id=5553499&p_id=1861&pc_id=3615&pl_id=25882" width="1" height="1" style="border:none;" alt="" loading="lazy">`,
    },
    {
      icon: Icons.Sprout,
      pill: "少額",
      title: "少額・小規模で使いたい",
      rec: "うりかけ堂",
      desc: "30万円〜。赤字・債務超過でも相談可。",
      nameTag: `<a href="https://px.a8.net/svt/ejp?a8mat=4B3OR0+G82PFE+4S8A+5YRHE" rel="nofollow">【うりかけ堂】</a>
<img border="0" width="1" height="1" src="https://www17.a8.net/0.gif?a8mat=4B3OR0+G82PFE+4S8A+5YRHE" alt="">`,
    },
    {
      icon: Icons.Coin,
      pill: "業種特化",
      title: "建設・運送業など業種で選びたい",
      rec: "BestPay",
      desc: "注文書ファクタリング対応。建設業に強い。",
      nameTag: `<a href="//af.moshimo.com/af/c/click?a_id=5553494&p_id=4185&pc_id=10616&pl_id=57087&url=https%3A%2F%2Fbest-pay.jp%3Fim%3D5u2e" rel="nofollow" referrerpolicy="no-referrer-when-downgrade" attributionsrc>注文書買取ファクタリング：BestPay</a><img src="//i.moshimo.com/af/i/impression?a_id=5553494&p_id=4185&pc_id=10616&pl_id=57087" width="1" height="1" style="border:none;" alt="" loading="lazy">`,
    },
  ];

  return (
    <section className="section recommend-by-need" id="need">
      <div className="container">
        <div className="section-head">
          <div className="section-eyebrow">RECOMMEND BY NEED</div>
          <h2 className="section-title">目的・状況別 おすすめファクタリング会社</h2>
          <p className="section-sub">あなたの「いま」に合う1社を、ピンポイントで</p>
        </div>

        <div className="need-grid">
          {items.map((it, i) => {
            const I = it.icon;
            return (
              <div className="need-card" key={i}>
                <div className="need-icon"><I/></div>
                <div>
                  <span className="need-pill">{it.pill}</span>
                  <div className="need-title">{it.title}</div>
                  <div className="need-rec">おすすめ：<strong>{it.rec}</strong> ／ {it.desc}</div>
                </div>
                <div
                  className="need-affiliate-btn"
                  dangerouslySetInnerHTML={{ __html: it.nameTag }}
                />
              </div>
            );
          })}
        </div>
      </div>
    </section>
  );
}
window.RecommendByNeed = RecommendByNeed;
