/*
Theme Name: 河野正美公式Webサイト
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 1.0.0
*/



.editor-styles-wrapper :is(.is-root-container,.is-layout-constrained,:is(.alignfull,.alignwide,[data-align=full],[data-align=wide])div[class*=__inner-container]),
.vk_outer-width-full.vk_outer-paddingLR-none>div>.vk_outer_container
 {
	max-width:1100px;
}

a:hover {color:#46af11}


body, .editor-styles-wrapper {
	font-family:'Noto Sans JP';
}

@media (min-width: 1200px) {
    body.single-activities .container, body.archive .container {max-width:1100px}    
}



header {border-bottom:0}
header .wp-block-navigation .wp-block-navigation-item__label {font-size:16px}
header .wp-block-site-logo {padding-left: 2rem}
header .nav {padding-right: 2rem}
header .vk_button_link_caption {font-size:14px!important}
header .vk_button.vk_button-align-block {width: :145px}
header .current-menu-item a span {color:#50c615!important;font-weight:700}



.site-body {
    padding-top:0;
    padding-bottom:0;
    letter-spacing: 0.05em;
}


h2 {
	/*font-family: 'Noto Serif JP';*/
	font-weight: 700;
    font-size:2rem;
    text-align: center;
    border:0;
    position:relative;
}

/*下線*/
.is-style-vkp-heading-short-bottom-border::after{
 content: '';
 position: relative;
 display: block;
 width: 3rem;
 height: 1px;
 margin-top: 1.5rem;
 background-color:currentColor !important;
 /*Lightning見出しデザイン設定のCSS対策*/
 border: unset;
 top:unset;
 left:unset;
 bottom:unset;
}

/*中央寄せ*/
.is-style-vkp-heading-short-bottom-border.vkp-center::after{
 margin-left: auto;
 margin-right: auto;
}

h3 {
    font-weight: 700;
    font-size:1.2rem;
}


.entry-body  {
    margin-top:6%;
}

.bkgBlue {
    background:linear-gradient(117deg,#0080db,#31aef5 59%,#47c1ff 83%,#80d5ff 98%);
}

.bkgGreen, .page-header:before {
    background:linear-gradient(117deg, #a3db89, #6fce3f 59%, #78d04d 83%, #88d05f 98%);
}


.bkgBlue h2, .bkgGreen h2 {
    color:#fff!important;
}

.bkgBlue h2.is-style-vkp-heading-short-bottom-border::after {background:#fff!important}

.bkgBlue2 {
    background:linear-gradient(297deg,#07a7dd66 1.5%,#07a7dd14 14.6%,#07a7dd21 33.3%,#07a7dd40 55.8%,#07a7dd29 78.2%,#07a7dd4d 95%)!important
}
.bkgGreen2 {
    background:linear-gradient(297deg, #50c61566 1.5%, #50c61514 14.6%, #50c61521 33.3%, #50c61540 55.8%, #50c61529 78.2%, #50c6154d 95%) !important;
}

.bkgBlue3 {
    background:linear-gradient(#b6e5fc00 -.28%,#e8f5fc 27%,#e8f5fc);
}

.bkgGreen3 {
    background:linear-gradient(#bbe89300 -.28%, #edf9d8 27%, #edf9d8);
}

.main-section--margin-bottom--on {margin-bottom:0!important}


.entry-body .vk_button .vk_button_link.btn {
    min-width: 300px;
    width:300px;
    padding:1em 0;
}


.vk_custom_css_6 p::after { background:#337ab7;}

.vk_gridColumn_item_inner .wp-block-group {
  height: 100%;
}

/* -----------------------------------------------------------------
   パンくず
----------------------------------------------------------------- */
.breadcrumb {border:0}

/* -----------------------------------------------------------------
   HOME
----------------------------------------------------------------- */
/*body.home {background:none!important} */
.home .site-body {}
.home .entry-body {margin-top:0}

.home #sectionPolicy .in {max-width:780px;margin-left:auto;margin-right:auto}
.home .vk_slider_item {border-radius:0 0 10px 0!important}

/* -----------------------------------------------------------------
   ページヘッダー
----------------------------------------------------------------- */
.headerVisual img {max-width:1200px;width:100%;margin:0 auto;display:block;border-radius: 10px}
.headerVisual {margin-bottom:8%}


body.scrolled .block-site-header {
    background:#fff;
}

.post-name-profile .vk_timeline_item_caption {
    font-size:1.2rem;
    font-family:'Noto Serif JP';
    font-weight:900;
    line-height:1;
    margin-bottom:.75rem;
    color:#409e11;
}

.vk_timeline_item_lineStyle-default::before {width:2px;top:0;left:7px}
.vk_timeline .vk_timeline_item_style {top:7px;left:3px;width:10px;height:10px}
.vk_timeline {margin-top:0}
.wp-block-vk-blocks-timeline-item:first-of-type:before {top:10px}
.vk_timeline_item_content p {font-size:.925rem}

/* -----------------------------------------------------------------
   プロフィール
----------------------------------------------------------------- */
#PROFILE h2 {font-size:2rem;margin-top:0!important;line-height:1}
#PROFILE h3 {font-size:1.3rem;}
#PROFILE h3 {font-size:1.3rem;}



/* -----------------------------------------------------------------
   投稿記事ページ
----------------------------------------------------------------- */
body.single #main {margin-top:3%}

body.single .entry-header {margin:.5em 0 1.75em 0;display:flex;justify-content:space-between;align-items: center;border-bottom:solid 1px #ddd;padding-bottom:.5em}
body.single .entry-header h1 {font-size:1.4rem;font-weight:700;}

body.single .entry-body {margin-top:0;font-size:16px;line-height:1.5}
body.single .entry-body a {/*color:#3886c9;*/text-decoration: underline;}
body.single .entry-body a.wp-block-button__link {color:#fff!important;text-decoration:none}
body.single .entry-body h1 {font-size:1.5rem}
body.single .entry-body h2 {font-size:1.35rem}
body.single .entry-body h3 {font-size:1.15rem}
body.single .entry-body p {margin-bottom:.75em;line-height:1.8}


body.activity-cat-kokkai .entry-meta {display:none!important}

body.activity-cat-kokkai .wrapper {padding:1.5em!important;border:solid 1px #eee;border-radius:6px!important}


body.activity-cat-kokkai .wrapper h3 { margin-bottom:.5em;color:#409e11}
/*
body.activity-cat-kokkai .entry-body .wp-block-columns {align-items: stretch;}
body.activity-cat-kokkai .entry-body .wp-block-columns .wp-block-column:has(img) {display: flex;}
body.activity-cat-kokkai .entry-body .wp-block-columns .wp-block-column:has(img) figure {flex: 1;overflow: hidden;}
body.activity-cat-kokkai .entry-body .wp-block-columns .wp-block-column:has(img) figure img {width: 100%;height: 100%!important;object-fit: cover;}
*/

body.activity-cat-kokkai .wrapper .wp-block-column:has(img) {flex-direction:inherit!important}
body.activity-cat-kokkai .wrapper .wp-block-button a {padding:10px 0!important;font-size:.85rem!important}


/* -----------------------------------------------------------------
   フォーム
----------------------------------------------------------------- */
.support-form {
    max-width:760px;
    margin-left:auto;
    margin-right:auto;
    padding:3em 3em 0 3em;
    background:linear-gradient(180deg, #f7f7f791, #ffffff12);
    border-radius:4px;
    border: solid 1px #eee;
}

.support-form p {
    margin-bottom:0!important;
}

.wpcf7-list-item.first {
    margin-left:0!important;
}

.wpcf7-spinner {
    display:block;
}

input[type=date], input[type=email], input[type=number], input[type=password], input[type=tel], input[type=text], input[type=url], select, textarea {
    margin-top:.25rem;
}

.required-mark {
    color:#dc3545;
    font-size:1rem;
    font-weight:700;
}


.form-submit {
    text-align:center;
}

input[type=submit] {
    min-width:260px;
    padding:1em 0;
}




/* -----------------------------------------------------------------
   メルマガのご案内 .post-name-magazine
----------------------------------------------------------------- */
.post-name-magazine .formWrapper {max-width:700px;margin:0 auto}
.post-name-magazine .support-form {background:#fff}
.post-name-magazine .support-form { max-width:100%;padding:1.5em}
.post-name-magazine .support-form .acceptance {margin-top:1rem}
.post-name-magazine .support-form .acceptance p:first-of-type {font-size:.95rem;line-height:1.4;margin-bottom:1rem!important}
.post-name-magazine .support-form .acceptance p:last-child {
    text-align: center;
   /* border: solid 1px #eee;*/
    padding: .5rem;
    background:#f7f7f7;
}

.post-name-magazine .support-form .acceptance .wpcf7-list-item {margin:0;display:block}

.post-name-magazine .support-form .acceptance input[type=button], input[type=submit] {
    min-width:180px;
    padding:.5rem 0;
    font-size:.95rem;
    margin-top:1.5em;
}


/* -----------------------------------------------------------------
   アーカイブ
----------------------------------------------------------------- */
.archive-header {margin-top:2rem}
.archive-header h2.archive-header-title {text-align:left;font-size:1.5rem;padding:0;margin:0}
.archive-header h2.archive-header-title span {color:#50c615}
.archive-header p {padding-top: .5em;border-bottom: solid 1px #3886c9;padding-bottom: 1em;margin-bottom: 2em;}

.post-type-archive-activities .vk_post_date {display:none}

.tax-activity-cat .site-body .archive-header {display:none}
.tax-activity-cat .archive-header h1.archive-header-title {font-size:1.45rem;padding-bottom: .75em;margin:0}


.entry-body>.vk_posts>.media.vk_post-col-sm-12:first-child, .main-section>.vk_posts>.media.vk_post-col-sm-12:first-child {
    border-top:0; padding-top:0;
}


.main-section--col--two {
    width:73%;
}

.sub-section--col--two {width:calc(1000px * 0.23)}

.vk_post .media-img {
    width:25%;
}

.vk_post_imgOuter_singleTermLabel {
    padding:.5em 0;
    width:120px;
    text-align:center;
    line-height:1;
}

.vk_post_excerpt {
    margin-top:0;
}

/*新着ラベルを非表示*/
.vk_post_title_new {
    display: none;
}

@media (min-width:992px) {
    .entry-body>.vk_posts>.media.vk_post-col-lg-12 .media-img, .main-section>.vk_posts>.media.vk_post-col-lg-12 .media-img {
        margin-right:1rem;
    }

    .entry-body>.vk_posts>.media.vk_post-col-lg-12, .main-section>.vk_posts>.media.vk_post-col-lg-12 {
        padding:1.8rem 0 1rem 0;
    }
}


.vk_post_imgOuter img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vk_post .vk_post_excerpt {
    margin: .25em 0 0 0;
}

.vk_post-btn-display.media .vk_post_body {
    padding-bottom:0;
}



.sub-section--col--two .widget {padding:1rem;background:#f7f7f7}
.sub-section--col--two .widget h3.widget-title {text-align:center;font-size:.95rem;line-height:1;margin-bottom:.5em}
.sub-section--col--two .widget ul {margin-bottom:0}
.sub-section--col--two .widget li {margin-top:.65rem;margin-bottom:0;font-size:.85rem}
.sub-section--col--two .widget select {font-size:.8rem;padding:.5em}


.wp-singular .sub-section--col--two {margin-top:3%}


.next-prev-simple {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: .9em;
    padding: 1em 0;
    border-top: solid 1px #ddd;
    margin-top: 2em;
    padding-top: 1em;
    /* color: #3886c9; */
    margin-bottom: 2em;
}

.next-prev-simple a {
    text-decoration:underline;
    color:#3886c9;
}


.entry-meta-data-list dd a {
    margin-right:0;
    font-size:13px;
}

.pagination {
    margin-bottom:10%;
}

.archive.date .main-section--col--two .archive-header {display:none}


/* -----------------------------------------------------------------
   アーカイブ（新着情報）
----------------------------------------------------------------- */
.blog .vk_post_imgOuter_singleTermLabel {
    padding: .75em 0;
    width: 80px;
    text-align: center;
    line-height: 1;
    border-radius: 0 0 0 4px;
    font-weight: 800;
}

.blog .card-body {padding-top:.5rem;border-bottom:solid 1px #ddd;padding-bottom:.5em}
.blog .vk_post {border-radius:4px}
.blog .vk_post .vk_post_title {line-height:1.3}
.blog .vk_post .vk_post_date {text-align:right}

.vk_post_imgOuter_singleTermLabel[style*="#999999"] {
    display: none;
}



.vk_post .vk_post_imgOuter_img {
    width: 100% !important;
    max-width: none !important;
}

.vk_posts-layout-card-noborder {
    margin-bottom:4em!important;
}


/* -----------------------------------------------------------------
   詳細ページ（新着情報）
----------------------------------------------------------------- */
.single-post .entry-meta-data-list, .single-post .entry-meta-item i{display:none}



.blog .main-section, .post-type-archive .site-body, .post-type-archive .archive-header, .single-activities .site-body {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp .75s ease 0.25s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -----------------------------------------------------------------
   活動と実績（詳細ページ）
----------------------------------------------------------------- */
.post-type-activities .entry-content p {
    clear: both;
}

.post-type-activities .entry:after {
    content: "";
    display: block;
    clear: both;  
}



.single-activities table {
    width:100%;
    border:0!important;
}

table tr {
    border-bottom:solid 1px #ddd;
}

table th, table td {
    border:0!important;
    padding:1em!important;
    border:0;
    font-size:.9rem;
} 

table td:first-child {
    background:#f7f7f7;
}

table th {
    background:#eee;
}

.table1 table td:nth-child(3) {background:#f7f7f7}

.table5 table td {background:#fff}
.table6 table td:first-child {white-space: nowrap;}
.table6 table td:nth-child(2) {border-right:solid 1px #eee!important}

.table7 table {border-top:solid 1px #ddd!important}

.vk_post_date.media-date.published {display:none}

.wpcf7 form .wpcf7-response-output {
    margin:0 0 1em;
}


@media screen and (max-width:767px) {
    header .wp-block-site-logo {padding-left:1em;max-width:220px}
    header .nav {padding-right:1em}
    .wp-block-navigation .wp-block-navigation__responsive-container-open {padding:1em;background: linear-gradient(117deg, #a3db89, #6fce3f 59%, #78d04d 83%, #88d05f 98%)}
    .wp-block-navigation__responsive-container-close svg, .wp-block-navigation__responsive-container-open svg {fill:#fff;height:39px;width: 39px}
    .wp-block-navigation__responsive-container {background:#409e11}
    .main-section--col--two, .sub-section--col--two, .vk_post .media-body, .vk_post .media-img {width:100%}
    .vk_posts {display:block}
    .vk_post.media {display:block;}
    .vk_post-btn-display .vk_post_btnOuter {position:inherit}
    .page-header-title, h1.page-header-title {font-size:1.6rem}
    .page-header {min-height: 8rem}
    body.single .entry-header {display:block}
    body.single .entry-header h1 {font-size:1.2rem}
    body.single img {float:none;margin:0;width:100%}
    header .current-menu-item a span {color:#fff!important}
    .mainVisualTitle h2 {padding-right:10px!important;font-size:1.2rem!important}
    .jiminBanner {margin-top:10px}    
    .jiminBanner img {width:160px!important}
    .omoiImg {display:block!important;width:100%;margin:0 0 10px!important;padding:0!important;float:none!important}
    .omoiImg img {width:100%!important}

    .support-form {
        max-width:100%;
        padding:1.5em 1.5em 0 1.5em;
    }

    .wpcf7 input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #999;
    border-radius: 3px;
    background-color: #fff;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    flex-shrink: 0;
}

.wpcf7 input[type="checkbox"]:checked {
    background-color: #1a3a6b;
    border-color: #1a3a6b;
}

.wpcf7 input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 6px;
    height: 10px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.wpcf7-checkbox .wpcf7-list-item {
    margin-left: 0;
}

    .wpcf7-checkbox {
    display: grid;
    grid-template-columns: 1fr 1fr;
}


.seisakuWrapper {
    display: flex!important;
    flex-wrap: wrap!important;
}

}

@media screen and (max-width:640px) {
    body, p {font-size: 4vw;}

    .footerCTA h3 {font-size:4vw!important}
    .footerCTA .vk_button_link_txt span {font-size:3.88vw!important}

}    