@charset "UTF-8";

/* --------------------
   blog
-------------------- */
#pagenaka {
  height: 120px;
  background: url("../images/pagebackground.jpg") no-repeat center top;
  background-size: cover;}
#blog {
  padding-top: 80px;
  padding-bottom: 200px;
  background: #FEF4EB;}
#blog .flex {
	align-items: center;
	padding-bottom: 30px;
	justify-content: space-between;
	display: flex;}
#blog h1 span {
	line-height: 1;
	color: #EA6120;}
#blog .flex a {
	color: #EA6120;
	text-align: center;
	font-size: 18px;
	font-weight: bold;
	border-radius: 10px;
	position: relative;
	height: 60px;
	line-height: 56px;
	width: 280px;
	border:2px solid #EA6120;}
#blog .flex a::before {
	position: absolute;
	top: 25px;
	right: 26px;
	background: #EA6120;
  height: calc(tan(60deg) * 12px / 2);
  width: 10px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
	content: "";}
#blog .list {
	gap:30px;
  flex-wrap: wrap;
	display: flex;
	justify-content: center;}
#blog .item {
	overflow: hidden;
	border-radius: 10px;
	width: 340px;}
#blog .item .photo {
	background: #ccc;
	height: 200px;}
#blog .item .photo img {
	width: 100%;
	height: 200px;
	object-fit: cover;}
#blog .item .text {
	height: 80px;
	padding: 20px 20px 14px;
	position: relative;
	background: #fff;}
#blog .item .text h2 {
	color: #382712;
	line-height: 1.2;
	font-size: 16px;}
#blog .item .text p.day {
	line-height: 28px;
	z-index: 2;
	background: #EA6120;
	position: absolute;
	left: 0;
	top: -14px;
	border-radius: 0 14px 14px 0;
	min-width: 108px;
	text-align: center;
	color: #fff;}
@media screen and (max-width: 1080px){
	#blog { padding-top: 40px;padding-bottom: 40px;}
	#blog .flex a { margin-top: 20px;}
	#blog .flex{ flex-wrap: wrap;}}
@media screen and (max-width: 768px){
  #pagenaka { height: 50px;}
  #blog { padding-top: 40px;}
  #blog .item .text h2 { text-align: center;}}

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