/*
Theme Name: type_a
Template: uber
*/

@import url('../uber/style.css');


/*layouts smaller than 600px, iPhone and mobiles*/
@media only screen and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 600px)  {
	#header #logo {
		width: 296px;
	}
}


/* 見出し */
/*h1, h2, h3, h4, h5, h6 { font-weight: bold; }*/
#content h2 { font-size: 1.25rem; }
#content h3 { font-size: 1.125rem; }

#content .homeSection h3 { font-size: 0.875rem; }


body.single-project #content .alignleft p.wp-caption-text,
body.single-project #content .alignright p.wp-caption-text { font-style: normal; font-size: 0.8125rem; text-indent: 0; text-align: center; }

div.alignleft img,
div.alignright img { width: auto\9;!important; }

hr { margin: 0 0 12px; }

#mainNav ul a { font-size: 0.875rem; }


#content .project.small .title { color: #666666; font-size: 0.8125rem; }

#content ol { padding-left: 20px; }
#content table caption { margin-bottom: 0.6rem; }

body.single-project #content table { margin-bottom: 32px; }
body.single-project #content table th,
body.single-project #content table td,
body.page #content table th,
body.page #content table td { padding: 2px 6px; }

/* プロジェクトページのp要素の字下げ */
body.single-project #content p { margin-bottom: 0.5em; text-indent: 1em; }
/* Brisbane 字下げ中止 */
body.single-project #content p { margin-bottom: 0.5em; text-indent: 0; }

/* プロジェクトページの見出しのマージン調整 */
body.single-project #content h2,
body.single-project #content h3 { margin-top: 1.2em; margin-bottom: 0.6em; }
body.single-project #content h4,
body.single-project #content h5,
body.single-project #content h6 { margin-top: 0.8em; margin-bottom: 0.5em; }

/* プロジェクトページのp要素の字下げをキャンセル */
body.single-project #content div.whatsnew p { text-indent: 0em; }
body.single-project #content div.noindent p { text-indent: 0em; } 
body.single-project #content div.no_indent p { text-indent: 0em; } 

p, table, ul, ol, dl { font-size: 0.875rem; color: #494949; }
input { font-size: 0.875rem; color: #333333; }

/* 支部会則 */
p.kaisoku { margin: -16px 0 20px 1em; }
table.kaisoku { margin-left: 1em; }
table.kaisoku,
table.kaisoku th,
table.kaisoku td { border: none; line-height: 1.4; }
table.kaisoku th { width: 7em; font-weight: normal; text-align: left; }

dl.kaisoku-jou { clear: both; margin: 0 0 0.6em 0; }
dl.kaisoku-jou dt { float: left; width: 4em; margin-bottom: 0.2em; line-height: 1.5; }
dl.kaisoku-jou dd { margin: 0 0 0.2em 4em; line-height: 1.5; }
dl.kaisoku-jou-5em { margin: 0 0 0.6em 0; }
dl.kaisoku-jou-5em dt { float: left; width: 5em; margin-bottom: 0.2em; line-height: 1.6; }
dl.kaisoku-jou-5em dd { margin: 0 0 0.5em 5em; line-height: 1.6; }

#content ul li { font-size: /*0.875rem*/100%; }

/* tables */
table.mild_th_tbl th { font-weight: normal; text-align: left; }
body.single-project #content table.bordertbl { border-collapse: collapse !important; border: 1px solid #999 !important; line-height: 1.5; }
body.single-project #content table.bordertbl th,
body.single-project #content table.bordertbl td { padding: 2px 4px; }
body.single-project #content table.bordertbl th { 
	border-top: 1px solid #999 !important; border-right: 1px dotted #ccc !important; border-bottom: 1px solid #999 !important; border-left: 1px dotted #ccc !important; }
body.single-project #content table.bordertbl td { 
	border-top: 1px solid #ccc !important; border-right: 1px dotted #ccc !important; border-bottom: 1px solid #ccc; border-left: 1px dotted #ccc !important; }
body.single-project #content table.bordertbl td.from_td { text-align: right; }
body.single-project #content table.bordertbl td.taleft_td { text-align: left; }
body.single-project #content table.bordertbl td.tacent_td { text-align: center; }
body.single-project #content table.bordertbl td.botdotted { border-bottom-style: dotted !important; }
body.single-project #content table.bordertbl td.topdotted { border-top-style: dotted !important; }

body.single-project #content table.bordertbl_b { border-collapse: collapse !important; border: 1px solid #999 !important; line-height: 1.6; }
body.single-project #content table.bordertbl_b th,
body.single-project #content table.bordertbl_b td { padding: 6px 8px; border: 1px solid #999; }


/* #clients 2014-10-14 banner width = 200px (200px * 4 + 46px * 3 = 938px) */
div#clients p.ban { float: left; margin: 0 46px 4px 0; padding: 0; line-height: 0; }
div#clients p.ban:nth-of-type(4n) { margin-right: 0; }
div#clients p.ban:nth-of-type(4n+1) { clear: both; }

/* #clients 2017-04-03 banner */
/* width = 414px (414px * 2 + 110px = 938px) */
div#clients p.spnsbanl_kumamoto { float: left; width: 414px; margin: 0 110px 4px 0; line-height: 0; }
div#clients p.spnsbanl_kumamoto:nth-of-type(2n) { margin-right: 0; }
div#clients p.spnsbanl_kumamoto:nth-of-type(2n+1) { clear: both; }
/* width = 209px (209px * 4 + 34px * 3 = 938px) */
div#clients p.spnsbans_kumamoto { float: left; width: 209px; margin: 0 34px 4px 0; line-height: 0; }
div#clients p.spnsbans_kumamoto:nth-of-type(4n) { margin-right: 0; }
div#clients p.spnsbans_kumamoto:nth-of-type(4n+1) { clear: both; }


#sidebar ul li { font-size: /*0.8125em*/100%; }

#footer ul li { font-size: /*0.875em*/100%; }

div.textwidget a img { display: inline; }
div.textwidget p { text-align: top; }


.projectNav .next a {
background: transparent url(images/project_nav.png) no-repeat; background-position: 0px -18px; }
.projectNav .next.inactive {
background: transparent url(images/project_nav.png) no-repeat; background-position: 0px -36px;	}
.projectNav .next a:hover {
background: transparent url(images/project_nav.png) no-repeat; background-position: 0px 0px; }
.projectNav .previous a {
background: transparent url(images/project_nav.png) no-repeat; background-position: -12px -18px; }
.projectNav .previous a:hover {
background: transparent url(images/project_nav.png) no-repeat; background-position: -12px 0px; }
.projectNav .previous.inactive {
background: transparent url(images/project_nav.png) no-repeat; background-position: -12px -36px; }





/* Contact Form 7 20151112 */
.wpcf7-list-item { padding-right: 1em; }

/* Contact Form 7 20151117 */
body.single-project #content .wpcf7 p { margin-bottom: 1em; }


/* Contact Form 7 add confirm 20171006 shiga */
.wpcf7c-conf { background-color: #dcdcdc !important; }


/* uber l.151 */
/* ///////////////////////////////////////////////////////////////////// 
//  02 - Global 
/////////////////////////////////////////////////////////////////////*/

/* ref. l.272 input[type="text"] */
input[type="tel"], 
input[type="email"] {
	background-color: #fafafa;	
	padding: 10px;
	font-family: "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: #6a6a6a;	
	border: 1px solid #ddd;
	background:	#fafafa url(images/field_bkg.png) repeat-x;	
}

input[type="tel"]:focus,
input[type="email"]:focus {outline: none; background-color: #f7f7f7;}




/* プロジェクトのサムネイルのリンクが効かない問題 2017-05-22 */
.masonry .project { z-index: 1; }
.masonry a { z-index: 1000; }



/* Contact form 7 */
/* 送信後、フォーム部分を隠し、完了の文言を表示 */
/* .formcont, .formcmp */

.sent .formcont {
	display: none;
}
.formcmp {
	display: none;
}
.sent .formcmp {
	display: block;
}

