/*
Theme Name: meguro
Theme URI: http://example.com/
Description: 岩出マラソン
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;
}

.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;
}

#top_entry_btn img{
	margin-bottom: 7px;
	vertical-align: middle;
}

/* reset */
* {
margin:0;
padding:0;
}


/* render html5 elements as block */
header, footer, section, aside, nav, article {
display: block;
}

body {
	font-family: meiryo;
	color: #341304;
	font-size: 0.75em;
	line-height: 18px;
	background-color: #D9D9C2;
	background-image: url(../_img/bodybg.jpg);
	background-repeat: repeat-x;
}
	
/* layout */

#wrapper {
width: 980px;
margin: 0 auto;
}

header img{
	float: right;
	margin: 10px 15px 0 0;
	width: 105px;
}

header:after{
    content: "."; 
    display: block;
    visibility: hidden;   
    height: 0.1px;  
    font-size: 0.1em;   
    line-height: 0;
    clear: both;
}


#imgtop {
	width: 980px;
	height: 408px;
	background-image: url(../_img/mainbg.jpg);
	background-repeat: no-repeat;
	margin: 0 auto;
}

#imgin {
	width: 980px;
	height: 133px;
	background-image: url(../_img/mainbg_in.jpg);
	background-repeat: no-repeat;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

#imgin h1 {
	width: 500px;
}

#imgin h1 a{
	width: 980px;
	height: 133px;
	background-image: url(../_img/dammya.gif);
	display: block;
	margin: 0px;
	padding: 0px;
}

#main {
	width: 980px;
	margin: 0 auto;
	padding: 15px 0 20px 0;
	background: #FFF;
	overflow: hidden;
}

#main:after{
    content: "."; 
    display: block;
    visibility: hidden;     
    line-height: 0;
    clear: both;
}

#contenttop {
	float: left;
	width: 600px;
	margin: 0 15px 0 15px;
}

#content {
	float: left;
	width: 730px;
	margin: 0 15px 0 20px;
}

#subarea {
	float: left;
	width: 120px;
	margin: 0 0 0 15px;
}

#subarea p{
padding:3px 5px;
font-size:12px;
line-height:130%;
}

#sidebar {
	float: left;
	margin-right: 15px;
	width: 200px;
}

#sidebar img{
	margin-bottom: 4px;
}

footer {
	width: 980px;
	margin: 0 auto;
}

#news{
	margin-bottom: 25px;
}

#flier{
	margin-top: 10px;
}

/* basics */

#contenttop h2{
	background-image: url(../_img/t02bg.jpg);
	background-repeat: no-repeat;
	height: 44px;
	width: 587px;
	font-family: meiryo;
	font-size: 18px;
	color: #333333;
	padding-top: 8px;
	padding-left: 9px;
	letter-spacing: 0.2em;
	font-weight: normal;
}

#content h3{
	background-image: url(../_img/t3bg.jpg);
	background-repeat: no-repeat;
	height: 30px;
	width: 709px;
	font-family: meiryo;
	font-size: 16px;
	color: #0C2776;
	padding-top: 7px;
	padding-left: 15px;
	letter-spacing: 0.2em;
	margin: 0px;
}

#toph3{
	background-image: url(../_img/t3bg_top.gif);
	background-repeat: no-repeat;
	height: 30px;
	width: 720px;
	font-family: meiryo;
	font-size: 16px;
	color: #FFFFFF;
	padding-top: 6px;
	padding-left: 10px;
	letter-spacing: 0.2em;
	margin: 0px;
	font-weight: bold;
}

#content h4{
	font-family: "meiryo";
	font-size: 18px;
	color: #0B2876;
	padding-top: 3px;
	padding-left: 10px;
	letter-spacing: 0.2em;
	margin: 0px;
}

#content h2{
	background-image: url(../_img/t02bg.jpg);
	background-repeat: no-repeat;
	height: 36px;
	width: 700px;
	font-family: meiryo;
	font-size: 18px;
	color: #333333;
	padding-top: 8px;
	padding-left: 9px;
	letter-spacing: 0.2em;
	font-weight: normal;
}

h5,h6 {
	font-weight: bold;
	clear: both;
	color: #FFF;
}

#content strong{
	color: #0B2876;
}

#content em{
	color: #333333;
	font-weight: bold;
}


a:link, a:visited {
	color:#0B2876;
}

a:hover, a:active {
	color:#0B2876;
}

#content p {
	margin-bottom: 10px;
}

dl,dt,dd,li {
	margin: 0px;
	padding: 0px;
}

a img{
	border: none;
}

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

.txt10{
	font-size: 10px;
}

.txt14{
	font-size: 14px;
}

.txt16{
	font-size: 16px;
}

.txt20{
	font-size: 20px;
}

/* nav */

#nav {
	width: 980px;
	height: 50px;
	background-color: #FFFFFF;
}

#nav #menu{
	margin: 0;
}

#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: 150x;
}

#nav #menu #n01 a{
	display: block;
	background-image: url(../_img/n01.jpg);
	background-repeat: no-repeat;
	height: 50px;
	width: 150px;
	text-indent: -9999px;
}

#nav #menu #n01 a:hover{	
	background-image: url(../_img/n01_o.jpg);
	background-repeat: no-repeat;
	height: 50px;
	width: 150px;
}

#nav #menu #n02{
	float: left;
	width: 150px;
}

#nav #menu #n02 a{
	display: block;
	background-image: url(../_img/n02.jpg);
	background-repeat: no-repeat;
	height: 50px;
	width: 150px;
	text-indent: -9999px;
}

#nav #menu #n02 a:hover{	
	background-image: url(../_img/n02_o.jpg);
	background-repeat: no-repeat;
	height: 50px;
	width: 150px;
}

#nav #menu #n03{
	float: left;
	width: 150px;
}

#nav #menu #n03 a{
	display: block;
	background-image: url(../_img/n03.jpg);
	background-repeat: no-repeat;
	height: 50px;
	width: 150px;
	text-indent: -9999px;
}

#nav #menu #n03 a:hover{	
	background-image: url(../_img/n03_o.jpg);
	background-repeat: no-repeat;
	height: 50px;
	width: 150px;
}

#nav #menu #n04{
	float: left;
	width: 149px;
}

#nav #menu #n04 a{
	display: block;
	background-image: url(../_img/n04.jpg);
	background-repeat: no-repeat;
	height: 50px;
	width: 149px;
	text-indent: -9999px;
}

#nav #menu #n04 a:hover{	
	background-image: url(../_img/n04_o.jpg);
	background-repeat: no-repeat;
	height: 50px;
	width: 149px;
}

#nav #menu #n05{
	float: left;
	width: 150px;
}

#nav #menu #n05 a{
	display: block;
	background-image: url(../_img/n05.jpg);
	background-repeat: no-repeat;
	height: 50px;
	width: 150px;
	text-indent: -9999px;
}

#nav #menu #n05 a:hover{	
	background-image: url(../_img/n05_o.jpg);
	background-repeat: no-repeat;
	height: 50px;
	width: 150px;
}

#nav #menu #n06{
	float: left;
	width: 231px;
}

#nav #menu #n06 a{
	display: block;
	background-image: url(../_img/n06.jpg);
	background-repeat: no-repeat;
	height: 50px;
	width: 231px;
	text-indent: -9999px;
}

#nav #menu #n06 a:hover{	
	background-image: url(../_img/n06_o.jpg);
	background-repeat: no-repeat;
	height: 50px;
	width: 231px;
}

/* map */

#mapimg{
	float: left;
	width: 380px;
	margin-right: 10px;
}

#maptext{
	float: right;
	width: 200px;
}

/* entry */

#entry_txt{
	float: left;
	width: 390px;
	margin-right: 10px;
	margin-top: 15px;
}

#entry_btn{
	float: left;
	width: 200px;
	margin-top: 45px;
	margin-bottom: 0px;		
	text-align: center;
}

#entry_btn img{
	margin-bottom: 10px;
}

#entry_btn .newbtn{
	margin-bottom: 30px;
}

#mob_txt{
	float: left;
	width: 390px;
	margin-right: 10px;
	margin-top: 15px;
}

#mob_qr{
	float: left;
	width: 200px;
	margin-top: 15px;	
	text-align: center;	
}

#mob_qr img{
	margin-top: 10px;	
}


#lett_txt{
	width: 680px;
	margin-top: 15px;
	margin-bottom: 30px;	
}

/* feature */

#featbg{
	background-image: url(../_img/features2015.jpg);
	background-repeat: no-repeat;
	height: 505px;
	width: 710px;
	margin-bottom: 50px;
}

#ftitle1{
	background-image: url(../_img/t01_feat.jpg);
	background-repeat: no-repeat;
	height: 43px;
	width: 709px;
}

#ftitle2{
	background-image: url(../_img/t02_feat.jpg);
	background-repeat: no-repeat;
	height: 43px;
	width: 709px;
}

#ftitle3{
	background-image: url(../_img/t03_feat.jpg);
	background-repeat: no-repeat;
	height: 43px;
	width: 709px;
}

#ftitle4{
	background-image: url(../_img/t04_feat.jpg);
	background-repeat: no-repeat;
	height: 43px;
	width: 709px;
}

#ftitle5{
	background-image: url(../_img/t05_feat.jpg);
	background-repeat: no-repeat;
	height: 43px;
	width: 709px;
}


#ftitle6{
	background-image: url(../_img/t06_feat.jpg);
	background-repeat: no-repeat;
	height: 43px;
	width: 709px;
}

.featarea{
	width:680px;
	line-height: 160%;
	margin-top: 10px;
	margin-right: 0;
	margin-bottom: 30px;
	margin-left: 0;
	padding-right: 15px;
	padding-left: 15px;
}

.featarea img{
float:right;
margin-left:10px;
}

/* access */
.plus{
	background-image: url(../_img/plus.jpg);
	background-repeat: no-repeat;
	background-position: left;
	height: 18px;
	width: 200px;
	padding-left: 25px;
}

.map{
float:left;
width:270px;
padding:0;
}

.maptxt{
float:left;
width:410px;
padding:20px 0 0 20px;
line-height:150%;
}


/** ARTICLES **/

#content .indent90{
	margin: 10px 0 30px 90px;
	width: 620px;
	font-size: 14px;
	line-height: 130%;
}

#content .indent30{
	margin-bottom: 20px;
	margin-left: 10px;
	width: 580px;
}

#content .indent15{
	line-height:150%;
	margin: 0 15px 30px 15px;
	width: 680px;
}

#content .indent15 ul{
padding-left:25px;

}

#content .indent15 li{
	margin-bottom:10px;
	list-style-position: outside;
	list-style-type: decimal;
}

#content  .indent30 img{
	float: right;
	margin-right: 10px;
}

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

#content .indent30 ol{
	margin-left: 25px;
	width:550px;
}

#content .indent30 ol li{
	margin-bottom: 10px;
}

#content ul, hr {
	margin-bottom: 24px;
}

#content ul ul, ol ol, ul ol, ol ul {
margin-bottom: 0;
}

#content h1, h2, h3, h4, h5, h6 {
color: #333;
margin: 0 0 15px 0;
line-height: 1.5em;
}

.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;
}

.txtclear{
	display: none;
}

.mark_red{
	color: #CC3300;
}


/* dl */

table.tstyle_a th,td{
	margin: 0;
	padding: 0;
}

table.tstyle_a{
	width: 710px;
}

table.tstyle_a dt,dd {
	padding:5px;
}

table.tstyle_a th{
	width: 90px;
	height: 22px;
	padding:7px;
	font-size: 13px;
	font-weight: bold;
	letter-spacing: 0.1em;
	border-bottom: 1px solid #FABE00;
	background-color: #FEEDB7;
	text-align: left;
	vertical-align: top;
}

table.tstyle_a td{
	height: 20px;	
	padding:8px;
	font-size: 12px;	
	border-bottom: 1px solid #FABE00;
}


dl.tstyle_q dt,dd {
	padding:0px;
}

dl.tstyle_q dt{
	width: 708px;
	height: 20px;
	padding:3px 3px 7px 30px;
	font-size: 15px;
	background-image: url(../_img/q.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	font-weight: bold;
	color: #666666;
}

dl.tstyle_q dd{
	width: 670px;
	font-size: 12px;
	background-image: url(../_img/a.jpg);
	background-repeat: no-repeat;
	background-position: left top;	
	margin-bottom: 20px;
	padding-top: 5px;
	padding-right: 3px;
	padding-bottom: 7px;
	padding-left: 30px;
}

dl.tstyle_qlink dt,dd {
	padding:0px;
}

dl.tstyle_qlink dt{
	width: 708px;
	height: 20px;
	padding:3px 3px 7px 30px;
	font-size: 13px;
	background-image: url(../_img/q.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	color: #666666;
}


/* talbe */

table.style_vc{
	margin-bottom: 40px;		
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #FABE00;
	width: 88%;
}

.style_vc th{
	color: #666666;
	background-color: #FEEDB7;
	padding: 7px;
	height: 50px;
	text-align: center;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #FFFFFF;
	font-size: 13px;
	letter-spacing: 0.3em;
	font-weight: normal;
}

.style_vc td{
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #FABE00;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FABE00;
	padding: 7px;
}

.style_vc .bgc{
	background-color: #F6F6F6;
}

table.style_c{
	margin-bottom: 15px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #FABE00;			
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #FABE00;
	width: 88%;
}

.style_c th{
	color: #666666;
	background-color: #FEEDB7;
	padding: 7px;
	height: 20px;
	text-align: center;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #FABE00;
	font-size: 13px;
	letter-spacing: 0.3em;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FABE00;
	font-weight: normal;
}

.style_c td{
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #FABE00;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FABE00;
	padding: 7px;
}

.style_c .bgc{
	background-color: #FEDEE1;
}

table.style_pa{
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #E7E7E7;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #E7E7E7;
	margin-left: 10px;
	margin-top: 15px;
}

.style_pa th{
	color: #333;
	background-color: #FFEEEE;
	padding: 2px;
	text-align: center;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #CCC;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;	
	font-size: 13px;
}

.style_pa td{
	padding: 5px 5px 5px 25px;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #CCC;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
	width: 180px;
	background-image: url(../_img/umark.gif);
	background-repeat: no-repeat;
	background-position: left;
}

.style_pa .tdwhite{
	padding: 5px 5px 5px 25px;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #CCC;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
	background-image: none;
}

.tabtitle{
	width: 90px;
	padding:5px;	
	background-color: #FF6699;
	display: block;
}

/* sidebar and footer widget blocks */

aside h3 {
	font-size: 18px;
}

aside ul {
	list-style: none;
	margin-bottom: 20px;
	margin-top: -15px;
}

.side_title{
	width: 196px;
	background-color: #FF9999;
	text-align: center;
	margin-bottom: 7px;
	font-size: 14px;
	color: #663300;
	height: 18px;
	margin-right: auto;
	margin-left: auto;
	border-top-width: 1px;
	border-right-width: 2px;
	border-top-style: solid;
	border-right-style: solid;
	border-top-color: #FF66CC;
	border-right-color: #FF66CC;
	border-left-width: 2px;
	border-left-style: solid;
	border-left-color: #FF66CC;
	padding-top: 2px;
	padding-right: 0px;
	padding-bottom: 2px;
	padding-left: 0px;
	font-weight: bold;
}

#footer-area {
	background: #471B05;
	color: #FFF;
	font-size: 90%;
	overflow: hidden;
	width: 980px;
	padding-top: 7px;
	padding-right: 0;
	padding-bottom: 40px;
	padding-left: 0;
}

footer #footer-outer-block{
text-align:center;}

.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: #FFFFFF;
}

footer p {
	margin-top: -15px;
}

