/*
Theme Name: paso room
*/

@media screen and (max-width:768px) {

	.sp {display: block;}
	#side_fixed {display: none;}
    img {max-width: 100%;}
    iframe {
        width:100% !important;
        height:400px !important;
    }
    .wrap {width:100%;}
    html, body {
    	height: 100%;
    }

	header {
		background: url(/img/bg_header.png) repeat-x;
	}
	header .wrap {
		position: relative;
		padding-top: 20px;
	}

	header #logo {
		width:calc(100% - 50px);
	}

	#sp_menu_btn {
		display:block;
		position: absolute;
		top:30px;
		right:10px;
		width:36px;
		height: 36px;

	}

	header .haeder_link {
		position: absolute;
		top:53px;
		right:6px;
		width:523px;
		height: 112px;

		width:100%;
		height:auto;
		background: #aaf;

		display: none;

	}

	header .totuka_room ,
	header .yayoidai_room {
		display: block;
		position: absolute;
		width:290px;
		height:36px;
		width:48%;
		height:auto;
		top:0;
		left:0;
	}

	header .yayoidai_room {
		top:37px;
	}

	header .taiken_lesson {
		display: block;
		position: absolute;
		width:225px;
		height:72px;
		width:48%;
		height:auto;
		top:0;
		right:0;

	}

	header nav {
		display: none;
		position: fixed;
		height: auto;
		width:100%;
		z-index: 100000000;
	}

	header nav ul {
	}

	header nav > ul >li:hover ul {
		display: none;
		border-top:1px #aaa dotted;
	}


	header nav ul li {
		display: block;
		width:100%;
		height:60px;
		margin: 0;
		padding: 0;
		text-align: left;
	}
	header nav ul li a {
		display: block;
		font-size:18px;
		height:100%;
		width:100%;
		line-height: 60px;
		padding-left: 25px;
		padding-right: 25px;
		background: #fff;
		border-bottom:1px #aaa dotted;
		box-sizing: border-box;
	}

	header nav li a:hover {
		border-bottom:1px #04f solid;
	}

	body main {
		width:100%;
		margin-left:auto;
		margin-right:auto;
	}

	article#main_content {float:none;width:100%;}
	aside#sidebar {float: none;width: 100%;}

	.content_header {
		font-size:20px;
		margin-bottom: 30px;
	}


	#rel_contents h3 {
		width:100%;
		color:#fff;
		background: #303A7F;
		margin:25px 0 10px;
		padding: 10px 15px;
		font-size:18px;
		font-weight: normal;

	}

	#kizi_list {
		padding-top: 30px;
	}

	#kizi_list li ,
	#rel_contents li {
		float:left;
		width:190px;

		width:48%;
		margin-right:0;
		margin-bottom: 20px;
		padding:0px;
		font-size:14px;
		color:#333;
	}

	#kizi_list li:nth-child(4n) ,
	#rel_contents li:nth-child(4n) {
		float:right;
		margin-right: 0;
	}
	#kizi_list li:nth-child(2n) ,
	#rel_contents li:nth-child(2n) {
		float:right;
		margin-right: 0;
	}
	#kizi_list li:nth-child(4n+1) ,
	#rel_contents li:nth-child(4n+1) {
		clear:both;
	}
	#kizi_list li:nth-child(2n+1) ,
	#rel_contents li:nth-child(2n+1) {
		clear:both;
	}
	#kizi_list li img ,
	#rel_contents li img {
		width:190px;
		height:190px;

		width:100%;
		height: auto;

		object-fit: cover;
	}


	#bottom_contact {
		position: relative;
		margin:30px 000;
		width: 860px;
		height:213px;
background: url(/wp/img/page_exit_bg_sp.jpg) no-repeat top left;
		width:100%;
		height:auto;
padding:25px 0px;
	}

	#bottom_contact_contact,
	#bottom_contact_mousikomi {
		position: absolute;
		display: block;
		width:360px;
		height: 88px;

		position: static;
		width:80%;
		height:auto;

	}
	#bottom_contact_mousikomi ,
	#bottom_contact_contact {
		margin-left:auto;
		margin-right:auto;
	}


	footer {
		padding-top: 30px;
		background: url(/img/bg_header.png) repeat-x top center;
	}

	footer small {
		display: block;
		margin-top:5px;
		margin-bottom: 30px;
		text-align: center;
		font-size:12px;
		color:#666;
	}

	footer #footer1 {}
	footer #footer1 dt {margin:0 0 15px 0;padding: 0;}
	footer #footer1 dd {margin:0 0 5px 0;padding: 0 15px;}
	footer #footer1 dt a {font-size:16px;color:#111;}
	footer #footer1 dd a {font-size:14px;color:#505050;}
	footer #footer1 dl.f_navi01 {float: none;width:100%;padding:10px 10px 0 10px;border-top:1px #aaa dotted;box-sizing: border-box;}
	footer #footer1 dl.f_navi02 {float: none;width:100%;padding:10px 10px 0 10px;border-top:1px #aaa dotted;box-sizing: border-box;}
	footer #footer1 dl.f_navi03 {float: none;width:100%;padding:10px 10px 0 10px;border-top:1px #aaa dotted;box-sizing: border-box;}
	footer #footer1 dl.f_navi04 {float: none;width:100%;padding:10px 10px 0 10px;border-top:1px #aaa dotted;box-sizing: border-box;}
	footer #footer1 dl.f_navi05 {float: none;width:100%;padding:10px 10px 0 10px;border-top:1px #aaa dotted;box-sizing: border-box;}
	footer #footer1 dl.f_navi06 {float: none;width:100%;padding:10px 10px 0 10px;border-top:1px #aaa dotted;box-sizing: border-box;}
	footer #footer1 #footer_logo {clear: both;display: block;width: 75%;margin:0 auto 30px;}

	footer #footer2 .school1{float: none;width:98%;margin:0 auto 20px;font-size:14px;}
	footer #footer2 .school2{float: none;width:98%;margin:0 auto 20px;font-size:14px;font-style: normal;}

	footer #footer3 {
		margin-top: 50px;
		padding: 15px 0;
		background: #fef1d3;
	}

	footer #footer3 p {
		text-align: center;
		font-size: 13px;
		color: #111;
	}

	footer #footer4 {
		padding: 15px 0 90px ;
		background: #3e8c3b;
		text-align: center;
	}

	footer #footer4 small {
		display: inline;
		color:#000;
	}

	#footer_sp_fixed {
		position: fixed;
		bottom:-5px;
		left:0;
		width:100%;
		padding: 0;
		margin:0;

	}

	#test {
		position: fixed;
		display: block;
		width:100%;
		bottom: 30px;
		left:0;
		background: #000;
		color:#fff;
	}

	#footer_sp_fixed a {
		float: left;
		display: block;
		width: 25%;
		height: auto;
	}

	#top_slide {
		margin:10px 0 0 0 ;
	}

	section#top01 {
		margin-top:20px;
		padding: 39px 0 37px;
		text-align: center;
		background: #FFF1D4;
	}

	section#top01 li {
		display: block;
		display: inline-block;
		width:360px;
		width:30%;
		margin-left:auto;
		margin-right:auto;
		margin-left:2px;
		margin-right:2px;
	}
	section#top01 li:nth-child(2) {
		margin-left:35px;
		margin-right:35px;
		margin-left:auto;
		margin-right:auto;
		margin-left:2px;
		margin-right:2px;

	}

	section#top02 {
		margin-top:55px;

	}

	section#top02 h2 ,
	section#top03 h2 ,
	section#top04 h2 ,
	section#top05 h2 ,
	section#top07 .box1 h2.blog1 {
		font-weight: normal;
		color:#FD4E00;
		border-left:2px #FD4E00 solid;
		font-size:30px;
		margin-left: 15px;
		padding: 0 0 0 10px;
		line-height: 1;
		margin-bottom: 36px;
	}
	section#top02 h2 span ,
	section#top03 h2 span ,
	section#top04 h2 span ,
	section#top05 h2 span ,
	section#top07 .box1 h2.blog1 span {
		display: inline-block;
		font-size:18px;
		margin-left:20px;
	}

	section#top02 ul {
	}

	section#top02 ul li {
		display:block;
		float: none;
		width:360px;
		width: 90%;
		margin-bottom: 50px;
		margin:0 auto 30px;
	}

	section#top02 ul li:nth-child(3n+2) {
		margin-left:35px;
		margin-right:35px;
		margin:0 auto 30px;

	}

	section#top02 ul li time {
		display: inline-block;
		font-size: 12px;
		line-height: 1.2;
		color:#666;
		padding: 0 10px 0 20px;
		margin-right:10px;
		border-right:1px #666 solid;
		background: url(/img/news_tokei.png) no-repeat;
	}

	section#top02 ul li .cate {
		font-size: 12px;
		color:#666;
	}

	section#top02 ul li h3 {
		padding-top: 10px;
		font-size:16px;
		font-weight: normal;
		color:#333;
	}

	section#top03 {
		padding-top: 55px;
		background: #FEF9F3;
		text-align: center;
	}

	section#top03 ul li {
		text-align: left;
		background: #fff;
		margin-bottom: 70px;
		font-size:14px;
		padding-bottom: 20px;
	}

	section#top03 li br {display: none;}

	section#top03 ul li#k01 {float: none;width:96%;margin:0 auto 10px;}
	section#top03 ul li#k02 {float: none;width:96%;margin:0 auto 10px;}
	section#top03 ul li#k03 {float: none;width:96%;margin:0 auto 10px;}
	section#top03 ul li#k04 {float: none;width:96%;margin:0 auto 10px;}
	section#top03 ul li#k05 {float: none;width:96%;margin:0 auto 10px;}
	section#top03 ul li#k06 {float: none;width:96%;margin:0 auto 10px;}
	section#top03 ul li#k07 {float: none;width:96%;margin:0 auto 10px;}
	section#top03 ul li#k08 {float: none;width:96%;margin:0 auto 10px;}

	section#top03 ul li img {display:block;margin-left:auto;margin-right: auto;}


	section#top04 {
		margin-top:55px;
	}

	section#top04 ul {
		padding: 0 10px 20px;
	}
	section#top04 li {
		float: left;
		width:48%;
		text-align: center;
		margin-right: 36px;
		margin: 0 0 20px 0;
	}
	section#top04 li:nth-child(4) {
		float: right;
		margin-right: 0;
	}
	section#top04 li:nth-child(2n) {
		float: right;
		margin-right: 0;
	}


	section#top04 li h4 {
		font-size:18px;
		font-weight: normal;
		color:#333;

	}

	section#top05 {
		margin-top:55px;
	}

	section#top05 li {
		float: none;
		width:96%;
		text-align: center;
		margin-right: 36px;
		margin: 0 auto 20px;
	}

	section#top05 li:nth-child(2) {
		margin-right: auto;
	}
	section#top05 li:nth-child(3) {
		float: none;
		margin-right: auto;
	}


	section#top05 li h4 {
		font-size:18px;
		font-weight: normal;
		color:#333;

	}

	section#top06 {
		margin-top: 100px;
		padding-top: 55px;
		padding-bottom: 50px;
		background: #FEF9F3;
	}

	section#top06 h2 {
		background: url(/img/title_blog_tayori.png) no-repeat;
		width:207px;
		height: 83px;
		text-indent: -9999em;
		margin:0 auto;
	}


	section#top06 ul {
		margin-top:20px;
		padding: 0 10px 0px;
	}
	section#top06 li {
		float: left;
		margin-right:0;
		margin-bottom: 20px;

		width:48%;

		text-align: center;
	}
	section#top06 li:nth-child(3) {
		margin-right:0;
	}
	section#top06 li:nth-child(4) {
		float: right;
		margin-right:0;
	}

	section#top06 li:nth-child(2n) {
		float: right;
	}

	section#top06 li h4 {
		font-size:14px;
		font-weight: normal;
		color:#333;
	}

	section#top07 {
		padding-top:78px;
	}

	section#top07 .box1 {
		float: none;
		width:100%;
	}
	section#top07 .box2 {
		float: none;
		width:100%;
		margin-top:30px;
		margin-bottom: 20px;
	}

	section#top07 .box1 ul {
		background:#FBF6D6;
		padding: 10px 15px;
	}

	section#top07 .box1 ul li {
		font-size:14px;
		padding: 5px 0;
	}

	section#top07 .box1 ul li a:link {
		text-decoration: underline;
	}

	section#top07 .pasopla{
		margin-top: 30px;
		font-size: 14px;
		font-weight: normal;
		padding: 0 10px;

	}

	section#top07 .pasopla img {
		display: block;
		vertical-align: middle;
		margin-right: 15px;
	}

	section#top07 .pasopla_list {
		margin-left: 10px;
		margin-right: 10px;
	}

	section#top07 .box2 h2 {
		font-size:26px;
		padding: 0 10px;
		font-weight: normal;
		color:#3186F3;
	}

	section#top07 .box2 #likebox {
		width:98% !important;

	}

	section#top07 .box2 .toInsta {
		display: block;
		margin:50px auto 0;
		border:1px #666 solid;
		border-radius: 10px;
		width:90%;
		height:80px;
		text-indent: -9999em;
		background: url(/img/bn_insta.png) no-repeat center center;

	}

	section#top08 {
		margin-top:60px;
		text-align: center;
		background: url(/img/bg_taiken2.png) repeat-x;

	}

	aside#top09 {
		margin-top: 98px;
	}

	aside#top09 .link01 ,
	aside#top09 .link02 {
		text-align: center;
	}

	aside#top09 .link02 {
		margin-top:40px;
	}

	aside#top09 ul li {
		display: inline-block;
	}

	aside#top09 .link01 li {
		padding: 0 5px;
	}
	aside#top09 .link02 li {
		padding: 0 5px;
	}

	.blogroll-list-wrap li:nth-child(7),
	.blogroll-list-wrap li:nth-child(8),
	.blogroll-list-wrap li:nth-child(9),
	.blogroll-list-wrap li:nth-child(10),
	.blogroll-list-wrap li:nth-child(11),
	.blogroll-list-wrap li:nth-child(12),
	.blogroll-list-wrap li:nth-child(13),
	.blogroll-list-wrap li:nth-child(14),
	.blogroll-list-wrap li:nth-child(15),
	.blogroll-list-wrap li:nth-child(16),
	.blogroll-list-wrap li:nth-child(17),
	.blogroll-list-wrap li:nth-child(18),
	.blogroll-list-wrap li:nth-child(19),
	.blogroll-list-wrap li:nth-child(20),
	.blogroll-list-wrap li:nth-child(21){
		display: none;
	}
	.blogroll-ad-default a {
		/*display: none;*/
		display: inline-block;
		padding-left: 1em;
		font-size:12px;
	}


	footer {}

	/*====================================================================
	slick
	====================================================================*/

	.sliderArea {
	  max-width: 100%;
	  margin: 0 auto;
	  padding: 0 25px;
	  overflow: hidden;
	}
	.sliderArea.w300 {
	  max-width: 1150px;
	}
	.slick-slide {
	  margin: 0 5px;
	}
	.slick-slide img {
	  width: 100%;
	  height: auto;
	}
	.slick-prev, .slick-next {
	  z-index: 1;
	}
	.slick-prev:before, .slick-next:before {
	  color: #000;
	}
	.slick-slide {
	  transition: all ease-in-out .3s;
	  opacity: .2;
	}
	.slick-active {
	  opacity: 1;
	}
	.slick-current {
	  opacity: 1;
	}
	.thumb {
	  margin: 20px 0 0;
	}
	.thumb .slick-slide {
	  cursor: pointer;
	}
	.thumb .slick-slide:hover {
	  opacity: .7;
	}

	/*====================================================================
	.full-screen
	====================================================================*/

	.full-screen .slick-list {
	  overflow: visible;
	}
	.full-screen.slider {
	  max-width: 1150px;
	  margin: 0 auto;
	}



	/* ==================================================================
	=====================================================================
	====================================================================*/

	.breadcrumbs {
		padding-left:10px;
		padding-right:10px;
	}

	#side_taiken img {
		display: block;
		margin-left:auto;
		margin-right:auto;
	}

	#side_recommend {
		margin: 10px 20px;
	}
	#side_recommend dt {
		text-align: center;
		color:#FF4C02;
		background: #FFE8B2;
		padding: 10px 0;
		font-size: 18px;
		font-weight: bold;
	}
	#side_recommend dd {
		margin: 0;
		background: #FEF9F3;
		border-bottom:#FDB400 dashed 2px;
		box-sizing: border-box;
	}
	#side_recommend dd a {
		display: block;
		font-size: 18px;
		height: 100%;
		padding: 10px;

		text-indent: -18px;
		padding-left: 33px;

		width: calc(100% - 40px);
		box-sizing: border-box;
	}

	#side_recommend dd.single a {
		padding-top: 15px;
		padding-bottom: 15px;
	}


	#side_firstTime {
		display: none;
		margin-top: 20px;
	}
	#side_firstTime dt {
		text-align: center;
		color:#fff;
		background: #FFC233;
		padding: 10px 0;
		font-size: 18px;
		font-weight: bold;
	}
	#side_firstTime dd {
		margin: 0;
		background: #FDFEF0;
		border-bottom:#FDB400 dashed 2px;
	}
	#side_firstTime dd a {
		display: block;
		font-size: 18px;
		width:100%;
		height: 100%;
		padding: 15px 10px;
		box-sizing: border-box;

	}


	#side_banner02 ,
	#side_banner01 {
		text-align: center;
	}


	#side_banner02 img ,
	#side_banner01 img {
		display: block;
		margin-left: auto;
		margin-right: auto;
	}

.link{
    width:100%;
	line-height: 2em;
    font-size:1em;
    font-weight:normal;
    text-decoration:none;
    display:block;
    text-align:center;
    padding:10px 15px 10px 15px;
    color:#505050;
    background-color:#feeb9f;
    border-radius:5px;
	margin-left: 0%;

}
	
.link2{
    width:100%;
	line-height: 2em;
    font-size:1em;
    font-weight:normal;
    text-decoration:none;
    display:block;
    text-align:center;
    padding:10px 15px 10px 15px;
    color:#505050;
    background-color:#feeb9f;
    border-radius:5px;
	margin-left: 0%;

}

#recent-posts-3 {
	margin:0px 20px;
	}
#recent-posts-3 h2 {
	background:url(/wp/img/side_new_blog_sp.jpg) no-repeat;
	width:100%;
	height:50px;
background-position : center;
	margin:auto;
}

#recent-posts-3 ul {
	background: #fdfaef;
	padding:0px 20px 0px 20px;
}
#recent-posts-3 li {
	padding: 10px;
	font-size: 16px;
	color:#333;
}

#recent-posts-3 .post-date {
	font-size: 12px;
	color:#666;

}

.kensaku{
	text-align: center;
	margin: 0 auto;
}

.oshirase{
	text-align: right;
	margin: 0px 20px 10px 0px;
	color: #FD4E00;
}


/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}

#searchBox {text-align: center;margin-bottom: 15px;}
#searchBox input[type='text'] {
	display: inline-block;
	width:250px;
	padding: 10px 10px;
	border:3px #ffb300 solid;
	border-radius: 20px;
	background: url(/img/bg_searchBox.png) no-repeat right center;
}

#searchBox input[type='text']:focus {
	border:0px #ffb300 solid;
	border-radius: 10px;
}


#calendar-2 {
	margin: 20px;
}

#calendar-2 nav {
text-align: center;
}

.clearfix02{
	padding: 0 6.11111%;
    width: 100%;
	}

}

@media only screen and (min-width: 400px) and (max-width: 420px) {

	section#top03 ul li p {padding-left: 18px;padding-right: 18px;}

}
