@charset "UTF-8";

#pan ul {
    max-width: initial;
}

/* ヘッダー */
#nbp3175420\ 3175420 {
    color: #fff;
    background-size: cover;

    @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;
}

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

#nbp10904376\ 10904376 {
.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;
    position: relative;

    @media (max-width: 480px) {
        padding: 20px;
    }
}
.inner_item a {
    &::before {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
}
.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;
    }
}
}

/* ========== 施工事例 ========== */
#nbp4936447\ 4936447 {
.slick-list {
    overflow: visible;
}
.slick-track .inner_item .heading .h {
    text-align: left;
    font-weight: 900;
    font-size: 1.2rem !important;
}
.slick-track .inner_item .heading p {
    text-align: left;
    font-size: 1.2rem !important;
}
.slick-track .inner_item .heading div:nth-of-type(2) {
    display: none;
}
}

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

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

/* ========== 選ばれる理由 ========== */
#nbp4936599\ 4936599 {
    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;
    }
}
}

/* ========== 住宅性能 ========== */
#nbp5075690\ 5075690 {
.content_wrapper {
    max-width: initial;
}
.content_wrapper .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;
}
}

/* ========== 商品仕様 ========== */
#nbp17196468\ 17196468 {
.inner_item .inner_item_txt h3 {
    font-size: 5rem !important;
}
}

/* ========== 補助金情報 ========== */
#nbp6004076\ 6004076 {
&::before,
.inner_item {
    border: none;
}
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;
    }
}
dl {
    display: grid;
    grid-template-columns: 35px auto;
    grid-template-rows: 80px 400px;
    gap: 10px;
}
dt, dd {
    background: #fff;
    display: flex;
    align-items: center;
}
dt {
    justify-content: center;
    border-radius: 5px;
    padding: 10px 0;

    &:nth-of-type(1) {
        background-color: #55dd9f;
    }
    &:nth-of-type(2) {
        background-color: #61bce5;
    }
}
dt p {
    writing-mode: vertical-lr;
    display: inline-block;
    font-size: 1.2rem;
    letter-spacing: 0.3rem;
    color: #fff;
    font-weight: 900;
}
dd {
    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;
    }
}
}

/* ========== 都市概要 ========== */
#nbp3175424\ 3175424 {
.heading h2.h {
    padding-left: 0;
    font-size: 5rem;
    font-family: serif;

    &::before, &::after {
        content: none;
    }
}
}

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

#nbp15280881\ 15280881 {
.wrapper_item, .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;
}
}

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

#nbp18026953\ 18026953 {
.wrapper_item, .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;
}
}