/*
Theme Name: Lightning Child
Theme URI:
Description: Lightning child theme
Author:
Template: lightning
Version: 1.0.0
*/
:root {
    --brand: #46aab8;
    --brand-light: #e8f5f7;
    --brand-dark: #2a4551;
    --dark: #1e3340;
    --warm-bg: #f7f6f3;
    --warm-bg-alt: #f0efeb;
    --text: #2a4551;
    --text-light: #5a7a87;
    --text-muted: #8a9ea8;
    --white: #ffffff;
    --border-light: #d7d7d7;
    --border-warm: #e0dedb;
    --accent-red: #e35454;
    --placeholder-gray: #d9d9d9;
    --brand-mid: #3a7a8a;
    --shadow-sm: 0 2px 8px rgba(42, 69, 81, 0.06);
    --shadow-md: 0 8px 30px rgba(42, 69, 81, 0.10);
    --shadow-lg: 0 16px 48px rgba(42, 69, 81, 0.14);
    --shadow-card: 0 4px 20px rgba(42, 69, 81, 0.08);
    --radius: 16px;
    --radius-sm: 8px;
    --ease: cubic-bezier(0.33, 1, 0.68, 1);
    --vk-size-text: 10px;
}

h4:where(:not(.wp-block-post-title)) {
    padding: unset;
    background-color: unset;
}

.l-inner {
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
    max-width: 1220px;
}



/*
 header
 */
 .l-header {
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9000;
    transition: background-color .3s;
}

.l-header.is-fixed {
    background: #fff;
    box-shadow: 0px 12px 24px 0px rgba(42,69,81,.08)
}

@media screen and (max-width: 980px) {
    .l-header.is-fixed {
        box-shadow:0px 6px 12px 0px rgba(42,69,81,.08)
    }
}

.l-header__inner {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

@media print,screen and (min-width: 768px) {
    .l-header__inner {
        max-width:100%;
        padding-left: 25px;
        padding-right: 25px
    }
}

@media screen and (max-width: 1280px) {
    .l-header__inner {
        height:90px;
        padding-left: 20px;
        padding-right: 20px
    }
}

@media screen and (max-width: 980px) {
    .l-header__inner {
        height:55px;
        background: #fff;
        position: relative;
        padding-left: 15px;
        padding-right: 15px
    }
}

.page-header {
    margin-top: 110px;
}

@media print,screen and (min-width: 768px) {
    .l-header__inner {
        max-width:100%;
        padding-left: 25px;
        padding-right: 25px
    }
}

@media screen and (max-width: 1280px) {
    .l-header__inner {
        height:90px;
        padding-left: 20px;
        padding-right: 20px
    }

    .page-header {
        margin-top: 90px;
    }
}

@media screen and (max-width: 980px) {
    .l-header__inner {
        height:55px;
        background: #fff;
        position: relative;
        padding-left: 15px;
        padding-right: 15px
    }

    .page-header {
        margin-top: 55px;
    }
}

@media print,screen and (min-width: 981px) {
    .l-header__bg {
        display:none
    }
}

@media screen and (max-width: 980px) {
    .l-header__bg {
        position:fixed;
        z-index: 9000;
        visibility: hidden;
        transition: .6s cubic-bezier(0.33, 1, 0.68, 1);
        width: 60px;
        height: 60px;
        top: 10px;
        right: 10px;
        border-radius: 50%;
        background: #46aab8;
        transform: scale(0)
    }

    .l-header__bg.is-open {
        visibility: visible;
        transform: scale(30)
    }
}

@media screen and (max-width: 980px)and (min-width: 600px) {
    .l-header__bg.is-open {
        transform:scale(50)
    }
}

@media screen and (max-width: 980px)and (min-height: 800px) {
    .l-header__bg.is-open {
        transform:scale(50)
    }
}

.l-header-logo {
    margin: 0;
}

@media print,screen and (min-width: 768px) {
    .l-header-logo {
        width:252px
    }
}

@media screen and (max-width: 1280px) {
    .l-header-logo {
        width:200px
    }
}

@media screen and (max-width: 1024px) {
    .l-header-logo {
        width:180px
    }
}

@media screen and (max-width: 980px) {
    .l-header-logo {
        width:127px
    }
}

@media screen and (max-width: 1280px) {
    .l-header-logo img {
        width:100%
    }
}

.l-header-logo__link {
    display: block
}

@media print,screen and (min-width: 768px) {
    .l-header-menu {
        display:none
    }
}

@media screen and (max-width: 980px) {
    #vk-mobile-nav-menu-btn {
        display: none;
    }
    
    .l-header-menu {
        color:rgba(0,0,0,0);
        overflow: hidden;
        cursor: pointer;
        display: block;
        height: 100%;
        position: absolute;
        right: 10px;
        top: 10px;
        width: 60px;
        height: 60px;
        z-index: 9001;
        background: #93a5a7;
        outline: none;
        border: none;
        border-radius: 50%
    }

    .l-header-menu span {
        display: block;
        background: #fff;
        width: 20px;
        height: 1px;
        position: absolute;
        left: 50%;
        margin: 0 0 0 -10px;
        top: 50%;
        transition: background-color 100ms
    }

    .l-header-menu span:before,.l-header-menu span:after {
        content: "";
        display: block;
        background: #fff;
        width: 20px;
        height: 1px;
        position: absolute;
        left: 0;
        transition: transform 200ms,top 200ms
    }

    .l-header-menu span:before {
        top: -6px;
        transform: rotate(0deg)
    }

    .l-header-menu span:after {
        top: 6px;
        transform: rotate(0deg)
    }

    .l-header-menu.is-open {
        background: #2a4551
    }

    .l-header-menu.is-open span {
        background: #2a4551
    }

    .l-header-menu.is-open span:before,.l-header-menu.is-open span:after {
        top: 0
    }

    .l-header-menu.is-open span:before {
        transform: rotate(225deg)
    }

    .l-header-menu.is-open span:after {
        transform: rotate(-225deg)
    }
}

@media print,screen and (min-width: 768px) {
    .l-header-nav {
        display:block
    }
}

@media screen and (max-width: 980px) {
    .l-header-nav {
        position:fixed;
        width: 100%;
        height: calc(100% - 55px);
        top: 55px;
        left: 0;
        z-index: 9001;
        pointer-events: none;
        transition: all .3s cubic-bezier(0.215, 0.61, 0.355, 1)
    }
}

.l-header-nav__logo {
    width: 127px;
    position: fixed;
    top: 18px;
    left: 15px;
    opacity: 0;
    transition: opacity .2s
}

@media print,screen and (min-width: 768px) {
    .l-header-nav__inner {
        display:flex;
        align-items: center
    }
}

@media screen and (max-width: 980px) {
    .l-header-nav__inner {
        position:relative;
        height: 100%;
        overflow: auto;
        padding: 60px 0 60px;
        display: block
    }
}

@media print,screen and (min-width: 768px) {
    .l-header-nav__items {
        display:flex;
        align-items: center;
        text-align: center;
        margin-right: 20px
    }
}

@media screen and (max-width: 1280px) {
    .l-header-nav__items {
        margin-right:16px
    }
}

@media screen and (max-width: 980px) {
    .l-header-nav__items {
        margin-right:0;
        text-align: center;
        display: block
    }
}

@media print,screen and (min-width: 768px) {
    .l-header-nav__item {
        margin:0 12px
    }
}

@media screen and (max-width: 1280px) {
    .l-header-nav__item {
        margin:0 8px
    }
}

@media screen and (max-width: 1024px) {
    .l-header-nav__item {
        margin:0 5px
    }
}

@media screen and (max-width: 980px) {
    .l-header-nav__item {
        opacity:0;
        transform: translateY(20px);
        transition: opacity .2s,transform .1s .2s
    }
}

.l-header-nav__link {
    cursor: pointer;
    position: relative;
    font-weight: 700
}

@media print,screen and (min-width: 768px) {
    .l-header-nav__link {
        display:flex;
        align-items: center;
        justify-content: center;
        height: 110px;
        font-size: 1.5rem;
        padding: 0 13px
    }
}

@media screen and (max-width: 1280px) {
    .l-header-nav__link {
        font-size:1.4rem;
        padding: 0 5px;
        height: 90px
    }
}

@media screen and (max-width: 980px) {
    .l-header-nav__link {
        font-size:2.8rem;
        color: #fff;
        display: block;
        padding: 15px 15px;
        height: auto
    }
}

@media screen and (max-width: 767px) {
    .l-header-nav__link {
        font-size:5.6vw;
        padding: 6vw 15px;
        line-height: 1
    }
}

@media print,screen and (min-width: 981px) {
    .l-header-nav__link:hover {
        color:#46aab8
    }
}

@media print,screen and (min-width: 981px) {
    .l-header-nav__link.is-active {
        color:#46aab8
    }
}

@media print,screen and (min-width: 768px) {
    .l-header-nav__btn.c-btn01 {
        width:194px
    }
}

@media screen and (max-width: 1280px) {
    .l-header-nav__btn.c-btn01 {
        width:176px;
        height: 54px
    }
}

@media screen and (max-width: 1024px) {
    .l-header-nav__btn.c-btn01 {
        width:168px;
        height: 54px
    }
}

@media screen and (max-width: 980px) {
    .l-header-nav__btn.c-btn01 {
        width:260px;
        height: 70px;
        margin: 40px auto 0;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity .2s,transform .1s .2s
    }
}

@media screen and (max-width: 767px) {
    .l-header-nav__btn.c-btn01 {
        width:61.3333333333vw;
        margin: 8vw auto 0
    }
}

.l-header-nav__btn.c-btn01 .c-btn01__txt {
    font-size: 1.4rem;
    line-height: 1.4
}

@media screen and (max-width: 1280px) {
    .l-header-nav__btn.c-btn01 .c-btn01__txt {
        font-size:1.3rem
    }
}

@media screen and (max-width: 980px) {
    .l-header-nav__btn.c-btn01 .c-btn01__txt {
        font-size:1.8rem
    }
}

@media screen and (max-width: 767px) {
    .l-header-nav__btn.c-btn01 .c-btn01__txt {
        font-size:3.4666666667vw
    }
}

@media screen and (max-width: 980px) {
    .l-header-nav.is-open {
        pointer-events:auto
    }
}

@media screen and (max-width: 980px) {
    .l-header-nav.is-open .l-header-nav__logo {
        opacity:1
    }
}

@media screen and (max-width: 980px) {
    .l-header-nav.is-open .l-header-nav__item {
        opacity:1;
        transform: translateY(0);
        transition: .5s .3s cubic-bezier(0.33, 1, 0.68, 1)
    }
}

@media screen and (max-width: 980px) {
    .l-header-nav.is-open .l-header-nav__btn {
        opacity:1;
        transform: translateY(0);
        transition: .5s .4s cubic-bezier(0.33, 1, 0.68, 1)
    }
}

.c-btn01 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    font-weight: 700;
    max-width: 300px;
    padding: 0 40px;
    font-size: 1.6rem;
    border-radius: 50px;
    transition: .3s
}

@media screen and (max-width: 767px) {
    .c-btn01 {
        padding:0 20px;
        height: 13.3333333333vw
    }
}

.c-btn01__txt {
    color: #fff;
    display: inline-block;
    position: relative;
    z-index: 2
}

@media screen and (max-width: 767px) {
    .c-btn01__txt {
        font-size:3.4666666667vw
    }
}

.c-btn01__ico {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%)
}

.c-btn01__ico svg {
    fill: #fff
}

@media print,screen and (min-width: 768px) {
    .c-btn01:hover {
        color:#fff;
        background: #46aab8
    }
}

.c-btn01--red {
    background: #e35454;
    box-shadow: 0px 10px 16px 0px rgba(227,84,84,.4)
}

@media screen and (max-width: 767px) {
    .c-btn01--red {
        box-shadow:0px 5px 8px 0px rgba(227,84,84,.4)
    }
}

@media print,screen and (min-width: 768px) {
    .c-btn01--red:hover {
        background:#fc3939;
        box-shadow: 0px 10px 16px 0px rgba(227,84,84,.7)
    }
}

/*
/news/, /service/case/
*/
.post-type-archive-news #breadcrumb,
.post-type-archive-case #breadcrumb,
.single-news #breadcrumb,
.single-case #breadcrumb {
    display: none;
}

.post-type-archive .page-header, 
.single .page-header {
    color: unset;
    background-color: unset;
}

.post-type-archive .page-header h2, 
.single .page-header h2 {
    border: unset;
}

.post-type-archive .site-body ul, 
.single .site-body ul {
    list-style: none;
}

.site-body {
    font-size: 1.6rem;
}

.site-body li a, .site-body p a {
    text-decoration-style: unset;
}

.single .next-prev {
    display: none;
}

/*
/news/
*/
.post-type-archive-news .site-body .news {
    background: unset !important;
}

.single-news .site-body .news {
    background: unset !important;
    padding: unset !important;
}

.anotete-category-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 18px;
    margin-bottom: 4px;
    padding: 2px 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    vertical-align: middle;
}

.post-type-archive-news .news__date {
    display: inline-block !important;
    width: auto !important;
    margin-right: 10px;
    margin-bottom: 6px !important;
}

.post-type-archive-news .anotete-category-badge {
    margin-right: 16px;
    margin-bottom: 3px;
}

.post-type-archive-news .news__txt {
    display: block;
}

.anotete-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.anotete-article-meta .news__date {
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 0.04em;
}

.single-news .entry-meta,
.single-case .entry-meta {
    display: none;
}

/*
.post-type-archive-news .site-body .news__date {
    display: block;
    font-family: "Quicksand", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 0.04em;
    background: transparent;
    padding: 0;
    border-radius: 0;
    width: auto;
    margin-bottom: 4px;
}

.post-type-archive-news .site-body .news__txt {
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--text);
    background: transparent;
    padding: 0;
    display: block;
}
*/

/*
/service/case/
*/
.post-type-archive-case .site-footer-title, .sub-section-title, h3:where(:not(.wp-block-post-title)) {
    border-bottom: unset;
}

.post-type-archive-case .site-footer-title:after, .sub-section-title:after, h3:where(:not(.wp-block-post-title)):after {
    border-bottom: unset;
}
