@charset "euc-jp";

/*
Title: ko2.0
Revesion: 1.0
Author: Koichiro Ohba
Access: http://ko.meadowy.net/~koichiro/diary
License: GPL
Comment: あらゆる2.0風
*/

html {
  color: #001444;
}

body {
  background: #011341 url(bg-html.jpg) repeat-x fixed 0pt;
  margin: 0;
  padding: 0;
}

#header, .main {
  clear:both;
  float:left;
  width:100%;
}

.footer {
  color: #FFFFFF;
  clear: both;
  width: 100%;
  background-color: transparent;
  text-align: right;
  font-size: small;
}

.footer a:link {
  color: #FF6600;
}

#wrapper {
  color:#001444;
  margin:20px auto;
  text-align:left;
  width:800px;
  background-color: #FFFFFF;
}

#header {
  background: transparent url("bg-head.png") no-repeat scroll 0% 100%;
  height:113px;
  overflow: hidden;
  position: relative;
}

#header h1 a {
  background: transparent url("logo.png") no-repeat scroll 0% 0%;
  bottom: 1px;
  display: block;
  height: 55px;
  left: 25px;
  line-height: 400px;
  overflow: hidden;
  position: absolute;
  width: 305px;
  text-decoration: none;
}

.adminmenu {
  background-color: #001444;
  font-size: x-small;
  text-align: right;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.main {
  width: 560px;
  padding: 0;
}

.main .sep {
  margin: 0px;
  height: 0px;
  border: 0 none;
  display: none;
}

.day .body {
  background-color: #FFFFFF;
  margin: 0;
  padding: 5px;
}

.section p {
  text-indent: 1em;
  line-height: 150%;
  letter-spacing: 0.1em;
  padding-left: 1em;
  padding-right: 1em;
}

.day {
  background-color: #FFFFFF;
}

.day h2 {
  background-color: #FFFFFF;
  margin: 0;
  font-size: 120%;
  font-family: Georgia, sans-serif;
  padding: 5px;
}

.day .date {
  background: transparent;
  color: #000000;
}

.day .comment {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E1ECFC;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 2em;
}

.sidebar {
  background-color: transparent;
  float: right;
  width: 220px;
  padding-left: 20px;
  padding-top: 10px;
  height: 100%;
}

.sidebar p {
  border-bottom: 1px solid #E1ECFC;
}

img {
  border:0;
}

img.right, img.photo {
  clear:both;
  float:right;
  margin-left:10px;
}

img.amazon{
  clear:both;
  float:right;
  margin-top:1em;
  margin-left:5px;
}

#underbar {
  clear: both;
  background: transparent url("bg-foot.png") no-repeat scroll 0% 100%;
  height: 50px;
}

.comment .commentshort {
  font-size: small;
}

pre {
  font-family: 'Bitstream Vera Sans Mono', 'Courier', 'monospace';
  background-color: #E1ECFC;
}

.section table {
  margin-left: 1em;
  font-size: 80%;
  margin-right: 3em;
  padding: 8px;
  line-height: 1.3;
}

.codelist {
  width: 470px;
  overflow: auto;
}

/*
 design for smart phones
 */
@media screen and (max-device-width: 480px) {
    body {
	}

    div.adminmenu {
	font-size: x-small;
	margin: 0px;
	width: 100%;
	}

    h1 {
	padding-top: 80px;
	height: 50px;
	}

    div.whole-content {
	width: 100%;
	}

    div.main {
	width: 100%;
	}

    div.day {
	margin-right: 0px;
	width: 100%;
	}

    div.day h2 {
	background-color: transparent;
	}

    div.section h3 {
	margin-left: 0px;
	text-indent: 0px;
	}

    div.section img.left,
    div.section img.right,
    div.section img.photo {
	display: block;
	float: none;
	margin: 10px auto;
	max-width: 300px !important;
	}

    div.section img.amazon {
	max-width: 150px !important;
	}

    body.update h1 {
	background-image: none;
	height: auto;
	display: block;
	padding: 0px;
	}

    body.update div.autopagerize_page_element {
	width: 100%;
	}

    div.update {
	width: 100%;
	}

    textarea {
	font-size: 110%;
	}
}

