@charset "UTF-8";
/* 家づくりチャンネル */

.movie-wrap {
  -ms-flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.25em;
}

.movie-item {
  width: 43%;
  margin-top: 1.875em;
  padding: 0.9375em 1.875em 3.75em;
  border-radius: 4px;
  background-image: url(../../images/bg_movie_item.png);
  text-align: center;
}

.movie-item img {
  -o-object-fit: contain;
  max-width: 28.3125em;
  height: 16.5625em;
  object-fit: contain;
}

.movie-item:not(:nth-of-type(2n)) {
  margin-right: 6%;
}

a.movie-item__img {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 28.3125em;
  height: 21.25em;
  margin-right: auto;
  margin-left: auto;
  background-color: #000;
}

.movie-item__text {
  margin-top: 0.90909em;
  padding-left: .5em;
  color: #5e2f06;
  font-size: 1.375em;
  text-align: left;
}

a.movie-item__link {
  display: block;
  width: 21.33333em;
  margin-top: 1.38889em;
  margin-right: auto;
  margin-left: auto;
  padding: .5em;
  border-radius: 15px;
  background-color: #be0d23;
  color: #fff;
  font-size: 1.125em;
  text-align: center;
  text-decoration: none;
}

/* ----------------------------------------------
	PageNavi
---------------------------------------------- */
.wp-pagenavi {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  padding: 7em 0 5em;
  font-weight: bold;
  white-space: nowrap;
}

.wp-pagenavi a,
.wp-pagenavi span {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  display: inline-block;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 2.94444em;
  height: 2.94444em;
  margin: 0 .2em;
  padding: 0;
  border: 0;
  border-radius: 50%;
  font-size: 1.125em;
  text-decoration: none;
}

.wp-pagenavi a.current,
.wp-pagenavi span.current {
  background: #6a3906;
  color: #fff;
}

.wp-pagenavi a.previouspostslink, .wp-pagenavi a.nextpostslink,
.wp-pagenavi span.previouspostslink,
.wp-pagenavi span.nextpostslink {
  width: auto;
  height: 3.3125em;
  margin: 0 1em;
  padding: 0 1em;
  border-radius: 0.3em;
  background: #6a3906;
  color: #fff;
  font-size: 1em;
}

.wp-pagenavi a.previouspostslink span, .wp-pagenavi a.nextpostslink span,
.wp-pagenavi span.previouspostslink span,
.wp-pagenavi span.nextpostslink span {
  width: auto;
  color: #fff;
}

.wp-pagenavi a:hover {
  background: #6a3906;
  color: #fff;
}

@media screen and (max-width: 1900px) {
  /* 家づくりチャンネル */
}

@media screen and (max-width: 1540px) {
  /* 家づくりチャンネル */
}

@media screen and (max-width: 1260px) {
  /* 家づくりチャンネル */
}

@media screen and (max-width: 1024px) {
  /* 家づくりチャンネル */
  .movie-item img {
    max-width: 25.48125em;
    height: 14.90625em;
  }
  a.movie-item__img {
    max-width: 25.48125em;
    height: 19.125em;
  }
  a.movie-item__link {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
  }
}

@media screen and (max-width: 768px) {
  /* 家づくりチャンネル */
  .movie-item img {
    max-width: 18.40312em;
    height: 10.76563em;
  }
  a.movie-item__img {
    max-width: 18.40312em;
    height: 10.76563em;
  }
}

@media screen and (max-width: 480px) {
  /* 家づくりチャンネル */
  .movie-wrap {
    display: block;
  }
  .movie-item img {
    max-width: 24.06563em;
    height: 14.07813em;
  }
  .movie-item:not(:nth-of-type(2n)) {
    margin-right: 0;
  }
  .movie-item {
    width: 100%;
    margin-top: 1.5625em;
  }
  a.movie-item__img {
    max-width: 24.06563em;
    height: 14.07813em;
  }
  .wp-pagenavi {
    font-size: 0.7em;
  }
  .wp-pagenavi a.previouspostslink, .wp-pagenavi a.nextpostslink,
  .wp-pagenavi span.previouspostslink,
  .wp-pagenavi span.nextpostslink {
    padding: 0 .5em;
  }
  .wp-pagenavi a.tab_over,
  .wp-pagenavi span.tab_over {
    display: none !important;
  }
  .wp-pagenavi a,
  .wp-pagenavi span {
    display: inline-block;
  }
}
