/* program css */
/* header */
header #globalheader{
  max-width: 960px;
  margin: -42px auto 0;
}
header h1.title{
  font-size: 12px; 
  position:relative; top:25px; left:0;
}
header h1.title a{
  color: #999;
}
#globalheader img {
  max-width: 100%;
  height: auto;
}
#pg-mainimg {
  margin: 0 0 10px;
}
#pg-mainimg img {
  max-width: 100%;
  height: auto;
}

.pg-end01 {
  margin-left: 5px;
  padding-left: 10px;
  padding-right: 5px;
  color: #ffffff;
  font-weight: bold;
  background: #999999 url() no-repeat left top;
}

/* top-content */
.top-t1 h2 {
  margin-top: 0;
}
.entry h2,
#posts h2,
.top-t1 h2,
.top-t2 h2,
.top-t3 h2,
section h2 {
  padding-top: 5px;
  padding-left: 20px;
  line-height: 1.1;
  font-size: 16px;
}
.entry h2,
#posts h2{
  margin-bottom: 20px;
}
.top-t1 a,
.top-t2 a,
.top-t3 a {
  text-decoration: none;
  color: #003399;
}
.top-t1 a:hover,
.top-t2 a:hover,
.top-t3 a:hover {
  text-decoration: none;
  color: #ff6600;
}
.top-t1 h2,
.top-t2 h2{
  margin-top: 10px;
  margin-bottom: 0;
  color: #187CC0;
}
.top-t3 h2{
  color: #BA5D01;
  margin-bottom: 10px;
}
.top-t3 {
  margin-bottom: 30px;
}
.top-t2 h3{
  margin: 5px 0 0;
  background: #ffffff url(/mt-images/hm_dantai_bg.gif) no-repeat left center;
  color: #187CC0;
  text-align: center;
}
.top-t1 nav,
.top-t2 nav,
.top-t3 nav {
  clear: both;
  text-align: right;
}
.top-t1 nav a,
.top-t2 nav a,
.top-t3 nav a {
  text-decoration: none;
}
.top-t1 nav a:after,
.top-t2 nav a:after,
.top-t3 nav a:after{
  content: '\00BB';
  margin-left: 0.3em;
}
.col03 figure {
  display: none;
}
@media (min-width: 700px) {
  .col03 figure {
    display: inline-block;
    float: right; }
  .col03 figure img {
    margin: 0 0 0 0.809em; }
}
.col03 h3, .col03 p{
  margin: 0;
}
.col03 h3 {
  margin-bottom: 3px;
}
.col03 span{
  font-size: 0.809em;
  font-weight: normal;
}
.col03 span:after{
  content: " ";
}
.pamp-c {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 930px) {
  .widget-recent-entries {
    margin-left: 1.618em;
    border: #ccc 1px solid;
  }
  .widget-recent-entries h3 {
    margin-top: 0;
  }
}
ul.col-b  {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
ul.col-b li {
  float: left;
  margin: 10px 4px 15px 1px;
}
.col01-photo {
  width: 105px;
  float: left;
  margin-top:5px;
}
.col01,
.col03 {
  margin-top: 5px;
  border-bottom: 1px solid #ccc;
}
.col01 div{
  padding: 0 0 5px;
}
.top-icon01 {
  float: right;
  vertical-align: middle;
}
.top-icon02 img{
  vertical-align: middle;
  padding-right: 5px;
}  
.col02 {
  width: 300px;
  height: 150px;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 0;
  margin-right: 10px;
  float: left;
}
.col02-photo {
  width: 105px;
  float: left;
  margin-top:5px;
}
.col01-excerpt p,
.col02-excerpt p {
  margin: 0;
  text-align: right;
}
.col02-ipname {
  margin-top: 5px;
  background: #ffffff url(/mt-images/hm_inst_bg.gif) no-repeat 110px center;
  text-align: center;
  color: #187CC0;
}

/* web-page */
.page h3 {
  margin: 1.618em 0 1.14em;
  padding: 5px 5px 2px 20px;
  font-size: 1.14em;
}
.page h4 {
  background: #ffffff url(/mt-images/webpage_h3.gif) no-repeat left center;
  border-bottom: 1px #ccc solid;
  padding-left: 1em;
  color: #01865a;
}
.map-title {
  background: #ffffff url(/mt-images/webpage_h3.gif) no-repeat left center;
  margin: 0 0 5px 20px;
  padding-left: 1em;
  color: #01865a;
}
.page p {
  margin: 0 0 1.14em 0.9em;  
}
.wp-content img {
  float: left;
  margin: 0 30px 20px 0;
}
.archive-content ul {
  margin: 0 0 1em 0.3em;
  list-style-type: none;
}
.archive-content ul ul {
  margin: 0 0 1em 1em;
  padding: 0;
  list-style-type: none;
}
.archive-content ul li{

} 
h2.title,
#posts h2,
.page h3 {
  background: #ffffff url(/mt-images/h2bg_or.gif) no-repeat left top;
}
.top-t1 h2 {
  background: #ffffff url(/mt-images/h2bg_green.gif) no-repeat left top;
  color: #01865A;
  padding-bottom: 5px
}
h2.ac-title,
.top-t2 h2 {
  background: #ffffff url(/mt-images/h2bg_blue.gif) no-repeat left top;
  padding-bottom: 5px
}
.top-t3 h2 {
  background: #ffffff url(/mt-images/h2bg_brown.gif) no-repeat left center;
}
.page .title {
  background: #ffffff url(/mt-images/webpage_title.jpg) no-repeat left top;
  height: 104px;
  color: #ffffff;
  margin-bottom: 15px;
} 
.page .title-hosoku {
  display: block;
  padding-top:5px;
  padding-bottom:0;
  padding-left: 20px;
  font-size: 1.285em;
} 
.page h2 {
  margin:0;
  padding-top:8px;
  padding-left: 20px;
  font-size: 1.618em;
  line-height: 1.2;
} 

/* association */
.ac-icon {
  clear: both;
  border: solid 1px #ccc;
  margin: 10px 0;
  padding: 10px 10px 0 10px;
}

/* instructor */
.dantai {
  font-size: 0.9em;
  padding-right: 5px;
  float:right;
}

/* program-content */
/* content-02 */
.pg-content01 {
  margin: 10px 0;
}
.pg-content01 p{
  margin: 0;
}
.pg-icon{
  text-align: right;
}
.pg-icon2{
  text-align: center;
}
.pgentry,
.acentry {
  font-weight: bold;
  font-size: medium;
  margin-bottom: 1em;
}
.pgentry {
  color: #993300;
}
.acentry {
  color: #990066;
}
.pg-content01S img {
  float: right;
  margin: 0 0 15px 10px !important;
  padding: 0 !important;
  border: 0 !important;
}
.pg-content01L{

}
.pg-content01R{
  margin: 0 0 15px 5px;
}

@media screen and (min-width: 700px) {
  .pg-content01L{
    float: left;
    width: 210px;
  }
  .pg-content01R{
    float: right;
    margin: 0 0 15px 5px;
    width: 400px;
  }
}

table { border-collapse:collapse; border-spacing:0; }
table,th,td { border:none; }

/* content-02 */
.pgTable {
  line-height: 1.2;
}
.pgTable p{
  margin: 2px 0;
  line-height: 1.4;
}
.pgTable ul{
  margin:0;
  padding:0;  
}
.pgTable li{
  padding-right: 10px;
  display : inline;
}
.pgTable tr{
  border-top: 1px solid #cccccc;
}
.pgTable th,
.pgTable td{
  text-align:left;
  padding:5px 20px 0 0;
  border:none;
  vertical-align: top;
}
.pgTable table th{
	font-weight:bold;
	background:#CCC;
}
@media(max-width:600px){
	.pgTable table,
	.pgTable table tbody,
	.pgTable table tr{
		display:block;
    border: none;
	}
	.pgTable th,
	.pgTable td{
		width:100%;
		-webkit-box-sizing:border-box; /* via. http://caniuse.com/#search=box-sizing */
		-moz-box-sizing:border-box;
		box-sizing:border-box;
		float:left; /* for IE9 */
		clear:both; /* for IE9 */
	}
	.pgTable colgroup,
	.pgTable col{
    display:none; /*for Firefox*/
  }
	.pgTable table tr{
		margin:0 0 .3em;
	}
	.pgTable table tr:after{ /* clearfix */
		content:'';
		display:table;
	}
}

#headerWrap,#footerWrap { width:100%;    background: #e3f6e8; }
[role="banner"],
[role="contentinfo"] { 
  margin-left:auto; margin-right:auto;
}

#nav-footer {
  background: #01865a;
  height: 28px;
  margin-left:auto; margin-right:auto;
  line-height: 2;
}
#nav-footer a {
  color: #ffffff;
  text-decoration: none;
}
#nav-footer img{
  vertical-align: middle;
  padding-right: 5px;
  padding-left: 5px;
}
#nav-footer #foot-menu {
  display: block;
  max-width: 960px;
  margin-left:auto; margin-right:auto;
  text-align: right;
}
#nav-footer #foot-menu ul li{
  margin-left:20px;
}

#g-footer {
  margin-top: 5px;
  padding-top: 10px;
  color: #999;
  text-align: left;
}

#g-footer > div {
  padding: 24px 0;
}

#globalfooter {
}

#g-footer h1 {
  margin: 10px 0 0 0;
  width: 300px;
  float: left;
  font-size: 1.14em;
  color: #01865a;
}
#g-footer p{
  font-size: 0.9em;
  color: #333;
}
#g-footer ul {

}
#g-footer li {
  background-image: none;
}
#g-footer li {
  font-size: 12px;
  line-height: 1.2;
  color: #666666;
}
#g-footer a:link,
#g-footer a:visited {
  color: #666666;
  text-decoration: none;
}
#g-footer a:hover,
#g-footer a:focus,
#g-footer a:active {
  color: #ff6600;
  text-decoration: none;
}
#g-footer nav,
#copyright {
  overflow: hidden;
  margin: 10px auto;
  width: 960px;
}
#g-footer nav{
  background-image: url(/mt-images/ft_mascot.gif);
  background-position: right bottom;
  background-repeat: no-repeat;
  min-height: 153px;
}
#g-footer nav > ul {
  _display: inline; /* IE6 */
}
#g-footer nav ul a {
  display: block;
  padding: 4px 0;
}
#g-footer nav ul,
#g-footer nav li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
#g-footer nav > ul > li {
  _display: inline; /* IE6 */
  display: list-item;
  position: relative;
  float: left;
  margin-right: 16px;
  padding: 0;
  width: 150px;
  list-style-image: url(/mt-images/ft_arrow_or2.gif);
}
#g-footer nav > ul > li,
#g-footer nav > ul > li > a {
  padding-top: 0;
  font-size: 14px;
}
#g-footer nav > ul > li:last-child {
  margin-right: 0;
}
#g-footer nav > ul > li > ul li {
  display: block;
}
#g-footer nav li strong {
  display: block;
  font-weight: normal;
}
#copyright {
  margin-top: 16px;
}
#copyright p {
  margin: 8px 0 0 0;
  padding: 0;
  font-size: 11px;
  line-height: 1.4;
}
#g-footer nav > ul > li {
  margin-bottom: 50px;
}
#about-nav{
  width: 300px;
  float: left;
  margin-top: -10px;
  height: 160px;
}
@media only screen and (max-width: 959px) {
  #g-footer nav,
  #copyright {
    width: 759px;
    float: none;
  }
  #about-nav{
  	width: 280px;
	}
}
 /* media query 480-760 */
@media only screen and (min-width: 480px) and (max-width: 760px) {
  #g-footer nav,
  #copyright {
    width: 460px;
    float: none;
  }
  #g-footer nav {
    background-position: right 0%;
  }
  #g-footer nav > ul {
    margin-left: 15px;
  }
  #g-footer nav > ul > li {
    width: 135px;
  }
  #g-footer nav > ul > li:nth-child(3n) {
    margin-right: 0;
  }
  #g-footer nav > ul > li:nth-child(3n+1) {
    clear: left;
  }
}

 /* media query 480-640 */
@media only screen and (max-width: 640px) {
  #nav-footer {
    max-width: 100%;
    height: 60px;
    display: block;
  }
  #foot-menu > ul > li:nth-child(2n) {
    margin-right: 0;
  }
  #foot-menu > ul > li:nth-child(2n+1) {
    clear: left;
  }
}

 /* media query -480 */
@media only screen and (max-width: 480px) {
  #g-footer nav,
  #copyright {
    width: 296px;
  }
  #nav-footer #foot-menu ul li{
  	margin-left:0px;
	}
  #g-footer nav {
    padding-left: 15px;
  }
  #g-footer nav > ul > li {
    width: 140px;
  }
  #g-footer nav > ul > li:nth-child(2n) {
    margin-right: 0;
  }
  #g-footer nav > ul > li:nth-child(2n+1) {
    clear: left;
  }
} /* end media query */

.cate-icon {
  display: inline-block;
  margin-right: 0.5em;
  padding: 0 0.3em;
  text-decoration: none;
}
.cate-icon img {
  vertical-align: top;
}

/* side menu */
.co-menu ul {
  list-style-type: none;
  list-style-image: url(/mt-images/sid_arrow_g.gif);
  padding-left: 2.5em;
}
.co-menu ul li {
  padding-top: 0.8em;
  color: #01865a;
}
.co-menu ul li a{
  text-decoration: none;
  color: #01865a;
}
.widget h3 {
  margin-bottom: 0.809em;
  border-bottom: 0px solid #c0c6c9;
  background-image: url(/mt-images/sid_bg.gif);
  color: #01865a;
  text-align: center;
}
.widget ol,
.widget-recent-entries ul,
.widget-archive-category ul,
.widget-archive-pg-category ul ul,
.widget-pages ul ul{
  list-style-image: url(/mt-images/sid_arrow_or.gif);
  font-weight: normal;
}
.widget ol li,
.widget ul li{
  padding: 0.2em;
}
.widget-archive-pg-category ul,
.widget-pages ul{
  font-weight: bold;
}
.widget-pages ul ul ol li{
  list-style-image: none;
  list-style-type: decimal; 
  padding-left: 5px;
}
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/* wppage table */
.wpcome {
  font-size: 0.9em;
}
table.wpTable {
  border-collapse: separate;
  border-spacing: 0 30px;
}
.wpTable td{
  border:none;
}
.wpTable p{
  margin: 2px 0;
  line-height: 1.2;
}
.wpTable ul{
  margin-top:5px;
  margin-bottom: 5px;
}
.wpTable th,
.wpTable td{
  ext-align:left;
  padding:5px 10px;
	border:none;
  vertical-align: top;
}
.wpTable .wpt1{
  width: 28%;
	font-size: 1.2em;
  font-weight: bold;
  color: #378A44;
  text-align: center;	
}
.wpTable .wpt1 img{
	margin: 10px auto;
}

@media(max-width:600px){
	.wpTable table,
	.wpTable table tbody,
	.wpTable table tr{
	  display:block;
    border: none;
  }
  .wpTable th,
  .wpTable td,
  .wpTable .wpt1{
    width:100%;
	  -webkit-box-sizing:border-box; /* via. http://caniuse.com/#search=box-sizing */
	  -moz-box-sizing:border-box;
	  box-sizing:border-box;
	  float:left; /* for IE9 */
	  clear:both; /* for IE9 */
  }
  .wpTable table tr{
    margin:0 0 .3em;
  }
  .wpTable table tr:after{ /* clearfix */
	  content:'';
	  display:table;
  }
}

/* index pagenate */
.pagenate {
	margin: 15px 5px;
	padding: 10px 5px 5px;
	text-align: center;
}
.pagenate span a,
.pagenate .link_page {
	display: inline-block;
	margin-bottom: 5px;
	padding: 3px 10px;
	text-decoration: none;
	vertical-align: middle;
}
.pagenate .link_page {
  border: 1px solid #7FCEF2;
  background: #fff;
}
.pagenate span a {
	text-decoration: underline;
}
.pagenate a:hover {
	color: #000;
	background: #DDECF6;
}

/* category label */
.label {
  border-radius: 3px;
}
.label.category {
  background-color: #01865A;
}






