@charset "utf-8";

/*---------------- メインビジュアル ----------------*/
#main{
	background-image: url(../img/index/mainvisual-bg.png);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: 170% 36%;
}
#main #main-inner{
	position: relative;
	width: 100%;
	padding: 0;
	margin: 0 auto;
	z-index: 2;
	height: 1080px;
}
#main:after {
	content: "";
	display: block;
	background-position: bottom center;
	background-repeat: no-repeat;
	background-size: 100% auto;
	z-index: -1;
	position: relative;
	width: 100%;
	margin: -23px 0 auto;
	height: 110px;
	background-image: url(../img/index/main-inner-bg-sp.png);
}
#mainvisual{
	padding-bottom: 0;
	width: 96%;
	margin: 0 auto;
	height: 960px;
}
#mainvisual h2,#mainvisual .lead{
	position: absolute;
	z-index: 52;
}
#mainvisual .copy{
	position: absolute;
	z-index: 52;
}
#mainvisual h2{
	bottom: 0;
	left: 2%;
	width: 96%;
}
#mainvisual .lead{
	 width: 58%;
	 top: 130px;
	 right: 3%;
}

/* イラスト配置 */
.mainvisual-deco{
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	pointer-events: none;
	height: 1200px;
}
.mainvisual-deco img:not(#mainvisual-deco-bg){ position: absolute;}
#mainvisual-deco-wood{
	z-index: 53;
	width: 15%;
	bottom: 11px;
	left: 5%;
}
#mainvisual-deco-leaf{
	display: block;
	width: 22%;
	bottom: 300px;
	left: -3%;
	z-index: 0;
}
#mainvisual-deco-giraffe{
	z-index: 53;
	width: 38%;
	bottom: 7px;
	right: 5%;
}
#mainvisual-deco-butterfly-left{
	width: 42px;
	bottom:227px;
	left: 0;
}
#mainvisual-deco-butterfly-right{
	width: 42px;
	bottom: 127px;
	right: 20px;
	margin-bottom: 60px;
}
#mainvisual-deco-snail{
	z-index: 53;
	width: 9%;
	bottom: 2.8em;
	left: 30%;
}
#mainvisual .copy, #mainvisual-deco-airplane, #mainvisual-deco-backwood, #mainvisual-deco-butterfly-left, #mainvisual-deco-butterfly-right, #mainvisual-deco-green{ display: none; }

#mainvisual-deco-rain-right{
	z-index: -1;
	bottom: 256px;
	width: 22%;
	right: -3%;
}

#mainvisual-deco-rain-left {
	top: 160px;
	z-index: 1;
	width: 22%;
	left: 0;
}
/* アニメーション */
#mainvisual-deco-butterfly-left, #mainvisual-deco-wood, #mainvisual-deco-giraffe{animation:FloatRightUp 2s ease-in-out infinite alternate;}
#main:after{animation:FloatRightDown 2s ease-in-out infinite alternate;}
#mainvisual-deco-butterfly-right, #mainvisual-deco-airplane{animation:FloatLeftUp 2s ease-in-out infinite alternate;}
#mainvisual-deco-rain-left, #mainvisual-deco-backwood, #mainvisual-deco-green, #mainvisual-deco-rain-right{animation:FloatLeftDown 2s ease-in-out infinite alternate;}
#mainvisual-deco-snail{animation:FloatRight 2s ease-in-out infinite alternate;}

@keyframes FloatRightUp{
	0%{transform:translate3d(0,0,0);}
	100%{transform:translate3d(15px,-15px,0)}
}
@keyframes FloatRightDown{
	0%{transform:translate3d(0,0,0);}
	100%{transform:translate3d(15px,12px,0)}
}
@keyframes FloatRight{
	0%{transform:translate3d(0,0,0);}
	100%{transform:translate3d(15px,0,0)}
}
@keyframes FloatLeftUp{
	0%{transform:translate3d(0,0,0);}
	100%{transform:translate3d(-15px,-15px,0)}
}
@keyframes FloatLeftDown{
	0%{transform:translate3d(0,0,0);}
	100%{transform:translate3d(-15px,15px,0)}
}

/*	スライダー */
.svgmasks{
	height: 0;
	width: 0;
}

#mainvisual-slide{
	top: 180px;
	position: relative;
}

#mainvisual-slide .bx-wrapper svg{
	width: 99%;
	height: 99%;
}
.bx-wrapper {
	margin: 0 auto;
	position: relative;
	background: none;
	border: 0;
	box-shadow: none;
	overflow: hidden;
	width: 100%;
	height: 100%;
}
#mainvisual-slide:before{
	position: absolute;
	background-image: url(../img/index/mainvisual-frame.png);
	background-repeat: no-repeat;
	z-index: 51;
	content: "";
	pointer-events: none;
	width: 101%;
	background-size: 100% auto;
	height: 750px;
	top: -2px;
	left: -1%;
}

/*	スライダーページャーカスタム */
.custom-pager{
	position: absolute;
	width: 100%;
	z-index: 99;
	bottom: 260px;
	left: 0;
}
.custom-pager .bx-pager {
	text-align: center;
	font-size: .85em;
	font-family: Arial;
	font-weight: bold;
	color: #fff;
}
.custom-pager .bx-default-pager a {
	width: 22px;
	height: 22px;
	margin: 0 8px;
	text-indent: -9999px;
	display: inline-block;
	outline: 0;
	border-radius: 12px;
}
.custom-pager .bx-default-pager a.active {
	width: 17px;
	height: 17px;
	background: #fff;
	vertical-align: -1.6px;
}
.custom-pager .bx-default-pager a:link, .custom-pager .bx-default-pager a:visited {background: #fff;}
.custom-pager .bx-default-pager a:hover,.custom-pager .custom-pager .bx-default-pager a:active, .bx-default-pager a:focus {background: #ae8249;}

.custom-pager .bx-pager .bx-pager-item, .custom-pager .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	*zoom: 1;
	*display: inline;
}

/*---------------- 2つの支援サービス ----------------*/
#top-service{
	position: relative;
	margin-top: -9px;
}
#top-service #top-service-inner {
	width: 94%;
	margin: 50px auto 90px;
	text-align: center;
}
#top-service:before {
	content: "";
	display: block;
	width: 100%;
	margin: 0 auto;
	background-position: top center;
	background-repeat: no-repeat;
	z-index: 53;
	position: relative;
	height: 44px;
	background-image: url(../img/index/top-service-bg-sp.png);
	background-size: auto;
}
#top-service:after{
	content: "";
	display: block;
	height: 436px;
	background-image: url(../img/index_media/top-service-bg-dot.png);
	position: absolute;
	background-repeat: no-repeat;
	background-position: top left;
	bottom: -300px;
	left: -50px;
	z-index: 100;
	width: 172px;
}
#top-service h3,
#top-ryouiku h3,
#top-section3 h3{
	width: 90%;
	margin: 0 auto 10px;
}
#top-service ul{
	display: block;
	width: 96%;
	margin: 0 auto 30px;
}
#top-service ul li{
	width: 100%;
	margin: 0 auto 50px;
}
#top-service h4{
	font-size: 2em;
	background-position: bottom center;
	background-repeat: no-repeat;
	background-size: auto 23px;
	padding-bottom: 23px;
	margin: 20px 0 35px;
}
#top-service #top-service-jidou h4{	background-image: url(../img/index/top-service-jidou-deco.png);}
#top-service #top-service-houkago h4{	background-image: url(../img/index/top-service-houkago-deco.png);}

/*---------------- 充実した療育 ----------------*/
#top-ryouiku{ position: relative;}

#top-ryouiku-inner{
	width: 96%;
	margin: 0 auto;
	padding: 50px 0;
	background-color: #fff;
	text-align: center;
}
#top-ryouiku p {margin-bottom: 50px;}

#top-ryouiku p span{
	font-size: 1.375em;
	background:linear-gradient(transparent 60%, #fff3a6 60%);
}
#top-ryouiku ul{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	width: 90%;
	margin: 0 auto;
}
#top-ryouiku ul li{
	width: 47%;
	margin: 0 0 30px 0;
}
#top-ryouiku ul li:nth-child(3), #top-ryouiku ul li:last-child{margin-right: 0;}
#top-ryouiku ul li:nth-child(even){ margin-left: 6%;}

/**セクション3　療育環境へのこだわり**/
#top-section3{
	background-image: url("../img/index/section3_bg.gif");
	height: 2820px;
}
#top-section3 p{
	margin: auto;
	font-size:32px;
	line-height: 2.6rem;
	text-align: center;
	width: 96%;
	margin-bottom: 30px;
}
#top-section3-inner{
	margin: auto;
	text-align: center;
	padding-top: 64px;
	padding-bottom: 90px;
	position: relative;
}
#top-section3-inner img{
	width: auto;
}
.top-section3-box{
	margin: auto;
	width: 640px;
	text-align: center;
	margin-bottom: 90px;
}
.top-section3-box img{
	width: 540px !important;
}
#top-section3-inner .top-section3-box:nth-last-of-type(3){
	top: 250px;	
	left:50px;
}
#top-section3-inner .top-section3-box:nth-last-of-type(2){
	left: 470px;
	top: 380px;
}
#top-section3-inner .top-section3-box:nth-last-of-type(1){
	right: 30px;
	top: 500px;	
}
.top-section3-box h4{
	background-image: url(../img/index/top-service-jidou-deco.png);
	font-size: 1.63em;
	background-position: bottom center;
	background-repeat: no-repeat;
	padding-bottom: 18px;
	margin: 15px 0 30px;
	display: inline-block;
	background-size: 100%;
}
.top-section3-box:nth-last-of-type(1) h4{
	padding-bottom: 28px;
}

/**那覇・浦添施設の一覧**/
#top-section4-inner{
	width: 96%;
	margin: 0 auto;
	padding: 77px 0 57px;
	background-color: #fefefe;
	text-align: center;
}
#top-section4-inner img{
	width: auto;
}
#top-section4-inner #top-section4-menu li{
	display: inline-block;
	background-image: url("../img/index/tab_off.png");
	background-repeat: no-repeat;
	background-position: center;
	color: #fefefe;
	width: 295px;
	height: 54px;
	font-size:30px;
	padding-top: 27px;
	text-align: center;
	margin-left: 5px;
	margin-right: 5px;
}
#top-section4-inner #top-section4-menu{
	margin: auto;
	background-image: url("../img/index/tab_line.png");
	background-repeat: no-repeat;
	background-position: center bottom 1px;
	text-align: left;
	padding-left: 10px;
	padding-right: 10px;
	margin-top: 40px;
}
#top-section4-inner #top-section4-menu .tab_active{
	background-image: url("../img/index/tab_on.png");
	color: #ae8249;
}
#top-facility-wrap{
	margin: auto;
	position: relative;
	height: 800px;
	padding-top: 60px;
}
.top-facility-box{
	position: absolute;
	text-align: left;
	padding-left: 50px;
	padding-right: 50px;
}
.top-facility-box div:nth-child(1) img{
	width: 261px !important;
}
.top-facility-box .address{
	text-align: left;
	font-size: 36px;
	font-family: "MPLUS-B-ex", "Noto Sans", "Noto Sans CJK JP", "Noto Sans CJK JP Subset", sans-serif;
	margin-top: 50px;
}
.top-facility-box .address li{
	font-size: 32px;
	font-family: "MPLUS", "Noto Sans", "Noto Sans CJK JP", "Noto Sans CJK JP Subset", sans-serif;
	margin-bottom: 10px;
}
.top-facility-box .address ul{
	margin-top: 40px;
}
.top-facility-box .address li:nth-child(1){
	background-image: url("../img/index/section4_address.png");
	background-position: left;
	background-repeat: no-repeat;
	padding-left: 40px;
}
.top-facility-box .address li:nth-child(2){
	background-image: url("../img/index/section4_phone.png");
	background-position: left;
	background-repeat: no-repeat;
	padding-left: 40px;
}
.top-facility-box .address li:nth-child(3){
	background-image: url("../img/index/section4_fax.png");
	background-position: left;
	background-repeat: no-repeat;
	padding-left: 40px;
}
.top-facility-box .btn_wrap{
	margin-top: 50px;
	margin-left: -25px;
}
#facility_1{
	display: none;
}

/*---------------- ブログエリア ----------------*/
#top-blog{
	background-image: url(../img/index/top-blog-bg.jpg);
	padding: 50px 0;
}
#top-blog-inner{
	position: relative;
	background-color: rgba(255,255,255,0.85);
	text-align: right;
	width: 84%;
	margin: 0 auto;
	padding: 3%;
}
#top-blog-inner:before{
	content: "";
	display: block;
	position: absolute;
	background-image: url(../img/index/top-blog-deco.png);
	background-repeat: no-repeat;
	width: 259px;
	height: 290px;
	bottom: auto;
	top: -50px;
	left: auto;
	background-size: auto 122%;
	right: -7%;
	transform: rotate(-64deg);
	background-position: bottom right;
}
#top-blog h3{
	position: absolute;
	width: 42%;
	top: -21px;
	left: -15px;
}
#top-blog h3 div{
	position: absolute;
	top: 130px;
	left: 50px;
	font-size: 39px;
}
#top-blog .top-blog-btn{
	position: absolute;
	width: 26%;
	top: 57px;
	left: 33%;
}
#top-blog h3 #top-blog-b{
	font-size: 56px;
}
#top-blog .top-blog-btn:hover {transform: translate(3px,3px);}
#top-blog ul{
	width: 95%;
	text-align: left;
	display: block;
	margin: 0 auto 1em;
	padding-top: 280px;
}
#top-blog ul li{
	background-image: url(../img/common/top-blog-deco-line.png);
	background-repeat: repeat-x;
	margin-bottom: 25px;
	background-position: left top;
	padding: 25px 0 0;
}
.index_blog_a{
	line-height: 1.75em !important;
}


/*---------------- バナーエリア ----------------*/
#top-bnr-inner{
	background-color: #fff;
	text-align: center;
	width: 96%;
	padding: 50px 0;
	margin: 0 auto;
}
#top-bnr ul{
	padding-left: 5px;
	margin:20px auto;
}

#top-bnr li{
	width: 94%;
	margin:0 auto 30px;
	display: inline-block;
	text-align: left;
}
#top-bnr li:last-child{ margin-bottom:0;}
#top-bnr li a{
	display: block;
	position: relative;
	background-color: #8fb041;
	border-radius: 13px;
	-webkit-transition: none;
	transition: none;
	width: 100%;
	height: 255px;
	font-size: 0.8em;
}
#top-bnr li a:active {
	top: 3px;
	box-shadow: none;
}
#top-bnr li a img{
	vertical-align: bottom;
	position: absolute;
	top: -5px;
	left: -5px;
}
#top-bnr li a p{
	position: absolute;
	font-size: 1.4em;
}
#top-bnr li a span{
	line-height: 1em;
	padding: 2.4px;
	margin-bottom: 4px;
	display: inline-block;
}
#top-bnr li a:hover {
	top: -4px;
	box-shadow: 0 3px 0 #8fb041;
}
/*	バナーエリア 寄付 */
#top-bnr .bnr-kihu a p{
	left: 20px;
	bottom: 31px;
}
#top-bnr .bnr-kihu a span{
	background-color: #fff;
	color: #8fb041;
}
/*	バナーエリア 見学 */
#top-bnr .bnr-tour a p{
	display: block;
	width: 100%;
	text-align: center;
	left: -3px;
	bottom: 36px;
}
#top-bnr .bnr-tour a span{ color: #926223;}

#footer-map{
	width: 100%;
	height: 448px;
	vertical-align: bottom;
}

/*---------------- link-gotop ----------------*/
#link-go-top {
	width: 20%;
	height: auto;
	right: 10px;
	bottom: 20px;
}

