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

/*記事下部の前の記事・次の記事を削除*/
/* .vk_posts.next-prev{
	display:none
} */

/*　h5の下線を削除　*/
h5:where(:not(.wp-block-post-title)) {
    border-bottom: none;
}

/*ベースフォントサイズ変更*/
:root {
    --vk-size-text: 16px;
}

/*調整*/
@media (min-width: 992px) {

.entry-body>.vk_posts>.vk_post-col-lg-12 .vk_post_excerpt, .main-section>.vk_posts>.vk_post-col-lg-12 .vk_post_excerpt{
	font-size:15px;
}
    .entry-body>.vk_posts>.vk_post-col-lg-12 .vk_post_title, .main-section>.vk_posts>.vk_post-col-lg-12 .vk_post_title {
        font-size: 21px;
    }
}
@media (min-width: 992px) {
.postList_title.entry-title{
    font-size:15px;
} 
.veu_postList .postList_meta_items {
    font-size:12px;
} 
.veu_postList ul.postList li {
line-height:130%;
}
}
.veu_postList .postList a:hover{
    text-decoration-color:inherit;
}



body{
font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Hiragino Sans, "Noto Sans JP", sans-serif;
}

.media .media-body .media-heading a {
    color: #464646;
    text-decoration: none;
}



/*フッター*/

.container:has(.footer-nav-list){
    text-align:center;
}
.footer-nav-list{
    margin:1em auto;
}
.footer-nav-list li a:hover{
    color:var(--vk-color-text-link);
}


.site-footer{
background-color:#00615f;
background-color:#e1e5e8;
color:white;
color:#333;
border-top:none;
}


.site-footer-content{
padding-top:2.5rem;
padding-bottom:2.5rem
}

.footer-add-wrapper{
display:flex;
width:100%;
justify-content:center;
align-items:center;
}


.site-footer-content p{
font-size:14px;
}


.site-footer .is-layout-flex{
justify-content:center;
align-items:flex-start;
gap: 16px;
}

.site-footer .footer_add_logo img{
width:96px;
height:70px;
margin-top:4px;
}

.footerCopyright{
text-align:center;
}

.site-footer-copyright{
padding:0;
padding-top:2rem;
padding-bottom:1.5rem;
}

/*　ヘッダー画像*/

.page-header{
background-position:left center;
color:white;
}


.page-header-title, h1.page-header-title{
    font-size:1.875em;
    line-height: 1.1;
    font-weight:500;
}

.site-header--layout--nav-float .site-header-container{
    padding-bottom:0.5rem;
    padding-top:0.5rem;
}

 .header_scrolled .site-header--layout--nav-float .site-header-container{
    padding-bottom:0;
    padding-top:0;
}

.site-footer-copyright{
    background-color:#00615f;
    max-width:100%;
    color:white;
    padding: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
}




/*定数*/
   :root{
    --vk-margin-headding-bottom: 1.5em;
    --vk-color-text-link:#0050ab;
    --keycolor_darkgreen:#00615f
}


   
/* page-topボタン　*/
.page_top_btn {
    box-shadow:none;
    border-radius:50%;
    width: 46px;
    height: 44px;
}

.page_top_btn:hover {
    transition: opacity .3s;
    text-decoration: none;
}


li a, p a {
text-decoration: none;
text-decoration-style: solid;
text-underline-offset: 2px;
text-decoration-color:inherit;
text-decoration-thickness: 1;
}


/* breadcrums*/
li.breadcrumb-list__item a{
text-decoration:none;
}

a{
    transition:all 0.15s linear;
}

p a:hover {
    text-decoration:underline;  
}

form p{
    margin-block-end:0;
}


h3{
    font-size: 1.8125rem;
    margin-block-end:1em;
    font-weight:600;
}
h3:where(:not(.wp-block-post-title)) {
   padding-bottom:0.125em;
}

figure+h1, figure+h2, figure+h3 {
 margin-top:5rem;
}

dl+h1, dl+h2, dl+h3, dl+h4, dl+h5, dl+h6, ol+h1, ol+h2, ol+h3, ol+h4, ol+h5, ol+h6, p+h1, p+h2, p+h3, p+h4, p+h5, p+h6, table+h1, table+h2, table+h3, table+h4, table+h5, table+h6, ul+h1, ul+h2, ul+h3, ul+h4, ul+h5, ul+h6{
    margin-top:4rem;
}



/*table*/
.wp-block-table thead{
    border-bottom-width:3px;
    border-bottom-color:#333;
    border-top:0px solid transparent;
}
.wp-block-table td, .wp-block-table th{
    padding:0.7em 0.5em;
}


/*loopに関するもの*/
.vk_post.vk_post-postType-post.media{
position:relative;
}

.vk_post.vk_post-postType-meeting-reports.media{
    position:relative;
}




.vk_post_body.media-body{
    display:flex;
    flex-wrap:wrap;
}
.vk_post_body.media-body div ,.vk_post_body.media-body h5{
    width:100%;
}
.vk_post_title.media-title{
order: 3;
margin-top:0.5em
}
.vk_post_date.media-date.published{
order: 2;
font-size:0.8em;
margin-bottom:0.5em
}

.article-expert{    
order: 5;
font-size: 15px;
margin: .8rem 0;
}
.article-expert a{
    color:var(--vk-color-text-body);
    opacity: .8;
}
.article-expert a:hover{
    text-decoration-color:inherit;
    text-decoration:underline;
}

.vk_post_taxonomies{
order: 1;
display:inline-block;
}

.vk_post_taxonomy_title{
    display:none;
}
.vk_post_taxonomy_terms{
    position:absolute;
    top:1.5rem;right:0;

}


.vk_post_taxonomy_terms a{
        background-color: #999999;
    padding: 0.4em 1.5em 0.3em;
    font-size: .75rem;
    line-height: 1;
    color:white;
    display:block;
    width:100%;
    width:10em;
    text-align:center;
    border-radius:4px;
}
.vk_post_taxonomy_terms a:hover{
    background-color:var(--vk-color-primary);
}

.vk_post .vk_post_title a:hover {
     text-decoration: none;
     color:var(--vk-color-primary);
}

.postList_terms.postList_meta_items{
    display:none;
}.entry-body>.vk_posts>.media.vk_post-col-sm-12, .main-section>.vk_posts>.media.vk_post-col-sm-12{
    padding: 0.5rem 0;
}

.entry-body>.vk_posts>.vk_post-col-lg-12 .vk_post_title,
.main-section>.vk_posts>.vk_post-col-lg-12 .vk_post_title{
    font-size:1.375em
}


.vk_post_date.media-date.published:before{
    margin-right: 5px;
    font-family: "Font Awesome 6 Free";
    content: "\f073";
    font-weight: 900;
}



.entry-meta-item.entry-meta-item-updated,
.entry-meta-item.entry-meta-item-author{
    display:none;
}



.veu_postList .postList_date:before{
    margin-right: 5px;
    font-family: "Font Awesome 6 Free";
    content: "\f073";
    font-weight: 900;  
}


.entry-footer{
    margin-top:3.5rem;
}
.archive-header-title{
    font-size:1.825em;
}
.post-list.vk_posts.vk_posts-mainSection{
    margin-top:3.5rem;
}


/*固定ページcss  - 会長挨拶*/
@media (min-width: 1200px) {
    .site-body {
        padding: 4rem 0 10rem;
    }
}




.kaicho-name{
    margin-block-start: 5rem;
}
.kaicho-name span{
    line-height:140%;
}


/* anzu*/

.anzu-wapper figure{
    width:170px;
    margin-bottom:0.25em;
    border:solid 1px rgb(226, 224, 224);
}

:root :where(.anzu-wapper.is-layout-flex){
    gap: 40px;
}



/* form */
.form-table div.keisai-box span{
display:inline-block;
margin-left:8px;
}

.form-table div.keisai-box{
    width:100%;
}

.form-table{
        border:none;
        margin-block-end:2rem;
        margin-block-start:4rem;
}

.form-table th {
    font-weight: bold;
    text-align:left;
}

.form-table td,.form-table th{
    vertical-align: top;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-left:none;
    border-right:none;
    border-color:#ddd;
}
.form-table input, .form-table select{
    background-color: #eee;
    border:none;
}

.form-table th{
padding-left:0;
white-space: nowrap;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  opacity: 0.6;
}

.form-table th p{
    font-size:1.125em;
}


.form-table th p:before{
content: "任意";
    font-size: 0.75em;
    color: white;
    display: inline-block;
    background-color: #999;
    padding: 0.1em 1.25em;
    font-weight: normal;
    border-radius: 1rem;
    margin-right: 0.5em;
    position: relative;
    top: -3px;
}
.form-table th.must p:before{
    content: "必須";
    background-color: var(--vk-color-primary);

}

.privacy-acc{
    font-size:0.9em;
}

.acc{
    margin-top:1rem;
    margin-bottom:0.5rem;
}
.acc .wpcf7-list-item{
    margin-left:0;
}

.wpcf7 .wpcf7-submit{
    display:block;
    margin:0 auto
}

.wpcf7-submit:disabled{
   border: solid 1px #888;
    background-color: #888;
}



/* 役員　*/
:where(figure){
    margin-top:3rem;
}



/*　次の記事へ　前の記事へ*/
.vk_posts.next-prev{
    margin-top:8rem;
    border-top: 1px solid rgba(0, 0, 0, .125);
    padding-top:2rem;
    
}
.vk_post .card-horizontal-inner-row{
    justify-content: space-between;
    width:100%;
}
.vk_posts{
    justify-content: space-between;
}


.vk_post {
    margin-left: 0;
    margin-right: 0;
}

.next-prev-prev.card-horizontal .card-body {
display: flex;
padding: 0;
align-items: center;
}

.next-prev-prev.card-horizontal .card-body:before {
font-family: "Font Awesome 5 Free";
content: "\f053";
font-weight: bold;
position: absolute;
font-size: 2rem;
color: rgba(0,0,0,0.1);
top: calc(50% - 1rem);
left: 1rem;
}

.next-prev-prev.card-horizontal.vk_post .card-body .vk_post_title a {
display: block;
padding: 1.5rem 1.0rem 1.5rem 3.5rem;
}

.next-prev-next.card-horizontal .card-body {
display: flex;
padding: 0;
align-items: center;
justify-content: flex-end;
}

.next-prev-next.card-horizontal .card-body:before {
font-family: "Font Awesome 5 Free";
content: "\f054";
font-weight: bold;
position: absolute;
font-size: 2rem;
color: rgba(0,0,0,0.1);
top: calc(50% - 1rem);
right: 1rem;
}

.next-prev-next.card-horizontal.vk_post .card-body .vk_post_title a {
display: block;
padding: 1.5rem 3.5rem 1.5rem 1.0rem;
}



/* toppage */
@media (min-width: 1200px) {
    .home .site-body {
        padding: 3rem 0 2rem;
    }
}



 .l-wrapper_tpcol{
    display:flex;
    align-items:flex-start;
    justify-content: space-between;
    gap:10%;
 }

 .l-wrapper_tpright{
    flex:1;
    width:100%;
 }

p.btn_side a{
display:block;
width:14em;
text-align:left;
padding:1.25em 0;
padding-left:4em;
background-color:var(--keycolor_darkgreen);
color:white;
text-decoration:none;
line-height:100%;
background-image:url(assets/images/logo_unv-s.png);
background-size:2.5em 2.5em;
background-position:0.75em 50%;
background-repeat:no-repeat;

}


p.btn_side a:hover{
    background-color:var(--vk-color-primary);

}

.home .whatsnew h3{
margin-block-end:0.5rem;
font-size:1.75em;
}

.tp_news-wrapper li{
    display:flex;
    flex-direction: row-reverse;
    justify-content:flex-end;
    align-items: center;
    padding:1.25em 0;
}
.tp_news-wrapper li a, tp_news-wrapper li time{
    line-height:100%;
    margin:0;
    margin-block-end:0;
    margin-block-start:0
}

.tp_news-wrapper li a{
    color:var(--vk-color-text-link);
}

.tp_news-wrapper li time{
    margin-right: 3em;
}
.tp_btn_goArchives{
    width:100%;
}

.wp-block-button.tp_btn_goArchives a.wp-block-button__link{
    display:block;
    width:100%;
    border:solid 1px rgba(0,0,0,0.3);
    background-color:white;
    color:var(--vk-color-text-body);
    transition: all 0.2s linear;
}
.wp-block-button.tp_btn_goArchives a.wp-block-button__link:hover{
    background-color: #ddd;
}


body .container :is(.is-layout-flow,.is-layout-constrained) .tp_btns p:where(:not(:last-child)){
   margin-block-end:0
}

.tp_round-btn-wrapper{
    gap:60px;
}


.sidebar-btns{
    margin-top:4rem;
}

/* smartphone */
@media(max-width: 991.98px){
body .is-layout-flex.l-wrapper_tpcol{
    display:flex;
    flex-wrap:wrap;
    flex-direction: row;
}

 .l-wrapper_tpleft {
    width:100%;
    order:2;
    text-align:center;
    padding-top:1.4rem;
 }
 p.btn_side{
    margin:0em auto;
    display:inline-block;
 }

body .container :is(.is-layout-flow,.is-layout-constrained) p.btn_side {
  margin-block-end: 0.5em !important;
}
  .l-wrapper_tpleft  .btn_side a{
    margin:0 auto;
  }
 
 .l-wrapper_tpright {
    width:100%;
    order:1;
}

}


/*規定*/
p.kaitei {
	font-size:84%; }

p.kaitei + h4{
	margin-top:1rem;
}

.page-id-48 p + h3{
margin-top:7rem;
}

.page-id-48 h3{
margin-block-end:0.5em;
}

.page-id-50 h5{
    margin-block-end: 0.25em;
	margin-top:4rem;
}
.page-id-50 h5:first-letter{
	color:var(--vk-color-primary);
}


.page-id-50 h5 + :where(figure){
    margin-top: 0;
}

.page-id-50 th{
background-color:#e1e5e8;}


.page-id-50 p.kaicho{
	margin-block-start:3rem;
	margin-block-end:3rem;
}


/*　ログイン画面ロゴ画像 */
body.login div#login h1 a {
    background-image: url('../images/logo_unv.png');
    width: 320px;        /* ロゴ画像の幅に調整 */
    height: 84px;       /* ロゴ画像の高さに調整 */
    background-size: contain;
    background-repeat: no-repeat;
    padding-bottom: 30px; /* 必要なら調整 */
}



/*　アルバム　*/
.page-id-57 h5{
    margin-block-end: 0.25em;
	margin-top:4rem;
}

.page-id-57 h5.mgt-3{
	margin-top:2rem;
}

.page-id-57 h5:first-letter{
	color:var(--vk-color-primary);
}
.page-id-57 th{
background-color:#e1e5e8;
}
.page-id-57 h5 + :where(figure){
    margin-top: 0;
}

figure+h3.mgt-7{
	margin-top:7rem;
}

.wp-block-gallery.has-nested-images figure.wp-block-image {
  flex-grow: 0;
}

.mgt-7{
	margin-top:7rem;
}