/*
Theme Name: Lightning-Trais
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/


body .container :is(.is-layout-flow,.is-layout-constrained) .wp-block-table:where(:not(:last-child)), body .container :is(.is-layout-flow,.is-layout-constrained) blockquote:where(:not(:last-child)), body .container :is(.is-layout-flow,.is-layout-constrained) dl:where(:not(:last-child)), body .container :is(.is-layout-flow,.is-layout-constrained) iframe:where(:not(:last-child)), body .container :is(.is-layout-flow,.is-layout-constrained) ol:where(:not(:last-child)), body .container :is(.is-layout-flow,.is-layout-constrained) p:where(:not(:last-child)), body .container :is(.is-layout-flow,.is-layout-constrained) ul:where(:not(:last-child)) {
    -webkit-margin-after: 0;
    margin-block-end: 0;
}
.site-body h2.is-style-default:after, .reseach_section h2:after,.post-name-outline h2:after {
    content:'';
    background:linear-gradient(90deg, rgba(248, 15, 15, 1), rgba(245, 63, 150, 1));
    display:block;
    width:100%;
    height:2px;
    margin-top:20px;
}

.home .site-body h2:after {
	display: none;
}

.member_list ul {
    list-style-type:none;
    margin-bottom:0;
}
.member_list ul li {
    margin-bottom:30px;
    
}
.member_list ul li:last-of-type {
    margin-bottom:0;
    
}
.member_list ul li a{
    display:flex;
    border:1px solid #c5c5c5;
    text-decoration:none;
    background:#fff;
}
.member_list ul li a:hover {
    color:#666666;
    box-shadow:0 0 15px #c5c5c5;
}

.member_list ul li a .post_thumb{
 width:90px;
    margin-bottom:0;
    line-height:0;
    margin-right:20px;
}


.member_list ul li .post_txt {
    display:flex;
         flex-direction: row;
    gap:30px;
    padding-top:20px;
    padding-bottom:20px;
        align-items: center;
}
.member_list ul li .post_meta {
	width: 350px;
	padding-bottom: 0;
}

.member_list ul.member_por1_list li .post_meta {
    width:200px;
    
}
.member_list ul li .post_txt h3 {
margin-bottom:0;
}







h3::first-letter {
    color:#e71f19;
    border:none;
}
h3:after,h3:before,h2:after,h2:before,h2 {
    border:none;
}
h3:where(:not(.wp-block-post-title)) {
    border:none;
}

.team_img {
width:70px;
    height:70px;
}

.single .entry-footer,.vk_posts.next-prev {
    display:none;
}

.single .entry-meta .entry-meta-item.entry-meta-item-updated,
.single .entry-meta .entry-meta-item.entry-meta-item-author {
	display: none;
}


.research_detail li {
    border:1px solid #c5c5c5;
}
.research_detail li img {
   width:100%;
    height:100px;
}

.home .taxonomy-category a {
    background:#e71f19;
    color:#fff;
    text-align:center;
    padding:5px 20px;
	display: inline-block;
}

.post_meta {
	width: 150px;
    padding-bottom:10px;
}

.member-list {
	padding-left: 0;
}
.single-member .entry-header {
	display: none;
}
.single-member h3 {
	margin-bottom: 0!important;
}

.member_list h2 {
    text-align:center;
    font-size:28px;
   
}
.member_list h2:after {
      content: '';
    width: 100px;
    height: 2px;
    display: block;
    margin: 0 auto;
    margin-top:20px;
}

 .member_list .member_section:nth-of-type(1) h2:after {
 
    background:#ef859b;
}


.member_section {
     margin: 0 calc(50% - 50vw);
    width: 100vw;
    padding:100px;
}

.member_section:first-of-type h2 {
    color:#ef859b;
}
.member_section:nth-of-type(1){
    background:#f9f7f7;
}

.member_section:nth-of-type(2){
    background:#fff6e8;
}
.member_section:nth-of-type(3){
    background:#f1f7ff;
}
.member_section:nth-of-type(2) h2{
    color:#f6ae35;
}
 .member_list .member_section:nth-of-type(2) h2:after {
    background:#f6ae35;
}
.member_section:nth-of-type(3) h2{
    color:#64acde;
}
 .member_list .member_section:nth-of-type(3) h2:after {
    background:#64acde;
}
.post-type-archive-member .site-body {
    padding:0;
}


.site-body-bottom {
    padding-top:80px;
}
.reseach_section h2 {
    color:#666;
}


body:is(.is-layout-flow,.is-layout-constrained)>:is(h1,h2,h3,h4,h5,h6) {
    -webkit-margin-after: 0; 
    margin-block-end: 0; 
}

.news_block h5 {
    color:#fff;
    font-weight:bold;
    font-size:18px;
    padding:5px 10px;
    margin-bottom:0;
    position:relative;
    margin-block-end: 0!important;
}
.news_block h5:after {
  width:200px;
    content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	background: #666;
	transform: scaleY(1.3) perspective(.6em) rotateX(5deg);
	transform-origin: bottom left;
    
}

.research_member {
    list-style-type: none;
    display: flex;
    padding-left: 0;
    gap: 2%;
    margin-top: 0;
}
.research_member li {
    width:32%;
	background: #fff;
}
.research_member li a {
    border:1px solid #c5c5c5;
    display:flex;
    text-decoration:none;
}
.research_member .post_thumb {
    min-width: 90px;
    margin-right: 15px;
    line-height: 0;
    margin-block-end: 0 !important;
}
.research_member .post_thumb img {
    height: 110px;
    object-fit: cover;
    width: 90px;
}
.research_member .post_txt {
    display: flex;
    width: calc(100% - 95px);
    flex-wrap: wrap;
    align-content: center;
    padding: 10px 10px 10px 0;
}

.research_member h4 {
    background: none;
    font-size: 18px;
    padding: 0 0 0;
    margin-bottom: 5px;
}
.research_member .post_meta {
    width: 100%;
	padding-bottom: 0;
}
.sub-title {
	margin-left: 15px;
    font-size: 16px;
}

.site-footer p a {
	    text-decoration-style: solid;
	text-decoration-color: #fff;
}

.member-cate {
	margin-bottom: 0;
}
.post-type-archive-member_por1 .site-body {
    padding:0;
}
.single-member_por1 .entry-header {
	display: none;
}
















/* レスポンシブ */

@media(max-width:992px){
    .member_list ul li a .post_thumb {
    width: 24%;
}
    .member_list ul li .post_txt {
    display: flex;
    flex-wrap:wrap;
    gap: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    align-items: flex-start;
    width:calc( 100% - 85px);
		        align-content: center;
}
    
    .member_list ul.member_por1_list li .post_txt {
                flex-direction: column;
        justify-content: space-evenly;
                     align-content: flex-start;
    }
    .member_section {
    padding:60px 0;
}
    .member_list ul li a{
        padding:15px;
    }
    .member_list ul li .post_txt{
        padding-top:0;
        padding-bottom:0;
    }
    .research_member li {
 width: 100%;
}
    
    .member_list ul li .post_meta {
        width:calc( 100% - 85px );
    }
    .member_list ul li .post_meta h3{
        padding-bottom:0;
    }
}
@media(max-width:768px){
    
.post_meta {
    min-width:inherit;
}
.member_list ul li a .post_thumb {
    width: 45%;
}
      /*.research_member li {
 width: 85%;
}*/
	.research_member {
    display: block;
}
}
@media(max-width:500px){
 
      .research_member li {
 width: 100%;
}
	.member_list ul li .post_meta {
        width: calc(100% - 45px);
    }
    .post_txt{
        width:100%;
    }
    
    .post_txt .team_img{
        width:35px;
        height:auto;
    }
}