/*
Theme Name: YoheiHara
Theme URI: http://yoheihara.com
Author: ohkuchidesign
Version: 0.1
*/

/**
 * 1.0 リセットCSS
 * @see http://git.io/normalize
 * ----------------------------------------------------------------------------
 */
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}
article,aside,details,figcaption,figure,footer,header,nav,section,summary {
	display: block;
}
audio,canvas,video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
	height: 0;
}
[hidden] {
	display: none;
}
html {
	font-size: 100%;
	background-color:#fafafa;;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
html,button,input,select,textarea {
	font-family:"Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3","メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;
}
body {
	color: #333;
	line-height: 1.5;
	margin: 0;
}
a {
	color: #000000;
	text-decoration: none;
}
a:visited {
	color: #333333;
}
a:focus {
	outline: thin dotted;
}
a:active,
a:hover {
	color: #333333;
	outline: 0;
}
a:hover {
	text-decoration: underline;
}
h1,h2,h3,h4,h5,h6 {
	clear: both;
	line-height: 1;
	margin:0;
}
abbr[title] {
	border-bottom: 1px dotted;
}
b,strong {
	font-weight:normal;
}
em {
	font-weight: normal;
	font-style: normal;
}
mark {
}
p {
	margin: 0 0 1.5em;
}

blockquote,q {
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
	quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
	content: none;
}
blockquote {
	font-size: 15px;
	margin: 20px;
}
blockquote blockquote {
	margin-right: 0;
}
blockquote cite,
blockquote small {
	font-size: 14px;
	font-weight: normal;
	text-transform: uppercase;
}
blockquote em,
blockquote i {
	font-style: normal;
	font-weight: 300;
}
blockquote strong,
blockquote b {
	font-weight: 400;
}
small {
	font-size: smaller;
}
sub,sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
dl {
	margin: 0 20px;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 0 20px;
}
menu,ol,ul {
	margin:0;
	padding: 0;
}
ul {
	list-style-type: square;
}
nav ul,
nav ol {
	list-style: none;
	list-style-image: none;
}
li > ul,
li > ol {
	margin: 0;
}
img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	vertical-align: middle;
}
svg:not(:root) {
	overflow: hidden;
}
figure {
	margin: 0;
}
form {
	margin: 0;
}
fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}
legend {
	border: 0;
	padding: 0;
	white-space: normal;
}
button,input,select,textarea {
	font-size: 100%;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
}
button,input {
	line-height: normal;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}
button[disabled],
input[disabled] {
	cursor: default;
}
input[type="checkbox"],
input[type="radio"] {
	padding: 0;
}
input[type="search"] {
	-webkit-appearance: textfield;
	padding-right: 2px; /* Don't cut off the webkit search cancel button */
	width: 270px;
}
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}
textarea {
	overflow: auto;
	vertical-align: top;
}
table {
	border-bottom: 1px solid #ededed;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 14px;
	line-height: 2;
	margin: 0 0 20px;
	width: 100%;
}
caption,th,td {
	font-weight: normal;
	text-align: left;
}
caption {
	font-size: 16px;
	margin: 20px 0;
}
th {
	font-weight: bold;
	text-transform: uppercase;
}
td {
	border-top: 1px solid #ededed;
	padding: 6px 10px 6px 0;
}
del {
	color: #333;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
hr {
	background: url(images/dotted-line.png) repeat center top;
	background-size: 4px 4px;
	border: 0;
	height: 1px;
	margin: 0 0 24px;
}
.clear:before,
.clear:after {
	content: "";
	display: table;
}

img.size-full,
img.size-large,
img.wp-post-image {
	height: auto;
	max-width: 100%;
}
embed,
iframe,
object,
video {
	max-width: 100%;
}

/* Images */
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft {
	margin: 5px auto 10px;
}
.wp-caption.alignleft {
	margin: 5px auto 10px;
}
img.alignright {
	margin: 5px auto 10px;
}
.wp-caption.alignright {
	margin: 5px auto 10px;
}
img.aligncenter {
	margin: 5px auto 10px;
}
img.alignnone {
	margin: 5px 0 10px;
}

/*
 * ----------------------------------------------------------------------------
 * HEADER
 * ----------------------------------------------------------------------------
 */
body {
	border-top: 2px solid #555;
	background-color: #fafafa;
}
#header {
 	clear:both;
 	width: 100%;
 	margin:0;
 	overflow: auto;
 	background-color: #fff;
 	border-bottom: 1px solid rgba(0,0,0,.0975);
 	height: 75px;
}
.header-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding:0 20px;
}
.site-title {
	font-size: 23px;
	font-weight: normal;
	display:inline-block;
	padding: 26px 0 0 0;
}

/*
 * ----------------------------------------------------------------------------
 * NAV
 * ----------------------------------------------------------------------------
 */
#nav {
	float:right;
}
#nav ul {
	padding:0;
	margin:0;
}
#nav ul li {
	float:left;
	padding:0;
}
#nav ul li a {
	display: block;
	font-size: 11px;
	color: #888;
	text-decoration: none;
	font-weight: lighter;
	letter-spacing: 0.15em;
	background-color: #ddd;
	margin:0 0 0 3px;
	padding:1em;
}
#nav ul li a:hover,
#nav ul li a.current {
	color:#eee;
	background-color:#555;
	transition: 0.2s;
}

/*
 * ----------------------------------------------------------------------------
 * HOME
 * ----------------------------------------------------------------------------
 */
#home {
	max-width: 1200px;
	margin:0 auto;
	background-color: #fafafa;
	overflow: hidden;
	padding: 40px 20px;
}
#home header {
	float: left;
	width: 100%;
	border-bottom:4px double #999;
	margin-bottom: 20px;
}
#home h1 {
	display: inline-block;
	font-size: 20px;
	padding:1em 0 .5em;
	float: left;
	clear: none;
	font-weight: bold;
}
#home h2 {
	font-size: 20px;
	padding:1em 0 .5em .5em;
	float: left;
	clear: none;
	font-weight:bold;
}
#home p {
	margin:0;
	clear: both;
}
ul.gallery {
	position: relative;
	width: 100%;
	margin:0 auto;
	display: -webkit-flex; /*safari*/
	display: flex;
	-webkit-flex-wrap:wrap; /*safari*/
  flex-wrap:wrap;
  -webkit-justify-content:center; /*safari*/
  justify-content:center;
}
.gallery li {
  width: 16.3%;
	list-style: none;
	display: block;
	float: left;
	font-size: 12px;
	margin:0 .4% 4px 0;
}
.gallery li:nth-child(6n) {
	margin:0 0 4px 0;
}
.gallery li a {
	display:block;
}
.gallery li a img {
	display: block;
	width: 100%;
	height:auto;
}

.moreread {
	width: 30%;
	margin:40px auto 0;
	text-align: center;
}
.moreread a {
	display: block;
	background-color: #ddd;
	color: #888;
	font-size: 12px;
	padding: 1em 2em;
	text-decoration: none;
}
.moreread a:hover {
	color:#eee;
	background-color:#555;
	transition: 0.2s;
}

#contact {
	max-width: 720px;
	padding: 0 10px;
	margin:40px auto;
}
#contact h3 {
	font-size: 14px;
	font-weight: normal;
	padding-bottom: .5em;
}
#contact input,
#contact textarea {
	width: 100%;
	font-size: 16px;
}
#contact input.wpcf7-submit {
	width: auto;
	font-size: 14px;
}

.single {
	max-width: 720px;
	margin:40px auto;
}
.single img {
	width: 100%;
	height: auto;
}
.single h1 {
	font-size: 11px;
	padding: 1em 0;
	color: #444;
	font-weight: normal;
	text-align: center;
}
.post-nav {
	padding: 10px;
}
.post-nav a {
	color: #444;
	font-size: 12px;
}
.next-post {
	width: 49%;
	float: left;
}
.prev-post {
	width: 49%;
	float: right;
	text-align: right;
}

/**
 * 5.11 404
 * ----------------------------------------------------------------------------
 */

#error {
	text-align: center;
}
#error h2 {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 1em;
    padding-left: 12px;
}
#error p {
	font-size: 13px;
}

/**
 * フッター
 * ----------------------------------------------------------------------------
 */
#footer {
	width: 100%;
	min-height: 100px;
	clear: both;
	background-color:#444;
	overflow: hidden;
	margin:0;
	padding: 0;
}
#footer .wrap {
	max-width: 90%;
	margin: 0 auto;
}
#footer-nav {
	width: 100%;
	float: left;
}
#footer-nav ul {
	clear: both;
	padding:0;
	margin:40px 0;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
}
#footer-nav ul li {
	float:left;
	margin: 0 1em;
	padding:0;
	line-height: 1;
	display: block;
	text-align: center;
}
#footer-nav ul li a {
	letter-spacing: 0.15em;
	color:#888;
	font-size: 11px;
}
#footer-nav ul li a:hover,
#footer-nav ul li a:active,
#footer-nav ul li a.current {
	color:#888;
	text-decoration: underline;
}
address.copyright  {
	width: 100%;
	color:#888;
	font-size: 10px;
	font-style: normal;
	text-align: center;
	padding-bottom: 1em;
}

/**
 * 8.0 Media Queries
 * ----------------------------------------------------------------------------
 */
@media screen and (max-width: 736px) {
#header {
	height: 50px;
}
.header-wrap {
	padding: 0 0 0 20px;
}
.site-title {
		font-size: 20px;
		padding: 15px 0 0 0;
}
#nav ul {
	margin:0;
}
#home {
	padding: 20px 0;
}
#home p {
	font-size: 14px;
	line-height: 2;
}
ul.gallery {
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
}
.gallery li  {
	width: 33%;
	margin:0 .5% 2px 0;
}
.gallery li:nth-child(6n) {
	margin:0 .5% 2px 0;
}
.gallery li:nth-child(3n) {
	margin:0 0 2px 0;
}

/***** FOOTER *****/
.site-footer {
	width: 100%;
}
.footer-nav {
	text-align: center;
}
.footer-nav ul {
	width: 100%;
	margin:30px 0 0;
	text-align:center;
	padding:0;
}
.footer-nav ul li {
	width:20%;
	padding:0 0 0.5em;
	margin:0;
	line-height: 1;
}
.footer-nav ul li.f-nav-appointment,
.footer-nav ul li.f-nav-blog {
	width: 50%;
}
.footer-nav ul li a {
	display: block;
	font-size: 13px;
	padding:0.5em 0;
}
.footer-nav a:hover {
	text-decoration: none;
}
.footer-nav ul li a span {
	font-size: 9px;
}
.footer-info {
	text-align: center;
	padding:20px 0 30px;
}
.footer-info table {
	float: none;
	margin:0 auto 20px;
}

.copyright address {
	font-size: 9px;
	padding-top: 3em;
}
}