@charset "shift_jis";

@media screen and (max-width: 640px) {
.s_visibility { display: block; }
.visibility { display: none; }
}
@media screen and (min-width: 641px) {
.s_visibility { display: none; }
.visibility { display: block; }
}

html { overflow-y: scroll; }

body {
	font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";
	font-size: 75%;
	line-height: 1;
	color: #333333;
	background-image: url(../images/bg.png);
	background-repeat: repeat-x;
	background-position: top;
	margin: 0px;
	padding: 0px;
	text-align: center;
	background-color: #E3E3E3;
}

h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form{
	margin: 0px;
	padding: 0px;
}

ul{
	list-style-type: none;
}

img {
	border: none;
}

input,textarea,select {
	font-size: 1em;
}

form {
	margin: 0px;
}

table {
	border-collapse:collapse;
	font-size: 100%;
	border-spacing: 0;
}

textarea {
	height: 120px;
	width: 480px;
	resize: none;
}


/*リンク設定（全般）
---------------------------------------------------------------------------*/
a {
	color: #669900;
}

a:hover {
	color: #CCDD00;
	text-decoration: none;
}


/*コンテナー（HPを囲むブロック）
---------------------------------------------------------------------------*/
#container {
	text-align: left;
	width: 900px;
	margin-right: auto;
	margin-left: auto;
}


/*コンテンツ（左右ブロックを囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	background-color: #FFFFFF;
}


/*ヘッダー（サイトロゴなどが入っているHP最上部のブロック）
---------------------------------------------------------------------------*/
#header {
	height: 84px;
	width: 100%;
	position: relative;
}

/*h1タグ設定*/
#header h1 {
	font-size: 10px;	/*文字サイズ*/
	line-height: 20px;
	font-weight: normal;
	color: #669900;		/*文字色*/
	position: absolute;
	left: 8px;			/*ヘッダーに対して左から8pxの位置に配置*/
	top: 0px;			/*ヘッダーに対して上から0pxの位置に配置*/
	z-index:1;			/*ロゴに重なった時にこちらが上に表示されるように*/
}

/*サイト名ロゴ画像*/
#header #logo {
	position: absolute;
	top: 10px;			/*ヘッダーに対して上から10pxの位置に配置*/
	left: 0px;			/*ヘッダーに対して左から0pxの位置に配置*/
}

#header #logo2 {
	position: absolute;
	bottom: 12px;		/*ヘッダーに対して下から10pxの位置に配置*/
	right: 0px;			/*ヘッダーに対して右から0pxの位置に配置*/
}


/*メインコンテンツ（右側ブロック）
---------------------------------------------------------------------------*/
#main {
	float: right;
	width: 650px;
	min-height: 650px;
	padding-top: 20px;
	padding-bottom: 50px;
	/*display: inline;*/
	display: none;
	margin-right: 16px;
	line-height: 1;
}
#main a { font-weight: bold; }

/*トップページだけメインコンテンツ上の余白をゼロにする設定*/
#toppage #main {
	padding-top: 0;
	padding-bottom: 63px;
}

/*段落タグの余白設定*/
#main p {
	padding: 0.5em 10px 0.5em;
}

/*h2タグ設定*/
#main h2 {
	font-size: 100%;
	line-height: 30px;
	padding-left: 30px;
	color: #FFFFFF;							/*文字色*/
	background-color: #669900;				/*背景色*/
	background-image: url(../images/h2.png);/*菱形の背景画像*/
	background-repeat: no-repeat;			/*背景画像をリピートしない*/
	background-position: left center;		/*背景画像を左側、上下中央に配置*/
}

/*pタグ太字設定*/
#main p.bold {
	font-size: 120%;
	font-weight: bold;
}

/*hrタグ区切り線設定*/
#main hr.section {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #669900;
  border: 0;  /*デフォルトデザインでは線がある場合があるので、消しておく。*/
}


/*サイドコンテンツ（左側ブロック）
---------------------------------------------------------------------------*/
#side {
	float: left;
	min-height: 650px;
	width: 200px;
	padding-top: 20px;
	padding-bottom: 50px;
	display: inline;
	margin-left: 16px;
	line-height: 1.5;
}

/*h4見出しタグ設定*/
#side h4 {
	font-size: 100%;
	color: #669900;
	border-top: 3px double #669900;
	border-bottom: 3px double #669900;
	line-height: 2;
	text-align: center;
}

/*段落タグの余白設定*/
#side p {
	padding: 0.5em 0px 0.5em;
}



/*サイドメニュー
---------------------------------------------------------------------------*/
ul.sidemenu {
	display:table-cell;
	margin-top: 1px;
	margin-bottom: 1em;
	line-height: 2;
}

ul.sidemenu li {
	margin-bottom: 1px;
}

ul.sidemenu a {
	color: #FFFFFF;		/*文字色*/
	text-decoration: none;		/*リンクの下線を消す*/
	background-color: #669900;	/*背景色*/
	display: block;
	width: 198px;;
	text-align: center;			/*センタリング*/
	border: 1px solid #669900;	/*背景色と同じにしてあるので分かりませんがこの色を変えると枠線が出ます*/
	padding-top: 5px;
	padding-bottom: 5px;
}

ul.sidemenu a:hover {
	color: #669900;		/*カーソルオーバー時の文字色*/
	background-color: #FFFFFF;	/*背景色*/
	border: 1px solid #669900;	/*枠線設定*/
}


/*サイドメニュー内の「リンクアイコン」部分
---------------------------------------------------------------------------*/
ul.linkicon { overflow: hidden; }

ul.linkicon li { float: left; margin: 10px 12px; }

ul.linkicon li a {
	display: block;
	text-decoration: none;
	text-indent: -9999px;
	width: 40px;
	height: 40px;
	background-image: url(../images/icon_link.png);
	outline: 1px solid #FFFFFF;
}

ul.linkicon li a:hover { outline: 1px solid #669900; }

.pixiv a { background-position: 0px 0px; background-repeat: no-repeat; }
.twitter a { background-position: 0px -40px; background-repeat: no-repeat; }
.nico a { background-position: 0px -80px; background-repeat: no-repeat; }

.pixiv a:hover { background-position: -40px 0px; }
.twitter a:hover { background-position: -40px -40px; }
.nico a:hover { background-position: -40px -80px; }


/*フッター（コピーライトなど入っているHP最下部ブロック）
---------------------------------------------------------------------------*/
#footer {
	font-size: 11px;		/*文字サイズ*/
	line-height: 1.4;		/*行間*/
	text-align: center;		/*センタリング*/
	clear: both;
	width: 100%;
	border-top: 1px solid #669900;	/*上に入れているライン*/
	padding-top: 10px;
	padding-bottom: 10px;
}



/*メインコンテンツ内の「トップページ画像」部分
---------------------------------------------------------------------------*/
#viewer {
    margin: 0 auto;
    width: 650px;
    height: 225px;
    text-align: left;
    overflow: hidden;
    position: relative;
}
 
#viewer img {
    top: 0;
    left: 0;
    position: absolute;
}


/*メインコンテンツ内の「更新情報・お知らせ」部分
---------------------------------------------------------------------------*/
#main .new dl {
	width: 640px;			/*ボックスの幅*/
	height: 400px;			/*ボックスの高さ*/
	overflow: auto;
	line-height: 1.5;
	padding-left: 10px;
	border-bottom: 2px solid #669900;
}

#main .new dt {
	font-weight: bold;	/*日付の色を太字にする*/
	color: #669900;		/*日付の文字色*/
	border-bottom: 1px solid #669900;
}

#main .new dd {
	border-bottom: 1px solid #eeeeee;	/*日付ごとの下線*/
}


/*メインコンテンツ内の「イラスト」部分
---------------------------------------------------------------------------*/

#main .illust a:hover img { outline:2px #669900 solid; }

#main .illust a img { margin:0px 5px 5px 0px; /*border:1px #669900 solid*/;}
#main .illust a:hover img{ opacity:0.5; filter: alpha(opacity=50); }
#main .illust a:focus { outline: none; }

.illust h2.group {float: left;}

.illust p.down {
	float: right;
	font-size: 100%;
	margin-right: 10px;
	color: #FFFFFF;
}

/*メインコンテンツ内の「プロフィール」部分
---------------------------------------------------------------------------*/
#main .profilepic {
	float: left;
	margin-right: 20px;
}

#main .profile {
	overflow:hidden;
}

#main .float-clear {
	clear: both;
}


/*テーブル（page1.htmlに置いてあるサンプルテーブル）
---------------------------------------------------------------------------*/
.ta1 {
	border: 3px solid #cccccc;	/*外枠の線*/
	width: 650px;
}

.ta1 td, .ta1 th{
	border: 1px dotted #999999;	/*内枠の線。ここでは点線(IE6前だと破線で表示される)に設定*/
	padding: 10px 5px;			/*余白*/
	line-height: 1.8;
}

.ta1 th.tamidashi{
	width: auto;
	background-color: #FFFFFF;	/*上部（table title部分）の背景色*/
}

.ta1 th{
	background-color: #fafafa;	/*左側（table midashi部分）の背景色*/
	width: 150px;
	text-align: center;
}



/*その他
---------------------------------------------------------------------------*/
.color1 {
	color: #669900;
}

.look {
	background-color: #E9E9E9;
}

.mb1em {
	margin-bottom: 1em;
}

.clear {
	clear: both;
}

ul.disc {
	padding: 0.5em 20px 0em 30px;
	list-style: disc;
}
