/*
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;
}

/* ヘッダー */
.header-top{
    display: none;
}

.bg-color{
    background-color: #f6f6f6;
    margin: 100px calc(50% - 50vw);
    padding: 80px calc(50vw - 50%);
}

/* 見出し */
h2.is-style-vk-heading-plain{
    font-size: 26px;
    margin-top: 100px;
    margin-bottom: 50px;
    font-family: "Montserrat", sans-serif;

}

/* よくある質問 */

/* cta */
.contact-columns .wp-block-column{
    border-right: 1px solid #999;
    padding-right: 30px;
    padding-left: 30px;
}
.contact-columns .wp-block-column:first-of-type{
    border-left: 1px solid #999;
    padding-left: 60px;
}


/* お知らせ */
.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;
}




/* ---- フッター ----------- */
.contact-columns .wp-block-column{
    margin: 0;
}
.site-footer{
    background-color: #000;
}
.site-footer{
    border-top: none;
}
.footer-nav ul{
    text-align: center;
}
.footer-nav ul a{
    color: #fff;
}
.site-footer-copyright{
    font-size: 12px!important;
    background: #000;
    color: #fff;
    padding: 0;
    max-width: none;
}

/* ページトップボタン */
.page_top_btn{
    background: rgba(255, 255, 255, 0.8);
    height: 44px;
    width: 44px;
    background-color: #333;
    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%);
}


/* ページヘッダー */
.page-header::before{
    background-color: transparent;
}
.page-header{
    min-height: 14rem;
}


/* ------ プライバシーポリシー ------------------------ */
.site-header{
    background-color: #f3f3f3;
}
.post-name-privacy-policy{
    background-color: #f3f3f3;
    font-size: 14px;
}
.post-name-privacy-policy .main-box{
    background-color: #fff;
    padding: 40px;
    margin-top: 100px;
    margin-bottom: 100px;
}
.post-name-privacy-policy h3{
    font-size: 18px;
}


/* ------ 会社概要 ------------------------ */
.post-name-company{
    background-color: #f3f3f3;
}
.big-p{
    font-size: 22px;
    font-weight: bold;
}
table tr td{
    padding: 1em!important;
    font-size: 16px!important;
}

.hover-image-swap {
  position: relative;
  display: block;
  width: 40%;
  margin: 0 auto;
}

.hover-image-swap img {
  display: block;
  width: 100%;
  height: auto;
}

.hover-image-swap .img-default {
  transition: opacity 0.3s ease;
}

.hover-image-swap .img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hover-image-swap:hover .img-hover {
  opacity: 1;
}

.hover-image-swap:hover .img-default {
  opacity: 0;
}

/* ------ 事業について ------------------------ */
.post-name-service{
    background-color: #f3f3f3;
}




/* ------ 投稿 ------------------------ */
.blog, .single{
    background-color: #f3f3f3;
}

.single .entry-body{
    background-color: #fff;
    padding: 40px;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.news-filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 32px;
}

.news-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #222;
  color: #222;
  background: transparent;
  transition: all 0.2s;
}

.news-filter-btn.is-active,
.news-filter-btn:hover {
  background: #91D05B; /* アクティブ色：必要に応じて変更 */
  border-color: #91D05B;
  color: #fff;
}

@media (max-width: 768px) {
  .news-filter-btn {
    font-size: 13px;
    padding: 7px 16px;
  }
}

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;
}



/* ------ お問い合わせ ------------------------ */

.post-name-contact{
    background-color: #f3f3f3;
}
/* ContactFrom7 */
.contact7 {
	max-width: 100%;
	box-sizing: border-box;
    background-color: #fff;
    padding: 5% 3%;
    margin-top: 50px;
    margin-bottom: 100px;
}
.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 dt{
    font-weight: bold;
}
.contact7 dt span{
    font-weight: normal;
}
.contact7 .must {
	color: #333;
    background-color: #91D05B;
    font-size: 11px;
    display: block;
    width: 30px;
    text-align: center;
}
.form-control{
    border-radius: 0;
}
.btn_contact7 {
	text-align: center;
}
.btn_contact7 input {
	width: 40%;
	background-color: #91D05B;
	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: 30px;
    padding-left: 2em;
    height: 44px;
    border-radius: 0;
    border: none;
    border-radius: 50vw;
}
.btn_contact7 input:hover {
    background-color: #fff;
    color: #91D05B;
    border: 1px solid #91D05B;
}

.flex{
    display: flex;
}
.flex dt{
    width: 20%;
}
.flex dd{
    width: 80%;
}





/* ------- SP ----------------------------- */

@media (max-width: 991.98px){
 
    .vk-mobile-nav-menu-btn{
        border: none;
    }
    .vk-mobile-nav-menu-btn.menu-open{
        border: none;
    }

    /* お問い合わせ */
    .btn_contact7 input {
        width: 80%;
    }

    /* ニュース */
    .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;
    }


    .page-header{
        min-height: 10rem;
    }
    .contact7 .flex{
        display: block;
    }
    .flex dd{
        width: 100%;
    }
    .flex dt {
        width: 100%;
    }

    .contact-columns .wp-block-column:first-of-type{
        padding-left: 30px;
    }
    .contact-columns .wp-block-column:first-of-type{
        border-left: none;
        border-bottom:  1px solid #999;
        padding-bottom: 30px;
    }
    .contact-columns .wp-block-column{
        border-right: none;
    }
    .contact-columns .wp-block-column h4{
        text-align: center;
    }
    .contact-columns .wp-block-column .vk_button{
        text-align: center;
    }

    .company-table tr th{
        width: 34%!important;
        font-size: 14px!important;
    }
    table tr td{
        font-size: 14px!important;
    }

    .big-p{
        font-size: 20px;
    }
    .sp-pl-0{
        padding-left: 0!important;
    }
    .sp-pr-0{
        padding-right: 0!important;
    }

    h2.is-style-vk-heading-plain {
    font-size: 22px;
    margin-top: 80px;
    margin-bottom: 40px;
}

    .sp-min{
        font-size: 22px!important;
    }
    .sp-min span{
        font-size: 26px!important;
    }

    .vk_accordion-trigger{
        font-size: 14px;
    }

    .single .entry-title{
        font-size: 22px;
    }
    .single .entry-body{
        padding: 30px;
    }

    .hover-image-swap {
  position: relative;
  display: block;
  width: 80%;
  margin: 0 auto;
}




}