@charset "UTF-8";

/*==========================================================
// 
// style.css
// 
// Author	: はむっち＠改修中
// 
// Created	: 2010/12/22
// Modified	: 2010/12/22
// 
//========================================================*/

/*========================================================*/
/* デフォルトレイアウト設定 */

*{
	margin: 0;
	padding: 0;
	aoutline: dotted 1px #f00;
}

html, body{
	margin: 0;
	padding: 0;
}

header,section,article,nav,footer{
	aoutline: solid 1px #0c0;
}
div,p,li,form,table{
	aoutline: dashed 1px #00f;
}

/*========================================================*/
/* 要素別ページレイアウト設定 */

img{
	border: none;
}

ul, ol, li{
	list-style-type: none;
}

input, select, textarea{
	margin-left: 10px;
	margin-right: 10px;
}

input.text, textarea{
	width: 500px;
}

hr{
	border: solid 1px inherit;
}

/*========================================================*/
/* リンク設定 */

a:link{
	color: #33f;
	text-decoration: underline;
}
a:visited{
	color: #c3f;
	text-decoration: underline;
}
a:hover{
	color: #f33;
	text-decoration: underline;
}
a:active{
	color: #f93;
	text-decoration: underline;
}

/*========================================================*/
/* ページスタイル設定 */

body{
	color: #333;
	background-color: #fff;
	background-image: url( /images/body_bg.png );
	background-repeat: repeat;
	font-size: 13px;
	font-weight: normal;
	font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", "IPA モナーPゴシック", "IPAMonaPGothic", "IPA Pゴシック", "IPAPGothic", Osaka;
	line-height: 1.5;
	letter-spacing: 0.125em;
	text-align: center;
	behavior: url( /scripts/csshover3-source.htc );
}

input.text, textarea.text{
	width: 60%;
}

/*--------------------------------------------------------*/
/* ラッパー */

#wrapper{
	margin: 0 auto;
	width: 990px;
	background-color: #fff;
	text-align: left;
	border-right: solid 1px #ccc;
	-moz-box-shadow: 0 0 5px 5px #ccc;
	-webkit-box-shadow: 0 0 5px 5px #ccc;
	-ms-box-shadow: 0 0 5px 5px #ccc;
	box-shadow: 0 0 5px 5px #ccc;
	behavior: url( /scripts/PIE.htc );
}

/*--------------------------------------------------------*/
/* ヘッダー */

#header{
	margin: 0;
}

#header h1{
	float: left;
}

#header #header_ads{
	float: right;
	padding: 15px 10px 0 0;
}
#header #header_ads form{
	margin: 5px auto;
}
#header #header_ads form input[type=text]{
	width: 390px;
}

/*--------------------------------------------------------*/
/* グローバルナビゲーション */

#globalnavi{
	clear: both;
	display: block;
	margin: 0 20px 10px;
	*margin-top: 10px;
	padding: 0;
}

#globalnavi ul{
	display: block;
	margin: 0;
	padding: 0;
	background-color: #f8f8f8;
	border: solid 1px #999;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-webkit-background-clip: padding-box;
	background-image: -webkit-gradient( linear, left top, left bottom, from( #fff ), to( #f0f0f0 ) );
	background-image: -webkit-linear-gradient( top, #fff, #f0f0f0 );
	background-image: -moz-linear-gradient( top, #fff, #f0f0f0 );
	background-image: -o-linear-gradient( top, #fff, #f0f0f0 );
	background-image: -ms-linear-gradient( top, #fff, #f0f0f0 );
	background-image: linear-gradient( top, #fff, #f0f0f0 );
	-pie-background: linear-gradient( top, #fff, #f0f0f0 );
	behavior: url( /scripts/PIE.htc );
	position: relative;
}
#globalnavi ul li{
	display: -moz-inline-box;
	display: inline-block;
	*display: inline;
	border: none;
	border-right: solid 1px #999;
	*zoom: 1;
}
#globalnavi ul li:last-child{
	border: none;
}
#globalnavi ul li a{
	display: -moz-inline-box;
	display: inline-block;
	*display: inline;
	margin: 0;
	padding: 9px 14px;
	font-size: 1.2em;
	font-weight: bold;
	text-decoration: none;
	border: none;
	*zoom: 1;
}
#globalnavi ul li:last-child form{
	display: -moz-inline-box;
	display: inline-block;
	*display: inline;
	margin: 0;
	padding: 9px 14px;
	font-size: 1.2em;
	font-weight: bold;
	text-decoration: none;
	border: none;
	*zoom: 1;
}
#globalnavi ul li:last-child form{
	padding: 5px 14px;
}
#globalnavi ul li a:link, #globalnavi ul li a:visited{
	color: #333;
}
#globalnavi ul li a:hover, #globalnavi ul li a:active{
	color: #f8f8f8;
	background-color: #4878d8;
	background-image: -webkit-gradient( linear, left top, left bottom, from( #69f ), to( #36c ) );
	background-image: -webkit-linear-gradient( top, #69f, #36c );
	background-image: -moz-linear-gradient( top, #69f, #36c );
	background-image: -o-linear-gradient( top, #69f, #36c );
	background-image: -ms-linear-gradient( top, #69f, #36c );
	background-image: linear-gradient( top, #69f, #36c );
	-pie-background: linear-gradient( top, #69f, #36c );
	behavior: url( /scripts/PIE.htc );
	position: relative;
}
#globalnavi ul li:last-child form div{
	display: -moz-inline-box;
	display: inline-block;
	*display: inline;
	margin: 0;
	padding: 0;
	*zoom: 1;
}

#globalnavi p{
	padding: 5px 10px;
	background-color: #eee;
}

/*--------------------------------------------------------*/
/* コンテンツ */

#contents{
	float: right;
	margin: 0;
	padding: 0 20px 10px 10px;
	width: 750px;
}

/*--------------------------------------------------------*/
/* サイドナビゲーション */

#sidenavi{
	float: left;
	margin: 0;
	padding: 0 10px 10px 20px;
	width: 180px;
}

/*--------------------------------------------------------*/
/* フッター */

#footer{
	clear: both;
	margin: 0;
	padding: 5px 20px;
	background-color: #787878;
	border-top: 1px solid #999;
	background-image: -webkit-gradient( linear, left top, left bottom, from( #999 ), to( #666 ) );
	background-image: -webkit-linear-gradient( top, #999, #666 );
	background-image: -moz-linear-gradient( top, #999, #666 );
	background-image: -o-linear-gradient( top, #999, #666 );
	background-image: -ms-linear-gradient( top, #999, #666 );
	background-image: linear-gradient( top, #999, #666 );
	-pie-background: linear-gradient( top, #999, #666 );
	behavior: url( /scripts/PIE.htc );
	position: relative;
}

#footer p{
	margin: 0;
	color: #f0f0f0;
	font-size: 0.9em;
}

/*========================================================*/
/* コンテンツ・サイドナビゲーション内の共通基本要素 */

#contents h3, #contents h4, 
#sidenavi h3, #sidenavi h4{
	margin: 10px 0;
	padding: 4px 9px;
	font-weight: bold;
	color: #333;
	background-color: #d8d8ff;
	border: 1px solid #66c;
	background-image: -webkit-gradient( linear, left top, left bottom, from( #fff ), to( #ccf ) );
	background-image: -webkit-linear-gradient( top, #fff, #ccf );
	background-image: -moz-linear-gradient( top, #fff, #ccf );
	background-image: -o-linear-gradient( top, #fff, #ccf );
	background-image: -ms-linear-gradient( top, #fff, #ccf );
	background-image: linear-gradient( top, #fff, #ccf );
	-pie-background: linear-gradient( top, #fff, #ccf );
	behavior: url( /scripts/PIE.htc );
	position: relative;
}
#contents h3, 
#sidenavi h3{
	font-size: 1.1em;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-webkit-background-clip: padding-box;
	behavior: url( /scripts/PIE.htc );
	position: relative;
}
#contents h4, 
#sidenavi h4{
	font-size: 1.0em;
	background-color: #d8ffff;
	border: 1px solid #6cc;
	background-image: -webkit-gradient( linear, left top, left bottom, from( #fff ), to( #cff ) );
	background-image: -webkit-linear-gradient( top, #fff, #cff );
	background-image: -moz-linear-gradient( top, #fff, #cff );
	background-image: -o-linear-gradient( top, #fff, #cff );
	background-image: -ms-linear-gradient( top, #fff, #cff );
	background-image: linear-gradient( top, #fff, #cff );
	-pie-background: linear-gradient( top, #fff, #cff );
	behavior: url( /scripts/PIE.htc );
	position: relative;
}

h3, h4, p, ul, ol, input, option, hr{
	amargin-bottom: 15px;
}

p, div.p, ul, ul.list, .maintext, .subtext, .infotext, .frametext, .quotetext, blockquote{
	margin: 10px 0;
	padding: 0 10px;
	word-break: break-all;
	-moz-text-wrap: normal;
	-webkit-text-wrap: normal;
	text-wrap: normal;
	-moz-word-wrap: break-word;
	-webkit-word-wrap: break-word;
	word-wrap: break-word;
}
blockquote{
	margin: 10px;
	padding: 9px 14px;
	background-color: #eee;
	border: solid 1px #ccc;
}

hr{
	border-color: #99c;
}

h3.menu, .menuindex, .msubindex{
}

#contents li:before, 
#sidenavi li:before{
	margin-right: 0.5em;
	position: relative;
	top: 0.24em;
	content: url( /images/list_main_marker.png );
	
}
#sidenavi li{
	margin-left: 0.5em;
}
#sidenavi li:before{
	display: none;
	/*url( /images/list_sub_marker.png );*/
	
}

/*--------------------------------------------------------*/
/* フォーム */

#contents form{
	margin: 10px 0;
}

#contents form label[for^=form]{
	margin: 10px 0;
	padding: 4px 9px;
	font-weight: bold;
	color: #333;
	background-color: #d8ffd8;
	border: 1px solid #6c6;
	background-image: -webkit-gradient( linear, left top, left bottom, from( #fff ), to( #bfb ) );
	background-image: -webkit-linear-gradient( top, #fff, #bfb );
	background-image: -moz-linear-gradient( top, #fff, #bfb );
	background-image: -o-linear-gradient( top, #fff, #bfb );
	background-image: -ms-linear-gradient( top, #fff, #bfb );
	background-image: linear-gradient( top, #fff, #bfb );
	-pie-background: linear-gradient( top, #fff, #bfb );
	behavior: url( /scripts/PIE.htc );
	position: relative;
}

#contents form > label, 
#contents form > label + select{
	display: block;
}

#contents form > input[type=text], 
#contents form > input[type=file], 
#contents form > label + textarea{
	width: 95%;
}
#contents form > label + textarea{
	line-height: 1.5;
	height: 15em;
}

#contents form > label > small{
	color: #f00;
}

#contents form > input[type=text], 
#contents form > input[type=file], 
#contents form > textarea, 
#contents form > select{
	padding: 0.5em;
	border: solid 1px #999;
	letter-spacing: 0.125em;
	font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", Osaka, sans-serif;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-webkit-background-clip: padding-box;
	behavior: url( /PIE.htc );
	position: relative;
}

#contents form > input[type=password], 
#contents form > input[type=submit], 
#contents form > input[type=reset], 
#contents form > input[type=button]{
	padding: 0.5em 0.5em 0.5em 1.0em;
	letter-spacing: 0.5em;
}
#contents form > input[type=reset]:last-child{
	margin-top: 1.5em;
}

#contents div.form > form{
	display: inline-block;
	margin-top: 1.5em;
}
#contents div.form > input[type=submit], 
#contents div.form > input[type=reset]{
}


.alert{
	color: #f00;
}

/*--------------------------------------------------------*/
/* テンプレート一覧テーブル */

#contents .template_result{
	overflow: auto;
}

#contents .template_result article{
	float: left;
	margin: 0;
	padding: 0 15px;
	width: 345px;
}

#contents .template_result article p:nth-of-type(2){
	text-align: center;
}

#contents .template_result article p:nth-of-type(2) img{
	width: 256px;
	height: 192px;
	border: solid 1px #333;
	-moz-box-shadow: 5px 5px 0 0 #666;
	-webkit-box-shadow: 5px 5px 0 0 #666;
	-ms-box-shadow: 5px 5px 0 0 #666;
	box-shadow: 5px 5px 0 0 #666;
	behavior: url( /scripts/PIE.htc );
}

/*--------------------------------------------------------*/
/* テンプレート詳細 */

#contents .template_info{
	overflow: auto;
}

#contents .template_info section{
	float: left;
	margin: 0;
	padding: 0 15px;
	width: 345px;
}
#contents .template_info section:nth-of-type(1){
	float: right;
}
#contents .template_info section:nth-of-type(1) p:nth-of-type(1){
	text-align: center;
}

#contents .template_info section:nth-of-type(2) ul{
	margin-left: 1.5em;
}

#contents .template_info section button{
	display: inline-block;
	*display: inline;
	*zoom: 1;
	margin: 10px;
	padding: 10px 0;
	width: 152px;
	color: #339;
	background-color: #99f;
	font-size: 1.1em;
	font-size: 1.0em\9;
	font-weight: bold;
	font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", "IPA モナーPゴシック", "IPAMonaPGothic", "IPA Pゴシック", "IPAPGothic", Osaka;
	line-height: 1.5;
	text-align: center;
	border: solid 2px #339;
	cursor: pointer;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	*border-radius: none;
	-webkit-background-clip: padding-box;
	behavior: url( /scripts/PIE.htc );
	position: relative;
}
#contents .template_info section button:hover{
	color: #339;
	background-color: #ccf;
}
#contents .template_info section button:active{
	color: #f0f0f0;
	background-color: #339;
}
#contents .template_info section button[disabled]{
	color: #999;
	background-color: #333;
	border-color: #000;
	cursor: default;
}

#contents .template_info section:nth-of-type(1) p:nth-of-type(1) img{
	width: 256px;
	height: 192px;
	border: solid 1px #333;
	-moz-box-shadow: 5px 5px 0 0 #666;
	-webkit-box-shadow: 5px 5px 0 0 #666;
	-ms-box-shadow: 5px 5px 0 0 #666;
	box-shadow: 5px 5px 0 0 #666;
	behavior: url( /scripts/PIE.htc );
}

/*--------------------------------------------------------*/
/* 人気テンプレートリスト */

#contents .template_list, 
#contents .template_list section{
	overflow: auto;
	clear: both;
}
#contents .template_list section{
	margin: 0;
	padding: 0 15px;
}

#contents .template_list section p:nth-of-type(2){
	float: left;
	margin: 0;
	padding: 10px 15px;
	width: 200px;
	text-align: center;
}
#contents .template_list section p:nth-of-type(3), 
#contents .template_list section p:nth-of-type(4){
	float: left;
	margin: 0;
	padding: 10px 15px 10px 0;
	width: 470px;
}

#contents .template_list section p:nth-of-type(2) img{
	width: 192px;
	height: 144px;
	border: solid 1px #333;
	-moz-box-shadow: 5px 5px 0 0 #666;
	-webkit-box-shadow: 5px 5px 0 0 #666;
	-ms-box-shadow: 5px 5px 0 0 #666;
	box-shadow: 5px 5px 0 0 #666;
	behavior: url( /scripts/PIE.htc );
}

div.infoimg{
	float: right;
	margin: 0;
	padding: 0 0 0 15px;
	width: 345px;
}
div.infostr{
	float: left;
	margin: 0;
	padding: 0 15px 0 0;
	width: 345px;
}

strong.alert{
	color: #ff3333;
}

/*--------------------------------------------------------*/
/* テーブルリスト */

#contents .table_list{
	width: 100%;
	border-collapse: collapse;
	border-spacing: none;
	
}
#contents .table_list tr th, 
#contents .table_list tr td{
	padding: 5px 10px;
	border-bottom: solid 1px #ccc;
	text-align: left;
}

#contents .table_list tr th{
	background-color: #d8ffd8;
	border: 1px solid #6c6;
	border-left: none;
	border-right: none;
	/*
	background-image: -webkit-gradient( linear, left top, left bottom, from( #fff ), to( #bfb ) );
	background-image: -webkit-linear-gradient( top, #fff, #bfb );
	background-image: -moz-linear-gradient( top, #fff, #bfb );
	background-image: -o-linear-gradient( top, #fff, #bfb );
	background-image: -ms-linear-gradient( top, #fff, #bfb );
	background-image: linear-gradient( top, #fff, #bfb );
	-pie-background: linear-gradient( top, #fff, #bfb );
	behavior: url( /scripts/PIE.htc );
	position: relative;
	*/
}
#contents .table_list tr th:first-child{
	border-left: 1px solid #6c6;
}
#contents .table_list tr th:last-child{
	border-right: 1px solid #6c6;
}

#contents .table_list tr td form, 
#contents .table_list tr td form input{
	margin: 0;
}
#contents .table_list tr td[colspan]{
	/*text-align: right;*/
}

/*--------------------------------------------------------*/
/* ページャー */

#contents .pager{
	margin: 10px 0;
	background-color: #f0f0f0;
	border: solid 1px #ccc;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	*border-radius: none;
	-webkit-background-clip: padding-box;
	behavior:url(/scripts/PIE.htc);
	position:relative;
}

#contents .pager ul{
	margin-top: 10px;
	margin-bottom: 10px;
}

#contents .pager ul li{
	display: inline;
}
#contents .pager ul li:before{
	display: none;
}

#contents .pager ul:before{
	content: "その他のページ ： ";
}
#contents .pager ul li:first-child a:before{
	content: "前へ ";
}
#contents .pager ul li:last-child a:after{
	content: " 次へ";
}

#contents .pager ul li a, 
#contents .pager ul li b{
	padding: 5px 8px;
	background-color: #fff;
	text-decoration: none;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-webkit-background-clip: padding-box;
	*border-radius: none;
	behavior:url(/scripts/PIE.htc);
	position:relative;
}
#contents .pager ul li a:hover{
	padding: 4px 7px;
	background-color: #f8f8f8;
	border: solid 1px #ccc;
	text-decoration: underline;
}
#contents .pager ul li a:active{
	color: #fff;
	background-color: #ccc;
	text-decoration: none;
}

.alert, .error{
	color: #f00;
}