@charset "utf-8";

.hover {
  position: relative;
}
.hover .hover-img {
  margin: 0;
  padding: 0;
}
.hover-img img {
  width: 100%;
  height: 100%;
}
.hover .hover-text {
  position:	absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  color: #fff;
  text-align: center;
  background-color:	rgba(0,0,0,0.50);
  transition: .3s ease-in-out;
}
.hover .hover-text .text1 {
  font-size: 22px;
  padding: 300px 0 0 0;
}
.hover .hover-text .text2 {
  font-size: 16px;
  padding: 10px;
}
/*ホバーエフェクト*/
.hover:hover .hover-text {
  background-color:	rgba(255,255,255,0.1);
  cursor: pointer
}
@media screen and (max-width: 750px) {
/* 750pxまでの幅の場合に適応される */
  .hover {
    position: relative;
    width: auto;
    height: auto;
  }
  .hover .hover-img {
    margin: 0;
    padding: 0;
  }
  .hover-img img {
    width: 100%;
    height: 100%;
  }
  .hover .hover-text {
    position:	absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    color: #fff;
    text-align: center;
    background-color:	rgba(0,0,0,0.0);
    transition: .3s ease-in-out;
  }
  .hover .hover-text .text1 {
    font-size: 17px;
    text-shadow: 1px 0px 1px #000;
    padding: 200px 0 0 0;
  }
  .hover .hover-text .text2 {
    font-size: 13px;
    padding: 5px;
  }
	.hover-text {
    position: relative;
	}
	.hover-text .text1 {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin: 0;
    padding: 5px 0 5px 0;
    color: #fff;
    text-align: center;
    width: 100%;
    background-color: rgba(0,0,0,0.0);
    margin-block-start: 0;
    margin-block-end: 0;
  }
	.hover-text .text2 {
    position: absolute;
    top: 90%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin: 0;
    padding: 5px 0 5px 0;
    color: #fff;
    text-align: center;
    width: 100%;
    background-color: rgba(0,0,0,0.6);
    margin-block-start: 0;
    margin-block-end: 0;
  }
}