@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;
  padding: 16px;
  box-sizing: border-box;
  margin-bottom: 32px;
}
.footer__inner{
	width: 100%;
  padding: 0;
  box-sizing: border-box;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer__link{
  order: 1;
	margin: 0;
	padding: 0;
	border: none;
	width: 100%;
	list-style: none;
}
footer li.footer__link-item{
	width: 100%;
  display: block;
  color: #000;
  position: relative;
  font-size: 0;
  border-right: none !important;
  border-left: none !important;
  border-top: none !important;
  border-bottom: 1px solid #BCBBBA !important;
  padding: 0 !important;
  margin: 0 !important;
}
footer li.footer__link-item:first-child{
  border-top: 1px solid #BCBBBA !important;
}
footer li.footer__link-item::after{
  content: ">";
  display: inline-block;
  font-size: 1.4rem;
  margin: 0;
  position: absolute;
  right: 20px;
  top: 50%;
  margin-top: -7px;
  line-height: 1.0;
}
footer li.footer__link-item a{
	display: block;
	text-align: left;
	border: none;
  color: #000;
  position: relative;
  font-size: 1.4rem;
  padding: 12px 4px;
  line-height: 1.5;
  text-decoration: none;
}
.footer__logo{
  order: 2;
	display: block;
	width: 100px;
	height: auto;
	margin: 0 auto;
	position: static;
}
.footer__copy{
  order: 3;
  margin: 0 auto;
  font-size: 1.2rem;
  text-align: center;
}

/* ==============================
#pankuzu#
============================== */
.pankuzu {
  overflow: hidden;
}
.pankuzu__inner {
  padding: 10px 15px;
  font-size: 1.1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pankuzu__inner ol {
  flex-wrap: nowrap;
  white-space: nowrap;
}
.pankuzu__inner ol li {
  flex-shrink: 0;
}

/* ==============================
#ranking-badge#
============================== */
.ranking-badge {
  width: 24px;
  height: 24px;
  font-size: 1.2rem;
}

/* ==============================
#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%;
}
.cardList__item-img {
    aspect-ratio: 16 / 9;
}
.cardList__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ------------------------------
#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;
}

}
/* ------------------------------
#single-tags#
------------------------------ */
.single__tags {
	padding: 0;
	margin: 15px 0 0;
}
.single__tags-item {
	font-size: 1.1rem;
	margin: 0 8px 0 0;
}

/* ------------------------------
#single-share#
------------------------------ */
.single__share {
	margin: 0 0 15px;
	padding: 20px 0;
}
.single__share-title {
	font-size: 13px;
	margin-bottom: 10px;
}
.single__share-buttons {
	gap: 15px;
	justify-content: center;
}
.single__share-btn {
	width: 40px;
	height: 40px;
}

}

/* ------------------------------
#related-posts#
------------------------------ */
.related-posts {
	margin: 30px 0 0;
	padding: 0;
}
.related-posts__title {
	font-size: 1.8rem;
	margin-bottom: 15px;
}

}
