/*
Theme Name:     kpj
Author:         Morimon
Template:       twentyseventeen
*/

@import url('twentyseventeen_style.css');

html{
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

small{
	font-size: smaller;
}



.entry-content{
	font-size:14px;
}

.page-numbers,
.page-numbers {
	background-color: #333;
	display: inline-block;
	padding: 5px;
	box-sizing: border-box;
}

.pagination .nav-links > span.page-numbers.dots{
	background-color: transparent !important;
	color: #333;
	border:none;
	
}

#post-list a.page-numbers{
	-webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
}

.prev.page-numbers:focus,
.prev.page-numbers:hover,
.next.page-numbers:focus,
.next.page-numbers:hover {
    background: #fadf81;
    transition: .1s;
    //transform: scale(1.0);
}

.prev.page-numbers {
	float: left;
}

.next.page-numbers {
	float: right;
}


.prev.page-numbers svg,
.next.page-numbers svg{
	display: none;
}



.no-svg .prev.page-numbers .screen-reader-text,
.no-svg .next.page-numbers .screen-reader-text{
	font-size: 15px;
	color: #fff;
	font-weight: bold;
}

.no-svg a.page-numbers{
	text-decoration: none !important;
}

.widget {
    padding-bottom: 0;
}



form.search-form{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}


#side .widget ul li, .widget ol li {
	border-top: 1px solid rgba(145, 145, 147,0.25);
	border-bottom:none;
	padding: 0;
}

#side .widget ul li:first-child, .widget ol li:first-child {
  border-top: none;
}

#side .widget .btn_more {
	margin: 0 5px 5px;
	text-align: center;
}

#side .widget .btn_more a {
	display: block;
	font-weight: normal;
	font-size: 90%;
	background: #DFA8A8 url(../../../images/blog_parts/arrow_btn01.png) no-repeat 95% center;
	color: #fff;
	text-decoration: none !important;
	padding: 8px 5px ;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	transition: background 0.2s;
}


#contents .entry-content h1 {
	color: #333;
	background: none;
}

#contents .entry-content .link-more {
	text-align: right;
}

.entry-content a,
.entry-summary a,
.widget a,
.site-footer .widget-area a,
.posts-navigation a,
.widget_authors a strong {
	-webkit-box-shadow: none;
	box-shadow: none;
}

.entry-title a,
.entry-meta a,
.page-links a,
.page-links a .page-number,
.entry-footer a,
.entry-footer .cat-links a,
.entry-footer .tags-links a,
.edit-link a,
.post-navigation a,
.logged-in-as a,
.comment-navigation a,
.comment-metadata a,
.comment-metadata a.comment-edit-link,
.comment-reply-link,
a .nav-title,
.pagination a,
.comments-pagination a,
.site-info a,
.widget .widget-title a,
.widget ul li a,
.site-footer .widget-area ul li a,
.site-footer .widget-area ul li a {
	-webkit-box-shadow: none;
	box-shadow: none;
}

.entry-content a:focus,
.entry-content a:hover,
.entry-summary a:focus,
.entry-summary a:hover,
.widget a:focus,
.widget a:hover,
.site-footer .widget-area a:focus,
.site-footer .widget-area a:hover,
.posts-navigation a:focus,
.posts-navigation a:hover,
.comment-metadata a:focus,
.comment-metadata a:hover,
.comment-metadata a.comment-edit-link:focus,
.comment-metadata a.comment-edit-link:hover,
.comment-reply-link:focus,
.comment-reply-link:hover,
.widget_authors a:focus strong,
.widget_authors a:hover strong,
.entry-title a:focus,
.entry-title a:hover,
.entry-meta a:focus,
.entry-meta a:hover,
.page-links a:focus .page-number,
.page-links a:hover .page-number,
.entry-footer a:focus,
.entry-footer a:hover,
.entry-footer .cat-links a:focus,
.entry-footer .cat-links a:hover,
.entry-footer .tags-links a:focus,
.entry-footer .tags-links a:hover,
.post-navigation a:focus,
.post-navigation a:hover,
.pagination a:not(.prev):not(.next):focus,
.pagination a:not(.prev):not(.next):hover,
.comments-pagination a:not(.prev):not(.next):focus,
.comments-pagination a:not(.prev):not(.next):hover,
.logged-in-as a:focus,
.logged-in-as a:hover,
a:focus .nav-title,
a:hover .nav-title,
.edit-link a:focus,
.edit-link a:hover,
.site-info a:focus,
.site-info a:hover,
.widget .widget-title a:focus,
.widget .widget-title a:hover,
.widget ul li a:focus,
.widget ul li a:hover {
	-webkit-box-shadow: none;
	box-shadow: none;
}

.entry-content a img,
.widget a img {
	-webkit-box-shadow: none;
	box-shadow: none;
}

.post-navigation .nav-links {
    padding: 1em 2em;
}

dd {
    margin: 0;
}

img, video {
    max-width: none;
}

a {
    text-decoration: underline;
}

.navigation.pagination{
	padding:50px 0;
	overflow: hidden;
	text-align:center;
	width: 100% !important;
}
.pagination .nav-links{
	list-style: none;
	position: relative;
	left: 50%;
	float: left;
}

.pagination .next.page-numbers,
.pagination .prev.page-numbers {
    float: left;
	border-radius: 0 !important;
}
.pagination .nav-links>.next.page-numbers a,
.pagination .nav-links>.prev.page-numbers a {
    color: #fff;
}


.pagination .nav-links>.prev.page-numbers .screen-reader-text,
.pagination .nav-links>.next.page-numbers .screen-reader-text {
	font-size: 15px;
	color: inherit;
	clip-path: none;
	font-weight: normal !important;
	margin: 0;
}

.pagination .nav-links>span,
.pagination .nav-links>a {
	width: auto !important;
	margin: 4px;
	position: relative;
	left: -50%;
	float: left;
	display: block;
	letter-spacing: normal;
	line-height:1;
	padding: 0.5em 1em !important;
	background: #fff !important;
	text-decoration: none;
	font-size: 15px !important;
	font-weight: normal !important;
	transition: 0.6s;
	border: none !important;
	line-height:1.8;
}

.pagination .nav-links>span.current{
	background: #919193 !important;
	color: #fff !important;
	font-weight: bold !important;
}


.pagination .nav-links>span.current .screen-reader-text{
	display:none;
}

.search-submit .screen-reader-text{
-webkit-clip-path: none;
clip-path: none;
margin:0;
}


.pagination .nav-links .next>a {
	display: block;
	font-size: 15px;
	padding:0.5em 1em;
	border-radius:8px;
	background: #333;
	text-decoration: none;
}

.pagination .nav-links>a:hover {
	color: rgb(52, 49, 41) !important;
	background: #dcdfe2 !important;
	transition: 0.1s !important;
	transform: none !important;
	opacity:1;
}


.pagination, .comments-pagination {
    border-top: none;
}

.keyword_search_navi{
	margin-top:50px !important;
}

.entry-content p img, .entry-content pre img{
	max-width: 100%;
	padding: 0.5em 0;
}

/*================================form================================*/
.widget_search .search-form input[type="search"] {
    font-size: 16px;
    -webkit-appearance: none;
    outline: none;
    position: relative;
    width: 100%;
    height: 50px;
    padding: 12px;
    border: 3px solid #919193;
    background: #fff;
}
    
.widget_search .search-form input[type="search"]:focus::placeholder {
    color: #919193;
}

.widget_search .search-form input[type="search"]:focus::-ms-input-placeholder {
    color: #919193;
}
    
.widget_search .search-form input[type="search"]:focus{
    position: relative;
    width: 100%;
    height: 50px;
    padding: 12px;
    border: 3px solid #919193;
    background: #fff;
    }
.widget_search .search-form button[type="submit"] {
    font-size:14px;
    position:absolute;
    right:0;
    top:0;
    height:50px;
    width:50px;
    border:none;
    background:url(../../../images/search.svg) no-repeat center center;
    background-size:32px;
    transition: .1s;
    }
.widget_search .search-form button[type="submit"]:hover {
    background:url(../../../images/search.svg) no-repeat center center;
    background-size:34px;
    transition: .1s;
    cursor : pointer;
    }
.widget_search .search-form button[type="submit"]>*{
	display:none;
}
.widget_search .search-form input::placeholder {
    color:#ddd;
    }
.widget_search .search-form input::-ms-input-placeholder {
    color:#ddd;
    }
    
.search-form{
	width:100%;
}

.search-form .search-submit{
	top: 11px;
}
.search-form .search-submit>svg{
	display:none;
}


.widget_search .search-form label{
	display:none;
}

/*==SP==*/
@media (max-width: 767px) {
.widget_search .search-form{
    padding:0;
    margin: 5px auto;
    }
.widget_search .search-form input[type="search"] {
width: 100%;
    height: 40px;
    padding: 9px 8px 7px;
    }
.widget_search .search-form input[type="search"]:focus{
    width:100%;
    height:50px;
    }
.widget_search .search-form button[type="submit"] {
width: 25px;
    height: 25px;
    box-sizing: content-box;
    padding: 0;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-size: contain;
    margin: 0;
    }

.navigation.pagination{
	padding: 5px 0 10px;
}
.pagination .nav-links>span,
.pagination .nav-links>a  {
  font-size: 15px;
  margin:4px 2.5px;
}
.pagination .nav-links > .prev.page-numbers .screen-reader-text, .pagination .nav-links > .next.page-numbers .screen-reader-text{
  font-size: 13px;
}
}
/*================================aside================================*/

aside #side h2.widget-title{
    position: relative;
    color: #333129;
    font-size:  15px;
    font-weight: 500;
    font-family: 'Zen Old Mincho', serif!important;
    display:block;
    line-height:1.5;
    padding: 20px 20px 20px 65px;
    margin-bottom: 0;
    border-bottom: none;
    cursor: pointer;
    }

aside #side h2.widget-title::after {
  content: "";
  position: absolute;
  top: 33px;
  right: 10px;
  width: 20px;
  height: 20px;
  transition: .5s;
  background: url(../../../images/icon_arrow2.svg) no-repeat center;
  background-size: auto;
  background-size: 100% auto;
}

.widget_archive ul {
  display: none;
}

aside #side .open h2.widget-title::after{
	top:26px;
	transform: rotate(180deg);
	}

aside #side h2.widget-title:before {
	letter-spacing: 0.02em;
	color: #333129;
	font-size: 10px;
	font-weight: 500;
	font-family: "Cardo", serif;
	display: block;
    background-image: none;
    width: auto;
    height: auto;
    position: static;
    transform: none;
}
	
aside #side .widget_recent_entries h2.widget-title{
    background: #f4f4f5 url("../../../images/icon-post.svg") no-repeat left 15px center;
    background-size: 38px;
}

aside #side .widget_recent_entries h2.widget-title:before {
	content: "RECENT POSTS";
}
	
aside #side .widget_categories h2.widget-title{
    background: #f4f4f5 url("../../../images/icon-category.svg") no-repeat left 15px center;
    background-size: 38px;
}

aside #side .widget_categories h2.widget-title:before {
	content: "CATEGORY";
	}
aside #side .widget_archive h2.widget-title{
    background: #f4f4f5 url("../../../images/icon-archive.svg") no-repeat left 15px center;
    background-size: 38px;
}

aside #side .widget_archive h2.widget-title:before {
	content: "ARCHIVE";
	}
aside #side .widget ul{
border-left: 1px solid rgba(232, 222, 198,0.5);
  border-right: 1px solid rgba(232, 222, 198,0.5);
  border-bottom: 1px solid rgba(232, 222, 198,0.5);
	}

.news_blog aside #side .widget li {
  list-style: none;
}
.news_blog aside #side .widget li a {
  color: #333;
  margin: auto;
  display: block;
  font-size: 1.4rem;
  padding: 15px 40px 15px 15px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-transition: 0.1s;
  transition: 0.1s;
  text-decoration: none;
  background: url(../../../images/icon_arrow2.svg) no-repeat right 10px center;
  background-size: 14px;
  text-decoration: none;
}
.news_blog aside #side .widget li a:hover {
  background: #f3f7fb url(../../../images/icon_arrow2.svg) no-repeat right 10px center;
  background-size: 14px;
}
.news_blog aside #side .widget li:first-child {
  border-top: none;
}

aside #side section{
	margin-bottom:20px;
}

/*==SP==*/
@media (max-width: 767px) {
	aside{
		width:100%;
		}
aside #side section{
	margin:0 0 10px 0;
}
  aside #side section.widget_archive {
    margin-bottom: 0px;
  }
	.accordion i {
		transform: rotate(0deg);
		}
	.accordion .open i {
		transform: rotate(180deg);
		}
	aside #side .widget ul {
		display:none;
		}
		
	aside #side h2.widget-title:after{
		top:38px;
		//transform: rotate(180deg);
		}
	aside #side .open h2.widget-title::after{
		top:32px;
		//transform: rotate(0deg);
	}
  aside #side h2.widget-title:before {
	font-size: 0.6rem;
	padding: 0;
  }
  aside #side h2.widget-title {
    padding: 20px 20px 20px 65px;
  }

}


#archive-list .tag_category {
    max-width: 84%;
}

#post-list .tag_category {
    max-width: 87%;
}

#adoption #post_main .tag_category a{
	color: #fff;
}

#adoption .post-navigation .nav-links > div a .tag_category{
color: #fff;
  background: #919193;
}


#contents article h1::after {
    content: "";
    display: block;
    margin-top: 0;
}


#contents article .entry-footer{
	clear:both;
	border:none;
	padding:0;
}


.header .inner .headerNav ul li:nth-child(2) a {
  letter-spacing: 0 !important;
}

@media (max-width: 767px) {
#contents article .entry-content p {
    font-size: small;
    }
}
#archive_h_title {
	width: 100%;
	margin-bottom: 20px;
	border-radius: 10px;
	background: #fafaf2 url(../../../../images/icon_archive.svg) no-repeat left 20px center;
	background-size: 50px;
	font-size: 150%;
	line-height: 1.3;
	padding: 30px 20px 30px 80px;
	border-bottom: 1px dotted #cfb5a9;
	font-family: 'Kosugi Maru', sans-serif;
}

#archive_h_title.category{
	background: #fafaf2 url(../../../../images/icon_category.svg) no-repeat left 20px center;
	background-size: 50px;
}

#archive_h_title span {
	font-family: 'Kosugi Maru', sans-serif;
    color: #be971f;
    display: block;
    font-size: 50%;
}

#search_h_title {
	width: 100%;
	margin-bottom: 20px;
	border-radius: 10px;
	background: #fafaf2 url(../../../images/icon_search.svg) no-repeat left 20px center;
	background-size: 50px;
	font-size: 150%;
	line-height: 1.3;
	padding: 30px 20px 30px 80px;
	border-bottom: 1px dotted #cfb5a9;
	font-family: 'Kosugi Maru', sans-serif;
}

#search_h_title span {
	font-family: 'Kosugi Maru', sans-serif;
    color: #be971f;
    display: block;
    font-size: 50%;
}

img.emoji {
	position: static !important;
}

/*===============================.post-navigation .nav-links================================*/
.post-navigation {
	font-weight: 400;
	margin: 30px 0 0;
}


.post-navigation .nav-links{
	list-style:none;
	display:block;
	transition: 1.0s;
	padding:0;
	}
	
.post-navigation .nav-links::before{
	content:none;
}
.post-navigation .nav-links>div{
	width: calc(100% / 2 - 10px);
	box-sizing: border-box;
}
	
.post-navigation .nav-links>div.nav-previous {
	float: right;
	text-align: left;
}

.post-navigation .nav-links>div.nav-next {
	float: left;
	text-align: left;
}

.post-navigation .nav-links>div.nav-next a::before{
display: block;
  content: "次の記事";
  font-weight: bold;
  padding-bottom: 10px;
}

#blog .post-navigation .nav-links>div.nav-next a::before{
  font-family: "Zen Old Mincho", serif;
}

.post-navigation .nav-links>div.nav-previous a::before{
display: block;
  content: "前の記事";
  font-weight: bold;
  padding-bottom: 10px;
}

#blog .post-navigation .nav-links>div.nav-previous a::before{
  font-family: "Zen Old Mincho", serif;
}

.post-navigation .nav-links>div a{
	color: #333129;
	width:100%;
	display:block;
	text-decoration:none;
	padding: 8px 10px 12px;
	box-sizing: border-box;
	transition: .5s;
	background-color: #f4f4f5;
}
	
.post-navigation .nav-links>div a::after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.post-navigation .nav-links>div h2{
font-size: 1em;
  font-family: none;
  text-overflow: ellipsis;
  box-sizing: border-box;
  margin-bottom: 0;
  letter-spacing: 0.1em;
  white-space: nowrap;
  overflow: hidden;
  text-align:left;
	}

#blog .post-navigation .nav-links>div h2{
  font-family: "Zen Old Mincho", serif;
}

.post-navigation .nav-links>div h2::before{
	display:none;
}

.post-navigation .nav-links>div p{
	font-size:14px;
	padding:0 10px;
	margin:0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	}
.post-navigation .nav-links>div .thumb{
	width:120px;
	position: relative;
	float:left;
	left:0;
	top:0;
	background: #f3f7fb;
	}
.post-navigation .nav-links>div .thumb::before{
	content: "";
	display: block;
	padding-top: 100%;
	}
.post-navigation .nav-links>div img{
	object-fit: cover;
	width:100%;
	height: 100%;
	line-height: 0;
	position: absolute;
	top: 0;
	transition: .5s;
	border-radius: 10px;
	}
.post-navigation .nav-links>div a time{
display: block;
  font-size: 0.8rem;
  text-align: right;
  padding-left: 130px;
  box-sizing: border-box;
	}

#blog .post-navigation .nav-links>div a time{
  font-family: "Cardo", serif;
}

.post-navigation .nav-links>div a .tag_category{
width: 250px;
  display: inline-block;
color: #343129;
  font-size: 12px;
  text-overflow: ellipsis;
  background: #fff;
  padding: 4px 10px;
  box-sizing: border-box;
  margin: 5px 0 5px 10px;
  white-space: nowrap;
  overflow: hidden;
}

.post-navigation .nav-links>div a:hover img{
	color:#282828;
	opacity:0.7;
	transition: .5s;
	}

/*==SP==*/
@media (max-width: 767px) {
.post-navigation .nav-links ul{
	display:block;
	margin-bottom:30px;
	}
.post-navigation .nav-links>div{
	width:100%;
	margin:4px 0;
	
	}
.post-navigation .nav-links>div a{
width: 100%;
margin: 0;
}
.post-navigation .nav-links>div .thumb{
	width:80px;
	position: relative;
	}
	
.post-navigation .nav-links>div h2{
	letter-spacing: 0.05em;
}


.post-navigation .nav-links>div p{
padding: 0 10px;
margin: 0 0 5px;
}

.post-navigation .nav-links>div a time{
padding-left: 90px;
	}

.post-navigation .nav-links>div a .tag_category{
width: 72%;
    font-size: small;
}

}

pre {
	background: #fff;
}

footer #sub_menu ul li a span {
	letter-spacing: 1px !important;
}

footer .contact_navi li a {
    letter-spacing: 0.15em !important;
    }
    
h2,
.home.blog .entry-title {
    color:#333;
}

.header p.catch {
    letter-spacing: -1px !important;
}

.header p.catch span {
    letter-spacing: -1px !important;
}

.works_blog .search-form{
	display:none;
}

/*==SP==*/
@media (max-width: 767px) {

#search-list .search-form{
	display:none;
}

#contents article h1 {
	font-size: 14px;
	padding: 10px 15px;
}

#contents article .tag_category {
	font-size:small;
}

#contents article time {
	font-size:small;
	padding: 0;
}

#contents article .entry-content{
	padding:0;
}
 
}


main .contents_sub_navi01 {
  clear:both;
}
.location .freeword .searchBox input[type="text"] {
    height:49px;
}

.location .freeword .searchBox input[type="submit"] {
    height:47px;
}

li > ul.submenu {
    margin-left: 0;
}

.news #col2_list article a {
    position: relative;
}

.news #col3_list article a {
    position: relative;
}



#post_box footer ul {
    list-style: none;
    text-align: right;
    padding: 15px 0;
    color: #6c6c6c;
    font-size: 14px;
    background: #fff;
    border-bottom: 1px dotted #eee;
}

