@charset "UTF-8";

#pan ul {
    max-width: initial;
}

/* ヘッダー */

#nbp19928820\ 19928820 {
    color: #fff;
    background-size: cover;
    &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: #00000033;
    }
    @media (max-width: 400px) {
        padding-top: 170px;
    }
h2.h {
    font-family: serif;
    font-size: clamp(1rem, -1.583rem + 9.61vw, 5.625rem) !important;
    color: #fff !important;
    padding-bottom: 20px;
}
}

.heading.block_header_5 {
    align-items: baseline;
    flex-wrap: wrap;
}
.heading.block_header_5 h2.h {
    font-size: clamp(52px, calc(32px + 5.333333333333334vw), 96px);
    line-height: 1;
}

/* 小カテゴリブロック */
.sq_category {
    padding: 5px 8px;
    margin-right: 10px;
    font-size: 1.2rem;
    color: #fff;
    background-color: #0088ee;
}

/* ========== 開催中のイベント ========== */

#nbp19928822\ 19928822 {
.wrapper_item {
    &::before {
        content: none;
    }
}
.slick-list {
    overflow: visible;
}
.slick-track {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.inner_item {
    padding: 3%;
    background-color: #fff;
    border: 1px solid;
    border-radius: 20px;
    @media (max-width: 480px) {
        padding: 20px;
    }
}
.inner_item_txt {
    padding: 0;
    padding-top: 15px;
}
.inner_item_txt .heading {
    text-align: left;
    display: flex;
    flex-direction: column-reverse;
}
.inner_item_txt .heading p {
    border: 1px solid;
    width: fit-content;
    padding: 2px 8px;
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.btn_event {
    text-align: center;
    font-size: 1.4rem;
    width: fit-content;
    margin: 20px auto 0;
}
.btn_event a {
    text-decoration: none;
    border: 1px solid;
    padding: 5px 7px;
    transition: all 0.3s;
    &:hover{
        background-color: #333;
        color: #fff;
    }
}
}

/* ========== 施工事例 ========== */

#nbp19928823\ 19928823 {
.slick-list {
    overflow: visible;
}
.inner_item .heading .h {
    text-align: left;
    font-weight: 900;
    font-size: 1.2rem !important;
}
.inner_item .heading p{
    text-align: left;
    font-size: 1.2rem !important;
}
.inner_item .heading div:nth-of-type(2){
    display: none;
}
}

/* ========== お客様の声 ========== */

#nbp19928824\ 19928824 {
.slick-track {
    display: flex !important;
    align-items: stretch;
}
}

/* ========== 住宅性能 ========== */

#nbp19928826\ 19928826 {
.content_wrapper {
    max-width: initial;
}
.heading.block_header_3 {
    margin-bottom: 0;
    background-color: #000;
}
.wrapper_item {
    min-height: 70dvh;
}
.inner_item_txt .heading {
    display: flex;
    flex-direction: column-reverse;
}
.inner_item_txt .heading p {
    font-family: serif;
    font-size: 5rem;
}
}

/* ========== 商品仕様 ========== */

#nbp19928827\ 19928827 {
.inner_item .inner_item_txt h3 {
    font-size: 5rem !important;
}
}

/* ========== 補助金情報 ========== */

#nbp19928828\ 19928828 {
.wrapper_item {
    &::before {
        border: none;
    }
}
.inner_item {
    border: none;
}
.inner_item_txt h3 {
    font-size: 2rem;
    background: #333;
    border-radius: 10px;
    color: #fff;
    padding: 10px;
    position: relative;
    &::before{
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        bottom: -5px;
        left: calc(50% - 10px);
        background: #333;
        transform: rotate(45deg);
        z-index: -1;
    }
}
.inner_item_txt dl {
    display: grid;
    grid-template-columns: 35px auto;
    grid-template-rows: 80px 400px;
    gap: 10px;
}
.inner_item_txt dl dt {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    padding: 10px 0;
    &:nth-of-type(1) {
        background-color: #55dd9f;
    }
    &:nth-of-type(2) {
        background-color: #61bce5;
    }
}
.inner_item_txt dl dt p {
    writing-mode: vertical-lr;
    display: inline-block;
    font-size: 1.2rem;
    letter-spacing: 0.3rem;
    color: #fff;
    font-weight: 900;
}
.inner_item_txt dl dd {
    background: #fff;
    display: flex;
    align-items: center;
    box-shadow: 1px 5px 5px #00000033;
    border-radius: 10px;
    padding: 10px;
    font-size: 1.4rem;
    text-align: left;
    &:nth-of-type(1) {
        border-top: 15px solid #55dd9f;
    }
    &:nth-of-type(2) {
        border-top: 15px solid #61bce5;
    }
}
}

/* ========== 都市概要 ========== */

#nbp19928830\ 19928830 {
.heading h2.h{
    padding-left: 0;
    font-size: 5rem;
    font-family: serif;
    &::before,
    &::after {
        content: none;
    }
}
}

/* ========== 選ばれる理由 ========== */

#nbp19928837\ 19928837 {
    background-attachment: fixed;
    &::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: #00000066;
    }
.content_wrapper {
    @media (max-width: 480px) {
        padding: 0 10%;
    }
}
.heading {
    color: #fff;
}
.heading h2.h {
    color: #fff;
    font-size: 3rem;
    line-height: 1;
}
.inner_item {
    padding: 0;
    background-color: #ffffffcc;
}
.inner_item_txt {
    padding: 0 20px 20px;
    font-size: 1.4rem;
    margin-top: 0;
}
.inner_item_txt h4 {
    text-align: left;
    font-size: 5rem;
    text-decoration: underline double 1px #333;
    text-underline-offset: 5px;
    -webkit-text-stroke: #333 1px;
    color: #fff;
    line-height: 1.5;
}
.btn_detail {
    border: 1px solid;
    padding: 5px 10px;
    text-decoration: none;
    transition: all 0.3s;
    &:hover{
        background-color: #000;
        color: #fff;
    }
}
}

/* ========== 家づくりの流れ ========== */

#nbp19928838\ 19928838 {
.wrapper_item{
    overflow: visible;
}
.slick-list {
    overflow: visible;
}
.slick-track{
    align-items: stretch;
    display: flex !important;
}
.slick-slide {
    padding: 0 5px;
    box-sizing: border-box;
}
.slick-slide span {
    width: 100%;
    height: 250px;
}
.slick-slide span img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
}

/* ========== スタッフ ========== */

#nbp19928841\ 19928841 {
.wrapper_item {
    overflow: visible;
}
.slick-list{
    overflow: visible;
}
.slick-track{
    gap: 30px;
}
.inner_item {
    border: 5px solid #f7b52c;
    overflow: hidden;
    position: relative;
    @media (max-width: 450px) {
        margin: 0 10px;
    }
}
.inner_item img{
    transform: scale(3) !important;
    transform-origin: top;
}
div.stf_wrapper{
    position: absolute;
    bottom: 0;
}
div.stf_wrapper p{
    display: block !important;
    padding: 0 !important;
}
p.stf_position{
    color: #f7b52c;
}
p.stf_name{
    margin: 0 !important;
    color: #f7b52c;
    font-size: 6.5rem;
    font-weight: 900;
    line-height: 0.9;
}
}

/* ========== 会社概要 ========== */

#nbp19928842\ 19928842{
    background-color: #313945 !important;
    color: #fff !important;
}