@charset "UTF-8";

/* 自作ヘッダー */
#nbp3323133\ 3323133{
    position: relative;
    z-index: 0;
    overflow: hidden;
    margin-top: 100px;
&::before{
    content: '';
    filter: blur(5px);
    background: inherit;
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    z-index: -1;
}
& h2.h{
    font-size: 10rem !important;
    font-family: serif;
    line-height: 1;
@media (max-width: 600px){
    font-size: 6rem !important;
}}}

/* リフォームについて */
#nbp3323134\ 3323134{
& h2.h{
    font-size: 5rem !important;
    font-family: serif;
    line-height: 1.5;
@media (max-width: 700px){
    font-size: 2.5rem !important;
}}
& p.h_sub{
    font-size: 2rem;
    font-family: serif;
    margin-bottom: 15px;
}
& .inner_item_txt{
    text-align: center;
@media (max-width: 700px){
    text-align: left;
}}}

/* リフォームの種類 */
#nbp3323324\ 3323324{
& .heading.block_header_4{
    position: relative;
    margin-bottom: 20px;
& p{
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    position: absolute;
    left: calc(50% - 25px);
    top: 30px;
    background-color: #000;
    color: #fff;
    z-index: 10;
    font-weight: bold;
}}
& .inner_item_img{
& img{
    border-radius: 20px;
}}}

/* フロー */
#nbp3323140\ 3323140,
#nbp3323142\ 3323142,
#nbp3323144\ 3323144,
#nbp3323146\ 3323146{
& .content_wrapper{
    justify-content: flex-start;
    gap: 50px;
    align-items: center;
& .heading.block_header_4{
    flex-basis: 300px;
}
& .wrapper_item{
    flex-basis: fit-content;
}
& h2.h{
    font-size: 3.3rem !important;
    position: relative;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: 0;
@media (max-width: 950px){
    margin: 0;
}
&::before{
    content: '';
    position: absolute;
    right: -25px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #000;
}}}}


/* 施工事例 */
#nbp3326018\ 3326018{
& h2.h{
    font-family: serif;
}
& .wrapper_item{
    padding: 0 30px;
& .inner_item{
    padding: 0 10px;
& h4.h{
    position: absolute;
    top: 0;
    background-color: #000000aa;
    color: #fff;
    padding: 0 5px;
}}}}

/* リフォームメニュー */
#nbp3695128\ 3695128,
#nbp3695197\ 3695197{
& .wrapper_item{
    justify-content: space-around;
& .inner_item{
    margin-left: 0;
@media (max-width: 480px){
    width: 48% !important;
    margin-bottom: 0 !important;
}}}}

#nbp3695235\ 3695235,
#nbp3695402\ 3695402,
#nbp3695427\ 3695427,
#nbp3695449\ 3695449,
#nbp3695459\ 3695459,
#nbp3695461\ 3695461,
#nbp3695468\ 3695468,
#nbp3695503\ 3695503{
& .content_wrapper{
    padding: 0;
& .inner_item_img{
    max-width: 100%;
    margin-bottom: 0;
& img{
    object-fit: cover;
    object-position: 0 70%;
    height: 500px;
@media (max-width: 500px){
    height: 200px;
}}}
& .inner_item_txt{
    position: relative;
    top: -300px;
    width: 700px;
    margin: 0 auto -300px;
    padding: 50px !important;
    background: #ffffffee;
    box-shadow: 10px 10px 10px #00000033;
@media (max-width: 500px){
    top: 0;
    padding: 10px !important;
    width: 100%;
    margin: 0 auto;
    box-shadow: none;
}
& h3.h{
    color: #f76455;
    padding-left: 0;
&::before{
    content: none;
}}}}}

#nbp3695737\ 3695737,
#nbp3696084\ 3696084{
& .inner_item{
@media (max-width: 520px){
    height: 200px;
}
& .inner_item_txt{
& h3.h{
    background-color: #ffffffbb;
}}}}

#nbp3695956\ 3695956,
#nbp3696083\ 3696083{
& h2.h{
    position: absolute;
    background-color: #ffffffbb;
    padding: 10px 15px;
    font-size: 1.3rem;
    z-index: 1;
}
& .inner_item_img{
    overflow: hidden;
    height: 350px;
& img{
    transition: 0.6s;
    object-fit: cover;
    object-position: center;
    height: 100%;
&:hover{
    transform: scale(1.1);
}}}}