/* KMJ_CODING-2323 */

div.four-businesses-text,
div.four-businesses2-text {
  position: relative;
  width: 100%;
  background-color: #7f7f7f;
  color: #ffffff;
}
div.four-businesses-text::before,
div.four-businesses2-text::before {
  content: "";
  position: absolute;
  border: 25px solid transparent;
  border-top: 20px solid #7f7f7f;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 0);
}

div.four-businesses-text p {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}
div.four-businesses2-text p {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}


.four-businesses2 {
  display: grid;
  gap: 0 24px;
  grid-template-columns: repeat(4, 1fr);
  margin: 50px 0 40px;
}
.four-businesses2 li dt {
  font-size: 16px;
  font-weight: bold;
  margin: 16px 0 8px;
}
.four-businesses2 li dd {
  font-size: 16px;
}
.four-businesses2 li:nth-child(1):after {
  background: var(--accent_1);
}
.four-businesses2 li:nth-child(1) h4 {
  background: var(--accent_1);
}
.four-businesses2 li:nth-child(1) dt {
  border-bottom: 2px solid var(--accent_1);
}
.four-businesses2 li:nth-child(2):after {
  background: var(--accent_2);
}
.four-businesses2 li:nth-child(2) h4 {
  background: var(--accent_2);
}
.four-businesses2 li:nth-child(2) dt {
  border-bottom: 2px solid var(--accent_2);
}
.four-businesses2 li:nth-child(3):after {
  background: var(--accent_4);
}
.four-businesses2 li:nth-child(3) h4 {
  background: var(--accent_4);
}
.four-businesses2 li:nth-child(3) dt {
  border-bottom: 2px solid var(--accent_4);
}
.four-businesses2 li:nth-child(4):after {
  background: var(--accent_3);
}
.four-businesses2 li:nth-child(4) h4 {
  background: var(--accent_3);
}
.four-businesses2 li:nth-child(4) dt {
  border-bottom: 2px solid var(--accent_3);
}

.four-businesses li:nth-child(3):after {
  background: var(--accent_4);
}
.four-businesses li:nth-child(3) h4 {
  background: var(--accent_4);
}
.four-businesses li:nth-child(3) dt {
  border-bottom: 2px solid var(--accent_4);
}
.four-businesses li:nth-child(4):after {
  background: var(--accent_3);
}
.four-businesses li:nth-child(4) h4 {
  background: var(--accent_3);
}
.four-businesses li:nth-child(4) dt {
  border-bottom: 2px solid var(--accent_3);
}

.composition-ratio {
  gap: 0 24px;
  margin-bottom: 40px;
}
.composition-ratio li p {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding-top: 12px;
}
.composition-ratio li:nth-child(1) p {
  border-top: 12px solid var(--accent_1);
}
.composition-ratio li:nth-child(2) p {
  border-top: 12px solid var(--accent_2);
}
.composition-ratio li:nth-child(3) p {
  border-top: 12px solid var(--accent_4);
}
.composition-ratio li:nth-child(4) p {
  border-top: 12px solid var(--accent_3);
}

.other-business {
  margin-bottom: 95px;
}
.other-business p {
  padding: 20px ;
  text-align: center;
}

.pc-hide{display: none;}
.tb-hide{display: block;}
.sp-hide{display: block;}

/* tb */
@media only screen and (max-width: 1200px) {
  div.four-businesses2-text {
    display: none;
  }
  .four-businesses2 {
    display: none;
  }
  .pc-hide{display: block;}
  .tb-hide{display: none;}
}

/* sp */
@media only screen and (max-width: 750px) {
  .sp-hide{display: none;}
}

/* a11y対応 */
.four-businesses li:nth-child(2) h4 {
  background-color: #008296;
}
.four-businesses li:nth-child(3) h4 {
  background-color: #A6680C;
}
.four-businesses li:nth-child(4) h4 {
  background-color: #C738AF;
}
