/*トップ　ウインドウ全体の設定*/
#body_top{
background-color: #fff;
}

/*canvas*/
#test{
background: yellow;
}

#canvas_top{
display: block;
margin: 0 auto;
}

/*トップ　メニュー*/
#gnav_top{
background: #fff;
visibility: hidden;
}

#gnav_top ul{
list-style: none;
text-align: center;
}

#gnav_top li{
display: inline-block;
}

#gnav_top a{
display: block;
padding: 5px 10px;
text-align: center;
text-decoration: none;
color: #000;
}
#gnav_top a:hover{
border-bottom: #aaa 2px solid;
}

/*h1トップの設定*/
#h1_top{
display: none;
}

/*ウインドウ全体の設定*/
#body{
width: 90%;
max-width: 900px;
margin: 0 auto;
background-color: #fff;
}

#wrap{
background-color: #fff;
}

/*リンク色の設定*/
a{
color: #df4839;
}

a:hover{
color: #ff705b;
}

/*ヘッダー*/
Header{
overflow: hidden;
}

#logo{
float: left;
}
 
#gnav{
background: #fff;
float: left;
}

#gnav ul{
overflow: hidden;
list-style: none;
}

#gnav li{
display: inline;
float: left;
/* width: 110px; */
border-bottom: #777 1px solid;
}

#gnav a{
display: block;
padding: 10px 10px;
text-align: center;
text-decoration: none;
color: #000;
}

li.gnav_selected{
font-weight: bold;
}

/*メインイメージ*/
#main_image{
max-width: 100%;
height: auto;
}

/*ページタイトルの設定*/
h1{
border-top: #6fbb9a 2px dotted;
border-bottom: #6fbb9a 2px dotted;
padding: 15px;
text-align: center;
font-size: 130%;
}

/*イベントの設定*/
.event{
display: block;
max-width: 580px;
margin: 40px auto;
border: 20px solid #900;
border-style: ridge;
background-color: #fff;
position: relative;
}
.event > h2{
text-align: center;
margin-bottom: 30px;
font-size :160%;
border: none;
}
.event > img{
display: block;
margin: 20px auto;
}
.event > p{
width: 600px;
max-width: 90%;
display: block;
margin: 20px auto;
}
.event > #information{
width: 300px;
max-width: 90%;
font-weight: bold;
font-size: 110%;
display: block;
margin: 30px auto;
z-index: 2;
position: relative;
}
.event > .photo_background{
width: 580px;
max-width: 100%;
height: auto;
display: block;
position: absolute;
margin: 0 auto;
bottom: 0px;
z-index: 1;
}

/*メインコンテンツの設定*/
h2{
color: #222;
border-bottom: #bbb 2px solid;
border-left: #bbb 12px solid;
padding: 5px 20px;
margin-bottom: 30px;
font-size :160%;
}

h3{
margin-bottom: 20px;
font-size :130%;
}

/*中央表示画像の設定*/
.photo_center{
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}

/*フッターの設定*/
footer{
background-image: url("img_8分音符_20_40.png");
background-repeat: repeat-x;
padding-top: 30px;
}

.link_text{
text-align: right;
}

#goto_top{
float: right;
}

#links{
margin: 0 20px 10px 0;
color: #888;
float: left;
}

#links > ul > li > a{
text-decoration: underline;
color: #888;
}

#goto_home{
padding-top: 30px;
text-align: left;
}

#flex_school_name{
clear: both;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}

#school_name{
margin-left: 10px;
font-weight: bold;
font-size: 130%;
}

#copyright{
text-align: center;
}

/*個別ページ設定*/
/*ホーム*/
@media screen and (min-width:641px){
.home_photo{
float: left;
max-width: 100%;
height: auto;
margin: 0 20px 10px 0;
}

.main_contents{
overflow: hidden;
margin-bottom: 30px;
}
}

@media screen and (max-width:640px){
.home_photo{
max-width: 100%;
height: auto;
margin: 0 20px 10px 0;
}

.main_contents{
margin-bottom: 30px;
}
}

/*アクセスページ*/
.map_image{
max-width: 100%;
height: auto;
}

/*講師紹介ページ*/
.teacher_list{
list-style: none;
}

/*写真館ページ*/
#canvas{
	display: block;
	margin: 20px auto 20px auto;
	max-width: 100%;
	height: auto;
}

hr.photo_hr{
	margin: 30px 0px;
	border-top: 1px solid #ccc;
	height: 0;
	text-align: center;
	overflow: visible;
}

hr.photo_hr::after{
	content: "PHOTO";
	background: #fff;
	color: #ccc;
	display: inline-block;
	height: 2em;
	line-height: 2em;
	position: relative;
	top: -1em;
	padding: 0 1em;
}

hr.hr-text{
	margin: 30px 0px;
	border-top: 1px solid #ccc;
	height: 0;
	text-align: center;
	overflow: visible;
}

hr.hr-text::after{
	content: attr(data-content);
	background: #fff;
	color: #ccc;
	display: inline-block;
	height: 2em;
	line-height: 2em;
	position: relative;
	top: -1em;
	padding: 0 1em;
}

/*ご意見ページ*/
p.text_bk_p{
	padding: 7px 1.5em;
	background: #fef;
	border: 3px solid #fcc;
}
p.text_bk_b{
	padding: 7px 1.5em;
	background: #eff;
	border: 3px solid #ccf;
}

/*お問い合わせページ*/
form.contact_form{
font-size: 110%;
width: 300px;
margin: 0 auto;
}

input, textarea, button, select{
font-size: 110%;
}

.contact_item{
margin-bottom: 20px;
}

