﻿.layout__heading {
  margin-top: 30px;
  padding: 0 30px;
}

.layout span {
  display: block;
}
.layout .layout__border {
  border: solid 1px #ffffff;
}
.layout .layout__box {
  overflow: hidden;
}
.layout .layout__box2 {
  padding: 0 50px;
}
.layout .layout__image {
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
}
.layout.layout--people .layout__box2 {
  padding: 0 45% 0 50px;
}
.layout.layout--white .layout__box2 {
  color: #fff;
}
.layout:hover .layout__image {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  -webkit-filter: brightness(0.7);
  -moz-filter: brightness(0.7);
  -o-filter: brightness(0.7);
  -ms-filter: brightness(0.7);
  filter: brightness(0.7);
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
}
.layout .layout__link {
  color: #fff;
}
.layout .layout_margin {
  margin-top: 1px;
}
.layout .layout__paragraph {
  margin-top: 0;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .layout .layout__box2 {
    padding: 0 10px;
  }
  .layout .layout__box2 .layout__paragraph {
    font-size: 1.71rem;
    line-height: 1.3em;
    margin-top: 0;
  }
}
@media screen and (max-width: 767px) {
  .layout .layout__box2 {
    padding: 0 !important;
  }
  .layout .layout__box2 .layout__paragraph {
    text-align: left;
  }
  .layout .layout__link {
    color: #666;
  }
}
.area_button-load-more {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/* category_tab */
.category_tab {
  margin-top: 30px;
  width: 100%;
  min-height: 1px;
  zoom: 1;
  display: flex;
}
.category_tab > li {
  display: flex;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 12.5%;
  height: 52px;
  background-color: #bbb;
}
.category_tab .category_tab__link {
  display: flex;
  padding: 0 5px;
  color: #fff;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  border-left: solid 1px #fff;
  border-top: solid 1px #bbb;
  border-bottom: solid 1px #bbb;
}
.category_tab .category_tab__link:hover {
  color: #fff;
  text-decoration: none;
  background-color: #000;
  -webkit-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  -ms-transition: all 0.1s linear;
}
.category_tab .is-current.category_tab__link {
  color: #666;
  background-color: #fff;
}
.category_tab li:nth-of-type(1) .is-current.category_tab__link {
  border-left: solid 1px #bbb;
}
.category_tab li:nth-last-of-type(1) .is-current.category_tab__link {
  border-right: solid 1px #bbb;
}
.category_tab .is-current.category_tab__link:hover {
  color: #666;
}
@media screen and (max-width: 767px) {
  .category_tab {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .category_tab .category_tab__link {
    width: 100%;
    height: 42px;
    font-size: 0.87rem;
    line-height: 1em;
    border:none;
  }
  .category_tab .is-current.category_tab__link {
    color: #666;
    border:none;
  }
  .category_tab > li {
    width: 25%;
    height: 42px;
    border: none;
    box-shadow: 0 0 0 1px #ddd;
  }
  .category_tab > li:first-child {
    width: 100%;
  }
  .category_tab li:nth-of-type(1) .is-current.category_tab__link {
    border-left: none;
  }
  .category_tab li:nth-last-of-type(1) .is-current.category_tab__link {
    border-right: none;
  }
}

/* pagination */
.pagination {
  margin: 20px 0;
}
.pagination + * {
	clear: both;
}
.pagination .result_num {

}
.pagination .simple-pagination {
  border-top: solid 1px #dddddd;
  border-bottom: solid 1px #dddddd;
  padding: 10px 0;
}
.pagination ul {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.pagination ul li {
	margin: 0 4px;
	display: flex;
}
.pagination ul li.active {
	font-weight: bold;
}
.pagination ul li.disabled:nth-child(1),
.pagination ul li.disabled:nth-last-child(1) {
	visibility: hidden;
}
.pagination ul li:nth-child(1) {
  flex: 1;
  justify-content: flex-start;
}
.pagination ul li:nth-last-child(1) {
  flex: 1;
  justify-content: flex-end;
}
.pagination ul li a,
.pagination ul li span {
  display: flex;
	justify-content: center;
	align-items: center;
	min-height: 24px;
	min-width: 24px;
}
.pagination ul li .prev {
  padding: 0 0 0 20px;
  background-image: url(/common/images/module_menu-pager_icon.png);
  background-position: left center;
  background-repeat: no-repeat;
}
.pagination ul li .next {
  padding: 0 20px 0 0;
  background-image: url(/common/images/module_menu-pager_icon2.png);
  background-position: right center;
  background-repeat: no-repeat;
}
@media screen and (max-width: 768px) {
	.pagination .result_num {
		float: none;
		font-size: 1rem;
		margin: 0 0 10px;
	}
	.pagination ul {
/*    justify-content: center; */
	}
	.pagination ul li {
		margin: 0 2px;
  }
  .pagination ul li:nth-child(1) {
		margin: 0 2px 0 0;
  }
  .pagination ul li:nth-last-child(1) {
		margin: 0 0 0 2px;
  }
	.pagination ul li.disabled {
		font-size: 1rem;
		border: none;
  }
  .pagination ul li a,
  .pagination ul li span {
		display: flex;
		align-items: center;
		justify-content: center;
    min-height: 1rem;
    min-width: 1rem;
/*		border: 1px solid #e2ddd4;　*/
		font-size: 1rem;
  }
  .pagination ul li.disabled span,
  .pagination ul li.active span {
    border: none;
  }
  .pagination ul li .prev {
    padding: 0 0 0 10px;
  }
  .pagination ul li .next {
    padding: 0 10px 0 0;
  }
}
