/*
Theme Name: 2008autumn
Theme URI: http://www.tutujidera.ne.jp/autumn/
Description: 平成21(2009)年 大興善寺紅葉案内
Author: 大興善寺 Web担当
*/

/* リセットスタイル */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	margin: 0px;
	padding: 0px;
}

table {
	border-collapse: collapse;
	border-spacing: 0px;
}

th, td {
	border: none;
}

fieldset,img { 
	border: 0px;
}

q:before,q:after {
	content: '';
}

abbr,acronym { 
	border: 0px;
}

/* テキストスタイル */

body {
	font-family: 
	"メイリオ",Meiryo,
	"ＭＳ Ｐゴシック","MS P Gothic",
	Osaka,
	"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",
	sans-serif;
	font-size: 100%;
	line-height: 1.7;
	font-weight: normal;
}

address,caption,cite,code,dfn,em,strong,th,var {
	font-style: normal;
	font-weight: normal;
}

ol,ul {
	list-style: none;
}

caption,th {
	text-align: left;
}

h1,h2,h3,h4,h5,h6 {
	font-size: 100%;
	font-weight: normal;
}

p {
	font-size: 87.5%;
}

th,td {
	font-size: 75%;
}

ins {
	color: #CC0000;
	text-decoration: none;
}

/* リンクテキストスタイル */

a:link {
	color: #999933;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #999933;
}
a:hover {
	text-decoration: none;
	color: #CC0000;
}
a:active {
	text-decoration: none;
}

/* レイアウトスタイル */

#branding {
	height: 250px;
	width: 760px;
	margin-right: auto;
	margin-left: auto;
	background-image: url(branding.jpg);
	background-repeat: no-repeat;
	position: relative;
}

#branding h1 {
	text-indent: -9999px;
	left: 15px;
	top: 0px;
	position: absolute;
}

#branding #home {
	height: 30px;
	width: 200px;
	position: absolute;
	left: 560px;
	top: 0px;
}

#branding #home a {
	text-indent: -9999px;
	display: block;
	overflow: hidden;
}

#branding #livecamera {
	width:260px;
	background-image: url(livecamera.jpg);
	background-repeat: no-repeat;
	left: 500px;
	top: 35px;
	position: absolute;
}

#branding #livecamera a {
	text-indent: -9999px;
	height: 210px;
	display: block;
	overflow: hidden;
}

#branding #livecamera a:hover {
	background-image: url(livecamera.jpg);
	background-position: 0px 210px;
	}

#content {
	width: 760px;
	margin-right: auto;
	margin-left: auto;
	position: relative;
	float: none;
	/* clearfix */
	overflow: hidden;
}

/* IE6用clearfix */
* html #content {
	zoom: 1;
}

#content p {
	left: -9999px;
	top: -9999px;
}

#nav-main {
	width: 160px;
	float: right;
	height: auto;
}

#nav-main h2 {
	text-indent: -9999px;
	line-height: 0px;
}
ul#nav-main, ul#nav-main li, ul#nav-main li a {
}

#top #nav-main ul {
	height: 200px;
}

#nav-main ul {
	height: 250px;
}

#nav-main ul li {
	height: 50px;
}

#nav-main ul li a {
	text-indent: -9999px;
	height: 50px;
	overflow: hidden;
	display: block;
}

#content-main {
	width: 600px;
	float: left;
	background-color: #FFFFFF;
}

#content-main #recent-condition {
	font-size: 75%;
	line-height: 3;
}

#content-main h2 {
	font-size: 120%;
	line-height: 80px;
	padding-right: 15px;
	padding-left: 15px;
	width: 570px;
	color: #333333;
	background-color: #FFFFFF;
	background-image: url(h2-background.jpg);
	background-repeat: no-repeat;
	clear: both;
	margin-bottom: 10px;
}

#content-main h3 {
	color: #993300;
	padding-right: 15px;
	padding-left: 15px;
	line-height: 2.4;
	padding-top: 10px;
}

#content-main p {
	padding-right: 15px;
	padding-left: 15px;
}

#content-main p img {
	float: right;
	margin-bottom: 10px;
	margin-left: 10px;
}

#content-main ul {
	padding-left: 15px;
	padding-top: 15px;
}

#content-main ul li {
	line-height: 0px;
	padding-bottom: 15px;
	float: left;
	padding-right: 15px;
}

#site-info {
	width: 760px;
	margin-right: auto;
	margin-left: auto;
	clear: both;
}

/* カラー */

body {
	background-color: #000000;
	background-image: url(background-image.jpg);
	background-repeat: repeat-x;
}

#content {
	background-color: #FFFFFF;
	background-image: url(nav-main-background.jpg);
	background-repeat: repeat;
}

#content-main {
	background-image: url(content-background.jpg);
	background-repeat: repeat;
}

#recent-condition span {
	color: #CC0000;
}

#top #content-main h2 {
	background-image: url(h2-top-background.jpg);
	background-repeat: no-repeat;
}

#spot #content-main h2 {
	background-image: url(h2-spot-background.jpg);
	background-repeat: no-repeat;
}

#event #content-main h2 {
	background-image: url(h2-event-background.jpg);
	background-repeat: no-repeat;
}

#photocontest #content-main h2 {
	background-image: url(h2-photo-background.jpg);
	background-repeat: no-repeat;
}

#access #content-main h2 {
	background-image: url(h2-access-background.jpg);
	background-repeat: no-repeat;
}

#nav-main {
	background-color: #336600;
}

#nav-main ul {
	background-image: url(nav-main.jpg);
	background-repeat: no-repeat;
}
	
#site-info {
	background-image: url(site-info-background.jpg);
	background-repeat: repeat-x;
}

#site-info address {
	font-size: 75%;
	color: #FFFFFF;
	text-align: right;
	padding-right: 15px;
	padding-top: 10px;
	padding-bottom: 10px;
}

#spot #nav-main #nav-spot a {
	background-image: url(nav-main.jpg);
	background-position: 0 300px;
}

#event #nav-main #nav-event a {
	background-image: url(nav-main.jpg);
	background-position: 0 250px;
}

#photocontest #nav-main #nav-photocontest a {
	background-image: url(nav-main.jpg);
	background-position: 0 200px;
}

#access #nav-main #nav-access a{
	background-image: url(nav-main.jpg);
	background-position: 0 150px;
}

/* テーブルデザイン・レイアウト */

table {
	width: 500px;
	border: 1px solid #CCCCCC;
	margin: 5px auto 15px;
}

caption {
	margin-top: 25px;
}

th {
	padding: 10px;
	border: 1px solid #CCCCCC;
	background-color: #CCCC99;
	color: #FFFFFF;
}

td {
	padding: 10px;
	border: 1px solid #CCCCCC;
	background-color: #FFFFFF;
}

/* 紅葉名所のテーブル設定 */

#spot table {
	width: 480px;
}

#spot th {
	width: 160px;
	background-image: url(spot-table-th-background.jpg);
	background-repeat: repeat;
}

#spot thead th {
	text-align: center;
}

#spot td {
	width: 160px;
	text-align: center;
	}	

/* もよおし・フォトコンテストのテーブル設定 */

#event th, #photocontest th {
	width: 25%;
}

#event th {
	background-image: url(event-table-th-background.jpg);
	background-repeat: repeat;
}

#photocontest th {
	background: url(photocontest-table-th-bg.jpg);
	background-repeat: repeat;
}

#event td, #photocontest td {
	width: 75%;
}

/* アクセスのテーブル設定 */

#access th {
	width: 20%;
	background-image: url(access-table-th-bg.jpg);
	background-repeat: repeat;
}

#access td {
	width: 80%;
}

#access table#parking-table thead th, #access table#parking-table td {
	text-align: center;
}

#access table#parking-table td, #access table#parking-table th {
	width: 25%;
}

/* 特集トップページのテーブル設定 */

#top table th {
	background-image: url(top-table-th-bg.jpg);
	background-repeat: repeat;
	text-align: center;
}

/* アクセスページのGoogleマップ表示設定 */

iframe {
	margin: 15px;
}
