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



body{
    
}
.in{
    width: 90%;
}
.pc{
    display: none;
}
/**********************
* ヘッダー
* ********************/
header{
	display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
	 -webkit-align-items: center;
    align-items: center;
    padding: 10px 3%;
}
header::after{
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #fff;
}
.hed_buttons{
    display: -webkit-flex;
    display: flex;
	 -webkit-align-items: center;
    align-items: center;
}
.hed_sns #nav_menu-5{
    font-size: 43px;
}
#header{
	width: 100%;
	padding: 0;
	gap: 0;
	position: relative;
	z-index: 1;
}
.hed_logo{
	width: 36%;
    max-width: 165px;
}
.hed_sns{
	position: relative;
	z-index: 1;
}
.hed_yoyaku{
    font-size: 2.2vw;
    font-size: calc(0.625rem + ((1vw - 3.2px) * 0.7102));
}
.hed_yoyaku a{
    padding: 0.8em 0.5em;
    width: 8em;
}
/*ナビ*/

nav,
nav.active::after{
    width: 98%;
    height: 90%;
}
#gnavibase{
	height: calc(100vh - 17vh);
}

nav.active .navbotn{
	right: 20px;
	z-index: 20;
}
.sidebar_nav .menu{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
	grid-gap: 1rem;
	margin-bottom:2em;
}
#gnavi #nav_menu-2 .menu > li > a{
	font-size:1.1em;
}
#gnavi .sub-menu{
	margin-left:1em;
	font-size:0.9em;
}



/**********************
* フッター
* ********************/

footer{
    margin-top: 16vw;
}
.foot_contacts ul a{
    font-size: 3vw;
}
.foot_logo{
    text-align: center;
}
.foot_navs{
    margin-top: 4em;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
}
.foot_cc{
    margin-top: 3em;
    text-align: center;
}
/**********************
* ホーム
* ********************/

.top-mv {
    height: calc(100vh - 125px);
	width: 100%;
}
.top-mv video{
	border-radius: 75vw 0 0 0;
	width: 445px;
	height: 665px;
	object-fit: cover;
}
.mvtext_box{
	top: auto;
	width: auto;
}
.mvtext{
	margin:0;
	width: auto;
}
.mvtext p{
	margin:0;
	border-radius: 0 2em 0 0;
}

.home_content,
.home02_list{
    margin-top: calc(3.75rem + ((1vw - 3.2px) * 4.2614));
}
.home_content .link_box{
    text-align: center;
}
.home_content .home02_nav{
    display: none;
}
.home02_content .in::before{
	left: -6%;
	width: 66%;
    height: 100%;
}
.home02_content{
	container-type: inline-size;
    container-name: home02;
}
.home02_imgs{
	margin-bottom:30px;
}
@container home02 (min-width: 530px) {
	.home_02 .in{
		display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: flex-start;
    align-items: flex-start;
	}
	.home02_imgs{
		width: 37%;
    margin-left: -5%;
	}
	.home02_textbox{
		width: 54%;
	}
	
}
/*ホーム私たちの理念*/
.home_headline{
    font-size: calc(1.875rem + ((1vw - 3.2px) * 1.8466));
}
.home_mainimg{
    
}
.home_textbox{
    margin-top: 5vw;
}
.home_02{
    
}
.home_03 {
    margin-top: 25%;
}
.home_imgsabs{
    margin-top: -5%;
}
.home_imgsabs > div {
    width: 22%;
}
.home02_ltitle{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 7vw;
}
.home02_ltitle .tate{
    writing-mode: horizontal-tb;
    text-orientation: mixed; 
    margin: 0;
}
.home02_ltitle span{
    margin-left: -4em;
    font-size: calc(0.75rem + ((1vw - 3.2px) * 0.5682));
}
.home03_imgs {
    max-width: 540px;
	margin: auto;
}
.home03_img_01{
    width: 40%;
	margin-left: 48%;
	max-width: 100%;
}
.home03_img_02{
	margin-bottom: 0;
	width: 52%;
	max-width: 100%;
}
.home03_img_03{
    top: -10%;
	left: -9%;
	width: 60%;
	max-width: 100%;
}
.home03_text{
	margin-top:30px;
	-webkit-justify-content: space-between;
    justify-content: space-between;
}
.home_03 .hometate_textbox .tate{
	writing-mode: rl-tb;
	margin-top:30px;
}
.home04_list li{
    width: 36vw;
}
.home04_list li:nth-child(2n+1){
    width: 43vw;
}
.home_05{
    border-top: 1px solid #000;
}
.home_05 .in{
    width: 100%;
}
.home05_titles{
    border-bottom: 0px;
    background-size: 165%;
    background-position: top center;
    background-image: url(../images/home05_img.jpg);
    background-size: cover;
    background-position: center;
    padding: 9vw 5% 1px;
}
.home05_titles::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.3;
    background-color: #e5e5e6;
}
.home05_title{
    font-size: calc(3.75rem + ((1vw - 3.2px) * 12.7841));
}
.home_05 .home_text{
    background-color: #fff;
    padding: 5%;
}
.home_05 :is(.home_title,.home05_title,.home_text){
    position: relative;
}

.home_06{
    padding-left: 5%;
	padding-right: 5%;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
}
.home_06 :is(.home06_title,.home_title,.home_news){
    -webkit-order: -1;
    order: -1;
}

.home_07{
	position:relative;
}
.home07_img{
	width:90%;
	margin:auto;
	position: relative;
}
.home07_img img{
	width:100%;
}
.home_07 .in::before{
	top: 10%;
	bottom: 19%;
}
.home07_taitl{
}
.home07_content{
	margin:50px 0;
}


/**********************
* 下層ページ
* ********************/
.content_hed{
    margin-bottom: 1em;
	font-size: clamp(1.04rem, 1.2727vw + 0.7855rem, 1.6rem);
}
.facility_img > div{
	max-height:350px;
	height:40vw;
}
.facility_hednav ul a {
    padding: 0 1em;
}
.facility_02 .home_06{
    padding-left: 0;
}
.facility-list{
    -webkit-order: -1;
    order: -1;
}

.facilitylist_img{
	margin-bottom:0.2em;
}
@media screen and (max-width: 480px) {
    .facility-list a{
        flex-wrap: wrap;
    }
    .facility-list a .news_title{
        width: 100%;
    }
}
.facility_datasimg{
    margin-top: 1em;
}
.facility_hed{
	
}

/*固定ページ------------*/
.x-scroll{
   overflow: scroll;
}
.x-scroll table{
    min-width: 600px;
}
/*お問い合わせ*/
.contectfomw{
    & :is(table,tbody,tr,tg,td){
        display: block;
    }
    & tr{
        margin-bottom: 0.5em;
    }
}

/*私たちの保育*/
.business_boxs{
	margin-left: -5%;
	margin-right: -5%;
}
/*学生向け　教育・保育実習*/
#p_base .internship_01 h3{
	font-size: clamp(12.00px, calc(6.12vw + -1.96px), 36.00px);
}
.internship02_ukeire{
	-webkit-flex-direction: column;
    flex-direction: column;
	padding: 40px 20px;
}
.internship02_ukeire h4{
	border-bottom: 1px solid currentColor !important;
	padding: 0 0.5em;
}
.internship03_list ul{
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    grid-gap: 3rem;
}
.internship03_list li{
	-webkit-flex-direction: column;
    flex-direction: column;
}
.internship03_list li::before{
	left:0;
	right:0;
	top:188px;
}
.internship03_listimg{
	height: 230px;
}
.internship03_listtext{
	padding: 48px 5% 5%;
}

