/*
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;
}

/**********************
* ホーム
* ********************/
.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{
    margin-top: -3.5em;
}
.home02_list {
    width: 95%;
    margin: auto;
}
.home02_content{
	overflow-x:hidden;
}
.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: 50%;
}
.home_03 :is(.home_title,.home_headline,.link_box){
    text-align: right;
}
.home_03 .text01{
	letter-spacing: -.3em;
	line-height: 2.375;
}


.home_05{
    padding: 50px 0 40px;
    border: 1px  #000;
    background-image: url(../images/home05_img.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 1vw 1vw 0 0;
}
.home_05::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.3;
    background-color: #e5e5e6;
}


/*ホームお知らせ*/
.home_06 .in{
    width: 95%;
    margin-left: auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}
.home06_title{
    grid-column: span 2 / span 2;
}
.home_06 .home_title{
    grid-column: span 2 / span 2;
    grid-column-start: 1;
    grid-row-start: 2;
}
.home_06 .link_box{
    grid-column: span 2 / span 2;
    grid-column-start: 1;
    grid-row-start: 3;
    margin-top: 0;
    margin-bottom: 50px;
}
.home_news{
    grid-column: span 4 / span 4;
    grid-row: span 3 / span 3;
    grid-column-start: 3;
    grid-row-start: 1;
    position: relative;
}

/*ホームインターン*/
.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:150px;
	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%;
}


.sanhou{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    margin: 5px;
}
/*お知らせ-----------*/
/*お知らせ一覧*/
.in:has(.news_listbox){
	display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
	
	& .news_listbox{
		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{
    width: calc(100% + 100px);
    margin: 0 -50px;
}
.internship02_ukeire h4{
	width: 27%;
    border-right: 1px solid;
}

.internship02_ukeire ul{
	display: flex;
	flex-wrap: wrap;
	gap: 0 76px;
	width: 55%;
}
.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::before{
	top: 0;
    bottom: 0;
    left: calc(40% - 1.5em);
}
.internship03_list li:nth-child(2n+2){
	-webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
}
.internship03_list li:nth-child(2n+2)::before{
	left:auto;
	right: calc(40% - 1.5em);
}
