@import url("./color.css");

/* CSS Document */
body, html{
	margin:0px;
	padding:0px;
	background-color: #FFF;
	color: #000;
	font-family: Verdana, "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
	font-size:16px;
	line-height: 150%;
}
/*-------------------------
mergin padding
------------------------- */
.mt32
{
	margin-top:32px;
}

.mb32
{
	margin-top:32px;
}

.m16
{
	margin: 16px;
}

.mb4
{
	margin-bottom: 4px;
}

.fontsize.small
{
	font-size:80%;
}
/*-------------------------
color
------------------------- */
.bg-while,
.panel-heading.bg-while{
	background-color: #FFF;
}
.text-bold
{
	font-weight: bold;
}
/*-------------------------
a
------------------------- */
a,
a:link,
a:hover,
a:active{
	text-decoration: none;
}

footer{
	background-color: #dcdcdc;
	padding:10px;
	width:100%;
	bottom:0px;
	left:0px;
	position: relative;
}

h1{
	margin-top: 54px;
}

header nav.navbar{
	margin-top: 8px;
}
header nav.navbar .nav.navbar-nav{
	margin-left: 250px;
}

header nav{
	top:4px;
	left:0px;
	display: block;
	width:100%;
	position: fixed;
	z-index: 9999;
	background-color: rgba(255, 255, 255, 0.8);
	text-align: right;
	padding: 0;
	margin:0;
}
header nav a,
header nav a:active,
header nav a:link{
	display: inline-block;
	font-weight: bold;
	color: #2f8f0a;
	text-align: center;
	padding:6px 0;
	text-decoration: none;
}
header nav a{
	width:64px;
}

header nav a .fa{
	font-size:120%;

}
header nav a span{
	display: block;
	font-size: 70%;
}

header nav a:hover{
	text-decoration: none;
	background-color: rgba(47, 143, 10, 0.51);
}

.top-image{
	width:100%;
	min-height: 500px;
	height: auto;
	overflow: hidden;
	top:0px;
	left:0px;
	position:relative;
	z-index: 1;
	background-image: url('../img/topimage/1.jpg') ;
	background-position: left center;
	background-repeat: no-repeat;
	-moz-background-size:cover;
	background-size:cover;
	display: table;
	border-bottom: 3px solid #CCC;
}
.top.top-image .page-title{
	font-size: 80%;
	color: #f5f3f3;
	text-shadow:1px 1px 0 #000, -1px -1px 0 #000,
	-1px 1px 0 #000, 1px -1px 0 #000,
	0px 1px 0 #000,  0-1px 0 #000,
	-1px 0 0 #000, 1px 0 0 #000;

	text-align:  right;
	width:auto;
	float:right;


	position: absolute;
	bottom: 80px;
	right: 0px;

	border-top-left-radius: 30px;
	border-bottom-left-radius: 30px;

}
.top-image .page-title{
	display: table-cell;
	vertical-align: bottom;
	margin-top: 250px;
	width: 100%;
}
.top-image h1{
	display: block;
	width: 100%;
	text-align: left;
	font-size:30px;
	margin:0;
	padding-top: 8px;
	padding-bottom: 8px;
	text-shadow: 2px 2px rgba(0, 0, 0, 0.75);
	background-color: rgba(0, 0, 0, 0.53);
	color:#FFF;
}
.top-image h1 span{
	display: block;
}
.top-image h1 span span{
	font-size:80%;
	margin-bottom: 8px;
}
@media screen and (min-width: 769px){
	header h1 a img{
		display: block;
		margin:8px;
		width:150px;
		height:auto;
	}
	
	header h1{
		display: block;
		width:166px;
		height: 160px;
		margin:0 0 -160px 0;
		padding:0;
		float:left;
	}

	header h1 a{
		display: block;
		width:320px;
		top:0px;
		left:0;
		position: relative;
		z-index: 99999;
	}

}
@media screen and (max-width: 768px){
	header h1 a img{
		display: block;
		margin:10px;
		width:70px;
		height:auto;
	}

	header h1{
		display: block;
		width:90px;
		height: 90px;
		margin:0 0 -90px 0;
		padding:0;
		float:left;
	}

	header h1 a{
		display: block;
		width:90px;
		border:1px solid #CCC;
		top:-5px;
		left:0;
		position: relative;
		border-radius: 10px;
		-webkit-border-radius: 10px;
		-moz-border-radius: 10px;
		-webkit-border-top-left-radius: 0px;
		-webkit-border-top-right-radius: 0px;
		-moz-border-radius-topleft: 0px;
		-moz-border-radius-topright: 0px;
		background-color:#FFF;
		z-index: 99999;
	}

	header nav a{
		display: inline-block;
		font-weight: bold;
		color: #2f8f0a;
		text-align: center;
		width:40px;
		padding:4px 0;
	}
	header nav a span{
		margin-top: 0;
		font-size: 50%;
		line-height:50%;

	}

}



.staff .box {
	border:1px solid #CCC;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	padding:8px;
	margin-top:4px;
	
}
.staff .box .name{
	margin: 0;
	
}
.staff .name-english{
	font-size:80%;
	margin-bottom: 8px;

}

.staff .box ul{
	margin:8px 16px;
	padding:0;
}
.staff .social{
	font-size:80%;
	
}
.staff .social span{
	color:#DCDCDC;
	
}
.staff .text{
	font-size:70%;
}
.staff h3{
	font-size: 130%;
	font-weight: normal;
}

.product{
	margin-top:8px;
	
}


.company .address:last-child{
	margin-top:16px;
}
.business h2{
	font-size:110%;
}
.company .business-number span{
	font-size: 80%;
	
}
a.btn-pagetop{
	display: inline-block;
	width:40px;
	height: 40px;
	line-height: 40px;
	vertical-align:bottom;
	border:1px solid #FFF;
	background-color: rgba(0, 128, 0, 0.50);
	color:#FFF;
	text-decoration: none;
	position: fixed;
	z-index:9999;
	bottom: 10px;
	right: 10px;
	
	text-align: center;
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	
}


.business .col-wrap{
	display: table;
	width:100%;
	
}
.business .col{
	display: table-cell;
	width:30%;
	
}
.business .col{
	padding:8px;
}


.business .box{
	border:1px solid #CCC;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	padding:8px;
	margin-top:4px;
	font-size:100%;
}
.business .box .fa{
	display: block;
	font-size:80px;
	margin-bottom: 4px;
}
@media screen and (max-width: 768px){
	.business .box {
		font-size:70%;
	}
}
@media screen and (max-width: 600px){
	.business .box {
		font-size:45%;
	}
	
}
.business a .box{
	box-shadow:rgba(0, 0, 0, 0.3) 3px 3px 3px 0px;
	-webkit-box-shadow:rgba(0, 0, 0, 0.3) 3px 3px 3px 0px;
	-moz-box-shadow:rgba(0, 0, 0, 0.3) 3px 3px 3px 0px;
}
.business a .box:hover{
	box-shadow:rgba(0, 0, 0, 0) 3px 3px 3px 0px;
	-webkit-box-shadow:rgba(0, 0, 0, 0) 3px 3px 3px 0px;
	-moz-box-shadow:rgba(0, 0, 0, 0) 3px 3px 3px 0px;
}


.school .lesson
{
	display: block;
	padding:8px;
	margin-bottom: 16px;
	border:1px solid #CCC;
	box-shadow:rgba(0, 0, 0, 0.3) 3px 3px 3px 0px;
	-webkit-box-shadow:rgba(0, 0, 0, 0.3) 3px 3px 3px 0px;
	-moz-box-shadow:rgba(0, 0, 0, 0.3) 3px 3px 3px 0px;
	
}
.school .lesson h1{
	font-size:150%;
	margin:4px 0;
	line-height: 150%;
	border-bottom:1px dashed #CCC;
}

.school .lesson .btn{
	width:100%;
	border-top:1px dashed #c0c0c0;
	text-align: right;
}


.school .lesson .btn a{
	display: inline-block;
	background-color: #287908;
	color:#FFF;
	padding:8px 16px;
	text-align: center;
	box-shadow:rgba(0, 0, 0, 0.3) 3px 3px 3px 0px;
	-webkit-box-shadow:rgba(0, 0, 0, 0.3) 3px 3px 3px 0px;
	-moz-box-shadow:rgba(0, 0, 0, 0.3) 3px 3px 3px 0px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}
.school .lesson .btn a:hover{
	box-shadow:rgba(0, 0, 0, 0) 3px 3px 3px 0px;
	-webkit-box-shadow:rgba(0, 0, 0, 0) 3px 3px 3px 0px;
	-moz-box-shadow:rgba(0, 0, 0, 0) 3px 3px 3px 0px;
	
}
.school .lesson .btn .btn-regist{
	background-color: #2f8f0a;
	font-weight: bold;

}

.school .lesson .flag{
	display: block;
	width:60px;
	height: 60px;
	text-align: center;
	background-color: red;
	color:#FFF;
	float:right;
	z-index: 5;
	top:-14px;
	position: relative;
	vertical-align: bottom;

}
.school .lesson .flag:after{
	content: "";
	position: absolute;
	bottom: -3px;
	left: 50%;
	margin-left: -30px;
	width: 0;
	height: 0;
	border-bottom: 30px solid #FFF;
	border-left: 30px solid transparent;
	border-right: 30px solid transparent;
	
}
.school-detail{
	padding-top: 16px;
	
}
.school-detail .master-profile
{
	padding-bottom: 100px;
	
}

/**
* 吹き出し
 */
.balloon1 {
	position: relative;
	display: inline-block;
	margin: 1.5em 0;
	padding: 24px 24px;
	min-width: 120px;
	max-width: 100%;
	color: #555;
	font-size: 16px;
	background: #eeeeee;

	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
	border-bottom-right-radius: 30px;
	border-bottom-left-radius: 30px;

}

.balloon1:before {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -15px;
	border: 15px solid transparent;
	border-top: 15px solid #eeeeee;
}

.balloon1 p {
	margin: 0;
	padding: 0;
}


a:hover {
	top:2px;
	position: relative;
}




