/*===========================*
PRESET
*===========================*/
html {
    -webkit-text-size-adjust: none;
}
body {
  font-family: "Times New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "メイリオ", Meiryo, serif;
  background: url(../img/bg.jpg);
  color: #241e1e;
  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;
  text-align:center;
  overflow-x:hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Times New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "メイリオ", Meiryo, 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
*===========================*/
hr {
  margin: 50px auto;
  width: 100%;
  background-color: #b3a681;
  opacity: 0.3;
}
#billboard {
  position: relative;
}
h1 {
  background: url(../img/mainimg.jpg) no-repeat center top;
  background-size: cover;
  min-height:335px;
  overflow-x: hidden;
}
h1 img {
    max-width: 520px;
    min-width: 432px;
    width: 135%;
	-ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    position: relative;
    display: block;
    left: 50%;
}
#leadcopy {
  background:url(../img/bg_pattern.gif) center center repeat;
  text-align: center;
  padding: 10px 0;
}
#leadcopy h4 {
  color:#fff;
  font-size: 16.5px;
  padding: 5px 15px;
}

.contents-wrapper {
	max-width:960px;
	margin:0 auto;
}

#navi {
  margin: 25px auto 30px;
}

#navi ul {
    margin-right: -5px;
    margin-left: -5px;
	padding: 0;
}

#navi ul li {
  list-style: none;
  padding-right: 5px;
  padding-left: 5px;
  margin: 5px 0;
  width: 25%;
  box-sizing: border-box;
  float: left;
}
#navi ul li a {
    background: #fff;
    border: 2px solid #e53e41;
    width: 100%;
    display: inline-block;
    height: 57px;
    text-align: center;
	color:#1c1919;
	padding: 5px;
    box-sizing: border-box;
}
#navi ul li a:hover {
	background-color: #ffeaeb;
	-webkit-transition: background-color .2s;
	transition: background-color .2s;
}

#navi ul li a > div {
    border: 1px solid #e53e41;
	height: 42px;
	background:url(../img/bg_navi.png) center center no-repeat;
	-webkit-box-shadow: inset 0px 0px 20px 0px rgba(255,89,120,0.1);
	-moz-box-shadow: inset 0px 0px 20px 0px rgba(255,89,120,0.1);
	box-shadow: inset 0px 0px 20px 0px rgba(255,89,120,0.1);
}
#navi ul li a > div > div {
	position: relative;
	top: 50%;
	-ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	font-size: 17px;
}
.sectionbody {
  margin: 0 auto 10px;
  position: relative;
  padding: 24px 10px 0;
  overflow: hidden;
	-webkit-box-shadow: 0px 0px 4px 2px rgba(119,0,0,0.1);
	-moz-box-shadow: 0px 0px 4px 2px rgba(119,0,0,0.1);
	box-shadow: 0px 0px 4px 2px rgba(119,0,0,0.1);
}
.white-base {
	background: url(../img/bg_whitebase.png) center center repeat;
	-webkit-box-shadow: 0px 1px 1px 0px rgba(199,193,193,0.5);
	-moz-box-shadow: 0px 1px 1px 0px rgba(199,193,193,0.5);
	box-shadow: 0px 1px 1px 0px rgba(199,193,193,0.5);
    margin: 0 -5% -24px;
    padding: 25px 6%;
}
#plan1 h3 {
	font-size:28px;
}
.sectionbody h3 {
  margin: 50px auto 0;
    width: 98%;
}
.full-box {
  margin: 50px auto 20px;
  background: #fff url(../img/bg_base.png) left top repeat;
  position: relative;
  border: 1px solid #ed787a;
  padding: 0 1%;
  box-sizing: border-box;
}
.planmark {
  z-index: 1000;
  position: absolute;
  left: 50%;
	-ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  width:89px;
}
.full-box h4, .half-box h4 {
      margin: 15px 10px;
}
.inner-box {
  float: left;
  background-color: #fff;
  border: 1px solid #ed787a;
  width: 32%;
  margin: 20px .5% 10px;
  box-sizing: border-box;
	-webkit-box-shadow: inset 0px 0px 40px 0px rgba(255,89,120,0.05);
	-moz-box-shadow: inset 0px 0px 40px 0px rgba(255,89,120,0.05);
	box-shadow: inset 0px 0px 40px 0px rgba(255,89,120,0.05);
}
.inner-box h5{
	margin: .5em;
}
.gallery {
	width:100%;
}
.half-box {
  box-sizing: border-box;
  float: left;
  width: 49.5%;
  margin: 50px auto 20px;
  position: relative;
  border: 1px solid #ed787a;
  padding: 0 .5%;
  background:#fff url(../img/bg_base.png) left top repeat;
}
#plan2{
    margin-right: 1%;
}
#plan2 h4, #plan3 h4 {
	height:4em;
}
.half-box .inner-box {
  width:  49%;
}
.inner-box img{
  width:  100%;
}
.half-box .inner-box-wide {
	width: 99%;
}
#section1 {
  background: #fff url(../img/bg_cnr1.jpg) top center no-repeat;
}
#section1 h2 small {
  font-size:58%;
}
#section2and3 {
	margin: 0 auto;
	overflow-x:hidden;
}
#section2and3 .sectionbody {
    padding: 24px 10px 0;
}
#section2and3 .full-box h4 {
	padding-top: 20px;
	padding-bottom: 0;
	margin-bottom: 0;
}
#section2and3 .full-box h4::before {
	width:47px;
	height:47px;
    content: "";
    display: inline-block;
    position: absolute;
	top: -24px;
    left: 50%;
	-ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
	background:url(../img/planmini1.png) center center no-repeat;
	background-size:100% auto;
}
#section2and3 .full-box:nth-child(3) h4::before {
	background:url(../img/planmini2.png) center center no-repeat;
	background-size:100% auto;
}
#section2 {
  background: #fff url(../img/bg_cnr2.jpg) top center no-repeat;
  background-size: 100% auto;
  border: none;
}
#section3 {
  background: #fff url(../img/bg_cnr3.jpg) top center no-repeat;
  background-size: 100% 30%;
  margin-left: 1%;
  border: none;
}
#section3 .inner-box-wide img{
	width:49%;
}
#section4 {
  background: #fff url(../img/bg_cnr4.jpg) top center no-repeat;
  margin: 40px auto 50px;
}
#section4 .white-base{
    margin-bottom: 24px;
}

#section4 .full-box {
  padding-bottom: 10px;
  margin-top: 0 !important;
}
#section4 .full-box h4 {
  padding-top: 15px;
  margin-bottom: 10px;
}
.modelcoursebox {
  margin-right: -1%;
}
.modelcourse {
  float: left;
  width: 19%;
  margin-right: 1%;
}
.modelcourse img{
	width:100%;
}
.coursedescription {
  background: #fff;
  margin-bottom: 10px;
  padding: 10px;
  line-height: 1.35;
  height: 55px;
}
.time {
	font-size:90%;
	color:#241e1e;
	text-decoration: none; 
	margin-bottom:3px;
}
.link-text {
	text-decoration: underline;
}
#section4 a:hover {
  color:#ffa4a6;
}
.btn_detail {
	background-color: #ef5555;
	display: block;
	color: #fff;
	padding: 15px 0;
	-webkit-transition: background-color .2s;
	transition: background-color .2s;
}
.btn_detail:hover {
	color: #fff;
	background-color:#ffa4a6;
}
.btn_detail::after {
	display:inline;
	content: '\e808';
	font-family: "icons";
	font-size: 80%;
    padding-left: .6em;
    vertical-align: text-bottom;
}

/*===========================*
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;
}
#navi {
    padding: 0 15px;
}
.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;
}
#navi ul li {
    width: 50%;
}
#plan1 h4 {
    height: 5em;
}
#plan2 h4, #plan3 h4 {
    height: 3em;
}
.half-box .inner-box {
  float: none;
  width:  100%;
  margin: 10px auto !important;
}
#section2 {
   background-size: 100% 20%;
}
#section3 .inner-box-wide img{
	width:100%;
	margin:0;
}
}

@media screen and (max-width: 560px) {	
#plan1 h4, #plan2 h4, #plan3 h4 {
    height: inherit;
}
.inner-box {
    width: 90%;
    margin: 25px auto;
    float: none;
}	
.sectionbody h3 {
    width: 90%;
}
.half-box {
    float: none;
    width: 100%;
}
.half-box .inner-box {
    width: 90%;
}
#section2 {
    background-size: 100% auto;
}
.modelcourse {
    width: 49%;
}
}

@media screen and (max-width: 450px) {
#navi ul li {
	width:100%;
}
.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) {
#leadcopy h4 {
    font-size: 14px;
}
#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;
}
}