@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap');

@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap" rel="stylesheet');


.txt_position {
	text-align: left;
}

/*header　コンタクトボタン*/
.contact_btn_wrap {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  position: absolute;
	top: 105px;
	right: 10px;
}

.contact_btn_wrap a {
  display: block;
  margin: 0;
  padding: 15px 0 15px;
  width: 110px;
  color: #706e68;
  font-size: 0.9em;
  text-align: center;
  text-decoration: none;
  position: relative;
  transition: .2s ease-in-out;
}

.contact_btn_wrap a:active {
  background: rgba(255, 255, 255, .5);
}

.lazer:before {
  content: "";
  width: 100%;
  height: 1px;
  background: #706e68;
  position: absolute;
  top: -1px;
  right: 0;
  transition: .1s ease-in-out .1s;
}

.lazer:after {
  content: "";
  width: 1px;
  height: 100%;
  background: #706e68;
  position: absolute;
  bottom: 0;
  right: -1px;
  transition: .1s ease-in-out .2s;
}

.lazer span:before {
  content: "";
  width: 100%;
  height: 1px;
  background: #706e68;
  position: absolute;
  bottom: -1px;
  left: 0;
  transition: .1s ease-in-out .3s;
}

.lazer span:after {
  content: "";
  width: 1px;
  height: 100%;
  background: #706e68;
  position: absolute;
  top: 0;
  left: -1px;
  transition: .1s ease-in-out;
}

.lazer:hover span:after {
  height: 0;
}

.lazer:hover:before {
  width: 0;
}

.lazer:hover:after {
  height: 0;
}

.lazer:hover span:before {
  height: 2px;
}




/*ViewMoreボタン*/
a.btnarrow5,
a.btnarrow5:link,
a.btnarrow5:visited{
    color: #002E41;
	font-size: 0.85em;
	line-height: 1em;
	position: relative;
  	border: none;
    padding: 17px 60px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    /*アニメーションの指定*/
    transition: all .2s linear;
    /*背景はなし。枠線をグラデにするため::afterで描画*/
  background-image: none;
  width: 100%;
  max-width: 290px;
}

/*グラデーションの枠線（中身は透明のままにするためmaskでリング状に抜く）*/
.btnarrow5::after{
  content:"";
  position: absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
    /*枠線の太さ*/
  padding:1px;
  background-image: linear-gradient(76.3deg, #002E41 12.6%, rgba(69, 103, 131, 1) 82.8%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.btnarrow5:hover{
  color:#002E41 !important;
  background-image: none;
  text-decoration: none;
}

/*矢印と下線の形状*/
.btnarrow5::before{
  content:"";
    /*絶対配置で下線の位置を決める*/
  position: absolute;
  top:50%;
  right:-0;
    /*下線の形状*/
  width:35px;
  height:1px;
  background:#456782;
    /*アニメーションの指定*/
    transition: all .2s linear;
  z-index:1;
}

/*hoverした際の移動（線が動くだけ。色は変えない）*/
.btnarrow5:hover::before{
  right:0;
  width:15px;
}





/*何かで使う*/
.more_btn a {
	text-align: center;
	font-size: 0.95em;
	line-height: 36px;
	max-width: 120px;
	height: 36px;
	transition: background-color 0.5s ease-in;
	-webkit-transition: background-color 0.5s ease-in;
	width: 100%;
	letter-spacing: 1px;
	position: absolute;
	top: 60px;
	right: 30px;
	border: 1px solid #666;
}

.more_btn a:hover {
	text-decoration: none;
	background-color: rgba(216, 172, 98, 0.7) !important;
}



@media screen and (max-width: 1024px) {
/*header　コンタクトボタン*/
.contact_btn_wrap {
  top: 20px;
	right: 130px;
}
}


@media screen and (max-width: 640px) {
.txt_position {
	text-align: center;
}

/*header　コンタクトボタン*/
.contact_btn_wrap {
	top: 10px;
	right: 60px;
}

.contact_btn_wrap a {
    padding: 13px 0 13px;
    width: 85px;
    font-size: 0.9em;
}

.btnarrow5 {
    font-size: 1.2em;
}
}




