/*
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;
}
#site-header{
    position: relative!important;
}

.bg-color{
    background-color: #EDF3F9;
    margin: 100px calc(50% - 50vw);
    padding: 80px calc(50vw - 50%);
}

.ltg-slide-text-title{
    font-size: 46px;
    font-family: 'Noto Serif JP', serif;
    color: #08346B!important;
    font-weight: normal;
}

.ltg-slide-text-caption{
    margin-top: 30px!important;
    font-size: 18px;
    line-height: 1.8!important;
}

/* 見出し */
h2.is-style-vk-heading-plain{
    margin-top: 100px;
    margin-bottom: 50px;
    font-size: 24px;
}
h2.is-style-vk-heading-plain span{
    font-family: "Montserrat", sans-serif;
    color: #08346B;
}

.cta h2.is-style-vk-heading-plain span{
    color: #fff;
}

.top-ttl-en{
    font-size: 22px;
    font-family: "Montserrat", sans-serif;
    color: #08346B;
    position: relative;
}
.top-ttl-en::after{
    content: "";
    width: 20px;
    height: 1px;
    background-color: #08346B;
    position: absolute;
    left: 0;
    bottom: -5px;
}
.top-ttl{
    font-size: 24px;
    font-family: 'Noto Serif JP', serif;
    color: #08346B;
    line-height: 1.4;
}

.top-columns{
    margin-top: 80px;
    gap: 40px!important;
}
.top-sub-columns{
    font-size: 14px;
}

.vk_button .vk_button_link.btn{
    width: 340px!important;
    margin-top: 20px;
}
.vk_button.iron-btn .vk_button_link.btn{
    width: 600px!important;
    margin-top: 0;
}

.top-sub-columns figure{
    width: 40%;
    margin-right: auto;
    margin-left: auto;
}


/* お知らせ */
.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;
}




/* ---- フッター ----------- */
.footer-nav ul{
    text-align: center;
}
.site-footer-copyright p{
    margin: 0;
}
.site-footer{
    border-top: none;
}
.site-footer-copyright{
    font-size: 12px!important;
    background: #08346B;
    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%);
}



/* ------ 会社概要 ------------------------ */
table tr td{
    padding: 1em!important;
    font-size: 16px!important;
}

.company-table{
    margin-top: 40px;
    margin-bottom: 40px;
}
.company-table.wp-block-table.is-style-stripes tbody tr:nth-child(odd){
    background-color: #EDF3F9;
}

.philosophy-columns p:first-of-type{
    font-size: 18px;
    font-family: 'Noto Serif JP', serif;
    color: #08346B;
}
.philosophy-columns .wp-block-column{
    padding: 20px;
    background-color: #EDF3F9;
}

.philosophy-columns figure{
    width: 30%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 10px!important;
}


/* ------ 事業内容 ------------------------ */
.s-top-ttl{
    font-size: 26px;
    font-family: 'Noto Serif JP', serif;
    color: #08346B;
    line-height: 1.6;
}

.big-p{
    font-size: 18px;
    font-family: 'Noto Serif JP', serif;
    color: #08346B;
}

.tokkyo{
    background-color: #016C89;
    border-radius: 50vw;
    width: 100px;
    height: 100px;
    line-height: 100px;
    color: #fff;
}

.mg-service-columns p:first-of-type{
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    margin-bottom: 0!important;
    color: #078794;
}

.mg-service-columns figure{
    position: relative;
}
.mg-service-columns figure::before{
    content: "01";
    font-size: 40px;
    font-family: "Montserrat", sans-serif;
    color: #078794;
    position: absolute;
    top: -25px;
    left: 10px;
}
.mg-service-columns.second figure::before{
    content: "02";
    color: #007A52;
}
.mg-service-columns.third figure::before{
    content: "03";
    color: #71569A;
}

.water-data{
    margin-top: 80px;
    background-color: #F7F7F6;
    padding: 30px;
}
.skin-test{
    background-color: #FDF6F5;
    margin-top: 30px;
    padding: 30px;
}
.research{
    background-color: #F4F6F6;
    padding: 30px;
    margin-top: 30px;
}
.syutten{
    background-color: #eee;
    padding: 5px 10px;
    border-radius: 4px;
}

.bp-ttl{
    font-size: 28px;
    font-family: "Montserrat", sans-serif;
    color: #08346B;
}

.bp-columns{
    justify-content: center;
    font-size: 13px;
}
.bg-sub{
    background-color: #08346B;
    color: #fff;
    padding: 5px 10px;
    margin-top: 40px;
}

.ii-columns02{
    margin-top: 15px!important;
}
.ii-columns02 .wp-block-column:first-of-type{
    border-right: 1px solid #08346B;
    padding-right: 20px;
}

.water-data-columns figure{
    width: 50%;
    margin-right: auto;
    margin-left: auto;
}

.skin-columns figure{
    width: 35%;
    margin-right: auto;
    margin-left: auto;
}

.bp-columns figure{
    width: 30%;
    margin-right: auto;
    margin-left: auto;
}



/* ------ プライバシーポリシー ------------------------ */
.post-name-privacy-policy{
    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;
}




/* ------ 投稿 ------------------------ */

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: #f6f6f6;
    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 {
    background-color: #d93e14;
	color: #fff;
    font-size: 12px;
    padding: 1px 4px;
    margin-left: 10px;
}
.form-control{
    border-radius: 0;
}
.btn_contact7 {
	text-align: center;
}
.btn_contact7 input {
	width: 40%;
	background-color: #08346B;
	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: #08346B;
    border: 1px solid #08346B;
}






/* ------- 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;
    }

    /* トップページ */
    .ltg-slide-text-title{
        font-size: 40px;
    }
    .ltg-slide-text-caption{
        font-size: 16px;
    }

    .vk_button .vk_button_link.btn{
        width: 300px!important;
    }
    .vk_button {
        text-align: center!important;
    }
    .rv-columns{
        flex-direction: column-reverse;
    }

h2.is-style-vk-heading-plain {
    margin-top: 50px;
    margin-bottom: 30px;
}

    /* 事業案内 */
    .tokkyo{
        margin-right: auto;
        margin-left: auto;
    }

    .skin-columns figure{
        width: 100%;
    }
    .bg-sub{
        font-size: 13px;
    }

    .vk_button.iron-btn .vk_button_link.btn{
        width: 340px!important;
    }

    /* 会社概要 */
    table tr td{
        font-size: 14px!important;
    }

    .company-img-columns{
        gap: 5px!important
    }




}