
.bussiness_wrapp {
    background:#fff; 
    padding:0px 0;
    position: relative;
    margin-bottom: 90px;
}

.bussiness_wrapp .bussiness_sub_nav {
    position: absolute;
    z-index: 4;
    top: 30vh;
    left: 0;
    background: #fff;
    width: 12%;
    min-width: 88px;
    padding: 50px 20px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
     box-shadow: 6px 6px 17px 0px rgba(0, 0, 0, 0.19);
    
    @media screen and (max-width: 767px) {
        border-radius: 20px;
        top:auto;
        bottom: 5vh;
        left: 10px;
        padding: 12px 1.5%;
        position: fixed;
        right: 10px;
        width: calc(100% - 20px);
    }
    
}

.bussiness_wrapp .bussiness_sub_nav li {
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    
    @media screen and (max-width: 767px) {
        line-height: 1;
        margin-bottom: 0;
    }
}
.bussiness_wrapp .bussiness_sub_nav li a {
font-size: min(2.8vw, 15px);
    line-height: 150%;
     position: relative;
    display: inline-block;
    background: #fff;
    padding: 0 5px;
    z-index: 2;
    transition: all .6s ease;
    @media screen and (max-width: 1200px) {
        font-size: clamp(11px, 1.5vw, 15px);
        line-height: 1.6;
        text-align: center;
    }
    @media screen and (max-width: 767px) {
        background: transparent;
        padding: 14px 2.4vw 0;
        font-size: clamp(10px, 2vw, 14px);
    }
    }
.bussiness_wrapp .bussiness_sub_nav li.current a {
color: #e60012;
    font-size: 110%;
    font-weight: 700;
     @media screen and (max-width: 1200px) {
        font-size: clamp(11px, 1.5vw, 15px);
    }
    @media screen and (max-width: 767px) {
        font-size: clamp(10px, 2vw, 14px);
    }
}
.bussiness_wrapp .bussiness_sub_nav li.current::after {
    content: "";
    width: 80%;
    height: 2px;
    background: #e60012;
    position: absolute;
    right: 0;
    left: 50%;
    top: 49%;
    z-index: 1;
     /* モバイル時はボーダーではなく丸に */
    @media screen and (max-width: 767px) {
        background:radial-gradient(circle farthest-side, #e60012 50%, #fff 65%, #fff 75%,#e60012 90%, #fff 100%);
        border-radius: 50%;
        clip-path:none;
        height: 12px;
        width: 12px;
        right: auto;
        left: calc(50% - 6px);
        top: 0;
    }
}
.bussiness_wrapp .bussiness_sub_nav li a:hover {
    color: #e60012;
}
.bussiness_wrapp .bussiness_sub_nav li::after {
    content: "";
    width: 0%;
    height: 2px;
    background: #e60012;
    position: absolute;
    right: 0;
    left: 50%;
    top: 49%;
    z-index: 1;
    transition: all .6s ease;
        @media screen and (max-width: 767px) {
        background: #e60012;
        clip-path: polygon(0 40%, 50% 0, 100% 40%, 100% 55%, 50% 15%, 0 55%);
        height: 12px;
        width: 12px;
        left: calc(50% - 6px);
        top: 10%;
    }
}
.bussiness_wrapp .bussiness_sub_nav li:hover::after {
    width: 80%;
        @media screen and (max-width: 767px) {
        transform: scale(1.1);
        width: 12px;
    }
}
.company_sub_nav li.current:hover::after {
    @media screen and (max-width: 767px) {
        width: 12px;
    }   
}


.bussiness_sub_nav .cara {
  width: 80%;
    position: absolute;
    top: -20%;
    left: 5%;
    @media screen and (max-width: 767px) {
    width: 30%;
    top: -110%;
    left: 0%;
    }
}

.bussiness_sub_nav .cara .cara_in {
    width: 50%;
    margin: 0 auto;
}

.bussiness_sub_nav .cara .fukudashi {
       animation: subnav_yurayura 2s linear infinite; 
}
@keyframes subnav_yurayura {
  0% , 100%{
      transform: scale(0.8) translateY(10px);
  }
  50%{
    transform: scale(1) translateY(0px);
  }
}


#js-sidemenu.bussiness_sub_nav {
     opacity: 1;
    @media screen and (max-width: 767px) {
      transition: all .6s ease; 
     opacity: 0;
        bottom: -5vh;
    }  
}
/* 初期状態非表示 */
#js-sidemenu.bussiness_sub_nav.mobile-fixed {
    opacity: 0;
    @media screen and (max-width: 767px) {
     opacity: 1;
        bottom: 5vh;
    }  
}
.bussiness_sub_nav ul {
    @media screen and (max-width: 767px) {
        align-items: stretch;
        display: flex;
        justify-content: center;
    }
}

.key_image {
    width: 100%;
    position: relative;
    overflow: hidden;
}
.key_image h2 {
position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%,-50%);
    font-family: "Montserrat", sans-serif;
    font-size: min(5.5vw, 60px);
    line-height: 140%;
    color: #fff;
    text-align: center;
}
.key_image h2 .jp {
    font-size: 20px;
    position: relative;
    display: block;
}


.bussiness_wrapp .red_wrapp {
   background:#e60012; 
    padding-bottom: 10px;
}

.bussiness_wrapp .contents_in {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}


.bussiness_text {
    padding: 80px 0;
}

.bussiness_text h3 {
    font-family: "Montserrat", sans-serif;
    font-size: min(2.5vw, 40px);
    line-height: 140%;
    color: #000;
    text-align: center;
    margin-bottom: 20px;
}
.bussiness_text h3 .jp {
    font-size: 18px;
    position: relative;
    display: block;
}
.bussiness_text p {
    font-size: min(1.5vw, 25px);
    font-weight: 700;
   text-align: center;
}

.bussiness_product {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.media_wrapp {
    position: relative;
    z-index: 2;
    color: #fff;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}

.media_wrapp + .media_wrapp {
    padding-top: 0;
}

.media {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.media.media--reverse {
    flex-direction: row-reverse;
}

.media .media_photo {
     width: calc(590 / 1200 *100%);
    overflow: hidden;
}

.media .media_body {
    width: calc(520 / 1200 *100%);
}

.media_title {
    font-size: clamp(11px, 1.8vw, 40px);
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 30px;
}

.media_title .lg {
    font-size: clamp(20px, 4.1vw, 80px);
    letter-spacing: -.02em;
    line-height: 1.4;
}

.media_text {
    font-size: clamp(11px, 1vw, 16px);
    line-height: 2.2;
}

@media screen and (max-width: 767px) {

.bussiness_wrapp {
    margin-bottom: 50px;
}
    
    .media .media_photo {
        width: 100%;
        margin-top: 20px;
    } 

    .media .media_body {
        width: 100%;
        margin: 0 auto;
    }

    .media_title {
        font-size: clamp(12px, 4.2vw, 40px);
        line-height: 2;
        margin-bottom: 20px;
    }

    .media_title .lg {
        font-size: clamp(20px, 9.6vw, 80px);
    }

    .media_text {
        line-height: 1.8;
    } 
    
.bussiness_text {
    padding: 50px 0;
}
.bussiness_text h3 {
font-size: clamp(2rem, 1.837rem + 0.82vw, 2.5rem);
    margin-bottom: 20px;
}  
.bussiness_text h3 .jp {
 font-size: clamp(0.875rem, 0.793rem + 0.41vw, 1.125rem);
}  
.bussiness_text p {
font-size: min(3.8vw, 25px);
}
    

}

/**********壁材建材卸・販売***********/
.bussiness_products {
    display: grid;
    gap: 14px 6px;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: repeat(3,1fr);
}

.business_product {
    align-items: center;
    aspect-ratio: 360/276;
    border-radius: 20px 20px 0 0 ;
    display: flex;
    flex-direction: column;
    isolation:isolate;
    overflow: hidden;
    padding-top: 8%;
    position: relative;
}

.business_product_bkg {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    &::after {
        background-image: linear-gradient(rgba(0,0,0,.2), transparent);
        content: "";
        display: block;
        left: 0;
        position: absolute;
        height: 100%;
        top: 0;
        width: 100%;
    }
}

.business_product_bkg img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.business_product_ttl {
    color: #fff;
    font-size: clamp(12px, 1.8vw, 30px);
    font-weight: bold;
    position: relative;
    text-align: center;
    z-index: 1;
}

.business_product_btn {
    bottom: 12%;
    left: 50%;
    position: absolute;
    transform: translate(-50%,-50%);
    transition: all .5s ease;
    width: 19%;
    z-index: 1;
}


.business_product:hover .business_product_btn {
    transform-origin: center;
    transform: translate(-50%,-50%) scale(1.15);
}

@media screen and (max-width: 767px) {

    .bussiness_products {
        gap: 6px 4px;
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(5,1fr);
    }
    
    .business_product_ttl {
        font-size: clamp(12px, 3.4vw, 30px);
    }
    
    .business_product_btn {
        bottom: 6%;
        left: 50%;
        position: absolute;
        transform: translate(-50%,-50%);
        transition: all .5s ease;
        width: 22%;
        z-index: 1;
    }

}

/**********リフォーム***********/

.reform_point_wrapp {
    background: #e6e6e6;
    padding: 80px 0;
}

.reform_point_wrapp .bussiness_text {
    padding: 20px 0;
}


.reform_merit {
    width: 70%;
    margin: 0 auto 80px;
}

.reform_mefit_in {
    background-color: #fff;
    margin-top: 60px;
    padding: 30px 50px 50px;
    position: relative;
}

.reform_merit_ttl {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.5rem, 0.817rem + 2.91vw, 4.313rem);
    font-weight: bold;
    left: 50%;
    position: absolute;
    text-align: center;
    top: 0;
    transform: translate(-50%, -50%);
}

.reform_merit_ttl .img {
    display: block;
    height: 73%;
    position: absolute;
    object-fit: contain;
    right: 0;
    top: 0;
    transform: translateX(120%);
    width: auto;
}


.reform_merit_ttl .img img {
    height: 100%;
    width: auto;
    vertical-align: top;
}
.reform_merit_ttl .img .img_1 {}

.reform_merit_ttl .img .img_2 {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}
.reform_merit_ttl #reform_cara.active.img .img_1 {
  opacity: 0;
}
.reform_merit_ttl #reform_cara.active.img .img_2 {
  opacity: 1;
}



.reform_merit_ttl .img {
       animation: cara_in1 1.6s linear infinite; 
}
@keyframes cara_in1 {
  0% , 100%{
 transform: translateX(120%) rotate(3deg);
  }
  50%{
  transform: translateX(120%) rotate(-3deg);
  }
}

/*
.reform_merit_ttl .img .img_2 {
       animation: cara_in2 1s linear infinite; 
}
@keyframes cara_in2 {
  0% , 100%{
      opacity: 0;
  }
  50%{
    opacity: 1;
  }
}
*/


.reform_merit_sub_ttl {
    font-size: clamp(1.125rem, 0.746rem + 1.62vw, 2.688rem);
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.reform_merit_body {
    display: table;
    margin-inline: auto;
}

.reform_merit_row {
    align-items: center;
    display: flex;
    gap: 30px;
}

.reform_merit_row + .reform_merit_row {
    margin-top: 30px;
}

.reform_merit_row .label {
    position: relative;
    align-items: baseline;
    /*background-image: linear-gradient(transparent, transparent 50%, #03EA03 50%, #03EA03 90%, transparent 90%);*/
    display: flex;
    font-size: clamp(1rem, 0.697rem + 1.29vw, 2.25rem);
    font-weight: bold;
    white-space: nowrap;
    z-index: 2;
}

.reform_merit_row .label::after {
    content: "";
    width: 0%;
    height: 60%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: #d1e916;
    z-index: -1;
    transition: all 1.4s ease-out;
    transition-timing-function: cubic-bezier(0.87, 0, 0.13, 1);
}

.reform_merit_row.on .label::after {
    width: 100%;
}



.reform_merit_row .num {
    font-size: clamp(1.25rem, 0.795rem + 1.94vw, 3.125rem);
    line-height: 1;
}

.reform_merit_row .text {
    font-size: clamp(0.625rem, 0.51rem + 0.49vw, 1rem);
    font-weight: bold;
    letter-spacing: .01em;
}

@media screen and (max-width: 767px) {

    .reform_mefit_in {
        margin-top: 30px;
        padding: 24px 20px 30px;
    }
    
    .reform_merit_ttl {
        font-size: clamp(1.875rem, 1.07rem + 4.03vw, 3rem);
    }
    
    .reform_merit_ttl .img {
        height: 73%;
        transform: translateX(120%);
    }
    
    .reform_merit_sub_ttl {
        font-size: clamp(1.125rem, 0.499rem + 3.13vw, 2rem);
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    .reform_merit_row {
        flex-direction: column;
        gap: 6px
    }
    
    .reform_merit_row + .reform_merit_row {
        margin-top: 20px;
    }
    
    .reform_merit_row .label {
        font-size: clamp(1rem, 0.463rem + 2.68vw, 1.75rem);
    }
    
    .reform_merit_row .num {
        font-size: clamp(1.125rem, 0.499rem + 3.13vw, 2rem);;
    }
    
    .reform_merit_row .text {
        font-size: clamp(0.625rem, 0.51rem + 0.49vw, 1rem);
        text-align: center;
    }
}

.reform_flow {
    background: #d2d2d2;
    text-align: center;
}
.reform_flow img {
    width: 64%;
    max-width: 1500px;
}

.reform_flow_in {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 80%;
    margin-inline: auto;
    max-width: 1200px;
}

.reform_flow_item {
    padding: 20px 10px;
}

.reform_flow_item:nth-child(2){
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
}

.reform_flow_num {
    font-family: "Josefin Sans", sans-serif;
    font-size: clamp(40px, 6.5vw, 120px);
    font-weight: 400;
    line-height: 1;
}

.reform_flow_title {
    font-size: clamp(14px, 1.4vw, 25px);
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: calc((1em - 1lh) / 2);
}

.reform_flow_txt {
    color: #444444;
    font-size: clamp(0.625rem, 0.534rem + 0.39vw, 1rem);
    font-weight: bold;
    margin-inline: auto;
    text-align: left;
    width: 86%;
}

.reform_flow_image {
    margin-bottom: 20px;
    margin-inline: auto;
    width: 86%;
}

@media screen and (max-width: 767px) {

    .reform_flow_in {
        grid-template-columns: 1fr;
    }
    
    .reform_flow_item:nth-child(2){
        border-bottom: 2px solid #fff;
        border-left: none;
        border-right: none;
        border-top: 2px solid #fff;
    }
    
}

/* アニメーション */
.reform_flow_image {
    opacity: 0;
    transform: translateY(60px);
}

.reform_flow_image {
    opacity: 0;
    transform: translateY(60px);
}

.reform_flow_image {
    opacity: 0;
    transform: translateY(50px);
}

.reform_flow_image {
    opacity: 0;
    transform: translateY(50px);
}

.reform_flow_image.animate {
    animation: softestBounceIn 1.3s ease-out forwards;
}

@keyframes softestBounceIn {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.97);
    }
    25% {
        opacity: 1;
        transform: translateY(0) scale(1.02);
    }
    50% {
        transform: translateY(-5px) scale(1);
    }
    70% {
        transform: translateY(6px);
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}







/**********工事部***********/

.bussiness_co_text {
    padding: 80px 0;
}


.bussiness_co_text h3 {
    font-family: "Montserrat", sans-serif;
    font-size: min(2.5vw, 40px);
    line-height: 140%;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

.bussiness_co_text p {
    color: #fff;
    font-size: min(1.5vw, 16px);
    font-weight: 700;
    line-height: 220%;
   text-align: left;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

.co_list {
    width: 90%;
    max-width: 1400px;
    margin: 80px auto 0;
}

.co_list_in {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(4,1fr);
}

.co_list_ttl_wrap {
    display: flex;
    flex-direction: row-reverse;
    gap: 2.5vw;
    grid-column: 4/5;
    grid-row: 1/3;
    justify-content: center;
}

.co_list_ttl {
    width: 20%;
}

.co_list_ttl img {
    height: auto;
    width: 100%;
}

.co_list_txt {
    font-size: clamp(0.875rem, 0.665rem + 0.9vw, 1.563rem);
    font-weight: bold;
    writing-mode: vertical-rl;
}

.co_item {
    aspect-ratio: 400/540;
    position: relative;
    overflow: hidden;
}

.co_item img {
    max-width: 100%;
    position: relative;
    z-index: 2;
}

.co_item::before {
  content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(0deg) skewX(10deg) translateX(-116%);
    transition-property: transform;
    transition-duration: 1.8s;
    transition-timing-function: cubic-bezier(0.87, 0, 0.13, 1);
}

.co_list_in.on .co_item::before {
    transform: rotate(0deg) skewX(0deg) translateX(0%);
}

.co_item--1::before {
    background-color: #59609D;
}
.co_item--2::before {
    background-color: #A33441;
    transition-delay: 0.1s;
}

.co_item--3::before {
    background-color: #C6B9A5;
    transition-delay: 0.2s;
}

.co_item--4::before {
    background-color: #C6B9A5;
     transition-delay: 0.3s;
}

.co_item--5::before {
    background-color: #747EB5;
    transition-delay: 0.4s;
}

.co_item--6::before {
    background-color: #D62389;
    transition-delay: 0.5s;
}

.co_item--7::before {
    background-color: #C41056;
    transition-delay: 0.6s;
}

.co_item--8::before {
    background-color: #B7AFA5;
    transition-delay: 0.7s;
}

.co_item--9::before {
    background-color: #59609D;
    transition-delay: 0.8s;
}

.co_item--10::before {
    background-color: #65A88A;
    transition-delay: 0.9s;
}



/*
.co_item--1 {
    background-color: #59609D;
}

.co_item--2 {
    background-color: #A33441;
}

.co_item--3 {
    background-color: #C6B9A5;
}

.co_item--4 {
    background-color: #C6B9A5;
}


.co_item--5 {
    background-color: #747EB5;
}

.co_item--6 {
    background-color: #D62389;
}

.co_item--7 {
    background-color: #C41056;
}

.co_item--8 {
    background-color: #B7AFA5;
}

.co_item--9 {
    background-color: #59609D;
}

.co_item--10 {
    background-color: #65A88A;
}
*/

@media screen and (max-width: 767px) {

.bussiness_co_text {
    padding: 40px 0;
}
.bussiness_co_text h3 {
font-size: clamp(1.4rem, 1.437rem + 0.82vw, 2.5rem);
}
.bussiness_co_text p {
    font-size: clamp(10px, 1vw, 16px);
}
    
    .co_list {
        width: 90%;
    }
    
    .co_list_in {
        gap: 1px;
        grid-template-columns: repeat(3,1fr);
    }
    
    .co_list_ttl_wrap {
        grid-column: 3/4;
        grid-row: 1/3;
    }
    
    .co_list_txt {
        font-size: clamp(0.625rem, -0.046rem + 3.36vw, 1.563rem);
    }
    
    .co_item--1::before {
        background-color: #59609D;
    }
    
    .co_item--2::before {
        background-color: #A33441;
    }
    
    .co_item--3::before {
        background-color: #C6B9A5;
    }
    .co_item--4::before {
        background-color: #D62389;
    }
    
    .co_item--5::before {
        background-color: #747EB5;
    }
    
    .co_item--6::before {
        background-color: #C6B9A5;
    }
    
    .co_item--7::before {
        background-color: #C41056;
    }
    
    .co_item--8::before {
        background-color: #B7AFA5;
    }

    .co_item--9::before {
        background-color: #59609D;
    }
    
    .co_item--10::before {
        background-color: #65A88A;
    }
    
    /*
    .co_item--1 {
        background-color: #59609D;
    }
    
    .co_item--2 {
        background-color: #A33441;
    }
    
    .co_item--3 {
        background-color: #C6B9A5;
    }
    .co_item--4 {
        background-color: #D62389;
    }
    
    .co_item--5 {
        background-color: #747EB5;
    }
    
    .co_item--6 {
        background-color: #C6B9A5;
    }
    
    .co_item--7 {
        background-color: #C41056;
    }
    
    .co_item--8 {
        background-color: #B7AFA5;
    }

    .co_item--9 {
        background-color: #59609D;
    }
    
    .co_item--10 {
        background-color: #65A88A;
    }*/
}

.leadImgs {
  width: 100%;
  overflow: hidden;
  position: relative;
        margin: 0 auto 10px;
    position: relative;
    z-index: 2;
}
.leadImgs img {
    width: 120%;
    max-width: inherit;
    height: auto;
}

.leadImgTop {
    display: flex;
  -webkit-animation: leadImgTopSlider 40s linear infinite;
          animation: leadImgTopSlider 40s linear infinite;
  will-change: transform;
}
@-webkit-keyframes leadImgTopSlider {
  from {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(-110%);
            transform: translateX(-110%);
  }
}

@keyframes leadImgTopSlider {
  from {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(-110%);
            transform: translateX(-110%);
  }
}
