@charset "utf-8";
/*
Theme Name: Yoyogi Church Theme
Theme URI: http://www.yoyogi-church.jp/
Description: 代々木教会HP用テーマ。
Author: 代々木教会
Version: 1.0
*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-style: normal;
	font-weight: normal;
    font-size: 1.0em;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}


/* =Fonts
-------------------------------------------------------------- */

body {
	font-size: 16px;
	font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ ゴシック", "Osaka", sans-serif ;
	line-height: 1.5;
}
pre {
	font-size: 14px;
	font-family: "Courier 10 Pitch", Courier, monospace;
}
code {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}


/* =Global Elements
-------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #000;
	margin: 0 0 1em 0;
	text-align: left;
}

p,
ul,
ol,
dl,
blockquote,
pre,
table {
	margin-bottom: 1em;
	text-align: left;
}

ul {	
	margin-left: 1.5em;
	list-style: disc;
}
ol {
	margin-left: 2em;
	list-style: decimal;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
ul ul,
ol ol,
ul ol,
ol ul {
	margin-bottom: 0;
}

dl {

}

dt {
	font-weight: bold;
	color: #000;
}

dd {
	margin-bottom: 1em;
}

strong {
	font-weight: bold;
}

cite,
em,
i {
	font-weight: bold;
}

big {
	font-size: 131.25%;
}

ins {
	background: #ffc;
	text-decoration: none;
}

blockquote {
	padding-left: 2em;
	color: #666;
}

pre {

}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

sup,
sub {
	height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

kbd,
tt,
var {

}

code {

}

a:link,
a:visited {
	color: #0066cc;
	text-decoration: underline;
}

a:active,
a:hover {
	text-decoration: none;
}

hr {
	background: transparent url(images/line2.png) center center no-repeat;
	border: none; 
	clear: both;
	height: 26px;
	margin: 1.5em 0;
}

table {
	border: 1px solid #aaa;
	margin: 0 -1px 1.5em 0;
	text-align: left;
}

tr th,
thead th {
	color: #000;
	font-weight: bold;
	border: 1px solid #aaa;
	padding: 9px;
}

tr td {
	border: 1px solid #aaa;
	padding: 6px;
}

input,
textarea {
	margin: 0 0 1em 0;
	color: #666;
}

input[type="text"],
textarea {
	background: #f9f9f9;
	border: 1px solid #ccc;
	box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	padding: 2px;
}

input.file,
input.button {
	margin-right: 1em;
}

select {
	margin: 0 0 1em 0;
}

fieldset {
	border: 1px solid #e7e7e7;
	margin: 0 0 1.5em 0;
	padding: 1em;
}
fieldset legend {
	background: #fff;
	color: #000;
	font-weight: bold;
	padding: 0 1em;
}

label {
	color: #888;
}


/* =Layout
-------------------------------------------------------------- */

/*
LAYOUT: Two columns
DESCRIPTION: Two-column fixed layout with one sidebar right of content
*/

body {
	background-color: #811613;
	background-color: #290000;
	color: #333;
    text-align: center;
	-webkit-text-size-adjust: 100%;
}

#header {
	position: relative;
	width: 940px;
	height: 330px;
	margin: 0 auto;
	background: url(images/header.jpg) left top no-repeat;
}

#wrapper {
	background: url(images/paper1.png) center top repeat-y;
}

#container {
	position: relative;
	width: 940px;
	margin: 0 auto;
}

#main {
	margin-top: 30px;
	clear: both;
	overflow: hidden;
	
}

#content {
	float: right;
	width: 640px;
	margin: 0 30px 0 0;
	overflow:hidden;
}

#primary {
	float: left;
	width: 190px;
	margin: 0 0 0 30px;
}

#footer {
	clear: both;
	background: url(images/paper2.png) center top no-repeat;
}


/* =Structure
-------------------------------------------------------------- */

/*
LAYOUT: One column, no sidebar
DESCRIPTION: One centered column with no sidebar
*/

.one-column #content {
	margin: 0 auto;
	width: 640px;
}

/*
LAYOUT: Full width, no sidebar
DESCRIPTION: Full width content with no sidebar; used for attachment pages
*/

.single-attachment #content {
	margin: 0 auto;
	width: 640px;
}


/* =Header
-------------------------------------------------------------- */

#branding a {
	display: block;
	width: 190px;
	height: 80px;
	margin-left: 53px;
	background: url(images/logo.jpg) left top no-repeat;
	text-indent: -9999px;
	overflow: hidden;
}



/* =SIDE Menu
-------------------------------------------------------------- */

.menu {
	padding-top: 12px;
    width: 190px;
	background: url(images/submenu1.png) left top no-repeat;
}

#menu-bottom {
    width: 190px;
	height: 12px;
	background: url(images/submenu2.png) left top no-repeat;
}

.menu ul {
    position: relative; /*Relative to the containing division */
    z-index: 10; /*We need to adjust the z-index values in order to display the successive lists properly */  
    margin: 0;
}

.menu ul li {
    list-style: none; /* Removes the dots from the default Bullet styles */
    text-align: right;
    position: relative;
    z-index: 12;
    margin: 0;
    padding: 9px 5px;
	background-color: #d3881d;
    border-bottom: 1px solid #b47419;
    font-size: 12px;
    color: #fff;
    font-weight: bold;
}

.menu ul li:hover {
    background-color: #c47e1b;
}

.menu ul li a {
    display: block;
    padding: 0;
    margin: 0 14px 0 0;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    background-color: transparent;
    z-index: 15;
}

.menu ul li a:hover {
	text-decoration: none;
}

.menu ul li ul {
    display: none;
    position: absolute;
    z-index: 20;
    top: 0;
    left:190px;
    margin: 0;
    text-align: left;
    width: 190px; /* Set the width of the successive list */
}

.menu ul li ul li {
    text-align: left;

}

.menu ul li ul li:hover {

}

.menu ul li:hover > ul {
    display: block;
}

.menu ul .current_page_item {
    background-color: #c47e1b;
}


/* SLIDER
-------------------------------------------------------------- */

#slider {
	clear: both;
	width: 512px;
	margin: 0 auto;
}

#slider img{
    border:none;
	width: 100%;
}

#slider div.foto-box { 
    width: 512px;
	height: 290px;
    overflow:hidden; 
}


/* =Content
-------------------------------------------------------------- */

#content h1 {
	margin-bottom: 1em;
	font-size: 24px;
	color: #800;
}

#content h2 {
	margin: 1.5em 0 1em 0;
	font-size: 21px;
	color: #930;
}

#content h3 {
	margin: 1.5em 0 1em 0;
	font-size: 18px
	;color: #a60;
}

#content h4 {
	margin: 1.5em 0 1em 0;
	font-size: 16px;
}

#content hr {
	margin: 40px 0;
}

#content table {
	width: 640px;
}

#content tr th,
#content thead th {
	padding: 9px 12px;
}

#content tr td {
	padding: 6px 12px;
}

#content tr.odd td {
	background: #f2f7fc;
}

#content fieldset {
	padding: 24px;
}

#content fieldset legend {
	padding: 0 24px;
}

.blog #content div.post {
	border-bottom: #999 1px dashed;	
}

.hentry {
	margin: 0 0 48px 0;
}

.single .hentry {
	margin: 0 0 36px 0;
}

.entry-title a:link,
.entry-title a:active,
.entry-title a:visited {
	color: #930;
	text-decoration: underline;
}

.entry-title a:hover {
	text-decoration: none;
}

.entry-content,
.entry-summary {
	clear: both;
	text-align: left;
}

#content .entry-summary p:last-child {
	margin-bottom: 12px;
}

#content .entry-meta {
	margin-bottom: 2em;
	text-align: right;
}

.blog #content .entry-meta {
	margin-bottom: 1em;
	font-size: 16px;
	font-weight: bold;
	text-align: left;
}

.blog #content h2.entry-title {
	font-size: 18px;	
}

.entry-content fieldset {
	border: 1px solid #e7e7e7;
	margin: 0 0 24px 0;
	padding: 24px;
}
.entry-content fieldset legend {
	background: #fff;
	color: #000;
	font-weight: bold;
	padding: 0 24px;
}
.entry-content input {
	margin: 0 0 16px 0;
}
.entry-content input.file,
.entry-content input.button {
	margin-right: 16px;
}
.entry-content label {
	color: #888;

}
.entry-content select {
	margin: 0 0 16px 0;
}
.entry-content sup,
.entry-content sub {

}
.entry-content blockquote.left {
	float: left;
	margin-left: 0;
	margin-right: 24px;
	text-align: right;
	width: 33%;
}
.entry-content blockquote.right {
	float: right;
	margin-left: 24px;
	margin-right: 0;
	text-align: left;
	width: 33%;
}

div.edit-link {
	clear: both;
	display: block;
	margin: 1em 0;
	padding: 10px;
	background-color: #f0f0f0;
}

div.post-detail {
	margin: 1em 0;
	text-align: right;
	font-size: 14px;
}

/* =SIDE BAR
-------------------------------------------------------------- */

#primary .side-container {
	margin: 20px 0;
	font-size: 10px;
	color: #999;
}

#primary .side-container h3 {
	color: #060;
	font-size: 12px;
}

/* =UNIQUE
-------------------------------------------------------------- */

body#toppage h1 {
	text-align: center;
	font-size: 32px;
}

body#contact #map_canvas {
	width : 580px;
	height : 580px;
	margin:30px auto;
}

ul.category-list li {
	margin-bottom: .5em;
	font-size: 12px;
}

/* =Navigation
-------------------------------------------------------------- */

.navigation {
	clear: both;
	font-size: 12px;
	overflow: hidden;
}

.nav-previous {
	float: left;
	text-align: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#nav-above {
	margin: 0 0 2em 0;
}
.paged #nav-above,
.single #nav-above {
	display: block;
}
#nav-below {
	margin: 2emx 0;
}

.go-top {
	clear: both;
	padding: 30px 30px 30px 0;
	font-size: 12px;
	text-align: right;
}


/* =Footer
-------------------------------------------------------------- */

#colophon {
	position: relative;
	width: 940px;
	margin: 0 auto 20px auto;
	padding: 40px 0;
}
#site-info {
	font-size: 12px;
	font-weight: bold;
	color: #fff;
}
#footer a {
	color: #fff;
	text-decoration: none;
}
#footer a:hover {
	text-decoration: underline;
}

#loginout {
	position: absolute;
	top: 40px;
	right: 0;
	font-size: 12px;
	list-style-type: none;
}


/* =汎用クラス
-------------------------------------------------------------- */

.right { text-align: right; }
.center { text-align: center; }
.left { text-align: left; }
.indent { text-indent: 1em; }
.bold { font-weight: bold; }
.normal { font-weight: normal; }
.small-font { font-size: 80%; }

.red { color: #c00; }
.blue { color: #0066FF; }

blockquote.left {
	float: left;
	margin-left: 0;
	margin-right: 24px;
	text-align: right;
	width: 33%;
}

blockquote.right {
	float: right;
	margin-left: 24px;
	margin-right: 0;
	text-align: left;
	width: 33%;
}

table.no-border,  table.no-border th, table.no-border td {	
	border: none;
}

/*======================================
	Clear Class
=======================================*/

.clear { clear: both; }

.clearfix:after {
	height: 0;
	visibility: hidden;
	content: ".";
	display: block;
	clear: both;
}

.clearfix {
	_height: 1px;
	min-height: 1px;
}

/* for MacIE5 \*//*/
.clearfix {
	height: auto;
	overflow: hidden;
}
/* end */


/* =Images
-------------------------------------------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 12px;
}
.alignright,
img.alignright {
	float: right;
	margin-left: 12px;

}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
	background: #f1f1f1;

	margin-bottom: 20px;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	text-align: center;
}
.wp-caption img {
	margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
	color: #888;
	font-size: 10px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 10px;
	text-align: left;
	margin: 0 1em 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}

.widget-container h3,
.widget-container ul {
	font-size: 12px;	
}



/* =Gallery listing
-------------------------------------------------------------- */

.format-gallery .size-thumbnail img,
.category-gallery .size-thumbnail img {
	border: 10px solid #f1f1f1;
	margin-bottom: 0;
}
.format-gallery .gallery-thumb,
.category-gallery .gallery-thumb {
	float: left;
	margin-right: 20px;
	margin-top: -4px;
}
.home #content .format-gallery .entry-utility,
.home #content .category-gallery .entry-utility {
	padding-top: 4px;
}


/* =Attachment pages
-------------------------------------------------------------- */

.attachment .entry-content .entry-caption {

	margin-top: 24px;
}
.attachment .entry-content .nav-previous a:before {
	content: '\2190\00a0';
}
.attachment .entry-content .nav-next a:after {
	content: '\00a0\2192';
}


/* =Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */
/*
pre {
	-webkit-text-size-adjust: 140%;
}
*/
code {
	-webkit-text-size-adjust: 160%;
}
#hp-access,
.entry-meta,
.entry-utility,
.navigation,
.widget-area {
	-webkit-text-size-adjust: 120%;
}
#site-description {
	-webkit-text-size-adjust: none;
}


/* =Tablet version
-------------------------------------------------------------- */

@media only screen and (min-width: 768px) and (max-width: 900px) {
	
	#header {
		width: 712px;
	}
	
	#wrapper {
		background-image: url(images/paper1_712px.png);
	}
	
	#container {
		width: 712px;
	}
	
	#home #main {
		padding-top: 310px;
		background-image: none;
	}
	
	#content {
		float: none;
		width: 640px;
		margin: 0 36px;
	}
	
	#primary {
		position: absolute;
		left: 0;
		top: 0;
		float: none;
		width: 190px;
		margin: 0;
	}
	
	#home #primary {
		top: 272px;
	} 
	
	#footer {
		background-image: url(images/paper2_712px.png);
	}
	
	#colophon {
		width: 712px;
	}

	.menu {
		background-image: url(images/submenu1_712px.png);
	}
	
	#menu-bottom {
		height: 42px;
		background: url(images/menu_tab.png) left top no-repeat;
	}

}





/* =Print Style
-------------------------------------------------------------- */

@media print {
	body {
		background: none !important;
	}
	#wrapper {
		clear: both !important;
		display: block !important;
		float: none !important;
		position: relative !important;
	}
	#header {
		border-bottom: 2pt solid #000;
		padding-bottom: 18pt;
	}
	#colophon {
		border-top: 2pt solid #000;
	}
	#site-title,
	#site-description {
		float: none;
		line-height: 1.4em;
		margin: 0;
		padding: 0;
	}
	#site-title {
		font-size: 13pt;
	}
	.entry-content {
		font-size: 14pt;
		line-height: 1.6em;
	}
	.entry-title {
		font-size: 21pt;
	}
	#hp-access,
	#branding img,
	#respond,
	.comment-edit-link,
	.edit-link,
	.navigation,
	.page-link,
	.widget-area {
		display: none !important;
	}
	#container,
	#header,
	#footer {
		margin: 0;
		width: 100%;
	}
	#content,
	.one-column #content {
		margin: 24pt 0 0;
		width: 100%;
	}
	.wp-caption p {
		font-size: 11pt;
	}
	#site-info,
	#site-generator {
		float: none;
		width: auto;
	}
	#colophon {
		width: auto;
	}
	img#wpstats {
		display: none;
	}
	#site-generator a {
		margin: 0;
		padding: 0;
	}
	#entry-author-info {
		border: 1px solid #e7e7e7;
	}
	#main {
		display: inline;
	}
	.home .sticky {
		border: none;
	}
}