/*
Theme Name: foot-medi.jp
Author: Nobuyoshi Kosada
Description: www.foot-medi.jp　wordpressテーマ.
Version: 1.0
*/



/*===============================================
archive-shoplist.php
*===============================================*/

.archive-shoplist{
  padding: 120px 0 0 0!important;
  width: 100%;
}

.archive-shoplist .container {
  padding: 20px;
}

.archive-shoplist .container h1.page-title {
  text-align: center;
  font-size: 22px;
}

.archive-shoplist .container h1.page-title small{
	font-size: 12px;
}

/*ローカルナビ*/
.area-nav {
  margin: 2rem 0;
  padding: 2rem 0;
  text-align: center;
  border-top: thin solid #ccc;
  border-bottom: thin solid #ccc;
}
.area-nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  gap: 1rem;
}

.area-nav ul li.current a {
  font-weight: bold;
  color: #c00;
}

.area-nav li::after {
  content: ']'
}

.area-nav li::before {
  content: '['
}

.area-nav li a {
  text-decoration: underline;
  color: #333;
}

/*地域リスト*/
.area-term-list {
  margin-bottom: 3rem;
}

.parent-term-title {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
  background-color: #161F8D;
  color: #fff;
  padding: 1rem;
  scroll-margin-top: 120px;
}

.child-term-list {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
}

.child-term-list li {
  list-style: none;
}

.child-term-list li a{
  display: inline-block;
  padding: 0 1em;
}


/*===============================================
taxonomy-goods.php
*===============================================*/

ul.shoplist-list > li{
  border-bottom: thin solid #ccc;
  padding-bottom: 1em;
  margin-bottom: 1em;
}

ul.shoplist-list > li > ul li:nth-child(1){ /*店舗名*/
  padding-left: 0;
  font-size: 120%;
}

ul.shoplist-list > li > ul li{
  padding-left: 2em;
}

ul.shoplist-list > li > ul li:nth-child(2){ /*住所、電話番号*/
  display: flex;
  justify-content: space-between;
}

ul.shoplist-list > li > ul li:nth-child(3) a:link,
ul.shoplist-list > li > ul li:nth-child(3) a:visited
{ /*カテゴリリンク*/
  color: rgba(1,97,197,1.00);
}

.cat-name{
  font-weight: bold;
}

/*===============================================
404ページ
*===============================================*/

.error-404{
  padding: 200px 0 0 0!important;
  width: 100%;
}

.error-404 .page-title{
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 50px;
}

.error-404 .page-title span{
  display: block;
  font-size: 50%;
}

.error-404 .page-content{
  width: 90%!important;
  background-color: #fff!important;
  margin: auto;
  text-align: center;
}

.error-404 .page-content .btn-toppage{
  margin-top: 50px!important;
}

.error-404 .page-content .btn-toppage a{
  color: blue;
}

/*=======================================================
ページネーション
=======================================================*/
.pagination{
  margin: 50px 0;
}

.pagination ul.page-numbers {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  justify-content: center;
}

.pagination .page-numbers li {
  display: inline-block;
}

.pagination .page-numbers a,
.pagination .page-numbers span {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #ccc;
  color: #101893;
  text-decoration: none;
  border-radius: 2px;
  font-weight: bold;
  min-width: 36px;
  text-align: center;
}

.pagination .page-numbers .current {
  background: #000;
  color: #fff;
  border-color: #000;
}

.pagination .page-numbers .dots {
  pointer-events: none;
  color: #666;
  border: none;
}