/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body{
	font-family:"メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", Osaka, sans-serif;
}

/* basic table layout */
table{
	border-collapse:collapse;
	border:1px solid #E2DFD4;
	background:#fff;
	width:100%;
}
	.t_heads{
		width:20%;
	}
		th{
			vertical-align:top;
			text-align:left;
			font-weight:normal;
			border:1px solid #E2DFD4;
			background:#F5F3EB;
			padding:10px 30px;
		}
		td{
			border:1px solid #E2DFD4;
			padding:10px 30px;
		}

.wrapper{
	width:960px;
	margin:0 auto;
	position:relative;
}

#header{
	margin:0;
	padding:0;
	border-bottom:6px solid #44ACAC;
}
	#header h1{
		margin:0;
		position:absolute;
		bottom:67px;
		left:0;
	}
	.desc{
		font-size:68.8%;
		margin:5px 16em 0 0;
		position:absolute;
		top:0;
		left:0;
	}
	header nav{
		margin:48px 0 0;
		font-size:87.5%;
	}
	.global-nav{
		margin:10px 0 0;
		font-size:1%;
	}
		header nav ul{
			text-align: right;
			margin:0 13em 0 330px;
			padding:0;
		}
		.global-nav ul{
			text-align:left;
			margin:0;
			height:60px;
			overflow:hidden;
			background:url(../img/common/bg_global-nav.gif) no-repeat left top;
		}
			header nav li{
				display:inline;
				margin:0 0 0 10px;
				padding:0 0 0 14px;
				background:url(../img/common/bullet.gif) no-repeat left center;
			}
			.global-nav li{
				float:left;
				display:block;
				margin:0;
				padding:0;
				background:none;
			}
			header .tel{
				position:absolute;
				top:11px;
				right:0;
				background:none;
				margin:0;
				padding:0;
				text-align:center;
			}
				header .tel dl{
					margin:0;
					font-weight:bold;
				}
					header .tel dt{
						color:#39A8AC;
						border:solid 2px #C1E4E4;
						border-radius:3px;
						line-height:2;
						margin:0 0 5px;
					}
					header .tel dd{
						margin:0;
						font-size:125%;
						color:#009;
					}
						header .tel a,
						header .tel a:link,
						header .tel a:visited{
							color:#009;
							margin:0 0 0 2px;
						}
						header .tel a:hover,
						header .tel a:active{
							color:#03b;
						}

				header nav a{
					text-decoration:none;
					color:#333;
				}
				header nav a:hover,
				header nav a:active{
					color:#666;
				}
				.global-nav a{
					display:block;
					height:60px;
					width:180px;
					text-indent:100%;
					white-space:nowrap;
					overflow:hidden;
					background:url(../img/common/global-nav.png) 0 0;
					-moz-transition: all .5s;
					-webkit-transition: all .5s;
					-o-transition: all .5s;
					-ms-transition: all .5s;
					transition: all .5s;
				}
				.nav_home a{
					width:60px;
				}
				.nav_home a.on,
				.nav_home a:hover,
				.nav_home a:active{
					background-position:0 -100px;
				}
				.nav_course a{
					background-position:-60px 0;
				}
				.nav_course a.on,
				.nav_course a:hover,
				.nav_course a:active{
					background-position:-60px -100px;
				}
				.nav_facilities a{
					background-position:-240px 0;
				}
				.nav_facilities a.on,
				.nav_facilities a:hover,
				.nav_facilities a:active{
					background-position:-240px -100px;
				}
				.nav_price a{
					background-position:-420px 0;
				}
				.nav_price a.on,
				.nav_price a:hover,
				.nav_price a:active{
					background-position:-420px -100px;
				}
				.nav_access a{
					background-position:-600px 0;
				}
				.nav_access a.on,
				.nav_access a:hover,
				.nav_access a:active{
					background-position:-600px -100px;
				}
				.nav_contact a{
					background-position:-780px 0;
				}
				.nav_contact a.on,
				.nav_contact a:hover,
				.nav_contact a:active{
					background-position:-780px -100px;
				}

footer{
	background:#C1E4E4;
}
	.up{
		font-size:87.5%;
		font-weight:bold;
		line-height:40px;
	}
		.up a{
			float:right;
			color:#333;
			background:url(../img/common/bullet_up.gif) no-repeat left center;
			padding:0 0 0 14px;
			text-decoration:none;
		}
	footer section{
		background:#fff;
		width:100%;
		margin:0;
		padding-bottom:1.6em;
	}
		footer h1{
			font-weight:normal;
			font-size:93.8%;
			float:left;
			margin:10px 0;
		}
		footer .tel{
			float:left;
			margin:10px 1em 0;
			font-size:93.8%;
			color:#C51F24;
		}
			footer .tel a{
				color:#C51F24;
				text-decoration:none;
				margin:0 0 0 0.2em;
			}
		footer .address{
			font-size:68.8%;
			position:absolute;
			left:0;
			bottom:-1.4em;
		}
		.copyright{
			float:right;
			margin:12px 0;
			font-size:68.8%;
		}
	footer nav{
		background:#F5F3EB;
		border-bottom:1px solid #44ACAC;
		font-size:93.8%;
		line-height:1.8;
		padding:20px 0 0;
	}
		footer ul{
			margin:0 0 18px;
			padding:0;
			float:left;
		}
			footer li{
				display:inline;
				margin:0;
			}
				footer li:after{
					content:"|";
					margin:0 0.2em 0 0.5em;
					color:#ccc
				}
				.last:after{
					content:"";
					margin:0;
					display:none;
				}
					footer nav a{
						text-decoration:none;
						color:#333;
					}
					footer nav a:hover,
					footer nav a:active{
						color:#666;
					}
		footer .mmag_bnr{
			float:right;
		}

section{
	position:relative;
	width:960px;
	margin:0 auto;
}
	h2{
		margin:30px 0 20px;
	}
		h2 img{
			display:block;
			line-height:0;
		}

	h3{
		border-bottom:3px solid #BEE2E4;
		font-size:125%;
		margin:0 0 20px;
		height:1.4em;
	}
		h3 span{
			margin:0 0.5em 0 0;
			position:relative;
			color:#39A7AC;
			height:1.4em;
			float:left;
		}
			h3 span:after{
				display:block;
				height:3px;
				width:100%;
				position:absolute;
				bottom:-3px;
				left:0;
				content:"";
				background:#39A8AC;
			}


	.miyajimacc{
		margin:0 auto;
		width:960px;
		height:30px;
		position:relative;
		z-index:1000;
	}
		.miyajimacc dl{
			background:#C1E4E4;
			margin:0;
			padding:10px;
			border-radius:5px;
			width:460px;
			position:absolute;
			bottom:-40px;
		}
			.miyajimacc dt{
				float:right;
				margin:0 0 0 10px;
			}
			.miyajimacc dd{
				overflow:hidden;
				font-size:68.8%;
				margin:0;
				font-weight:bold;
				line-height:1.5;
			}
				.miyajimacc img{
					display:block;
					width:230px;
					height:50px;
				}





/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}