/*
Theme Name:  TEKTOME JA
*/ 

.wp-content:after {
	content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.wp-content {
  display: block;
  text-align: left;
  font-weight: 500;
  line-height: 2;
}
.wp-content * {
  max-width: 100%;
}
.wp-content p {
  margin: 1em 0;
  font-size: 16px;
  font-weight: 500;
}
.wp-content strong { font-weight: bold; }
.wp-content b { font-weight: bold; }
.wp-content em { font-style: italic; }
.wp-content pre {
  background-color: #eee;
  border: 1px solid #ccc;
  padding: 7px;
  overflow: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 16px;
}
.wp-content 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-content blockquote:before {
  color: #C8C8C8;
  content: "“";
  font-family: serif;
  font-size: 600%;
  left: 0;
  line-height: 1em;
  position: absolute;
  top: 0;
}
.wp-content blockquote:after {
  color: #C8C8C8;
  content: "”";
  font-family: serif;
  font-size: 600%;
  line-height: 0;
  position: absolute;
  right: 0;
  bottom: -16px;
}
.wp-content h1 {
  font-size: 26px;
  line-height: 1.3em;
  margin-top: 2em;
  margin-bottom: 1em;
  clear: both;
  font-weight: bold;
}
.wp-content h2 {
  font-size: 24px;
  line-height: 1.3em;
  margin-top: 2em;
  margin-bottom: 1em;
  font-weight: bold;
}
.wp-content h3 {
  font-size: 20px;
  line-height: 1.3em;
  margin-top: 2em;
  margin-bottom: 1em;
  font-weight: bold;
}
.wp-content h4 {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3em;
  margin-top: 2em;
  margin-bottom: 1em;
}
.wp-content h5 {
  font-size: 16px;
  line-height: 1.3em;
  margin-top: 2em;
  margin-bottom: 1em;
  font-weight: bold;
}

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

/*Pagenation*/
.wp-pagenavi {
  text-align: center;
  margin-top: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.wp-pagenavi .page,
.wp-pagenavi .current {
  width: 42px;
  height: 48px;
  margin: 0 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 16;
  font-weight: bold;
}
.wp-pagenavi .current {
  color: #fff;
}
.wp-pagenavi .page {
  text-decoration: none;
  color: #2B2B2B;
}
.wp-pagenavi .page:after {
  content: "";
  z-index: -1;
  background: url(assets/img/bg_pager.svg) no-repeat center/contain;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.wp-pagenavi .current:after {
  content: "";
  z-index: -1;
  background: url(assets/img/bg_pager_current.svg) no-repeat center/contain;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
}
.previouspostslink {
  position: absolute;
  left: 0;
  top: 9px;
  font-weight: 500;
  color: inherit;
}
.nextpostslink {
  position: absolute;
  right: 0;
  top: 9px;
  font-weight: 500;
  color: inherit;
}
@media screen and (max-width: 750px){
  .previouspostslink,
  .nextpostslink {
    display: none;
  }
}

.nextPostBg {
	text-align: right;
}
.nextPostBg p {
	display: inline-block;
	margin-left: 3px;
}
.nextPostBg p a {
	padding: 4px 10px;
	display: block;
	color: #fff;
	background-color: #7b7b7b;
	text-decoration: none;
}
.nextPostBg p a:hover {
	color: #7b7b7b;
	background-color: #fff;
	border: #7b7b7b 1px solid;
	padding: 3px 9px;
	text-decoration: none;
}

/*********************************
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;
}