@charset "utf-8";

/* 記事デザイン */
div.article {
	width: 96%;
	margin: 10px auto;
	border-bottom: 2px dotted #004098;
	text-align: left;
	padding: 1em;
	color: #555;
}
div.art-date {
	text-align: left;
	color: #595757;
}
div.art-contact {
	text-align: left;
	color: #595757;
}
div.art-sub {
	margin: 0.3em 0 0.3em 0;
	color: #004098;
	font-size: 120%;
	font-weight: bold;
}

/* 記事中の画像 */
img.img {
	border: none;
	vertical-align: top;
  width: 25%;		/*写真の幅*/
	height: auto;	/*写真の高さ*/
	margin-right: 1em;
  margin-bottom: 1em;
  float: left;
}
.youtube {
	text-align: center;
}

/* TOPパネル */
#top-panel {
	margin: 0.4em 0.6em;
	text-align: left;
}
#top-panel input[type="button"] {
	width: 55px;
	margin-right: 2px;
}
#find-box {
	text-align: right;
	margin: 5px;
}
#find-box input[type="text"] {
	width: 130px;
	padding: 3px;
}

/* 検索結果 */
#find-top {
	margin: 0 auto;
	color: #555;
}
#find-top input[type="text"] {
	width: 200px;
	padding: 3px;
}
#find-top p {
	margin: 10px;
}

/* 赤文字 */
.red {
	color: #dd0000;
}

/* pagetop */
div.pg-top, div.pg-top a {
	text-align: right;
	font-size: 90%;
	color: #e43a47 !important;
	margin-bottom: 0;
}

/* エラー */
#err {
	width: 450px;
	padding: 1.5em;
	margin: 3em auto;
	border-top: 1px dotted gray;
	border-bottom: 1px dotted gray;
}

/* 寄せ */
.ta-c {
	text-align: center;
}
.ta-l {
	text-align: left;
}
.ta-r {
	text-align: right;
}

/*
	ペイジャー
	参考: http://cssdeck.com/labs/css-pagination-styles
*/
.pagination {
    background: #f2f2f2;
    padding: 20px;
    margin-bottom: 20px;
}
.page {
    display: inline-block;
    padding: 0px 9px;
    margin-right: 4px;
    border-radius: 3px;
    border: solid 1px #c0c0c0;
    background: #e9e9e9;
    box-shadow: inset 0px 1px 0px rgba(255,255,255, .8), 0px 1px 3px rgba(0,0,0, .1);
    font-size: .875em;
    font-weight: bold;
    text-decoration: none;
    color: #717171;
    text-shadow: 0px 1px 0px rgba(255,255,255, 1);
}
.page:hover, .page.gradient:hover {
    background: #fefefe;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FEFEFE), to(#f0f0f0));
    background: -moz-linear-gradient(0% 0% 270deg,#FEFEFE, #f0f0f0);
}
.page.active {
    border: none;
    background: #616161;
    box-shadow: inset 0px 0px 8px rgba(0,0,0, .5), 0px 1px 0px rgba(255,255,255, .8);
    color: #f0f0f0;
    text-shadow: 0px 0px 3px rgba(0,0,0, .5);
}
.page.gradient {
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f8f8f8), to(#e9e9e9));
    background: -moz-linear-gradient(0% 0% 270deg,#f8f8f8, #e9e9e9);
}

/* アイコン */
img.icon {
	vertical-align: middle;
	border: 0;
}

	/*画面幅600px以下の追加指定*/
	@media screen and (max-width:600px) {
      /* 記事中の画像 */
img.img {
  width: 100%;		/*写真の幅*/
	height: auto;	/*写真の高さ*/
}
}

/* スマホ用 */
@media only screen and (max-width: 480px) {
	#main {
		width: 100%;
	}
	#find-box input[type="text"] {
		width: 80px;
	}
	/* Youtube対応 */
	.youtube {
     	position: relative;
     	padding-bottom: 56.25%;
     	height: 0;
     	overflow: hidden;
	}
	.youtube iframe {
     	position: absolute;
     	top: 0;
     	left: 0;
     	width: 100%;
     	height: 100%;
	}
}

/*1-3
---------------------------------------------------------------------------*/
#block-cms02 {
   float: left;
   width: 100%;
   margin-bottom: 10px;
   line-height: 1.4;
}

#block-cms02 figure img {
	float: left;			/*画像を左へ回り込み*/
	width: 20%;		/*写真の幅*/
	height: auto;	/*写真の高さ*/
	margin-right: 2%;
	margin-bottom: 10px;
}

hr.ten{
    border:none;
    border-top:dashed 1px #90805a;
    height:1px;
    color:#FFFFFF;
    margin: 0 6 0 6;
}

figure.works {
	width: 100%;	/*写真の幅*/
	/*border: 1px solid #ccc;	/*境界線の幅、線種、色*/
}
.Box-works {
	width:15%;
	border:0px solid gray;
	margin:10px 0.5%;
	vertical-align: top;   /* 上端を揃える */
}

/*ここからスマートフォン用（480px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (max-width : 480px){
	
#block-cms02 {
   line-height: 1.4;
}

#block-cms02 figure img {
	float: left;			/*画像を左へ回り込み*/
	width: 48%;		/*写真の幅*/
	height: auto;	/*写真の高さ*/
	margin-right: 2%;
}

