/*
theme Name: eeGee STAY
Author: 有限会社デジタルクリエーション
*/

/*-------------------------
 #page_ttl
-------------------------*/
/*総合*/
#top #page_ttl h2 {
  position: relative;
  background: url(/common/images/ph_main.jpg) top center no-repeat;
  background-size: cover;
}
/*大宮*/
#omiya #page_ttl h2 {
  position: relative;
  background: url(images/ph_main_omiya.jpg) top center no-repeat;
  background-size: cover;
}
/*蒲田*/
#kamata #page_ttl h2 {
  position: relative;
  background: url(images/ph_main_kamata.jpg) top center no-repeat;
  background-size: cover;
}
/*カフェ*/
#cafe #page_ttl h2 {
  position: relative;
  background: url(images/ph_main_omiya.jpg) top center no-repeat;
  background-size: cover;
}

/*-------------------------
 #news
-------------------------*/
#news {
  background-color: #f4f4f4;
}
#news .list {
  margin-bottom: 30px;
}
#news .list li {
  margin-bottom: 12px;
}
@media screen and (max-width: 620px) {
  #news .list li {
    margin-bottom: 20px;
  }
}
#news .list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.1);
  padding: 20px 25px;
}
@media screen and (max-width: 620px) {
  #news .list li a {
    border-radius: 8px;
    padding: 30px 25px;
  }
}
#news .list li a .txt {
  width: calc(100% - 140px);
}
@media screen and (max-width: 620px) {
  #news .list li a .txt {
    width: calc(100% - 100px);
  }
}
#news .list li a .txt p {
  font-weight: bold;
  margin-bottom: 5px;
}
@media screen and (max-width: 620px) {
  #news .list li a .txt p {
    font-size: 1.1rem;
    letter-spacing: 0.1rem;
  }
}
#news .list li a .txt p span {
  font-size: 1.1rem;
  color: #a0b512;
  line-height: 1;
  border: solid #a0b512 1px;
  border-radius: 15px;
  padding: 2px 8px;
  margin-left: 8px;
}
@media screen and (max-width: 620px) {
  #news .list li a .txt p span {
    font-size: 1rem;
    letter-spacing: -0.075rem;
  }
}
#news .list li a .txt h3 {
  font-size: 1.2rem;
  line-height: 1.2;
}
@media screen and (max-width: 620px) {
  #news .list li a .txt h3 {
    font-weight: bold;
    line-height: 1.4;
  }
}
#news .list li a .ph {
  width: 120px;
  height: 90px;
  overflow: hidden;
  border-radius: 10px;
  border: solid silver 1px;
}
@media screen and (max-width: 620px) {
  #news .list li a .ph {
    width: 80px;
    height: 60px;
  }
}
#news .list li a .ph img {
  width: 120px;
  height: 90px;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 620px) {
  #news .list li a .ph img {
    width: 80px;
    height: 60px;
  }
}
#news .pagination h2 {
  display: none;
}
#news .pagination ul {
  text-align: center;
}
#news .pagination ul li {
  display: inline-block;
}
#news .pagination ul li .current {
  display: block;
  text-align: center;
  width: 40px;
  line-height: 40px;
  color: white;
  background-color: #3f6b08;
  border-radius: 20px;
  margin: auto 6px;
  transition: 0.3s ease-out;
}
#cafe #news .pagination ul li .current {
  display: block;
  text-align: center;
  width: 40px;
  line-height: 40px;
  color: white;
  background-color: #B81513;
  border-radius: 20px;
  margin: auto 6px;
  transition: 0.3s ease-out;
}
#news .pagination ul li a {
  display: block;
  text-align: center;
  width: 40px;
  line-height: 40px;
  background-color: #d5d5d5;
  border-radius: 20px;
  margin: auto 6px;
  transition: 0.3s ease-out;
}

/*-------------------------
 #news_single
-------------------------*/
#news_single {
  background-color: #f4f4f4;
}
#news_single .box {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.1);
  padding: 20px 25px;
}
#news_single .box .date {
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 1px;
}
#news_single .box .cat {
  display: inline-block;
  min-width: 50px;
  font-size: 1.1rem;
  color: #a0b512;
  text-align: center;
  line-height: 1;
  border: solid #a0b512 1px;
  border-radius: 15px;
  padding: 2px 8px;
  margin-left: 8px;
}
@media screen and (max-width: 620px) {
  #news_single .box .cat {
    font-size: 1rem;
    letter-spacing: -0.075rem;
  }
}
#news_single .box h3 {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.3;
  border-bottom: solid #8a8a8a 1px;
  padding: 0 0 10px 0;
  margin: 5px 0 15px 0;
}
#news_single .box p {
  letter-spacing: -0.075rem;
  margin-bottom: 20px;
}
#news_single .box h5.wp-block-heading{
	font-size: 1.7rem;
	font-weight: bold;
	line-height: 1.5;
	margin-bottom: 20px;
}
#news_single .box .wp-block-list{
	margin-left: 1.5rem;
	line-height: 1.5;

}
#news_single .box .wp-block-list li{
	list-style: disc;
	margin-bottom: 10px;
}

#news_single .box b,
#news_single .box strong{
	font-weight: bold;
}
#news_single .box a{
	color: #3f6b08;
	text-decoration: underline;
}
#news_single .box .wp-element-button{
	display: block;
	width: 100%;
	color: white;
	text-align: center;
	text-decoration: none;
	background-color: #3f6b08;
	border-radius: 30px;
	padding: 10px 0;
}
#news_single .box table{
	border: solid silver 1px;
	border-collapse: collapse;
}
#news_single .box table tr,
#news_single .box table td{
	border: solid silver 1px;
	padding: 3px 10px;
}
#news_single .wp-pagenavi ul {
  display: flex;
  justify-content: space-between;
  margin: 20px 0 30px 0;
}
#news_single .wp-pagenavi ul li {
  display: inline-block;
  position: relative;
}
#news_single .wp-pagenavi ul li.prev a::before {
  display: inline-block;
  content: "";
  width: 8px;
  height: 8px;
  border: 2px solid;
  border-color: transparent transparent #3f6b08 #3f6b08;
  transform: rotate(45deg);
  margin-right: 10px;
}
#news_single .wp-pagenavi ul li.next a::after {
  display: inline-block;
  content: "";
  width: 8px;
  height: 8px;
  border: 2px solid;
  border-color: #3f6b08 #3f6b08 transparent transparent;
  transform: rotate(45deg);
}