@charset "utf-8";


/* TABLEをたてに重ねる　ただ、display:block;にするだけ */



@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: #aaa;
				text-align:left;
				}
			.table tbody td{
				margin-left: 10px;
				padding: 0;
				background:transparent;
				list-style-type: none;
			/*	background: #fff; */
				}


/*************
テーブル お知らせ
*************/
table.table .whatnew{
	background-color:#ffffff;
	width: 100%;
}
table.table .ymd{
	width: 15%;
	margin:10px;
	line-height: 150%;
	padding	: 5px 10px 0px 0px;
	border-bottom: 0px dotted #ddd;
	vertical-align:top;
	text-align: left;
	list-style-type: none;
}
table.table .comment{
	width: 95%;
	margin:10px;
	line-height: 150%; 
	padding	: 0px 0px 5px 0px;
	border-bottom: 1px dotted #ddd;
	list-style-type: none;
}

		/***************************************************** 
			お問合せ
		******************************************************/
		.table2{
			display: block;
			margin:0px auto 0px auto;
			}
		.table2 thead{
			display: none;
			}
		.table2 tbody{
			display: block;
			}
		.table2 tbody tr{
			display: block;
			margin-bottom: 1.0em;
			}
		.table2 tbody th,
		.table2 tbody td{
			display: list-item;
			border: none;
			}
		.table2 tbody th{
			margin-bottom: 5px;
			list-style-type: none;
			text-align:left;
			padding: 15px;
			font-weight: normal;
			line-height:100%;
			}
		.table2 tbody td{
			list-style-type: none;
			margin-left: 0px;
			font-size:16px;
			padding: 8px 10px 15px 2px;
			background:transparent;
			width:auto;
			}
		.table2 tbody td.table_r{
			padding: 2px 10px 15px 15px;
			}

		table.table2 tr th p {
			font-size: 14px;
			}
		.table2 input[type="text"]{
			-webkit-appearance : none; /* フォーム関連要素のデフォルトスタイルを初期化 */
			max-width : 100%;
			font-size:16px;
			}
		.table2 input[type="email"]{
			-webkit-appearance : none; /* フォーム関連要素のデフォルトスタイルを初期化 */
			max-width : 100%;
			font-size:16px;
			}
		.table2 input[type="tel"]{
			-webkit-appearance : none; /* フォーム関連要素のデフォルトスタイルを初期化 */
			max-width : 100%;
			font-size:16px;
			}
		.table2 select{
			-webkit-appearance : none; /* フォーム関連要素のデフォルトスタイルを初期化 */
			max-width : 100%;
			font-size:16px;
			}
		.table2 textarea{
			-webkit-appearance : none; /* フォーム関連要素のデフォルトスタイルを初期化 */
			max-width : 97%;
			font-size:16px;
			}

	/* マップ */
	.article_map{ width:90%; }

	/* スローガン 
	.slogan h3{
	font-size:140%;
        padding: 0 15px;
        line-height:160%;
	text-shadow: 0 0 0.2em #fff;
	}

	.slogan h2{
	font-size:140%;
        padding: 0 15px;
        line-height:160%;
	text-shadow: 0 0 0.2em #fff;
	}
	.newline{
	display:block;
	}*/

	#mainBanner img{ height:350px; object-position: 10% 90%;}
	.zoom {
	width: 100%;
	height: 400px;
	overflow: hidden
	}
	#mainBanner .plus{display: block; left: 0px;}
	#mainBanner .h2_msg01{display: block; text-align:center;}
	#mainBanner .h2_msg02{display: block; text-align:center;}

/*
			.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: "[用例]"; }
*/
}

/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media screen and (max-width:640px) {

.slogan h2{
    font-size:170%;
    padding: 0 15px;
    line-height:160%;
    text-shadow: 0 0 0.2em #fff;
}

.slogan h3{
    font-size: 110%;
    color: #000;
    top: 20px;
    padding: 0 15px;
    line-height: 160%;
}

.newline {
    display: block;
}

section.content article.r1{
width: auto;
padding:15px;
border-radius:0;
}

section.content article.r2{
width: auto;
padding:15px;
border-radius:0;
}

/* グリッド */
.gridWrapper {
background-color: #669933;
}

.grid{
float:left;
width:90%;
margin-left:15px;
padding-top: 20px;
padding-bottom: 20px;
}

#mainBanner img {
max-width: none;
}

}





/*****************************************************
/* 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;
}

