#kiji {
  margin: 0 auto 100px;
  max-width: 640px;}
#kiji .memo {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E8DDC6;}
#kiji .memo h1 { color: #EB6120;}
#kiji .memo .day {
  margin-top: 4px;
  display: inline-block;}
#kiji .text h1,#kiji .text h2,#kiji .text h3,#kiji .text h4,#kiji .text h5,#kiji .text h6 { margin: 0 0 1em;}
#kiji .text img {margin: 0 0 2em;}
#kiji .text p { margin: 0 0 2em;}
#kiji .text h1,#kiji .text h2 {
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 4px;
  background: #EA6120;
  font-size: 28px;}
#kiji .text h3 {
  font-weight: 700;
  font-size: 28px;}
#kiji .text h4 {
  font-weight: 700;
  font-size: 24px;}
#kiji .text h5, #kiji .text h6 {
  color: #EB6120;
  font-weight: 700;
  font-size: 22px;}
#kiji .text p { font-size: 18px;}
#kiji .text p a {
  color: #EB6120;
  text-decoration: underline;
  display: inline-block;}
#kiji .text figcaption { margin: 1em 0 2em; font-size: 14px;}
#kiji .text hr { margin: 0 0 3em;border-color: #E8DDC6;}
#kiji .text ul { list-style:auto;margin: 0 0 2em;font-size: 18px;}
#kiji .text ol { list-style: disc;margin: 0 0 2em;font-size: 18px;}
#kiji .wp-block-gallery {margin: 2em 0;}

@media screen and (max-width: 1080px) {
  #kiji .text h1,#kiji .text h2,#kiji .text h3 { font-size: 24px;}
  #kiji .text h4 { font-size: 22px;}
  #kiji .text h5, #kiji .text h6 { font-size: 20px;}}

@media screen and (max-width: 768px) {
  #kiji .text p { font-size: 16px;}
  #kiji .text ul,#kiji .text ol { font-size: 16px;}
  #kiji .text h1,#kiji .text h2,#kiji .text h3 { font-size: 22px;}
  #kiji .text h4 { font-size: 20px;}
	#kiji .text h5, #kiji .text h6 { font-size: 18px;}}

.more {
	margin: 20px auto 0;
	max-width: 200px;
	line-height: 60px;
	text-align: center;
	font-weight: bold;
	font-size: 18px;
	border-radius: 6px;
	border: 2px solid #EA6120;}



.pagenation{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625em;
  margin-top: 80px;}
.pagenation li{
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 20px;
  background-color: #fff;
  position: relative;}
.pagenation li a {
  display: flex;
  line-height: 1;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
  color: #EB6120;
  position: relative;}
.pagenation .prev a:before,
.pagenation .next a:before{
  content: "";
  transform: rotate(-45deg);
  position: absolute;
  display: block;
  width: 6px;
  height: 6px;}
.pagenation .next a:before{
  border-right: solid 1px #EB6120;
  border-bottom: solid 1px #EB6120;}
.pagenation .prev a:before{
  border-left: solid 1px #EB6120;
  border-top: solid 1px #EB6120;}
.pagenation li.current{
  background-color: #EB6120;
  color: #fff;}
.pagenation li.none {
  border:none;
  background: none;}

@media screen and (max-width: 768px){
  .pagenation { margin-top: 40px;}}

@media screen and (min-width: 768px){
  .pagenation li a:hover{ background-color: #E8DDC6; opacity:1;}}
