/*
Theme Name: hillsconsulting
Theme URI: http://wordpress.org/extend/themes/twentytwelve
Author: the WordPress team
Author URI: http://wordpress.org/
Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, gray, white, one-column, two-columns, right-sidebar, flexible-width, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
Text Domain: twentytwelve

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* =Notes
--------------------------------------------------------------
This stylesheet uses rem values with a pixel fallback. The rem
values (and line heights) are calculated using two variables:

$rembase:     14;
$line-height: 24;

---------- Examples

* Use a pixel value with a rem fallback for font-size, padding, margins, etc.
	padding: 5px 0;
	padding: 0.357142857rem 0; (5 / $rembase)

* Set a font-size and then set a line-height based on the font-size
	font-size: 16px
	font-size: 1.142857143rem; (16 / $rembase)
	line-height: 1.5; ($line-height / 16)

---------- Vertical spacing

Vertical spacing between most elements should use 24px or 48px
to maintain vertical rhythm:

.my-new-div {
	margin: 24px 0;
	margin: 1.714285714rem 0; ( 24 / $rembase )
}

---------- Further reading

http://snook.ca/archives/html_and_css/font-size-with-rem
http://blog.typekit.com/2011/11/09/type-study-sizing-the-legible-letter/


/* =Reset
-------------------------------------------------------------- */

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, 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, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
ol,
ul {
	list-style: none;
}
blockquote,
q {
	quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}
html {
	overflow-y: scroll;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
a:focus {
	outline: thin dotted;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
audio,
canvas,
video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
}
del {
	color: #333;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
	margin-bottom: 1.714285714rem;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
small {
	font-size: smaller;
}
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

/* Clearing floats */
.clear:after,
.wrapper:after,
.format-status .entry-header:after {
	clear: both;
}
.clear:before,
.clear:after,
.wrapper:before,
.wrapper:after,
.format-status .entry-header:before,
.format-status .entry-header:after {
	display: table;
	content: "";
}


/* Responsive images */
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}


/* Images */
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.entry-content img,
.comment-content img,
.widget img,
img.header-image,
.author-avatar img,
img.wp-post-image {
	/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
	border-radius: 3px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	padding: 4px;
}
.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	font-style: italic;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	color: #757575;
}
img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.entry-content dl.gallery-item {
	margin: 0;
}
.gallery-item a,
.gallery-caption {
	width: 90%;
}
.gallery-item a {
	display: block;
}
.gallery-caption a {
	display: inline;
}
.gallery-columns-1 .gallery-item a {
	max-width: 100%;
	width: auto;
}
.gallery .gallery-icon img {
	height: auto;
	max-width: 90%;
	padding: 5%;
}
.gallery-columns-1 .gallery-icon img {
	padding: 3%;
}

/* =Single image attachment view
-------------------------------------------------------------- */

.article.attachment {
	overflow: hidden;
}
.image-attachment div.attachment {
	text-align: center;
}
.image-attachment div.attachment p {
	text-align: center;
}
.image-attachment div.attachment img {
	display: block;
	height: auto;
	margin: 0 auto;
	max-width: 100%;
}
.image-attachment .entry-caption {
	margin-top: 8px;
	margin-top: 0.571428571rem;
}


/* =Plugins
----------------------------------------------- */

img#wpstats {
	display: block;
	margin: 0 auto 24px;
	margin: 0 auto 1.714285714rem;
}



/* =Print
----------------------------------------------- */

@media print {
	body {
		background: none !important;
		color: #000;
		font-size: 10pt;
	}
	footer a[rel=bookmark]:link:after,
	footer a[rel=bookmark]:visited:after {
		content: " [" attr(href) "] "; /* Show URLs */
	}
	a {
		text-decoration: none;
	}
	.entry-content img,
	.comment-content img,
	.author-avatar img,
	img.wp-post-image {
		border-radius: 0;
		box-shadow: none;
	}
	.site {
		clear: both !important;
		display: block !important;
		float: none !important;
		max-width: 100%;
		position: relative !important;
	}
	.site-header {
		margin-bottom: 72px;
		margin-bottom: 5.142857143rem;
		text-align: left;
	}
	.site-header h1 {
		font-size: 21pt;
		line-height: 1;
		text-align: left;
	}
	.site-header h2 {
		color: #000;
		font-size: 10pt;
		text-align: left;
	}
	.site-header h1 a,
	.site-header h2 a {
		color: #000;
	}
	.author-avatar,
	#colophon,
	#respond,
	.commentlist .comment-edit-link,
	.commentlist .reply,
	.entry-header .comments-link,
	.entry-meta .edit-link a,
	.page-link,
	.site-content nav,
	.widget-area,
	img.header-image,
	.main-navigation {
		display: none;
	}
	.wrapper {
		border-top: none;
		box-shadow: none;
	}
	.site-content {
		margin: 0;
		width: auto;
	}
	.singular .entry-header .entry-meta {
		position: static;
	}
	.singular .site-content,
	.singular .entry-header,
	.singular .entry-content,
	.singular footer.entry-meta,
	.singular .comments-title {
		margin: 0;
		width: 100%;
	}
	.entry-header .entry-title,
	.entry-title,
	.singular .entry-title {
		font-size: 21pt;
	}
	footer.entry-meta,
	footer.entry-meta a {
		color: #444;
		font-size: 10pt;
	}
	.author-description {
		float: none;
		width: auto;
	}

	/* Comments */
	.commentlist > li.comment {
		background: none;
		position: relative;
		width: auto;
	}
	.commentlist .avatar {
		height: 39px;
		left: 2.2em;
		top: 2.2em;
		width: 39px;
	}
	.comments-area article header cite,
	.comments-area article header time {
		margin-left: 50px;
		margin-left: 3.57142857rem;
	}
}




--------------------------------------------hilsconsulting--------------------------------------------

/* =clearfix
-------------------------------------------------------------- */
.clearfix:after {
  content: ".";  /* 新しい要素を作る */
  display: block;  /* ブロックレベル要素に */
  clear: both;
  height: 0;
  visibility: hidden;
}

.clearfix {
  min-height: 1px;
}

* html .clearfix {
  height: 1px;
  /*¥*//*/
  height: auto;
  overflow: hidden;
  /**/
}


/* =global
-------------------------------------------------------------- */
body{
	color:#333;
	font-family:Arial, Helvetica,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size:12px;
	line-height:170%;
	background:#fff;
	text-align:left;
}
h1,h2,h3,h4{
	font-weight:normal;
}
h2{
	margin-top:-2px;
}

#wrapper{
	width:870px;
	margin:auto;
	padding:30px 30px 0 50px;
	position:relative;
}
#nav{
	width:17%;
	float:left;
}
#contents{
	letter-spacing:0.1em;
	text-align:justify;
	text-justify:inter-ideograph;
	width:100%;
}
#contents dl{
	letter-spacing:0;
	text-align:jleft;
	text-justify:auto;
}
#main{
	width:63.2%;
	min-height:400px;
	float:left;
	line-height:230%;
}
#footer{
	text-align:center;
	margin-top:80px;
	padding-bottom:20px;
}

a{
	color:#333;
	text-decoration:none;
}
a:hover,
a.current{
	color:#a1a1a1;
	text-decoration:none;
}

a.red:hover,
a.red.current{
	color:#f57abf;
}

.red{
	color:#e4007f;
}
.dnone{
	display:none;
}



/* =nav
-------------------------------------------------------------- */
#nav ul li{
	margin-bottom:5px;
}


/* =home
-------------------------------------------------------------- */
.home h1{
	width:398px;
	height:166px;
	margin:215px auto 0;
}
.home #nav{
	position:absolute;
	top:30px;
}
.ttl_pc{
	display:block;
}
.ttl_m{
	display:none;
}
.home #footer{
	margin-top:230px;
}

/* =sub
-------------------------------------------------------------- */
/*header*/
.page h1, .error404 h1 {
	width:51.28%;
}
.page h1 img{
	width:100%;
}
.page #header , .error404 #header{
	margin-bottom:150px;
}
#magazine{
	width:168px;
	position:absolute;
	top:30px;
	right:30px;
	letter-spacing: 0;
	text-align:justify;
	font-size:11px;
}
#magazine h2{
	font-size:12px;
}
#magazine dl{
	margin-bottom:5px;
}
#magazine dt{
	width:35%;
	float:left;
	margin-top:5px;
}	
#magazine dd{
	width:63%;
	float:left;
	margin-top:5px;
}
#magazine .wpcf7-text{
	width:99%;
}
#magazine .wpcf7-submit{
	color:#E4007F;
	background:none;
	border:none;
	padding:0;
	cursor:pointer;
	font-size:12px;
	margin-top:-3px;
	margin-left:-3px;
}
#magazine .wpcf7-submit:hover{
	color:#f57abf;
}

/*登録フォーム*/
#magazine #seimei1,
#magazine #mail{
	width:99%;
	border:1px solid #333;
}
#magazine .submit{
	color:#E4007F;
	background:none;
	border:none;
	padding:0;
	cursor:pointer;
	font-size:12px;
	margin-top:-3px;
	margin-left:-3px;
	width:100%;
	text-align:left;
}
#magazine .submit:hover{
	color:#f57abf;
}


/*main*/
#main h2{
	margin-bottom:30px;
}
#main p{
	margin-bottom:30px;
}

/* =page
-------------------------------------------------------------- */
/*law*/
.page-id-29 #main h3{
	display:inline;
	color:#e4007f;
}
.page-id-29 #main dl dt{
	width:40%;
	margin-right:10px;
	float:left;
}
.page-id-29 #main dl dd{
	width:60%
	float:left;
}

/*message*/
.profimg{
	border:1px solid #efefef;
}

/*CAMPANY*/
.page-id-2 #main th{
	width:60px;
}

/*CONTENT*/
.parent-pageid-15 #main{
	line-height:200%;
}
.parent-pageid-15 #main h3{
	margin-bottom:30px;
}
.parent-pageid-15 #main dl{
	width:100%;
	margin-bottom:30px;
}
.parent-pageid-15 #main dt{
	width:15%;
	float:left;
}
.parent-pageid-15 #main dd{
	width:82%;
	float:left;
}
.parent-pageid-15 #main ul{
	margin-bottom:30px;
}


/*20121225天野*/

.clearfix{
overflow: hidden;
}
.clearfix:after {
content: “”;
display: block;
clear: both;
height: 1px;
overflow: hidden;
}


/*form*/
.wpcf7-text , textarea, select{
	border:1px solid #333;
}
.wpcf7-text, textarea{
	font-size:12px;
	padding:2px;
}
.asterisk{
	color:#e4007f;
}
.contact .form-name input{
	width:90px;
}
.contact .form-submit{
	text-align:center;
}
.contact dl{
	margin-bottom:15px;
}
.contact dt{
	width:100px;
	float:left;
}
.contact dd{
	width:79%;
	float:left;
}
.contact textarea{
	width:98%;
}

.check1 span.wpcf7-list-item{
	display: block;
}
.page-id-92 .contact dt{
	width:22%;	
}
.page-id-92 .contact dd{
	width:77%;	
}
.page-id-92 .contact .w-97 input{
	width:97%;
}



/* =調整
-------------------------------------------------------------- */
#main .mb-40{
	margin-bottom:40px;
}
#main .mb-30{
	margin-bottom:30px;
}
#main .mb-20{
	margin-bottom:20px;
}
#main .mb-15{
	margin-bottom:15px;
}


/**/
.your-email input,.your-tel input{
width:220px;
}





/* =Media Query
-------------------------------------------------------------- */

@media screen and (max-width: 950px) {
	#wrapper{
		width:auto;
	}
}

@media screen and (max-width: 768px) {
	#wrapper{
		width:auto;
		padding:30px 10px 0 30px;
	}
	.page-id-29 #main dl dt{
		width:100%;
		margin-right:0px;
		float:none;
	}
	.page-id-29 #main dl dd{
		width:100%;
		float:none;
		margin-left:10px;
	}

.contact dt{
	width:100%;
	float:left;
}
.contact dd{
	width:100%;
	float:left;
}
	
}

/* smartphone CSS */
@media screen and (max-width: 504px) {
	#wrapper{
		width:auto;
		padding:10px;
		position:relative;
	}
	#main{
		width:100%;
		margin-top:30px;
	}
	#contents{
		letter-spacing:0;
		text-align:left;
		text-justify:auto;
	}
	#footer{
		margin-top:30px;
	}
	#footer small{
		display:block;
	}
	.home h1 {
		width:100%;
		height:auto;
		margin-top:10px;
	}
	.home h1 img{
		width:100%;
	}
	.ttl_pc{
	display:none;
	}
	.ttl_m{
	display:block;
	}
	.home #nav{
		position:static;
	}
	.home #footer{
		margin-top:80px;
	}
	.page #header,.error404 #header{
		margin-bottom:30px;
	}
	.page h1 , .error404 h1{
		width:100%;
		margin-top:10px;
	}
	#magazine{
		position:static;
		float:right;
		width:/*65%;*/180px;
	}
	.parent-pageid-15 #main dt{
		width:20%;
	}
	.parent-pageid-15 #main dd{
		width:80%;
	}
	.parent-pageid-15 #main .content03_img{
		width:83.8%;
	}
	.contact  dt{
		width:100%;
		float:left;
	}
	.contact  dd{
		margin-left:0px;
		float:left;
		width:100%;
	}
	.contact  .wpcf7-textarea{
		width:98%;
	}
	.page-id-92 .contact dt{
		width:100%;
		float:none;	
	}
	.page-id-92 .contact dd{
		width:100%;
		float:none;
	}
}

