@charset "UTF-8";

@media screen and (max-width: 806px) {
#seo + div .wrapper_item {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}
#seo + div .wrapper_item > .inner_item:nth-child(1),
#seo + div .wrapper_item > .inner_item:nth-child(2) {
    flex: 0 0 48%;
    width: 50%;
}
#seo + div .wrapper_item > .inner_item:nth-child(3) {
    flex: 0 0 100%;
    width: 100%;
}
#seo + div .wrapper_item > .inner_item:nth-child(1) .inner_item_img img,
#seo + div .wrapper_item > .inner_item:nth-child(2) .inner_item_img img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}
#seo + div .wrapper_item > .inner_item:nth-child(2) {
    margin-top: 100px !important;
}
}

#seo + div .wrapper_item > .inner_item:nth-child(3) {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center; 
}

@media screen and (min-width: 1301px) {
    #seo+div {
        margin-top: 0px;
    }
}

@media screen and (max-width: 768px) {
#fl + div .wrapper_item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
#fl + div .wrapper_item .inner_item {
    width: 100%;
}
#fl + div .inner_item:last-child {
    justify-content: unset;
}
}

@media screen and (max-width: 800px) {
#c3 + .composite_box01 .wrapper_item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
#c3 + .composite_box01 .wrapper_item > .inner_item {
    width: 100%;
}
#c3 + .composite_box01 .wrapper_item > .inner_item:last-child {
    grid-column: 1 / 3;
    width: 50%;
    justify-self: center;
}
#c3 + .composite_box01 .wrapper_item > .inner_item:nth-child(2){
    border-right: 1px solid var(--i_bg_color);
}
#c3+.composite_box01 .inner_item_txt p {
    text-align: center;
    display: none; 
}
#c3+.composite_box01 .heading.block_header_4 p{
display: block ; 
}
}

@media screen and (max-width: 500px) {
#sns_one + div .content_wrapper {
  white-space: nowrap;
}
#sns_one + div .content_wrapper > .heading {
    white-space: normal;
}
#sns_one + div .content_wrapper > a {
    align-items: center;
    box-sizing: border-box;
    width: calc(50% - 12px);
    min-width: 0;
    vertical-align: top;
    margin-left: 0px; 
}
#sns_one + div .content_wrapper > a:last-of-type {
    margin-right: 0;
}
}

@media screen and (max-width: 800px) {
    #top_access + div .inner_item_txt > dl:nth-of-type(n+8) {
        display: none;
    }
}

/*--------施工の流れボタン位置調整_261106--------*/
@media screen and (max-width: 900px) {
    #fl+div .inner_item:nth-of-type(1) .contents_btn01 {
        left: 54%;
    }
}
@media screen and (max-width: 768px) {
    #fl+div .inner_item:nth-of-type(1) .contents_btn01 {
        left: calc(50% + 5px);
    }
}