@charset "UTF-8";

/*-----------ハンマーナイフモア800を2台同時稼働-------------*/
a#title+section .heading.block_header_1 {
    flex-direction: column;
}
a#title+section .heading.block_header_1 p {
    padding-top: 15px;
    margin-top: 10px;
    margin-bottom: 0;
    padding-bottom: 0;
}
a#title+section .heading.block_header_1 p::after {
    bottom: auto;
    top: 0px;
}
@media screen and (max-width: 950px) {
a#title+section .heading.block_header_1 {
    align-items: center;
}
a#title+section .heading.block_header_1 p::after {
    left: 50%;
    transform: translateX(-50%);
}
}
@media screen and (min-width: 801px) {
a#title+section .heading.block_header_1 p {
    font-size: 3.2rem;
}
}

/*------------コンタクト画像----------------*/
a#pc + section .inner_item_img a,
a#sp + section .inner_item_img a {
      transition: 0.3s ease-in-out;
}
a#pc + section .inner_item_img a:hover,
a#sp + section .inner_item_img a:hover {
     opacity: 0.8;
}

@media screen and (min-width: 901px) {
a#sp + section {
   display: none;
}
}

@media screen and (max-width: 900px) {
a#pc + section {
   display: none;
}
}

/*----------このようなお悩みはありませんか？------------*/
a#check+section .heading.block_header_6 .h {
    color: var(--i_sub_color);
}
a#check+section .heading.block_header_6::before,
a#check+section .heading.block_header_6::after {
    content: "";
    display: block;
    position: absolute;
    background: url(/common/upload_data/niyoshibussancojp/image/20260609114927.png) no-repeat;
    background-size: contain;
    left: 165px;
    top: 20px;
    width: 200px;
    height: 200px;
}
a#check+section .heading.block_header_6::after {
    background: url(/common/upload_data/niyoshibussancojp/image/20260609114927_1.png) no-repeat;
    background-size: contain;
    left: auto;
    right: 165px;
}
a#check+section .inner_item_txt {
    max-width: 500px !important;
    margin: auto;
}
a#check+section .inner_item_txt ul li {
    list-style: none;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    padding-bottom: 10px;
}
a#check+section .inner_item_txt ul li:before {
    content: "";
    background: url(/common/upload_data/niyoshibussancojp/image/20260609114927_2.png) no-repeat;
    width: 30px;
    height: 30px;
    background-size: contain;
    position: relative;
    display: block;
}
@media screen and (max-width: 1150px) {
a#check+section .heading.block_header_6::before {
    left: 50%;
    margin-left: -400px;
}
a#check+section .heading.block_header_6::after {
    left: 50%;
    margin-left: 200px;
}
}
@media screen and (max-width: 800px) {
a#check+section .heading.block_header_6::before,
a#check+section .heading.block_header_6::after {
    width: 150px;
    height: 150px;
    top: 0px;
}
a#check+section .heading.block_header_6::before {
    left: 50%;
    margin-left: -260px;
}
a#check+section .heading.block_header_6::after {
    left: 50%;
    margin-left: 105px;
}
}
@media screen and (max-width: 550px) {
a#check+section .heading.block_header_6::before,
a#check+section .heading.block_header_6::after {
    width: 100px;
    height: 100px;
}
a#check+section .heading.block_header_6::before {
    margin-left: -160px;
}
a#check+section .heading.block_header_6::after {
    margin-left: 60px;
}
}

/*---------二四物産が選ばれる4つの理由-------------*/
.rs-wrapper {
        max-width: 1200px;
        margin: auto;
}

a[id*="rs"]+section .heading.block_header_1:after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 10px;
    top: auto;
    align-items: end;
    content: "⌄";
    color: #fff;
    background: var(--i_main_color);
    height: 30px;
    width: 30px;
    border-radius: 50%;
    font-size: 2.5rem;
}

a[id*="rs"]+section .open .heading.block_header_1:after {
    content: "⌃";
    align-items: center;
    font-size: 1.9rem;
}
a[id*="rs"]+section .heading.block_header_1 {
    padding: 25px 20px 50px !important;
    padding-left: 70px !important;
}
a[id*="rs"]+section .content_wrapper {
    border: 2px solid var(--i_main_color);
    border-left: none;
    border-right: none;
}
a[id*="rs"]+section .content_wrapper:before {
    content: "01";
    display: inline-block;
    background: var(--i_main_color);
    color: #fff;
    line-height: 100px;
    padding: 0 20px;
    border-radius: 8px;
    position: absolute;
    top: 25px;
    font-size: 2.0rem;
}
#rs2+section .content_wrapper:before {
    content: "02";
}
#rs3+section .content_wrapper:before {
    content: "03";
}
#rs4+section .content_wrapper:before {
    content: "04";
}

@media screen and (min-width: 901px) {
.rs-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.rs-wrapper section {
    width: 50%;
    padding-bottom: 0 !important;
}
a[id*="rs"]+section .heading.block_header_1 p {
    font-size: 2.0rem;
    width: 85%;
}
}
@media screen and (min-width: 901px) and (max-width: 1050px) {
a[id*="rs"]+section .content_wrapper .heading.block_header_1:before {
    width: 80px;
    height: 80px;
}
}
a[id*="rs"]+section .content_wrapper .heading.block_header_1:before {
    content: "";
    display: block;
    position: absolute;
    background: url(/common/upload_data/niyoshibussancojp/image/20260609124725.png) no-repeat;
    background-size: contain;
    width: 100px;
    height: 100px;
    right: 0px;
    top: 50%;
    pointer-events: none;
    transform: translateY(-50%);
    z-index: -1;
}
.rs-wrapper #rs2+section .content_wrapper .heading.block_header_1:before {
    background: url(/common/upload_data/niyoshibussancojp/image/20260609124726.png) no-repeat;
    background-size: contain;
}
.rs-wrapper #rs3+section .content_wrapper .heading.block_header_1:before {
    background: url(/common/upload_data/niyoshibussancojp/image/20260609124725_1.png) no-repeat;
    background-size: contain;
}
.rs-wrapper #rs4+section .content_wrapper .heading.block_header_1:before {
    background: url(/common/upload_data/niyoshibussancojp/image/20260609124726_1.png) no-repeat;
    background-size: contain;
}

@media screen and (max-width: 900px) {
a[id*="rs"]+section .content_wrapper .heading.block_header_1 {
    align-items: flex-start;
}
.rs-wrapper section {
    padding-bottom: 0 !important;
}
#rs2+section,
#rs3+section,
#rs4+section {
       padding-top: 0;
}
#rs2+section .content_wrapper,
#rs3+section .content_wrapper,
#rs4+section .content_wrapper {
       border-top: 0;
}
}
@media screen and (max-width: 800px) {
a[id*="rs"]+section .heading.block_header_1 p {
    font-size: 2.0rem;
    width: 75%;
}
a[id*="rs"]+section .content_wrapper .heading.block_header_1:before {
    /*width: 70px;
    height: 70px;*/
}
}
@media screen and (max-width: 480px) {
    a[id*="rs"]+section .content_wrapper .heading.block_header_1:before {
        width: 60px;
        height: 60px;
    }
}
@media screen and (max-width: 400px) {
    a[id*="rs"]+section .content_wrapper .heading.block_header_1:before {
        top: 40%;
    }
}

/*----------befaft------------*/
a#befaft+div .wrapper_item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px 40px;
    grid-auto-flow: column;
    overflow: visible;
}
a#befaft+div .wrapper_item .inner_item {
    margin-bottom: 0 !important;
    gap: 20px;
}
a#befaft+div .wrapper_item .inner_item {
    flex-direction: column;
    align-items: center;
}
a#befaft+div .wrapper_item .inner_item:nth-of-type(odd) {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
}
a#befaft+div .wrapper_item .inner_item a {
    width: 100%;
    max-width: none;
    flex-basis: auto;
    pointer-events: none;
}
a#befaft+div .wrapper_item .inner_item .inner_item_txt {
    width: 100%;
    padding-left: 0;
}
a#befaft+div .wrapper_item .inner_item .inner_item_txt h3.h {
    color: #fff;
    margin-bottom: 0;
    color: #fff;
    font-family: "NotoSansCJKjp", sans-serif;
    font-weight: 700;
    line-height: 1;
    background-color: var(--i_main_color);
    text-align: center;
    padding: 10px;
    border-radius: 20px;
}
a#befaft+div .wrapper_item .inner_item:nth-of-type(even) img {
    border: 3px solid var(--i_main_color);
}
a#befaft+div .wrapper_item .inner_item:nth-of-type(odd) .inner_item_img {
    position: relative;
    width: 80%;
    margin-left: 0;
}

a#befaft+div .wrapper_item .inner_item:nth-of-type(odd) .inner_item_img:before {
    content: "BEFORE";
    display: block;
    position: absolute;
    color: #fff;
    font-size: 2.0rem;
    background: #006EA0;
    padding: 0 10px;
    left: 0;
    top: 10px;
    border-radius: 0 10px 10px 0;
}
a#befaft+div .wrapper_item .inner_item:nth-of-type(even) .inner_item_img {
    position: relative;
}
a#befaft+div .wrapper_item .inner_item:nth-of-type(even) .inner_item_img:before {
    content: "AFTER";
    display: block;
    position: absolute;
    color: #fff;
    font-size: 2.0rem;
    background: var(--i_main_color);
    padding: 0 10px;
    left: 0;
    top: 10px;
    border-radius: 0 10px 10px 0;
}
a#befaft+div .wrapper_item .inner_item:nth-of-type(odd) {
    position: relative;
}
a#befaft+div .wrapper_item .inner_item:nth-of-type(odd):before {
    content: "";
    position: absolute;
    display: block;
    background: url(/common/upload_data/niyoshibussancojp/image/20260610181016.png) no-repeat;
    background-size: contain;
    bottom: -55px;
    left: 40%;
    width: 70px;
    height: 70px;
    transform: translateX(-50%) rotate(-135deg) scaleX(-1);
    z-index: 1;
    border-radius: 0 10px 10px 0;
}
@media screen and (max-width: 768px) {
a#befaft+div .wrapper_item {
    display: flex;
}
a#befaft+div .wrapper_item .inner_item:nth-of-type(odd) {
    display: flex;
}
a#befaft+div .wrapper_item .inner_item:nth-of-type(2) {
    margin-bottom: 30px !important;
}
#befaft+div .wrapper_item .inner_item:nth-of-type(odd) img {
    margin-bottom: 0;
}
}

/*----------clm------------*/
@media (min-width: 769px) {
    #clm + .composite_box01 .wrapper_item {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        align-items: stretch;
    }
    #clm + .composite_box01 .inner_item:nth-child(1) {
        grid-row: 1 / 3;
        background: var(--i_main_color);
    }
    #clm + .composite_box01 .inner_item:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
        background: var(--i_btn_color);
        margin-left: 0;
    }
    #clm + .composite_box01 .inner_item:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
        background: var(--i_btn_color);
        margin-left: 0;
    }
#clm + .composite_box01 .inner_item,
#clm2 + .composite_box01 .inner_item {
    flex-direction: row;
        align-items: center;
}
#clm + .composite_box01 .inner_item {
    width: 100%;
        margin: 0 !important;
}
a[id*="clm"] + div h3.h {
    text-align: left;
}
#clm + .composite_box01 .inner_item:nth-child(1) a,
#clm + .composite_box01 .inner_item:nth-child(1) .inner_item_img,
#clm + .composite_box01 .inner_item:nth-child(1) img {
       height: 100% !important;
}
}
a[id*="clm"] + div .inner_item_txt,
a[id*="clm"] + div h3.h {
    color: #fff !important;
}
    #clm + .composite_box01 .inner_item:nth-child(1) {
        background: var(--i_main_color);
    }
    #clm + .composite_box01 .inner_item:nth-child(2) {
        background: var(--i_btn_color);
    }
    #clm + .composite_box01 .inner_item:nth-child(3) {
        background: var(--i_btn_color);
    }
#clm2 + .composite_box01 .inner_item {
        background: var(--i_btn_hover_color);
}

@media (max-width: 768px) {
    #clm + .composite_box01 .wrapper_item {
        display: block;
    }
    #clm + .composite_box01 .inner_item {
        margin-bottom: 20px;
    }
}

/*-----------作業の流れ-------------*/
a#step + div .wrapper_item {
        overflow: visible;
}
a#step + div .inner_item::before {
    counter-increment: number;
    content: "STEP\A" counter(number, decimal-leading-zero);
    white-space: pre;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
a#step + div .inner_item:nth-of-type(4)::before {
    width: 7rem;
    margin-top: -2rem;
    background: var(--i_btn_hover_color);
}

@media (min-width: 921px) {
    a#step + div .wrapper_item {
        display: flex;
        justify-content: space-between;
        position: relative;
    }

    a#step + div .wrapper_item::before {
        content: "";
        position: absolute;
        top: 25px; 
        left: 12%;
        right: 15.8%;
        height: 2px;
        background: var(--i_sub_color);
        z-index: 0;
    }
    a#step + div .wrapper_item::after {
        content: "";
        position: absolute;
        top: 26px;
        right: 16%;
        width: 14px;
        height: 14px;
        border-top: 2px solid #333;
        border-right: 2px solid #333;
        transform: translateY(-50%) rotate(45deg);
        z-index: 0;
        border-color: var(--i_sub_color);
    }
    a#step + div .inner_item {
        position: relative;
        z-index: 1;
    }
}
@media screen and (max-width: 768px) {
a#step + div .inner_item::before {
    width: 5rem;
}
a#step + div .inner_item:nth-of-type(4)::before {
    width: 7rem;
}
}


/*--------lv----------*/
#lv {
	aspect-ratio: 1920 / 700;
	margin-top: 0px;
}

#lv:not(.parallax).blur0 .parallax_img {
	background-position: left center !important;
}

#lv div {
	/*opacity: 1;*/
}

#lv p {
	display: none;
}
#lv:before {
    content: "";
    display: block;
    position: absolute;
    background: url(/common/upload_data/niyoshibussancojp/image/20260701100222.png) no-repeat;
    left: 25px;
    top: 52%;
    background-size: contain;
    transform: translateY(-50%);
    width: 100%;
    height: 85%;
    z-index: 1;
}

@media screen and (max-width: 900px) {
#lv:before {
    top: 50%;
}
}

@media screen and (max-width: 600px) {
	#lv {
		aspect-ratio: 1920 / 1000;
		min-height: 0 !important;
	}

}

@media (max-width: 768px) {
    #clm2 + div .heading.block_header_4 .h br {
      display: none;
    }
#clm2 + div .heading.block_header_3 .h br {
      display: none;
    }
  #clm + div .heading.block_header_4 .h br {
display: none;
  }
}

