@font-face {
	font-family: LeagueGothic;
	src: url(../fonts/LeagueGothic.eot);
	src: local(LeagueGothic), url(../fonts/LeagueGothic.otf) format('opentype');
}

@font-face {
	font-family: Sword;
	src: local(Sword), url(../fonts/Sword.ttf) format('truetype');
}

body {
    position: relative;
    font-family: Georgia, serif;
    background-image: url(../img/bg.jpg); /* From Pine Trees, Screen by Hasegawa Tohaku, Momoyama Period, 16th century. */
    background-color: #eee7df;
    background-attachment: fixed;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    color: #333;
}

p {
    margin: 1em 0;
    line-height: 1.25;
}

ol {
    margin: 2em;
    list-style: decimal outside;
}

ol li {
    margin: .5em 0;
}

body.default #content h2 + p:first-of-type,
body.default #content h3 + p {
    margin-top: 2em;
}

body.default #content h2 + p:first-of-type:first-line,
body.default #content h3 + p:first-line {
    font-variant: small-caps;
    font-size: 1.25em;
}

body.default #content h2 + p:first-of-type:first-letter,
body.default #content h3 + p:first-letter {
    float: left;
    padding: .1em 2px 0 0;
    line-height: .75;
    font-size: 3em;
    font-weight: bold;
}

p.nihongo {
    font-family: Sword, Arial, sans-serif;
}

strong {
    color: #013;
    font-weight: normal;
}

h1, .h1, h2, h3 {
    font-family: LeagueGothic, "Arial Narrow", Arial, sans-serif;
    font-weight: normal;
    margin: 1em 0 0 0;
}

h1 + h2,
h2 + h3 {
    margin: 0;
}

h1, .h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.75em;
}

h3 {
    font-size: 1.5em;
}

h2 a, h3 a {
    color: inherit !important;
}

h4 {
    font-size: 1em;
}

th {
    border-bottom: 2px solid #777;
}

th, td {
    text-align: left;
    padding-right: 1em;
}

:link, :visited {
	text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.left {
    float: left;
}

.right {
    float: right;
}

.clear {
    clear: both;
}

.rj {
    text-align: right;
    padding-right: 0;
}

.vcard {
    margin: 1em 0;
}

#content .hpst {
	position: absolute;
	left: -5000em;
}

body.contact form {
    margin: 1em;
}

body.contact form li {
    list-style: none;
}

label {
	display: block;
	margin: .5em .5em 0 0;
}

div.controls {
    margin-left: 2em;
}

#wrapper {
    position: relative;
    width: 900px;
    margin: 2% auto 0 auto;
    padding: 0 10px;
    background-image: url(../img/bgmask.png);
    border: 1px solid #fff7ef;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

#languagechooser {
    text-align: right;
    font-weight: 100;
}

#languagechooser a {
    padding: .25em .5em 0 0;
    color: #322;
}

#top {
    color: #322;
    overflow: hidden;
    padding: 10px 0 10px 120px;
    background-image: url(../img/logo.png);
    background-position: 0px 10px;
    background-repeat: no-repeat;
    border-bottom: 4px solid #444;
    min-height: 100px;
}

#top h1 {
    margin: 0;
    padding: 0;
    font-weight: 100;
    font-size: 3em;
    text-transform: uppercase;
}

#top h1 a {
    color: #322;
    text-decoration: none;
}

#top h2 {
    margin: 0;
    padding: 0;
    font-weight: 100;
    text-transform: uppercase;
}

#banner {
    float: none;
    clear: both;
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

#headline {
    color: #322;
    font-size: 3em;
    text-transform: uppercase;
    margin: 0;
}

#nav1 li a {
    color: #c80000;
}

#nav1 li a:hover {
    text-decoration: none;
    color: #600;
}

#nav1 li.selected > a,
body.contact #nav1 li.contact a {
    color: #322;
}

#nav1 li.ancestor>a,
#nav1 li.selected li.descendant a {
    border-bottom: none;
}

#nav1 {
    float: right;
    clear: right;
    font-family: LeagueGothic, Arial, sans-serif;
    font-size: 1.25em;
    text-transform: uppercase;
    width: 180px;
    margin: 40px 0 2em 10px;
    background-image: url(../img/navbgt.png);
    background-repeat: no-repeat;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}

#nav1 ul {
    padding: 10px;
    background-image: url(../img/navbgb.png);
    background-position: bottom left;
    background-repeat: no-repeat;
}

#nav1 ul ul {
    padding-top: 0;
    background-image: none;
}

#nav1 li {
    margin-bottom: .25em;
}

#nav1 li li {
    margin: .5em 0 0 0;
    line-height: 100%;
    border: none;
}

#news {
    float: right;
    clear: right;
    width: 180px;
}

#news h3 {
    border-bottom: 2px solid #ccc;
    margin-bottom: .5em;
}

#news ul {
    font-size: .75em;
}

#news .date {
    float: left;
    clear: left;
    color: #999;
}

#news p {
    margin-left: 3.5em;
}

#content {
    position: relative;
}

#content ul {
    list-style: square outside;
    margin: 1em 2em;
}

#content ul li {
    padding: .25em 0;
}

#content {
    margin: 40px 0 0 0;
    width: 640px;
}

.column {
}

.column {
    position: relative;
    padding: 0 10px;
}

#content h2, #content h3 {
    font-weight: 300;
}

body.twocolumn #content {
    background-position: 50% 0%;
    background-repeat: repeat-y;
}

body.twocolumn .column {
    background-image: url(../img/twocolumnbg.png);
    background-position: top left;
    background-repeat: no-repeat;
}

body.threecolumn .column {
    background-image: url(../img/threecolumnbg.png);
    background-position: top left;
    background-repeat: no-repeat;
}

body.twocolumn #column1 {
    float: left;
    width: 400px;
}

body.twocolumn #column2 {
    float: right;
    width: 400px;
}

body.threecolumn #column1 {
    float: left;
    width: 300px;
}

body.threecolumn #column2 {
    float: left;
    width: 300px;
    margin-left: 10px;
}

body.threecolumn #column3 {
    float: right;
    width: 300px;
}

#footer {
    font-size: .9em;
    font-variant: small-caps;
    border-top: 1px solid #999;
    float: none;
    clear: both;
    margin-top: 5em;
    padding: .5em;
}

#breadcrumbs li {
    display: inline;
}

.picture {
    position: relative;
}

.picture.left {
    width: 40%;
    float: left;
    margin: 0 1em 1em 0;
    background: #fff;
    padding: 6px;
    border: 1px solid #ddd;
}

.picture.right {
    width: 40%;
    float: right;
    margin: 0 0 1em 1em;
    background: #fff;
    padding: 6px;
    border: 1px solid #ddd;
}

.picture img {
    max-width: 100%;
    border: 1px solid #ddd;
}

.slideshow {
    position: relative;
    width: 600px;
    height: 400px;
    overflow: hidden;
}

.slideshow .panel {
    position: absolute;
    left: 0;
    top: 0;
}

.slideshow .panel slide {
    display: none;
}

.slideshow .panel div {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 600px;
}

.slideshow .panel div p {
    background-image: url(../img/bgmask.png);
    color: #000;
    margin: 0;
    padding: 10px 20px;
    font-size: 1em;
    text-align: right;
    text-transform: uppercase;
    font-family: LeagueGothic, Arial, sans-serif;
}

#map_canvas {
    width: 600px;
    height: 400px;
}

#map_canvas h2 {
    font-size: 1.5em;
    margin: .25em 0 0 0;
}

div.photo-gallery {
    float: left;
    clear: left;
    margin: 1em;
}

div.photo-gallery h3 {
    margin: 0;
}

div.gallery-photo {
    float: left;
    margin-right: 2px;
}

.entry {
	position: relative;
}

.timestamp {
    position: relative;
    font-family: LeagueGothic, Arial, sans-serif;
    text-transform: uppercase;
    color: #c80000;
    font-size: .4em;
    padding: 4px;
    margin-bottom: .75em;
    float: left;
    width: 8em;
}

.timestamp .day {
    font-size: 3em;
    line-height: 1;
    float: left;
}

.timestamp .my {
    float: left;
    padding-right: .5em;
}

.timestamp .month,
.timestamp .year {
    font-size: 1.25em;
    line-height: 1.1;
    padding: 0 .25em 0 .25em;
}

.entries .entry {
	margin: 0 0 2em 7em;
}

.entry_detail .entry .blognav {
  margin: 0 0 2em 0;
  clear: both;
}

.entries h1,
.entries .h1,
.entry h1 {
    position: relative;
	margin-bottom: .5em;
}

.entries h1 a,
.entries .h1 a,
.entry h1 a {
    color: #322;
}

.more {
    font-size: .75em;
	font-style: italic;
    display: block;
    text-align: right;
}

.meta, .blognav {
    position: relative;
	font-size: .8em;
    color: #777;
	margin: 0 0 1em 0;
}

.meta table {
  width: 100%;
}

.meta table td {
  padding: 0 1em;
  vertical-align: top;
}

.meta p {
	margin: 0;
}

.vcard {
    margin: 1em;
}

.pages {
    position: relative;
    clear: both;
    text-align: center;
    font-size: .75em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2em;
}

.previous {
    width: 30%;
    float: left;
    text-align: left;
}

.next {
    width: 30%;
    float: right;
    text-align: right;
}
