@charset "utf-8";


/* TABLEをたてに重ねる　ただ、display:block;にするだけ */
/*@media screen and (max-width:640px) {
    .table th, .table tr, .table td {
        display:block;
	width:100%;
	]
}*/


@media only screen and (max-width:800px){
	.table{
		display: block;
	margin:0px auto 0px auto;
	}
		.table thead{
			display: none;
		}
		.table tbody{
			display: block;
		}
			.table tbody tr{
				display: block;
				margin-bottom: 1.0em;
			}
			.table tbody th,
			.table tbody td{
				display: list-item;
				border: none;
			}
			.table tbody th{
				margin-bottom: 5px;
				list-style-type: none;
				color: #fff;
				background: #999;
			}
			.table tbody td{
				margin-left: 20px;
				padding: 0;
				background: #fff;
			}
/*
			.table tbody td:nth-of-type(1):before { content: "[品詞]"; }
			.table tbody td:nth-of-type(2):before { content: "[意味]"; }
			.table tbody td:nth-of-type(3):before { content: "[用例]"; }
*/
}


/*****************************************************
/* GO TOP
******************************************************/
#gotop{
clear:both;
float:right;
padding:10px 25px 20px 10px;
/*background:#fff;*/
font-size:10px;
}

#gotop a{
padding:0 0 0 12px;
background:url(../images/bg_gotop.gif) 0 60% no-repeat;
}



/*****************************
GOTO TOP ボタン演出
*****************************/
#page-top {
	position: fixed;
	bottom: 20px;
	right: 10px;
	font-size: 77%;
}
#page-top a {
	background: #666;
	text-decoration: none;
	color: #fff;
	width: 80px;
	padding: 15px 0;
	text-align: center;
	display: block;
	border-radius: 5px;
}
#page-top a:hover {
	text-decoration: none;
	background: #999;
}



/*****************************
section.content:after 追加処理
*****************************/
/* 回り込み解除 */
section.content:after {
   content:"";
   display:block;
   height:0;
   clear:both;
   visibility:hidden;
}




/***************************************
IFRAME をレスポンシブ化する魔法のタグ
この指定をしていればすべてのiframeタグを
レスポンシブ対応させることができます。
使用方法
<div class="magic-ifame">
<iframe src=&quot;//www.youtube.com/embed/9OPWPtYLg4g&quot; height="360" width="480" allowfullscreen="" frameborder="" </iframe>
</div>
***************************************/
.magic-ifame {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
margin-top: 20px;
margin-bottom: 20px;
}
.magic-ifame iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}



/*****************************
イメージ表示サイズ
*****************************/

/* 通常表示 */
.is10{width:10%;}
.is15{width:15%;}
.is20{width:20%;}
.is30{width:30%;}
.is40{width:40%;}
.is50{width:50%;}
.is60{width:60%;}
.is70{width:70%;}
.is80{width:80%;}
.is90{width:900%;}
.is100{width:100%;}

.is25{width:25%;}
.is75{width:75%;}

/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
.is10{width:100%;}
.is15{width:100%;}
.is20{width:100%;}
.is30{width:100%;}
.is40{width:100%;}
.is50{width:100%;}
.is60{width:100%;}
.is70{width:100%;}
.is80{width:100%;}
.is90{width:100%;}
.is100{width:100%;}

.is25{width:100%;}
.is75{width:100%;}

}


/*****************************
グーグルマップ
*****************************/
div#gMap {
    width: 100%;
    height: 400px;
}


/*****************************
3Dアニメーション ボタン　見積もり
*****************************/
.btn{
    -webkit-transition:all 0.3s;
    transition:all 0.3s;
    /* 以下装飾です。削除OK */
    text-decoration:none;
    height: 60px;
    line-height: 60px;
    width: 240px;
    text-align: center;
    display: block;
    margin:13px 10px;
    outline: none;
    float: left;
    position: relative;
    z-index: 2;
}
.btn:before,.btn:after{
    position: absolute;
    display: block;
    content:"";
    height: 100%;
    width: 100%;
    -webkit-transition:all 0.3s;
    transition:all 0.3s;
}

.v1-7{
    border: 5px solid #19283c;
    overflow: hidden;
}
.v1-7:hover{
    color: #fff;
}
.v1-7:after{
    top: -100%;
    left: -100%;
    z-index: -1;
}
.v1-7:hover:after{
    background: #19283c;
    top: 0;
    left: 0;
}

.v2-8{
    border: 5px solid #007374;
    color: #fff;
    background: #007374;
    box-shadow:
        1px 1px 0px 0px #005857,
        2px 2px 0px 0px #005857,
        3px 3px 0px 0px #005857,
        4px 4px 0px 0px #005857,
        5px 5px 0px 0px #005857,
        6px 6px 0px 0px #005857,
        7px 7px 0px 0px #005857,
        7px 7px 3px 0px #ccc;
    border-radius: 20px;
    -webkit-transition:all 0s !important;
    transition:all 0s !important;
}
.v2-8:hover{
    top: 7px;
    left: 7px;
    box-shadow:0 0 0 0 #003838;
}
