/*-- c-poster */
.c-poster *,
.c-poster *::before,
.c-poster *::after {
  box-sizing: border-box;
}

.c-poster {
  border: 6px solid #713616;
  background-image: url(../img/bg.jpg);
  background-size: cover;
  padding: 20px;
  margin-bottom: 30px;
}

.c-poster .sp-only {
  display: none;
}

@media screen and (max-width: 800px) {
  .c-poster .sp-only {
    display: block;
  }
}

.c-poster__head {
  position: relative;
  margin-bottom: 20px;
}

@media screen and (max-width: 800px) {
  .c-poster__head {
    margin-bottom: 10px;
  }
}

.c-poster a {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  /* border-bottom: 1px solid #000; */
  background-color: #713616;
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 2;
  display: inline-block;
  width: 170px;
  text-align: center;
  text-decoration: none;
}

@media screen and (max-width: 800px) {
  .c-poster__head a {
    display: none;
  }
}

.c-poster a img {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

@media screen and (max-width: 800px) {
  .c-poster a img {
    right: 5px;
  }
}

.c-poster__more {
  text-align: right;
}

@media screen and (max-width: 800px) {
  .c-poster__more {
    margin-bottom: 10px;
  }

  .c-poster__more a {
    position: relative;
    top: auto;
    transform: none;
    right: auto;
    font-size: 9px;
    width: 120px;
  }
}

.c-poster__content {
  display: block;
  display: -webkit-flex;
  justify-content: center;
  -webkit-justify-content: center;
}

.c-poster__item {
  width: 48%;
  height: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  border: 1px solid #ccc;
  background-color: #fff;
  position: relative;
  margin:0 1% 0 1%;
  padding: 14px;
  flex-direction: row;
  align-items: center;
}

.c-poster__item:first-child {
  margin-left: 0;
}

@media screen and (max-width: 800px) {
  .c-poster__item {
    width: 100%;
	height:auto;
    padding: 10px 20px;
  }
}

.c-poster__item--vertical {
  padding: 34px 14px;
}

@media screen and (max-width: 800px) {
  .c-poster__item--vertical {
    padding: 20px 10px;
  }
}

.c-poster__img a img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: relative;
  top: auto;
  right: auto;
  transform: none;
  /*max-height: 570px;*/
  max-width: 570px;
}

.c-poster__img a {
  position: relative;
  top: auto;
  right: auto;
  transform: none;
  width: 100%;
  /* height: 100%; */
}

/*-- c-posterList */
.c-posterList *,
.c-posterList *::before,
.c-posterList *::after {
  box-sizing: border-box;
}

.c-posterList {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  justify-content: center;
  -webkit-justify-content: center;
}

.c-posterList a {
  font-size: 15px;
  text-decoration: none;
  line-height: 1.067;
}

.c-posterList a img {
  display: inline-block;
  vertical-align: middle;
}

.c-posterList__content {
  margin-left: 10px;
  margin-bottom: 50px;
  width: 215px;
}

.c-posterList__content:first-child {
  margin-left: 0;
}

.c-posterList__content:nth-child(3n+1) {
  margin-left: 0;
}

@media screen and (max-width: 800px) {
  .c-posterList__content {
    width: 47%;
  }

  .c-posterList__content:nth-child(3n+1) {
    margin-left: 10px;
  }

  .c-posterList__content:nth-child(2n+1) {
    margin-left: 0;
  }
}

.c-posterList__item {
  height: 215px;
  text-align: center;
  border: 1px solid #ccc;
  background-color: #fff;
  position: relative;
  padding: 14px;
  margin-bottom: 18px;
  display: flex;
	flex-direction: row;
    align-items: center;
}

@media screen and (max-width: 800px) {
  .c-posterList__item {
    padding: 14px 30px;
  }
}

.c-posterList__item--vertical {
  padding: 45px 14px;
}

@media screen and (max-width: 800px) {
  .c-posterList__item--vertical {
    padding: 30px 14px;
  }
}

/* .c-posterList__img { */
  /* height: 100%; */
/* } */

.c-posterList__img img {
  object-fit: cover;
  width: 100%;
  max-height: 185px;
}