/*
Theme Name:     hiramame
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;
}

ol, ul {
  box-sizing: inherit;
}


.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: #333;
    color: #fff;
    transition: .1s;
}

.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;
}

.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{
border-bottom: 1px dotted #ddd;
}

#side .widget ul li, .widget ol li {
	padding: 0;
	border-top:none;
	border-bottom:none;
	margin-top: 0;
}

#side .widget ul li a {
color: #282929;
margin: auto;
display: block;
font-size: 1.4rem;
padding: 15px 40px 15px 15px;
box-sizing: border-box;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
transition: 0.1s;
text-decoration: none;
background-size: 16px auto;
text-decoration: none;
}
#side .widget ul li a:hover {
background: #fafafa;
}

#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: 0;
}

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;
	margin-top:4px;
}

.pagination .next.page-numbers,
.pagination .prev.page-numbers {
    float: left;
}
.pagination .nav-links>a.next.page-numbers,
.pagination .nav-links>a.prev.page-numbers {
	border-radius: 30px;
}


.pagination .nav-links>.prev.page-numbers .screen-reader-text,
.pagination .nav-links>.next.page-numbers .screen-reader-text {
	clip-path: none;
}

.pagination .nav-links>span,
.pagination .nav-links>a {
	width: auto !important;
	margin: 4px;
	position: relative;
	left: -50%;
	float: left;
	display: block;
	padding: 0.85em 1.0em;
font-family: "Shippori Mincho", serif;
font-size: 1.4rem;
font-weight: 600;
background: #86be00;
border-radius: 40px;
color: #fff;
text-decoration: none;
transition: 0.6s;
box-sizing: border-box;
line-height: 1;
border: 1px solid transparent;
}

.pagination .nav-links>span.current{
background: #fff !important;
  border: 1px solid #282929 !important;
  color: #282929 !important;
  font-weight: 700 !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>a:hover {
background: #fff !important;
border: 1px solid #282929 !important;
color: #282929 !important;
transition: 0.1s;
}


.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;
appearance: none;
outline: none;
position: relative;
width: 100%;
height: 50px;
padding: 12px;
border: 3px solid #e5e5e5;
border-radius: 50px;
}
    
.widget_search .search-form input[type="search"]::placeholder {
    color: #e5e5e5;
}

.widget_search .search-form input[type="search"]::-ms-input-placeholder {
    color: #e5e5e5;
}

.widget_search .search-form input[type="search"]:focus::placeholder {
    color: #ddd;
}

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

    
.search-form{
	width:100%;
}

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


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

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

main .search-form{
	display:none;
}

#post-list, #archive-list, #category-list, #search-list {
	margin-bottom:0;
}

.widget_search .search-form{
    padding: 0 5px;
    }
.widget_search .search-form button[type="submit"] {
    position:absolute;
    right:10px;
    top:0;
    }

.navigation.pagination{
	padding: 0;
}
.pagination .nav-links>span,
.pagination .nav-links>a  {
    font-size: 1.2rem;
    padding: 0.65em 0.85em !important;
    line-height: 1;
    margin:0 2px;
}
.pagination .nav-links>.prev.page-numbers .screen-reader-text,
.pagination .nav-links>.next.page-numbers .screen-reader-text {
	font-size: 1.2rem;
}
}
/*================================aside================================*/

aside #side h2.widget-title{
	position: relative;
color: #282929;
display: block;
font-family: "Shippori Mincho", serif;
font-size: 1.7rem;
font-weight: 700;
line-height: 1.3;
padding: 15px 20px 15px 60px;
box-sizing: border-box;
background: #fff;
background-size: 40px, auto;
  background-repeat: no-repeat, repeat;
  background-position: left 10px center, center;
border-bottom: 1px dotted #ddd;
border-radius: 10px 10px 0 0;
margin-bottom: 0;
}

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


aside #side .open h2.widget-title::after {
  transform: rotate(180deg);
}
  
aside #side h2.widget-title:before {
letter-spacing: 1px;
  color: #86be00;
  display: block;
  font-size: 1.0rem;
  font-weight: bold;
}
	
aside #side .widget_recent_entries h2.widget-title{
  background-image: url(../../../../images/blog/icon_post.svg);
	}
aside #side .widget_recent_entries h2.widget-title:before {
	content: "RECENT POSTS";
}
	
aside #side .widget_categories h2.widget-title{
  background-image: url(../../../../images/blog/icon_category.svg);
	}
aside #side .widget_categories h2.widget-title:before {
	content: "CATEGORY";
	}
aside #side .widget_archive h2.widget-title{
  background-image: url(../../../../images/blog/icon_archive.svg);
	}
aside #side .widget_archive h2.widget-title:before {
	content: "ARCHIVE";
	}



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

aside #side section.widget_search{
	margin-bottom: 30px;
}


/*==SP==*/
@media (max-width: 767px) {
	aside{
		width:100%;
		}

	aside > section{
		margin:0 !important;
	}

	aside #side section
	{
margin-bottom: 0;
	}
	aside #side .widget ul {
		display:none;
		}
		
	aside #side h2.widget-title {
font-size: 1.5rem;
    padding: 10px 20px 10px 55px;
background-size: 35px, auto;
    background-repeat: no-repeat, repeat;
    background-position: left 10px center, center;
	}
	aside #side h2.widget-title:before {
		font-size: 1rem;
	}
	
	aside #side h2.widget-title:after {
		top: 17px;
		//right: 12px;
		transform: rotate(180deg);
	}
	aside #side .open h2.widget-title:after {
		transform: rotate(0deg);
	}
	#side .widget ul li a{
		font-size: 1.3rem;
		padding: 10px 40px 10px 10px;
	}
}


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

#post-list, #category-list, #archive-list, #search-list {
  align-items: flex-start;
  height: auto !important;
}

#news main .inner{
  align-items: flex-start;
}

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


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


#contents article .tag_category {
}

#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: normal;
	margin: 20px 0 0;
}


.post-navigation .nav-links{
	list-style:none;
	display:flex;
	gap: 15px;
	width:100%;
}
.post-navigation .nav-links::before{
	content:none;
}
.post-navigation .nav-links::after{
	display:none;
}

.post-navigation .nav-links>div{
	width: calc((100% - 15px) / 2 );
	background: #fff;
  border: 1px solid #ddd;
	box-sizing: border-box;

  border-radius: 10px;
}

.post-navigation .nav-links>div.nav-next a::before{
font-size: 18px;
  display: block;
  content: "次の記事";
  font-weight: bold;
  padding-bottom: 10px;
}
.post-navigation .nav-links>div.nav-previous a::before{
font-size: 18px;
  display: block;
  content: "前の記事";
  font-weight: bold;
  padding-bottom: 10px;
}
.post-navigation .nav-links>div a{
	color: #333;
  width: 100%;
  display: block;
  text-decoration: none;
  padding: 20px 15px 15px 20px;
  transition: 0.5s;
  box-sizing: border-box;
	box-shadow: none!important;
}
.post-navigation .nav-links>div a::after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.post-navigation .nav-links>div h2{
	font-weight: normal;
padding: 0 5px 0 15px;
  margin: 0;
  font-size: 15px;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: none;
  text-align:left;
  margin-bottom: 5px;
}
main .post-navigation .nav-links>div h2::before{
	background: none;
	width: auto;
	height:auto;
	position:static;
	transform:none;
}


.post-navigation .nav-links>div p{
font-size: 1.3rem;
  padding: 0 5px 0 15px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  margin-bottom: 10px;
}
.post-navigation .nav-links>div .thumb{
	width:100px;
	position: relative;
	float:left;
	overflow: hidden;
	border-radius: 8px;
}
.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;

}
.post-navigation .nav-links>div a time{
	margin: 15px 0 0 0;
  color: #333;
  font-weight: bold;
  font-size: 1.2rem;
  display: block;
  text-align: right;
  padding-left: 130px;
}
.post-navigation .nav-links>div a .tag_category{
	display: inline-block;
  font-size: 1.2rem;
  padding: 0 10px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 240px;
  margin-top: 5px;
}
.post-navigation .nav-links>div a .tag_category span {
margin-left: 5px;
display: inline-block;
background: #21b0b9;
border-radius: 30px;
color: #fff;
font-size: 1.2rem;
padding: 2px 10px;
text-decoration: none;
}
.post-navigation .nav-links>div a:hover img{
	opacity:0.7;
	transition: .5s;
	transform: scale(1.05);
}
/*==SP==*/
@media (max-width: 767px) {
	.post-navigation .nav-links{
display: block;
    margin-bottom: 30px;
	}
	.post-navigation .nav-links>div{
width: 100%;
    margin: 8px 0;
	}
.post-navigation .nav-links > div a{
	padding: 10px 5px 10px 10px;
}
.post-navigation .nav-links > div.nav-previous a::before {
  font-size: 16px;
}

.post-navigation .nav-links > div.nav-next a::before {
  font-size: 16px;
}

	.post-navigation .nav-links>div .thumb{
		width:80px;
		position: relative;
	}	
	.post-navigation .nav-links>div h2{
		font-size: 1.4rem;
	}

	.post-navigation .nav-links>div p{
		font-size: 1.3rem;
    padding: 0 5px 0 15px;
    margin: 0 0 5px !important;
	}
	.post-navigation .nav-links>div a time{
		margin: 5px 10px 5px 0;
    padding-left: 90px;
    font-size: 1.2rem;
	}
	.post-navigation .nav-links>div a .tag_category{
		width: 65%;
    font-size: 1rem;
	}
	#post_main figure img, #post_main img {
		max-width:100% !important;
	}
	#search-list .search-form{
		display:none;
	}
}

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

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;
}
.footer .footer_top::before {
	top: 0 !important;
	background-position: 0 -100px !important;
}
#post_main {
  width:100%;
}

.flex-nml {
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	flex-wrap:wrap;

}

/* detail_gallery
-------------------------*/
.detail_gallery_list{gap:20px;}
.detail_gallery_list li{
width: calc((100% - 40px) / 3);
margin-bottom: 25px;
position: relative;
}
.detail_gallery_list li .detail_gallery__img{margin-bottom: 10px;  overflow: hidden;  position: relative;}
.detail_gallery_list li .detail_gallery__img img{width: 100%; height: 100%;object-fit: cover;}
.detail_gallery_list li .detail_gallery__img {
margin-bottom: 4px;
overflow: hidden;
position: relative;
}
.detail_gallery_list li span {
position: initial;
bottom: 0px;
background: #fff;
padding: 0;
font-weight: bold;
font-size: 13px;
display: flex;
flex-wrap: wrap;
gap: 4px;
}
.detail_gallery_list li span a {
width: calc((100% - 12px) / 4);
display: flex;
align-items: center;
justify-content: center;
padding: 8px;
border: 1px solid #282929;
text-decoration: none;
}
.detail_gallery_list li span a:hover {
border: 1px solid #86be00;
}
@media (max-width: 767px) {
.detail_gallery_list{gap:8px;}
.detail_gallery_list li {
width: calc((100% - 8px) / 2);
margin-bottom: 18px;
}
.detail_gallery_list li span {
position: initial;
bottom: 0px;
background: #fff;
padding: 0;
font-weight: bold;
font-size: 13px;
display: flex;
flex-wrap: wrap;
gap: 2px;
}
.detail_gallery_list li span a {
width: calc((100% - 2px) / 2);
font-size: 11px;
}
}



/* gallery
-------------------------*/
.gallery_list li{width: 20%; text-align: center; padding: 15px; margin-bottom: 30px;}
.gallery_list li figcaption{text-align: center; margin-bottom: 10px; font-weight: bold;font-family: '游明朝', 'Yu Mincho', '游明朝体', 'YuMincho', 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', 'MS Ｐ明朝', 'MS PMincho', serif; }

.search-form .search-submit {
  top: 2.4em;
}

.wp-block-embed iframe {
    max-width: 100%;
    aspect-ratio: 16 / 9;
}