@charset "utf-8";
/* 基本要素 */
body, html {
  margin: 0;
  padding: 0;
  color: #333;
  
}

a { color:#017acd;
    text-decoration:none; }
	
a:visited { color: #017acd; }
a:hover {
  color: maroon;
  font-weight: bold;
  text-decoration: none;
}

a img { transition: opacity 0.2s linear; }

a:hover img { opacity: 0.7;}

h1, h2, h3, h4, h5, h6 { margin-top: 0; }

p {
  margin-top: 0;
  line-height: 1.6;
}

img { vertical-align: bottom; }


/* コンテナ (画面全部) */
#container {
	margin-top:-17px;
	margin-left:5px;

	}
/*
#main h1 {
  background-image: url(../images/header_bg.jpg);
  padding: 13px 30px 10px 20px;
  font-size: 26px;
  color: #44382d;
  border-bottom: solid 3px #716961;
}

*/
#main h2 {
  font-size: 22px;
  border: 1px solid #b7a077;
  padding: 11px 22px;
  border-radius: 5px;
}

　
#point h3 {background-color: #e0e0e0;
		    background-image: url(../images/bar-green2.png);
				background-repeat: no-repeat;
				background-position: 0px 0px;
				font-size: 0.95em;
  				line-height: 26px;
				padding-left: 28px;
				margin-top: 15px;
				margin-bottom: 15px;
 
                     }


/* ヘッダー */
header {
   width: 980px;
   margin: 0 auto;
   background-image: url(../images/aozora-L.jpg);
   background-color: #003399;
  color: #fff;	
  padding:15px 15px 3px;
  padding-left:20px; 
}

header h1{font-size:26px;}

header p {margin:0px 0px 5px 15px;}

/* 
header #header_contact {
  float: right;
  margin: 35px 0;
}

*/




/* ナビゲーション */
#global_navi {
  width: 980px;
  overflow: hidden;
  margin: 8px auto;
}
#global_navi ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#global_navi ul li {
  width: 150px;
  float: left;
  margin-right: 1px;
  margin-top: 1px;
 }
 
#global_navi ul li a {
  display: block;
  padding: 14px;
  background-color: #005087;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s linear;
  font-size:12px;
  text-align:center
}
#global_navi ul li.current a { 
  background-color:#900 ; 
  color:#fff;
  padding:14px;
  
  }
  
#global_navi ul li a:hover { 
  background-color: #C03;
   color:#FFF;
   font-size:12px;
}


/* パンくずリスト */
#breadcrumb { font-size: smaller; }
#breadcrumb ol {
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
}
#breadcrumb ol li { display: inline; }
#breadcrumb ol li::after {
  content: ">";
  padding-left: 7px;
}
#breadcrumb ol li:last-child::after { content: none; }


/* コンテンツ全体  main + side  */
#wrapper {
  width: 980px;
  margin: 0 auto;
  overflow: hidden;
}


/* mainはsideを除いた部分 */
#main {
  width: 730px;
  float: left;
}

#main h2 {background-color: #014471;
		background-image: url(../images/bar-blue2.jpg);
		background-repeat: repeat-x;
		font-size: 0.975em;
		color: #ffffff;
    	line-height: 15px;
		padding-left: 15px;
		margin-top: 0;
		margin-bottom: 10px;}
		
#main h3 {background-color: #e0e0e0;
		    background-image: url(../images/bar-green2.png);
				background-repeat: no-repeat;
				background-position: 0px 0px;
				font-size: 0.95em;
  				line-height: 26px;
				padding-left: 28px;
				margin-top: 15px;
				margin-bottom: 15px;
 
                     }
					 


/* サイドバー */
#sidebar {
  width: 220px;
  float: right;
  margin-top:30px;
}


#side_search {
	border: solid 1px #8cc63f;	margin-bottom: 20px;
	text-align: center;
	margin-top:0px;}

#side_search h2 {
	background-color: #cdf0a1;
	padding: 5px;
	border-bottom: solid 1px #8cc63f;
	color: #3c5916;
	font-size: 14px;
	text-align: center;
	margin-top: 0;
	margin-bottom: 6px;
		}

#side_banner{
	border: solid 1px #8cc63f;
	margin-bottom: 20px;
	marign-top:0px;
	text-align: center;}

#side_banner h2 {
    background-color: #cdf0a1;
	padding: 5px;
	border-bottom: solid 1px #8cc63f;
	color: #3c5916;
	font-size: 14px;
	text-align: center;
	margin-top: 0;
	margin-bottom: 6px;
 
     }
#side_banner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}


#side_banner ul li { margin-bottom: 10px; }

#side_ad {text-align: center;}


#bottom_ad {margin-top:10px;  }

#page { font-size:0.9em;
           margin-top: 0px;
           line-height: 40px;
           text-align:center;}

#page img.hidari-ya {vertical-align: -4px;}
#page img.migi-ya {vertical-align: -4px;}
#page a {text-decoration: none;}
#page a:hover {color: maroon;}	


div.right-ad {margin-top:30px;
	          }


/* フッター */
footer {
  background-color: #352b23;
  text-align: center;
  clear:both;
}
footer #footer_nav {
  background-color: #efefef;
  padding: 10px 0;
  
}
footer #footer_nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer #footer_nav li {
  display: inline;
  border-left: solid 1px #aaa;
  margin-left: 8px;
  padding-left: 8px;
  font-size: 14px;
 
}
footer #footer_nav li:last-child {
  border-right: solid 1px #aaa;
  padding: 0 8px;
}
footer small {
  display: block;
  padding: 8px 0;
  color: #fff;
}

/* トップページ */
#main_visual {
  width: 980px;
  height: 440px;
  margin: 0 auto 25px;
}


/* こだわり */
#point  { margin-bottom: 30px; }
#point section {
  margin-bottom: 10px;
  overflow: hidden;
}
#point figure {
  float: right;
  margin: 0 0 0 16px;
}
#point figcaption {
  font-size: 12px;
  color: #9C9689;
  text-align: center;
}
/* ニュース */
#news dl { overflow: hidden; }
#news dt {
  float: left;
  width: 8em;
  margin-bottom: 10px;
  clear: both;
}
#news dd {
  margin-left: 8em;
  margin-bottom: 10px;
}


/* 講座案内ページ */
#course table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
#course th,
#course td {
  border: 1px solid #c7c7c7;
  padding: 8px;
}
#course th {
  background-color: #f1ede4;
  text-align: left;
  width: 5em;
}

/* ギャラリーページ */
#gallery ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#gallery ul li {
  width: 220px;
  margin: 0 30px 30px 0;
  padding: 10px 0;
  border: solid 1px #ccc;
  float: left;
  text-align: center;
  color: #b7a077;
  font-weight: bold;
  box-shadow: 2px 2px 3px rgba(0,0,0,0.1);
}
#gallery ul li:nth-child(3n) { 
  margin-right: 0; 
}

/* お問い合わせページ */
#entry dl {
  background: #f1ede4;
  border: 1px solid #ddd;
  border-top: 0;
}
#entry dl dt,
#entry dl dd {
  padding: 10px;
  border-top: 1px solid #ddd;
}
#entry dl dt {
  width: 13em;
  float: left;
  clear: both;
  font-weight: bold;
}
#entry dl dd {
  background-color: #fff;
  border-left: 1px solid #ddd;
  margin-left: 13em;
}
.must { color: #f00; }
#entry #name {
  width: 15em;
  padding: 3px;
}
#entry #email {
  width: 25em;
  padding: 3px;
}

#entry #category2,
#entry #category3,
#entry #questionnaire2,
#entry #questionnaire3 {
  margin-left: 15px; 
}

#entry #detail {
  width: 36em;
  height: 15em;
}

#entry #submit_button_cover {
  text-align: center; 
}
#entry #submit_button {
  background-color: #b7a077;
  border: 1px solid #b7a077;
  padding: 15px 100px;
  border-radius: 10px;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  transition: background 0.1s linear;
}
#entry #submit_button:hover {
  background: #c7ae81;
}

/*表に関して*/
 
table { border: ridge 2px #66cc66;
        width: 100%;
		font-size: 0.95em;
        line-height: 140%;
       }

#booktable col.col1 { width: 25%; }
#booktable col.col2 { width: 50%;}
#booktable col.col3 { width: 25%; }




table.kusuritable col.col1 { width: 20%; }
table.kusuritable col.col2 { width: 80%; }

#shoujoutable col.col1 { width: 30%; }
#shoujoutable col.col2 { width: 70%; }

#taikendantoptable col.col1 { width: 17%; }
#taikendantoptable col.col2 { width: 17%; }
#taikendantoptable col.col3 { width: 66%; }

th {border: ridge 2px #8cc63f;
    padding: 4px;
   }
   
td {border: ridge 2px #8cc63f;
    padding: 4px;
   }

table {border-collapse:collapse;}   
table {margin-bottom: 30px; }

div#backnumber{font-size:1.2em;
               color:maroon;
               height:500px;
               border:2px solid #8cc63f;
               overflow:scroll;
               padding-top:10px;
               background-color: #ffffcc;
               text-align:center;
               }

div#backnumber ul {
                   font-size: 0.9em;
                   text-align:left;
                   padding-top:10px;
                   padding-left:30px;
                    }
	
div#backnumber ul li {
    font-size: 0.8em;
   	line-height: 30px;
   	list-style-type: none;
   	}


div#backnumber ul li a	{
    text-decoration: none;
	color: #017acd;
	border: solid 1px #ffffff;
	padding-left: 10px;
	
	}
	
div#backnumber ul li a:hover {color: maroon;}


.links a  
    {font-size: 1.04em;
    background-image: url(../images/listmark01.gif);
	background-repeat: no-repeat;
	background-position: 4 center;
	padding-left: 22px;
	text-decoration: none;
	margin-left:4px;
		}
		
.links a:hover
    {font-size: 1.1em;
    background-image: url(../images/listmark04.gif);
	background-repeat: no-repeat;
	background-position: 4 center;
	padding-left: 22px;
	text-decoration: none;
	margin-left:4px;
		}

.dekamurasaki{font-size:1.6em;
              color: #330099;}
			

/* ---------------------------------
メディアクエリー
--------------------------------- */
@media screen and (max-width : 767px){
  /* 基本要素 */
  img {
    max-width: 100%;
  }
  /* Layout */
  header,
  #global_navi,
  #sidebar,
  #wrapper{
    width: 100%;
  }  
  /* ヘッダー */
  header h1 {
    float: none;
    text-align: center;
  }
  header h1 img {
    width: 50%;
  }
  header #header_contact {
    display: none;
  }
  /* ナビゲーション */
  #global_navi ul li {
    width: 33.3333%;
    padding: 0.5px;
    margin: 0;
    box-sizing: border-box;
  }
  #global_navi ul li a {
    margin: 0;
  }
  #global_navi ul li:last-child {
    width: 33.3333%;
  }
  
  
  /* メイン部分 */
  #main {
    width: 100%;
    padding: 0 5%;
    box-sizing: border-box;
  }
  
  #main figure {
    text-align: center;
  }
  
  /* トップページパーツ */
  #main_visual {
    width: 100%;
    height: auto;
  }
  
  #point figure {
    float: none;
    margin: 0 0 11px 0;
  }
  /* サイドバー */
  #side_banner ul li {
    text-align: center;
    margin: 11px auto;
  }
  
  #side_contact address img {
    width: 14px;
    height: 20px;
  }
}