@charset "UTF-8";

/**全体指定_トップ画像幅900pxに合わせる**/
body{
	font-family: "メイリオ","Hiragino Kaku Gothic Pro",sans-serif;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	}

/**画像サイズ可変**/
img{
	width: 100%;
	height: auto;
	}

/**水色の背景画像**/
.main{
	background-image: url("img/bg.png");
	}

/**メインメニュー**/
nav{
	text-align: center;
	}

nav a{
	display: inline-block;
	text-align: center;
	text-decoration: none;
	width: 200px;
	color: #0080ff;
	font-weight: bold;
	}

nav a:hover{
	background: #0080ff;
	color: #ffffff;
	}

nav #now{
	background: #0080ff;
	color: #ffffff;
	}

/**サブメニュー**/
.nav_sub{
	background: #0080ff;
	text-align: center;
	color: #ffffff;
	padding-top: 2px;
	padding-bottom: 2px;
	}

.nav_sub a{
	margin-left: 20px;
	margin-right: 20px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	color: #ffffff;
	}

.nav_sub a:hover{
	font-weight: bold;
	}

.nav_sub #now{
	font-weight: bold;
	}

/**メインページサブメニュー**/
.index_sub{
	text-align: right;
		}

.index_sub a{
	font-size: small;
	padding-left: 5px;
	padding-right: 5px;
	border: solid 2px #ffffff;
	background-color: blue;
	background: linear-gradient(to bottom, #0000ff, #5555ff);
	border-radius: 3px;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.29);
	}

.index_sub a:hover{
	font-weight: bold;
	background: linear-gradient(to bottom, #0000ff, #a8a8ff);
	}

/**コンテンツメイン領域**/
.center{
	background: #ffffff;
	margin: 10px;
	border: solid 2px #0080ff;
	padding: 10px;
	}

/**フッター**/
footer{
	text-align: center;
	padding: 5px;
	border-top: solid 6px #0080ff;
	}

/**メール投稿型掲示板**/
.mailboard{
	position: relative;
	padding-bottom: 25%;
	padding-top: 50px;
	height: 0;
	overflow: hidden;
}

.mailboard iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	}

/**メインタイトル**/
h2{
	text-align: center;
	margin: 0;
	}

/**サブタイトル**/
h3{
	margin: 2px;
	padding-bottom: 2px;
	padding-top: 2px;
	padding-left: 6px;
	border-bottom: solid 2px #0080ff;
	border-left: solid 4px #0080ff;
	background: linear-gradient(to right, #88ccff, #ffffff);
	}

/**コンテンツ内領域**/
.text{
	margin-left: 20px;
	margin-right: 20px;
	}

/**行事予定**/
.schedule{
	min-height:150px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right top;
	}

/**校時表**/
.timetable{
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	margin-bottom: 20px;
	text-align: center;
	border-collapse: collapse;
	}

.timetable th, .timetable tr, .timetable td{
	border: solid 1px;
	padding: 4px;
	}

/**沿革**/
.history{
	background: #ebcbb2;
	background-image: url(img/historybg.jpg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: bottom;
	}

.history td:nth-child(1){
	width: 40px;
	text-align: right;
	}

/**学校情報**/
.shcoolinfo table{
	border: solid 2px;
	margin-left: auto;
	margin-right: auto;
	}

.shcoolinfo th{
	border-right: solid 1px;
	border-bottom: solid 1px;
	padding: 5px;
	}
	
.shcoolinfo td{
	border-right: solid 1px;
	border-bottom: solid 1px;
	padding: 5px;
	}

/**校歌**/
.song{
	text-align: center;
	background-image: url(img/koukabg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	}

/**上に戻る**/
.to_top{
	text-align: right;;
	font-size: small;
	}

/**リストナンバー**/
.li_num{
	list-style-type: decimal;
	}

/**質問**/
.question{
	margin: 20px;
	}
	
/**回答**/
.answer{
	margin: 20px;
	padding: 10px;
	border: double 4px #0080ff;
	}

.answer h4{
	margin: 4px;
	border-bottom: solid 2px blue;
	}

.answer h5{
	margin-left: 1em;
	margin-top: 10px;
	margin-bottom: 2px;
	}

.answer p{
	margin-left: 2em;
	margin-top: 2px;
	margin-bottom: 2px;
	}
	
.answer ul{
	margin-left: 1em;
	margin-top: 2px;
	margin-bottom: 2px;
	}

/**売店値段表**/
.shop_text{
	margin-left: 20px;
	margin-right: 20px;
	display: flex;
	flex-wrap: wrap
	}

.shop_table{
	flex: 1 1 auto;
	}

.shop{
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	text-align: center;
	border: solid 1px;
	}

.shop th{
	border-right: solid 1px;
	border-bottom: double 2px;
	padding: 2px;
	}

.shop tr, .shop td{
	border-right: solid 1px;
	border-bottom: solid 1px;
	padding: 4px;
	}

.shop td:nth-child(1){
	text-align: left;
	}
	
.shop td:nth-child(2){
	text-align: right;
	}

/**グーグルマップ**/
.map{
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
	}

.map iframe, .map object, .map embed{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	}
