
/* ===============================
   company business style
   =============================== */

.company_business {
   margin: 0 auto;
   max-width: 1120px;
  width: 87.23%;
/*   padding: 0 2.4rem; */
   padding: 0;
}
.company_business_lead {
   font-size: 1.8rem;
   padding: 0 0 4.8rem;
   margin: 0 0 8rem;
   border-bottom: 1px solid var(--color-border-1);
   text-align: center;
}
.company_business .inner {
   border-top: 1px solid var(--color-border-1);
   padding-top: 6.4rem;
}

.linkbanner_area .company_index_box_multiple_01.office .company_index_text {
	padding:19.5% 0 0 0;}

@media screen and (max-width: 768px) {
   .company_business_lead {
      text-align: left;
   }
}
/* ============================================= list */
.company_business_lst {
   position: relative;
   padding: 0 0 8rem;
}
.company_business_block dt {
   position: relative;
   aspect-ratio: 274 / 214;
   background-repeat: no-repeat;
   background-position: 0 0;
   background-size: cover;
   display: grid;
   align-items: end;
   cursor: pointer;
   padding: 1rem 0 1rem 2rem;
   -webkit-tap-highlight-color: transparent;
}
.company_business_block dt::before,
.company_business_block dt::after {
   content: "";
   display: block;
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-repeat: no-repeat;
   background-position: 0 0;
   background-size: cover;
}
.company_business_block dt::before {
   z-index: 2;
   mix-blend-mode: multiply;
   background-image: url('../imgs/company/business/business_gradation.png');
}
.company_business_block dt p {
   position: relative;
   z-index: 5;
}
.company_business_block dt span {
   display: block;
   color: var(--color-white);
}
.company_business_block dt span:nth-of-type(1) {
   font-family: var(--font-english);
   font-weight: 600;
   font-size: 6rem;
   line-height: 1;
}
.company_business_01 dt {
   background-image: url("../imgs/company/business/business_item_01.jpg");
}
.company_business_02 dt {
   background-image: url("../imgs/company/business/business_item_02.jpg");
}
.company_business_03 dt {
   background-image: url("../imgs/company/business/business_item_03.jpg");
}
.company_business_04 dt {
   background-image: url("../imgs/company/business/business_item_04.jpg");
}
.company_business_05 dt {
   background-image: url("../imgs/company/business/business_item_05.jpg");
}
.company_business_06 dt {
   background-image: url("../imgs/company/business/business_item_06.jpg");
}
.company_business_07 dt {
   background-image: url("../imgs/company/business/business_item_07.jpg");
}
.company_business_08 dt {
   background-image: url("../imgs/company/business/business_item_08.jpg");
}
.company_business_block dt span:nth-of-type(2) {
   font-weight: bold;
   width: fit-content;
   padding-right: 1rem;
   position: relative;
   font-size:1.4rem;
}
.company_business_block dt span:nth-of-type(2)::before {
   content: "";
   display: block;
   position: absolute;
   width: 1.6rem;
   aspect-ratio: 1 / 1;
   right: -15px;
   top: calc(50% - 0.8rem);
   background-repeat: no-repeat;
   background-position: 0 0;
   background-size: cover;
   background-image: url("../imgs/company/business/business_icon_plus.png");
   transition: 0.3s;
}
.company_business_block .open dt span:nth-of-type(2)::before {
   transform: rotate(45deg);
}
.company_business_block dd {
   margin: 2.4rem 0;
   padding: 2.4rem;
   position:relative;
   background-color: var(--color-background-1);
}
.company_business_block dd ul {
   display: grid;
   gap: 1.6rem 1rem;
   text-align: center;
}
.company_business_block dd ul a {
   text-decoration: none;
   color: var( --color-black);
}
.company_business_block dd ul a p {
   margin-top: 0.8rem;
	overflow-wrap: anywhere;
}
.company_business_close {
   position: relative;
   z-index: 5;
   width: 4rem;
   margin: 1.6rem 0 0 auto;
   cursor: pointer;
}

.company_business_block dd:before {
	content:"";
	top:-15px;
	position:absolute;
	width: 0;
	height: 0;
	border-style: solid;
	border-right: 10px solid transparent;
	border-left: 10px solid transparent;
	border-bottom: 20px solid #f5f5f5;
	border-top: 0;
}

.company_business_01 dd:before,
.company_business_05 dd:before {
	left:11.5%;}
.company_business_02 dd:before,
.company_business_06 dd:before {
	left:36.5%;}
.company_business_03 dd:before,
.company_business_07 dd:before {
	left:61.5%;}
.company_business_04 dd:before,
.company_business_08 dd:before {
	left:86.5%;}


@media screen and (max-width: 768px) {
   .company_business_block dl {
      margin-bottom: 0.8rem;
   }
   .company_business_block dd ul {
      grid-template-columns: repeat(2, 1fr);
      font-size: 1.2rem;
   }
   .company_business_block .block_2 {
      grid-column: 1 / 3;
   }
}
@media screen and (min-width: 769px) {
   .company_business_block + .company_business_block {
      margin-top: 0.8rem;
   }
   .company_business_block {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0 0.8rem;
   }
   .company_business_block dd {
      width: calc(400% + 2.4rem + 2px);
   }
   .company_business_block dl:nth-of-type(2) dd {
      transform: translate(calc(-25% - 0.25rem), 0);
   }
   .company_business_block dl:nth-of-type(3) dd {
      transform: translate(calc(-50% - 0.5rem), 0);
   }
   .company_business_block dl:nth-of-type(4) dd {
      transform: translate(calc(-75% - 0.75rem), 0);
   }
   .company_business_block dd ul {
      grid-template-columns: repeat(4, 1fr);
   }
   .company_business_block .business_5block dd ul {
      grid-template-columns: repeat(5, 1fr);
   }
   .company_business_block .block_2 {
      grid-column: span 2;
   }
   .company_business_block dt::after {
      z-index: 1;
      background-color: var(--color-primary);
      opacity: 0;
      transition: 0.3s;
   }
   .company_business_block dt:hover::after,
   .company_business_block .open dt:after  {
      opacity: 0.5;
   }
   .company_business_block dt:hover span:nth-of-type(2)::before {
      transform: rotate(45deg);
   }
}


