/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 15.34.1
*/

.site-header--layout--nav-float .site-header-container {
    padding-top: 1rem;
}

.vk-campaign-text_text {
    display: inline-block;
    text-align: left;
}

@media (min-width: 992px) {
    .vk-campaign-text_text {
        width: 960px;
        max-width: 960px;
    }
}


@media (min-width: 1200px) {
    .vk-campaign-text_text {
        display: inline-block;
        width: 1140px;
        max-width: 1140px;
    }
}

@media (max-width: 576px) {
    .vk-campaign-text_text {
        max-width: 440px;
        margin-left: 50px;
    }
    .vk-campaign-text_text{
        margin-left: 0px;
        margin-right: 50px;
    }
    .top_bn_area .top_bn_b{
        aspect-ratio: 3 / 2 !important;
    }
}

/**********************　　　TOPページ　　　　　*********************************/
.site-header-logo {
    padding-top: 0px;
}
/*バナーエリア*/
.top_bn_area .top_bn_item{
	aspect-ratio: 3 / 2;
	min-height: 0;
}
.top_bn_area .wp-block-column-vk-link,.top_bn_area .wp-block-cover-vk-link {
    z-index: 50 !important;
}
.top_bn_area .top_bn_item::before {
    position: absolute;
    content: "";
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border: 2px solid #fff;
    background: rgba(9, 9, 9, 0.4);
    -webkit-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    z-index: 10;
}
.top_bn_area .wp-block-column-vk-link:hover + .top_bn_item::before,.top_bn_area .top_bn_item:hover::before{
    backdrop-filter: blur(5px);
}
.top_bn_area .top_bn_item .wp-block-cover__inner-container{
    z-index: 20;
}
.top_bn_area .top_bn_item .wp-block-cover__inner-container h2{
    margin-bottom: 0;
    letter-spacing: .15em;
}
.top_bn_area .top_bn_item .wp-block-cover__inner-container h2::before{
    display: none !important;
}
.top_bn_area .top_bn_item .wp-block-cover__inner-container h2::after {
    width: 45%;
    border-bottom: 1px solid #C21E2E;
    border-right: 0;
    right: initial;
    bottom: 0;
    height: 0;
    left: 50%;
    transform: translateX(-50%);
}
.top_bn_area .top_bn_item .wp-block-cover__inner-container p{
    margin-top: 0.8em;
}
.top_bn_area .top_bn_b {
    aspect-ratio: 111 / 25;
}

/**********************　　　投稿　　　　　*********************************/
.postListText_title,
.postListText_date {
    font-size: 1rem;
}

span.published {
    font-size: 1rem;
}

.postListText_date {
    min-width: 124px;
}


/**********************　　　固定　　　　　*********************************/
h2:not(.top-heading) {
    position: relative;
    padding: 10px 20px;
}

h2:not(.top-heading)::before,
h2:not(.top-heading)::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
}

h2:not(.top-heading)::before {
    top: 0;
    left: 0;
    border-top: 3px solid #C21E2E;
    border-left: 3px solid #C21E2E;
}

h2:not(.top-heading)::after {
    bottom: 0;
    right: 0;
    border-right: 3px solid #C21E2E;
    border-bottom: 3px solid #C21E2E;
}
h2:not(.top-heading):not(:first-child) {
    margin-top: 130px;
}

table th {
    background-color: #ECEBE7;
}

/*建築実績*/
.works_wrap img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
}

/*設計コンセプト*/
.vision_heading::before {
    content: "" !important;
    background-image: url(https://cms-kk.com/kikuta/wp-content/uploads/icon-checkbox.png);
    display: inline-block;
    width: 25px !important;
    height: 25px !important;
    background-size: contain;
    vertical-align: middle;
    margin-bottom: 7px;
    margin-right: .5rem;
    position: inherit !important;
    border: none !important;
}
.vision_heading::after{
    content: none !important;
}
/*お問い合せ*/
.smf-item__label__text {
    position: relative;
}

.smf-item:has([data-validations~="required"]) .smf-item__label__text::after {
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 40px;
    height: 23px;
    border-radius: 4px;
    content: "必須";
    font-size: 12px;
    color: #fff;
    background: #C21E2E;
}


/**********************　　　footer　　　　　*********************************/
.cta-area h2,.cta-area p:first-child {
    margin-bottom: 0;
    margin-block-end: 0 !important;
}
aside#block-11 {
    margin-bottom: 0px;
}

.site-footer {
    border-top: 0px solid var(--vk-color-primary);
}