@charset "utf-8";
/* CSS Document */

/*背景写真ありバナー*/

.btn {
  display: flex;
  align-items: center;
  position: relative;
  height: 170px;
  width: 610px;
  margin: 73px auto;
  background: url("../img/works.jpg") no-repeat 0 0/cover;
}
.btn a{
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  height: 170px;
  width: 610px;
  margin: 20px auto;
}

.btn p {
  z-index: 1;
  font-size: 24px;
  font-weight: 500;
  font-family: 'Noto Sans JP', serif;
  color: #FFF;
  margin: 60px;
}

.btn img {
	position: absolute;
	z-index: 3;
  top: 50%;
  transform: translateY(-50%);
	height: 28px;
	right: 60px;
	transition: 0.3s all;
}

.btn:hover img {	
	right: 40px;
}

.over1::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(13, 19, 37, 0.85);
  transition: 0.6s all;
}

.over1:hover::after {
	background: rgba(13, 19, 37, 1);
	}

.over1::before {
  content: "";
  z-index: 1;
  position: absolute;
top:30%;
  height: 70px;
  width: 70px;
  border-radius: 60px;
  right: 30px;
  background:#191F30 ;
  transform: scale(0);
  transition: transform 0.3s;
}

.over1:hover::before{
	 transform: scale(1);
}

/*文字のみバナー*/
.box02 {
  display: flex;
  align-items: center;
  position: relative;
  height: 80px;
  width: 340px;
  margin: 0px auto;
   background-color: transparent;
}
.box02 a{
  display: flex;
  align-items: center;
  position: relative;
  height: 80px;
  width: 340px;
  margin: 0px auto;
   background-color: transparent;
}
.box02 p {
  font-size: 24px;
  font-weight: 500;
  font-family: 'Noto Sans JP', serif;
  color: #0D1325;

}
.box02 img {
	position: absolute;
	height: 28px;
  top: 50%;
  transform: translateY(-50%);
	right: 0px;
}

.over02::before {
	background: #0D1325;
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}

.over02:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}