/**
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*/
@media screen and (min-width:922px) {
	.ast-builder-menu-1 .menu-item > .menu-link{
		padding-left:1vw;
		padding-right:1vw;
		line-height:0.5;
	}

	.site-header-primary-section-left-center.site-header-section.ast-flex.ast-grid-left-center-section, .site-header-primary-section-right-center.site-header-section.ast-flex.ast-grid-right-center-section{
		display:none;
	}
	/*header-gridの横幅*/
	.ast-builder-grid-row.ast-grid-center-col-layout {
		grid-template-columns: 1fr auto .8fr!important;
	}
	.ast-builder-grid-row {
		grid-column-gap: 10px!important;
	}
}

@media screen and (max-width:767px) {
	.ast-builder-grid-row{
		 grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	}
	.ast-header-break-point #masthead .ast-mobile-header-wrap .ast-primary-header-bar{
		padding:5px;
	}	
	.ast-mobile-popup-drawer .ast-mobile-popup-inner{
		width:75%;
	}
}

/* sticky-header */
.main-header-bar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: top 0.5s;
}
.main-header-bar.shrink {
  height: 70px;
}
#ast-desktop-header .ast-primary-header-bar .site-primary-header-wrap.shrink{
  min-height: 70px;
}

/*nav*/
@media screen and (max-width:921px) {
	.sub-menu .ast-icon.icon-arrow{
		display:none!important;
	}
	.site-header-section>*{
		padding:0 0 0 5px;
	}
	#menu-toggle-close .ahfb-svg-iconset svg{
		width:25px;
		height:25px;
	}
	.ast-mobile-popup-header{
		margin-top:25px;
		z-index:10;
	}
	.ast-mobile-popup-content{
		position:absolute;
		top:0;
		left:0;
		right:0;
	}
}

/*sub-nav*/
.ast-logo-title-inline .ast-site-identity{
	padding:0;
}
.menu-item ul.sub-menu{
	padding:10px 0;
}
.ast-header-break-point .main-navigation ul .menu-item .menu-link{
	border:none;
}


@media screen and (max-width:921px) {
	.ast-builder-menu-2{
		width:100px!important;
	}
	.ast-builder-menu-2 .ast-menu-toggle{
		padding:0!important;
		height:10px!important;
		width: 50px;
		display: flex !important;
		justify-content: flex-end;
	}
	.ast-builder-menu-2 .ast-menu-toggle .ast-icon.icon-arrow{
		line-height:1!important;
	}
	.ast-builder-menu-2 .sub-menu{
		width:100%!important;
		height:100%;
		margin-top:10px!important;
	}
	.ast-header-break-point .ast-mobile-header-wrap .ast-flex.inline-on-mobile .menu-item.ast-submenu-expanded > .sub-menu{
		display:flex!important;
		place-content: center;
    align-content: center;
    justify-content: center;
	}
	#ast-hf-menu-2{
		float:right;
	}
	.menu-link{
		padding:0 5px 0 0!important;
	}
	#ast-hf-menu-2 .ast-icon svg{
		fill:#fff;
	}
}

@media screen and (max-width:767px) {
	.ast-builder-menu-2{
		min-width:80px!important;
	}
	.ast-hfb-header.ast-header-break-point .main-header-bar-navigation{
		min-width:65px!important;
	}
}

/*footer*/
.page-id-32 footer{
	margin-top:0!important;
}

@media screen and (max-width:921px) {
	#astra-footer-menu{
		justify-content:space-around!important;
	}
}
@media screen and (max-width:767px) {
	#astra-footer-menu{
		justify-content:space-around!important;
	}
}
@media screen and (max-width:544px) {
	#astra-footer-menu{
		justify-content:space-around!important;
	}
}

/*top page*/
.page-id-11 .site-footer{
	margin-top:0;
}
@media screen and (max-width:921px) {
	.page-id-11.ast-hfb-header .site-header{
		margin-bottom:110px;
	}
}
/*top-news*/
#top-news .premium-blog-inner-container{
	display:none;
}
#top-news .premium-blog-entry-meta{
	margin-bottom:5px;
}

@media screen and (max-width:1024px) {
	.elementor-11 .elementor-element.elementor-element-c3273af{
		box-shadow:none!important;
	}
}

@media screen and (max-width:768px) {
	#top-news .premium-blog-inner-container{
		display:flex;
		flex-direction: row-reverse;
		justify-content: center;
		margin-bottom:10px;
	}
	#top-news .premium-blog-post-time.premium-blog-meta-data{
		margin-right:10px;
	}
}

/*about*/
.pastor .elementor-widget-container{
	padding:0!important;
}

/*blog list*/
.blog.ast-separate-container #primary, .category.ast-separate-container #primary{
	margin:0 0 200px!important;
}
.ast-blog-layout-5-grid .ast-article-post{
	margin:20px 0;
}
.category-pray{
	display:none;
}
.post-content{
	display:flex;
	flex-wrap:wrap;
	background:var(--ast-global-color-4);
	align-content: center;
  align-items: center;
	border-bottom:2px solid var(--ast-global-color-6);
	margin:0!important;
	padding:10px 0 30px!important;
}
.ast-article-post:last-child .post-content{
	border-bottom:none;
}
.post-content header{
	order:1;
	margin-bottom:0!important;
}
.post-content>span{
	order:2;
	margin:0 10px 0!important;
	display:flex!important;
	align-items: center;
}
.post-content h2{
	width:inline;
	order:3;
	margin-bottom:0!important;
}
.post-content div.ast-excerpt-container{
	width:100%;
	order:3;
	margin:10px 0 0!important;
}
.post-content .ast-blog-single-element a, .post-content .ast-blog-single-element span, .post-content .ast-blog-single-element a span{
    color: var(--ast-global-color-3)!important;
}

@media screen and (max-width:1024px) {
	.blog .ast-container{
		width:90%!important;
	}
	.blog.ast-separate-container #primary{
		padding:0;
	}
}
@media screen and (max-width:921px) {
	.blog.ast-separate-container #secondary{
		padding:0;
	}
}

/*category background*/
.ast-blog-single-element.ast-taxonomy-container.cat-links.default a {
  padding: 2px 7px;
  border-radius: 4px;
  color: #ffffff !important;
  font-weight: bold;
  display: inline-block;
	font-size:70%;
}
.category-event span a{
	background-color: #F25F5C;
}
.category-news span a{
	background-color: #0073e6;
	display:none;
}
.category-word span a{
	background-color: #6C8897;
	display:none;
}
.category-walk span a{
	background-color: #28a745;
	display:none;
}
.category-plant span a{
	background-color: #FFCA3A;
	display:none;
}
.category-praise span a{
	background-color: #FF9200;
	display:none;
}

/*category list*/
.blog .site-content > .ast-container, .archive .site-content > .ast-container{
	display:flex;
	flex-direction:column;
}
#primary, #secondary{
	width:100%;
	margin: 0;
}
#secondary ul{
	display:flex;
	flex-direction:row;
	justify-content: space-around;
}
#secondary .cat-item-1, .cat-item-10{
	display:none;
}

@media (max-width: 921px) {
	.ast-left-sidebar #content > .ast-container {
		display: flex;
		flex-direction: column;
	}
}
@media (max-width: 768px) {
		#block-6 div a{
		font-size:90%;
	}
	#block-6 div ul{
		justify-content: space-between;
	}
}

/*post*/
.ast-separate-container #primary{
	margin-bottom:200px!important;
}

/*神の庭・ことば*/
@media screen and (min-width:768px) {
	.post-flex-row, .post-worship{
		pointer-events:none;
	}
	.post-flex-row .premium-blog-post-container.premium-blog-skin-classic{
		display:flex;
		flex-direction:row-reverse;
		gap:20px;
	}

	.post-flex-row .premium-blog-thumb-effect-wrapper, .post-flex-row .premium-blog-content-wrapper {
		width:50%;
		margin:auto;
	}

	.post-flex-row .premium-blog-inner-container{
		display:flex;
		flex-direction:row;
		align-items: center;;
	}
	.post-flex-row .premium-blog-entry-meta{
		margin-bottom:0;
	}

	.post-worship .wp-block-file, 
	.premium-blog-content-inner-wrapper a{
		pointer-events:auto;
	}
}

/*contact-form*/
#c-message{
	height: 130px;
  max-height: 130px;
}
#c-submit{
	width:100%;
  display: block;
	margin-top:20px;
}

.wpcf7 {
    line-height: 1;
}


/*member page*/
.page-id-90 .ast-single-entry-banner[data-post-type="page"]{
	margin-bottom:0;
}

.page-id-90 .ast-single-entry-banner[data-post-type="page"][data-banner-layout="layout-2"]{
	background-image:none;
	background-color:#fff;
}

.page-id-90 .ast-single-entry-banner[data-post-type="page"], .parent-pageid-90 .ast-single-entry-banner[data-post-type="page"]{
	margin-bottom:0;
}

.page-id-90 .ast-single-entry-banner[data-post-type="page"][data-banner-layout="layout-2"], .parent-pageid-90 .ast-single-entry-banner[data-post-type="page"][data-banner-layout="layout-2"]{
	background-image:none;
	background-color:#fff;
	text-align:center;
}

.page-id-90 .ast-single-entry-banner[data-post-type="page"] .entry-title, .page-id-90 .ast-single-entry-banner[data-post-type="page"] div .trail-item, .page-id-90 .ast-single-entry-banner[data-post-type="page"] div span,
.parent-pageid-90 .ast-single-entry-banner[data-post-type="page"] .entry-title, .parent-pageid-90 .ast-single-entry-banner[data-post-type="page"] div .trail-item, .parent-pageid-90 .ast-single-entry-banner[data-post-type="page"] div span{
	color: var(--ast-global-color-3);
}
.page-id-90 .ast-single-entry-banner[data-post-type="page"] .entry-title:hover, .page-id-90 .ast-single-entry-banner[data-post-type="page"] div .trail-item:hover, .page-id-90 .ast-single-entry-banner[data-post-type="page"] div span:hover,
.parent-pageid-90 .ast-single-entry-banner[data-post-type="page"] .entry-title:hover, .parent-pageid-90 .ast-single-entry-banner[data-post-type="page"] div .trail-item:hover, .parent-pageid-90 .ast-single-entry-banner[data-post-type="page"] div span:hover{
	color: var(--ast-global-color-3);
}
