/*
Theme Name:  Crest Vehicle
*/ 

.wp-post:after {
	content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.wp-post {
  display: block;
  text-align: left;
  letter-spacing: 0.15em;
}
.wp-post * {
  max-width: 100%;
}
.wp-post p {
  margin: 1em 0;
  font-size: 16px;
  line-height: 2;
}
.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 #78e600;
  border-top: 2px solid #78e600;
  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 #78e600;
  border-top: 2px solid #78e600;
  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 #78e600;
  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 #78e600;
  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: 0 auto;
}
.pageNation ul {
    margin: 0;
}
.pageNation li {
	font-size: 16px;
	margin-right: 6px;
	display: inline-block;
	color: #242537;
	text-align: center;
	background-color: #eeeeee;
	border-radius: 4px;
  overflow: hidden;
  line-height: 40px;
  width: 40px;
}
.pageNation li.prev,
.pageNation li.next {
  width: 70px;
}
.pageNation li.active {
	color: #fff;
	background-color: #242537;
}
.pageNation li a {
	display: block;
	line-height: 40px;
  width: 100%;
  text-decoration: none;
  color: inherit;
}
.pageNation li a:hover {
	text-decoration: none;
	color: #fff;
	background-color: #b92f24;
}
.wp-pagenavi {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  gap: 24px;
}
.wp-pagenavi > * {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wp-pagenavi a.page,
.wp-pagenavi span {
  color: #fff;
  background-color: #c9cdd1;
}
.wp-pagenavi .current,
.wp-pagenavi a.page:hover {
  background-color: #78e600;
}
.nextpostslink {
  text-indent: -9999px;
  background: url(assets/img/next_pager.svg) no-repeat center center/12px auto;
}
.previouspostslink {
  text-indent: -9999px;
  background: url(assets/img/prev_pager.svg) no-repeat center center/12px auto;
}

.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 .error {
  padding-left: 1em;
}
.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;
}