/* メイン　*/
.contentsTop {
  width: 960px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 45px;
  position: relative;
}
.contentsMain {
  width: 710px;
  float: left;
  overflow: hidden;
}
.pageTop {
  background-image: url(../images/page_top_line.gif);
  background-repeat: repeat-x;
  background-position: 0 bottom;
  margin-bottom: 20px;
  padding-top: 0;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
}
.pageTop h2 {
  font-size: 28px;
  font-weight: bold;
  color: #484848;
  line-height: 28px;
  padding-left: 0px;
  letter-spacing: 0.1em;
  background-image: none;
}
/*.pageTop h2{
	font-size: 28px;
	font-weight: bold;
	color: #484848;
	line-height: 28px;
	background-image: url(/images_ver3/page_top_icon.gif);
	background-repeat: no-repeat;
	background-position: left 0px;
	padding-left: 34px;
	letter-spacing: 0.1em;
}*/
/*コンテンツ*/
.entryTopContents {
  margin-bottom: 20px;
  width: 710px;
}
.entryTopContents .contentsBox {
  width: 690px;
  background-image: url(../images/contents_box_back.gif);
  background-repeat: repeat;
  padding: 10px;
}
.entryTopContents .contentsBox h4 {
  padding: 10px;
  color: #2296d1;
  font-size: 18px;
  font-weight: bold;
  line-height: normal;
}
.entryTopContents .contentsBox ul {
  font-size: 0; /* inline-blockの隙間をなくす */
}
.entryTopContents .contentsBox li {
  line-height: 1.8em;
  display: inline-block;
  padding: 10px;
  width: 210px;
  vertical-align: top;
}
/* IE6 */
.entryTopContents .contentsBox li {
  _display: inline;
  _zoom: 1;
}
/* IE7 */
*:first-child + html .entryTopContents .contentsBox li {
  display: inline;
  zoom: 1;
}
/*.entryTopContents .contentsBox li{
	width: 210px;
	line-height: 1.8em;
	float: left;
	padding: 10px;
}*/
.entryTopContents .contentsBox li img {
  margin-bottom: 5px;
}
/* 右サイドメニュー*/
.contentsRight {
  width: 230px;
  float: right;
  overflow: hidden;
}
.contentsRightBox {
  margin-bottom: 20px;
  border: 1px solid #c6c6c6;
  overflow: hidden;
}
.contentsRightBox h4 {
  font-size: 14px;
  font-weight: bold;
  background-color: #ececec;
  padding: 10px 15px;
  color: #484848;
}
.contentsRightBox p.list {
  background-image: url(/images_ver3/point_list.gif);
  background-repeat: no-repeat;
  line-height: 15px;
  letter-spacing: 0.05em;
  margin: 0 15px 15px;
  padding-left: 20px;
  /*float:right;*/
  min-height: 15px;
}
/* 右カラム学校からのメッセージ 
.contentsRightBox dl.schoolUp {
}

.contentsRightBox dl.schoolUp dt{
	background-image: url(/images_ver3/line.gif);
	background-repeat: repeat-x;
	clear: both;
	padding: 15px 15px 0;
	margin-bottom: 10px;
	background-position: 0px top;
}

.contentsRightBox dl.schoolUp dt:first-child {
	background-image:none;
}

.contentsRightBox dl.schoolUp dd.img{
	float: left;
	height: 60px;
	width: 94px;
	margin-right: 10px;
	margin-bottom: 15px;
	padding-left: 15px;
	overflow: hidden;
}

.contentsRightBox dl.schoolUp dd.txt{
	float: right;
	width: 94px;
	margin-bottom: 15px;
	padding-right: 15px;
	overflow: hidden;
}*/
/* 右カラム学校からのメッセージ */
.contentsRightBox dl.schoolUp {
  overflow: hidden;
}
.contentsRightBox dl.schoolUp dt {
  background-image: url(/images_ver3/line.gif);
  background-repeat: repeat-x;
  clear: both;
  padding: 15px 15px 0;
  margin-bottom: 10px;
  margin-top: -1px;
  background-position: 0px top;
}
.contentsRightBox dl.schoolUp dd.img {
  float: left;
  height: 60px;
  width: 94px;
  margin-right: 10px;
  margin-bottom: 15px;
  padding-left: 15px;
  overflow: hidden;
}
.contentsRightBox dl.schoolUp dd.txt {
  float: right;
  width: 94px;
  margin-bottom: 15px;
  padding-right: 15px;
  overflow: hidden;
}
/* 右カラム先輩メッセージ 
.contentsRightBox ul.message li {
	background-image: url(/images_ver3/line.gif);
	background-repeat: repeat-x;
	padding: 0 15px 15px;
	margin-top: 15px;
	background-position: 0px bottom;
	text-align:center;
}

.contentsRightBox ul.message li:last-child {
	background-image:none;
}

.contentsRightBox ul.message li img{
	margin-top:10px;
	margin-bottom:10px;
}*/
/* 右カラム先輩メッセージ */
.contentsRightBox ul.message {
  overflow: hidden;
}
.contentsRightBox ul.message li {
  background-image: url(/images_ver3/line.gif);
  background-repeat: repeat-x;
  padding: 0 15px 15px;
  margin-top: 15px;
  margin-bottom: -1px;
  background-position: 0px bottom;
  text-align: center;
}
.contentsRightBox ul.message li img {
  margin-top: 10px;
  margin-bottom: 10px;
  max-height: 80px;
}
/*.contentsRightBox ul.message li img{
	margin-top:10px;
	margin-bottom:10px;
}*/
/* 右カラムコンテンツ */
.contentsRightBox ul.contents {
  overflow: hidden;
}
.contentsRightBox ul.contents li {
  background-image: url(/images_ver3/line.gif);
  background-repeat: repeat-x;
  padding: 0 0 15px;
  margin-top: 15px;
  margin-bottom: -1px;
  background-position: 0px bottom;
  width: 210px;
  margin-right: auto;
  margin-left: auto;
}
.contentsRightBox ul.contents li img {
  margin-top: 5px;
  /*display:block;*/
  text-align: center;
  width:100%;
}
/* 右カラム受験対策コンテンツ */
.contentsRightBox dl.support {
  padding: 15px 11px 5px;
}
.contentsRightBox dl.support dt {}
.contentsRightBox dl.support dd {
  margin: 5px 0 10px;
}
/* 右カラムコンテンツバナー */
.contentsRightBox ul.contentsBan {
  overflow: hidden;
}
.contentsRightBox ul.contentsBan li {
  background-image: url(/images_ver3/line.gif);
  background-repeat: repeat-x;
  margin-top: 15px;
  margin-bottom: -1px;
  background-position: 0px bottom;
  text-align: center;
  padding-top: 0;
  padding-bottom: 15px;
}
/* 右カラムオープンキャンパス */
.contentsRightBox ul.oc {}
.contentsRightBox p.oc {
  padding: 15px 15px 0;
}
.contentsRightBox ul.oc li {
  background-image: url(/images_ver3/line.gif);
  background-repeat: repeat-x;
  padding: 0 15px 15px;
  margin-top: 15px;
  background-position: 0px bottom;
  text-align: center;
}
.contentsRightBox ul.oc li:last-child {
  background-image: none;
}
.contentsRightBox ul.oc li img {
  margin-top: 10px;
}
.contentsRightBox ul.oc li img.school {
  /*max-height: 80px;*/
  width: 150px;
}
/* 右カラム学校TOP */
.contentsRightBox dl.schoolTop {
  overflow: hidden;
}
.contentsRightBox dl.schoolTop dt {
  background: #FCFFCC url(/images_ver3/line.gif) repeat-x 0px top;
  font-size: 14px;
  line-height: 16px;
  font-weight: bold;
  padding: 15px 10px 10px;
  margin-bottom: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.contentsRightBox dl.schoolTop dt:first-of-type {
  background: #FCFFCC;
}
.contentsRightBox dl.schoolTop dt span {
  margin-left: 5px;
  background-color: #29BC71;
  border-radius: 3px;
  font-size: 11px;
  color: #ffffff;
  line-height: 16px;
  font-weight: normal;
  padding: 2px 4px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
}
.contentsRightBox dl.schoolTop dd.txt {
  margin: 0 10px 15px;
  padding-right: 15px;
  overflow: hidden;
}


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

  .entryTopContents {
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .entryTopContents .contentsBox {
    width: 90%;
    background-image: url(../images/contents_box_back.gif);
    background-repeat: repeat;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .entryTopContents .contentsBox h4 {
    padding: 10px;
    color: #2296d1;
    font-size: 18px;
    font-weight: bold;
    line-height: normal;
    text-align: center;
  }

  .entryTopContents .contentsBox ul {
    font-size: 0;
    padding: 0;
    list-style-type: none;
  }

  .entryTopContents .contentsBox li {
    line-height: 1.8em;
    padding: 10px;
    width: 100%;
    vertical-align: top;
    text-align: center;
  }

  .entryTopContents .contentsBox li img {
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
  }

  .entryTopContents .contentsBox li a {
    display: block;
    text-align: center;
  }
}
