@charset "utf-8";
/*
Theme Name: Kunugi-News
Theme URI: https://kunugi1994.com/apps/note/
Description: 
Version: 1.0
Author: SHIRO-holdings
Author URI: https://kunugi1994.com/apps/note/

*/

/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
img,abbr,acronym,fieldset{border:0;}

/* breadcrumb */
#breadcrumb_bar{
	display: block;
	position: relative;
	width: 100%;
	height: auto;
	padding: 110px 0 15px;
	background: #F2EDE6;
	font-size: 15px;
	color: #333;
}

#breadcrumb_bar .inner {
	display: block;
	width: 1200px;
	max-width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	align-items: stretch;
}
@media screen and (max-width: 1199px) {
	#breadcrumb_bar .inner{
		padding: 0 3%;
	}
}
@media screen and (max-width: 768px) {
	#breadcrumb_bar{
		padding: 80px 0 15px;
	}
}

.breadcrumb ul{
    list-style: none;
	display: flex;
	align-items: center;
}
.breadcrumb ul li{
    display: inline;
}
.breadcrumb ul li a{
	text-decoration: underline;
	color: #6E5041;
}

.breadcrumb ul li + li::before {
	content: "\f105";
	font-family: "Font Awesome 5 Free";
	margin: 0 12px;
	color: #6E5041;
	font-weight: bold;
}

.breadcrumb ul li:last-of-type{
	width: 300px;
	max-width: 48%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
}

/* pagewrap */
#top_wrapper {
	padding: 50px 0;
	display: block;
	width: 100%;
	height: auto;
	box-sizing: border-box;
}
#top_wrapper .inner {
	display: flex;
	width: 1200px;
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
	justify-content: space-between;
	box-sizing: border-box;
	align-items: stretch;
}

.postbox-l{
	width: calc( 100% - 25% );
	padding-right: 3%;
	box-sizing: border-box;
}

.postbox-l h2{
	font-family: "Hiragino Mincho", "Hiragino Mincho ProN",'Zen Old Mincho', serif;
	font-size: 32px;
	color: #462C1F;
	padding-bottom: 25px;
	font-weight: bold;
}

.postbox-l h2.posttitle{
	font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	font-size: 28px;
	color: #462C1F;
	padding-bottom: 25px;
	margin-top: 10px;
	font-weight: bold;
}

.postbox-l h2 img{
	max-height: 100px;
	width: auto;
}

.postbox-l hr.leaf {
	border: none;
	min-height: 35px;
	background: url(img/top/hr_leaf_b.png) no-repeat center top;
	background-size: 100% auto;
  }

  .postbox-l .content article.post img {
	border: 1px solid #F0EDEB;
  }
  
.postbox-r{
	width: 25%;
}

@media screen and (max-width: 1230px) {
	#top_wrapper .inner{
		padding: 0 3%;
	}
}

@media screen and (max-width: 768px) {
	#top_wrapper .inner{
		justify-content: flex-start;
		flex-direction: column;
	}
	.postbox-l hr.leaf {
		width: 96%;
		margin: 0 auto;
		background: url(img/top/hr_leaf_b_sp.png) no-repeat center top;
		background-size: 96% auto;
		min-height: 70px;
	}
	#top_wrapper .inner{
		justify-content: flex-start;
		flex-direction: column;
	}
	.postbox-l, .postbox-r{
		width: 100%;
		padding-right: 0;
	}
	.postbox-r{
		margin-top: 50px;
	}
}

/* archive-list */
.post_wrap{
	padding-bottom: 50px;
}
.post_wrap a{
	display: block;
	width: 100%;
	height: 100%;
	padding: 25px 0;
	border-bottom: 1px solid #F2EDE6;
	transition: 0.3s;
}

.post_wrap a:hover{
	opacity: 0.7;
}

.post_box{
	display: flex;
	width: 100%;
	box-sizing: border-box;
	justify-content: flex-start;
	align-items: center;
	position: relative;
}
.post_box .post_thumbnail{
	flex-shrink: 0;
	width: 150px;
	height: 150px;
}

.post_box .post_thumbnail img{
	width: 150px;
	height: 150px;
	object-fit: cover;
	border-radius: 15px;
	border: 1px solid #F0EDEB;
}

.post_box .post_text{
	display: flex;
	flex-direction: column;
	width: calc( 100% - 18% );
	height: auto;
	justify-content: flex-start;
	padding-left: 3%;
	box-sizing: border-box;
}

.date_label{
	font-size: 15px;
	color: #BA6816;
	letter-spacing: 0.2em;
	font-weight: bold;
}
.new_label{
	color: #D05A5A;
	background: #FBEFEF;
	padding: 1px 6px;
	line-height: 0;
	font-size: 14px;
	font-weight: bold;
	margin-left: 10px;
}

.pagenav{
	display: flex;
	justify-content: space-between;
}

.pagenav a{
	color: #BA6816;
	text-decoration: underline;
}

.pagenav a:hover{
	text-decoration: none;
}

.post_text .card__title{
	font-size: 16px;
	font-weight: bold;
}
@media (max-width: 600px) {
	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{
		padding: 15px 0;
	}
}


/* archive-post */
article.post{
	display: block;
	width: 100%;
	height: auto;
	font-size: 16px;
	line-height: 1.5em;
}

article.post p{
	display: block;
	margin-bottom: 15px;
	font-size: 16px;
	line-height: 1.5em;
}

article.post h2{
	font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	font-size: 24px;
	font-weight: bold;
	color:#462C1F;
	line-height: 1.4em;
	padding-bottom: 10px;
    margin: 2em 0 0.5em;
    display: block;
	background-image: linear-gradient(
		90deg, 
		#BA6816 0 20%, 
		#F2EDE6 20%
	  );
	  background-repeat: no-repeat;
	  background-size: 100% 10%;
	  background-position: bottom;
}

article.post h3{
	color: #462C1F;
	background: #F2EDE6;
	padding: 15px 20px;
    font-weight: bold;
	font-size: 20px;
	line-height: 1.2em;
    margin: 2em 0 0.5em;
    display: block;
  }

article.post h4{
	padding: 5px 0 5px 10px;
	border-left: 2px solid #BA6816;
    margin: 2em 0 0.5em;
    display: block;
	font-weight: bold;
	font-size: 18px;
}
article.post h5{
    margin: 2em 0 0.5em;
    display: block;
	font-weight: bold;
}

article.post a{
	color: #BA6816;
	text-decoration: underline;
  }

article.post a:hover{
    text-decoration: none;
  }

article.post strong{
  font-weight: bold;
  }

article.post img,
article.post p img,
article.post div img{
      max-width: 100%;
      height: auto;
      margin: 30px 0 10px;
      display: block;
	  border-radius: 15px;
  }

article.post ol,
article.post ul{
    margin: 0 0 20px 30px;
  }

article.post ol li{
    margin-left: 10px;
    list-style: decimal;
  }
article.post ol li::marker{
    font-weight:bold;
  }

article.post ul li{
    margin-left: 10px;
    list-style: disc;
  }

article.post table {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 20px auto;
    border-collapse: collapse;
    border-spacing: 0;
   }
 article.post table th {
    padding: 10px;
    box-sizing: border-box;
    background: #f2e7dc;
    border: solid 1px #868686;
    text-align: left;
    font-weight: bold;
    word-break: break-all;
   }
 article.post table td {
    padding: 10px;
    border: solid 1px #868686;
    box-sizing: border-box;
    word-break: break-all;
   }

article.post blockquote {
      position: relative;
      padding: 10px 15px 10px 50px;
      box-sizing: border-box;
      font-style: italic;
      border: solid 1px #bcbcbc;
      color: #464646;
      margin: 20px auto;
  }
  
article.post blockquote:before{
      display: inline-block;
      position: absolute;
      top: 20px;
      left: 15px;
      content: "\f10d";
      font-family: FontAwesome;
      color: #BA6816;
      font-size: 25px;
      line-height: 1;
      font-weight: 900;
  }
  
article.post blockquote p {
      padding: 0;
      margin: 10px 0;
      line-height: 1.7;
  }
  
article.post blockquote cite {
      display: block;
      text-align: right;
      color: #888888;
      font-size: 0.9em;
  }

article.post .wp-block-media-text .wp-block-media-text__media img{
	margin: 0;
}

article.post a.wp-block-button__link{
	background: #BA6816;
	color: #fff;
	text-decoration: none;
	transition: 0.3s;
}

article.post a.wp-block-button__link:hover{
	background: #e78a2c;
}


/* sidebar */
.side_newpost{
	width: 100%;
	height: auto;
	display: flex;
	flex-direction: column;
	margin: 0 0 30px;
}

.side_newpost h3{
	color: #462C1F;
	font-size: 20px;
	font-family: "Hiragino Mincho", "Hiragino Mincho ProN",'Zen Old Mincho', serif;
	padding-bottom: 10px;
	border-bottom: 2px solid #462C1F;
}

.side_newpost ul{
	display: block;
}
.side_newpost ul li.side_post_text{
	display: block;
	position: relative;
	border-bottom: 1px solid #F2EDE6
}
.side_newpost ul li.side_post_text a{
	display: block;
	width: 100%;
	height: 100%;
	padding: 25px 0;
	transition: 0.3s;
}
.side_newpost ul li.side_post_text a:hover{
	opacity: 0.7;
}

.side_newpost ul li.side_post_text a h4.card__title{
	color: #333333;
	font-weight: bold;
	font-size: 15px;
	line-height: 1.2em;
}

a.side_btn_news{
	background: #6E5041 url(../../uploads/2024/03/side_arrow_r.png) no-repeat right 15px top 50%;
	background-size: 20px 20px;
	border-radius: 15px;
	color: #fff;
	font-size: 20px;
	font-family: "Hiragino Mincho", "Hiragino Mincho ProN",'Zen Old Mincho', serif;
	padding: 15px 10px 15px 50px;
	box-sizing: border-box;
	position: relative;
	display: block;
	width: 300px;
	max-width: 100%;
	height: auto;
	margin: 0 0 20px;
	transition: 0.2s;
}

a.side_btn_news:hover{
	background-color:#BA6816;
}

a.side_btn_news::before{
	content:'　';
	background: url(../../uploads/2024/03/side_icon_news.png) no-repeat left 0 top 35%;
	background-size: 25px auto;
	position: absolute;
	left: 15px;
	width: 35px;
	height: 35px;
}

a.side_btn_media{
	background: #258299 url(../../uploads/2024/03/side_arrow_r.png) no-repeat right 15px top 50%;
	background-size: 20px 20px;
	border-radius: 15px;
	color: #fff;
	font-size: 20px;
	font-family: "Hiragino Mincho", "Hiragino Mincho ProN",'Zen Old Mincho', serif;
	padding: 15px 10px 15px 50px;
	box-sizing: border-box;
	position: relative;
	display: block;
	width: 300px;
	max-width: 100%;
	height: auto;
	margin: 0 0 30px;
	transition: 0.2s;
}

a.side_btn_media:hover{
	background-color:#34A0BB;
}

a.side_btn_media::before{
	content:'　';
	background: url(../../uploads/2024/03/side_icon_media.png) no-repeat left 0 top 35%;
	background-size: 25px auto;
	position: absolute;
	left: 15px;
	width: 35px;
	height: 35px;
}

@media screen and (max-width: 500px) {
	a.side_btn_news,
	a.side_btn_media{
		width: 100%;
		max-width: 100%;
	}
}