﻿@charset "utf-8";
@import url("reset.css");

@media screen and (max-width:492px){

body{
	width:96%;
	margin: auto;
	font-size: 14px;
	font-family:serif;
	background-color: #B82456;
}


#contents{
	width:98%;
	margin-bottom:5px;

	background-color: #ffffff;
	border-width:1px;
	border-style:solid;
	border-radius:10px;
	padding-top:2px;
	padding-bottom:20px;
/*
	background-color: red;
*/
}











#contents{
	width:98%;
	margin-bottom:5px;


	background-color: #ffffff;
	border-width:1px;
	border-style:solid;
	border-radius:10px;
	padding-top:2px;
	padding-bottom:20px;
/*
	background-color: red;
*/
}

#header{
	margin-left: 3px;
	margin-right: 3px;
	margin-bottom:5px;

/*
	background-color: blue;
*/
}

#preheader{
display:none;
}

#date{
	display:none;
}

#footer{
	width:96%;
	margin-bottom:-18px;
}

#footer img{
	width:100%;
	margin-left:10px;
}

#sidebar{
	display:none;
}

#subsidebar{
	display:none;
}

#subsidebar a{
	display:none;
}

#subsidebar a:hover{
	display:none;
}

.sidebar_title{
	display:none;
}

.subsidebar_title{
	display:none;
}

article{
	width:96%;
	margin-bottom:10px;
/*
	background-color:pink;
*/
}

#main{
	width:96%;
	margin-left:8px;
	margin-right: 3px;
/*
	background-color:yellow;
*/
	min-height:336px;
	position: relative;
}

#sub_main{
	width:84%;
	margin-left:0px;
	margin-top:10px;
	margin-bottom:15px;
	padding:30px;
	border-width:4px;
	border-style:solid;
	border-color:#B82456;
/*
	background-color:green;
*/
}

#sub_main a:hover{
	background-color:rgba(155,100,200,1);
	color:#ffffff;
}

.cake_name{
	width:92%;
	margin-top:5px;
	margin-right: 5px;
	margin-bottom: 0px;
	padding: 6px 6px 6px 30px;
	border-left-width: 6px;
	border-bottom-width: 3px;
	border-left-color: lightgreen;
	border-bottom-color: lightgreen;
	border-left-style: solid;
	border-bottom-style: solid;
	color: white;
	font-family:serif;
	display:inline-block;
/*
	background-color: #7C0725;
*/
	background: -webkit-gradient(radial, 50% 100%, 0, 50% 100%, 121, color-stop(1.00, #360b0b), color-stop(0.00, #ff0003));
	background: -webkit-radial-gradient(50% 100%, circle, #ff0003, #360b0b);
	background: -moz-radial-gradient(50% 100%, circle, #ff0003, #360b0b);
	background: -o-radial-gradient(50% 100%, circle, #ff0003, #360b0b);
	background: -ms-radial-gradient(50% 100%, circle, #ff0003, #360b0b);
	background: radial-gradient(50% 100%, circle, #ff0003, #360b0b);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0002', endColorstr='#360b0b',GradientType=1);
}

#school_main_photo{
	display:none;
}

#select{
display:none;

}



/* メインコンテンツ：おわり */




/* スマートフォン（おしらせ）：はじめ */

h2.sub_title_new_sp{
	width:70%;
	margin-top :13px;
	margin-left: 0px;

	padding:4px 20px;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #a511c0;
	color:#ffffff;
	font-size:16px;
	font-weight:bold;
	text-decoration:none;
	text-shadow:0px 0px 0px #b23e35;
}

#portal_index_window_new{
display:none;
}

#portal_index_window_new_sp{
	width:94%;


}
.portal_cover_new_sp{
	width:98%;

	height:200px;

	margin:5px 0px 5px 15px;
	border-width:1px;
	border-color:red;
	border-style:solid;
	border-radius:10px;
	display:block;
padding-top:20px;
padding-bottom:20px;

}




.portal2_new_sp{
	width: 92%;
margin-top:-10px;
margin-left:15px;

	padding: 2px;
	position:relative;
<!-- 「position:relative;」は，edge，chromeにおいて，iframeをスクロールさせるのに必要 -->
	border-width:1px;
	border-style:solid;
	border-radius:10px;
	background-color:#ffffff;
}

.portal2_iframe_parent_new_sp{
	width:124%;

<!-- window の高さを変える場合は，height 値を変更するだけでよい。 -->
	overflow-x:hidden;
	overflow-y:hidden;
	margin-left:-40px;

	margin-top:-5px;

}

.portal2_iframe_children_new_sp{
width:100%;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: -3px;
	margin-right: 2px;
	border:none;
}

/* スマートフォン（おしらせ）：おわり */















/*
.schooleasymap_ojiyah{
	right:20px;
	position:relative;
}
*/

.note_link_ojiyah{
/*
	right:20px;
*/
	margin-left:0px;

	position:relative;
}

.schooleasymap_ojiyah{
	display:none;
}

#shinro_kekka{
display:none;
}

#shinro_result_pctab{
display:none;
}





}




@media screen and (min-width:493px){

body{
	width:98%;
	font-size: 16px;
	font-family:serif;
	background-color: #B82456;
}

#contents{
	width:98%;
	margin: auto;
	background-color: #ffffff;
	border-width:1px;
	border-style:solid;
	border-radius:10px;


	padding-top:2px;
	padding-bottom:20px;
/*
	background-color: red;
*/
}

/* ヘッダ：はじめ */

#header{
	margin-left: 3px;
	margin-right: 3px;
/*
	background-color: blue;
*/
}

#preheader{
/*
	width: 96.5%;
*/
	width: 96%;

	height: 20px;
	margin-right: 2px;
	margin-bottom:9px;
	padding-left:20px;
	padding-right:20px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:8px;
	border:1px solid #337fed;
	box-shadow:inset 0px 0px 0px 0px #97c4fe;
	font-size:16px;
	font-weight:bold;
	color:#ffffff;
}

#date{
	margin-left:15px;
	color:#ffffff;
	position:absolute;
	font-weight:bold;
}

/* ヘッダ：おわり */

/* フッタ：はじめ */

#footer img{
	width: 101%;
	margin-left:-20px;
	margin-bottom:-100px;
}

#footer{
	height: 100px;
	margin:4px;
	margin-top:-10px;

	padding: 4px 4px 4px 30px;
	font-size: 18px;
	line-height:25px;
	color:#ffffff;
	width: 96.5%;
/*
	background-image: url("images2/footer_back.gif");
	background-repeat: repeat-x,y;
*/
	display:inline-block;
}

.address{
	margin-top:10px;
	margin-left:50px;
}
.copyright{
	margin-top:-30px;
	margin-right:30px;
	text-align:center;
	float:right;
}

/* フッタ：おわり */

#portal_index_window_new_sp{
display:none;


}

#sidebar{
	width: 30%;

	min-height:900px;
	margin-left:10px;
	position: absolute;
}

#subsidebar{
	width: 100%;
	padding:10px 5px 10px 20px;
}

#subsidebar a{
	width: 40%;
	margin-bottom:5px;
	padding:5px 10px;
	display:inline-block;
	border-radius:10px;
	color:#ffffff;
	font-weight:bold;
	text-decoration:none;
	text-align:center;
}

#subsidebar a:hover{
	color:yellow;
}

.sidebar_title{
	width:63%;
	height:40px;
	margin-top:5px;
	margin-bottom:5px;
	font-size:18px;
font-weight:bold;
	text-align:center ;
	color:#ffffff;
	background-color:#b82456;
	line-height:40px;
	display:block;
}

.subsidebar_title{
	width:63%;
	margin-top:5px;
	margin-bottom:5px;
	font-size:18px;
	font-weight:bold;
	text-align:center ;
	color:#ffffff;
	background-color:#773355;
	line-height:25px;
	display:block;
}

/* メインコンテンツ：はじめ */

article{
	margin-left:0px;
	margin-bottom:10px;
/*
	background-color:pink;
*/
}

#main{
min-height:720px;

	width:72%;
	left: 22%;
	margin-right: 2%;

/*
	background-color:yellow;
*/
	position: relative;
}

#sub_main{
	width:96%;
	margin-top:10px;
	margin-bottom:15px;
	padding:5%;
	border-width:4px;
	border-style:solid;
	border-color:#B82456;
/*
	background-color:green;
*/
}

#sub_main a:hover{
	background-color:rgba(155,100,200,1);
	color:#ffffff;
}

.cake_name{
	width:101%;
	margin-top:5px;
	margin-bottom: 0px;
	margin-right: 2%;
padding-left:5%;


	font-size:150%;
	border-left-width: 6px;
	border-bottom-width: 3px;
	border-left-color: lightgreen;
	border-bottom-color: lightgreen;
	border-left-style: solid;
	border-bottom-style: solid;
	color: white;
	font-family:serif;
	display:inline-block;
	font-size:150%;
/*
	background-color: #7C0725;
*/
	background: -webkit-gradient(radial, 50% 100%, 0, 50% 100%, 121, color-stop(1.00, #360b0b), color-stop(0.00, #ff0003));
	background: -webkit-radial-gradient(50% 100%, circle, #ff0003, #360b0b);
	background: -moz-radial-gradient(50% 100%, circle, #ff0003, #360b0b);
	background: -o-radial-gradient(50% 100%, circle, #ff0003, #360b0b);
	background: -ms-radial-gradient(50% 100%, circle, #ff0003, #360b0b);
	background: radial-gradient(50% 100%, circle, #ff0003, #360b0b);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0002', endColorstr='#360b0b',GradientType=1);
}



/* メインコンテンツ：おわり */

#img_kyouiku_katei_table{
	display:none;
}

.note_link_ojiyah{
	display:none;
}

.note_sidelink_ojiyah{
	width:63%;
}



.schooleasymap_ojiyah{
width:15%; 
	right:-15.5%;

	position:relative;
}

#shinro_kekka_sp{
display:none;
}

#shinro_result_sp{
display:none;
}


#main_photo_sp{
display:none;

}



}

