/*
Theme Name: KIMURA NORIO ATERIER
Author: node
Author URI: http://www.noded.jp/
*/

html {
	overflow-y: scroll;
}

body {
	font-family: 'Helvetica Neue', Helvetica, Arial, Meiryo, 'メイリオ', 'ヒラギノ角ゴ ProN W3', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Helvetica Neue', Helvetica, Arial, Meiryo, 'メイリオ', 'ヒラギノ角ゴ ProN W3', sans-serif;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, th, td {
	font-size: 12px;
}

a { color: #000; }

a:hover {
	color: #333;
	text-decoration: underline;
}

a:hover img {
	filter:alpha(opacity=90);
	-moz-opacity:0.90;
	-khtml-opacity:0.90;
	opacity:0.90;
}

span.dummy {
	display: none;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
button {
    cursor: pointer;
    -webkit-appearance: button;
    *overflow: visible;
}

#wrapper {
	overflow: hidden;
	margin: 0;
	padding: 0;
}

#masthead {
	position: fixed;
	top: 0;
	width: 100%;
	height: 30px;
	padding: 10px 0;
	border-bottom: 1px solid #ddd;
	z-index: 1000;
	background: #fff;
	overflow: hidden;
	filter: alpha(opacity=90);
	-moz-opacity:0.90;
	opacity:0.90;
}

#masthead h1 {
	font-size: 10px;
	font-weight: normal;
	letter-spacing: 0.15em;
	margin: 0;
	color: #999;
}

#masthead h2 {
	font-size: 10px;
	font-weight: normal;
	text-align: right;
	letter-spacing: 0.15em;
	margin: 0;
	color: #999;
}

header {
	margin: 70px 0 0 0;
}

header #logo {
	margin: 0 0 30px 0;
}

header #logo img {
	width: 175px;
}

nav {
	margin: 0 0 0 0;
}

nav ul li {
	font-size: 12px;
	letter-spacing: 0.1em;
	list-style: none;
	margin: 0 0 0 0;
}

.home #banner {
	margin: 0;
	padding: 0;
}

.home #banner img {
	width: 100%;
}

#content {
	position: relative;
	margin: 0;
	padding: 0 0 60px 0;
}

#content h2 {
	display: block;
	border: 2px solid #000;
	text-align: center;
	padding: 5px 0;
	margin: 0 auto 30px auto;
	font-size: 22px;
	width: 160px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

#content h3 {
	font-size: 14px;
	font-weight: normal;
	padding: 0;
	margin: 0 0 15px 0;
}

#content table {
	border: 0;
	padding: 0;
	margin: 0 0 30px 0;
}

#content table tr {
	background: #fff;
}

#content table tr th,
#content table tr td {
	padding: 0;
	margin: 0;
	font-size: 12px;
	font-weight: normal;
}

#content table tr th {
	padding-right: 10px;
}



#news {
	padding: 0;
	margin-bottom: 80px;
}

#news section {
	padding: 0;
	margin-bottom: 30px;
}

#news .date {
	font-size: 10px;
	margin: 0 0 5px 0;
	padding: 0;
}

#news h3 {
	font-size: 14px;
	font-weight: normal;
	padding: 0;
	margin: 0 0 10px 0;
	line-height: 1.6;
}

#news img {
	margin: 0 0 10px 0;
}

#works {
	padding: 80px 0 0 0;
}

#works ul.side-list {
	padding: 0;
	margin: 0 0 30px 0;
}

#works ul.side-list li {
	margin: 0 0 5px 0;
	padding: 0;
	list-style: none;
	font-size: 12px;
}

#works ul.side-list li a {
	color: #999;
}

#works ul.side-list li.active a {
	color: #000;
}

#works h4 {
	font-weight: normal;
	font-size: 10px;
	margin-right: 5px;
	line-height: 1.6;
}

#works img {
	margin: 0 15px 15px 0;
}

#works .works-grid {
	overflow: hidden;
	width: 640px;
	margin: 0 0 30px 0;
	padding: 0;
}

#works .works-grid .works {
	width: 320px;
	margin: 0 0 30px 0;
	padding: 0 15px;
}

#works .works-grid .works .works-title {
	width: 90px;
	float: left;
}

#works .works-grid .works .works-content {
	width: 200px;
	float: left;
}

#works .works-grid .works .works-content a {
	display: block;
}

#works .works-grid .works .works-content a img {
	float: left;
}

#works .works-grid .works .works-content a img.landscape {
	width: 120px;
}

#works .works-grid .works .works-content a img.portrait {
	width: 80px;
}

.wp-pagenavi {
	clear: both;
	margin: 0 0 30px 0;
}

.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	border: 0;
	padding: 3px 5px;
	margin: 2px;
	color: #999;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
	color: #999;
}

.wp-pagenavi span.current {
	color: #000;
}


#access #aterier {
	margin: 0 0 20px 0;
}

#access h3 {
	margin: 0 0 10px 0;
}

#access p {
	margin: 0 0 5px 0;
}

#access #map-hikari {
	width: 100%;
	height: 200px;
	margin: 0 0 20px 0;
}

#access #map-hikari img {
	max-width: none;
}

#access #map-yamaguchi {
	width: 100%;
	height: 200px;
	margin: 0 0 20px 0;
}

#access #map-yamaguchi img {
	max-width: none;
}

.map {
	overflow: hidden;
	padding-bottom: 56.25%;
	position: relative;
	height: 0;
}
.map iframe{
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

#contact {
	margin: 0;
	padding: 0;
}

#contact p {
	margin: 0 0 5px 0;
}

#contact input[type=text],
#contact input[type=email] {
	padding: 3px;
	font-size: 12px;
	height: 26px;
}

#contact textarea {
	padding: 3px;
	font-size: 12px;
	margin: 0 0 20px 0;
}

#contact .button {
	font-size: 12px;
	font-weight: normal;
}

#contact .form-button input[type=submit],
#contact .form-button input[type=reset] {
	background: #535353;
	border: #333;
	font-weight: normal;
}

#contact .form-button input[type=submit]:hover,
#contact .form-button input[type=reset]:hover {
	background: #696969;
}

.wpcf7 span.wpcf7-not-valid-tip {
	display: none;
}

.wpcf7 .wpcf7-not-valid {
	background: pink;
}

.wpcf7 .wpcf7-response-output {
	margin: 10px 0 0;
	padding: 8px 35px 8px 14px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.wpcf7 .wpcf7-validation-errors {
	color: #B94A48;
	background-color: #F2DEDE;
	border: 1px solid #EED3D7;
}

.wpcf7 .wpcf7-mail-sent-ok {
	color: #3A87AD;
	background-color: #D9EDF7;
	border: 1px solid #BCE8F1;
}

footer {
	position: relative;
	padding: 0 0 60px 0;
	margin: 0;
}

footer #copyright {
	padding: 0;
	margin: 0;
	text-align: left;
	font-size: 11px;
	color: #999;
	letter-spacing: 0.1em;
}


@media only screen and (max-width: 767px) {

	header {
		padding: 0;
		margin: 0;
	}

	header h1 {
		margin: 0 0 10px 0;
		text-align: center;
		font-size: 9px;
		letter-spacing: 0;
	}

	header #logo {
		margin: 0;
		padding: 20px 0;
	}

	header #logo img {
		width: 100%;
	}

	nav {
		margin: 0;
	}

	nav ul li {
		font-size: 16px;
		letter-spacing: 0;
	}

	.home nav ul {
		margin: 0;
	}

	.home nav ul li {
		font-size: 16px;
	}

	.home #content {
		margin: 0;
		padding: 0;
	}

	#content {
		margin: 0;
		padding: 30px 0;
	}

	#content h2 {
		border-left: 0;
		border-right: 0;
		width: 100%;
		border-radius: 0;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
	}

	#about table.history {
		width: 100%;
	}

	#about table.history tr th {
		width: 50px;
		padding: 0;
		text-align: left;
	}

	#news {
		margin: 0;
	}

	#news section {
		padding: 0;
		margin-bottom: 30px;
	}

	#news .date {
		font-size: 10px;
		margin: 0;
		padding: 0;
	}

	#news h3 {
		font-size: 14px;
		font-weight: normal;
		padding: 0;
		margin: 0 0 5px 0;
		line-height: 1.6;
	}

	#news img {
		margin: 0 0 10px 0;
	}

	#works {
		padding: 0;
	}

	#works ul.side-list {
		padding: 0;
		margin: 0 0 15px 0;
	}

	#works ul.side-list li {
		display: inline;
		margin: 0;
		padding: 0;
		list-style: none;
		font-size: 12px;
	}

	#works ul.side-list li:not(:last-child):after {
		content: " / ";
	}

	#works h4 {
		font-weight: normal;
		font-size: 10px;
		line-height: 1.6;
	}

	#works h4 span.works-name {
		font-size: 12px;
	}

	#works img {
		width: 100%;
		margin: 0 0 15px 0;
	}

	#works .works-grid {
		width: 100%;
	}

	#works .works-grid .works {
		width: 100%;
		margin: 0;
		padding: 0;
		float: none;
	}

	#works .works-grid .works .works-title {
		width: 100%;
		float: none;
	}

	#works .works-grid .works .works-content {
		width: 100%;
		float: none;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	#works .works-grid .works .works-content a img {
		float: none;
		margin: 0 0 10px 0;
	}

	#works .works-grid .works .works-content a img.landscape {
		width: calc( ( 100vw - 40px ) / 2 * 1.5);
	}

	#works .works-grid .works .works-content a img.portrait {
		width: calc( ( 100vw - 40px ) / 2);
	}

	.wp-pagenavi {
		margin: 0 0 15px 0;
	}

	footer {
		margin: 0;
		padding: 0;
	}

	footer #copyright {
		text-align: center;
		font-size: 10px;
		letter-spacing: 0;
		padding: 20px 0;
	}

}

@media print {
	a[href]:after {
		content: none !important;
	}
}