/**
Theme Name: Astra Child
Author: Kr-sning design
Author URI: https://kr-sning.com/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/*Custom Code*/
/*header*/
.site-title a{
	font-weight:bold;
}

/*header-insta-icon*/
@media screen and (max-width: 1024px){
	.header-widget-area.widget-area.site-header-focus-item{
	padding:0;
	}
}
/*top-sticky*/
.top-sticky{
  font-size: 20px;
  position: -webkit-sticky;
  position: sticky;
  text-align: center;
  top: 0;
  width: 100%;
	z-index:10;
}

/*top-news*/
.top-news-category .eael-grid-post .eael-entry-header-after {
    justify-content: flex-start;
    align-items: center;
    position: absolute;
    top: -3px;
}

.top-news-category .eael-post-grid.eael-post-appender{
	height:100px!important;
}


.top-news-category .eael-grid-post:last-child{
	top:50px!important;
}

.top-news-category .eael-grid-post:nth-child(1) {
	top:0px!important;
}

 .top-h4{
	width:100px!important;
	background: linear-gradient(0deg, #636363 0% 50%, #9AB4AF 50%);
  background-repeat: no-repeat;
  background-size: 0.13rem 4rem;
  background-position: right;
}


@media screen and (max-width: 1024px){
	.top-h4{
		background-size: 0.13rem 4.8rem;
		width:70px!important;
	}
	.eael-grid-post-holder-inner {
		width: 70vw!important;
	}
}


@media screen and (max-width: 767px){
	#top-news .top-h4{
   padding-bottom: 10px;
   background: linear-gradient(90deg, #636363 0% 50%, #BBCCAA 50%);
   background-repeat: no-repeat;
   background-size: 4rem 0.2rem;
   background-position: bottom;
	}
}



/*教会紹介-タイトルの縦線*/
.about-h4{
	width:700px!important;
	margin:0 auto;
	background: linear-gradient(0deg, #636363 0% 50%, #9AB4AF 50%);
  background-repeat: no-repeat;
  background-size: 0.13rem 4rem;
  background-position: right;
}

@media screen and (max-width: 1024px){
	.pastor-picture{
		height:43vw;
		width:43vw;
	}
	.elementor-section.elementor-section-boxed > .elementor-container{
		align-items:center;
		padding-top:30px;
	}
	.about-h4{
  background-size: 0.13rem 4.8rem;
	}
}
@media screen and (max-width: 767px){
	.about-h4{
   padding-bottom: 10px;
   background: linear-gradient(90deg, #636363 0% 50%, #9AB4AF 50%);
   background-repeat: no-repeat;
   background-size: 4rem 0.2rem;
   background-position: bottom;
	}
}
@media screen and (max-width: 767px){
	.pastor-picture{
		margin:0 auto;
		height:20em;
		width:20em;
	}
}
@media screen and (min-width: 768px){
	.about-heading h4.elementor-heading-title{
		text-shadow: none!important;
	}
}

/*ニュース*/
@media (max-width: 767px){
	.news-category{
		margin-left:30px;
	}
}
@media (max-width: 500px){
		.news-category{
		margin-left:0;
	}
	.news-category .eael-entry-media {
		max-width: 35vw!important;
   left: 33vw;
	}
	.news-category .eael-entry-wrapper {
		width: 70vw!important;
   left: 20vw;
		padding:10px 15px;
	}
}

/*ニュース・カテゴリー*/
.eael-grid-post-holder-inner{
	width: 500px;
  height: 100px;
	position:relative;
}

.news-category .eael-entry-media{
	width:25%;
	left:0;
	position:absolute;
	display:block;
	padding-right:20px;
	background: linear-gradient(0deg, #636363 0% 50%, #9AB4AF 50%);
  background-repeat: no-repeat;
  background-size: 0.13rem 4.3rem;
  background-position: right;
}

.news-category .eael-entry-wrapper{
	width:75%;
	right:0;
	position:absolute;
	display:block;
}

.eael-entry-header .eael-entry-title {
	margin:5px 0 0 0;
}

.eael-entry-header .eael-entry-title a:hover {
	color:#636363!important;
}

.eael-post-grid .eael-entry-wrapper>.eael-entry-meta span.eael-posted-on::before, .eael-post-grid .eael-entry-wrapper>.eael-entry-header-after .eael-entry-meta span.eael-posted-on::before {
    content:"\f274";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    color: inherit;
    opacity: .4;
    font-size: .8em;
    padding-right: 7px;
}

@media (max-width:1024px){	
	.elementor-25 .elementor-element.elementor-element-fcaa9ef .eael-grid-post:first-child{
		padding:0px!important;
	}
	.elementor-25 .elementor-element.elementor-element-fcaa9ef .eael-grid-post{
		padding-top:1vw!important;
	}
	.news-category .eael-entry-media{
		width:20%;
		background-size: 0.13rem 4.7rem;
	}
	.news-category .eael-entry-wrapper{
		width:80%;
}
	.eael-grid-post .eael-entry-thumbnail>img {
		max-height: 10vw!important;
		width:auto!important;
		-o-object-fit: cover;
   object-fit: cover;
	}
}


@media (max-width:767px){	
	.elementor-25 .elementor-element.elementor-element-fcaa9ef .eael-grid-post:first-child{
		padding:0px!important;
		top:0!important;
	}
	.elementor-25 .elementor-element.elementor-element-fcaa9ef .eael-grid-post{
		padding-top:0vw!important;
		top:12vw!important;
	}
	.news-category .eael-entry-media{
		background-size: 0.13rem 4.7rem;
		padding-right:10px;
	}
	
	.eael-grid-post .eael-entry-thumbnail>img {
		max-height: 10vw!important;
		width:auto!important;
		-o-object-fit: cover;
   object-fit: cover;
	}
}

@media (max-width:500px){	
	.news-category .eael-entry-wrapper{
		width:80%;
		padding-left:0;
}
	.elementor-25 .elementor-element.elementor-element-fcaa9ef .eael-grid-post:first-child{
		padding:0px!important;
		top:0!important;
	}
	.elementor-25 .elementor-element.elementor-element-fcaa9ef .eael-grid-post{
		padding-top:0vw!important;
		top:16vw!important;
	}
}

/*ニュース個別*/

.single .site-content .ast-container{
	width:960px!important;
	display:block!important;
	margin-bottom:100px;
}

.single .site-content .ast-container #primary{
	margin:0 auto;
}

.single .site-content .ast-container #primary .entry-meta, .single .site-content .ast-container #primary .nav-links{
	display:none;
}

.single .site-content .ast-container #primary .entry-content a{
	display:inline;
	top:50px;
	font-weight:bold;
	font-size:90%;
	position: relative;
	line-height:1;
  background: linear-gradient(transparent 60%, yellow 120%);
	transition:0.7s;
}

.single .site-content .ast-container #primary .entry-content a:hover{
	color:#BC1B23;
	transition:0.7s;
	transform:translate(0px, 5px);
}

.eael-grid-post .eael-entry-thumbnail>img {
    max-height: 65px;
    -o-object-fit: cover;
    object-fit: cover;
}

@media (max-width:1024px){
	.single .site-content .ast-container #primary .entry-title{
		font-size:23px;
	}
}

@media (max-width:767px){	
	.single .site-content .ast-container #primary .entry-title{
		font-size:17px;
	}
	.single .site-content .ast-container #primary p{
		font-size:13px;
	}
}


/*集会案内*/
.meeting-h4{
   background: linear-gradient(90deg, #636363 0% 50%, #9AB4AF 50%);
   background-repeat: no-repeat;
   background-size: 100% 0.13rem;
   background-position: bottom;
}
