* {
 margin:0;
 padding:0;
}

/*リンクカラー関係*/
a {
	color: #333;
	text-decoration: none;
}
a:active {
	color: #F0F;
}

a:visited {
	color: #333;
	text-decoration: none;
}

a:hover {
	color: #F00;
	text-decoration: underline;
}
.workitem .pagetop a img {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

.pagetop {
	margin-right: 15px;
	text-align: right;
}


body {
	text-align:center;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 100%;
}
#header {
	padding-top: 3px;
	padding-right: 3px;
	padding-bottom: 3px;
	padding-left: 20px;
	border-top-width: medium;
	border-top-style: solid;
	border-top-color: #F39;
	border-bottom-width: thin;
	border-bottom-style: dotted;
	border-bottom-color: #CCC;
	height: 90px;
}


#container {
	width:1042px;
	margin-left:auto;
	margin-right:auto;
	text-align:left;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #CCC;
	border-left-color: #CCC;
}

#wrapper {
	width:810px;
	float:left;
	margin-right:10px;
}

#boxD {
	width:200px;
	float:left;
	background-color: #f7f7f7;
	text-align: center;
	font-size: 14px;
}
#boxB h2 {
	font-size: 16px;
	padding-left: 25px;
	border-bottom-width: medium;
	border-bottom-style: solid;
	border-bottom-color: #F66;
	margin-bottom: 25px;
}

#boxB {
	width:604px;
	float:right;
	border: 1px dotted #999;
	padding: 5px;
}
.cookie_banner {
	text-align: center;
	margin-top: 5px;
	margin-bottom: 10px;
}


#boxC {
	width:180px;
	float:left;
	font-size: 13px;
}
.aiu {
	text-align: center;
	width: 176px;
	padding-top: 5px;
	padding-bottom: 5px;
	border-bottom-width: medium;
	border-bottom-style: double;
	border-bottom-color: #C36;
	margin-bottom: 10px;
	color: #000;
	margin-top: 10px;
	float: left;
}
/*フッター
---------------------------------------------------------------------------*/
#footer {
	text-align: center;
	font-size: 12px;
	padding: 5px;
	margin-top: 10px;
	border-top-width: 1px;
	border-top-style: dotted;
	border-top-color: #960;
}

/*ここまでフッター
---------------------------------------------------------------------------*/
ul.side1 {
	width:176px;
	list-style-type: none;
	background-color: #f7f7f7;
}
ul.side1 li {
	width:80px;
	float:left;
	line-height: 2.2em;
	margin: 2px;
	border-bottom-width: thin;
	border-bottom-style: dotted;
	border-bottom-color: #99F;
	padding: 2px;
	background-color: #f7f7f7;
}
h1 {
	font-size: 20px;
	color: #333;
}
.head_banner {
	height: 200px;
	width: 700px;
	float: right;
}

/*個別作品
---------------------------------------------------------------------------*/
.workitem {
	border: 1px solid #CCCCCC;	/*１個あたりのボックスのボーダー設定*/
	padding: 5px;
	overflow: hidden;
	margin-bottom: 2em;
	width: 560px;	/*段落タグ（p）の横幅とサイズ設定。この下二つのmarginも。*/
	margin-right: auto;
	margin-left: auto;
}
.workitem h4 {
	font-size: 12px;
	font-weight: normal;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #F9F;
	padding-left: 10px;
	text-align: right;
	margin-right: 3px;
	margin-left: 400px;
}


.workitem h3 {
	color: #000000;
	padding: 0px 0px 0px 5px;
	margin-bottom: 0.5em;
	font-size: 100%;
	border-bottom-width: 1px;
	border-left-width: 4px;
	border-bottom-style: solid;
	border-left-style: solid;
	border-bottom-color: #CCC;
	border-left-color: #F06;
}

.workitem p {
	padding: 0px;
	font-size: 14px;
}

.workitem p,.workitem h3 {
	margin-left: 140px;	/*画像の幅に合わせて変更*/
}

.workitem a img {
	padding: 5px;	/*写真と外線との余白*/
	border: 1px solid #CCCCCC;
}

.workitem a:hover img {
	border: 1px solid #F60;
}

.workitem div.img {
	float: left;
}
/*中央p余白
---------------------------------------------------------------------------*/
#boxB p {
	padding: 0.5em 10px 1em;
	line-height: 1.8em;
}
#header p {
	font-size: 12px;
	text-align: center;
}
/*パンくず
---------------------------------------------------------------------------*/
.pankuzu {
	font-size: 12px;
	color: #999;
	text-align: right;
	margin-left: 10px;
}
/*ｇメニュー
---------------------------------------------------------------------------*/
ul#menu {
	list-style-type: none;
}

ul#menu li {
	float: left;
	line-height: 50px;
	height: 50px;
	margin-right: 1px;
	font-size: 12px;
}

ul#menu a {
	color: #000000;		/*メニューの文字色*/
	text-decoration: none;
	display: block;
	width: 113px;
	text-align: center;
	background-image: url(images/topmenu_bg.gif);	/*メニューの背景画像*/
	background-repeat: no-repeat;
	background-position: top;	/*メニューの背景画像の上半分を表示*/
	overflow: hidden;
}

ul#menu a:hover {
	background-image: url(images/topmenu_bg.gif);	/*メニューの背景画像*/
	background-repeat: no-repeat;
	background-position: left bottom;	/*メニューの背景画像の下半分を表示させる設定*/
	color: #FFFFFF;	/*カーソルオーバー時の文字色*/
}

ul#menu li.last {
	margin-right: 0;
}
/*fioatクリアー
---------------------------------------------------------------------------*/
.clear{ clear: both; visibility: hidden; height: 0;}
.name_key {
	font-size: 12px;
	list-style-type: none;
	color: #333;
	font-style: normal;
	font-weight: bold;
}
.name_key li {
	display: inline;
}
.upper_banner {
	text-align: center;
	margin-top: 10px;
	margin-bottom: 15px;
}

