.c-text-a-sb .c-text-a__text {
  background-color: #f3f3f3;
  border-radius: 20px;
  padding-top: 3rem;
  padding-bottom: 3rem;
  font-size: 28px !important;
  font-weight: bold;
  text-align: center;
  position: relative;
}

.c-text-a__text_red_wrapper {
  text-align: center;
}

.c-text-a-sb .c-text-a__text.c-text-a__text_red {
  background-color: #CF122E;
  color: #fff;
  font-size: 20px !important;
  padding: 1rem 2rem;
  display: inline-block;
}

.c-text-a-sb .c-text-a__text::after {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  border-bottom: 40px solid #f3f3f3;
  border-top: 0;
}

.c-text-a-sb .c-text-a__text.c-text-a__text_red::after {
  border-bottom: 40px solid #CF122E;
}

.c-text-a-sb {
  margin-top: 60px !important;
}

.c-box-arrow-b__inner.dm-tec-detail-arrow::after {
  border-color: transparent transparent transparent #fff !important;
}

.c-linkCard--col-arrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.c-linkCard--col-arrow .c-linkCard__item {
  width: 47%;
}

.c-linkCard--col-arrow-item {
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 40px solid transparent;
  border-bottom: 40px solid transparent;
  border-left: 50px solid #c9c9c9;
  border-right: 0;
}

@media (max-width: 640px) {
  .c-text-a-sb .c-text-a__text {
    font-size: 18px !important;
    padding: 1rem 0.5rem;
  }

  .c-text-a-sb .c-text-a__text::after {
    top: -30px;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
    border-bottom: 30px solid #f3f3f3;
  }

  .c-text-a-sb {
    margin-top: 40px !important;
  }

  .c-text-a-sb .c-text-a__text.c-text-a__text_red {
    font-size: 16px !important;
  }

  .c-box-arrow-b__inner.dm-tec-detail-arrow::after {
    border-color: #fff transparent transparent transparent !important;
  }

  .c-linkCard--col-arrow {
    flex-direction: column;
  }

  .c-linkCard--col-arrow-item {
    border-right: 20px solid transparent;
    border-left: 20px solid transparent;
    border-top: 30px solid #c9c9c9;
    border-bottom: 10px solid transparent;
  }

  .c-linkCard--col-arrow .c-linkCard__item {
    width: 100%;
  }

  .c-linkCard--col-arrow .c-linkCard__item img {
    object-fit: fill !important;
    height: auto !important;
    position: static !important;
    transform: none !important;
  }

  .c-linkCard--col-arrow .c-linkCard__imageInner {
    padding-bottom: 0 !important;
  }
}

/*メガメニュー*/
/* PC版 */
.dm-nav-wrapper ul ul {
  display: block;
}

.dm-nav-wrapper ul li {
  position: relative;
}

.dm-nav-wrapper ul li a {
  display: block;
}

.dm-nav-wrapper li.dm-has-child .dm-has-child-ttl {
  font-weight: bold;
  display: block;
}

.dm-nav-wrapper li.dm-has-child .dm-has-child-ttl::after {
  margin-left: 9px;
  transform: rotate(90deg);
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: middle;
  content: "";
  background-color: #999999;
  background-size: contain;
  transition: background-color ease 0.3s, transform ease 0.3s;
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000000" d="M6.99813,21.015a1.24936,1.24936,0,0,0,1.77,0l8.31-8.31a.99587.99587,0,0,0,0-1.41l-8.31-8.31a1.25158,1.25158,0,0,0-1.77,1.77l7.24,7.25-7.25,7.25A1.24639,1.24639,0,0,0,6.99813,21.015Z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000000" d="M6.99813,21.015a1.24936,1.24936,0,0,0,1.77,0l8.31-8.31a.99587.99587,0,0,0,0-1.41l-8.31-8.31a1.25158,1.25158,0,0,0-1.77,1.77l7.24,7.25-7.25,7.25A1.24639,1.24639,0,0,0,6.99813,21.015Z"/></svg>');
}

.dm-nav-wrapper li.dm-has-child:hover .dm-has-child-ttl::after {
  transform: rotate(-90deg);
  background-color: #cf142b;
}

.dm-nav-wrapper li.dm-has-child:hover .dm-has-child-ttl {
  color: #cf142b;
}

.dm-nav-wrapper li.dm-has-child ul li::after {
  right: 10px;
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 14px;
  height: 14px;
  content: "";
  background-color: #333333;
  background-size: contain;
  transition: color ease 0.3s;
  transform: translateY(-50%);
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000000" d="M6.99813,21.015a1.24936,1.24936,0,0,0,1.77,0l8.31-8.31a.99587.99587,0,0,0,0-1.41l-8.31-8.31a1.25158,1.25158,0,0,0-1.77,1.77l7.24,7.25-7.25,7.25A1.24639,1.24639,0,0,0,6.99813,21.015Z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000000" d="M6.99813,21.015a1.24936,1.24936,0,0,0,1.77,0l8.31-8.31a.99587.99587,0,0,0,0-1.41l-8.31-8.31a1.25158,1.25158,0,0,0-1.77,1.77l7.24,7.25-7.25,7.25A1.24639,1.24639,0,0,0,6.99813,21.015Z"/></svg>');
}

.dm-nav-wrapper li.dm-has-child ul li:hover::after {
  background-color: #cf142b;
}

.dm-nav-wrapper li.dm-has-child ul li>a {
  transition: color ease 0.3s;
}

.dm-nav-wrapper li.dm-has-child ul li:hover>a {
  color: #cf142b;
}

.dm-nav-wrapper li.dm-has-child ul {
  position: absolute;
  left: 0;
  top: 54px;
  z-index: 4;
  /*形状を指定*/
  background: #fff;
  width: 180px;
  /*はじめは非表示*/
  visibility: hidden;
  opacity: 0;
  /*アニメーション設定*/
  transition: all .3s;
}

.dm-nav-wrapper li.dm-has-child ul li {
  border-bottom: solid 1px #ECECEE;
  padding: 10px;
  font-size: 14px;
}

.dm-nav-wrapper li.dm-has-child ul.dm-child {
  visibility: visible;
  opacity: 1;
}

/* PC版ここまで */
/* SP版 */
@media screen and (max-width:768px) {
  .only-sp .dm-nav-wrapper li.sp-dm-has-child .dm-has-child-ttl, .only-sp .dm-nav-wrapper li.sp-dm-has-child .sp-dm-has-child-inner div {
    font-size: 16px;
    color: #000;
    border-top: none;
    text-align: left;
    position: relative;
    display: block;
  }

  .only-sp .dm-nav-wrapper li.sp-dm-has-child .dm-has-child-ttl {
    padding: 10px;
    font-weight: bold;
  }

  .only-sp .dm-nav-wrapper li.sp-dm-has-child .sp-dm-has-child-inner div {
    border-top: 1px dotted #ccc;
  }

  .only-sp .dm-nav-wrapper li.sp-dm-has-child .sp-dm-has-child-inner div a {
    display: block;
    padding: 10px;
    color: #333333;
    font-weight: normal;
  }

  .only-sp .dm-nav-wrapper li.sp-dm-has-child .dm-has-child-ttl::after {
    transform: rotate(90deg) translateX(-50%);
    display: inline-block;
    width: 14px;
    height: 14px;
    vertical-align: middle;
    content: "";
    background-color: #999999;
    background-size: contain;
    transition: background-color ease 0.3s, transform ease 0.3s;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000000" d="M6.99813,21.015a1.24936,1.24936,0,0,0,1.77,0l8.31-8.31a.99587.99587,0,0,0,0-1.41l-8.31-8.31a1.25158,1.25158,0,0,0-1.77,1.77l7.24,7.25-7.25,7.25A1.24639,1.24639,0,0,0,6.99813,21.015Z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000000" d="M6.99813,21.015a1.24936,1.24936,0,0,0,1.77,0l8.31-8.31a.99587.99587,0,0,0,0-1.41l-8.31-8.31a1.25158,1.25158,0,0,0-1.77,1.77l7.24,7.25-7.25,7.25A1.24639,1.24639,0,0,0,6.99813,21.015Z"/></svg>');
    position: absolute;
    top: 50%;
    right: 16px;
  }

  .only-sp .dm-nav-wrapper li.sp-dm-has-child.sp-dm-has-child-s .dm-has-child-ttl::after {
    background-color: #cf142b;
    transition: background-color ease 0.3s, transform ease 0.3s;
    transform: rotate(-90deg) translateX(50%);
  }

  .only-sp .dm-nav-wrapper li.sp-dm-has-child .sp-dm-has-child-inner {
    display: none;
  }

  .only-sp .dm-nav-wrapper li.sp-dm-has-child.sp-dm-has-child-s .sp-dm-has-child-inner {
    display: block;
  }

  .only-sp .dm-nav-wrapper li.sp-dm-has-child.sp-dm-has-child-s .dm-has-child-ttl {
    color: #cf142b;
  }
}

/* TOP導線 */
.bnr_dmtec {
  border: 1px solid rgb(10, 80, 179) !important;
  background-color: rgb(232, 239, 251);
  transition: background-color 0.3s ease-in-out;
}

.bnr_dmtec:hover {
  opacity: 0.7;
}

.bnr_dmtec_inner {
  display: flex;
}

.bnr_dmtec_img {
  clip-path: polygon(0 0, 81% 0, 100% 100%, 0% 100%);
  max-width: 480px;
}

.bnr_dmtec_img img {
  height: 100%;
}

.bnr_dmtec_txt {
  padding: 30px 48px 25px 25px !important;
}

.bnr_dmtec_txt h3 {
  font-size: 44px !important;
  color: rgb(10, 80, 179);
  font-weight: bold !important;
  margin-bottom: 20px !important;

}

.bnr_dmtec_txt .bnr_dmtec_more {
  margin-top: 25px !important;
  background-color: #D31D3E;
  font-weight: bold !important;
  font-size: 18px !important;
  padding: 15px !important;
  border-radius: 4px;
  position: relative;
  width: 230px;
  text-align: center;
}

.bnr_dmtec_txt .bnr_dmtec_more a {
  color: #fff !important;
}

.bnr_dmtec_txt .bnr_dmtec_more::after {
  position: absolute;
  top: 50%;
  right: 4%;
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  background-image: url(https://www.ricoh.co.jp/-/Media/Ricoh/Sites/co_jp/service/digital-manufacturing/image2/btn-arw.png);
  transition: right 0.3s ease-in-out;
}

@media screen and (max-width:1027px) {
  .bnr_dmtec_img {
    max-width: 350px;
  }

}

@media screen and (max-width:898px) {
  .bnr_dmtec_txt h3 {
    font-size: 30px !important;
  }

  .bnr_dmtec_txt .bnr_dmtec_more a {
    font-size: 16px !important;
  }
}

@media screen and (max-width:768px) {
  .bnr_dmtec_img {
    max-width: 300px;
  }

  .bnr_dmtec_txt h3 {
    font-size: 23px !important;
  }
}

@media screen and (max-width:678px) {
  .bnr_dmtec_inner {
    flex-direction: column;
  }

  .bnr_dmtec_img {
    clip-path: none;
    max-width: none;
    width: 100%;
    height: 200px;
  }

  .bnr_dmtec_img img {
    object-fit: cover;
    width: 100%;
  }

  .bnr_dmtec_txt {
    padding: 30px !important;
  }

  .bnr_dmtec_txt .bnr_dmtec_more {
    margin: 25px auto 0 !important;
  }
}

/* メニュー非表示 */
/*.c-container .c-container {
  display: none;
}*/

/*dm-tec-fig*/
.dm-tec-fig .dm-tec-fig01 {
  position: relative;
}

.dm-tec-fig .dm-tec-fig01 h4 {
  background-color: #cf142b;
  color: #fff;
  display: inline-block;
  padding: 4px 30px;
  border-radius: 50px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -20px;
}

.dm-tec-fig .dm-tec-fig01 ul, .dm-tec-fig .dm-tec-fig02 ul {
  padding-left: 0;
}

.dm-tec-fig .dm-tec-fig01 li {
  width: 105px;
}

.dm-tec-fig .dm-tec-fig01 li h5, .dm-tec-fig .dm-tec-fig02 li h5 {
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
}

.dm-tec-fig .dm-tec-fig01 li figure {
  width: 90px;
  border-radius: 10px;
  background-color: #fff;
  height: 90px;
  display: grid;
  place-items: center;
  margin: 0 auto;
}

.dm-tec-fig .dm-tec-fig01 li figure.bgt {
  background-color: transparent;
}

.dm-tec-fig .dm-tec-fig01 li figure img {
  width: auto !important;
  max-width: 70px;
  border-radius: 10px;
}

.dm-tec-fig .dm-tec-fig01 li figure.bgt img {
  width: 90px !important;
  height: 90px;
  max-width: none;
  object-fit: cover;
}

.dm-tec-fig .dm-tec-fig01 {
  background-color: #f3f3f3;
  border: 2px solid #cf142b;
  border-radius: 10px;
  padding: 40px 25px;
}

.dm-tec-fig .dm-tec-fig01 ul, .dm-tec-fig .dm-tec-fig02 ul {
  display: flex;
  justify-content: space-between;
}

.dm-tec-fig .dm-tec-fig02 li h5 {
  color: #fff;
}

.dm-tec-fig .dm-tec-fig02 h4 {
  color: #fff;
  text-align: center;
}

.dm-tec-fig .dm-tec-fig02 li figure {
  width: 163px;
  height: 105px;
  background-color: #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.dm-tec-fig .dm-tec-fig02 li figure img {
  width: auto !important;
  max-width: 150px;
  max-height: 100px;
}

.dm-tec-fig .dm-tec-fig02 {
  background-color: #cf142b;
  padding: 20px 30px;
  border-radius: 10px;
  position: relative;
  margin-top: 40px;
  border: 2px solid #cf142b;
}

.dm-tec-fig-arrow-up {
  font-size: 100px;
  position: absolute;
  width: 0.75em;
  height: 0.25em;
  background-color: #cf142b;
  left: 50%;
  transform: translateX(-50%);
  top: -25px;
}

/* 三角 */
.dm-tec-fig-arrow-up::before {
  content: "";
  position: absolute;
  top: -0.45em;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 65px solid transparent;
  border-left: 65px solid transparent;
  border-bottom: 45px solid #cf142b;
  border-top: 0;
}

@media screen and (max-width:999px) {
  .dm-tec-fig .dm-tec-fig01 ul, .dm-tec-fig .dm-tec-fig02 ul {
    row-gap: 30px;
  }

  .dm-tec-fig .dm-tec-fig01, .dm-tec-fig .dm-tec-fig02 {
    padding: 20px 20px 50px 20px;
  }

  .dm-tec-fig .dm-tec-fig01 ul {
    flex-wrap: wrap;
  }

  .dm-tec-fig .dm-tec-fig01 li, .dm-tec-fig .dm-tec-fig02 li {
    width: calc((100% - 20px) / 2);
    height: 140px;
  }

  .dm-tec-fig .dm-tec-fig01 li figure img {
    max-width: none;
  }

  .dm-tec-fig .dm-tec-fig01 li h5, .dm-tec-fig .dm-tec-fig02 li h5 {
    margin-top: 5px;
    font-size: 0.8rem;
  }

  .dm-tec-fig .dm-tec-fig01 li figure, .dm-tec-fig .dm-tec-fig02 li figure {
    width: 100%;
    height: 140px;
  }

  .dm-tec-fig .dm-tec-fig01 li figure.bgt {
    background-color: #fff;
  }

  .dm-tec-fig .dm-tec-fig01 h4 {
    min-width: 220px;
  }

  .dm-tec-fig .dm-tec-fig02 ul {
    flex-wrap: wrap;
  }

  .dm-tec-fig .dm-tec-fig02 li figure img {
    max-width: 90%;
  }
}
