/*
Theme Name: Calamari Inc.
Theme URI: http://www.calamariinc.com/
Description: カラマリ・インクのウェブサイト
Version: 0.6.1
Author: Tanaka Keiji
Author URI: http://www.calamariinc.com/
Tags: Calamari Inc., design, portfolio
*/


/*BASE------------------------------------------------------*/
body,div,span,p,ul,ol,li,table,tr,td,th,h1,h2,h3,h4,h5,h6,a,em,strong,b,img {
	padding: 0;
	margin: 0;
	line-height: 1;
	border: none;
}
table { border-collapse: collapse; }

body {
	color: #1E1E1E;
	font-family: Garamond, Georgia, "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "ＭＳ Ｐ明朝", serif;
	font-size: 100%;
}
#container {
	width: 100%;
}
p { padding: 0.2em 0 0.8em 0; line-height: 1.5; }
a { text-decoration: none; outline: none; }
a:hover { text-decoration: underline; }

.clear {
	width: 100%;
	font-size: 1px;
	height: 1px;
	overflow: hidden;
	clear:both;
	float:none;
}
.left { float: left; }
.right { float: right; }


/*TOP MENU------------------------------------------------------*/
#top_menu {
	width: 100%;
	padding: 2px 0;
	border-bottom: 1px solid #EEE;
	font-size: 10px;
	color: #333;
	font-weight: bold;
	font-family: Myriad, Arial, Helvetica, 'trebuchet ms', Verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}
#top_menu .left{ padding: 2px 0 1px 3px; }
#top_menu .right{ padding: 5px 6px 2px 0; }
#top_menu p span { letter-spacing: 0.15ex; }
#top_menu a { color: #777; }
#top_menu a:hover { color: #000; text-decoration:none; }
#top_menu a.feed {
	background: url(images/feed-icon2.gif) no-repeat left center;
	padding: 4px 0 3px 20px;
}
#top_menu a.feed:hover { background-image: url(images/feed-icon2.gif); text-decoration:underline; }
#top_menu p{
	padding: 0 5px;
	margin: 0;
	font-size: 100%;
	background-color:#BBB;
	color: #FFF;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	behavior: url(http://www.calamariinc.com/wp-content/themes/calamariinc/js/ie-css3.htc); /* This lets IE know to call the script on all elements which get the 'box' class */  
}
#top_menu .exp {
	background: url(images/new2.gif) no-repeat left center;
	padding: 5px 13px 3px 20px;
}
#news a{  }

/*HEADER------------------------------------------------------*/
#header {
	margin: 39px auto 33px auto;
	width: 341px;
}
#header .left {
	width: 253px;
	height: 33px;
	background-image: url(images/dot_line.gif);
	background-repeat: no-repeat;
	background-position: right center;
}
#header .left img { padding: 6px 0 0 0;}
#header .right {
	width: 87px;
	height: 33px;
	margin-right: 1px;
	background-image: url(images/dot_line.gif);
	background-repeat: no-repeat;
	background-position: right center;
	text-align: center;
}
#header .right a{
	font-size: 16px;
	line-height: 32px;
	color: #1E1E1E;
}


/*FOOTER------------------------------------------------------*/
#footer {
	margin: 64px 0 31px 0;
	width: 100%;
}
#footer table, #footer table td {
	background-image: url(images/dot_line.gif);
	background-repeat: no-repeat;
	background-position: left center;
}
#footer table { margin: 0 auto; background-position: right center;}
#footer table td { padding: 0 7px; }
#footer a{ color: #1E1E1E;}
#footer a:hover { text-shadow: 1px 1px 0 #DDD, -1px -1px 0 #DDD; }
#footer a.reload, #footer a.list, #footer a.about, #footer a.back {
	width: 72px;
	height:44px;
	display: block;
	vertical-align:middle;
	text-align:center;
	background-image: none;
	line-height: 1;
	padding: 28px 0 0 0;
	background-repeat: no-repeat;
	background-position: center center;	
}
#footer a.reload:hover { background-image: url(images/icon_reload.gif); }
#footer a.list:hover { background-image: url(images/icon_list.gif); }
#footer a.about:hover { background-image: url(images/icon_about.gif); }
#footer a.back:hover { background-image: url(images/icon_back.gif); }
#footer .sub {
	font-size: 69%;
	text-align:center;
	margin: 21px auto;
}
#topcontrol div{
	font-size: 32px;
	width: 32px;
	height: 36px;
	padding: 5px;
	text-align:center;
	font-family: sans-serif;
	color:#000;
	background-color:#EEE;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-moz-opacity: 0.5; /*FireFox, Netscape*/
	opacity: 0.5; /*OPERA, Safari*/
	filter:alpha(opacity=50); /*IE*/ 
}
#topcontrol:hover div{
	background-color:#47A9F7;
	color:#FFF;
	-moz-opacity: 1;
	opacity: 1;
	filter:alpha(opacity=100);
}

/*BLOCK------------------------------------------------------*/
.block_l {
	width: 50%;
	padding: 0;
	margin: 0;
	float:left;
	text-align: center;
}
.block_r {
	padding: 0;
	margin: 0;
	float: right;
	font-size: 81%;
	font-family: Myriad, Arial, Helvetica, 'trebuchet ms', Verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}
.block_r p { text-align: right; }
.block_r a { color: #999999; }

/*INDEX------------------------------------------------------*/
#index { /*インデックスページ用*/
	clear: both;
	width: 656px;
	padding: 0;
	margin: 0 auto;
}
#index .block {
	padding: 30px 25px 25px 25px;
	width: 606px;
	-moz-border-radius: 14px;
	-webkit-border-radius: 14px;
	border-radius: 14px;
}
.bl-hot { zoom: 1; /*Should be IE only*/ }
.bl-hover { cursor: pointer; }
.bl-hot img { border: solid 1px #FFF; }
.bl-hover img { border: solid 1px #AAA; }
#index .block { background-color: #FFF; color: #2B2B2B; }
#index .block:hover {
	background-color: #0A0A0A; /*0A0A0A,47A9F7,FF33CC*/
	color: #FFF;
}
#index .block_l { width: 304px; }
#index .block_r { width: 290px; font-size: 78%; }
.block strong {
	display: block;
	padding: 0 0 1em 0;
	line-height: 1.8;
}

/*SINGLE------------------------------------------------------*/
#single {
	clear: both;
	width: 88%;
	/*width: 800px;*/
	padding: 0;
	margin: 0 auto;
}
/*#single .block { padding: 30px 0; }*/
#single .block{
	background-color:#FFFFFE;
	padding: 3px 2px;
	margin: 31px 0 70px 0;
}
#single .block_r {
	border-right: 5px solid #47A9F7;
	padding: 5px 10px 0 10px;
	margin: 0 -5px 0 0;
	background-image: url(images/dots_fff1.gif);
	-moz-border-radius: 5px;
	-moz-border-radius-topright: 3px;
	-moz-border-radius-bottomright: 3px;
	-webkit-border-radius: 5px;
	-webkit-border-radius-topright: 3px;
	-webkit-border-radius-bottomright: 3px;
	border-radius: 5px;
	border-radius-topright: 3px;
	border-radius-bottomright: 3px;
}
#single .block_r p{ line-height: 1.8; }
#single a img { border: solid 1px #CCC; }
#single a:hover img { border: solid 1px #47A9F7; }
.similar {
	padding: 30px 0 20px 0;
	margin: 0;
	text-align: center;
	color: #47A9F7;
}
.similar .clear {
	padding: 0;
	margin: 1px 0;
	border-top: 1px dotted #47A9F7;
	z-index: 1;
	position: relative;
}
.similar p {
	font-family: Myriad, Arial, Helvetica, 'trebuchet ms', Verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
	padding: 3px 0px 3px 6px;
	background-color:#FFF;
	width: 10em;
	margin: -30px auto 0 auto;
	font-style: italic;
	font-size: 24px;
	letter-spacing: 0.31em;
	z-index: 99;
	position: relative;
}
/*.similar {
	font-family: Arial, Helvetica, 'trebuchet ms', Verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
	padding: 8px 0;
	margin: 10px 0 -10px 0;
	background-color:#47A9F7;
	color:#FFF;
	text-align: center;
	font-style: italic;
	letter-spacing: 0.31em;
	-moz-border-radius: 9px;
	-webkit-border-radius: 9px;
	border-radius: 9px;
	background-image: url(images/dots_single.gif);
	background-repeat: repeat;
	text-shadow: 0px 0px 3px #4171A0;
	-moz-box-shadow: 2px 2px 5px #3C79B7;
	-webkit-box-shadow: 2px 2px 5px #3C79B7;
}*/

/*ABOUT------------------------------------------------------*/
.block_about {
	width: 720px;
	padding: 0;
	margin: 0px auto 64px auto;
}
.block_about div {
	width: 320px;
	float: left;
	padding: 0;
	margin: 0 20px 24px 20px;
}
p.about{
	font-size: 81%;
	line-height: 1.6;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	behavior: url(http://www.calamariinc.com/wp-content/themes/calamariinc/js/ie-css3.htc);
	background-color:#E5E5E5;
	padding: 13px;
	margin: 0 0 11px 0;
	overflow: hidden;
}
p.about strong{
	font-weight: normal;
	line-height:1.8;
}
.call {
	font-size: 156%;
	line-height: 1.45;
	padding: 0 0 0.5em 0;
}
.call a { color: #1E1E1E; }
.call a:hover { color: #47A9F7; }

/*LIST------------------------------------------------------*/
.thumbs {
	clear: both;
	width: 624px;
	padding: 0;
	margin: 0 auto;
}
.thumbs a {
	display: block;
	width: 72px;
	height: 72px;
	overflow:hidden;
	float: left;
	margin: 0;
	border: 3px solid #FFF;
}
.thumbs a:hover { border: 3px solid #0A0A0A; }
.thumbs a:active { border: 3px solid #47A9F7; }

#tooltip {
	font-family: Myriad, Arial, Helvetica, 'trebuchet ms', Verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
	font-size: 75%;
	position: absolute;
	overflow: hidden;
}
.new {
	margin: 5px 0 -50px 47px;
	position:absolute;
}
.type1 {
	background: url(images/fukidashi1.gif) no-repeat 0 0;
	padding: 47px 15px 10px 20px;
	width:149px;
	height: 80px;
}
/*.type2 {
	background: url(images/fukidashi2.gif) no-repeat 0 0;
	padding: 30px 40px 30px 20px;
	width:130px;
	height: 100px;
}
.type3 {
	background: url(images/fukidashi3.gif) no-repeat 0 0;
	padding: 50px 40px 10px 40px;
	width:130px;
	height: 100px;
}*/

