@charset "UTF-8";

/* ------------------------------
  東和の技術
------------------------------ */
.cms_block.tech,
.cms_block.flow {
  margin-bottom: 40px;
}

.tech img {
  border-radius: 12px;
}

.tech h2 {
  position: relative;
  padding-left: 90px;
}

.tech .cms_caption_b{
  font-weight: 600;
}

span.number {
  position: absolute;
  top: 34px;
  left: 0;
  font-family: "Oswald", sans-serif;
  font-size: 7.2rem;
  font-weight: 400;
  color: #ccd6e5;
}

.business-map img {
  width: 620px;
}

.business-map.colorBox-a {
  padding: 0;
}

span.h2blue {
  font-size: 2rem;
  color: #00327b;
}

.flow .cms_text {
  position: relative;
}

.flow .cms_text:not(:last-child) {
  margin-bottom: 55px;
}

.flow .cms_text:not(:last-child)::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -35px;
  left: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 13px 13px 0 13px;
  border-color: #7a8499 transparent;
  margin: auto;
}

.textBox h4 {
  margin-bottom: 10px;
}

.textBox {
  background-color: #f4f5f6;
}

.textBox img {
  width: 135px;
  height: 135px;
}
/* ----------------------
 PC用
---------------------- */
@media print,screen and (min-width: 768px) {
  .tech .cms_image {
    margin-bottom: 0;
  }

  .textBox {
    display: flex;
    padding: 60px 50px;
    border-radius: 12px 0 0 12px;
  }

  .textBox img {
    margin-right: 30px;
  }

  .flow .cms_text {
    display: flex;
  }

  .flow .cms_text>img {
    width: 380px;
    border-radius: 0 10px 10px 0;
  }
}
/* ----------------------
 スマホ用コード
---------------------- */
@media screen and (max-width: 767px) {
  .cms_block.tech,
  .cms_block.flow {
    margin-bottom: 20px;
  }

  .tech h2 {
    font-size: 2.2rem;
    padding-left: 0;
    z-index: 0;
  }

  span.number {
    font-size: 5rem;
    top: -8px;
    z-index: -1
  }

  span.h2blue {
    font-size: 1.6rem;
  }

  .textBox {
    padding: 30px 25px;
    border-radius: 12px 12px 0 0;
    text-align: center;
  }

  .textBox img {
    margin-bottom: 30px;
  }

  .textBox .text {
    text-align: start;
  }

  .flow .cms_text>img {
    border-radius: 0 0 10px 10px;
  }
}