@charset "UTF-8";

/*------------お見積もりと仕事の流れ-------------*/
a[id*="flow"]+section {
    padding-left: 20px;
    padding-right: 20px;
}
a[id*="flow"]+section .content_wrapper {
    border-top: 1px solid var(--i_txt_color);
    border-bottom: 1px solid var(--i_txt_color);
    padding-left: 0;
    padding-right: 0;
}
a#flow+section .content_wrapper {
    border-bottom: 0;
}
a[id*="flow"]+section .wrapper_item {
    display: flex !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
a[id*="flow"]+section .heading.block_header_7 {
    margin-bottom: 0;
    position: absolute;
    top: 10px;
    left: 20%;
    transform: translateX(-50%);
}
a[id*="flow"]+section .wrapper_item .inner_item_img img {
    max-height: 200px;
    object-fit: contain;
}
a[id*="flow"]+section .heading.block_header_7 .h {
    font-size: 3.0rem;
}
a#flow+section .inner_item_txt span {
    display: block;
    line-height: 1.5;
}
a#flow3+section .content_wrapper {
    border: 0;
}
a#flow3+section .inner_item_txt table {
    width: 100%;
    word-wrap: break-word;
    table-layout: auto;
    border-collapse: collapse;
    min-width: 100%;
}
a#flow3+section .inner_item_txt table th {
    background-color: var(--i_sub2_color);
    border: 1px solid var(--i_border_color);
    text-align: center;
    vertical-align: middle;
    width: 20%;
}
a#flow3+section .inner_item_txt table th,
a#flow3+section .inner_item_txt table td {
    padding: 6px;
}
a#flow3+section .inner_item_txt table td {
    background-color: #fff;
    border: 1px solid var(--i_border_color);
    vertical-align: middle;
    text-align: center;
}
a[id*="ttl"]+section {
    padding-left: 20px;
    padding-right: 20px;
}

a[id*="ttl"]+section .content_wrapper {
    border-top: 1px solid var(--i_border_color);
    border-bottom: 1px solid var(--i_border_color);
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 0;
    padding-right: 0;
}
a#ttl2+section .heading.block_header_2 .h {
    font-weight: bold;
}
a#ttl2+section .heading.block_header_2 .h b:nth-of-type(1) {
    color: #ff0000;
    font-weight: normal;
}
a#ttl2+section .heading.block_header_2 .h b:nth-of-type(2) {
    color: #ff0000;
}

@media screen and (min-width: 901px) {
a[id*="flow"]+section .inner_item_img {
    padding-top: 55px;
}
a[id*="flow"]+section .inner_item_img {
    margin-bottom: 0 !important;
}
}

@media screen and (max-width: 900px) {
a[id*="flow"]+section .wrapper_item {
    display: flex !important;
    flex-direction: column;
}
a[id*="flow"]+section .heading.block_header_7 {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    justify-content: center;
    padding-top: 10px;
}
a[id*="flow"]+section .inner_item_txt {
    width: 100%;
}
}

/*--------施工実績---------*/
a#gr+div .wrapper_item .inner_item .heading.block_header_2 {
    padding-top: 0 !important;
}
a#gr+div .wrapper_item .inner_item .heading.block_header_2 .h {
    display: block;
    text-align: center;
    padding-top: 0px;
}
a#gr+div .wrapper_item .inner_item .heading.block_header_2 p {
    -webkit-line-clamp: none;
}
a#gr+div .wrapper_item .inner_item {
    display: flex;
    flex-direction: column-reverse;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}
a#gr+div .wrapper_item {
    border-top: 1px solid var(--i_border_color);
    border-bottom: 1px solid var(--i_border_color);
    padding-bottom: 20px;
    padding-top: 20px;
}

a#gr+div .wrapper_item .inner_item.last-row {
    margin-bottom: 0;
}
a#gr + div .wrapper_item .inner_item.last-row::before {
    display: none;
}
a#gr+div .wrapper_item .inner_item:before {
    content: "";
    display: block;
    height: 1px;
    background: var(--i_border_color);
    margin-top: 20px;
    width: 100%;
}
@media screen and (max-width: 900px) {
a#gr+div .wrapper_item .inner_item img {
    height: 30vw;
}
}
@media screen and (min-width: 769px) {
a#gr+div .wrapper_item .inner_item:nth-child(3n + 2) {
    overflow: visible;
    margin-left: 3.5%;
    margin-right: 3.5%;
}
a#gr+div .wrapper_item .inner_item:nth-child(3n + 2)::before {
    position: relative;
    width: 100%;
    left: 0;
    left: -11.3%;
    width: calc(100% + 22.6%);
}
}
@media screen and (max-width: 768px) {
a#gr+div .wrapper_item .inner_item {
    width: 100%;
    margin-right: 0;
}
a#gr+div .wrapper_item .inner_item:nth-last-child(n+2) {
      margin-bottom: 20px;
}
a#gr+div .wrapper_item .inner_item img {
    height: 100%;
}
}