/**
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*/
body{
	opacity:1!important;
}

@font-face {
  font-family: 'CustomFont';
  src: url('customfont.woff2') format('woff2');
  font-display: swap;
}


/*header-nav*/
/*nav-外観*/
#top-nav .eael-simple-menu-container{
	margin-top:5px;
	height:40px
}

#top-nav .eael-simple-menu.eael-simple-menu-horizontal{
	display:flex;
	justify-content: space-between;
}

/*sub-menu*/
#top-nav .eael-simple-menu-horizontal li{
	position:static!important;
	margin:0 auto;
}

#top-nav .eael-nav-menu-wrapper{
	position:relative!important;
}

#top-nav .eael-simple-menu-dropdown-animate-to-top li ul, #top-nav .eael-simple-menu-dropdown-animate-to-top li ul {
	position: absolute!important;
    top: 65px;
    left: 0;
    width: 100%;
}

#top-nav .sub-menu .menu-item-type-post_type{
	padding:10px 0;
}

#top-nav .eael-simple-menu.eael-simple-menu-horizontal li ul li > a {
	 border:none;
}

/*nav-text*/
#top-nav .eael-simple-menu-horizontal:not(.eael-simple-menu-responsive) > li a {
	line-height:1.1;
	text-align:center;
}
#top-nav .eael-simple-menu li a span:nth-child(4){
	display: flex!important;
  justify-content: flex-end;
	top:-18px;
	right:-6px;
}

/*nav-text in English*/
#top-nav .gm-little{
	font-size:80%!important;
	margin:0!important;
	font-weight:400!important;
}
#top-nav #menu-item-34 .gm-little{
	line-height:2!important;
}

/*nav-contact*/
.elementor-32 .elementor-element.elementor-element-7579449.elementor-view-stacked .elementor-icon:hover {
	border: 1px solid #F4AB99;
}

@media only screen and (max-width: 767px) {
	/*nav-text*/
	#m-top-nav .hfe-menu-item{
		display:flex;
		flex-direction:column;
	}
	#m-top-nav #menu-1-11d9c29{
		background:#fff;
		position:fixed;
		top:0;
		left:0;
		right:0;
		bottom:0;
		display:flex;
		flex-direction:column;
		padding-top:70px;
		padding-bottom:0!important;
	}
	#m-top-nav .sub-menu li.menu-item:not(:last-child), #m-top-nav  li.menu-item:not(:last-child), #m-top-nav li.menu-item:not(:last-child) {
		border-bottom-style: none!important;
	}
	
	#m-top-nav li.menu-item {
    margin: 20px;
}

	/*sub-menu of mobile*/
	#m-top-nav .hfe-nav-menu .sub-arrow{
		position: absolute;
		top:0px!important;
		right:35%;
	}
	#m-top-nav .sub-menu.sub-menu-open{
		top:15px!important;
	}
	#m-top-nav p{
		margin: auto;
	}
	#m-top-nav .sub-menu.sub-menu-open a{
		top:0!important;
		display:flex;
		flex-direction:column;
	}
	#m-top-nav .sub-menu.sub-menu-open a:last-child{
		padding-bottom:30px;
	}
	#m-top-nav .sub-menu.sub-menu-open a{
		font-weight:400;
		font-size:90%;
}
		
	/*nav-icon of mobile*/
	#m-top-nav .hfe-nav-menu__toggle{
		z-index:10000;
	}
	.elementor-32 .elementor-element.elementor-element-ae699bf{
		box-shadow:none!important;
	}
	
	#m-top-nav .e-font-icon-svg.e-fas-align-right{
		position:fixed!important;
		top:38px;
		right:38px;
	}
}


@media only screen and (max-width: 420px) {
	#m-top-nav .hfe-nav-menu .sub-arrow{
		right:25%;
	}
}

/*top-image*/
@media only screen and (max-width: 767px) {
	.elementor-9 .elementor-element.elementor-element-922da24:not(.elementor-motion-effects-element-type-background), .elementor-9 .elementor-element.elementor-element-922da24 > .elementor-motion-effects-container > .elementor-motion-effects-layer{
		background:none!important;
	}
	/*
	body.page-id-9 {
    margin: 0;
    height: 100vh;
    background-color: white;
		overflow: hidden;スクロールを一時的に無効化 
}
	#m-header-text-animation{
		position: fixed;
    transform: translateX(-35vw); 
    opacity: 1;
    transition: transform 1s ease, opacity 1s ease;
	}
	#top-news{
		margin-top:100vh;
	}*/
	#m-header-text-animation div{
		background:#fff;
		min-width:15%;
		padding:10px 0;
	}
	#top-text1{
		top:0;
	}
	#top-text2{
		top:30px;
	}
	#top-text3{
		top:70px;
	}
}

@media only screen and (max-width: 420px) {
	#m-header-text-animation div{
		padding:10px 0 10px 2px;
	}
	#m-header-text-animation div h2{
		font-size:23px;
	}
}
/*top-news*/
#top-news .ha-post-list-content{
	display:flex;
}

#top-news .ha-post-list-meta-wrap{
	margin-right:10px;
}

.ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a) {
	text-decoration: none;
}

@media only screen and (max-width: 767px) {
	#top-news ul{
		padding-left:0!important;
	}
	#top-news .ha-post-list-icon{
		margin-right:0!important;
	}
	#top-news .ha-post-list-meta-wrap{
		margin-top:0;
	}
}

/*top-大切にしていること*/
.top-important{
	height:250px;
}
.top-important p {
    margin-bottom: 0!important;
}

@media only screen and (max-width: 1024px) {
	.top-important{
		height:230px;
	}
}

/*園について-理念*/
@media only screen and (max-width: 768px) {
	.little-idea{
		background:#FFFAF8;
	}
}
/*園について-教育目標*/
@media only screen and (min-width: 769px) {
	.elementor-11 .elementor-element.elementor-element-844b2cd{
		overflow: hidden!important;
	}
	#a-goal{
		overflow: hidden!important;
	}
}

/*園について-心がけていること*/
@media only screen and (min-width: 1250px) {
	.concept-item {
		padding-left:160px!important;
	}
}

/*園の一日・一日の流れ*/
@media only screen and (max-width: 768px) {
	.elementor-20 .elementor-element.elementor-element-744d6a7, .elementor-20 .elementor-element.elementor-element-c2e60ef {
		box-shadow: none!important;
	}
	.elementor-20 .elementor-element.elementor-element-71ae572{
		background:#fff;
 
	}
	.elementor-20 .elementor-element.elementor-element-3bfc9f5{
		box-shadow: 5px 5px 0px 0px rgba(255, 255, 255, 0.6);
	}
	.elementor-20 .elementor-element.elementor-element-c2e60ef{
		z-index:10;
	}
}

/*園の一日・年間行事*/
/*line*/
@media only screen and (max-width: 970px) {
	#event-line{
		--spacer-size: 1070px;
	}
}
@media only screen and (max-width: 922px) {
	#event-line{
		--spacer-size: 1050px;
	}
}
@media only screen and (max-width: 918px) {
	#event-line{
		--spacer-size: 1010px;
	}
}
@media only screen and (max-width: 822px) {
	#event-line{
		--spacer-size: 1030px;
	}
}
@media only screen and (max-width: 792px) {
	#event-line{
		--spacer-size: 1050px;
	}
}

/*一週間のスケジュール・曜日*/
@media only screen and (max-width: 768px) {
	.week-week{
		min-width:73px;
	}
}


/*お知らせ*/
/*top-news*/
.news-list .ha-post-list-content{
	display:flex;
}

.news-list .ha-post-list-meta-wrap{
	margin-right:10px;
}

.ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a) {
	text-decoration: none;
}

#news-list ul{
    padding-left: 0;
}
#news-list h4 {
    margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
	.news-list ul{
		padding-left:0!important;
	}
	.news-list .ha-post-list-icon{
		margin-right:0!important;
	}
	.news-list .ha-post-list-meta-wrap{
		margin-top:0;
	}
}

/*入園案内-募集要項*/
@media only screen and (min-width: 769px) {
	#application p, #application ol{
		margin:0;
		padding:0;
	}
}
@media only screen and (max-width: 768px) {
	#application h4{
		font-weight:500;
	}
}

/*入園案内-入園の流れ*/
#admission p{
	margin:0;
}


/*contact-form*/
.CF7_table{
	border:none;
	margin-bottom:0;
}
.CF7_table th{
	width:27%;
}
.CF7_table th, .CF7_table tr, .CF7_table td{
	border:none;
}
.CF7_table td, .CF7_table th{
	padding-bottom:25px!important;
	text-align:left;
}

.single .entry-content table.CF7_table, .page .entry-content table.CF7_table{
	display:table;
}

.CF7_table input, .CF7_table textarea {
	border: 1px solid #ccc;
}

.CF7_table ::placeholder {
	color:#797979;
}

.CF7_req, .CF7_unreq{
	font-size:.9em;
	padding: 3px 6px;
	border-radius: 3px;
	margin-left:1em;
	font-weight:600;
}

.CF7_req{
	background: #FFA300;
	color: #fff;
}

.CF7_unreq{
	background: #bdbdbd;
	color: #fff;
}


@media screen and (max-width: 767px){
	.CF7_table th{
	width:100%;
}
	.CF7_table tr, .CF7_table td, .CF7_table th{
	display: block;
	line-height:2.5em;
	}
	.CF7_table td{
		padding-bottom:20px!important;
	}
	.CF7_table td p{
		margin:0 auto!important;
		width:100%;
	}
	.CF7_table th{
		padding-bottom:0px!important;
	}

	table.CF7_table {
    margin: 50px auto;
	}
}
	
@media screen and (max-width: 500px){
	.CF7_table tr, .CF7_table td, .CF7_table th {
		width: 94vw;
		margin:0 auto;
	}
	
	
	.elementor-47 .elementor-element.elementor-element-b3ec777 .eael-contact-form-7 .wpcf7-form input[type="submit"]{
		width: 94vw!important;
	}
	
	.CF7_btn{
		text-align:center;
	}
	.CF7_table td p{
		margin:0 auto!important;
		width:100%;
	}
}


/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#f79034;
	margin:0 auto;
	padding:15px 50px;
	border-radius:5px;
	text-align:center;
}

.CF7_btn{
	text-align:center;
}

.wpcf7-form >p{
	margin:0 auto!important;
}


/*Bible words*/
#bible-word-content .ha-post-list-excerpt{
	padding-left:40px;
}

