/*
Theme Name: CUBIC
Description: CUBIC Template
Author: 管理人
*/


.in{
    max-width: 1200px;
}
.mob{
    display: none;
}
main{
   
}
#header,
.main_content,
.hed_sns{
        transition: transform 1s cubic-bezier(0.65, 0.05, 0.36, 1);
}
body.active{
	& #header,
	.main_content {
		
	}
}
/**********************
* ヘッダー
* ********************/
header{
	
}

#header{
	padding: 10px 20px;
}
.hed_logo{
    width: 24%;
    animation: move-button linear both;
    animation-timeline: scroll();
    animation-range: 0 150px;
	max-width: 190px;
}
@keyframes move-button {
    to {
        width: 10%
    }
}
.hed_box{
   
}
.hed_sns .hed_buttons{
	
}


/*ナビ*/

nav,
nav.active::after{
    width: 70%;
	min-width: 980px;
    height: 98%;
	margin-right: 0;
}
.nav{
	left:auto;
}
.nav_logo {
    margin-left: auto;
}
#gnavi{
    line-height: 2;
    letter-spacing: 0.1em;
    display: -webkit-flex;
    display: flex;
    gap: 2em 4em;
    flex-wrap: wrap;
	-webkit-flex-direction: column;
    flex-direction: column;
}
#gnavi .menu{
	display: -webkit-flex;
    display: flex;
    -webkit-justify-content: end;
    justify-content: end;
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
	gap: 1em;
}
#gnavi .menu li{
	writing-mode: vertical-rl;
    text-orientation: mixed;
}

#gnavi #nav_menu-2 .menu > li > a{
	font-size:1.6em;
}
#gnavi .menu li .sub-menu{
	margin-top:1em;
}
nav .navbotn {
    left: -40px;
    top: 20px;
}
nav.active .navbotn{
	left: -50px;
}
.sidebar_nav{
	display: -webkit-flex;
    display: flex;
    gap: 2em 1em;
    flex-wrap: wrap;
    -webkit-justify-content: end;
    justify-content: end;
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
	letter-spacing: 0;
}
/**********************
* フッター
* ********************/

#footer .in{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    gap: 40px;
}
#footer .foot_cc{
    margin-left: auto;
    margin-top: auto;
}
.foot_logoad{
	width:34%;
}


/**********************
* ホーム
* ********************/
.home_content_frexbox{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
}
.mv {
	overflow: hidden;
}
.home_textbox{
    width: 40%;
}
.home_img{
    width: 50%;
}
.home_imgsabs{
    top: -255px;
}
.home_01{
    
}
.home_01 .home_title{
   
}
.home02_listbox{
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
	margin: auto;
	gap: 3%;

}
.home02_list {
    width: 100%;
    margin: auto;
	& .in{
			width: auto;
		}
	&.list_support,
	&.list_infant{
		width: 48%;
		margin-top: 0;
		
		& .facility_list ul{
			
		}
	}
}
.home02_content{
	margin-bottom: 9%;
}
.home02_textbox{
	width:50%;
}
.home02_imgs{
	position: absolute;
	width: 63%;
	right: -13%;
}
/*ホーム保育の活動*/
.home_03 .in{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.home03_imgs{
    width: 45%;
}
.home03_text{
    width: 41%;
}
.home_03 :is(.home_title,.home_headline,.link_box){
    text-align: right;
}
.home_03 .text01{
	
	line-height: 2.375;
}


.home_05{
    padding: 50px 0 40px;
    border: 1px  #000;
    background-size: cover;
    background-position: center;
    border-radius: 1vw 1vw 0 0;
	& .in{
		display: -webkit-flex;
		display: flex;
		-webkit-justify-content: space-between;
		justify-content: space-between;
		-webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
		& .home05_imgs{
			width: 58%;
		}
		& .home05_text{
			width: 41%;
		}
	}
}

/*ホームお知らせ*/
.home_06{
    & .home_news{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5em 1em;
        & .home_title{
            margin-bottom: 0;
            line-height: 1.7;
        }
        & .news_listtab{
            grid-column: span 2 / span 2;
            grid-column-start: 1;
            grid-row-start: 2;
        }
        & .link_box{
            grid-column-start: 2;
            grid-row-start: 1;
            margin-top: 0;
			text-align: right;
        }
    }
}

/*ホームインターン*/
.home_07{
	position:relative;
}
.home07_img{
	position: absolute;
	width: 40%;
	max-width: 600px;
	top: 0;
	left: 0;
}
.home07_content{
	padding-left: 43%;
}
.home_07 .hometate_textbox{
	margin-top:50px;
	padding-bottom: 60px;
}
.home_07 .in::before{
	height: calc(100% - 100px);
    bottom: 0;
}


/*--施設紹介------------------*/
.facility-list a time{
	position:relative;
}
.facility-list a time::before{
	content:"";
	display:block;
	position:absolute;
	width:2px;
	height:0.8em;
	margin:auto;
	right:0;
	top:0;
	bottom:0;
	background-color:#000;
}


.facility-list{
    grid-column: span 4 / span 4;
    grid-row: span 3 / span 3;
    grid-column-start: 3;
    grid-row-start: 1;
}
.facility_databox{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.facility-list .news_title{
    width: calc(100% - 15em)
}
.facility_datas{
    width: 55%;
}
.acility_datasr{
    width: 37%;
}
.facility_datasimg{
	width:100%;
}
.facility_gyoujis_listbox:has(.facility_seasonimg){
	& .facility_gyoujis_flex{
	display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
	}
	& .facility_gyoujis_texts{
	width:39%;
	}
	& .slider_nav{
    width: 39%;
	position: absolute;
	}
}
.facility_seasonimg{
	width:59%;
}
.slider_nav{
	margin-top:50px;
	bottom: 0;
	right: 0;
}

.sanhou{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    margin: 5px;
}


.schedule-tables-wrapper.is-pc {
    display: grid;
    grid-template-columns: 80px repeat(var(--total-col-count, 4), 1fr);
	grid-template-columns: 80px repeat(var(--col-count), 1fr);
    gap: 0;
  }

  .schedule-tables-wrapper.is-pc .schedule-grid-container {
    display: contents;
  }

  /* ★PC時：全体（A〜D）のどこにも予定がない時間行だけを非表示にする（JSと連動） */
  .schedule-tables-wrapper.is-pc .pc-completely-empty {
    display: none !important;
  }

  /* 2つ目以降のブロックにある「時間軸」や「空の角」は重複して不要なので非表示 */
  .schedule-tables-wrapper.is-pc .schedule-grid-container:not(:first-child) .grid-header-time,
  .schedule-tables-wrapper.is-pc .schedule-grid-container:not(:first-child) .grid-cell-time {
    display: none !important;
  }

  /* 1番目のブロックの時間軸は必ず1列目に固定 */
  .schedule-tables-wrapper.is-pc .grid-cell-time {
    grid-column: 1;
  }

  .grid-cell-content {
	  padding: 0 10px;
  }



/*お知らせ-----------*/
/*お知らせ一覧*/
.in:has(.news_side){
	display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
	
	& .news_listbox,
	& .news_w{
		width:67%;
	}
	& .news_side{
		width:26%;
	}
}



/*お問いおわせ*/

.contectfomw  {
    & table{
        width: 100%;
    }
    & :is(th,td){
        vertical-align: top;
        padding: 10px;
    }
    & th{
        width: 11em;
        text-align: right;
        line-height: 2.5;
    } 
}

/*保育実習*/
.internship_01{
	
	& .internship01_box{
		& .internship01_l{
			width: calc(45% - 30px);
		}
		& .internship01_r{
			width: calc(55% - 30px);
		}
	}
}

.internship03_listimg{
	width:40%
}
.internship03_listtext{
	width:60%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 5%;
}
.internship03_list li{
	min-height:300px;
	justify-content: center;
}
.internship03_list li + li{
	margin-top:50px;
}
.internship03_list li:nth-child(2n+2){
	-webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
}
/*取り組み*/
#p_base{
	& .initiatives-box{
		& .initiatives-box-content{
			&:has(.grand_imgs){
				& .content_text{
					width: 35%;
				}
			}
			& .grand_imgs{
				width: 57%;
			}
			&:has(.grand_img:nth-child(1):last-child) {
				& .content_text{
					width: 65%;
				}
				& .grand_imgs{
					width:30%;
					& .grand_img{
						width:100%;
					}
				}
			}
			&:nth-child(2n+2){
				& .initiatives-box-content{
					-webkit-flex-direction: row-reverse;
					flex-direction: row-reverse;
				}
			}
		}
	
	}
}

/*採用情報*/
.recruit{
	& .recruit02_hed{
		& .recruit02_hed_img,
		& .recruit02_hed_text{
			width:48%;
		}
	}
	& .job-tabs-list{
		display: -webkit-flex;
        display: flex;
        flex-wrap: wrap;
		& button{
			-webkit-flex-grow: 1;
			flex-grow: 1;
			border-bottom:0;
			border-bottom-left-radius:0;
			border-bottom-right-radius:0;
		}
	}
	
}


.aisatu{
	/*display: -webkit-flex;
    display: flex;*/
	gap:2em;
	& .aisatutext{
		/*width:60%;*/
	}
	& .aisatutimg{
		width:40%;
		float: left;
		margin:10px;
	}
}



