﻿@charset "UTF-8";

/*余白初期化*/
html,div,ol,dl,dt,dd,form,fieldset,input,textarea,h1,h2,h3,h4,h5,h6,pre,code,p,blockquote,hr,th,t{
	margin: 0;
	padding: 0;
	}

body{
	font-family: "メイリオ","Hiragino Kaku Gothic Pro", sans-serif;
	max-width: 1000px;
	min-width: 320px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 0;
	margin-bottom: 0;
	}

/*画像サイズ設定*/
img{
	max-width: 100%;
	}

/*メインコンテンツ*/
.main_body{
	background: #0000ff;
	border-left: solid 10px #0000ff;
	border-right: solid 10px #0000ff;
	border-bottom: solid 15px #0000ff;
	}

.main{
	min-height: 260px;
	background: #ffffff;
	border-radius: 10px 10px 0px 0px;
	padding: 10px;
	}

.main a:hover{
	color: #ff5c00;
	}

/*学校名*/
header{
	background: #0000ff;
	}

.logo{
	margin: 5px 0 0 5px;
	width: 50%;
	float: left;
	}

.address{
	float: right;
	margin-top: 15px;
	margin-right: 10px;
	font-size: small;
	color: #ffffff;
	}

/*アクセスカウンタ*/
.counter{
	float: right;
	margin-top: 50px;
	margin-right: 10px;
	}
	
.counter img{
	width: 90%;}

/*携帯*/
.keitai{
	float: right;
	font-size: 8pt;
	color: #ffffff;
	text-align: center;
	margin-top: 5px;
	margin-right: 10px;
	}

.keitai img{
	width: 60px;
	}

/*メニュー*/
.main_menu{
	clear: both;
	display: block;
	text-align: center;
	font-size: small;
	}

.main_menu a{
	display: inline-block;
	width: 13%;
	text-decoration: none;
	margin-top: 4px;
	padding: 6px 0 6px 0;
	background: #ffffff;
	border-radius: 10px 10px 0px 0px;
	border-top: solid 1px #ffffff;
	border-left: solid 1px #ffffff;
	border-right: solid 1px #ffffff;
	color: #000000;
	}

.main_menu a:hover{
	background: #e86b79;
	color: #ffffff;
	}

#now{
	background: #e86b79;
	color: #ffffff;
	font-weight: bold;
	}

/*サブメニュー*/
.sub_menu {
	float: left;
	border: solid 2px #d6d1ff;
	}

.sub_menu a{
	display: block;
	text-decoration: none;
	font-size: small;
	text-align: center;
	width: 120px;
	background: #ffffff;
	border-top: solid 1px #bebbe3;
	border-left: solid 1px #bebbe3;
	border-bottom: solid 2px #bebbe3;
	border-right: solid 2px #bebbe3;
	padding: 4px 8px 4px 8px;
	margin: 3px;
	color: #000000;
	}

.sub_menu a:hover{
	background: #e86b79;
	color: #ffffff;
	}

#now_sub{
	background: #e86b79;
	color: #ffffff;
	}

/**メール投稿型掲示板**/
.mailboard{
	float: left;
	width: 50%;
	}

.mailboard iframe{
	width: 96%;
	 }

.top_img{
	float: left;
	width: 50%;
	}
	
.top_info{
	clear: left;
	}

.top_info img{
	width: 23%;
	}

/*見出し*/
h2{
	border-bottom: solid 4px #ddddff;
	border-left: solid 10px #1e59e2;
	background: #eeeeff;
	margin: 10px 0 10px 0;
	padding: 4px 20px 0 10px;
	}

h3{
	display: inline-block;
	border-bottom: solid 2px #ddddff;
	border-left: solid 5px #1e59e2;
	background: #eeeeff;
	margin: 10px 0 10px 0;
	padding: 4px 20px 0 10px;
	}

/*サブメニューありコンテンツボックス*/
.info{
	line-height: 2em;
	margin-left: 160px;
	}

/*学級編成*/
.class{
	width: 60%;
	border-collapse: collapse;
	font-size: small;
	line-height: 2em;
	}

.class td{
	border: solid 1px;
	width: 15%;
	text-align: center;
	}
	
.class td:nth-of-type(1){
	background: #eeeeee;
	}

.class td:nth-of-type(3){
	background: #eeeeee;
	}

/*沿革*/
.enkaku{
	width: 100%;
	border-collapse: collapse;
	font-size: small;
	}
	
.enkaku td{
	text-align: center;
	}
	
.enkaku td:nth-of-type(1){
	width: 60px;
	vertical-align: top;
	}

.enkaku td:nth-of-type(2){
	width: 40px;
	vertical-align: top;
	}
	
.enkaku td:nth-of-type(3){
	vertical-align: top;
	text-align: left;
	}

・/*お知らせ等表形式*/
.info_table{
	width: 100%;

	}

.info_table td:nth-of-type(1){
	width: 140px;
	vertical-align: top;
	}

.info_table td:nth-of-type(2){
	vertical-align: top;
	}

/*配布文書一覧*/
.letter{
	width: 100%;
	border-collapse: collapse;
	line-height: 2em;
	font-size: small;
	}

.letter th{
	background: #ccd9ff;
	border: solid 1px;
	}

.letter td{
	border: solid 1px;
	padding-left: 2px;
	padding-right: 2px;
	}

.letter th:nth-of-type(1){
	width: 12%;
	}

.letter th:nth-of-type(2){
	}

.letter th:nth-of-type(3){
	width: 12%;
	}

/*校時表*/
.timesc{
	width: 60%;
	border-collapse: collapse;
	text-align: center;
	vertical-align: top;
	font-size: small;
	line-height: 2em;
	}
	
.timesc td{
	border: solid 1px;
	vertical-align: top;
	}

.timesc td:nth-of-type(1){
	background: #eeeeff;
	}
	
.timesc td:nth-of-type(3){
	background: #eeeeee;
	}

/**グーグルマップ**/
.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%;
	}

/*校歌*/
.audio{
	margin-top: 10px;
	}
	
.audio audio {
	max-width: 70%;
	height: 40px;
	}

.movie{
	width: 100%;}

/*図書館案内*/
.library{
	
	}
	
.library img{
	width: 100%;

	}

.library td{
	padding: 10px 0 10px 0;
	}

.library td:nth-of-type(1){
	width: 200px;
	vertical-align: top;
	text-align: center;
	}
	
.library td:nth-of-type(2){
	vertical-align: top;
	}

.tosho_annai{
	width: 40%;
	float: left;
	opacity: 0.5;
	}

.tosho_annai2{

	}



/*スマホ*/
@media screen and (max-width:780px) {
/*QRコード非表示*/
.keitai{
	display: none;
	}
}

@media screen and (max-width:660px) {
/*スマホ用メニュー*/
.logo{
	width: 100%;
	margin: 5px 0 0 0;
	}

.address{
	float: right;
	margin-right: 10px;
	margin-top: 0;
	}

.counter{
	float: right;
	text-align: center;
	margin-top: 0;
	}

.main_menu{
	margin-left: 15px;
	margin-right: 15px;
	font-size: 0;
	}
	
.main_menu a{
	padding-top: 4px;
	padding-bottom: 4px;
	margin: 0px;
	width: 31%;
	font-size: 9px;
	border-radius: 0;
	border: solid 1px #bebbe3;
	}

/*サブメニュー*/
.sub_menu{
	clear: both;
	width: 100%;
	text-align: center;
	border: none;
	margin-bottom: 6px;
	font-size: 0;
	}

.sub_menu a{
	display: inline-block;
	margin: 1px;
	width: 110px;
	font-size: 8pt;
	}

/**メール投稿型掲示板**/
.mailboard{
	clear: left;
	width: 100%;
	}

.mailboard iframe{
	width: 100%;
	 }

.top_img{
	clear: left;
	width: 100%;
	}


.top_info img{
	width: 46%;
	}

/*スマホ用メイン*/
.info{
	clear: both;
	margin-left: 0;
	}

/*学級編成*/
.class{
	width: 100%;
	}
	
/*校時表*/
.timesc{
	width: 100%;
	}
/**スマホここまで**/
