/*
Theme Name: meguro
Theme URI: http://example.com/
Description: 第14回八戸ちびっこマラソン
Version: 1.0
Author: Azzurro
Author URI: http://example.com/
*/

/*
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: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}

img{
	border:0;}

.post{
	clear: both;
}

.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	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: 12px;
	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: 12px;
	margin: 0 0 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;
}

#content ul{
	width: 710px;
	margin: 10px 0 0 10px;
}

#content li{
	margin-bottom: 10px;
	line-height: 130%;
	list-style-position: inside;
	list-style-type: decimal;
	text-indent: -1.2em;
	margin-left: 15px;
}

.height150{
	line-height: 180%;
}

/* reset */
* {
margin: 0;
padding: 0;
}

/* render html5 elements as block */
header, footer, section, aside, nav, article {
display: block;
}

body {
	font-family: "Meiryo";
	color: #333333;
	font-size: 14px;
	line-height: 18px;
	background-image: url(../_img/bodybg.jpg);
	background-repeat: repeat-y;
	background-position: top;
	width: 100%;
}
	
/* layout */

#wrapper {
	width: 1020px;
	margin: 0 auto;
	background-image: url(../_img/bgwapper.png);
	background-repeat: repeat-y;
}

/* HEADER */

header {
    width: 980px;
    height: 128px;
	margin: 6px auto 7px auto;	
}

header #logo a{
	background-image: url(../_img/headlogo.png);
	background-repeat: no-repeat;
    width: 980px;
    height: 135px;
	display: block;
}

#main {
	width: 980px;
	margin: 0 0 0 20px;
}

#main:after{
    content: "."; 
    display: block;
    visibility: hidden;   
    height: 0.1px;  
    font-size: 0.1em;   
    line-height: 0;
    clear: both;
}

#top_visual{
	background-image: url(../_img/topmain.jpg);
	background-repeat: no-repeat;
	height: 360px;
	width: 980px;
}

#top_visual img{
    padding-top:220px;
    padding-left:13px;
}


#main:after{
    content: "."; 
    display: block;
    visibility: hidden;     
    line-height: 0;
    clear: both;
}

#contentWrap {
	float: left;
	width: 980px;
	margin: 15px 0 20px 0;
}

#contenttop {
	float: left;
	width: 596px;
	margin: 0 15px 0 15px;
}

#content{
	width:720px;
	margin: 0px 20px 0 25px;
	float:left;
	}

#contenttop #entry_b01{
	width: 190px;	
	float:left;
}

#contenttop #entry_b01 a{
	display: block;
	background-image: url(../_img/btn_entry.jpg);
	background-repeat: no-repeat;
	height: 43px;
	width: 190px;
	text-indent: -9999px;
}

#contenttop #entry_b01 a:hover{	
	background-image: url(../_img/btn_entry_o.jpg);
	background-repeat: no-repeat;
	height: 43px;
	width: 190px;
}

#contenttop #e_tex{
	float: left;
	width: 380px;
	padding-top: 5px;
	font-size: 20px;
	color: #FF0000;
	font-weight: bold;
	padding-left: 10px;
}


#subarea {
	float: left;
	width: 124px;
	margin: 0 0 0 15px;
}

#my_b{
	width: 124px;
	height: 43px;	
	margin-bottom: 7px;
}

#my_b a{
	display: block;
	background-image: url(../_img/mybtn.jpg);
	background-repeat: no-repeat;
	height: 43px;
	width: 124px;
	text-indent: -9999px;
}

#my_b a:hover{	
	background-image: url(../_img/mybtn_o.jpg);
	background-repeat: no-repeat;
	height: 43px;
	width: 124px;
}

#subarea p{
padding:3px 5px;
font-size:12px;
line-height:130%;
}


#guest{
	background-image:url(../_img/gestrunner.jpg);
	background-repeat:no-repeat;
	width:122px;
	height:138px;
	margin-top:25px;
	margin-bottom:25px;
	}


#panf{
	background-image: url(../_img/panf.jpg);
	background-repeat:no-repeat;
	height: 239px;
	width: 122px;
	}

#panf p{
	padding-top:178px;
	padding-left:25px;}

#sidebar {
	float: left;
	margin-right: 15px;
	text-align:center;
	width: 200px;
}

#sidebar img{
	margin-bottom: 4px;
}

#sidebar .bana_b{
	margin-bottom: 30px;
}

.side_title{
	background-image:url(../_img/sidebg.jpg);
	background-repeat:no-repeat;
	width:200px;
	height:30px;
	padding-top:7px;
	color:#FFF;
	font-weight:bold;}


footer {
	width: 980px;
	clear: both;
	height: 32px;
	background-color:#27A47F;
	margin-top: 30px;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	font-size: 12px;
	color: #FFFFFF;
	text-align: center;
	padding-top: 20px;
}

/*outline*/

ul#chui{
	
	}

#chui li{
	margin-left:25px;
	text-indent: -2em;	
}


/* nav */

#nav{
	margin: 0 auto 0 auto;
	height: 64px;
	width:983px;
}


#nav #menu{
	margin: 0 auto 0 auto;
	height: 64px;
}

#nav #menu ul {
	list-style: none;
	line-height: normal;
	margin: 0px;
	padding: 0px;	
}

#nav #menu li {
	display: block;
	float: left;
	margin: 0px;
	padding: 0px;
		}

#nav #menu #n01{
	float: left;
	width: 163px;
}

#nav #menu #n01on{
	background-image: url(../_img/n01_o.png);
	background-repeat: no-repeat;
	height: 64px;
	width: 163px;
}

#nav #menu #n01 a{
	display: block;
	background-image: url(../_img/n01.png);
	background-repeat: no-repeat;
	height: 64px;
	width: 163px;
	text-indent: -9999px;
}

#nav #menu #n01 a:hover{	
	background-image: url(../_img/n01_o.png);
	background-repeat: no-repeat;
	height: 64px;
	width: 163px;
}

#nav #menu #n02{
	float: left;
	width: 163px;
}

#nav #menu #n02on{
	background-image: url(../_img/n02_o.png);
	background-repeat: no-repeat;
	height: 64px;
	width: 163px;
}

#nav #menu #n02 a{
	display: block;
	background-image: url(../_img/n02.png);
	background-repeat: no-repeat;
	height: 64px;
	width: 163px;
	text-indent: -9999px;
}

#nav #menu #n02 a:hover{	
	background-image: url(../_img/n02_o.png);
	background-repeat: no-repeat;
	height: 64px;
	width: 163px;
}

#nav #menu #n03{
	float: left;
	width: 163px;
}

#nav #menu #n03on{	
	background-image: url(../_img/n03_o.png);
	background-repeat: no-repeat;
	height: 64px;
	width: 163px;
}

#nav #menu #n03 a{
	display: block;
	background-image: url(../_img/n03.png);
	background-repeat: no-repeat;
	height: 64px;
	width: 163px;
	text-indent: -9999px;
}

#nav #menu #n03 a:hover{	
	background-image: url(../_img/n03_o.png);
	background-repeat: no-repeat;
	height: 64px;
	width: 163px;
}

#nav #menu #n04{
	float: left;
	width: 163px;
}

#nav #menu #n04on{	
	background-image: url(../_img/n04_o.png);
	background-repeat: no-repeat;
	height: 64px;
	width: 163px;
}


#nav #menu #n04 a{
	display: block;
	background-image: url(../_img/n04.png);
	background-repeat: no-repeat;
	height: 64px;
	width: 163px;
	text-indent: -9999px;
}

#nav #menu #n04 a:hover{	
	background-image: url(../_img/n04_o.png);
	background-repeat: no-repeat;
	height: 64px;
	width: 163px;
}

#nav #menu #n05{
	float: left;
	width: 166px;
}

#nav #menu #n05on{	
	background-image: url(../_img/n05_o.png);
	background-repeat: no-repeat;
	height: 64px;
	width: 166px;
}

#nav #menu #n05 a{
	display: block;
	background-image: url(../_img/n05.png);
	background-repeat: no-repeat;
	height: 64px;
	width: 166px;
	text-indent: -9999px;
}

#nav #menu #n05 a:hover{	
	background-image: url(../_img/n05_o.png);
	background-repeat: no-repeat;
	height: 64px;
	width: 166px;
}

#nav #menu #n05 a:hover{	
	background-image: url(../_img/n05_o.png);
	background-repeat: no-repeat;
	height: 64px;
	width: 166px;
}
#nav #menu #n06{
	float: left;
	width: 163px;
}

#nav #menu #n06on{	
	background-image: url(../_img/n06_o.png);
	background-repeat: no-repeat;
	height: 64px;
	width: 163px;
}

#nav #menu #n06 a{
	display: block;
	background-image: url(../_img/n06.png);
	background-repeat: no-repeat;
	height: 64px;
	width: 166px;
	text-indent: -9999px;
}

#nav #menu #n06 a:hover{	
	background-image: url(../_img/n06_o.png);
	background-repeat: no-repeat;
	height: 64px;
	width: 163px;
}

/* basics */

#content h1{
	background-image: url(../_img/t1bgin.jpg);
	background-repeat: no-repeat;
	height: 54px;
	width: 720px;
	font-size: 20px;
	color: #3D1C01;
	padding-left: 60px;
	padding-top: 14px;
}

@font-face {
    font-family: 'BlackRoseRegular';
    src: url('BLACKR-webfont.eot');
    src: url('BLACKR-webfont.eot?iefix') format('eot'),
         url('BLACKR-webfont.woff') format('woff'),
         url('BLACKR-webfont.ttf') format('truetype'),
         url('BLACKR-webfont.svg#webfont21KuPMyg') format('svg');
    font-weight: normal;
    font-style: normal;
}

h1{
	background-image: url(../_img/t1bg.jpg);
	background-repeat: no-repeat;
	height: 54px;
	width: 720px;
	font-size: 20px;
	color: #3D1C01;
	padding-left: 60px;
	padding-top: 14px;
}

h2{
	background-image: url(../_img/t2bg.jpg);
	background-repeat: no-repeat;
	height: 45px;
	width: 720px;
	font-size: 20px;
	color: #FFF;
	padding-left: 15px;
	padding-top: 14px;
	margin-top: 20px;
	}

h3{
	background-image: url(../_img/t3bg.jpg);
	background-repeat: no-repeat;
	height: 31px;
	width: 720px;
	font-size: 20px;
	color: #512800;
	padding-left: 40px;
	padding-top: 15px;
	margin: 0 0 15px 0;
}

h4{
	background-color:#FFFF99;
	height: 18px;
	width: 100%;
	font-weight:nomal;
	font-size: 13px;
	color: #512800;
	margin:10px 0 7px 0;
	padding: 5px;
}

h5{
	font-size: 16px;
	color: #333333;
	margin-bottom: 10px;
}

strong{
	color: #333333;
}

#sidebar .subtitle{
	background-image: url(../_img/sidetab.jpg);
	background-repeat: no-repeat;
	height: 26px;
	width: 200px;
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	color: #FFFFFF;
	vertical-align: middle;
	margin: 0 0 2px 0;
	padding: 8px 0 0 0;
}

#sidebar .subtitle2{
	background-image: url(../_img/sidetab.jpg);
	background-repeat: no-repeat;
	height: 26px;
	width: 200px;
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	color: #FFFFFF;
	vertical-align: middle;
	margin: 15px 0 2px 0;
	padding: 8px 0 0 0;
}

/*entry*/

#content .sub_sect{
	float: left;
	width: 460px;
	margin: 10px 10px 10px 20px;
}

#content .sub_bt{
	float: right;
	width: 250px;
	margin-top:10px;
}

#content .sub_sect_wide{
	width: 660px;
	margin: 10px 10px 10px 20px;
}

#content .sub_sect_wide strong{
	color: #FF0000;
}

#content .sub_bt:after {  
  content: ".";   
  display: block;   
  height: 0;   
  clear: both;   
  visibility: hidden;  
} 

a:link, a:visited {
color:#0066CC;
text-decoration:none;
}

a:hover, a:active {
color:#0066CC;
text-decoration:underline;}


li {
padding-left: 5px;
}

#pWarapp{
	width:700px;
	content: ".";   
	display: block;   
	height: 0;   
	clear: both;   
	}

#pWarapp #pRenraku{
	width:500px;
	margin-left:10px;
	float:left;
	}

#pWarapp #pMark{
	width:100px;
	float:right;
	}

/* dl */

dl#qanda{
	width:690px;
	margin-left: 10px;
	}
	
#qanda dt{
	font-size: 18px;
	font-weight: bold;
	color: #630;
	display: block;
	border-bottom-width: 2px;
	border-bottom-style: dashed;
	border-bottom-color: #F93;
	margin-bottom: 10px;
	background-image: url(../_img/q.jpg);
	padding-top: 7px;
	padding-right: 3px;
	padding-bottom: 10px;
	padding-left: 35px;
	background-repeat: no-repeat;
	}

#qanda dd{
	font-size: 16px;
	background-image: url(../_img/a.gif);
	padding: 7px 0 10px 35px;
	background-repeat: no-repeat;
	margin-bottom: 30px;
	background-color: #FFC;
	}

/* table */

table.tstyle_a{
	
	}
	
.tstyle_a th{
	color: #630;
	background-color: #F90;
	width: 100px;
	padding: 5px;
	}
	
.tstyle_a td{
	color: #482400;
	width: 600px;
	padding: 5px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-top-color: #F90;
	border-right-color: #F90;
	}

	
.tstyle_a .tdbotm{
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #F90;
	}


.tstyle_a #gift{
	margin-left:5px;
	margin-bottom:0px;
	width:560px;}

 #gift li{
	 margin-bottom:3px;
	 }


table.style_vc{
	margin-bottom: 40px;
}

.style_vc th{
	color: #FFF;
	background-color: #F90;
	padding: 7px;
	height: 50px;
	text-align: center;
	font-size: 13px;
	letter-spacing: 0.3em;
	font-weight: normal;
}

.style_vc td{
	text-align: center;	
	padding: 4px;
}

.style_vc .bgc1{
	background-color: #FFFF6F;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CF9F70;
}

.style_vc .bgc2{
	background-color: #EBEBEB;
}

.style_vc .boy{
	font-size: 14px;
	color: #0033CC;
	font-weight:bold;
}

.style_vc .girl{
	font-size: 14px;
	color: #FF6699;
	font-weight:bold;
}
.style_vc .nen1{
	font-size: 14px;
	color: #663300;
	background-color:#E1FF51;
}

.style_vc .nen2{
	font-size: 14px;
	color: #663300;
	background-color:#97FE62;
}

.style_vc .nen3{
	font-size: 14px;
	color: #663300;
	background-color:#B872F9;
}

.style_vc .nen4{
	font-size: 14px;
	color: #663300;
	background-color:#5B91FF;
}

.style_vc .nen5{
	font-size: 14px;
	color: #663300;
	background-color:#FED47D;
}

.style_vc .nen6{
	font-size: 14px;
	color: #663300;
	background-color:#FE6B9C;
}

/* feature */

#feat01{
	float:left;
	width:330px;
	height:277px;
	background-image:url(../_img/feat01.jpg);
	background-repeat:no-repeat;
	margin-bottom:20px;
	}

#feat02{
	float:left;
	width:384px;
	height:277px;
	background-image:url(../_img/feat02.jpg);
	background-repeat:no-repeat;
	margin-bottom:20px;
	}


#feat03{
	float:left;
	width:330px;
	height:277px;
	background-image:url(../_img/feat03.jpg);
	background-repeat:no-repeat;
	}

#feat04{
	float:left;
	width:384px;
	height:277px;
	background-image:url(../_img/feat04.jpg);
	background-repeat:no-repeat;
	}


/* access */
.imgT{
	margin-bottom:12px;}

.imgL{
	float:left;
	width:377px;
	margin-top:12px;}

.imgR{
	float:left;
	width:325px;
	margin:12px 0 0 12px;}
	
.imgR_park{
	margin-left:12px;}

.pulimg{
	background-image: url(../_img/plus.gif);
	background-repeat: no-repeat;
	vertical-align: middle;
	padding-left: 20px;
}

/** ARTICLES **/
article img {
border: none;
-webkit-box-shadow: 3px 3px 7px #777;
-moz-box-shadow: 3px 3px 7px #777;
}

#content ul ul, ol ol, ul ol, ol ul {
margin-bottom: 0;
}

.alignleft, img.alignleft {
display: inline;
float: left;
margin-right: 10px;
}

.alignright, img.alignright {
display: inline;
float: right;
margin-left: 10px;
}

.aligncenter, img.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}

/* sidebar and footer widget blocks */
.txt9{
	font-size:9px;}
	
.txt11{
	font-size:11px;}

aside h3 {
font-size: 18px;
}

aside ul {
list-style: none;
margin-bottom: 20px;
margin-top: -15px;
}

#footer-area {
color: #FFF;
font-size: 90%;
padding: 18px 0;
overflow: hidden;
}

.footer-segment {
float: left;
margin-right: 20px;
margin-left: 20px;
width: 190px;
}

footer aside h4 {
color: #ddd;
font-size: 16px;
line-height: 1.5em;
}

footer a:link, footer a:visited {
color: #08B8F9;
}

footer p {
margin-top: -15px;
}

.txtclear{
	display: none;
}

.mark_red{
	color: #CC3300;
}

.height150{
	line-height: 165%;
}

.indent01{
	text-indent: -1.5em;
	margin-left: 22px;
	margin-bottom: 0px;
	padding:0px;
}

.indent02{
	text-indent: -1.5em;
	margin-left: 18px;
	margin-bottom: 0px;
	padding:0px;
}

.indent03{
	text-indent: -5.2em;
	margin-left: 74px;
	margin-bottom: 0px;
	padding:0px;
}

.clearfix:after {  
  content: ".";   
  display: block;   
  height: 0;   
  clear: both;   
  visibility: hidden;  
} 

.clearfix { display: inline-table; }  
