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

@import url('twentyseventeen_style.css');

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


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

#side .widget ul li, .widget ol li {
	padding: 0;
}

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

#side .widget ul li a{
margin:auto;
display:block;
font-size:14px;
padding:15px 40px 15px 15px;
box-sizing: border-box;
text-decoration:none;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
transition: .3s;
background:#fff url("../../../images/icon/icon_arrow.svg") no-repeat right 18px center;
background-size: 15px auto;
color: #113a53!important;
position: relative;
}

#side .widget ul li a:hover {
padding:15px 40px 15px 15px;
background:#f6f9fb url("../../../images/icon/icon_arrow.svg") no-repeat right 14px center;
background-size: 15px auto;
transition: .1s;
}

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

dd {
    margin: 0;
}

img, video {
    max-width: none;
}

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

.pagination .next.page-numbers,
.pagination .prev.page-numbers {
    float: left;
}
.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;
	clip-path: none;
color: #2988c5;
  text-decoration: none;
	font-weight: normal !important;
}

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

.pagination .nav-links>span.current{
background: #2988c5;
  color: #fff;
  font-weight: bold;
}


.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.next, .pagination .nav-links>a.prev {
display: block;
  font-size: 15px;
  padding: 0.5em 1em;
  background: #fff;
  color: #2988c5;
  text-decoration: none;
  font-family: 'Josefin Sans', sans-serif;
}

.pagination .nav-links>a:hover {
	background: #f6f9fb !important;
	transition: 0.1s !important;
	transform: none !important;
}


.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 #8fa8b8;
  background: linear-gradient(to bottom, rgba(237, 241, 250, 0.6) 0%,rgba(237, 241, 250, 0) 100%);
}
    
.widget_search .search-form input[type="search"]:focus::placeholder {
    color: #2988c5;;
}

.widget_search .search-form input[type="search"]:focus::-ms-input-placeholder {
    color: #2988c5;;
}
    
.widget_search .search-form input[type="search"]:focus{
	border: 3px solid #2988c5;
	background:#fff;
    }
.widget_search .search-form button[type="submit"] {
    font-size:14px;
    position:absolute;
    right:10px;
    top:0;
    height:50px;
    width:50px;
    border:none;
    background:url(../../../images/btn_search.svg) no-repeat center center;
    background-size:32px;
    transition: .1s;
    }
.widget_search .search-form button[type="submit"]:hover {
    background-size:34px;
  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) {
#post-list form.search-form{
	display:none;
}

.widget_search .search-form{
    padding: 0 5px 20px;
}

.widget_search .search-form button[type="submit"] {
    position:absolute;
    right:0;
    top:0;
    background-size: 30px;
    }

/*
.navigation.pagination{
	padding: 20px 0 10px;
}
.pagination .nav-links>span,
.pagination .nav-links>a  {
  font-size: 12px;
  padding: 0.65em 0.85em !important;
}
.pagination .nav-links > .prev.page-numbers .screen-reader-text, .pagination .nav-links > .next.page-numbers .screen-reader-text{
  font-size: 12px;
}*/
}
/*================================aside================================*/

aside #side h2.widget-title{
    color:#fff;
    display:block;
    font-weight:bold;
    font-size:15px;
    line-height:1.5;
    padding:20px 20px 20px 65px;
    box-sizing: border-box;
	position: relative;
    margin-bottom: 0;
    cursor: pointer;
    background-size: 45px, auto;
  background-repeat: no-repeat;
  background-position: left 10px center;
	background-color: #157bbd;
    }

aside #side h2.widget-title::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    margin: auto;
    width: 12px;
    height: 12px;
    transition: .5s;
    transform: rotate(45deg);
    border-bottom: solid 3px #e8eff4;
    border-right: solid 3px #e8eff4;
}


aside #side .open h2.widget-title::after{
	transform: rotate(225deg) translate(0, 0);
	}

aside #side h2.widget-title:before {
letter-spacing: 1px;
  color: #e8eff4;
  display: block;
  font-size: 10px;
  font-family: 'Outfit';
}
	
aside #side .widget_recent_entries h2.widget-title{
  background-image: url(../../../images/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/icon_category.svg);
	}
aside #side .widget_categories h2.widget-title:before {
	content: "CATEGORY";
	}
aside #side .widget_archive h2.widget-title{
  background-image: url(../../../images/icon_archive.svg);
	}
aside #side .widget_archive h2.widget-title:before {
	content: "ARCHIVE";
	}
aside #side .widget_archive ul {
	display: none;
	}


/*==SP==*/
@media (max-width: 767px) {
	aside{
		width:100%;
		}
	aside #side .open h2.widget-title::after{
		transform: rotate(45deg);
	}
	aside #side h2.widget-title{
		background-repeat: no-repeat, repeat;
		background-position: left 10px center, center;
		font-size: 16px;
	}
	aside #side .widget ul {
	display: none;
	}
		
	aside #side h2.widget-title:after{
		transform: rotate(225deg) translate(0, 0);
		}	
	aside #side h2.widget-title:before{
		font-size: small;
	}
	
	#side .widget ul li a {
		font-size: 1.3rem;
		padding: 10px 40px 10px 10px;
	}
		
	aside section section {
	margin: 10px 0;
	}
}


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

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




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


#info .post-navigation .nav-links{
	list-style:none;
	display:block;
	transition: 1.0s;
	padding:0;
	left: 0;
	width:100%;
	}
	
.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:"次の記事";
	padding-bottom: 10px;
	font-weight:bold;
	font-size:16px;
}
.post-navigation .nav-links>div.nav-previous a::before{
	display:block;
	content:"前の記事";
	font-weight:bold;
	padding-bottom: 10px;
	font-size:16px;
}

.post-navigation .nav-links>div a{
	color: #157bbd;
	width:100%;
	display:block;
	text-decoration:none;
	padding:10px 10px;
	box-sizing: border-box;
	transition: .5s;
	background:#f6f9fb;
}
	
.post-navigation .nav-links>div a::after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.post-navigation .nav-links>div h2{
padding: 0 10px;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-sizing: border-box;
  color: #2988c5;
	}
.post-navigation .nav-links>div p{
	color: #113a53;
font-size: 14px;
  padding: 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
	}
.post-navigation .nav-links>div .thumb{
width: 120px;
  position: relative;
  float: left;
  background: #fff;
	}
.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{
font-size: 12px;
  display: block;
  text-align: right;
  padding-left: 130px;
  color: #113a53;
	}
.post-navigation .nav-links>div a .tag_category{
display: inline-block;
  margin: 5px 0 5px 10px;
  font-size: 12px;
  color: #2988c5;
  background: #e8eff4;
  padding: 4px 10px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 220px;
}

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

.post-navigation .nav-links>div a .tag_category span {
}

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


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

.navigation.pagination {
	padding: 0;
}

.post-navigation .nav-links {
}

.pagination .nav-links > .prev.page-numbers .screen-reader-text, .pagination .nav-links > .next.page-numbers .screen-reader-text {
}

.pagination .nav-links>.prev,
.pagination .nav-links>.next {
}

.pagination .nav-links > span, .pagination .nav-links > a{

}

.post-navigation .nav-links ul{
	display:block;
	margin-bottom:30px;
	}
.post-navigation .nav-links>div{
	width:100%;
	margin:0;
	
	}
.post-navigation .nav-links>div a{
width: 100%;
    margin: 4px 0;
}
.post-navigation .nav-links>div .thumb{
	width:80px;
	position: relative;
	}
	
.post-navigation .nav-links>div h2{
	font-size: 16px;
}

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

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

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

.post-navigation .nav-links>div a .tag_category{
  width: 55%;
    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 .entry-title {
    color:#333;
}

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

/*==SP==*/
@media (max-width: 767px) {
  
#contents article h1 {
	font-size: 14px;
	padding: 10px 15px;
}


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

.footer .footer_top::before {
  top: 0 !important;
  background-position: 0 -100px !important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image img {
	max-width: 800px!important;
}
.wp-block-image {
	    text-align: center;
}
#post_main img {
	max-width: 600px;
}

/*==SP==*/
@media (max-width: 767px) {
	.wp-block-gallery.has-nested-images figure.wp-block-image img {
	max-width:100%!important;
	}
	figure.wp-block-gallery.has-nested-images {
		flex-direction: column;
		gap:10px;
	}
	.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
		width:100%;
	}
	#post_main img {
		width:100%;
		margin:0;
	}
	#search-list form.search-form{
		display:none;
	}
	#search-list p {
  text-overflow: inherit;
  white-space: inherit;
}
}
