/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&family=Noto+Serif+JP&family=Roboto&family=Tiro+Bangla&display=swap');

body,
html {
    font-family: Roboto, "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

h2 {
    font-family: 'Tiro Bangla', 'Noto Serif JP', serif;
    color: var(--wp--preset--color--vk-color-custom-2);
}

h3 {
    font-family: 'Tiro Bangla', 'Noto Serif JP', serif;
}
img {
    max-width: 100%;              /* 1 */
    height: auto;                 /* 1 */
    vertical-align: middle;       /* 2 */
    font-style: italic;           /* 3 */
    background-repeat: no-repeat; /* 4 */
    background-size: cover;       /* 4 */
    shape-margin: 0.75rem;        /* 5 */
  }





.global-nav-list {
    height: 100%;
}

.global-nav-list>li:before {
    border-bottom: 3px solid var(--vk-color-primary);
}

.header-contact {


    & a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 200px;
        height: 100%;
        background: var(--wp--preset--color--vk-color-custom-2);
        border: none;
        color: var(--wp--preset--color--white);
        font-size: 14px;

    }
}

.site-footer {
    color: var(--wp--preset--color--white);
    background: var(--wp--preset--color--vk-color-custom-2);
    border: none;
}

.footer-contact-area {
    height: 400px;
    background-image: url("./images/footer_background.webp");
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    position: relative;

    &::before {
        content: "";
        width: 100%;
        height: 100%;
        backdrop-filter: brightness(50%);
        position: absolute;
        left: 0;
        top: 0;
    }

    & a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 600px;
        height: 90px;
        font-size: 1.5rem;
        color: var(--wp--preset--color--white);
        background: var(--wp--preset--color--vk-color-custom-2);
        border: none;
        position: relative;

        &::after {
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            content: "\f054";
            position: absolute;
            top: 50%;
            right: 1em;
            margin-top: -12px;
        }
    }

}

.footer-logo {
    display: flex;
    justify-content: center;

    & img {
        width: 200px
    }
}

.footer-nav-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3%;
}

.site-footer-content {
    & .footer-tel {
        text-align: center;
        font-size: 1.5rem;

        & a {
            color: var(--wp--preset--color--white);
        }
    }

    & .footer-info {
        text-align: center;

    }
}

.site-footer-copyright {
    background: var(--wp--preset--color--vk-color-custom-1);
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
}

.footer-nav li a {
    color: var(--wp--preset--color--white);
}

@media (min-width: 576px) {

}
@media (min-width: 768px) {
    .footer-nav-list {
        gap: 0;
    }
    .site-footer-content{
        & .row{
            display: flex;
            flex-direction: column;
            align-content: center;
        }
    }
}
@media (min-width: 992px) {
    .site-header-logo {
        padding-top: 10px;
        margin-bottom: 10px;
    }
}
@media (min-width: 1200px) {

}

/* TOPページ */
.ltg-slide-text-set {
    top: unset;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;

    & .ltg-slide-text-title {
        z-index: 1;
        width: 75%;
        /*background-color: var(--wp--preset--color--white);*/
        padding: 30px 30px 0;
        font-size: 3rem;
        font-family: 'Tiro Bangla', serif;
        position: relative;

        &::before {
            position: absolute;
            z-index: -1;
            content: '';
            bottom: -1px;
            right: 0px;
            width: 100%;
            /* 三角形の幅を設定 */
            height: 100%;
            /* 三角形の高さを設定 */
            background-color: var(--wp--preset--color--white);
            clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
        }
    }

    & .ltg-slide-text-caption {
        width: 75%;
        background-color: var(--wp--preset--color--white);
        margin-top: 0;
        padding: 0 30px 30px;
    }
}

.top_content {
    & .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 100px;

        & p {
            text-align: center;
        }
    }
}

.h2_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 100px;

    & h2 {
        border: none;
        margin-bottom: 0;
        font-size: 4em;
        padding-bottom: 0;
        padding-top: 80px;

    }

    & span {
        color: var(--wp--preset--color--vk-color-custom-2);
    }

    &::before {
        background-color: var(--vk-color-primary);
        /* 線の色 */
        bottom: -50px;
        /* 線の位置 */
        content: "";
        height: 1px;
        /* 線の高さ */
        left: 50%;
        /* 線の中央寄せ */
        position: absolute;
        transform: translateX(-50%);
        /* 線の中央寄せ */
        width: 50px;
        /* 線の長さ */
    }

}

.news {
    background-color: var(--wp--preset--color--vk-color-custom-1);
    color: var(--wp--preset--color--white);
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;

    .container {
        display: flex;
        flex-direction: row;
        gap: 40px;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    & h2 {
        color: var(--wp--preset--color--white);
        border: none;
    }

    & ul {
        list-style: none;

        & li {
            display: flex;
            gap: 2rem;

            & a {
                color: var(--wp--preset--color--white);
            }
        }
    }
}

.content1 {
    background-color: var(--wp--preset--color--vk-color-custom-2);
    background-image: url("./images/content1_background.png");
    background-size: cover;
    background-position: center bottom;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;

    & h2 {
        color: var(--wp--preset--color--white);
    }

    & .h2_box span {
        color: var(--wp--preset--color--white);
    }

    & figure {
        width: 50%;
        max-width: 360px;
        margin-top: 20px;
        margin-bottom: 60px;
    }

    & p {
        color: var(--wp--preset--color--white);
    }
}

.content2 {
    background-color: var(--wp--preset--color--vk-color-custom-1);
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    padding-bottom: 40px;

    & .outer_container {
        background-color: var(--wp--preset--color--white);
        position: relative;
        margin-left: 15px;
        margin-right: 15px;

        &::before {
            position: absolute;
            content: '';
            top: 0;
            left: 0;
            width: 0;
            height: 0;
            border: none;
            border-right: solid 60px transparent;
            border-top: solid 60px var(--wp--preset--color--vk-color-custom-1);
        }

        &::after {
            position: absolute;
            content: '';
            bottom: 0;
            right: 0;
            width: 0;
            height: 0;
            border: none;
            border-left: solid 60px transparent;
            border-bottom: solid 60px var(--wp--preset--color--vk-color-custom-1);
        }
    }

    & .service_container {
        width: 100%;
        margin-top: 40px;

    }

    & .service_box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        margin-bottom: 40px;

    }

    & .service_textarea {
        display: flex;
        width: 100%;
        flex-direction: column;

        & h3 {
            color: var(--wp--preset--color--white);
            background-color: var(--wp--preset--color--vk-color-custom-2);
            border: none;
            padding-bottom: 0;
            position: relative;

            &::after {
                position: absolute;
                content: '';
                bottom: 0;
                right: 0;
                width: 0;
                height: 0;
                border: none;
                border-left: solid 20px transparent;
                border-bottom: solid 20px var(--wp--preset--color--white);
            }

            &::before {
                content: attr(data-number);
                display: inline-block;
                margin-right: 20px;
                font-family: 'Roboto', sans-serif;
                background-color: var(--vk-color-primary);
                padding: 1rem 0.5rem;
                font-size: 0.75em;
            }
        }

        & p {
            text-align: left;
        }
    }

    & .service_image {
        width: 100%;
        & img{
            aspect-ratio: 16 / 9;
            object-fit: cover;
        }
        

    }
}

.content3 {
    & .container {
        padding-left: 0;
        padding-right: 0;
    }


    & .features_container {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        margin-top: 40px;

        & .feature_box {
            display: flex;
            width: 100%;
            flex-direction: column;
            align-items: center;
            margin-bottom: 40px;

            & .feature_image{
                & img{
                    aspect-ratio: 16 / 9;
                    object-fit: cover;
                }
            }
        }

        & h3 {
            border: none;
            margin-bottom: 0;
            text-align: center;

            &::after {
                content: none;
            }
        }
    }
}

.content4 {
    background-color: var(--wp--preset--color--vk-color-custom-3);
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;

    & .sponsor_container {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4%;
        margin-top: 40px;

        & .sponsor_image {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background-color: var(--wp--preset--color--white);
            height: 84px;
            width: 48%;
            padding-top: 14px;
            padding-bottom: 14px;


            & img {
                height: 100%;
            }
        }
    }
}

.content5 {
    & .container {
        padding-left: 0;
        padding-right: 0;
    }

    & h3 {
        color: var(--wp--preset--color--white);
        background-color: var(--wp--preset--color--vk-color-custom-1);
        width: 100%;
        text-align: center;
        padding-top: 0.5em;
        border: none;
        margin-bottom: 0;

        &::after {
            content: none;
        }
    }

    & .area_container {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    & .area_name {
        display: flex;
        width: 33.3%;
        justify-content: center;
        border: 1px solid var(--wp--preset--color--vk-color-custom-3);

        & p {
            margin: 1rem 0;
        }
    }
}

@media (min-width: 576px) {
    .ltg-slide-text-set {
        & .ltg-slide-text-title {
            width: 50%;
            
        }
        & .ltg-slide-text-caption {
            width: 50%;
        }
    }
    .content2 {
        & .outer_container {
            margin-left: 40px;
            margin-right: 40px;
        }
    }
}

@media (min-width: 768px) {
    
    .ltg-slide-text-set {
        & .ltg-slide-text-title {
            width: 30%;
            
        }
        & .ltg-slide-text-caption {
            width: 30%;
        }
    }
    .content2 {
        & .outer_container {
            &::before {
                border-right: solid 120px transparent;
                border-top: solid 120px var(--wp--preset--color--vk-color-custom-1);
            }
    
            &::after {
                border-left: solid 120px transparent;
                border-bottom: solid 120px var(--wp--preset--color--vk-color-custom-1);
            }
        }
        & .service_box {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-direction: row;
    
        }
    
        & .service_box:nth-child(odd) {
            flex-direction: row-reverse;
        }
    
        & .service_textarea {
            width: 35%;
        }
        & .service_image {
            width: 60%;
        }
    }
    .content3 {
        & .features_container {
            flex-direction: row;
            & .feature_box {
                display: flex;
                width: 32%;
                flex-direction: column-reverse;
            }
        }
    }
    .content4 {
        & .sponsor_container {
            gap: 2%;

            & .sponsor_image {
                width: 32%;
            }
        }
    }

}

@media (min-width: 992px) {
    .content4 {
        & .sponsor_container {
            gap: 2%;

            & .sponsor_image {
                width: 23.5%;
            }
        }
    }
    .content5 {
        & .area_name {
            width: 25%;
        }
    }

}
@media (min-width: 1200px) {

}

/* 投稿ページ */
.entry-meta-item-author {
    display: none;
}
.page-header{
    background-image: url("./images/hero_image.webp");
    background-size: cover;
    background-position: center bottom;

    &::before {
        content: "";
        width: 100%;
        height: 100%;
        backdrop-filter: brightness(50%);
        position: absolute;
        left: 0;
        top: 0;
    }
}