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

html {
    scroll-behavior: smooth;
}

body{
    font-family: zen-kaku-gothic-new, Zen Kaku Gothic New, ヒラギノ角ゴ ProN W3, Meiryo, sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 2;
	letter-spacing:0.08em;
}
.in,
.inmin{
    margin: auto;
    width: 90%;
}
.inmin{
    max-width: 900px;
}

ul,li{
    list-style: none;
}
a{
    display: inline-block;
    transition: 0.5s;
}
a:hover{
    opacity: 0.7;
}
img{
    display: inline-block;
    clear: both;
    max-width: 100%
}
.got{
    font-family: gotham, sans-serif;
font-weight: 100;
font-style: normal;
}
.min{
	font-family: fot-tsukubrdgothic-std, sans-serif;
font-weight: 400;
font-style: normal;
}
.tate{
    writing-mode: vertical-rl;
    text-orientation: mixed;
	letter-spacing: 0px;
}

/**********************
 * ヘッダー
 * ********************/
header{
    background-color: #fff;
    position: sticky;
    top: 0;
    animation: add-shadow linear both;
    animation-timeline: scroll();
    animation-range: 0 150px;
    z-index: 10;
	
}

@keyframes add-shadow {
    to { 
        border-bottom: 1px silid #000;
    }
}
header::before{
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 0px;
    bottom: 0;
    left: 0;
    box-shadow: 0px 0px 15px 2px #777777;
    animation: add-boarder linear both;
    animation-timeline: scroll();
    animation-range: 0 150px;
    opacity: 0;
}
@keyframes add-boarder {
    to { 
        opacity:1;
    }
}
body:has(.facility_content) header{
	position: relative;
}

#header,
.hed_nav ul,
.hed_box{
    display: -webkit-flex;
    display: flex;
}
#header{
    padding: 30px;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
    gap: 30px;
	position: relative;
	background-color: #fff;
}
.hed_box,
.hed_nav ul{
    -webkit-align-items: center;
    align-items: center;
    gap: 0 1.5em;
}
.hed_nav ul{
    font-size: 16px;
    flex-wrap: wrap;
}
.hed_nav .menu{
	position:relative;
}
.hed_nav li:has(.sub-menu) > a{
	padding-right:1em;
	pointer-events: none;
	position:relative;
}
.hed_nav li:has(.sub-menu) > a::before{
	content:"";
	display:block;
	width:0.5em;
	height:0.5em;
	position:absolute;
	right:0;
	top:0;
	bottom:0;
	margin:auto;
	border-bottom: solid 2px #333;
	border-right: solid 2px #333;
	transform: rotate(45deg);
}
.hed_nav li:has(.sub-menu) {
}
.hed_nav .sub-menu,
.hed_nav .sub-menu-container{
	background-color:#c9e5e5;
	white-space: nowrap;
	transition: 0.5s;
    top: 2.5em;
	visibility: hidden;
    opacity: 0;
}
.hed_nav .sub-menu-container{
	width: 100%;
	left:0;
	position:absolute;
	 display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
	padding:1em;
	border-radius:10px;
	min-height: 195px;
}
.hed_nav .menu-item-has-children:hover > .sub-menu,
.hed_nav li:has(.sub-menu-container):hover .sub-menu{
    visibility: visible;
    opacity: 1;
}
.hed_nav .sub-menu-container .sub-menu {
    position: static; 
}
.hed_nav li:has(.sub-menu-container):hover .sub-menu-container{
	top: 2em;
	visibility: visible;
    opacity: 1;
	z-index:1;
}
.sub-menutitle{
	width:20%;
	font-weight: bold;
	color:#5eb1b2;
}
.hed_nav .sub-menu{
	font-size:0.9em;
	width:80%;
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
}
.hed_nav ul.sub-menu li{
	width:100%;
}
.hed_nav ul.sub-menu a{
	padding:0em 1em;
	position: relative;
}
.hed_nav ul.sub-menu a::before{
	content: "";
    display: inline-block;
    position: absolute;
    width: 0.2em;
    height: 0.2em;
    border-radius: 50%;
    background-color: currentColor;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0.5em;
}
.hed_yoyaku a{
    text-align: center;
    line-height: 1.2;
    border: 1px ;
    border-radius: 50%;
    padding: 0.8em 1.5em;
    background-color: #eeb29a;
}
.hed_sns #nav_menu-5{
    font-size: 32px;
    line-height: 1;
}


/*ハンバーガーボタン*/
.hamburger{
    position: relative;
    height: 15px;
    width: 30px;
    cursor: pointer;
}
.hamburger span{
    display: block;
    height: 2px;
    position: absolute;
    right: 0;
    background-color: #000;
    margin: auto;
    transition: 0.5s;
}
.hamburger span:nth-child(1){
    width: 100%;
    top: 0;
}
.hamburger span:nth-child(2){
    width: 80%;
    top: 0;
    bottom: 0;
}
.hamburger span:nth-child(3){
    width: 50%;
    bottom: 0;
}
.navbotn.active span:nth-child(1){
    width: 100%;
    transform: rotateZ(45deg);
    top: 6px;
}
.navbotn.active span:nth-child(2){
	opacity:0;
	transform: translate(10px, 0px);
}
.navbotn.active span:nth-child(3){
    width: 100%;
    transform: rotate(-45deg);
    bottom: 6px;
}
nav .navbotn{
    position: absolute;
	z-index: 1;
    width: 40px;
    height: 40px;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    background-color: #fff;
    border-radius: 5px;
	animation-duration: 1s;
    animation-delay: 0s;
	opacity:0;
}
.navbotn p{
	font-size: 12px;
    margin: 0.5em auto 0;
	height: 6em;
	width: 1em;
	line-height: 1;
	letter-spacing: 0em;
}


/**********************
* ナビメニュー
* ********************/
nav{
    position: fixed;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 11;
    animation: textanimation 1s forwards;
    opacity: 0;
    visibility: hidden;
}
#gnavi{
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s 0s;
}
nav,
nav::after,
nav::before{
    opacity: 0;
    visibility: hidden;
    transition:0.5s;
}
nav::before,
nav::after{
    content: "";
    display: block;
    position: fixed;
    margin: auto;
    animation-duration: 1s;
    animation-delay: 0s;
}
nav::before{
    background-color: rgba(222, 222, 222, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
nav::after{
    background-color: #fff;
    border-radius: 15px;
    width: 50px;
    height: 50px;
    right: 1%;
    top: 1%;
}
nav.active,
nav.active::before,
nav.active::after,
nav.active #gnavi{
    opacity: 1;
    visibility: visible;
}
nav.active #gnavi{
    transition: 0.5s 0.5s; 
}
#gnavibase{
    position: relative;
    z-index: 1;padding: 50px 5%;
    height: calc(100vh - 2vh);
    overflow-y: auto;
}
#gnavi .sub-menu{
}
.nav_logo{
	max-width:190px;
}

nav.active .navbotn{
	opacity:1;
}
/**********************
* フッター
* ********************/
footer{
    margin-top: 200px;
}
.foot_contacts ul{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    text-align: center;
}
.foot_contacts ul li{
    width: 60%;
    max-width: 530px;
}
.foot_contacts ul a{
    display: block;
    border: 1px  #000;
    border-radius: 3em;
    font-size: 30px;
    height: 10em;
    position: relative;
}
.foot_contacts ul a p{
    position: absolute;
    place-self: center;
    inset: 0;
}
.foot_contacts ul a p span{
    display: block;
    margin-top: 1em;
}
.foot_contacts .foot_yoyaku{
    margin-right: -3%;
}
.foot_contacts .foot_contact{
    
}
.foot_contacts .foot_yoyaku a{
    background-color: #eeb29a;
}
.foot_contacts .foot_contact a{
    background-color: #d8e8cc;
}
#footer{
    margin-top: 100px;
    padding-bottom: 60px;
}
#footer-widget-area{
    margin-top: 1.5em;
}
#footer-widget-area,
#footer-widget-area :is(.menu){
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    gap: 0 1em;
}
#footer-widget-area i{
    font-size: 30px;
}
#footer-widget-area #menu-menu-4 a{
    text-decoration: underline;
}
.foot_logo a{
	max-width:200px;
}



/*リンクボタン*/
.link_box{
    margin-top: 2em;
}
.link_box .link_text{
    display: inline-block;
}
.link_box .link_text span{
    min-width: 250px;
    padding: 0.2em 1em;
    position: relative;
    border: 1px  #000;
    background-color: #5eb1b2;
    border-radius: 2em;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
	color:#fff;
}
.link_box .link_text span::after{
    content: "";
    display: block;
    width: 0.5em;
    height: 0.5em;
	border-right:2px solid #fff;
	border-bottom:2px solid #fff;
    border-color:  transparent #fff #fff transparent ;
    transform: rotate(-45deg);
}

/**********************
* ホーム
* ********************/
.home_content{
    margin-top: 150px;
}
.home_title{
    font-size: 20px;
    margin-bottom: 2em;
}
.home_title span{
    display: inline-block;
    border-bottom: 4px solid #000;
    padding-bottom: 0.2em;
}
.home_headline{
    font-size: 37px;
    line-height: 1.5em;
    margin-bottom: 0.7em;
}

/*スライダー*/
.mv{
    position: relative;
}
.top-mv {
    overflow: hidden;
    margin: auto 0 auto auto;
    height: 850px;
    position: relative;
    width: 87%;
    filter: drop-shadow(0px 0px rgba(0, 0, 0, 0));
    box-sizing: border-box;
}
.top-mv video {
    display: block;
    height: 53.125vw;
    min-height: 100%;
    min-width: 100%;
    border-radius: 20vw 0 0 0;
}
.mySwiper {
    overflow: visible !important;
}
.swiper-slide {
    width: 70%; 
}
.mv_img_wrap {
    width: 100%;
    overflow: hidden;
}
.mv_img_wrap{
    
}
.mv_img_wrap > div{
    padding-top: 54%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border: 1px  #000;
    border-radius: 6vw;
    transition: 0.5s;
    transform: scale(.7);
}
.swiper-slide-active .mv_img_wrap > div{
    border-radius: 31vw 31vw 0 0;
    transform: scale(1);
}
.swiper-slide-prev .mv_img_wrap > div{
    
}
.swiper-slide-next .mv_img_wrap > div{
    
}
.mvtext_box{
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
}
.mvtext{
	width: 10em;
    margin: auto 0 0;
    font-size: 35px;
    margin-top: 5em;
    margin-left: 3vw;
    line-height: 1.5;
}
.mvtext p{
    margin-left: auto;
    margin-right: 1em;
    background-color: #fff;
    padding: 0.5em 1em;
    border-radius: 2em;
}
.mvtext p span{
    display: inline-block;
    position: relative;
    margin-left: 0.2em;
}

/*私たちの理念*/
.home_mainimg{
    padding-top: 74%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    border: 1px  #000;
}
/*保育への取り組み*/
.home_02{
    position: relative;
}
.home_img{
    position: relative;
}
.home_imgsabs > div{
    width: 35%;
}
.home_imgsab{
    padding-top: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.home_imgsabs{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    gap: 6%;
    position: absolute;
    width: 100%;
}
.home_imgsab_01 .imgsab_frame {
    
    -webkit-mask-image: url('images/imgsab_01_mask.svg');
    mask-image: url('images/imgsab_01_mask.svg') ;

    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;

    overflow: hidden;
    position: relative;
}
.home_imgsab_01 .imgsab_frame::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: url('images/imgsab_01_maskborder.svg') no-repeat center / contain;

    pointer-events: none; 
}

.home_imgsab_02{
    border: 1px  #000;
    border-radius: 65px;
    overflow: hidden;
}

.home02_list{
    margin-top: 90px;
}
.home02_ltitle span{
    display: block;
    line-height: 1;
    padding: 1.2em 0.1em;
    width: 4.5em;
    text-align: center;
    border-radius: 1em;
	letter-spacing:0;
}
.home02_list .splide__arrows{
	margin-top:30px;
}
.facilitylist_cat{
	text-align:center;
	margin:1em 0 0;
	color: #5eb1b2;
}
.list_childcare :is(.home02_ltitle span,.link_box .link_text span){
    background-color: #eeb29a;
}
.list_childcare :is(.facilitylist_cat,.facilitylist_aki span){
	color: #eeb29a;
}
.list_support :is(.home02_ltitle span,.link_box .link_text span){
    background-color: #f4ca66;
}
.list_support :is(.facilitylist_cat,.facilitylist_aki span){
	color: #f4ca66;
}
.home_02 .link_box{
    text-align: center;
}
.home02_ltitle{
	margin-bottom:1.5em;
}
.home02_ltitle h2{
    font-size: 30px;
    margin: 1em auto 0;
}
.home02_nav button{
    padding: 1em;
    background-color: #fff;
    border-radius: 1em;
    line-height: 1;
    border: 1px  currentColor;
}

.home02_content .in{
	position:relative;
}
.home02_content .in::before {
	position: absolute;
	top: 85px;
	left: -120px;
	content: "";
	background: #eaf5fa;
	width: 740px;
	height: 440px;
	border-radius: 10px;
	z-index: -1;
}
.hometate_taitl{
	display: -webkit-flex;
    display: flex;
	-webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
}
.home_02 .hometate_taitl{
	-webkit-justify-content: flex-end;
    justify-content: flex-end;
}
.home02_imgs{
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: flex-end;
	justify-content: flex-end;
	-webkit-align-items: flex-end;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 29px;
}
.home02_img{
	border-radius:10px;
	overflow:hidden;
}
.home02_img01{
	width:30%;
}
.home02_img02{
	width:40%;
}
.home02_img03{
	width:100%;
}
.home_02 .hometate_textbox{
	margin-top:50px;
}
.text01 + .text01{
	margin-top:1em;
}
/*ホーム保育の活動*/

.home_03{
    padding: 60px 0;
    z-index: 1;
    position: relative;
    background-color: #eaf5fa;
	container-type: inline-size;
    container-name: home_03;
}
@container home_03 (min-width: 500px) {
	.home03_text {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row-reverse;
        flex-direction: row-reverse;
        gap: 2em;
    }
}
.home03_imgs{
    position: relative;
}
.home03_img{
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
}
.home03_img > div{
	padding-top:100%;
	background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.home03_img_01{
    max-width: 294px;
    width: 50%;
    margin-top: -24%;
    margin-left: 39%;
}
.home03_img_02{
	margin-bottom: -110px;
    margin-left: 50%;
    max-width: 350px;
    width: 61%;
}
.home03_img_03{
	top: 7%;
    right: 0;
    max-width: 360px;
    width: 68%;
    left: -23%;
    position: absolute;
}

/*ホーム保育環境*/
.home_04{
    text-align: center;
}

.home04_list {
    overflow: hidden; 
    width: 100%;
    padding: 50px 0;
}
.home04_list ul {
    display: flex;
    width: fit-content;
    gap: 20px;
    animation: loop-scroll 30s linear infinite;
}

.home04_list li {
    list-style: none;
    flex-shrink: 0; 
    width: 250px;
    animation: fuwafuwa 4s ease-in-out infinite;
}
.home04_list li:nth-child(2n+1){
    width: 300px;
}
.home04_listimg div {
    width: 100%;
    padding-top: 100%;
    border-radius: 20px;
    border: 1px  #000;
    background-size: cover;
    background-position: center;
}

/* アニメーションの設定 */
@keyframes loop-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes fuwafuwa {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
.home04_list li:nth-child(even) {
    animation-delay: -1s;
}
.home04_list li:nth-child(3n) {
    animation-delay: -2s;
}

/*ホームリクルート*/
.home_05{
    display: block;
    border-radius: 2vw 2vw 0 0;
    position: relative;
    overflow: hidden;
}
.home_05 .in{
    position: relative;
}
.home05_title{
    color: #fff;
    font-size: 90px;
    line-height: 1;
    margin-bottom: 0.2em;
	line-height: 1.5;
}
/*ホームお知らせ*/
.home06_title{
    font-size: 45px;
}
.facility-list{
    border-top: 1px solid #5eb1b2;
}
.facility-list li{
    border-bottom: 1px solid #5eb1b2;
}
.facility-list a{
    display: -webkit-flex;
    display: flex;
	-webkit-align-items: center;
    align-items: center;
    gap: 0 1.5em;
   padding: 1em 0;
}
.facility-list a time{
    width: 7em;
    color: #9a9a9a;
}
.facility-list .news_category{
    width: 6em;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
}
.facility-list .news_title{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*ホームインターン*/
.home_07 .in{
	container-type: inline-size;
	container-name: home_07; 
}
.home_07 .in::before{
	content:"";
	display:block;
	position:absolute;
	background-color:#f2f2f2;
	width: 83%;
	right:0;
	
	border-top-left-radius:20px;
	border-bottom-left-radius: 20px;
}
.home07_content{
	position:relative;
}
@container home_07 (min-width: 500px) {
	.home07_content{
		display: -webkit-flex;
		display: flex;
		-webkit-justify-content: flex-end;
		justify-content: flex-end;
		-webkit-flex-direction: row-reverse;
		display: -webkit-flex;
		display: flex;
		-webkit-justify-content: space-between;
		justify-content: space-between;
		gap:30px;
	}
}
	
.home07_img{
	z-index:1;
}
.home_07 .hometate_taitl{
    -webkit-justify-content: end;
    justify-content: end;
}
.hometate_taitl h2{
	font-size: 34px;
	font-weight:bold;
	letter-spacing: -0.4em;
	line-height: 1.5;
}
.hometate_taitl h2 span{
	font-size:0.48em;
	display:block;
	letter-spacing: -0.4em;
	margin-left:1em;
	color:#989898;
}
.hometate_taitl h2 b{
	color: #038abe;
}
.hometate_taitl p.tate{
	position: relative;
	color: #1b22ec;
	padding-top: 1.5em;
	font-size: 0.9em;
}
.hometate_taitl p.tate::before{
	content: "";
    display: block;
    position: absolute;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    border-radius: 50%;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
	
}
.hometate_textbox h3{
	font-size: 27px;
    line-height: 1.5em;
    margin-bottom: 1em;
    color: #2984c0;
    font-weight: bold;
}

/**********************
* 下層ページ
* ********************/
.p_box + .p_box{
    margin-top:70px;
    scroll-margin-top: 150px;
}
.text_box + .text_box{
    margin-top: 2em;
}

/*下層ページヘッダー*/
.content_hed{
    text-align: center;
    font-size: 40px;
    margin: 1em 0 1em;
}
.content_hed p{
    font-size: 0.5em;
}


/*ページナビ-----------*/

.pagination{
    text-align: center;
    margin-top: 60px;
}
.pagination :is(a,span,div){
    display: inline-block;
    min-width: 1.8em;
    min-height: 1.8em;
}
.pagination :is(a,span){
    margin: 5px;
    border: 1px ;
    border-radius: 7px;
}
.pagination a{
    background-color: #f4ca66;
}

/**/

.facility_list ul{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    grid-gap: 1rem;
}
/*施設----------*/
/*施設一覧*/
.facility_list ul{
    gap: 35px;
}
.facility_list li{
}
.facility_list a{
    background-color: #f2f2f2;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 1.5em 1em 1.5em;
    border-radius: 10px;
    height: 100%;
}
.facilitylist_img > div{
    padding-top: 74%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    border: 1px  #000;
}
.facilitylist_title{
    text-align: center;
    font-size: 20px;
    line-height: 1.2;
    margin:0.2em 0px 0.5em;
    font-weight: bold;
}
.facility_list .link_box{
    position: relative;
    z-index: 1;
    margin-top: 1em;
    text-align: center;
	font-size: 0.9em;
}
.facilitylist_address{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
}
.facilitylist_aki{
    background-color: #fff;
    padding: 0.2em 0.5em;
	margin: 1em 0;
}
.facilitylist_aki span{
	display:inline-block;
	color: #5eb1b2;
}
/*施設詳細*/
.facility_content .home_title{
    text-align: center;
}
.facility_hed{
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1;
    padding: 1em 0;
}
.facility_hednav ul{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 1.07em;
}
.facility_hednav ul a{
    padding: 1em;
}
.facility_img{
    width: 100%;
    margin: auto;
}
.facility_img > div{
    height:400px;
    background-position: center;
    background-size: cover;
    border-top: 1px  #000;
    border-bottom: 1px  #000;
    /*border-radius: clamp(10px, 20vw, 190px);*/
}
.facility_02 .home_title{
}
.facility_03{
    padding-top: 70px;
    border-top: 1px  #000;
    border-radius: clamp(10px, 20vw, 190px);
}
.facility_housin{
    width: 90%;
    margin: auto;
}
.facility_housinimgs ul{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px 3%;
    margin-top: 60px;
}
.facility_housinimgs li{
    width: 18%;
}
.facility_housinimg >div{
    padding-top: 100%;
	border-radius: 10px;
    background-size: cover;
    background-position: center;
}
.facility_datasimg + .facility_akibox{
	margin-top:30px;
}
.facility_akibox {
	border: 2px solid #5eb1b2;
    border-radius: 10px;
    padding-bottom: 24px;
    text-align: center;
}
.facility_akibox h3 {
	background: #5eb1b2;
	border-radius: 5px 5px 0 0;
	color: #fff;
	font-size: 20px;
	line-height: 1.2em;
	text-align: center;
	text-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
	padding: 0.5em 0;
	margin-bottom: 1em;
}
.facility_akibox ul{
	display: -webkit-flex;
    display: flex;
	flex-wrap:wrap;
	-webkit-justify-content: center;
    justify-content: center;
	gap:10px;
	padding: 0 20px;
	margin-top:20px;
}
.facility_akibox ul li{
	min-width: 150px;
	padding:0.5em;
	background: #f2f2f2;
	border-radius: 5px;
	font-weight: bold;
	line-height: 1.8em;
	text-align: center;
}
.facility_akibox ul li span{
	display: inline-block;
    margin-left: 1em;
}
.facility_datas table{
    border-top: 1px  #000;
    width: 100%;
}
.facility_datas table tr{
    border-bottom: 1px solid #000;
}
.facility_datas table :is(td,th){
    font-weight: normal;
    padding: 0.5em;
}

.facility_datas table th{
    width: 7em;
}
.facility_datasimg > div{
    padding-top: 67%;
    background-size: cover;
    background-position: center;
    border: 1px  #000;
    border-radius: 10px;
}
.facility_hoikus > ul,
.time_tables{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 432px), 1fr));
    grid-gap: 4rem;
}
.facility_day{
    display: inline-block;
}
.facility_hoikuh span,
.facility_day span{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    min-height: 4.5em;
    min-width: 4.5em;
    padding: 5px 10px;
    background-color: #f4ca66;
    border: 1px  #000;
    border-radius: 1em;
    margin-bottom: -2em;
    position: relative;
    text-align: center;
}
.facility_hoikutext,
.time_tables ul{
    padding: 2.5em 1em 1em 1em;
    border-left: 1px  #000;
    border-top: 1px  #000;
    margin-left: 2em;
}
.time_tables ul li{
    display: -webkit-flex;
    display: flex;
    position: relative;
}
.time_tables ul li:not(:has(.facility_daytime)) .facility_daytimecontent span{
    display: inline-block;
    margin-top: 1em;
    padding: 0.5em 1em;
    border: 1px  #000;
    border-radius: 0.5em;
    background-color: #eeb29a;
}
.facility_gyoujih{
    font-size: 1.2em;
    margin: 1em 0 0.5em;
    border-bottom: 1px solid;
}
.facility_daytime{
    width: 6em;
    padding: 0 1em 1em 1em;
    position: relative;
}
.facility_daytime::before,
.facility_daytime::after{
    content: "";
    display: block;
    position: absolute;
}
.time_tables ul li:not(:nth-last-child(1)) .facility_daytime::before{
    width: 2px;
    height: 100%;
    background-color: #000;
    right: 0;
    top: 0.55em;
}
.facility_daytime::after{
    width: 0.7em;
    height: 0.7em;
    border-radius: 50%;
    background-color: #eeb29a;
    top: 0.5em;
    right: -0.3em;
}
.facility_daytimecontent{
    padding: 0 1em 1em 1em;
    width: calc(100% - 5em);
}
.time_tables ul li:nth-last-child(1) :is(.facility_daytime,.facility_daytimecontent){
    padding-bottom: 0;
}
.facility_gyoujis_list ul{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.facility_gyoujis_list ul li{
    padding: 2em;
    border: 1px  #000;
    border-radius: 45px;
}
.facility_gyoujis_list ul li h3{
    font-size: 32px;
    margin-bottom: 0.2em;
}
.facility_gyoujis_list ul li h4{
    margin: 0 0 0.5em;
    /*display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 2px;
    background-color: #f4ca66;
    border: 1px  #000;
    border-radius: 1em;
    position: relative;
    text-align: center;
    */
    
}
.facility_gyoujis_list ul li h4 span{
    border-bottom: 2px ;
    display: inline-block;
}
.facility_katudou + .facility_mokuhyou{
    margin-top: 2em;
}
.facility_cosing_notes{
    margin-top: 3em;
}
.facility_map {
    overflow: hidden;
    border-top: 1px  #000;
    border-bottom: 1px  #000;
    border-radius: 10px;
    height: 500px;
}
.facility_map iframe{
    width: 100%;
    height: calc(100% + 200px);
    margin-top: -120px;
}
/*お知らせ--------------*/
/*お知らせ一覧*/
.news_category span{
    display: inline-block;
    font-size: 12px;
    padding: 0.2em 1em;
    border-radius: 3px;
    background-color: #f4ca66;
}
.news_category span.news{
    background-color: #dcbd72;
}
.news_category span.event{
    background-color: #b4d4c6;
}
.news_list a{
    padding: 1.5em 0;
    border: 1px #000;
    display: block;
	height: 100%;
}
.news_listig div{
    padding-top: 64%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    border: 1px solid #ccc;
}
.news_list time{
    font-size: 12px;
    display: block;
}
.news_list :is(.news_datas,.news_category){
	display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
	flex-wrap:wrap;
	gap:10px;
}
.news_title{
    display: block;
}
.news_list .post_category{
    font-size: 0.9em;
}
.news_listcontent{
	display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news_list li {
	container-type: inline-size;
    container-name: news_list;
}
.news_list a{
	position: relative;
}
	.news_list a::before{
		content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #ccc;
	}
.postlist_box :is(.news_list ul){
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr));
}
@container news_list (min-width: 550px) {
	
	.news_list a{
		display: -webkit-flex;
		display: flex;
		-webkit-justify-content: space-between;
		justify-content: space-between;
	}
	.news_listig{
		width:40%;
	}
	.news_listtextbox{
		width:55%;
	}
	
}
.news_sidenav + .news_sidenav{
	margin-top:2em;
}
.news_sidenav h4{
	border-bottom:1px solid #000;
	font-weight:600;
}
.news_sidenav ul{
	font-size:0.85em;
}
.news_sidenav a {
	margin-top:10px;
}
.news_sidenav a i{
	width: 2em;
    height: 2em;
    font-size: 0.9em;
    padding: 0.5em 0;
    text-align: center;
    background-color: #f4ca66;
    border-radius: 50%;
    margin-right: 0.5em;
}
/*お知らせ詳細*/
.news_itemtaim{
    font-size: 13px;
}

.news_itemtaim{
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em 1em;
}
.news_itemtaitl {
    font-size: 30px;
    margin: 0.5em 0;
}
.content_nav{
    margin-top: 60px;
    text-align: center;
}
.content_nav ul{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    gap:1em;
}
.content_nav ul :is(a,sapn){
    display: inline-block;
    width: 2em;
    height: 2em;
    border-radius: 10px;
    border: 1px ;
}
.content_nav ul sapn{
    opacity: 0.5;
}

/*詳細ページ*/

.basebox img{
    display: block;
}
.basebox img.alignleft{
    float: left;
}
.basebox img.aligncenter{
    margin: auto;
}
.basebox img.alignright{
    float: right;
}
.basebox :is(td, th),
.facility_hoikutext :is(td, th){
    padding: revert-layer;
}
.basebox :is(ul,ol),
.facility_hoikutext :is(ul,ol){
    list-style: auto;
    margin-left: 1em;
}
.basebox :is(li),
.facility_hoikutext :is(li){
    list-style: inherit;
}
/*下層ページ見出し*/
.basebox, #p_base {
    & h2 {
        font-size: 42px;
        margin-bottom: 0.3em;
    }
    & h3 {
        font-size: 22px;
        margin-bottom: 0.3em;
    }
    & h4 {
        font-size: 20px;
        margin-bottom: 0.3em;
        border-bottom: 1px  #000;
    }
    & h5 {
        font-size: 1.1em;
        margin-bottom: 0.3em;
    }
    & h6 {
        font-weight: 600;
    }
    
}
/*固定ページ------------*/
.nolist{
    padding-left: 1em;
}
.nolist li::first-letter{
    margin-left: -1em;
}
.sanhou{
    padding: 0.5em;
    border-radius: 50%;
    border: 1px ;
}
.ten_r{
    text-align: right;
}
/*お問いわせ*/
/*----------お問い合わせ----------*/

.contectfomw{
    margin-top: 1em;
    
    & .foomhedkom span{
        color: #ca750d;
    }
    & th span{
        color: #ca750d;
        font-size: 11px;
        display: inline-block;
        vertical-align: top;
    }
    & td :is(.name,.mail,.taitl, .wpcf7-validates-as-required){
        width: 100%;
    }
    & td :is(input, textarea){
        padding: 10px 5px;
        border: none;
        border-radius: 0;
        background: #f1f1f1;
        color: #6c6c6c;
        letter-spacing: .1em;
    }
    & td p{
        font-size: 12px;
        margin-bottom: 10px;
        line-height: 1.45;
    }

}
.contct_botm{
    text-align: center;
    margin-top: 30px;
}
.contct_botm input{
    border: none;
    padding: 10px 40px;
    background-color: #808080;
    color: #fff;
}

/*私たちの保育*/
.business-item{
	margin-top:70px;
	scroll-margin-top: 150px;
}
.hoikutop{
	text-align:center;
}
.business-nav{
	display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
	flex-wrap:wrap;
	gap:0.5em 1em;
	margin: 1em 0 2em;
}
.business-nav a{
	padding:0.5em;
	position:relative;
}
.business_boxs{
	position:relative;
}
.business_meinimg > div{
	height:500px;
	border-radius: 5px;
	scroll-snap-align: center;
    overflow: clip;
    /* background-attachment: fixed; */
    background-size: 120%;
    background-position: top center;
    animation: linear reveal both;
    animation-timeline: view(block);
    animation-range: cover 30% cover 80%;
}
@keyframes reveal {
	from {
		background-position: top center;
	}
	to {
		background-position: bottom center;
	}
}
.business_name{
	position: absolute;
    right: 0;
    top: 0;
    bottom: auto;
    left: auto;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}
.business_name p{
	position: absolute;
    left: auto;
    width: auto;
    background-color: #fff;
    border-radius: 0 0 0 5px;
    padding: 0 20px 20px 15px;
    /* height: auto; */
    margin: 0;
    font-size: 2.2rem;
    transform: scaleY(0.9);
    transform-origin: 0 0;
}
.business_policy{
	position: absolute;
    top: auto;
    right: auto;
    left: 0;
    bottom: 0;
    width: auto;
    height: 200px;
    margin: 0;
}
.business_policy p{
	position: relative;
    margin: 0;
    padding: 25px 20px 0 20px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 0 5px 0 0;
    writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-feature-settings: normal;
}
.business_name p::before,
.business_name p::after,
.business_policy p::before,
.business_policy p::after{
	position: absolute;
    display: block;
    width: 15px;
    height: 15px;
    content: "";
    background-image: url(images/business_round.svg);
    background-size: cover;
}
.business_name p::before,
.business_name p::after{
	transform: rotate(180deg);
}
.business_name p::before{
	top: 0;
    left: -15px;
}
.business_name p::after{
	right: 0;
    bottom: -15px;
}
.business_policy p::before{
	left: 0;
    top: -15px;
}
.business_policy p::after{
	bottom: 0;
    right: -15px;
}

.business_facilitys{
	margin-top:50px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    grid-gap: 3em;
	
	& a{
		display: block;
	}
	& .business_facilitysimg{
		margin-bottom:1em;
	}
	& .business_facilitysimg > div{
		padding-top: 65%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 5px;
	}
	& p{
		font-size:13px;
	}
	& .facilitytext{
		font-size:13px;
		margin-top:1.5em;
	}
}
/*保育実習*/
.internship_01 {
	overflow-x: hidden;
    overflow-y: visible;
}
.internship_01 .in{
	text-align: center;
    position: relative;
	padding-bottom: 18%;
}
#p_base .internship_01 h3{
	font-weight: 500;
    font-size: 33px;
    line-height: 1.5;
    margin: 1em 0;
	position: relative;
    z-index: 1;
}
.internship_01 p{
	position: relative;
    z-index: 1;
}
.internship01_imgs{
	position:absolute;
	max-width: 400px;
	padding: 1%;
}
.internship01_imgs span{
	display:block;
	padding: 3%;
	background-color:#fff;
	box-shadow: 0px 0px 15px -5px #777777;
}
.internship01_01{
    width: 18%;
	max-width: 230px;
	top: 67px;
    left: -2%;
    transform: rotate(-18deg);
}
.internship01_02{
	width: 25%;
	max-width: 350px;
    bottom: 11%;
    left: -8%;
    transform: rotate(18deg);
}
.internship01_03{
    width: 27%;
	max-width: 330px;
	top: 160px;
    right: -5%;
    transform: rotate(-17deg);
}
.internship01_04{
    width: 17%;
	max-width: 230px;
    bottom: 7%;
    right: -6%;
    transform: rotate(22deg);
}
.internship_02,
.internship_03{
	padding:100px 0;
}
.internship_02 ,
.internship_02 .in,
.internship_03,
.internship_03 .in{
	position:relative;
}
.internship_02::before,
.internship_03::before{
	position: absolute;
	top: 0;
	content: "";
	background: #f2f2f2;
	width: 80%;
	height: 100%;
	z-index: -1;
}
.internship_02::before{
	right: 20%;
	border-radius: 0 10px 10px 0;
}
.internship_03::before{
	left: 20%;
	border-radius:  10px 0 0 10px;
}

.internship02_ukeire h4{
    color: #2984c0;
    font-weight: bold;
}
.internship02_ukeire{
	display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 105px;
    max-width: 990px;
	width: 100%;
    margin: 60px auto 0;
	padding: 50px 20px;
    position: relative;
	
	background-image: radial-gradient(circle, #2984c0 2.5px, transparent 2.5px), radial-gradient(circle, #2984c0 2.5px, transparent 2.5px), radial-gradient(circle, #2984c0 2.5px, transparent 2.5px), radial-gradient(circle, #2984c0 2.5px, transparent 2.5px);
	background-position: left top, right top, left bottom, left top;
	background-repeat: repeat-x, repeat-y, repeat-x, repeat-y;
	background-size: 21px 5px, 5px 21px, 21px 5px, 5px 21px;
}
.internship02_ukeire h4{
	margin-bottom:0;
}
.internship03_list{
	margin-top:80px;
}
.internship03_list ul{
	counter-reset: my-counter;
}
.internship03_list li{
	display: flex;
	background-color: #fff;
	border: 4px solid #008cbe;
	border-radius: 15px;
	position: relative;
	overflow: hidden;
}
.internship03_list li::before{
	counter-increment: my-counter;
    content: counter(my-counter, decimal-leading-zero) "";
    font-weight: bold;
    position: absolute;
    width: 3em;
    height: 3em;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    font-size: 30px;
    background-color: #2984c0;
    color: #fff;
    border-radius: 50%;
    margin: auto;
}
.internship03_list li:nth-child(2){
	border-color:#ff7caf;
}
.internship03_list li:nth-child(2)::before{
	background-color:#ff7caf;
}
.internship03_list li:nth-child(3){
	border-color:#17b586;
}
.internship03_list li:nth-child(3)::before{
	background-color:#17b586;
}
.internship03_list li:nth-child(4){
	border-color:#fdc110;
}
.internship03_list li:nth-child(4)::before{
	background-color:#fdc110;
}
.internship03_listimg{
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;
}
.internship03_list h4{
	font-weight:bold;
}
/*取り組み*/
#p_base .initiatives-box{
	& h3.initiatives-title{
		text-align: center;
        font-size: 34px;
        line-height: 1.5;
        margin-bottom: 1.5em;
	}
}
.initiatives-content-list ul{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 203px), 1fr));
	grid-gap: 4em 3em;
	& h4{
		text-align:center;
		font-size:22px;
	}
	& .initiatives-img{
		margin-bottom:1em;
		
		& > div{
			padding-top: 100%;
            border-radius: 50%;
            border: 3px solid #2984c0;
            background-position: center;
            background-size: cover;
		}
	}
}

