/* max-width 960px
   height auto

   【スマホ切り替え】
   ヘッダー、ナビ、フッター　768px
   メイン　600px

	 z-index
   1  body .site

*/

/************** トップエリア **************/
#content .top-area .frame{
	position: relative;
	padding-top: 13rem;
  padding-bottom: 20rem;
}
#content .top-area .frame::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 60%;
  height: 70%;
	background-color: #5CE6FF;
	border-radius: 0 30px 30px 0;
	z-index: -1;
}
#content .top-area .frame .title div:first-of-type{
	width: 380px;
	padding-top: 1rem;
	position: relative;
}
#content .top-area .frame .title div:first-of-type:before{
	content: "";
	position: absolute;
	top: 0;
	left: -2rem;
	width: 127px;
	height: 127px;
	background-color: #FFC47D;
	border-radius: 50%;
}
#content .top-area .frame .title div h2{
	font-size: 71px;
	font-weight: normal;
	line-height: 110%;
	border-bottom: 1px solid #000;
}
#content .top-area .frame .title div p{
	font-size: 20px;
	text-align: right;
}
#content .top-area .frame .title .img-park{
	position: absolute;
	bottom: -15rem;
  left: 0;
  width: 370px;
}
#content .top-area .frame .img{
	position: absolute;
	top: 9rem;
	right: 0;
	max-width: 800px;
	width: 60%;
	border-radius: 30px;
	overflow: hidden;
}
@media screen and (min-width:768px) {
	#content .top-area .frame .title{
		position: relative;
	}
}
@media screen and (max-width:767px) {
	#content .top-area .frame {
		padding-top: 6rem;
		padding-bottom: 12rem;
	}
	#content .top-area .frame::before {
		width: 80%;
		height: 80%;
	}
	#content .top-area .frame .title {
		margin-bottom: 2rem;
	}
	#content .top-area .frame .title div:first-of-type {
		width: 270px;
		margin-left: 2rem;
	}
	#content .top-area .frame .title div:first-of-type::before {
		width: 107px;
    height: 107px;
	}
	#content .top-area .frame .title div h2 {
		font-size: 53px;
	}
	#content .top-area .frame .title .img-park{
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		width: 290px;
	}
	#content .top-area .frame .img{
		position: relative;
		top: auto;
		width: 100%;
		border-radius: 0;
	}
}

/************** アニマルリスト **************/
.animals-list{
  padding-top: 3rem;
  padding-bottom: 5rem;
  text-align: center;
}
.animals-list .frame{
  position: relative;
}
.animals-list .frame .box{
  flex-wrap: wrap;
}
.animals-list .frame .box:before,
.animals-list .frame .box::after{
  content:"";
  display: block;
  width: 22%;
}
.animals-list .frame .box:before {
  order: 1;
}
.animals-list .frame .box a{
  flex-basis: 22%;
  margin-top: 3rem;
}
.animals-list .frame .box a .img{
	border-radius: 30px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.animals-list .frame .box a .img img {
  height: 260px;
  object-fit: cover;
}
.animals-list .frame .box a:hover .img img {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}
.animals-list .frame .box a .sub{
  text-align: center;
}
.animals-list .frame .box a .sub h3{
  font-size: 20px;
}
.animals-list .frame .box a .sub p{
  margin-top: 0.5rem;
}
@media screen and (max-width:767px) {
  .animals-list .frame .box {
    padding: 0 1rem;
  }
  .animals-list .frame .box a {
    flex-basis: 46%;
  }
  .animals-list-list .frame .box a:not(:last-of-type) {
    margin-bottom: 1rem;
  }
  .animals-list .frame .box a .img img {
    height: 145px;
  }
}

.animals-list .page-pagination{
  text-align: right;
  position: relative;
  margin-top: 3rem;
}
.animals-list .page-pagination .page-frame{
  display: inline-block;
}
.animals-list .page-pagination .page-box {
  display: flex;
  justify-content: end;
  align-items: center;
  border: 2px solid #5CE6FF;
  border-radius: 30px;
  padding: 0.5rem 2rem;
  margin-right: 10rem;
}
.animals-list .page-pagination a,
.animals-list .page-pagination span.current {
  position: relative;
  display: block;
  font-size: 24px;
  padding: 0.3rem;
  border-right: 1px solid #000;
}
.animals-list .page-pagination a:hover {
  color: #fff;
  background-color: #5CE6FF;
}
.animals-list .page-pagination .page-box > *:nth-last-child(1),
.animals-list .page-pagination .page-box > *:nth-last-child(2) {
  border-right: 0;
}
.animals-list .page-pagination .page-box > *:nth-last-child(1) {
  border-left: 1px solid #000;
}
.animals-list .page-pagination span.current {
  color: #5CE6FF;
}
.animals-list .page-pagination a.prev.page-numbers,
.animals-list .page-pagination a.next.page-numbers {
  position: absolute;
  display: block;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background-color: #5CE6FF;
}
.animals-list .page-pagination a.prev.page-numbers {
  right: 4rem;
}
.animals-list .page-pagination a.next.page-numbers {
  right: 0;
}
.animals-list .page-pagination a.prev::before,
.animals-list .page-pagination a.next::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 30px;
  height: 1px;
  background: #fff;
  transition: all .5s;
}
.animals-list .page-pagination a.prev::after,
.animals-list .page-pagination a.next::after {
  content: '';
  position: absolute;
  top: 41%;
  width: 13px;
  height: 1px;
  background: #fff;
  transition: all .5s;
}
.animals-list .page-pagination a.prev::after {
  left: 0.5rem;
  transform: rotate(-35deg);
}
.animals-list .page-pagination a.next::after {
  right: 0.5rem;
  transform: rotate(35deg);
}
@media screen and (min-width:768px) {
  .animals-list .page-pagination a.prev.page-numbers,
  .animals-list .page-pagination a.next.page-numbers {
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
  }
}
@media screen and (max-width:767px) {
  .animals-list .page-pagination {
    text-align: center;
    padding-bottom: 4rem;
  }
  .animals-list .page-pagination .page-box {
    margin-right: 0;
  }
  .animals-list .page-pagination a.prev.page-numbers,
  .animals-list .page-pagination a.next.page-numbers {
    bottom: 0;
  }
  .animals-list .page-pagination a.prev.page-numbers {
    right: auto;
    left: 0;
  }
}


/********** シングルページ **********/
body.single #content .top-area .frame .title .img-park {
  bottom: -18rem;
}
.animals-con {
  padding-top: 3rem;
  padding-bottom: 5rem;
}
.animals-con .frame {
  border: 5px solid #A2F1D9;
  border-radius: 50px;
  padding: 5rem 0;
}
.animals-con .frame .box .img {
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 3rem;
}
.animals-con .frame .box p.name {
  font-weight: bold;
}
.animals-con .frame .box h3 {
  font-size: 24px;
}
.animals-con .frame .box .what,
.animals-con .frame .box ul {
  margin-top: 2rem;
}
.animals-con .frame .box .what p:first-of-type {
  font-size: 24px;
  font-weight: bold;
  padding-left: 1.5rem;
  position: relative;
}
.animals-con .frame .box .what p:first-of-type::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  background-color: #5CE6FF;
  border-radius: 50%;
}
.animals-con .frame .box ul {
  font-size: 20px;
}
.animals-con .frame .box ul li {
  border-bottom: 5px solid #A2F1D9;
}
.animals-con .frame .box ul li:not(:last-of-type){
  margin-bottom: 0.5rem;
}
.animals-con .frame .box ul li span {
  font-family: Times New Roman;
  font-style: oblique;
}
.animals-con .nav{
  max-width: 800px;
  width: auto;
  margin: 0 auto;
  margin-top: 3rem;
  align-items: center;
}
.animals-con .nav .nav-previous,
.animals-con .nav .nav-next {
  float: none;
  width: auto;
}
.animals-con .nav span.nav-previous {
  left: 0;
}
.animals-con .nav span.nav-next {
  right: 0;
}
.animals-con .nav span.nav-previous a,
.animals-con .nav span.nav-next a {
  display: flex;
  align-items: center;
  position: relative;
}
.animals-con .nav span.nav-previous a::before,
.animals-con .nav span.nav-next a::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background-color: #5CE6FF;
}
.animals-con .nav span.nav-previous a::before {
  left: 0;
}
.animals-con .nav span.nav-next a::before {
  right: 0;
}
.animals-con .nav span.nav-previous a span {
  padding-left: 4rem;
}
.animals-con .nav span.nav-next a span {
  padding-right: 4rem;
}
.animals-con .nav span.nav-previous a span::before,
.animals-con .nav span.nav-next a span::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  width: 30px;
  height: 1px;
  background: #fff;
  transition: all .5s;
}
.animals-con .nav span.nav-previous a span::before {
  left: 0.6rem;
}
.animals-con .nav span.nav-next a span::before {
  right: 0.6rem;
}
.animals-con .nav span.nav-previous a span::after,
.animals-con .nav span.nav-next a span::after {
  content: '';
  position: absolute;
  top: 35%;
  width: 13px;
  height: 1px;
  background: #fff;
  transition: all .5s;
}
.animals-con .nav span.nav-previous a span::after {
  left: 0.5rem;
  transform: rotate(-35deg);
}
.animals-con .nav span.nav-next a span::after {
  right: 0.5rem;
  transform: rotate(35deg);
}
.animals-con .nav span.back {
  font-size: 28px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}
.animals-con .nav span.back a {
  display: block;
  background-color: #5CE6FF;
  border-radius: 30px;
  padding: 1rem 0;
}
@media screen and (min-width:768px) {
  body.single #content .top-area .frame .title .img-park {
    left: 1rem;
  }
}
@media screen and (max-width:767px) {
  body.single #content .top-area .frame .title .img-park {
    bottom: 0;
    width: 230px;
  }
  .animals-con .frame,
  .animals-con .frame .box ul li {
    border-bottom: 3px solid #A2F1D9;
  }
  .animals-con .frame {
    padding: 2rem 1rem;
  }
  .animals-con .frame .box .img {
    margin-bottom: 1rem;
  }
  .animals-con .frame .box p.name,
  .animals-con .frame .box .what p:first-of-type,
  .animals-con .frame .box ul {
    font-size: 16px;
  }
  .animals-con .frame .box .what,
  .animals-con .frame .box ul {
    margin-top: 1rem;
  }
  .animals-con .frame .box .what p:first-of-type::before {
    width: 16px;
    height: 16px;
  }
  .animals-con .frame .box .what p:last-of-type {
    font-size: 14px;
  }
  .animals-con .nav{
    justify-content: center;
    position: relative;
    padding-bottom: 5rem;
  }
  .animals-con .nav .nav-previous,
  .animals-con .nav .nav-next {
    padding: 0 1rem;
  }
  .animals-con .nav span.nav-previous {
    border-right: 1px solid #666666;
  }
  .animals-con .nav span.back{
    font-size: 16px;
    max-width: 280px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }
  .animals-con .nav span.back a {
    padding: 0.5rem 0;
  }
}
