﻿body {
	margin: 0;
	padding: 0;
	font: 90% 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',Meiryo,メイリオ,Osaka,'MS PGothic',arial,helvetica,sans-serif;
	background: #ededed;
}
a {
	color: #1a0dab;
	text-decoration: none;
}
a:link, a:visited {
	color: #1122cc;
	text-decoration: none;
}
a:hover {
	color: #dd0000;
	text-decoration: underline;
}
h1 {
	font-size: x-large;
	margin: 0;
	text-shadow: 1px 2px 3px #808080;
}

h2 {
	font-size: large;
}
.naraberu {display: inline; }

#head {
	padding: 0;
	margin: 0;
	background: #fff;
}
/* ----	padding: 20px 0 0 110px;   ----  */

#main-ttl {
	margin: 0;
	padding: 20px 0 0 50px;
    display: inline;
}
#main-ttl a {
	color: #000;
	text-decoration: none;
}
#top-menu {
	background: #333;
	color: #fff;
	padding: 15px 0;
	text-align: center;
}
#top-menu a {
	color: #fff;
}
#top-menu span {
	margin: 2em;
}
#body {
	width: 1000px;
	margin: 1.5em auto;
	background: #fff;
	padding: 0;
}
#find-box {
	text-align: right;
	margin: 0 5px 5px 0;
}
#find-box input[type="text"] {
	width: 150px;
	padding: 5px;
    display: inline; 
}
#err-box {
	width: 600px;
	margin: 2em auto;
	text-align: center;
	background: #fff;
	padding: 1em;
	border-radius: 6px;
	color: #dd0000;
}

/*
	ペイジャー
	引用: https://3owebcreate.com/web/wordpress/wp_pager_css
*/
.pager .pagination {
  text-align: center;
}

.pager .pagination li {
  display: inline;
  margin: 0 1px;
  padding: 0;
  display: inline-block;
  width: 30px;
  height: 30px;
  text-align: center;
  position: relative;
  border-radius: 30px;
}

.pager .pagination li.pre,
.pager .pagination li.next{
  background: #5DA797;
  color: #fff;
}

.pager .pagination li a{
  vertical-align: middle;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  display:table;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;
}

.pager .pagination li.pre a,
.pager .pagination li.next a{
  color: #fff;
}

.pager .pagination li a span{
  display:table-cell;
  vertical-align:middle;
}

.pager .pagination li a:hover,
.pager .pagination li a.active{
  color: #000;
  background: #ccf;
  border-radius: 10px;
  border-radius: 30px;
  animation: animScale 0.4s ease-out;
  transform-origin: 50% 50%;
  -webkit-animation: animScale 0.4s ease-out;
  -webkit-transform-origin: 50% 50%;
  -moz-animation: animScale 0.4s ease-out;
  -moz-transform-origin: 50% 50%;
}
@keyframes animScale {
  0% { transform: scale(0.8, 0.8); }
  40% { transform: scale(1.2, 1.2); }
  60% { transform: scale(1, 1); }
  80% { transform: scale(1.1, 1.1); }
  100% { transform: scale(1, 1); }
}
@-webkit-keyframes animScale {
  0% { -webkit-transform: scale(0.8, 0.8); }
  40% { -webkit-transform: scale(1.2, 1.2); }
  60% { -webkit-transform: scale(1, 1); }
  80% { -webkit-transform: scale(1.1, 1.1); }
  100% { -webkit-transform: scale(1, 1); }
}
@-moz-keyframes animScale {
  0% { -moz-transform: scale(0.8, 0.8); }
  40% { -moz-transform: scale(1.2, 1.2); }
  60% { -moz-transform: scale(1, 1); }
  80% { -moz-transform: scale(1.1, 1.1); }
  100% { -moz-transform: scale(1, 1); }
}

/* for smartphone */
@media only screen and (max-width: 480px) {
	body {
		font-size: 100%;
	}
	h1 {
		font-size: large;
	}
	#main-ttl {
		padding: 5px 0 0 10px;
	}
	#top-menu span {
		margin: .5em;
	}
	#body {
		width: 98%;
		margin: .5em auto;
	}
	#find-box input[type="text"] {
		width: 110px;
		padding: 2px;
	}
	#err-box {
		width: 100%;
		margin: .4em auto;
	}
/*	pager
	引用 https://3owebcreate.com/web/wordpress/wp_pager_css
*/
  .pager .pagination li{
    display: none;
  }
  .pager .pagination li.pre,
  .pager .pagination li.next{
    display: inline-block;
    width: 40%;
    height: 50px;
    text-align: center;
  }
  .pager .pagination li.pre a,
  .pager .pagination li.next a{
    width: 100%;
    text-align: center;
  }
  .pager .pagination li.pre span::after{
    content: "　前の10件へ";
  }
  .pager .pagination li.next span::before{
    content: "次の10件へ　";
  }
}

