@charset "UTF-8";
@media screen and (max-width: 768px) {
:root {
  --contents-width: 100%;
}
/* ------------------------------
#contents#
------------------------------ */
.contents__inner {
  flex-direction: column;
}
main.top,
main.archive,
main.single,
main.page,
main.tag,
main.category,
.sidebar {
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}
/* ------------------------------
#footer#
------------------------------ */
.footer{
	margin-top:30px;
  background-color: #fff;
}
.footer__inner{
	width: var(--contents-width);
  padding:0px 15px;
  box-sizing: border-box;
  margin: 0 auto;
  
}
.footer__link{
	margin: 0 auto;
	border-bottom:1px solid #b0b0b0;
}
.footer__link-item{
	width: 100%;
  display:block;
  color: #000;
  position: relative;
  font-size: 0;
}
.footer__link-item:nth-last-of-type(1)::after,
.footer__link-item::after{
  content:">";
  display: inline-block;
  font-size: 1.4rem;
  margin:0px;
  position: absolute;
  right:14px;
  top:50%;
  margin-top:-7px;
  line-height: 1.0;
}
.footer__link-item a{
	display: block;
	text-align: left;
	border-top:1px solid #b0b0b0;
  color: #000;
  display: block;
  position: relative;
  font-size: 1.4rem;
  line-height: 48px;
  padding: 0;
}

.footer__logo{
	display: block;
	margin: 22px auto 0;
	position: static;
}
.footer__copy{
  margin: 22px auto 0;
}

/* ==============================
#front-page#
============================== */
.top__h1 {
  font-size: 1.6rem;
}
.top__h2 {
  font-size: 1.6rem;
  margin: 24px auto 0;
}

/* おすすめ記事: 2カラム */
.recommendEnrty__list {
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

/* 最新記事: メイン1つ + 2カラム */
.newpostEnrty__list {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto auto;
  gap: 15px;
}
.newpostEnrty__list-item:first-child {
  grid-column: 1 / 3;
  grid-row: 1;
}
.newpostEnrty__list-item:nth-child(2) { grid-column: 1; grid-row: 2; }
.newpostEnrty__list-item:nth-child(3) { grid-column: 2; grid-row: 2; }
.newpostEnrty__list-item:nth-child(4) { grid-column: 1; grid-row: 3; }
.newpostEnrty__list-item:nth-child(5) { grid-column: 2; grid-row: 3; }

/* 人気記事ランキング: 2カラム */
.rankingEnrty__list {
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.recommendEnrty__list-item h3,
.newpostEnrty__list-item h3,
.rankingEnrty__list-item h3 {
  font-size: 1.3rem;
}

.top__link {
  margin: 48px auto 30px;
}
/* ------------------------------
#category-cardList#
------------------------------ */
.cardList__item {
    width: 100%;
}
/* ------------------------------
#archive-page#
------------------------------ */
.page .recommendEnrty__list,
.archive .newpostEnrty__list,
.page .rankingEnrty__list {
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
}
.page .recommendEnrty__list-item h3,
.archive .newpostEnrty__list-item h3,
.page .rankingEnrty__list-item h3 {
	font-size: 1.3rem;
}
/* ------------------------------
#pagination#
------------------------------ */
.pagination .page-numbers {
	padding: 6px 10px;
	margin: 0 2px;
	font-size: 1.2rem;
}

}