.pc { display: block !important; }
.sp { display: none !important; }

body{
-webkit-text-size-adjust: 100%;
}

.fl{
	float: left;
}
.fr{
	float: right;
}

div#main_container{
	width: 970px;
	margin: 100px auto 0;
}

div#main_image{
	margin-bottom: 85px;
}
div#main_image img{
	width: 100%;
}
div#main_image h4{
	width: 90%;
	margin: 45px auto;
    font-size: 18px;
    line-height: 36px;
    letter-spacing: 5px;
}
div#main_image ul.search_school{
	width: 90%;
	margin: 10px auto;
	display: table;
}
div#main_image ul.search_school li{
	width: 49%;
	float: left;
}
div#main_image ul.search_school li:nth-child(2){
	float: right;
}

h3{
	clear: both;
	background-color: #c00;
	color: #FFFFFF;
	text-align: center;
	padding: 10px;
	font-size: 21px;
	margin: 30px 0;
	font-weight: bold;
}

div#point h2{
	background-color: #FFFFFF;
	color:#E80003;
	text-align: center;
	margin: 50px 0px 15px;
    font-size: 30px;
    letter-spacing: 20px;
    font-weight: bold;
}
div#point img{
	width: 100%;
}
div#point p{
	margin: 5px 0px 100px;
    font-size: 14px;
    letter-spacing: 3px;
}

div#comparison {
	margin-bottom: 130px;
}
div#comparison h2{
	background-color: #c00;
    color: #FFFFFF;
    width: 96%;
    text-align: center;
    margin: 50px auto 15px;
    padding: 15px 15px 11px 15px;
    font-size: 20px;
    letter-spacing: 5px;
    font-weight: bold;
	border-radius: 10px;
}
div#comparison h2 img{
	margin-bottom: 5px;
	margin-right: 5px;
}
div#comparison img.layout{
	margin: 50px auto;
	display: block;
	width: 100%;
	max-width: 616px;
}
div#comparison table{
	border-collapse: collapse;
	font-size: 16px;
	font-weight: bold;
    color: dimgray;
	text-align: right;
}
div#comparison table th, table td {
	border: solid 1px black;
	padding: 15px;
}
div#comparison table td:nth-child(1) {
	text-align: left;
}
div#comparison table .sco {
	text-align: center;
}
div#comparison table td span {
	float: left;
}
div#comparison table tr.ctl2 {
	background-color: aliceblue;
}
div#comparison table tr.ctl2 {
	background-color: aliceblue;
}
div#comparison table .bb {
	background-color:lightblue;
}
div#comparison table .br {
	background-color:#F03033;
	color: #ffffff;
}
div#comparison table .bg {
	background-color:#AD8565;
	color: #ffffff;
}
div#comparison table .sum {
	font-size: 21px;
}
div#comparison h5 {
  position: relative;
  padding: 20px;
  margin: 30px 0 50px;
  font-size: 30px;
  letter-spacing: 5px;
  text-align: center;
  color: red;
  font-weight: bold;
  border-radius: 7px;
  background-color: cornsilk;
  border: 4px solid #ca8888;
}
/* beforeで枠線の三角を表現 */
div#comparison h5::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 78%;
  top: -45px;
  border-right: 45px solid transparent;
  border-bottom: 45px solid #ca8888;
  border-left: 45px solid transparent;
}
/* beforeで本体の三角を表現 */
div#comparison h5::after{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 78%;
  top: -39px;
  border-right: 45px solid transparent;
  border-bottom: 45px solid cornsilk;
  border-left: 45px solid transparent;
}
div#comparison h5 b {
	font-size: 40px;
}
div#comparison h5 span {
	font-size: 16px;
	color: gray;
}

div#store {
	margin-bottom: 30px;
	display: table;	
}
div#store div.shop {
	display: block;
	float: left;
	padding: 10px;
	width: 50%;
}
div#store div.shop h4 {
	font-weight: bold;
	font-size: 20px;	
	margin-bottom: 25px;
}
div#store div.shop dl {
	margin-bottom: 20px;
	display: table;
}
div#store div.shop dl dt {
	float: left;
	width: 35%;
	padding-right: 10px;
}
div#store div.shop dl dt img {
	width: 100%;
}
div#store div.shop dl dt p {
	background-color: red;
    color: white;
    text-align: center;
    border-radius: 3px;
    padding: 3px;
    font-weight: bold;
	margin: 10px 0;
}
div#store div.shop dl dd {
	line-height: 25px;
	display: table;
}
div#store div.shop dl dd img {
	width: 100px;
	margin: 2px 5px 9px 0;
}
div#store div.shop dl dd b {
	font-size: 20px;
}
div#store div.shop dl dd span {
	font-size: 20px;
    color: dodgerblue;
    margin-right: 5px;
}
div#store div.shop dl dd p {
	background-color: red;
    color: white;
    text-align: center;
    border-radius: 5px;
    padding: 3px;
    font-weight: bold;
	
}
div#store div.shop img.bt_search_school {
	width: 100%;
}

/* --------------------------------------------------
-----------------------------------------------------
window size -900
-----------------------------------------------------
-------------------------------------------------- */
@media screen and (max-width:900px){
	.pc { display: block !important; }
	.sp { display: none !important; }
	
	div#main_container{
		width: 100%;
		margin: 0;
	}
	
	div#comparison {
		width: 96%;
		margin: 0 auto 100px;
	}
	
	div#store div.shop h4 {
		font-size: 19px;
	}
}
/* --------------------------------------------------
-----------------------------------------------------
window size -650
-----------------------------------------------------
-------------------------------------------------- */
@media screen and (max-width:650px){
	.pc { display: none !important; }
	.sp { display: block !important; }
	
	div#main_image h4{
		margin: 25px auto;
		font-size: 14px;
		line-height: 26px;
		letter-spacing: 3px;
	}
	div#main_image ul.search_school li{
		width: 100%;
		float: none;
		margin-bottom: 10px;
	}
	div#main_image ul.search_school li:nth-child(2){
		float: none;
	}
	
	h3{
		font-size: 18px;
	}

	div#point h2{
		margin: 40px 0px 5px;
		font-size: 24px;
		letter-spacing: 1px;
	}
	div#point div.pimg{
		
	}
	div#point div.pimg img{
		
	}
	div#point p{
		font-size: 14px;
		letter-spacing: 2px;
		width: 90%;
		margin: 10px auto 0;
	}
	
	div#comparison {
		width: 96%;
		margin: 0 auto 100px;
	}
	div#comparison h2{
		width: 96%;
		text-align: center;
		margin: 50px auto 15px;
		letter-spacing: 1px;
		font-size: 17px;
		line-height: 30px;
	}
	div#comparison h2 img{
		width: 85px;
	}
	div#comparison table{
		font-size: 14px;
	}
	div#comparison table th, table td {
		padding: 10px;
	}
	div#comparison table .sum {
		font-size: 20px;
	}
	div#comparison h5 {
		padding: 15px;
		font-size: 20px;
		letter-spacing: 2px;
	}
	/* beforeで枠線の三角を表現 */
	div#comparison h5::before{
		left: 70%;
	}
	/* beforeで本体の三角を表現 */
	div#comparison h5::after{
		left: 70%;
	}
	div#comparison h5 b {
		font-size: 28px;
	}
	div#comparison h5 span {
		font-size: 14px;
	}
	
	div#store {
		margin-bottom: 30px;
		display: table;	
	}
	div#store div.shop {
		float: none;
		width: 98%;
		margin-bottom: 40px;
	}
	div#store div.shop h4 {
		font-size: 18px;	
		margin-bottom: 20px;
	}
	
	div#store div.shop dl {
		margin-bottom: 5px;
	}
	
	div#store div.shop dl dd {
		display: table;
	}
	div#store div.shop dl dd b {
		font-size: 18px;
	}
	div#store div.shop dl dd span {
		font-size: 18px;
		display: table;
	}
	
	div#store div.shop img.bt_search_school {
		width: 100%;
	}
}


