/*===========================*
PRESET
*===========================*/
html {
	-webkit-text-size-adjust: none;
}
body {
	background: url(../img/bg01.gif);
	font-family: Meiryo, ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro, Osaka, ＭＳ Ｐゴシック, MS PGothic, sans-serif;
	padding: 0;
	margin: 0;
	font-size: 14px;
	font-weight: normal;
	font-style: normal;
	line-height: 1.5;
	letter-spacing: 0.7px;
	position: relative;
	cursor: default;
}
h1, h2, h3, h4, h5, h6 {
	font-family: Meiryo, ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro, Osaka, ＭＳ Ｐゴシック, MS PGothic, sans-serif;
	line-height: 1.4;
	font-weight: normal;
	color: #1c1919;
}
h1 {
	font-size: 28px;
}
h2 {
	font-size: 28px;
}
h3 {
	font-size: 26px;
	margin: 0 0 10px;
}
h4 {
	font-size: 26px;
	margin-bottom: 5px;
}
h5 {
	font-size: 20px;
	margin-bottom: 5px;
}
small {
	display: block;
	font-size: 54%;
	margin-top: .5em;
}
p {
	margin-bottom: 1em;
}
a {
	border: none;
	color: #ef5555;
	text-decoration: none;
}
a:hover {
	color: #0077c9;
	cursor: pointer;
	text-decoration: none;
}
a:focus {
	outline: none;
}
strong {
	font-weight: bold;
}
i {
	display: inline-block;
}
em {
	color: #e53e41;
	display: inline-block;
}
.clearfix:before, .clearfix:after {
	content: " ";
	display: block;
}
.clearfix:after {
	clear: both;
}
.clearfix {
 *zoom:1;
}
/*===========================*
SITE HEADER
*===========================*/
header {
	background: #ffffff;
	border-bottom: 1px solid #cccccc;
	font-family: Meiryo, ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro, Osaka, ＭＳ Ｐゴシック, MS PGothic, sans-serif;
	color: #222;
	font-size: 13px;
	font-weight: normal;
	font-style: normal;
	line-height: 1;
	letter-spacing: 0.7px;
	cursor: default;
}
header a {
	color: #0058bf;
}
#header {
	padding: 5px 0;
	overflow: hidden;
	max-width: 960px;
	margin: 0 auto;
	position: relative;
}
.headLogo {
	float: left;
}
* html .headSup {
	font-size: 85%;
} /* IE6 */
*:first-child+html .headSup {
	font-size: 85%;
} /* IE7 */
.bg_w {
	width: 100%;
	background-color: #fff;
	padding: 0;
}
.tree > div {
	float: left;
}
.tree a:hover {
	border-bottom: 1px dotted #777;
}
#header .arrow {
	padding: 0 .5em;
}
#nav {
	clear: none;
	float: left;
	width: 100%;
	position: absolute;
	right: 0;
	padding: 0 0 0 200px;
	box-sizing: border-box;
	bottom: 10px;
}
/* About */
#about {
	line-height: 15px;
	float: right;
}
#about ul {
	margin: 0;
	padding: 0;
}
#about ul li {
	margin: 0;
	padding: 0 5px;
	font-size: 91%;
	line-height: 15px;
	float: right;
	display: inline;
}
* html #about ul li {
	font-size: 85%;
} /* IE6 */
*:first-child+html #about ul li {
	font-size: 85%;
} /* IE7 */
/* Nav ==================================================================================== */
#header:after, #topicPath:after, #nav:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
* html #header, #topicPath, #nav {
	zoom: 1;
} /* IE6 */
*:first-child+html #header, #topicPath, #nav {
	zoom: 1;
} /* IE7 */
/* TopicPath */
#topicPath {
	margin: 0;
	position: absolute;
	bottom: 0;
}
/*===========================*
SITE BODY
*===========================*/
.scroll-top > li > a {
	text-align: center;
}
.OnFL {
	float: left;
}
.OnFR {
	float: right;
}
#topimg {
	position: relative;
	background: url(../img/bg_ttl01.gif);
}
.ttlbg {
	max-width: 980px;
	margin: 0 auto;
	background: url(../img/ttl_img.jpg) 330px 0 no-repeat;
}
.ttlbg h1 img {
	margin-left: -20px;
	vertical-align: top;
}
#leadcopy {
	background: url(../img/ttl_txt_bg.gif);
}
#leadcopy p {
	max-width: 980px;
	padding: 15px 10px;
	box-sizing: border-box;
	font-size: 16px;
	color: #FFFFFF;
	margin: 0 auto;
}
.contents-wrapper {
	max-width: 980px;
	margin: 0 auto;
}
#navi {
	max-width: 980px;
	margin: 30px auto 0;
}
#navi ul li {
	list-style: none;
	width: 50%;
	box-sizing: border-box;
	float: left;
	overflow: hidden;
	background: url(../img/btn_bg.gif);
	padding: 20px;
}
#navi ul li a {
	font-size: 18px;
	line-height:1.4em;
	width: 100%;
	display: block;
	padding: 15px;
	text-align: center;
	background-color: #FFFFFF;
	box-sizing: border-box;
	font-weight: bold;
	color: #000000;
	box-shadow: 0 0 6px -2px #333;
}
.sectionbody {
	margin: 50px auto;
	position: relative;
	overflow: hidden;
}
.sectionbody h2 {
	padding: 8px 0;
	border-top: 1px solid #000000;
	border-bottom: 1px solid #000000;
	margin-bottom: 30px;
}
.sectionbody h2 img {
	width: 100%;
	vertical-align: top;
}
.sectionbody .js-matchHeight {
	width: 32.6%;
	float: left;
	margin: 0 0 30px;
}
.sectionbody .js-matchHeight:nth-child(3n) {
	margin: 0 1%;
}
.sectionbody .kogei {
	background: url(../img/bg02.gif);
	box-shadow: 0px 0px 6px -2px #adadad;
	-moz-box-shadow: 0px 0px 6px -2px #adadad;
	-webkit-box-shadow: 0px 0px 6px -2px #adadad;
}
.sectionbody .kogei .cate {
	background: #000000;
	font-size: 14px;
	color: #ffd74b;
	padding: 4px 10px;
	display: inline-block;
	margin-bottom: 0;
	font-weight: bold;
}
.sectionbody .kogei .name {
	font-size: 21px;
	line-height: 1.4em;
	padding: 7px 20px;
	font-weight: bold;
}
.sectionbody .kogei .name span {
	font-size: 12px;
}
.sectionbody .kogei .name span.rubytxt {
	font-size: 12px;
	display:block;
	line-height:1.4em;
	font-weight:normal;
}
.sectionbody .kogei .txt {
	font-size: 14px;
	padding: 7px 20px;
}
.sectionbody .kogei .youtube {
	padding: 0px 20px 10px;
}
.sectionbody .kogei .ytbox {
	height:31px;
}
.sectionbody .kogei .youtube a {
	display: block;
	font-size: 14px;
	color:#333;
	background:url("../img/btn_youtube.png") no-repeat -7px -8px / 35px auto;
	background-size:35px;
	padding-left:26px;
	font-weight:bold;
}


.sectionbody .kogei .btn {
	position: relative;
	background: url(../img/btn_bg02.png) no-repeat right center / cover;
}
.sectionbody .kogei .btn a {
	padding: 10px 30px 10px 10px;
	font-size: 13px;
	font-weight: bold;
	color: #FFFFFF;
	height:40px;
	display:table-cell;
	vertical-align:middle;
}
.sectionbody .kogei .photo img {
	width: 100%;
	font-weight: bold;
	vertical-align: top;
}
/*===========================*
SITE FOOTER
*===========================*/
#Footer {
	background: #fff;
	border-top: 1px solid #c5bfb9;
	color: #ccc;
	padding: 20px;
	text-align: center;
	margin-bottom: -20px;
	font-family: sans-serif;
}

@media screen and (max-width: 960px) {
#header {
	padding: 5px;
}
.modelcourse {
	width: 32.3%;
}
#plan1 h4 {
	height: 4.5em;
}
#plan2 h4, #plan3 h4 {
	height: 4.5em;
}
}

@media screen and (max-width: 768px) {
#topicPath {
	display: none;
}
.contents-wrapper {
	padding: 0 10px;
}
.sectionbody .kogei .name {
	font-size: 18px;
}
.sectionbody .kogei .name span {
	display: block;
	line-height: 1;
}
.sectionbody .kogei .btn a {
	font-size: 12px;
	display: block;
	height:auto;
}
.sectionbody .kogei .btn a::after {
	right: 10px;
}
}

@media screen and (max-width: 560px) {
.ttlbg h1 img {
	width: 200px;
}
.ttlbg {
	background: url("../img/ttl_img.jpg") no-repeat 150px 0;
	background-size: cover;
}
#leadcopy p {
	font-size: 14px;
}
#navi ul li {
	padding: 10px;
	width: 100%;
	margin-bottom: 10px;
}
#navi ul li a {
	font-size: 16px;
}
.sectionbody {
	margin: 20px auto;
}
#section1 h2 {
	background:url(../img/sbttl01_sp.png) no-repeat center center / contain;
	height:50px;
	margin-bottom: 20px;
}
#section2 h2 {
	background:url(../img/sbttl02_sp.png) no-repeat center center / contain;
	height:50px;
	margin-bottom: 20px;
}
#section1 h2 img,#section2 h2 img {
	display:none;
}

.sectionbody .js-matchHeight {
	float: left;
	margin: 0 0 20px;
	width: 100%;
}
.sectionbody .js-matchHeight:nth-child(3n) {
	margin: 0 0 20px;
}
.sectionbody .kogei .name span {
	display: inline;
}
.sectionbody .kogei .ytbox {
	display:none;
}

}

@media screen and (max-width: 450px) {
.modelcoursebox {
	width: 90%;
	margin: 0 auto;
}
.modelcourse {
	display: table;
	width: 100%;
	margin: 0 auto;
}
.modelcourse img {
	display: table-cell !important;
	width: 176px;
}
.coursedescription {
	height: 50px;
	display: table-cell;
	width: 100%;
	vertical-align: middle;
}
}

@media screen and (max-width: 350px) {
#section2 {
	background-size: 100% 20%;
}
.modelcoursebox {
	width: 90%;
	margin: 0 auto;
}
.modelcourse {
	display: block;
	width: 100%;
	margin: 0 auto;
}
.modelcourse img {
	width: 100%;
	display: block;
}
.coursedescription {
	display: block;
	width: auto;
}
}
