@charset "utf-8";
@import url("fancybox.css");
@import url(http://fonts.googleapis.com/css?family=Quicksand:400,700);

/*   Universal   */

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
		-ms-text-size-adjust: 100%
}

body {
	margin: auto;
	color: #333;
	font: 14px/26px 'Lucida Grande', 'Verdana', 'Arial', sans-serif;
	text-shadow: 0 1px 1px rgba(255,255,255,.6);
	background: url(../image/canvas-white.png) repeat 0 0;
	-webkit-font-smoothing: antialiased
}


h1, h2, h3, h4, h5, h6 {
	color: #333;
	font-weight: normal;
}

p, dl, ol, ul {
	margin: 0 0 18px;
	list-style: none;
}

a {
	color: #000;
	outline: none;
	text-decoration: none;
}
a:hover { text-decoration: underline; }
a:hover img { opacity: 0.8; }
a img { border: none; }
img {
	max-width: 100%;
	height: auto;
}

th { border: 1px solid rgba(0,0,0,0.1); padding: 8px 12px; background: url(../image/canvas-black.png) repeat 0 0; }
td { border: 1px solid rgba(0,0,0,0.1); padding: 8px 12px; background: url(../image/canvas-gray.png) repeat 0 0; }

input, textarea { border: none; padding: 3px; border-radius: 4px; }
input[type=text], textarea { background: url(../image/canvas-black.png) repeat 0 0; box-shadow: inset 0 1px 1px rgba(0,0,0,.4); }
input[type=text]:hover, textarea:hover {
	background-image: url(../image/canvas-gray.png);
	-webkit-transition: background 0.5s;
	   -moz-transition: background 0.5s;
	    -ms-transition: background 0.5s;
	     -o-transition: background 0.5s;
	        transition: background 0.5s;
}

input[type=text]:focus, input[type=submit]:hover,textarea:focus { background: url(../image/canvas-gray.png) repeat 0 0; }
input[type=submit] { border: 1px solid rgba(0,0,0,0.12); background: url(../image/canvas-black.png) repeat-x 0 0; cursor: pointer;}

/*   Universal Class   */

.alert { color: #990000; }
.clear { clear: both; }
.italic { font-style: italic; }
.alignright { text-align: right; }
.center { display: block; margin: 18px auto; text-align: center; }
.right { float: right; margin: 18px 0 18px 18px; }
.left { float: left; margin: 18px 18px 18px 0; }
.frame { display: inline-block; margin: 0 auto; padding: 4px; border: 1px solid #CCCCCC; background-color: #f7f7f7; text-align: center; }
.frame img { display: block; }
iframe.frame { border-color: #000; background: #000; }
.frame h2, .frame p { margin: 8px 0; padding: 0 12px; text-align: right; }
.icon { margin: 0 auto; width: 512px; height: 512px; background-repeat: no-repeat; background-position: 50% 50%; }
.q { margin: 0 0 0 0.2em; border-left: 3px solid #CCCCCC; padding: 1em 1.8em; }
.a { margin: 0 0 0 0.2em; border-left: 3px solid #666666; padding: 1em 1.8em; }
.remark { font-size: 11px; }
.click span { cursor: pointer; color: #0066CC; }
.webfont { font-family: 'Quicksand', sans-serif; letter-spacing: 0.1em; }
#omission { display: none; }
#download { margin: 0 0 100px; padding: 60px 0; }
#download.zip { height: 100px; padding-left: 100px; background: url(../image/zip.png) no-repeat 0 50%; }
#download p { clear: both; padding: 20px 0; }
#download a { display: block; }
#download strong { display: block; padding-top: 25px; font-size: 19px; }
#download img { float: left; padding-right: 20px; }

/*   Layout   */

#main,
#comments,
#footer .inside { margin: 0 auto; overflow: hidden; }

/*   Header   */

#header {
	position: relative;
	overflow: hidden;
	z-index: 30;
	max-width: 1024px;
	width: 80%;
	margin: 0 auto;
	padding: 6% 0;
	font-family: 'Quicksand', san-serif;
}
#header a {
	color: #4d4d4d;
}
#header a:hover {
	text-decoration: none;
	text-shadow: 0 -1px 1px rgba(255,255,255,.6);
}
#header h1,
#header h2 {
	float: left;
	margin: auto;
	font-size: 2.6em;
}
#header #description {
	float: left;
	margin: 5px 0 0 20px;
	font-size: .8em;
}
#header form {
	float: right;
	width: 365px;
	height: 20px;
	padding: 5px 0 5px 5px;
	background: url(../image/contrail.png) no-repeat 100% 55%;
}
#header form input[type="text"] {
	float: left;
	width: 195px;
	margin: 0 0 0 140px;
	border: none;
	background-image: none;
	box-shadow: none;
	text-align: right;
}
#header form:hover {
	background: url(../image/search.png) no-repeat 90% 50%;
	-webkit-transition: background 0.5s;
	   -moz-transition: background 0.5s;
}
#header form input[type="image"] { padding: 5px 0 0 6px; }

#header ul {
	clear: both;
	margin: -60px 0 0\9;
	padding: 35px 0 0;
	font-size: 16px;
}
#header ul li {
	float: left;
	margin: 0 35px 0 0;
}

#sky {
	position: fixed;
	top: -10px;
	left: 0;
	width: 100%;
	height: 420px;
	background: url(../image/sky.png) repeat-x 0 0;
}
#cloud {
	position: fixed;
	top: 50px;
	left: 0;
	width: 100%;
	height: 280px;
	background: url(../image/cloud.png) repeat-x 0 0;
}

/*   Main   */

#main,
#comments,
.inside {
	position: relative;
	max-width: 1024px;
	margin: auto;
	width: 80%;
	z-index: 10;
	padding-bottom: 30px;
}

#post h1 {
	font-size: 23px;
	line-height: 24px;
}
#post h2,
#post h3 { margin: 34px 0 18px; }
#post h4,
#post p,
#post pre { margin: 18px 0; }
#post h2 { font-size: 20px; }
#post h3 { font-size: 18px; }
#post h4 { font-size: 16px; }
#post h5 { font-size: 13px; }
#post a { color: #0066CC; }
#post img,
.post img {
	display: block;
	margin: auto;
	-webkit-animation: img 1s ease;
	   -moz-animation: img 1s ease;
}
@-webkit-keyframes img {
	from { opacity: 0; }
	50%  { opacity: 0; }
	to   { opacity: 1; }
}
@-moz-keyframes img {
	from { opacity: 0; }
	50%  { opacity: 0; }
	to   { opacity: 1; }
}
#post cite {
	display: block;
	font-size: 10px;
	line-height: 18px;
}
#post pre {
	overflow: auto;
	border: 1px solid rgba(0,0,0,0.15);
	padding: 8px 10px;
	background: #F3F3F3 url(../image/canvas-gray.png) repeat 0 0;
	white-space: -moz-pre-wrap; /* Mozilla */
	white-space: -pre-wrap;     /* Opera 4-6 */
	white-space: -o-pre-wrap;   /* Opera 7 */
	white-space: pre-wrap;      /* CSS3 */
	word-wrap: break-word;      /* IE 5.5+ Safari*/
}
#post dl dt {
	margin: 0 0 12px 20px;
	font-weight: bold;
}
#post dl dd {
	margin: 0 0 28px 40px;
}
#post ul li {
	margin: 0 0 18px 40px;
	list-style-image: url(../image/circle.png);
}
#post ol li {
	margin: 18px 20px 18px 40px;
	list-style: decimal outside;
}
#post ul.list li,
#post ol.list li,
#post dl.list dd {
	margin: 0 0 48px 40px;
}

#post blockquote {
	margin: 20px 2px;
	padding: 20px 40px;
	border: 1px solid rgba(0,0,0,0.05);
	background: url(../image/canvas-gray.png) repeat 0 0;
}
#post .memo {
	margin: 20px 2px;
	padding: 20px 40px;
	border: 1px solid rgba(0,0,0,0.05);
	background: url(../image/canvas-gray.png) repeat 0 0;
}
#post blockquote cite {
	display: block;
	float: right;
	margin: -30px -24px 0;
	color: #999;
}
#post blockquote cite a { color: #999; }
#post .right { margin: 0 0 18px 18px; }
#post .left { margin: 0 18px 18px 0; }
#post .newline {
	clear: both;
	margin: 34px 0 18px;
}
.gallery {
	overflow: auto;
	width: 620px;
	margin: 0 -20px 18px 0;
}
.gallery li {
	float: left;
	min-width: 120px;
	margin: 5px 10px 5px 0 !important;
	padding: 4px;
	border: 1px solid #CCC;
	background-color: #f7f7f7;
	list-style-image: none !important;
}

/*   Grid   */

.grid2 h3 {
	height: 22px;
	margin: 0;
	padding: 10px 0 15px 0;
	background: url(../image/marker-white.png) no-repeat 0 100%;
	font-size: 1.8em;
	font-family: 'Quicksand', san-serif;
	letter-spacing: 0.1em;
}
.grid2 ul {
	border-top: 1px solid #ccc;
	padding-left: 0
}
.grid2 ul li {
	padding: 3px 0;
	border-bottom: 1px dotted #ccc;
}
.grid3 .detail {
	overflow: hidden;
	height: 24px;
	text-align: left;
}

.grid6.frame {
	width: 920px;
}
h1.grid6,
h2.grid6 {
	font-size: 12px;
}
.grid6.flame {
	margin: 0 15px;
}
.grid6 .detail {
	width: 290px;
	text-align: left;
}

.detail {
	margin: 0 0 20px;
	border-top: 1px solid #CCCCCC;
	color: #4D4D4D;
	font-size: 9px;
	text-align: right;
}
.detail a { color:#4D4D4D; }
.detail a:hover { color:#000000; }

/*   Share   */

#share { height: 24px; }
#share dt { float: left; }
#main #share dt span { display: none; }
#share dd {
	float: left;
	width: 20px;
	height: 30px;
	margin: -3px 0 -3px 1px;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	cursor: pointer;
}
#share:hover dd {
	opacity: 0.5;
	-webkit-transition: opacity 0.2s;
	   -moz-transition: opacity 0.2s;
}
#share dd:hover {
	opacity: 1;
	-webkit-transition: opacity 0.2s;
	   -moz-transition: opacity 0.2s;
}
#share dd > a { display: block; }
#share dd > a:hover { text-decoration: none; }
#share dd .social {
	display: none;
	position: relative;
	margin: 28px 0 0;
	padding: 0 5px;
	border: 1px solid #ccc;
	background: url(../image/canvas-gray.png) repeat 0 0;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	    -ms-border-radius: 4px;
	        border-radius: 4px;
}
#share dd .social:before {
	content: '';
	position: relative;
	top: -8px;
	left: 45%;
	width: 0;
	height: 0;
	float: left;
	border: 4px solid transparent;
	border-bottom-color: #ccc;
}
#share dd div.active { display: block; }
#share dd.evernote .social { left: -12px; width: 36px; height: 75px; }
#share dd.twitter .social { left: -30px; width: 71px; height: 77px; }
#share dd.digg .social { left: -22px; width: 54px; height: 85px; }
#share dd.google .social,
#share dd.hatena .social,
#share dd.stumbleupon .social,
#share dd.reddit .social { left: -20px; width: 50px; }
#share dd.facebook .social { left: -30px; width: 71px; height: 77px; }
#share dd.linked .social { left: -25px; width: 60px; height: 77px; }

dd.delicious { background: url(../image/share/delicious.png); }
dd.evernote { background: url(../image/share/evernote.png); }
dd.digg { background: url(../image/share/digg.png); }
dd.hatena { background: url(../image/share/hatena.png); }
dd.linked { background: url(../image/share/linked.png); }
dd.stumbleupon { background: url(../image/share/stumbleupon.png); }
dd.google { background: url(../image/share/google.png); }
dd.reddit { background: url(../image/share/reddit.png); }
dd.twitter { background: url(../image/share/twitter.png); }
dd.facebook { background: url(../image/share/facebook.png); }

/*   Navigation   */

.navigation.grid6 { margin: 15px; }

.navigation {
	clear: both;
	overflow: hidden;
	margin: 0;
	padding: 40px 0 0;
	font-size: 12px;
}
.navigation li {
	margin: 0 !important;
	list-style-image: none !important;
}
.navigation li a { color: #0066CC; }

/*   Comments   */

#comments {
	position: relative;
	z-index: 10;
	padding: 10px 0;
}
#comments .grid4 { float: right; }
#comments .detail { text-align: left; }
#comments cite { font-style: normal; }
#comments ol,
#comments ul {
	margin: 0;
	list-style-type: none;
}
#comments ol li {
	margin: 0;
	padding: 40px 0 40px 40px;
}
#comments ol li.pingback {
	margin: 10px 0 18px 40px;
	padding: 5px 0;
	list-style-image: url(../image/circle.png);
}
#comments ul li {
	margin: 0;
	padding: 40px;
	border: none;
}
#comments .form-submit input { width: auto; }
#comments .avatar { float: right; }
#comments .comment-meta {
	padding: 0 0 5px 0;
	font-size: 10px;
}
#comments .commentlist p {
	margin: 10px 0;
	font-size: 12px;
	line-height: 20px;
}
#comments #submit {
	padding: 4px 10px;
}

#respond { margin: 10px auto; }
#respond h3,
#response {
	padding-top: 20px;
	font-size: 16px;
}
#respond p.comment-form-author,
#respond p.comment-form-email,
#respond p.comment-form-url {
	width: 280px;
	margin: 0 15px 15px 0;
}
#respond input {
	width: 276px;
	padding: 7px;
	font-size: 12px;
}
#respond textarea {
	width: 99%;
	font-size: 12px;
}
#respond .form-allowed-tags { display: none; }

/*   Footer   */

#footer {
	position: relative;
	clear: both;
	background: url(../image/canvas-black.png) repeat 0 0;
	z-index: 10;
}
#footer .inside {
	position: relative;
	z-index: 20;
}
#footer .grid2 {
	margin-top: 30px;
	margin-bottom: 25px;
}

#ocean {
	position: relative;
	top: -62px;
	height: 400px;
	margin-bottom: -400px;
	background: url(../image/ocean.png) repeat-x 0 0;
}

#footer a { color: #4D4D4D; }
#footer .grid2 h3 { background-image: url(../image/marker-black.png); }
#footer h3 span {
	font-size: 10px;
	line-height: 10px;
}
#footer ul {
	margin: 0;
	border-color: #999;
	list-style-type: none;
}
#footer ul li {
	overflow: hidden;
	height: 20px;
	margin: 0;
	border-color: #999;
	list-style-type: none;
}
#footer ul li { text-align: right; }
#footer ul li a {
	display: block;
	float: left;
	width: 260px;
	text-align: left;
}
#footer #about {
	height: 138px;
	background: url(../image/paper-airplane.png) no-repeat 20px 55px;
	overflow: hidden;
}
#footer #about li span {
	float: left;
	display: block;
	width: 55px;
}
#footer #about li { text-align: left; }
#footer #about li a { width: 235px; }
#footer #tag {
	height: 125px;
	padding: 9px 0 3px;
	border-top: 1px solid #999;
	border-bottom: 1px dotted #999;
	font-family: 'Quicksand';
	text-align: center;
	line-height: 22px;
}
#footer .download li {
	float: left;
	height: 131px;
}
#footer .download li a {
	width: 145px;
	padding: 10px 0;
	text-align: center;
}
#footer #copyright {
	clear: both;
	margin: 15px 0 0;
	color: #d9d9d9;
	background: url(../image/footer.png) repeat-x 0 100%;
	font-size: 10px;
	line-height: 14px;
	text-shadow: 0 -1px rgba(0,0,0,0.8);
}
#footer #copyright a {
	color: #d9d9d9;
}
#footer #copyright strong {
	padding: 0 1px;
	font-size: 11px;
	font-weight: normal;
}
#footer #copyright .left,
#footer #copyright .right {
	margin-bottom: 14px;
}
#footer #copyright .rss {
	padding: 0 14px 0 0;
	background: url(../image/rss.png) no-repeat 100% -1px;
}
#footer #copyright .top {
	margin: 0 2px 0 10px;
	padding: 0 14px 0 0;
	background: url(../image/back-top.png) no-repeat 100% -1px;
}

/*   Home   */

.post h2 {
	overflow: hidden;
	height: 28px;
	margin: 10px 0 5px;
	line-height: 28px;
}
.post h2 a {
	padding: 0 0 2px;
	border-bottom: 1px dotted #CCCCCC;
}
.post h2 a:hover { text-decoration: none; }
.grid3.post .center {
	height: 202px;
	margin-top: 0;
	margin-bottom: 0;
}
.post p {
	overflow: hidden;
	height: 184px;
	line-height: 20px;
}
.post .more { margin: 0 0 10px; }
.more a,
a.more { color: #0066CC; }

#notfound {
	padding: 30px 0 60px;
	text-align: center;
}
#notfound h1 {
	overflow: hidden;
	width: 610px;
	height: 0;
	margin: 20px auto;
	padding: 85px 0 0 0;
	background: url(../image/notfound.png) no-repeat 0 0;
}

/* Device Width
------------------------------ */

@media screen and (max-device-width: 480px) {
	body {
		-webkit-text-size-adjust: none;
	}
}

@media only screen and (min-width: 1024px) {
	.grid1,
	.grid2,
	.grid3,
	.grid4,
	.grid6 { float: left; margin: 15px 1.33%; }
	.grid1 { width: 130px; }
	.grid2 { width: 30%; font-size: .8em; }
	.grid3 { width: 470px; font-size: .9em; }
	.grid4 { width: 640px; font-size: 1em; }
	.grid6 { width: 980px; }
	#main .grid4 {
		float: right;
		width: 64%;
	}
}