/*
Theme Name: Lightning Child Sample
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/


/* ------- トップページ ------------------------ */

html{
    scroll-behavior: smooth;
}
body{
    color: #333;
    letter-spacing: 0.05em;
    font-family: 'Noto Sans JP', sans-serif;
}
body p{
    line-height: 2;
}

.bg-color{
    background-color: #f6f6f6;
    margin: 100px calc(50% - 50vw);
    padding: 80px calc(50vw - 50%);
}

/* 見出し */
h2{
    font-size: 28px;
    font-family: "Montserrat", sans-serif;
    line-height: 32px;
    margin-top: 100px;
    margin-bottom: 40px;
    color: #0D54A7!important;
}
h2 span{
    letter-spacing: 0.1em;
    color: #333!important;
}
h3{
    margin-top: 80px;
    margin-bottom: 30px;
    font-size: 24px!important;
    color: #0D54A7!important;
}
.post-name-privacy-policy h3{
    color: #333!important;
}


/* ボタン */
.vk_button{
    margin-top: 40px;
}

/* お知らせ */
.wp-block-latest-posts li{
    display: flex;
    padding: 1.3em 0;
}
.wp-block-latest-posts li time{
    order: 1;
    margin-right: 2em;
}
.wp-block-latest-posts li a{
    order: 2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}

/* サービスと料金 */
.top-sp-columns .wp-block-column{
    background-color: #f6f6f6;
    padding: 30px 20px;
}
.top-sp-columns .wp-block-column p:first-of-type{
    font-size: 18px;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.top-sp-columns .wp-block-column figure img{
    width: 80%;
    margin-right: auto;
    margin-left: auto;
}

/* お問い合わせ */
.cta{
    padding-top: 4rem!important;
    padding-bottom: 5rem!important;
}
.cta .vk_button .vk_button_link{
    width: 320px;
    border-radius: 0;
}
.cta h2, .cta h2 span{
    color: #fff!important;
}


/* ------ 事業内容 ------------------------ */
body h2.bg-h2{
    color: #333!important;
    border-left: 6px solid #0D54A7;
    /* background-color: #f6f6f6; */
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 16px;
    font-weight: bold;
    margin-top: 90px;
    margin-bottom: 40px;
    font-size: 26px;
    letter-spacing: 0.08em;
}

.img-columns{
    justify-content: center;
}

.tenken-gimu .wp-block-column:last-of-type p{
    border: 1px solid #333;
    padding: 15px 20px;
}

.tenken-columns{
    gap: 0!important;
    margin-top: 40px;
}
.tenken-columns .wp-block-column{
    border: 1px solid #999;
    padding: 30px;
}
.tenken-columns .wp-block-column:last-of-type{
    border-left: none;
}

.senjyo-case{
    justify-content: center;
    gap: 40px!important;
}
.senjyo-case .wp-block-column:first-of-type{
    position: relative;
}
.senjyo-case .wp-block-column:first-of-type::after{
    content: "▶︎";
    color: #0D54A7;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    right: -30px;
    font-size: 20px;
}

.senjyo-box{
    border: 1px solid #999;
    padding: 30px;
}
.senjyo-box p:first-of-type{
    font-size: 22px;
    position: relative;
    margin-bottom: 40px;
    font-weight: 500;
    letter-spacing: 0.08em;
}
.senjyo-box p:first-of-type::before{
    content: "";
    width: 30px;
    height: 1.5px;
    background-color: #0D54A7;
    display: block;
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}


/* ------- 会社概要 ------------------------ */
table tr td{
    font-size: 16px!important;
    padding: 0.8em!important;
}
table tr td:first-of-type{
    width: 20%;
}


/* ------ 料金一覧 ------------------------ */
.post-name-price table{
    margin-top: 15px;
}
.post-name-price table tr td{
    border-color: #ccc!important;
}

h3.center-h3{
    border-bottom: 2px solid #0D54A7;
    margin-bottom: 0;
    padding-bottom: 15px;
    color: #333!important;
    margin-top: 40px;
    font-size: 22px!important;
}
.price{
    font-size: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 2px;
    width: 400px;
    margin-right: auto;
    margin-left: auto;
    color: #d93e14;
    margin-bottom: 15px;
}
.price-box{
    background-color: #f6f6f6;
    padding: 30px;
}


/* ---- フッター ----------- */
.siteFooter{
    border-top: none;
    background: #0D54A7;
    color: #fff;
}
.siteFooter .sectionBox{
    padding: 0.2em;
}
.copySection p{
    font-size: 12px!important;
    margin: 0!important;
}
.copySection p:last-of-type{
    display: none;
}

/* ページトップボタン */
.page_top_btn{
    background: rgba(255, 255, 255, 0.8);
    height: 44px;
    width: 44px;
    background-color: #0D54A7;
    background-repeat: no-repeat;
    box-shadow: none;
    bottom: 3.5%;
}
.page_top_btn::after{
    content: "\f106";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #fff;
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}



/* ------ 投稿 ------------------------ */

body.blog .siteContent{
    padding-bottom: 15rem;
}
body.single .siteContent{
    padding-bottom: 15rem;
}
body.archive .siteContent{
    padding-bottom: 15rem;
}

.entry-meta_items_author{
    display: none;
}
.vk_post .vk_post_title{
    font-size: 14px!important;
    font-weight: normal;
    margin: 0;
}
.postNextPrev_label{
    margin-bottom: 0.5em;
}

.postNextPrev .vk_post:last-of-type .vk_post_title{
    text-align: right;
}

.single h1.entry-title {
    font-size: 28px;
    line-height: 1.6;
}
.subSection .media .postList_thumbnail{
    display: none;
}
.media .postList_thumbnail{
    display: none;
}

/* ------ プライバシーポリシー ------------------------ */
.post-name-privacy-policy h2{
    color: #333!important;
    font-size: 24px;
    margin-top: 50px;
    margin-bottom: 30px;
}
.post-name-privacy-policy h3{
    font-size: 20px;
    margin-top: 40px;
}


/* ------ お問い合わせ ------------------------ */

/* ContactFrom7 */
.contact7 {
	max-width: 100%;
	box-sizing: border-box;
    background-color: #f6f6f6;
    padding: 5% 3%;
}
.contact7 dd {
	margin: 0 0 30px 0;
    border-left: none;
}
.contact7 dd:last-of-type{
    margin-bottom: 0;
}
.contact7 dt {
	font-weight: normal;
    border-left: none;
}
span.wpcf7-spinner{
    display: none;
}
 
/* 必須マーク */
.contact7 .must {
	color: #d93e14;
}
.form-control{
    border-radius: 0;
}
.btn_contact7 {
	text-align: center;
}
.btn_contact7 input {
	width: 40%;
	background-color: #0D54A7;
	color: #fff;
    font-weight: bold;
	font-size: 1.1em;
	letter-spacing: 1em;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;	
    margin-top: 50px;
    padding-left: 2em;
    height: 44px;
    border-radius: 0;
    border: none;
    margin-bottom: 100px;
}
.btn_contact7 input:hover {
    background-color: #fff;
    color: #0D54A7;
    border: 1px solid #0D54A7;
}
.btn-primary:disabled{
    background-color: #0D54A7;
}






/* ------- SP ----------------------------- */

@media (max-width: 991.98px){
 
    .vk-mobile-nav-menu-btn{
        border: none;
    }
    .vk-mobile-nav-menu-btn.menu-open{
        border: none;
    }
    .siteHeader .container{
        padding-top: 10px;
        padding-bottom: 9px;
    }

    /* 見出し */
    h2{
        font-size: 26px;
        margin-top: 80px;
        margin-bottom: 30px;
    }
    h3{
        font-size: 20px!important;
        margin-bottom: 20px;
        margin-top: 40px;
    }

    /* お知らせ */
    .wp-block-latest-posts li time{
        margin-right: 1em;
        width: 25%;
    }
    .wp-block-latest-posts li a{
        width: 75%;
    }

    /* 事業内容 */
    .vk_block-margin-lg--height{
        height: 3rem;
    }
    .vk-cols--fit.wp-block-columns {
        gap: 20px;
    }
    .img-column .wp-block-cover{
        min-height: 280px!important;
    }

    /* サービスと料金 */
    .top-sp-columns .wp-block-column figure img{
        width: 100%;
    }
    .top-sp-columns .wp-block-column{
        padding: 20px 20px;
    }

    /* フッター */
    .page_top_btn{
        bottom: 3%;
    }

    /* 事業内容ページ */
    body h2.bg-h2{
        border-left: 4px solid #0D54A7;
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 10px;
        margin-top: 50px;
        margin-bottom: 20px;
        font-size: 22px;
    }
    .senjyo-box{
        padding: 20px 10px 30px;
    }
    .senjyo-box p:first-of-type{
        font-size: 18px;
        margin-bottom: 30px;
    }
    .senjyo-box .wp-block-columns{
        max-width: none;
    }
    .senjyo-case{
        gap: 30px!important;
    }
    .senjyo-case .wp-block-column:first-of-type::after {
        right: -25px;
        font-size: 16px;
    }

    .tenken-gimu .wp-block-column:last-of-type p{
        padding: 10px 15px;
    }

    .tenken-columns .wp-block-column{
        padding: 20px;
    }
    .tenken-columns{
        gap: 10px!important;
        margin-top: 20px;
    }
    .tenken-columns .wp-block-column:last-of-type {
        border-left: 1px solid #999;
    }
    
    /* 料金ページ */
    h3.center-h3 {
        margin-top: 20px;
        font-size: 20px !important;
    }
    .price-table {
        overflow-x: auto;
        display: block;
    }
    .price-table table th, .price-table table td{
        white-space: nowrap;
    }
    .price-box{
        padding: 25px 15px;
    }
    .price{
        font-size: 18px;
        width: 100%;
    }

    /* 会社概要ページ */
    table tr td:first-of-type{
        width: 25%;
    }

    /* お問い合わせ */
    .contact7{
        padding: 8% 3%;
    }
    .contact7 dd, .contact7 dt{
        padding-left: 0;
    }
    .btn_contact7 input {
        width: 80%;
    }

    /* プライバシーポリシー */
    .post-name-privacy-policy h2{
        font-size: 20px!important;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .post-name-privacy-policy h3{
        font-size: 18px!important;
        margin-top:30px;
        margin-bottom: 20px;
    }

    /* ニュース */
    .media .media-body .media-heading{
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .media .postList_thumbnail{
        width: 150px;
    }
    .subSection{
        margin-top: 5rem;
    }
    .postNextPrev{
        gap: 10px!important;
    }




}