/*
Theme Name:     Picolight for monban
Description:    Picolight for monban
Author:         道場長
Template:       picolight

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

/* smartPhone */

	#wrapper {
		width: 100%;
		float: none;
		text-align: left;
		margin:0 auto;
		padding: 2px;
		position: relative;  
		}  

	#main #content {  
		width: 100%;
		float: left;
		text-align: left;  
		margin: 2px;
		padding: 2px;
		position: relative;  
		}

	#sidebar {
		width: 100%;
		float: left;
		margin: 2px;
		padding: 1px;
		line-height:1.25;
		background: #F0F0F0;
		color: #292929;
		list-style-type: none;
		}


	#footer { 
		width: 100%;
		float: left;
		margin: 0;
		padding: 2px;
		color: #808080;
		border-top: 1px solid #ccc;
		background: #F0F0F0;
		overflow: auto;
		list-style-type: none;
		}

	#header { 
		width: 100%;
		float: left;
		margin: 0;
		padding: 0;
		color: #808080;
		border-top: 1px solid #ccc;
		background: #F0F0F0;
		overflow: auto;
		list-style-type: none;
		}

	/* widgets */

	.widget { 
		width: 99%;
		clear:both;
		padding: 2px;
		margin: 2px;
		font-size: 14px;
		line-height: 1.25;
		background: #F0F0F0;
		overflow: hidden;
		}
		
	.widget h2 { 
		font-size: 16px;
		margin: 2px; 
		padding: 2px 2px 2px 2px;
		text-transform: uppercase;
		color: #808080;
		text-shadow: 1px 1px 2px gray;
		}
		
	.widget ul {
		margin: 0;
		padding: 0;
		list-style-type: none;
		}

	.widget_search form { 
		border: 1px solid #ccc;
		height: 35px;
		margin: 0 15px;
		}
		
	.widget_search input{
		width:65%;
		border: none;
		background-color: white;
		height: 25px;
		padding: 2px 2px 2px 2px;
		color: #808080;
		text-shadow: 0 1px 0 #fff;
		}

	.widget_search input#searchsubmit:hover {
		background: url(images/lupe.png) 0 0px no-repeat;	
		}

	img {max-width: 100%;}


/* tablet  */
@media only screen and (min-width: 460px) {
	#wrapper {
		width:100%;
		float: none;
		text-align: left;
		margin:0 auto;
		padding: 2px;
		position: relative;  
		}  

	#main #content {  
		width: 99%;
		float: none;
		text-align: left;  
		margin: 0;
		padding: 2px;
		position: relative;  
		}

	#sidebar {
		width: 99%;
		float: none;
		margin: 0;
		padding: 2px;
/*		line-height:1.25; */
		background: #F0F0F0;
		color: #292929;
		list-style-type: none;
		}


	#footer { 
		width:99%;
		float: none;
		margin: 0;
		padding: 2px;
		color: #808080;
		border-top: 1px solid #ccc;
		background: #F0F0F0;
		overflow: auto;
		list-style-type: none;
		}

	#header { 
		width: 99%;
		float: none;
		margin: 0;
		padding: 2px;
		color: #808080;
		border-top: 1px solid #ccc;
		background: #F0F0F0;
		overflow: auto;
		list-style-type: none;
		}

	/* widgets */

	.widget { 
		width: 100%;
		clear:both;
		margin: 0px;
		padding: 2px;
		font-size: 14px;
		line-height: 1.25;
		background: #F0F0F0;
		overflow: hidden;
		}
		
	.widget h2 { 
		font-size: 16px;
		margin: 2px; 
		padding: 2px 2px 2px 2px;
		text-transform: uppercase;
		color: #808080;
		text-shadow: 1px 1px 2px gray;
		}
		
	.widget ul {
		margin: 0;
		padding: 0;
		list-style-type: none;
		}

	.widget_search form { 
		border: 1px solid #ccc;
		height: 35px;
		margin: 0 15px;
		}
		
	.widget_search input{
		width:65%;
		border: none;
		background-color: white;
		height: 25px;
		padding: 2px 2px 2px 2px;
		color: #808080;
		text-shadow: 0 1px 0 #fff;
		}

	.widget_search input#searchsubmit:hover {
		background: url(images/lupe.png) 0 0px no-repeat;	
		}


}

/* pc */
@media screen and (min-width: 800px) {
	#wrapper {
		width: 780px;
		float: none;
		margin:0 auto;
		padding: 2px;
		position: relative;  
		}  

	#main #content {  
		width: 540px;
		float: left;
		text-align: left;  
		margin: 2px;
		padding: 2px;
		position: relative;  
		}

	#sidebar {
		width: 238px;
		float: left;
		margin:1px;
		padding: 1px;
		line-height:1.25;
		background: #F0F0F0;
		color: #292929;
		list-style-type: none;
		}


	#footer { 
		width:778px;
		float: left;
		margin: 0px;
		padding: 4px;
		color: #808080;
		border-top: 1px solid #ccc;
		background: #F0F0F0;
		overflow: auto;
		list-style-type: none;
		position: relative;
		}

	#header { 
		width: 778px;
		float: none;
		margin: 0px;
		padding: 0px;
		color: #808080;
		border-top: 1px solid #ccc;
		background: #F0F0F0;
		overflow: auto;
		list-style-type: none;
		position: relative;
		}

	/* widgets */

	.widget { 
		width: 220px;
		clear:both;
		padding: 2px;
		margin: 2px;
		font-size: 12px;
		line-height: 1.25;
		background: #F0F0F0;
		overflow: hidden;
		}
		
	.widget h2 { 
		font-size: 16px;
		margin: 2px; 
		padding: 2px 2px 2px 2px;
		text-transform: uppercase;
		color: #808080;
		text-shadow: 1px 1px 2px gray;
		}
		
	.widget ul {
		margin: 0;
		padding: 0;
		list-style-type: none;
		}

	.widget_search form { 
		border: 1px solid #ccc;
		height: 35px;
		margin: 0 15px;
		}
		
	.widget_search input{
		width:65%;
		border: none;
		background-color: white;
		height: 25px;
		padding: 2px 2px 2px 2px;
		color: #808080;
		text-shadow: 0 1px 0 #fff;
		}

	.widget_search input#searchsubmit:hover {
		background: url(images/lupe.png) 0 0px no-repeat;	
		}

}

/*   body   */

body {
	font-family: Arial,sans-serif; 
	margin:0 auto;
	padding: 2px;
	float:none;
	font-size:14px;
	color: #292929;
	}

#wrapper #main #content p {
	text-indent: 1em;
	margin: 2px;
	padding: 2px;
	}

#wrapper #header h1 {
	font-family: "MS 明朝", "MS Mincho", “Times New Roman”,
		“游明朝”, YuMincho, “ヒラギノ明朝 ProN W3”,
		“Hiragino Mincho ProN”,
		“HG明朝E”, “メイリオ”, Meiryo, serif;
	color: Black;
	font-weight: bold;
	font-size: 38px;
	line-height: 42px;
	margin: 2px;
	padding: 2px;
	text-align: left;
	text-shadow: 2px 2px 3px Gray;
	}

#wrapper #header .description {
	font-size: 16px;
	line-height: 20px;
	text-transform: uppercase;
	color: #808080;
	}
  
#main #content h1{
	font-family: "MS 明朝", "MS Mincho", “Times New Roman”, “游明朝”, YuMincho, “ヒラギノ明朝 ProN W3”, “Hiragino Mincho ProN”, “HG明朝E”, “メイリオ”, Meiryo, serif;
	font-weight: normal;
	font-size: 32px;
	line-height: 36px;
	color: Indigo;
	margin: 2px 0px 2px;
	padding: 2px 0px 2px;
	text-transform: uppercase;
	text-shadow: 2px 2px 3px gray;
	}

#main #content h2{
	font-family: "MS 明朝", "MS Mincho", “Times New Roman”, “游明朝”, YuMincho, “ヒラギノ明朝 ProN W3”, “Hiragino Mincho ProN”, “HG明朝E”, “メイリオ”, Meiryo, serif;
	font-weight: normal;
	font-size: 28px;
	line-height: 32px;
	color: Indigo;
	margin: 2px 0px 2px;
	padding: 2px 0px 2px;
	text-transform: uppercase;
	text-shadow: 2px 2px 3px gray;
	}

#main #content h3{
	font-family: "MS 明朝", "MS Mincho", “Times New Roman”, “游明朝”, YuMincho, “ヒラギノ明朝 ProN W3”, “Hiragino Mincho ProN”, “HG明朝E”, “メイリオ”, Meiryo, serif;
	font-weight: normal;
	font-size: 20px;
	color: Red;
	margin: 2px 0px 2px;
	padding: 2px 0px 2px;
	text-transform: uppercase;
	text-shadow: 2px 2px 3px gray;
	}

/*   table   */

.post table {
	margin: 5px 0;
	width: 100%;
	border-collapse: separate;
	}

.post th {
	margin: 2px 0;
	background: #D2691E;
	color: #ffffff !important;
	text-align:center !important;
	}

.post td {
    padding: 2px;
    color: black;
    border: 1px #a52a2a solid;
    border-width: 0 0 1px 1px;
    background: #deb887;
    text-align: left;
}

.scroll-table {
  overflow: auto;
  white-space: nowrap;
}


/*---------- スクロール可能なテーブル関連のCSS ----------*/
.table_box {
    display: block;
    overflow: auto;
}

.table_box th,
.table_box td {
    white-space: nowrap;
}

/* スクロールバー全体を対象にする */
.table_box::-webkit-scrollbar {
    width: 10px; /* スクロールバーの幅 */
    height: 10px; /* スクロールバーの高さ */
}

/* スクロールバーの背景部分をカスタマイズ */
.table_box::-webkit-scrollbar-track {
    background: #f1f1f1; /* スクロールバーの背景色 */
    border-radius: 5px; /* 角丸にする */
}

/* スクロールバーの操作部分をカスタマイズ */
.table_box::-webkit-scrollbar-thumb {
    background: #888; /* スクロールバーの操作部分の背景色 */
    border-radius: 5px; /* 角丸にする */
}

/* スクロールバーの操作部分にホバーした時のスタイル */
.table_box::-webkit-scrollbar-thumb:hover {
    background: #555; /* ホバー時のスクロールバーの操作部分の背景色 */
}

/*     comment     */

#comment-form input, #respond input {
	display: block;
	background: #fff;
	padding: 7px 10px;
	margin: 5px 5px 5px 0;
	width: 97%;
	max-width: 300px;
	color: #7F7F7F;
	border: 1px solid #ccc;
	background: #f0f0f0;
	text-shadow: 0 1px 0 #fff;
	}

#comment-form textarea, #respond textarea { 
	width: 97%;
	padding: 10px; 
	margin: 5px 5px 5px 0;
	color: #7F7F7F;
	border: 1px solid #ccc;
	background: #f0f0f0;
	text-shadow: 0 1px 0 #fff;
	}

#comment-form textarea:focus, #respond textarea:focus {
	color: #292929;
	outline: none;
	}

/* 日めくり日付 */

.entry-date {
	margin: 5px;
	background-color: #fff;
	border-top: solid 5px #a60000;
	border-right: solid 2px #999;
	border-bottom: solid 2px #999;
	border-left: solid 1px #bbb;
	color: #666;
	font-family: georgia,arial,verdana,"trebuchet ms",sans-serif;
	font-size: 12px;
	letter-spacing: 1.2px;
	padding: 0px;
	text-align: center;
	width: 50px;
	float:left;
	}

span.entry-month {
	display:block;
	margin: 0;
	padding: 0px;
	}

span.entry-day {
	display:block;
	font-size: 14px;
	margin: 0;
	padding: 0;
	}

span.entry-year {
	display:block;
	border-top: solid 1px #bbb;
	margin: 0;
	font-size: 9px;
	padding: 0;
	}

/* etc */

.info {
	float:left;
	margin: 2px;
	padding: 5px;
	}

.act {
	margin: 2px;
	padding: 0;
	}

.clearfix:after{
	content: "";
	clear: both;
	display: block;
}

/*          ボタン生成          */

/* 角丸 */
.Radius5 {  
    border-radius: 5px;        /* CSS3草案 */  
    -webkit-border-radius: 5px;    /* Safari,Google Chrome用 */  
    -moz-border-radius: 5px;   /* Firefox用 */  
}
/* ボタン共通 */
.Button {
	overflow: hidden;
	width: 250px;
	height: 50px;
	margin: 2px;
	padding: 0;
}
.Button a {
	display: block;
	position: relative;
	z-index: 100;
	text-align:center;
	background: #00a0e9;
	color: #fff;
	font-size: 11px;
	line-height: 50px;
	text-decoration:none;
}
.Button a:hover {
	background: #3ab2e9;        /* マウスオーバーカラー */  
}

/*          右アイコン生成          */

#Iconright a:before {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	right: 10px;
	width: 0;
	height: 0;
	margin-top: -10px;
	border: 10px solid transparent;        /*top right bottom を透明化 */ 
	border-left: 5px solid #fff;
}
#Iconright a:hover:before {
	right: 5px;        /*マウスオーバーで三角をずらす */ 
}

/*          左アイコン生成          */

#Iconleft a:before {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 10px;
	width: 0;
	height: 0;
	margin-top: -10px;
	border: 10px solid transparent;        /*top right bottom を透明化 */ 
	border-right: 5px solid #fff;
}
#Iconleft a:hover:before {
	left: 5px;        /*マウスオーバーで三角をずらす */ 
}

/*   google map     */

.ggmap {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
	}
 
.ggmap iframe,
.ggmap object,
.ggmap embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	}

/*   contact7     */

.wpcf7 input[name="your-name"],
.wpcf7 input[name="your-file"],
.wpcf7 input[name="your-email"],
.wpcf7 input[name="your-subject"] {
        width: 80%;
        height: 35px !important;
	background-color: #fff;
	color: #333;
	border: 1px solid #ddd;
	font-size: 100%;
	padding: 0.5em;
	border-radius: 4px;
	box-shadow: 1px 1px 3px rgba(0,0,0,.1) inset;
}

.wpcf7 textarea[name="your-message"] {
        width: 80%;
        height: 350px !important;
	background-color: #fff;
	color: #333;
	border: 1px solid #ddd;
	font-size: 100%;
	padding: 0.5em;
	border-radius: 4px;
	box-shadow: 1px 1px 3px rgba(0,0,0,.1) inset;
}

.wpcf7 input[type="submit"] {
	font-size: 100%;
	padding: 0.2em 0.4em;
	background: #eee;
	color: #333;
	border-radius: 4px;
	cursor: pointer;
	box-shadow: 0 0 1px rgba(0,0,0,.2);
	border: 1px solid #ccc;
	text-shadow: -1px 1px 0 rgba(255,255,255,1);
}

.wpcf7 input[type="submit"]:hover {
	box-shadow: 0 0 1px rgba(0,0,0,.2) inset;
}

/* ================================
   Shinbukan – Footer 3 Columns
   ================================ */

#footer {
    overflow: hidden;
}

/* フッターの各ボックス（1・2・3） */
#footer .widget {
    float: left;
    width: 32%;
    margin: 0 1%;
    box-sizing: border-box;
}

/* 長いタイトルがあっても幅を広げない */
#footer .widget h2,
#footer .widget li,
#footer .widget a {
    word-break: break-word;
}

/* PC版フッターを横3列に戻す */
#footer1, #footer2, #footer3 {
    float: left;
    width: 33.33%;
    box-sizing: border-box;
}

/* clearfix（親要素の高さを戻す） */
#footer {
    overflow: hidden;
}
