@charset "utf-8";

/*固定する背景 start*/

.img-bg-00 {
	box-sizing: border-box;
	height: 100VH;
  padding: 5%; 
  
  background: linear-gradient(to top, rgba(217, 175, 217, 0.7) 0%, rgba(151, 217, 225, 0.7) 100%),
  url(../top/mg/mg/14.jpg);  /* 背景画像指定 */
  
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  
  display:grid;
  place-items: center;
}
.contactbase {
	text-align: center;
	backdrop-filter: blur(7px);
	//padding: 2em;
	padding-top: 40px;
	padding-bottom: 40px;
	width: 100%;
}
/*固定する背景 start*/


/*== 線の上を別の線が伸びる start */

.btnlinestretches4{
    /*線の基点とするためrelativeを指定*/
  position:relative;
    /*リンクの形状*/ 
  color:#333;
    padding: 10px 50px 10px 30px;
  
  display:inline-block;
    text-decoration: none;
    outline: none;
}

/*線の設定*/
.btnlinestretches4::before,
.btnlinestretches4::after{
  content:'';
    /*絶対配置で線の位置を決める*/
  position:absolute;
  z-index:1;
  bottom:0;
  left:0;
     /*線の形状*/   
  background:#333;
  width:100%;
  height:2px;
    /*アニメーションの指定*/
  transition:all 0.3s ease-in-out;
}

 /*hover時に伸びる線の形状*/   
.btnlinestretches4::after{
  width:0;
  background:#ccc;
}

 /*hover時に100%に伸びる*/   
.btnlinestretches4:hover::after {
  width:100%;
}

 /*矢印の設定*/   
.btnlinestretches4 span::after {
    content: '';
    /*絶対配置で矢印の位置を決める*/
    position: absolute;
    top: 1.3em;
    right: 20px;
    /*矢印の形状*/   
    width: 5px;
    height: 5px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    transform: rotate(45deg);
    /*アニメーションの指定*/
    transition: all .3s;
}

/*hover時に矢印が移動*/   
.btnlinestretches4:hover span::after {
  right:15px;
}

/*== 線の上を別の線が伸びる end */





/*========= スクロールダウンのためのCSS start ===============*/

/*====== 9-1-1 縦線が動いてスクロールを促す =======*/

/*スクロールダウン全体の場所*/
.scrolldown1{
    /*描画位置※位置は適宜調整してください*/
  position:absolute;
  left:50%;
  bottom:10px;
    /*全体の高さ*/
  height:50px;
}

/*Scrollテキストの描写*/
.scrolldown1 span{
    /*描画位置*/
  position: absolute;
  left:-15px;
  top: -15px;
    /*テキストの形状*/
  color: #eee;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* 線の描写 */
.scrolldown1::after{
  content: "";
    /*描画位置*/
  position: absolute;
  top: 0;
    /*線の形状*/
  width: 1px;
  height: 30px;
  background: #eee;
    /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
  0%{
    height:0;
    top:0;
    opacity: 0;
  }
  30%{
    height:30px;
    opacity: 1;
  }
  100%{
    height:0;
    top:50px;
    opacity: 0;
  }
}

/*========= スクロールダウンのためのCSS end ===============*/
/* TEL用btn start */
.btntel {
	width: 300px;
	padding: 5px;
	background-color: rgba(0,0,0,0.7);
	color: rgba(255,255,255,1);
	margin-right: auto;
	margin-left: auto;
	margin-top: 20px;
	margin-bottom: 40px;
	font-size: 80%;
	text-align: center;
}
/* TEL用btn end */
