@charset "Shift_JIS";
/*----------------------------------------------------

　Works

----------------------------------------------------*/
/* テスト中確認用赤線 ページ下JSに設定 */
.red-line {
  border: 2px solid #f00;
}
/*----------------------------------------------------
   Masonry
----------------------------------------------------*/
.grid_container {
  width: 980px;
}
.grid_container .grid_item {
  width: 196px;
  list-style-type: none;
  opacity: 0; /* for loading */
}
.grid_container .grid_item img {
  display: block;
  width: 196px;
  height: 196px;
}
/*.works_list li {
	position: relative;
	float: left;
}*/
.grid_container .grid_item a {
  display: block;
}
.grid_container .grid_item a:hover {
  filter: Alpha(opacity=99);
  -moz-opacity: 0.99;
  opacity: 0.99;
}
.grid_container .grid_item:before {
  content: "";
  display: block;
  padding-top: 100%;
}
.grid_container .grid_item.new:after {
  content: "NEW";
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  padding: 4px 0 2px !important;
  color: #fff;
  font-size: 1rem;
  background-color: #f33;
  text-align: center;
}
.grid_container .grid_item img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  object-fit: cover;
  font-family: 'object-fit:cover;'
}
.grid_container .grid_item .bg {
  display: block;
  position: absolute;
  top: 2%;
  left: 2%;
  width: 96%;
  height: 96%;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  background: url(img/bg.png) top left repeat;
  filter: alpha(opacity=0);
  -moz-opacity: 0;
  opacity: 0;
}
.grid_container .grid_item .caption {
  display: block;
  position: absolute;
  color: #fff;
  text-align: center;
  filter: alpha(opacity=0);
  -moz-opacity: 0;
  opacity: 0;
}
.grid_container .grid_item .caption.caption_en {
  display: none;
}
.grid_container .grid_item .ttl {
  line-height: 1.4;
  font-size: 1.3rem;
  top: 35%;
  left: 5%;
  right: 5%;
  font-weight: bold;
}
.grid_container .grid_item .category {
  font-size: 1.2rem;
  top: 70%;
  left: 0;
  right: 0;
}
.grid_container .grid_item:hover .bg {
  filter: alpha(opacity=70);
  -moz-opacity: 0.7;
  opacity: 0.7;
  /*z-index: -2;*/
}
.grid_container .grid_item:hover .caption {
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  opacity: 1;
  /*z-index: -1;*/
}
/*.grid_container .grid_item:hover img {	z-index: -3;}*/
@media screen and (max-width:600px) {
  .grid_container {
    width: 100%;
  }
  .grid_container .grid_item {
    width: 33.3%;
  }
  .grid_container .grid_item img {
    width: 100%;
  }
  .grid_container .grid_item .bg, .grid_container .grid_item .caption {
    display: none;
  }
}
/*----------------------------------------------------
   filter
----------------------------------------------------*/
.button_area input[type="checkbox"] {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.button_area label {
  position: relative;
  display: block;
  float: left;
  text-align: center;
  padding: 10px 0;
  background-color: #ccc;
  border-radius: 3px;
  cursor: pointer;
  transition: all .3s ease;
  font-size: 1.5rem;
  font-weight: bold;
  width: 32%;
  margin: 10px 2% 20px 0;
}
.button_area label:last-of-type {
  margin-right: 0;
}
.button_area label:hover {
  background-color: #aaa;
}
.button_area label.active {
  background-color: #46A2D7;
  color: #fff;
}
.button_area label.active:hover {
  background-color: #4abfe3;
}
.button_area label input[type="checkbox"] + span {
  position: relative;
  padding: 0 30px 0 35px;
}
.button_area label input[type="checkbox"] + span::before {
  border-color: #00acc1;
}
.button_area label span {
  display: inline-block;
}
.button_area label input[type="checkbox"] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.button_area label input[type="checkbox"] + span::before, .button_area label input[type="checkbox"] + span::after {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  content: '';
  box-sizing: border-box;
}
.button_area label input[type="checkbox"] + span::before {
  z-index: 0;
  background-color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 5px;
}
.button_area label input[type="checkbox"] + span::after {
  z-index: 1;
  margin: 5px 7px;
  width: 6px;
  height: 9px;
}
.button_area label input[type="checkbox"]:checked + span::before {
  background-color: #fff;
}
.button_area label input[type="checkbox"]:checked + span::after {
  border: 2px solid #000;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.button_area label .sp_only {
  display: none;
}
#loading_msg {
  position: fixed;
  top: 70%;
  left: 48%;
  width: 100%;
  z-index: -1;
}
@media screen and (max-width:600px) {
  .button_area {
    margin-bottom: 10px;
  }
  .button_area label {
    width: 49%;
    margin: 5px 2% 5px 0;
    padding: 7px 0;
  }
  .button_area label:nth-of-type(2n) {
    margin-right: 0;
  }
  .button_area label .sp_only {
    display: inline-block;
  }
  #loading_msg {
    top: 85%;
  }
}
/*----------------------------------------------------
   ページャーボタン
----------------------------------------------------*/
.btn-wrap {
  display: flex;
  justify-content: center;
  column-gap: 4%;
  margin-top: 40px;
}
.btn-wrap .btn a {
  padding-top: 1.5em;
  padding-bottom: 1.5em;
  line-height: 1;
  text-align: center;
  min-width: 240px;
}
.btn-wrap .btn a::after {
  right: 10px;
}
.btn-wrap .btn a strong {
  font-size: 1.25em;
}
/*現在のページを非表示*/
.btn-wrap .btn.current {
  display: none;
}
@media screen and (min-width:600px) {
  .btn-wrap {
    margin-top: 60px;
  }
  .btn-wrap .btn a {
    padding-right: 4em;
    padding-left: 4em;
  }
  .btn-wrap .btn a::after {
    right: 15px;
  }
}