﻿/*  
Theme Name: ShinMatsumotoMonogatari PJT
Theme URI: http://wordpress.org/
Description: The default MMPJT theme.
Version: 0.1
Author: MMPJT
Author URI: http://youkoso.city.matsumoto.nagano.jp/
*/
/* Begin Typography & Colors */
body {
	font-size: 71%; /* Resets 1em to 10px */
	font-family:  "ヒラギノ角ゴ Pro W3", 平成角ゴシック, Osaka, Osaka－等幅, "ＭＳ ゴシック", "ＭＳ Ｐゴシック",'Lucida Grande', Verdana, Arial, Sans-Serif;
	color: #333;
	text-align: center;
	}
#page {
	background-color: white;
	text-align: left;
	}
.gakutop #page, .gaku #page, .gakublog #page {
	background-color: transparent;
	background-image: url(images/back.jpg);
	}
#header {
	height: 150px;
	width: 800px;
}
#header {
	margin: 0 0 0 0px; 
	padding: 0; 
}
#header {
	background-image: url(images/titlebanner3.gif);
	background-repeat: no-repeat;
	background-position: 0 bottom;
}
.gakutop #header {
	height: 538px;
	background-repeat: no-repeat;
	background-position: 0 top;
	margin: 0;
	padding: 0;
	position:relative;	/* for backphototext, shinmatsujpg */
}
#headergaku {
	position:relative;	/* for shinmatsujpg */
	height: 205px;		/* if not specified, IE6 use 207px (I don't know why) */
}
img.headgaku {
	padding:0;
	margin:0;
}
h1.head{
	line-height: 2.0em;
	font-size:1.25em;
	text-align:left;
	margin-left:10px;
	padding-top:100px;
}
.gakutop h1.head, .gaku h1.head, .gakublog h1.head{
	margin-left:0;
	padding-top:0;
}
#backphototext {
	position: absolute;
	top: 16px;
	left: 640px;
	width: 10em;
	font-size: 14px;
	margin: 0;
	padding: 0;
	text-align: center;
	vertical-align: text-bottom;
}
table.backphotobuttons {
	position: absolute;
	top: 31px;
	left: 655px;
	width: 112px;
	height: 19px;
	margin: 0;
	padding: 0;
	border: 0;
}
table.backphotobuttons #buttonmodoru {
	width: 50%;
	text-align: left;
}
table.backphotobuttons #buttonsusumu {
	width: 50%;
	text-align: right;
}
.gakutop .shinmatsujpg {
	position: absolute;
	bottom: 10px;
	right: 15px;
}
.gaku .headtitlegif, .gakublog .headtitlegif {
	position: absolute;
	top: 0;
	left: 0;
	margin:0;
}
.gaku .shinmatsujpg, .gakublog .shinmatsujpg {
	position: absolute;
	bottom:0;
	right: 0;
}
#header a{
	color:#fff;
}
#header p.description{
	font-size:100%;
	text-align:left;
	margin-left:10px;
	margin-top:2px;
	color:#000;
}
/* --------------- navi menu --------------- */
ul.navi  {
	list-style: none;
	height: 20px;
	width: 100%;
	background-color: #cccccc;
	}
ul.navi {
	margin: 0;
	padding: 0;
}
.navi li {
	display: inline;
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	float:left;
	font-size:10%;
	}
.navi a {
	overflow: hidden;
	display: block;
	height: 20px;
	width: 100px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	text-indent: -999em;
	}
.navi li a:hover {	background-position:0 0;}
.navi li a.home {	background-image: url(images/home-icon.gif);	}
.navi li a.weather {	background-image: url(images/weather-icon.gif);	}
.navi li a.traffic {	background-image: url(images/Traffic-icon.gif);	}
.navi li a.livecamera {	background-image: url(images/livecamera-icon.gif);	}
.navi li a.hana {	background-image: url(images/hana-icon.gif);	}
.navi li a.mmap {	background-image: url(images/map-icon.gif);	width: 99px;	}
.navi li a.partner {	background-image: url(images/partner-icon.gif);}
.navi li a.food {	background-image: url(images/food-icon.gif);}
.navi li a.event {	background-image: url(images/event-icon.gif);	}
.navi li a.winter {	background-image: url(images/fuyu-icon.gif);	}
#content {
	font-size: 120%;
	}
.narrowcolumngaku #content
	font-size: 110%;
	}
.widecolumn .entry p {
	font-size: 1.05em;
       	margin-top: 5px; /* added */
	}
.narrowcolumn .entry, .widecolumn .entry, .narrowcolumngaku .entry {
	line-height: 1.4em;
	}
.narrowcolumngaku .entry p {
	margin: 0.2em 2em 0.7em 0.2em;
	padding-top: 0;
	line-height: 1.6em;
	}
.widecolumn {
	line-height: 1.6em;
	}
.narrowcolumn .postmetadata {
	text-align: center;
	}
.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	}
small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 90%;
	line-height: 1.5em;
	}
p {
	padding: 0;
	max-width: 100%;
  }
p.addition {
	margin-top: 1px;
	margin-bottom: 1px;
  }
p.additionwide {
	margin-top: 3px;
	margin-bottom: 4px;
  }
h1, h2, h3 {
	font-family:  "ヒラギノ角ゴ Pro W3", 平成角ゴシック, Osaka, Osaka－等幅, "ＭＳ ゴシック", "ＭＳ Ｐゴシック",'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
	}
h1 {
	font-size: 4em;
	text-align: center;
	}
h2 {
	font-size: 150%;
	}
h2.pagetitle {
	font-size: 1.3em;
	background-color: #ccffff;
	}
#sidebar h2 {
	font-family: 'Lucida Grande', Verdana, Sans-Serif;
	font-size: 1.2em;
	}
h3 {
        color: #008838;
	font-size: 115%; /* 1.1em; */
        /* border-bottom: 1px solid #008838; */
        border-left: 11px solid #008838;
	}
h4 {
	font-size: 1.1em;
	 /* margin-top:10px; */
	 /* margin-bottom:5px; */
         /* border-bottom: 1px solid #008838; */
	margin: 10px 0 5px;
	padding: 1px 3px;
	background-color: #339966; /* added */
        color: #ffffff;
	}
.h4indent { margin-left: 1em; }
h5 {
	font-size: 1em;
	margin-top:5px;
	margin-bottom:5px;
        color: #008838;
        border-bottom: 1px solid #008838;
	}
h6 {
	font-size: 0.9em;
	margin-top:3px;
	margin-bottom:1px;
	}
.profile h4 {
        background-color: white;
        color: #008838;
	margin-top:10px;
	margin-bottom:5px;
	padding: 0;
        border-bottom: 1px solid #008838;
	}
.profile p {
        margin-top: 5px;
        font-size: 90%;
	}
h1, h1 a, h1 a:hover, h1 a:visited {
	text-decoration: none;
	color: white;
	}
h2, h2 a, h2 a:visited, h3 a, h3 a:visited {
	color: #333;
	}
h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
	}
.post h2 {
	clear:left;
	border-bottom:1px solid #333;
	padding-bottom:1px;
	padding-left:35px;	/* MAT was 42px; */
	background:url(images/ico-tz.gif) left center no-repeat;
	font-size:1.25em;
	line-height: 2.0em;
        font-weight: bold;
	}
.gaku .post h2 {
	clear:left;
	border-bottom:none;
	padding-bottom:0;
	padding-left:0;
	background:none;
	}
.gakublog .post h2 {
	clear:left;
	border-bottom:1px solid #007a41;
	padding-bottom:1px;
	padding-left:42px;
	background:url(images/ico-tz.gif) left center no-repeat;
	}
.gakublog .post h3 {
        color: #007a41;
	font-size: 110%;
	}
..post h3, .post h4 {
        clear:both;
        }
.gaku .narrowcolumngaku .post h3 {
	border: none;
	padding-left:0;
        clear:both;
	}
.entry p a:visited {
	/* color: #b85b5a; */
	}
.commentlist li, #commentform input, #commentform textarea {
	font: 90%  "ヒラギノ角ゴ Pro W3", 平成角ゴシック, Osaka, Osaka－等幅, "ＭＳ ゴシック", "ＭＳ Ｐゴシック",'Lucida Grande', Verdana, Arial, Sans-Serif;
	}
.commentlist li {
	font-weight: bold;
	}
.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}
.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}
#commentform p {
	font-family:  "ヒラギノ角ゴ Pro W3", 平成角ゴシック, Osaka, Osaka－等幅, "ＭＳ ゴシック", "ＭＳ Ｐゴシック",'Lucida Grande', Verdana, Arial, Sans-Serif;
	}
.commentmetadata {
	font-weight: normal;
	}
#sidebar {
	font: 1.1em  "ヒラギノ角ゴ Pro W3", 平成角ゴシック, Osaka, Osaka－等幅, "ＭＳ ゴシック", "ＭＳ Ｐゴシック",'Lucida Grande', Verdana, Arial, Sans-Serif;
	}
small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}
code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}
acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}
a, h2 a:hover, h3 a:hover {
	color: #06c;
	text-decoration: none;
	}
a:hover {
	color: #147;
	text-decoration: underline;
	}
#wp-calendar #prev a {
	font-size: 9pt;
	}
#wp-calendar a {
	text-decoration: none;
	}
#wp-calendar caption {
	font: bold 1.3em  "ヒラギノ角ゴ Pro W3", 平成角ゴシック, Osaka, Osaka－等幅, "ＭＳ ゴシック", "ＭＳ Ｐゴシック",'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}
#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */
/* Begin Structure */
body {
	margin: 0;	/* Matsuo for gaku, was 0 0 20px 0 */
	padding: 0;
	}
#page {
	width: 800px;
	}
#page {
	margin: 0px auto;
	padding: 0;
	}
.narrowcolumn {
	float: left;
	width: 540px;
	border-left:#4eb8a3 1px solid;
	border-right:#4eb8a3 1px dotted;
	}
.narrowcolumn {
	padding: 0 10px 20px 25px;
	margin: 0px 0 0;
	}
.gakutop .narrowcolumngaku {
	float: left;
	width: 540px;
	padding: 0 0 8px 0;
	margin: 10px 0 0;
	}
.gaku .narrowcolumngaku {
	float: left;
	width: 540px;
	padding: 0 5px 10px 20px;
	margin: 0;
	}
.gakublog .narrowcolumn {
	width: 520px;
	border-left: none;
	border-right: none;
	}
.widecolumn {
	float: left;
	width: 540px;
	border-left:#4eb8a3 1px solid;
	border-right:#4eb8a3 1px dotted;
	}
.widecolumn {
	padding: 0 10px 20px 25px;
	margin: 0px 0 0;
	text-align:left;
	}
.gakublog .widecolumn {
	width: 520px;
	border-left: none;
	border-right: none;
	}
.post {
	margin: 0 0 40px;
	text-align: justify;
	border-bottom:1px dotted #999;
	}
.gakutop .post, .gaku .post, .gakublog .post {
	margin: 0;
	border-bottom: none;
	}
.widecolumn .post {
	margin: 0;
	}
.narrowcolumn .postmetadata {
	padding-top: 5px;
	}
.widecolumn .postmetadata {
	margin: 30px 0;
	}
.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}
.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}
.postmetadata {
	clear: left;
}
#footer {
	padding: 0;
	margin: 0 auto;
	width: 800px;
	clear: both;
	background:url(images/footer_g.gif) bottom center no-repeat;
	}
.gakutop #footer, .gaku #footer, .gakublog #footer {
	padding: 0;
	margin: 0 auto;
	width: 800px;
	clear: both;
	}
#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
	color:#fff;
	line-height: 1.3em;
	}
#footer a{color:#fff;}
.gakutop #footer, .gaku #footer, .gakublog #footer {
	background: #007a41 none;
}
/* End Structure */
/*	Begin Headers */
h1 {
	padding-top: 70px;
	margin: 0;
	}
h2 {
	margin: 30px 0 0;
	}
.gakutop .narrowcolumngaku h2 {
	margin-left: 10px;
	}
h2.pagetitle {
	margin-top: 15px;
	text-align: center;
}
#sidebar h2 {
	margin: 5px 10px 0;
	padding: 3px;
	background-color:#4eb8a3;
        color: #ffffff;
	}
.gakublog #sidebar ul li h2, .gakutop #sidebar ul li h2, .gaku #sidebar ul li h2 {
	margin-left: 0;
	padding:0;
	background-color:transparent;
	color: black;
	}
h3 {
	padding: 0 0 0 2px;
	margin: 20px 0 0;
	}
h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */
/* Begin Images */
img {
	margin: 5px;
}
/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */
h2 img, h3 img {
	margin: 0;
}
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}
img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}
.alignright {
	float: right;
	}
.alignleft {
	float: left;
	}
/* End Images */
/* Begin Lists
	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */
/*
html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	} 
html>body .entry li {
	margin: 7px 0 8px 10px;
	}
.entry ul li:before {
	content: "\00BB \0020";
	}
*/
#sidebar ul li ul li:before {
	content: "\00BB \0020";
	}
.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}
.entry ol li {
	margin: 0;
	padding: 0;
	}
.postmetadata ul, .postmetadata li {
	 /* display: inline; MAT: I don't know why this was specified, but, this caused h-scroll bar on Win Safari for gaku
	     blog article*/
	list-style-type: none;
	list-style-image: none;
	line-height: 1.25em;
	padding-left: 10px;
	}
#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}
#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 10px;
	}
#sidebar .gakulinks {
	margin: 0 !important;
	}
/* not solve the problem (IE6 ではなぜか "新まつもと物語のコンテンツ"の上に2pixel 隙間が空く) #sidebar img.gakulinks {
	margin: 0 !important;
	border: 0 !important;
	padding: 0 !important;
	} */
#sidebar .gakulinks ul {
	margin-top: 0;
	padding-top: 2px;
	}
#sidebar .gakulinks li {
	margin-left: 10px;
	margin-bottom: 0;
	margin-right: 10px;
	padding-top: 4px;
	}
#sidebar ul li.pagenav {
	margin-bottom: 0;
 }
#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}
#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}
#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}
ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}
#sidebar ul li ul li, #sidebar ul ol li {
	margin: 0;
	 /* not work padding: 4px, 0, 0; */
	}
#sidebar ul li ul li {
	padding-top: 3px;
	}
/* End Entry Lists */
/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px; 
	text-align: center;
	}
#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}
#sidebar #searchsubmit {
	padding: 1px;
	}
.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}
select {
	width: 130px;
	}
#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#commentform #submit {
	margin: 0;
	float: right;
	}
/* End Form Elements */
/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}
.commentlist {
	padding: 0;
	text-align: justify;
	}
.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}
.commentlist p {
	margin: 10px 5px 10px 0;
	}
#commentform p {
	margin: 5px 0;
	}
.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}
.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */
/* Begin Sidebar */
#sidebar
{
	float:right;
	width: 210px;
	}
#sidebar
{
	padding: 20px 0 10px 0;
	border-right:#4eb8a3 1px solid;
	}
#sidebar form {
	margin: 0;
	}
.sidebargaku {
	background-image: url(images/back.jpg);
	background-color: transparent;
	border-right: 0 !important;
	padding: 5px 0 0 !important;
	width: 228px !important;	/* kaz: was 222px */
	}
.sidebargaku p {
	margin-left: 10px !important;
	margin-right: 10px !important;
	line-height: 1.2em;
}
/* End Sidebar */
/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}
#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}
#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}
#wp-calendar a {
	display: block;
	}
#wp-calendar caption {
	text-align: center;
	width: 100%;
	}
#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}
#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */
/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}
acronym, abbr {
	border-bottom: 1px dashed #999;
	}
blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}
blockquote cite {
	margin: 5px 0 0;
	display: block;
	}
.center {
	text-align: center;
	}
hr {
	}
a img {
	border: none;
	}
.navigation {
	overflow: auto;
/*	overflow-x: visible;
	overflow-y: visible; */
	height: auto;
	text-align: center;
	white-space: nowrap;
	margin-top: 10px;
	margin-bottom: 15px;	/* Matsuo, was 30 */
	}
table.layout1, .layout1 th, .layout1 td {
	border-collapse: collapse;
	border: 1px solid #666666;
}
.tolink {
	background-image: url(/img/tolink.gif);
	background-repeat: no-repeat;
	background-position: 0% 50%; 
	padding-left: 18px;
	}
.tolink2 {
	list-style-type: none;
	background-image: url(/img/tolink2.gif);
	background-repeat: no-repeat;
	background-position: 0% 50%; 
	padding-left: 18px;
	}
.tomap {
	background-image: url(/img/compass3.gif);
	background-repeat: no-repeat;
	background-position: 0% 60%; 
	padding-left: 18px;
	}
.totop {
	text-align: right;
	font-size: 0.9em;
}
.selfintro {
	padding: 5px;
}
.h4indent ul {
	list-style-type:none;
	margin:0;
	padding:0;
	text-indent: 0;
	}
.h4indent ul li {
	margin: 0;
}
li.additionwide {
	margin-top: 6px;
	margin-bottom: 4px;
	line-height:2.0em;
}
.narrow ul {
	margin:0 0.5em 0 1.2em;
	padding:0;
	text-indent: 0;
	}
.narrow ul li {
	margin: 0;
}
.photol { text-align: center; font-size: 90%; color: #339966; vertical-align: text-top; float: left; margin: 0 5px 5px 0; } /* MATsuo */
.photor { text-align: center; font-size: 90%; color: #339966; vertical-align: text-top; float: right; margin: 0 0 5px 5px; }
.photo { text-align: center; font-size: 90%; color: #339966; vertical-align: text-top; margin: 0 0 5px 5px; }
.photor img, .photol img, .photo img { margin: 0 0 5px; }
.clear { float: none; clear: both; }
/* End Various Tags & Classes*/
/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you.
	It won't be a stylish marriage, I can't afford a carriage.
	But you'll look sweet upon the seat of a bicycle built for two." */


/* gaku Matsuo */
.gakutop {
	background: white url(images/backside.gif) repeat-y center;
}
.gaku {
	background: white url(images/backside.gif) repeat-y center;
}
.gakublog {
	background: white url(images/backsidemanga.jpg) repeat-y center fixed;
	margin: 0 auto;
}
.gakutop .narrowcolumngaku ul {
	background: white none;
	padding: 5px 0 0 10px;
	margin: 2px 0 0 15px;
}
.narrowcolumngaku ul li {
	list-style-type: none;
	margin: 0;
	padding: 0 0 4px;
	}
.gakutop .narrowcolumngaku .entry ul li {
	position:relative;
}
.gakutop .narrowcolumngaku img {
	margin-bottom:2px;
}
.bloglisttime {
	position:absolute;
	right:8px;
}
.bloglistcat {
	position:absolute;
	right:7em;
	vertical-align:middle;	/* not work? */
	margin-top:1px;
}

.movie {
	position:relative;
}
.movielink {
	position:absolute;
	top: 50px;
	right: 17px;
}

.movielinkbanner {
	margin: 3px 0 3px 13px
}

/* End gaku */
/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 6px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */
/* for php-stats */
img.stats {
	margin: 0 ;
	padding: 0;
	display: none;
}
/* end stats */

