﻿@charset "utf-8";
/*
Theme Name: tmdf
Theme URI: http://www.tmdf.net
Description: This theme is designed for tmdf by Takaaki Morita.
Version: 3.0
Author: Takaaki Morita
Author URI: http://www.tmdf.net
*/


/* Structure Style */

* {
	margin: 0;
	padding: 0;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	text-decoration: none;
	text-transform: none;
	border: none;
}

body {
	font-size: 62.5%;
	font-family: Arial, Verdana, Tahoma, sans-serif;
	text-align: center;
	color: #333333;
	background-color: #CCCCCC;
}

small {
	font-size: 0.8em;
	line-height: 1.5em;
}

a:link {
	color: #333333;
	text-decoration: none;
	background-color: trnasparent;
}

a:visited {
	color: #333333;
	text-decoration: none;
	background-color: trnasparent;
}

a:hover {
	color: #333333;
	text-decoration: none;
	background-color: #transparent;
}

a:active {
	color: #333333;
	text-decoration: none;
	background-color: trnasparent;
	outline: none;
}

a:focus {
	-moz-outline-style: none;
}

h3, h4 {
	font-weight: bold;
}

img {
	vertical-align: bottom;
}

.clear {
	clear: both;
}

.space {
	margin-left: 10px;
	margin-right: 10px;
	color: #999999;
}


/* page */

#page {
	text-align: left;
	width: 900px;
	margin: 0 auto;
}


/* content */

#content {
	width: 570px;
	margin: 0;
	padding: 20px 0 20px 20px;
	font-size: 1.4em;
	line-height: 1.8em;
	float: left;
}

#content #test{
	width: 100%;
	height: 300px;
	background-color: #EEEEEE;
}

#content a:link {
	color: #333333;
	text-decoration: underline;
}

#content a:visited {
	color: #666666;
	text-decoration: underline;
}

#content a:hover {
	color: #3399FF;
	text-decoration: underline;
}

#content a:active {
	color: #333333;
	text-decoration: underline;
}


/* main */

#main {
	width: 100%;
	padding: 20px 0;
	clear: both;
}

#main h2 {
	font-size: 1.8em;
	font-weight: bold;
}

#main h2 a:link {
	font-weight: bold;
	text-decoration: none;
}

#main h2 a:visited {
	font-weight: bold;
	text-decoration: none;
}

#main h2 a:hover {
	font-weight: bold;
	text-decoration: none;
}

#main h2 a:active {
	font-weight: bold;
	text-decoration: none;
}

#main p.date {
	margin: 5px 0 10px 0;
}

#main p.sub {
	margin: 10px 0 20px;
	float: right;
	clear: both;
}


/* text */

#text {
	text-align: left;
}

#text .c {
	text-align: center;
	display: block;
	margin: 0 auto;
	clear: both;
}

#text .r {
	text-align: right;
	display: block;
	float: right;
	clear: both;
}

#text .l {
	text-align: left;
	display: block;
	float: left;
	clear: both;
}

#text .add {
	display: block;
	background-color: #EEEEEE;
	margin: 5px 0;
	padding: 5px;
}

#text h4 {
	margin: 20px 0 -5px 0;
	clear: both;
}

#text p {
	margin: 10px 0 20px 0;
	clear: both;
}

#text ul {
	margin: 0 0 10px 0;
	list-style-position: inside;
	clear: both;
}

#text ul.disc {
	list-style-type: disc;
}

#text ul.num {
	list-style-type: decimal;
}

#text tr, #text td {
	padding: 0 10px 0 10px;
}

#text td.tbl_g {
	background: #EEEEEE;
    border-bottom: 1px solid #FFFFFF;
}

#text .m_tb10 {
	margin-top: 10px;
	margin-bottom: 10px;
}

#text .m_tb20 {
	margin-top: 20px;
	margin-bottom: 20px;
}

#text .m_rb20 {
	margin-right: 20px;
	margin-bottom: 20px;
}

#text .m_t10 {
	margin-top: 10px;
}

#text .m_t20 {
	margin-top: 20px;
}

#text .m_t30 {
	margin-top: 30px;
}

#text .m_t40 {
	margin-top: 40px;
}

#text .m_b10 {
	margin-bottom: 10px;
}

#text .m_b20 {
	margin-bottom: 20px;
}

#text .m_b30 {
	margin-bottom: 30px;
}

#text .m_b40 {
	margin-bottom: 40px;
}

#text .m_x10 {
	margin: 10px;
}

#text .m_x20 {
	margin: 20px;
}

#text .m_x30 {
	margin: 30px;
}

#text .m_x40 {
	margin: 40px;
}

#text .p_tb10 {
	padding-top: 10px;
	padding-bottom: 10px;
}

#text .p_tb20 {
	padding-top: 20px;
	padding-bottom: 20px;
}

#text .p_rb20 {
	padding-right: 20px;
	padding-bottom: 20px;
}

#text .p_t10 {
	padding-top: 10px;
}

#text .p_t20 {
	padding-top: 20px;
}

#text .p_t30 {
	padding-top: 30px;
}

#text .p_t40 {
	padding-top: 40px;
}

#text .p_b10 {
	padding-bottom: 10px;
}

#text .p_b20 {
	padding-bottom: 20px;
}

#text .p_b30 {
	padding-bottom: 30px;
}

#text .p_b40 {
	padding-bottom: 40px;
}

#text .p_x10 {
	padding: 10px;
}

#text .p_x20 {
	padding: 20px;
}

#text .p_x30 {
	padding: 30px;
}

#text .p_x40 {
	padding: 40px;
}

#text .bd_C {
	border: 1px solid #CCCCCC;
}

#text .bd_9 {
	border: 1px solid #999999;
}

#text .col_N {
	color: #333333;
}

#text .col_R {
	color: #CC0000;
}

#text .col_B {
	color: #0033CC;
}

#text .col_G {
	color: #009900;
}


/* other */

#trackback {
	clear: both;
	margin: 40px 0 0;
}

#comment {
	clear: both;
	margin: 20px 0;
	padding: 20px 0;
	border-top: 3px solid #EEEEEE;
	border-bottom: 3px solid #EEEEEE;
}

#send {
	clear: both;
}

#send li {
	margin-top: 10px;
	margin-bottom: 5px;
	list-style-type: none;	
}

#send .red {
	color: #CC0000;	
}

#send .check {
	font-size: 0.8em;
	line-height: 1.0em;
}

#send .tf {
	font-size: 1.0em;
	border: 1px solid #CCCCCC;
	margin: 0;
	padding: 2px;
}

#send input.long {
	width: 400px;
}

#send input.short {
	width: 250px;
}

#send input.bt {
	width: 100px;
	padding: 2px;
	color: #FFFFFF;
	background-color: #333333;
}

#send textarea.area {
	width: 550px;
	height: 100px;
	margin-bottom: 5px;
}


/* navi */

#navi {
	margin: 40px 0 0;
}

#navi a {
	margin: 0 3px;
	padding: 2px 4px;
	background-color: #EEEEEE;
}

#navi a:link {
	color: #333333;
	text-decoration: none;
}

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

#navi a:hover {
	color: #3399FF;
	text-decoration: none;
}

#navi a:active {
	color: #333333;
	text-decoration: none;
}

#navi .current {
	margin: 0 3px;
	padding: 2px 4px;
	color: #FFFFFF;
	background-color: #999999;
}


/* alert */

#alert {
	width: 100%;
	text-align: center;
}

#alert img {
	margin: 50px;
}

#alert h2 {
	font-size: 3.0em;
	font-weight: bold;
}

#alert p {
	margin-top: 20px;
}


/* header */

#header {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	background-color: #FFFFFF;
	clear: both;
	overflow: hidden;
}

#header #search {
	width: 100%;
	margin: 0;
	padding: 20px 20px 10px;
	text-align: right;
	background-color: #CCCCCC;
	clear: both;
}

#header #search input {
	width: 250px;
	padding: 2px;
	color: #999999;
}

#header #search input:focus {
	color: #333333;
}

#header #logo {
	margin: 0;
	padding: 20px;
	text-align: left;
	float: left;
}

#header #logo h1 {
	font-size: 1px;
	line-height: 0;
	text-indent: -9999px;
	overflow: hidden;
}

#header #kamon {
	margin: 0;
	padding: 20px;
	float: right;
}

#header #background {
	width: 100%;
	height: 75px;
	margin: 0;
	background-image: url(image/header_back.jpg);
	background-repeat: repeat;
	background-position: center top;
	background-color: #333333;
	clear: both;
}


/* middle */

#middle {
	width: 100%;
	margin: 0 auto;
	background-color: #FFFFFF;
	clear: both;
	overflow: hidden;
}


/* side */

#side {
	width: 270px;
	margin: 0;
	padding: 20px 20px 20px 0;
	font-size: 1.2em;
	float: right;
}

#side #rss img {
	margin-left: 10px;
}

#side #profile #photo {
	width: 100px;
	height: 100px;
	margin: 25px 10px 10px 5px;
	float: right;
}

#side #profile a {
	padding: 2px;
	display: inline;
}

#side a {
	padding: 5px;
	display: block;
}

#side #tag a {
	padding: 0 3px;
	display: inline-block;
}

#side a:link {
	color: #333333;
	background-color: trnasparent;
}

#side a:visited {
	color: #666666;
	background-color: trnasparent;
}

#side a:hover {
	color: #333333;
	background-color: #EEEEEE;
}

#side a:active {
	color: #333333;
	background-color: trnasparent;
}

#side p {
	margin: 5px;
	line-height: 1.6em;
}

#side ul {
	list-style-type: none;
}

#side li {
	margin: 0;
	border-top: solid 1px #EEEEEE;
}

#side select {
	width: 160px;
	margin: 5px;
	border-top: solid 1px #999999;
	border-left: solid 1px #BBBBBB;
	border-bottom: solid 1px #DDDDDD;
	border-right: solid 1px #CCCCCC;
}

#side option {
	padding: 2px 2px 2px;
}

#side div.module {
	width: 100%;
	margin: 0 0 20px;
}

#side div.bt {
	border-top: solid 1px #333333;
}

#side div.bb {
	border-bottom: solid 1px #EEEEEE;
}

#side .bold {
	font-size: 1.2em;
	font-weight: bold;
}


/* footer */

#footer {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	background-color: #FFFFFF;
	clear: both;
	overflow: hidden;
}

#footer #anghor {
	margin: 0;
	padding: 20px;
	text-align: left;
	float: right;
	clear: both;
}

#footer #copyright {
	width: 100%;
	margin: 0;
	padding: 20px 20px;
	text-align: left;
	font-size: 1.1em;
	background-color: #CCCCCC;
	clear: both;
}


/* CSS Hack */

.clearfix:after {
	content: url(image/space.gif);
	display: block;
	clear: both;
	height: 0; 
}

.clearfix {
	display: inline-block;
}

* html .clearfix {
	height: 1%
}

.clearfix {
	display: block;
}
