/* ============================
	single post
============================ */
.entry-inner {
  padding: 100px 0;
}

@media screen and (max-width: 767px) {
  .entry-inner {
    padding: 60px 0;
  }
}

/* article */
#entry-article {
  box-sizing: border-box;
  border-right: 1px solid #ddd;
  width: 68%;
  padding: 0 24px 0 0;
}

#entry-article .wp-block-file .wp-block-file__button {
	background-color: var(--tag-color);
}

#entry-article .post-meta {
	display: block;
}

#entry-article .post-meta .post-ttl {
	margin-top: 20px;
}

#entry-article .post-date {
	color: #888;
	margin-top: 5px;
}

#entry-article .post-cats {
  margin: 0;
}

@media screen and (max-width: 767px) {
  #entry-article {
    border-right: none;
    width: 100%;
    padding: 0;
  }
}

/* sidebar */
#entry-sidebar {
  box-sizing: border-box;
  width: 32%;
  padding: 0 0 0 24px;
}

#entry-sidebar .sidebar-head {
	border-bottom: 1px solid var(--sub-color);
	font-size: 2.4rem;
	font-weight: 500;
	margin: 0;
}

#entry-sidebar .sidebar-cont {
  margin-top: 20px;
}

#sidebar-news-box {
  margin: 40px 0 0;
}

#sidebar-news-box .sidebar-cont .sidebar-news-list .sidebar-info-item {
	border-bottom: 1px solid var(--border-color);
	padding: 15px 5px 15px;
}

#sidebar-news-box .sidebar-cont .sidebar-news-list .post-date {
	color: var(--sub-color);
	font-size: 1.3rem;
	font-weight: 500;
	line-height: 1;
	min-width: unset;
	padding-right: 15px;
}

#sidebar-news-box .sidebar-cont .sidebar-news-list .post-ttl {
	color: var(--main-text-color);
	font-size: 1.6rem;
	font-weight: 500;
}

.sidebar-info-item .left a {
  width: 100px;
}

.sidebar-info-item .right {
  width: 190px;
}

.sidebar-info-item .right .post-ttl {
  line-height: 1.4;
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0;
}

@media screen and (max-width: 767px) {
  #entry-sidebar {
    width: 100%;
    padding: 0;
    margin: 50px 0 0;
  }
  .sidebar-info-item .right {
    width: 220px;
  }
}

/* page nav */
#nav-below .wrap-nav-below {
	align-items: center;
	display: flex;
	justify-content: space-between;
  margin-bottom: 60px;
  margin-top: 80px;
	row-gap: 40px;
}

#nav-below .nav-box {
  box-sizing: border-box;
	flex-basis: 33%;
  width: 33%;
}

#nav-below .news-list a {
	background-color: #303745;
	border-radius: 2px;
	display: block;
	margin-inline: auto;
	max-width: 160px;
	padding: 10px;
	text-align: center;
	width: 100%;
}

#nav-below .news-list a span {
	color: var(--white);
	font-size: 1.8rem;
	font-weight: 700;
}

#nav-below .prev-news,
#nav-below .next-news {
	max-width: 240px;
}

#nav-below .prev-news img,
#nav-below .next-news img{
	aspect-ratio: 3 / 2;
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

#nav-below .prev-news a span,
#nav-below .next-news a span{
	display: block;
	font-size: 1.4rem;
	line-height: 1.6;
	margin-top: 5px;
}

#nav-below .prev-news {

}

#nav-below .next-news {

}

@media screen and (max-width: 930px) {
	#nav-below .nav-box {
		
	}
	
	#nav-below .news-list a {
		max-width: 120px;
	}
	
	#nav-below .news-list a span {
		font-size: 1.6rem;
	}
	
}

@media screen and (max-width: 767px) {
	#nav-below .wrap-nav-below {
		column-gap: 10px;
	}
	
	#nav-below .nav-box {
		flex-basis: 50%;
	  width: 50%;
	}
	
  #nav-below .nav-box.news-list {
    width: 100%;
  }
	
	#nav-below .news-list a {
		max-width: 160px;
	}

  #nav-below .prev-news {
    padding: 0;
  }

  #nav-below .next-news {
    border-left: none;
    padding: 0;
  }

  #nav-below #next-news {
    margin: 30px 0 0;
  }

  #nav-below #next-news .nav-box-inner.flex-start {
    flex-direction: row-reverse;
    justify-content: flex-end;
  }

  #nav-below #next-news .adjacent-head {
    text-align: left;
  }

  #nav-below #next-news .ttl {
    padding: 0 0 0 10px;
  }
}

/* ============================
	entry-content
============================ */
.entry-thumb {
  margin-top: 50px;
}

.entry-thumb img {
  height: 388px;
  width: 100%;
}

.entry-content {
  font-size: 1.6rem;
}

.entry-content a {
  color: #0066cc;
}

.entry-content p {
  margin: 2em 0;
}

.entry-content p.mb35rem {
  margin-bottom: 3.5rem;
}

.entry-content hr {
  margin: 4rem 0;
  border: none;
  color: #fff;
  border-top: 1px dashed #eee;
  height: 0;
  line-height: 0;
  background: none;
  padding: 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-weight: bold;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.entry-content h1 {
  font-size: 2.8rem;
  margin: 30px 0;
}

.entry-content h2 {
  font-size: 2.6rem;
  letter-spacing: 0.05em;
  margin: 50px 0 30px;
  padding: 15px 15px 15px 0;
  border-bottom: 2px solid var(--main-color);
}

.entry-content h3 {
  box-sizing: border-box;
  font-size: 1.8rem;
  margin: 50px 0 30px;
  padding: 10px 16px;
  background-color: var(--tag-color);
}

.entry-content h4 {
  font-size: 1.5rem;
  padding: 2px 0 5px 14px;
  border-left: 4px solid #ccc;
  margin: 50px 0 30px;
}

.entry-content h4.noborder {
  border: none;
  content: none;
  padding-bottom: 0;
}

.entry-content h4.noborder::after,
.entry-content .infobox h4::after {
  content: none;
}

.entry-content span.red {
  color: #df0101;
}

.entry-content span.bold {
  font-weight: bold;
  color: #310b00;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.entry-content span.underline {
  text-decoration: underline;
  color: #310b00;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.entry-content span.marker {
  background: linear-gradient(transparent 60%, rgba(255, 167, 0, 0.7) 60%);
  color: #310b00;
  font-weight: bold;
  padding: 3px 0 4px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.entry-content blockquote {
  color: #555;
  font-size: 1.7rem;
  font-weight: bold;
  margin: 4rem 0;
  padding: 0.5rem 2.5rem;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  position: relative;
  line-height: 1.65;
}

.entry-content blockquote::before,
.entry-content blockquote::after {
  content: "";
  display: inline-block;
  position: absolute;
  width: 3.5rem;
  height: 2.5rem;
}

.entry-content blockquote p {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 2rem 0;
}

.entry-content blockquote small,
.entry-content blockquote small a {
  font-weight: normal;
  font-size: 11px;
  color: var(--tag-color);
}

.entry-content blockquote cite {
  font-size: 1.2rem;
}

.instagram-media {
  max-width: 520px !important;
}

.twitter-tweet {
  width: 520px !important;
}

.entry-content blockquote.wp-embedded-content,
.entry-content blockquote.instagram-media,
.entry-content blockquote.twitter-tweet {
  border: 1px solid #eee;
  box-sizing: border-box;
}

.entry-content blockquote.wp-embedded-content::after,
.entry-content blockquote.wp-embedded-content::before,
.entry-content blockquote.instagram-media::after,
.entry-content blockquote.instagram-media::before,
.entry-content blockquote.instagram-media-registered::after,
.entry-content blockquote.instagram-media-registered::before,
.entry-content blockquote.twitter-tweet::after,
.entry-content blockquote.twitter-tweet::before {
  display: none !important;
}

.entry-content iframe.wp-embedded-content {
  width: 100% !important;
}

.entry-content .instagram-media {
  margin: 3.5rem 0 !important;
}

.entry-content .infobox {
  background: #fdf9f5;
  margin: 2.5rem 0;
  padding: 1rem 2.5rem;
  line-height: 1.65;
}

.entry-content .infobox h4 {
  margin: 1.5rem 0;
  font-size: 1.6rem;
  padding: 0;
  border: none;
}

.entry-content .infobox p {
  margin: 1.5rem 0;
  font-size: 1.5rem;
}

.entry-content .ytsl-wrapper {
  margin: 4rem 0;
}

.entry-content .ytsl-wrapper img {
  display: none !important;
}

.entry-content img {
  height: auto !important;
}

.entry-content .imagebox br {
  display: none;
}

.entry-content .imagebox small,
.entry-content .imagebox small a {
  font-weight: normal;
  font-size: 11px;
  color: #888;
}

.entry-content ul,
.entry-content ol {
  text-align: left;
}

.entry-content li {
  position: relative;
  padding-left: 20px;
}

.entry-content li:before {
  position: absolute;
  content: "";
  top: 10px;
  left: 0;
  width: 14px;
  height: 14px;
  margin: auto;
  background: #ccc;
  border-radius: 50%;
}

.entry-content a {
  text-decoration: underline;
}

.entry-content .wp-block-file a {
  vertical-align: middle;
}

.entry-content .wp-caption {
  box-sizing: border-box;
  max-width: 100% !important;
  margin-bottom: 20px;
  padding: 10px;
  line-height: 18px;
  background: #f1f1f1;
  text-align: center;
}

.entry-content .wp-caption img {
  margin: 0;
  max-width: 100%;
}

.entry-content .wp-caption p.wp-caption-text {
  color: #777;
  font-size: 14px;
  margin: 10px 0 0 0;
}

/* ============================
	ページテンプレート用
============================ */
.entry-content.template-content p {
	margin: 30px 0 10px;
}

.entry-content.template-content h3 {
	background-color: transparent;
	color: var(--main-text-color);
	font-size: 2.6rem;
	padding: 10px 16px 10px 26px;
	position: relative;
}
.entry-content.template-content h3::before {
	background-color: var(--main-color);
	border-radius: 90px;
	content: "";
	height: 60px;
	left: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 6px;
}
