/*
Theme Name:  KURASU
*/

.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 p {
  margin: 2em 0;
  font-size: 14px;
  line-height: 1.8em;
}
.wp_post p:first-child {
  margin-top: 0;
}
.wp_post p:last-child {
  margin-bottom: 0;
}
.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 #004b6e;
  border-top: 2px solid #004b6e;
  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 #004b6e;
  border-top: 2px solid #004b6e;
  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 #004b6e;
  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 #004b6e;
  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*/
.pagenation {
  text-align: center;
  margin-top: 60px;
}
.pagenation > * {
  margin: 0 5px;
  display: inline-block;
  border: 1px solid #333;
  width: 30px;
  height: 30px;
  font-size: 14px;
  border-radius: 15px;
  font-weight: bold;
  text-decoration: none;
  padding-top: 3px;
  vertical-align: middle;
}
.pagenation a {
  color: #333333;
  background-color: #fff;
}
.pagenation .current,
.pagenation a:hover {
  color: #fff;
  background-color: #333333;
}
.pagenation .pages,
.pagenation a.last,
.pagenation a.first {
  padding: 5px 8px;
  width: auto;
}

.wp-pagenavi {
  text-align: center;
  margin-top: 60px;
}
.wp-pagenavi > * {
  margin: 0 5px;
  display: inline-block;
  border: 1px solid #333;
  width: 30px;
  height: 30px;
  font-size: 14px;
  border-radius: 15px;
  font-weight: bold;
  text-decoration: none;
  padding-top: 3px;
  vertical-align: middle;
}
.wp-pagenavi a {
  color: #333333;
  background-color: #fff;
}
.wp-pagenavi .current,
.wp-pagenavi a:hover {
  color: #fff;
  background-color: #333333;
}
.wp-pagenavi .pages,
.wp-pagenavi a.last,
.wp-pagenavi a.first {
  padding: 5px 8px;
  width: auto;
}

.nextPostBg {
  max-width: 1000px;
	margin: 120px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nextPostBg .left {
	width: 280px;
}
.nextPostBg .left a {
  display: block;
  text-decoration: none;
  color: inherit;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.1em;
  padding-left: 50px;
  position: relative;
}
.nextPostBg .left a:after {
  content: "<";
  width: 24px;
  height: 24px;
  position: absolute;
  top: calc(50% - 12px);
  left: 0px;
  border: 1px solid #333;
  border-radius: 50%;
  text-align: center;
  line-height: 1.6em;
}
.nextPostBg .left a:hover:after {
  background-color: #333;
  color: #fff;
}


.nextPostBg .right {
	width: 280px;
}
.nextPostBg .right a {
  display: block;
  text-decoration: none;
  color: inherit;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.1em;
  padding-right: 50px;
  position: relative;
}
.nextPostBg .right a:after {
  content: ">";
  width: 24px;
  height: 24px;
  position: absolute;
  top: calc(50% - 12px);
  right: 0px;
  border: 1px solid #333;
  border-radius: 50%;
  text-align: center;
  line-height: 1.6em;
}
.nextPostBg .right a:hover:after {
  background-color: #333;
  color: #fff;
}

.nextPostBg .center a {
  width: 190px;
  display: inline-block;
  font-size: 12px;
  text-decoration: none;
  color: inherit;
  border: 1px solid #333;
  text-align: center;
  padding: 10px 0;
  border-radius: 8px;
}
.nextPostBg .center a:hover {
  background-color: #333;
  color: #fff;
}
@media screen and (max-width: 750px){
  .nextPostBg {
    display: block;
    width: 100%;
    margin-top: 60px;
    padding: 0 15px;
  }
  .nextPostBg .left {
    width: auto;
    margin-bottom: 20px;
  }
  .nextPostBg .right {
    width: auto;
    margin-top: 20px;
    text-align: right;
  }
  .nextPostBg .center {
    text-align: center;
  }
}

/*********************************
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;
}


#toc_container {
  margin: 80px 0 80px;
  padding-left: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}
.wp_post .toc_title {
  max-width: initial;
  display: flex;
  font-size: 14px;
  letter-spacing: 0.1em;
  justify-content: space-between;
  align-items: center;
  margin-left: -80px;
  width: calc(100% + 80px);
}
.wp_post .toc_title:before {
  content: "";
  height: 1px;
  background-color: #333;
  margin-right: 8px;
  flex: 1;
  display: block;
}
.wp_post .toc_title:after {
  content: "";
  height: 1px;
  background-color: #333;
  margin-left: 8px;
  flex: 1;
  display: block;
}
.wp_post .toc_list,
.wp_post .toc_list ul {
  list-style: none;
  font-size: 14px;
}
.wp_post .toc_list li {
  font-size: 14px;
  line-height: 2;
}
.wp_post .toc_list li a {
  text-decoration: none;
  color: inherit;
}
.wp_post .toc_list li a:hover {
  text-decoration: underline;
}
@media screen and (max-width: 750px){
  #toc_container {
    margin: 40px 0 40px;
    padding-left: 0;
  }
  .wp_post .toc_title {
    width: auto;
    margin-left: 0;
  }
}

@media screen and (max-width: 750px){
  .mwform-checkbox-field.horizontal-item {
    display: block;
  }
  .mw_wp_form .horizontal-item + .horizontal-item {
    margin-left: 0 !important;
  }
}