/*
Theme Name:  Nakata Home
*/ 

.wp_post:after {
	content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.wp_post {
  display: block;
  text-align: left;
}
.wp_post * {
  max-width: 100%;
}
.wp_post > *:first-child {
  margin-top: 0;
}
.wp_post p {
  margin: 1em 0;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
}
.wp_post strong { font-weight: bold; }
.wp_post em { font-style: italic; }
.wp_post pre {
  background-color: #eee;
  border: 1px solid #ccc;
  padding: 7px;
  overflow: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 16px;
}
.wp_post blockquote {
  background: none repeat scroll 0 0 rgba(245, 245, 245, 0.8);
  border: 1px solid #FFFFFF;
  margin: 1em 0;
  padding: 20px 55px;
  position: relative;
  font-size: 16px;
}
.wp_post blockquote:before {
  color: #C8C8C8;
  content: "“";
  font-family: serif;
  font-size: 600%;
  left: 0;
  line-height: 1em;
  position: absolute;
  top: 0;
}
.wp_post blockquote:after {
  color: #C8C8C8;
  content: "”";
  font-family: serif;
  font-size: 600%;
  line-height: 0;
  position: absolute;
  right: 0;
  bottom: -16px;
}
.wp_post h1 {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.3em;
  margin-top: 2em;
  margin-bottom: 1em;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #b89e4a;
  border-top: 2px solid #b89e4a;
  clear: both;
}
.wp_post h2 {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.3em;
  margin-top: 2em;
  margin-bottom: 1em;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #b89e4a;
  border-top: 2px solid #b89e4a;
  clear: both;
}
.wp_post h3 {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.3em;
  margin-top: 2em;
  margin-bottom: 1em;
  border-left: 5px solid #b89e4a;
  padding-left: 6px;
  clear: both;
}
.wp_post h4 {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3em;
  margin-top: 2em;
  margin-bottom: 1em;
  border-bottom: 1px solid #b89e4a;
  padding-bottom: 5px;
  clear: both;
}
.wp_post h5 {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.3em;
  margin-top: 2em;
  margin-bottom: 1em;
  clear: both;
}
.wp_post h6 {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.3em;
  margin-top: 2em;
  margin-bottom: 1em;
  clear: both;
}

.wp_post table {
	width: 100%;
  margin-bottom: 2em;
  border-collapse: collapse;
  border-spacing: 0;
}
.wp_post table th {
	background-color: #eee;
	padding: 8px;
  border: 1px solid #AAAAAA;
  font-size: 16px;
}
.wp_post table td {
	padding: 8px;
  border: 1px solid #AAAAAA;
  font-size: 16px;
}
.wp_post ul {
	list-style: disc;
	padding-left: 1.2em;
	margin-bottom: 1em;
}
.wp_post ol {
	list-style: decimal;
	padding-left: 1.2em;
	margin-bottom: 1em;
}
.wp_post ul li,
.wp_post ol li {
  margin: 10px 0;
  font-size: 16px;
}
.wp_post a:not(.telLink) {
	text-decoration: underline;
	color: #003CFF;
}
.wp_post a:hover {
	color: #FF0004;
}
.wp_post dt {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 16px;
}
.wp_post dd {
  margin-bottom: 20px;
  font-size: 16px;
}
/* img */
.wp_post img {
	vertical-align: middle;
  height: auto;
  max-width: 100%;
}
.wp_post img[class*="wp-image-"],
.wp_post img[class*="attachment-"],
.wp_post img.pict {
	margin: 1em 1em 2em 0;
	vertical-align: bottom;
}
.wp_post img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp_post img.alignright {
	padding: 4px;
	margin: 0 0 2em 1em;
	display: inline;
  vertical-align: top;
  float: right;
}
.wp_post img.alignleft {
	padding: 4px;
	margin: 0 1em 2em 0;
	display: inline;
  vertical-align: top;
  float: left;
}

/*Pagenation*/
.wp-pagenavi {
  margin-top: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wp-pagenavi span,
.wp-pagenavi .page {
  display: flex;
  width: 36px;
  height: 36px;
  justify-content: center;
  align-items: center;
  margin: 0 4px;
  font-size: 18px;
  font-weight: 500;
  background-color: #f8f7f4;
  text-decoration: none;
  color: inherit;
}
.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink {
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  margin: 0 4px;
}
.wp-pagenavi .nextpostslink:before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  transform: rotate(45deg);
}
.wp-pagenavi .previouspostslink:before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  transform: rotate(-135deg);
}
.wp-pagenavi a.last {
  margin-left: 16px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
}
.wp-pagenavi a.first {
  margin-right: 12px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
}
@media screen and (max-width: 750px){
  .wp-pagenavi {
    margin-top: 60px;
  }
  .wp-pagenavi span,
  .wp-pagenavi .page {
    width: 32px;
    height: 32px;
    font-size: 16px;
    margin: 0 2px;
  }
  .wp-pagenavi .nextpostslink,
  .wp-pagenavi .previouspostslink {
    width: 32px;
    height: 32px;
    margin: 0 2px;
  }
  .wp-pagenavi a.last,
  .wp-pagenavi a.first {
    font-size: 16px;
  }
}

.post-nav {
  margin: 70px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 30px;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  max-width: 980px;
}
.post-nav__center a {
  display: block;
  background-color: #524b40;
  width: 170px;
  color: #fff;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  line-height: 2;
  text-decoration: none;
  border-radius: 6px;
}
.post-nav__prev,
.post-nav__next {
  width: 270px;
}
.post-nav__prev a {
  display: block;
  padding-left: 40px;
  background: url(assets/img/works/btn_prev_post.svg) no-repeat left center/20px;
  text-decoration: none;
  color: inherit;
}
.post-nav__next a {
  display: block;
  padding-right: 40px;
  background: url(assets/img/works/btn_next_post.svg) no-repeat right center/20px;
  text-decoration: none;
  color: inherit;
}
@media screen and (max-width: 750px){
  .post-nav {
    padding: 20px 20px;
  }
  .post-nav__prev,
  .post-nav__next {
    width: calc((100% - 160px) / 2);
  }
  .post-nav__prev a {
    padding-left: 27px;
    font-size: 12px;
  }
  .post-nav__next a {
    padding-right: 27px;
    font-size: 12px;
  }
  .post-nav__center a {
    width: 120px;
    font-size: 14px;
  }
}

/*********************************
MW WP FORM
*********************************/
.mw_wp_form_confirm .confirmHidden {
	display: none !important;
}
.mw_wp_form_input .inputHidden {
	display: none !important;
}
.mw_wp_form input.large {
  width: 100%;
  max-width: 400px;
}
.mw_wp_form input.short {
  width: 100%;
  max-width: 180px;
}
.mw_btn_area {
  text-align: center;
}
.mw_btn_area input {
  min-width: 240px;
  height: 60px;
  padding: 0 10px;
  margin: 10px;
  color: #fff;
  -webkit-appearance: none;
  border-style: none;
  background: #04c9c2;
  cursor: pointer;
}
.mw_btn_area input.mw_btn_back {
  background: #a7a7a7;
}
.mw_btn_area input:hover {
  opacity: 0.8;
}
.mw_require {
  color: #fff;
  background-color: red;
  border-radius: 4px;
  padding: 3px 8px;
  margin-left: 4px;
  display: inline-block;
}
@media screen and (max-width: 750px){
  .mw_table,
  .mw_table th,
  .mw_table td,
  .mw_table tr,
  .mw_table tbody {
    width: 100%;
    display: block;
  }
}

/*********************************
Comments
*********************************/
#commentArea {
	text-align: left;
}
h3#comments{
	padding: 10px 0 10px 10px;
	clear: both;
	margin-top:40px;
	border-top:1px solid #ddd;
}
	
.commentlist{
  margin-bottom:30px;
}
.commentlist li {
  border-top:1px solid #ddd;
  padding:15px 0 0 55px;
  position:relative;
}
.commentlist .avatar {
  background:#fff;
  border:1px solid #ddd;
  left:0;
  margin:0 16px 0 0;
  padding:3px;
  position:absolute;
  top:15px;
}
.commentlist .comment-meta{
  margin-bottom:10px;
}
.commentlist .comment-meta a{
  color: #999;
  font-size:85%;
  text-decoration:none;
}
.commentlist .comment-meta a:hover{
  color: #ccc;
}
.commentlist p{
  margin-bottom:15px;
}
.commentlist .reply a{
  position: absolute;
  top: 15px;
  right: 0;
  padding: 2px 10px;
  background: #ddd;
  font-size: 85%;
  color: #333;
  text-decoration: none;
}
.commentlist .reply a:hover {
  color: #999
}
#respond{
  margin-top:70px;
}
#respond h3{
  border-bottom:1px solid #ddd;
  border-top:1px solid #ddd;
  padding:10px 0 10px 10px;
}
#commentform{
  margin-top:20px;
}
#commentform p{
  clear: both
}
#commentform label{
  margin: 10px 0;
  vertical-align: top;
  width: 30%;
  display: inline-block;
}
#commentform input[type="text"], #commentform textarea{
  margin: 5px 0 10px;
}
#commentform input[type="text"]:focus, #commentform textarea:focus{
  border:1px solid #06c;
}

/*********************************
404
*********************************/
.error404 h2 {
	font-size: 30px;
	color: #FF0004;
	text-align: center;
	padding: 160px 0 60px;
}
.error404 p {
	font-size: 20px;
	text-align: center;
	padding-bottom: 100px;
}

/*********************************
ログイン画面
*********************************/
.login h1 a {
  background-size: 84px;
  width: 84px;
  height: 84px;
}