/*
Theme Name: Lightning Child Sample
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/


/* ------- トップページ ------------------------ */

html{
    scroll-behavior: smooth;
}
body{
    color: #291A00;
    letter-spacing: 0.05em;
  font-family: "Kiwi Maru", serif;
}
body p{
    line-height: 2;
}

#menu-item-187 i ,#menu-item-186 i,#menu-item-192 i{
    font-size: 22px;
}

h2.is-style-vk-heading-plain{
    margin-top: 100px;
    margin-bottom: 50px;
    position: relative;
}
h2.is-style-vk-heading-plain::before{
    content: "";
    position: absolute;
    height: 10px;
    width: 153px;
    display:block;
    background-image: url(https://kujira-office.com/wp-content/uploads/2025/08/h3-img.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    left: 25%;
    top: 15px;
}
h2.is-style-vk-heading-plain::after{
    content: "";
    position: absolute;
    height: 10px;
    width: 153px;
    display:block;
    background-image: url(https://kujira-office.com/wp-content/uploads/2025/08/h3-img.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    right: 25%;
    top: 15px;
}

.service-columns .wp-block-column{
    border: 4px solid #C9B490;
    background-color: #fff;
    border-radius: 8px;
    padding-top: 20px;
    padding-bottom: 20px;
}
.service-columns .wp-block-column figure{
    width: 60%;
    margin-right: auto;
    margin-left: auto;
}

.features-columns{
    margin-top: 40px!important;
}
.features-columns .wp-block-column{
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}
.features-columns .wp-block-column p:first-of-type{
    font-weight: bold;
    font-size: 18px;
}
.features-columns .wp-block-column::before{
    content: "01";
    background-color: #C9B490;
    color: #fff;
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50vw;
    text-align: center;
    position: absolute;
    top: -20px;
    left: 20px;
}
.features-columns .wp-block-column:nth-child(2):before{
    content: "02";
}
.features-columns .wp-block-column:nth-child(3):before{
    content: "03";
}
.features-columns.second .wp-block-column::before{
    content: "04";
}
.features-columns.second .wp-block-column:nth-child(2):before{
    content: "05";
}

.flow-columns .wp-block-column:first-of-type{
    background-color: #C9B490;
    padding: 5px;
    text-align: center;
    color: #fff;
    position: relative;
    margin-bottom: 20px;
}
.flow-columns .wp-block-column:first-of-type::after{
    content: "";
    display: block;
  height: 24px;
  width: 100%;
  aspect-ratio: 2;
  clip-path: polygon(50% 100%,100% 0,0 0);
  background: #C9B490;
  position: absolute;
  bottom: -23px;
  left: 0;
}

/* ヘッダー */
.header-top{
    display: none;
}

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


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




/* ---- フッター ----------- */
.site-footer-copyright p{
    margin: 0;
}
.site-footer{
    border-top: none;
}
.site-footer-copyright{
    font-size: 12px!important;
    background: #C9B490;
    color: #fff;
    padding: 0;
    max-width: none;
}

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



/* ------ 司法書士紹介 ------------------------ */
.shokai-columns{
    margin-top: 50px!important;
}
.shokai-columns .big{
    font-size: 20px;
    font-weight: bold;
}
.shokai-columns .wp-block-column:first-of-type p{
    border-bottom: 1px solid #C9B490;
    display: inline-block;
}


/* ------ 事務所案内 ------------------------ */
.map{
    text-align: center;
}
hr.wp-block-separator{
    border-color: #F9F3E1;
    margin-top: 30px;
    margin-bottom: 30px;
}


/* ------ 業務紹介 料金 ------------------------ */
.btn-columns .vk_button .btn{
    width: 100%;
}
.enpitu{
    position: relative;
    margin-bottom: 50px;
    padding-right: 30px;
}
.enpitu::after{
    content: "";
    background-image: url(https://kujira-office.com/wp-content/uploads/2025/09/1hhbQN0l0QCuo7C1757581202_1757581205.png);
    width: 300px;
    height: 45px;
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.service-group{
    border: 1px solid #C9B490;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}
.service-group p:first-of-type{
    font-size: 18px;
}

h3.is-style-vk-heading-plain{
    margin-top: 80px;
    margin-bottom: 40px;
}


/* ------ 投稿 ------------------------ */
.sub-section .vk_post .media-img{
    display: none;
}
.entry-title{
    font-size: 24px;
}
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;
}



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

/* ContactFrom7 */
.contact7 {
	max-width: 100%;
	box-sizing: border-box;
    background-color: #F9F3E1;
    padding: 8% 3%;
    margin-top: 50px;
}
.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: #291A00;
	color: #fff;
    font-weight: bold;
	font-size: 1.1em;
	letter-spacing: 0.3em;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;	
    margin-top: 50px;
    height: 44px;
    border-radius: 0;
    border: none;
    margin-bottom: 100px;
}
.btn_contact7 input:hover {
    background-color: #fff;
    color: #291A00;
    border: 1px solid #291A00;
}

.policy{
    border: 1px solid #C9B490;
    padding: 20px;
    width: 80%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 30px;
}

.post-name-privacy-policy{
    font-size: 14px;
}
.post-name-privacy-policy h2{
    font-size: 20px;
}
.post-name-privacy-policy h3{
    font-size: 18px;
}








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

@media (max-width: 991.98px){
 
    .vk-mobile-nav-menu-btn{
        border: none;
    }
    .vk-mobile-nav-menu-btn.menu-open{
        border: none;
    }

    h2.is-style-vk-heading-plain::before{
        width: 76px;
        height: 5px;
        left: 10%;
    }
    h2.is-style-vk-heading-plain::after{
        width: 76px;
        height: 5px;
        right: 10%;
    }

    .service-columns.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 45% !important;
    }
    .service-columns .wp-block-column figure {
        width: 70%;
    }

    .features-columns {
        gap: 40px!important;
    }

    .flow-columns .wp-block-column:first-of-type{
        flex-basis: 30%!important;
    }

    .shokai-columns.first{
        margin-top: 0!important;
    }
    .shokai figure{
        width: 60%;
        margin-right: auto;
        margin-left: auto;
    }

    .entry-title{
        font-size: 20px;
    }

    /* お問い合わせ */
    .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;
    }




}