/*
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 a{
    text-decoration: none!important;
}
body p{
    line-height: 2;
}

/* ナビゲーション */
.gMenu>li:before{
    border: none;
}
.gMenu>li a:hover{
    color: #F59924;
}

.gMenu>li{
    line-height: 40px;
}
#menu-item-170 a{
    background-image: url(https://hapinet.co.jp/wp-content/uploads/2024/07/contact-btn.jpg);
    background-size: contain;
    width: 210px;
    height: 70px;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 20px;
}
#menu-item-170 a .gMenu_name{
    font-size: 0;
}

.header_scrolled .gMenu_outer{
    display: none;
}

body.home .siteHeader{
    display: none;
}


.bg-color{
    background-color: #FFFFBA;
    margin: 100px calc(50% - 50vw);
    padding: 80px calc(50vw - 50%);
}

/* テキスト */
p.p-18{
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

/* 見出し */
h2.is-style-vk-heading-plain{
    font-size: 28px;
    letter-spacing: 0.08em;
    margin-top: 100px;
    margin-bottom: 50px;
    font-weight: bold;
}
h2.is-style-vk-heading-plain span{
    color: #F59924;
}


/* お悩み */
.onayami-columns{
    gap: 0!important;
}
.onayami-columns .wp-block-column figure img{
    width: 75%;
    margin-right: auto;
    margin-left: auto;
}

/* 6つの約束 */
.yakusoku-columns .wp-block-column p:first-of-type{
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #004179
}
.yakusoku-columns .wp-block-column{
    border: 2px solid #004179;
    padding: 20px 30px;
}

/* 事例 */
.voice-columns{
    margin-bottom: 70px;
}
.voice-columns .wp-block-column p:first-of-type{
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #004179
}
.voice-columns .wp-block-column figure img{
    height: 220px!important;
    width: auto!important;
    margin-right: auto;
    margin-left: auto;
}

/* 流れ */
.flow-columns .wp-block-column{
    background-color: #F59924;
    padding: 5px 20px 20px;
    border-radius: 8px;
}
.flow-columns .wp-block-column p{
    color: #fff;
    font-weight: 500;
    font-size: 18px;
}
.flow-columns .wp-block-column p:first-of-type{
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 0.08em;
}
.flow-columns .wp-block-column figure img{
    height: 120px!important;
    width: auto!important;
    margin-right: auto;
    margin-left: auto;
}

/* 料金 */
.price-box{
    background-image: url(https://hapinet.co.jp/wp-content/uploads/2024/07/bg-3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px 40px 40px;
    margin-top: 80px;
    border-radius: 8px;
    background-position: top;
}
p.price{
    font-size: 54px;
    font-weight: bold;
}
.price-box p{
    color: #fff;
    text-shadow: 1px 2px 3px #333;
}


/* お知らせ */
.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;
}




/* ---- フッター ----------- */
.siteFooter{
    border-top: none;
    margin-top: 100px;
}
.siteFooter .sectionBox{
    padding: 0.2em;
}
.copySection p{
    font-size: 12px!important;
    background: #004179;
    color: #fff;
    margin: 0px calc(50% - 50vw);
    padding: 2px calc(50vw - 50%);
}
.copySection p:last-of-type{
    display: none;
}
.footerMenu ul{
    justify-content: center;
}
.footerWidget{
    margin-top: 40px;
}
.footerWidget ul{
    padding-left: 0;
    margin-bottom: 30px;
}
.footerWidget ul li{
    display: inline-block;
    margin-right: 0.5em;
    font-size: 14px;
}
.footerWidget ul li::marker{
    display: none;
}
.siteFooter .widget{
    margin-bottom: 15px;
}


/* ページトップボタン */
.page_top_btn{
    background: rgba(255, 255, 255, 0.8);
    height: 44px;
    width: 44px;
    background-color: #004179;
    background-repeat: no-repeat;
    box-shadow: none;
    bottom: 4%;
}
.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%);
}



/* ------ 投稿 ------------------------ */

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

h1.entry-title{
    font-size: 26px;
    font-weight: 500;
    color: #004179;
}

.vk_balloon_icon{
    flex-basis: 110px;
}
.vk_balloon_icon_image{
    width: 100px;
    height: 85px;
}

.single h2{
    font-size: 24px;
    background-color: #004179;
    color: #fff;
    letter-spacing: 0.08em;
    font-weight: 500;
    border: none;
    padding: 10px 20px;
    margin-top: 50px;
    margin-bottom: 25px;
}
.single h3{
    font-size: 24px;
    border-bottom: 2px solid #004179;
    color: #004179;
    margin-top: 50px;
    margin-bottom: 30px;
}
.single h4{
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #004179;
    font-weight: 500;
}

.single table tr td{
    border-color: #ccc;
    padding-right: 1em;
    padding-left: 1em;
    font-size: 16px!important;
}
.single table thead{
    border-width: 1px;
}
.single table tr th{
    font-size: 16px!important;
    border-color: #ccc;
    background-color: #004179;
    color: #fff;
    text-align: center;
    font-weight: bold;
    padding-right: 1em;
    padding-left: 1em;
}

.single .vk_button_link{
    background: #f74a4a!important;
	border-radius: 50vw;
}

.vk_borderBox_title_container{
    background-color: #F59924!important;
}
.vk_borderBox_body{
    border-color: #F59924!important;
}

/* 目次 */
#ez-toc-container{
    background-color: transparent;
    border: 1px solid #004179;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
}
#ez-toc-container ul{
    padding-right: 2em;
    padding-left: 2em;
    padding-bottom: 1em;
}
#ez-toc-container .ez-toc-list-level-3 li {
	padding-left:0;
	margin-left: -25px;
}
div#ez-toc-container .ez-toc-title {
    text-align: center;
    display: block;
    background-color: #004179;
    color: #fff;
}
.ez-toc-pull-right {
    margin-right: 10px;
}

/* サイトバー */
.wp-block-search input.wp-block-search__input {
    width: 70%;
}
.wp-block-search .wp-block-search__button{
    width: 26%;
}

.subSection aside.widget h2{
    background-color: transparent;
    color: #004179;
    font-size: 18px;
    padding: 0;
    border-bottom: 1px solid #004179;
    padding-bottom: 5px;
}
.subSection aside.widget .popular-posts ul{
    padding-left: 0;
}
.subSection aside.widget .popular-posts ul li{
    height: 75px;
    overflow: hidden;
}



/* ------ 会社概要 ------------------------ */
body.post-name-company table tr td{
    padding: 1em 2em!important;
    border-color: #ccc;
    font-size: 16px!important;
}
body.post-name-company table tr td:first-of-type{
    width: 20%;
    font-weight: 600;
    text-align: center;
    background-color: #004179;
    color: #fff;
}



/* ------ お問い合わせ ------------------------ */

/* 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: #004179;
	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;
}
.btn_contact7 input:hover {
    background-color: #fff;
    color: #004179;
    border: 1px solid #004179;
}



/* ------- プライバシーポリシー ------------------------ */
body.post-name-privacy-policy h2{
    font-size: 22px;
}
body.post-name-privacy-policy h3{
    font-size: 19px;
    margin-top: 40px;
    margin-bottom: 20px;
}




/* ------- SP ----------------------------- */

@media (max-width: 991.98px){
 
    /* ナビゲーション */
    .vk-mobile-nav-menu-btn{
        border: none;
    }
    .vk-mobile-nav-menu-btn.menu-open{
        border: none;
    }
    
    #menu-item-170 a{
        background-image: none;
        margin-left: 0;
        width: auto;
        height: auto;
    }

    /* トップページ */
    /* 背景色 */
    .bg-color{
        margin: 60px calc(50% - 50vw);
        padding: 60px calc(50vw - 50%);
    }
    /* テキスト */
    p.p-18{
        font-size: 16px!important;
    }
    /* 見出し */
    h2.is-style-vk-heading-plain{
        font-size: 26px;
        margin-top: 80px;
        margin-bottom: 30px;
    }
    h2.is-style-vk-heading-plain span{
        font-size: 34px!important;
    }
    /* お悩み */
    .onayami-columns{
        gap: 20px!important;
    }
    .onayami-columns .wp-block-column figure img{
        width: 65%;
    }
    /* 事例 */
    .voice-columns .wp-block-column figure img {
        height: 180px !important;
    }
    .voice-columns .wp-block-column p:first-of-type {
        font-size: 18px;
    }
    .voice-columns.sp-reverse{
        flex-direction: column-reverse;
    }
    /* 価格 */
    .price-box{
        padding: 10px 30px 30px;
        margin-top: 40px;
    }
    p.price{
        font-size: 50px;
    }
    p.price span{
        font-size: 30px!important;
    }

    /* フッター */
    .siteFooter{
        margin-top: 0px;
    }
    .footerMenu .nav {
        display: flex;
        gap: 10px!important;
    }
    .siteFooter .sectionBox{
        padding: 1em;
        margin-top: 10px;
        padding-bottom: 0;
    }
    .page_top_btn{
        bottom: 3%;
    }

    /* 会社概要 */
    body.post-name-company table tr td {
        padding: 0.8em!important;
        font-size: 14px!important;
    }
    body.post-name-company table tr td:first-of-type{
        width: 40%;
    }

    /* お問い合わせ */
    .contact7{
        padding: 8% 3%;
    }
    .btn_contact7 input {
        width: 80%;
    }

    /* プライバシーポリシー */
    body.post-name-privacy-policy h2{
        font-size: 20px;
    }
    body.post-name-privacy-policy h3{
        margin-top: 30px;
        font-size: 18px;
    }

    /* 記事 */
    h1.entry-title {
        font-size: 20px;
    }
    /* 吹き出し */
    .vk_balloon_icon{
        max-width: 100px;
    }
    .vk_balloon_content{
        max-width: 100%;
    }
    /* 見出し */
    .single h2{
        font-size: 20px;
    }
    .single h3{
        font-size: 20px;
    }
    .single h4{
        font-size: 18px;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    /* テーブル */
/*     .single .wp-block-table{
        overflow-x: auto;
    } */
    .single .wp-block-table table tr td, .single .wp-block-table table tr th{
        font-size: 14px!important;
    }
/*     .single .wp-block-table table{
        width: 100%;
        min-width: 600px;
        border-collapse: collapse;
    } */

    /* 特徴 */
    .vk_borderBox_body ul{
        padding-left: 1em;
    }

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




}