/* *****************************************************************

Stylesheet: ボタンに適応

******************************************************************/

/*==========ボタンの位置調整==========*/

/*ボタンを右寄せ*/
.btnbox-right {
	text-align:right;
	margin-top:8px!important;
	padding:0px;
}

/*ボタン右よせ→スマホ中央よせ*/
.btnbox-right-center {
	text-align:right;
	padding:0px;
}
@media (max-width: 639px) {
.btnbox-right-center{
	text-align:center;
}
}

/*ボタン中央よせ*/
.btnbox-center{
	text-align:center;
	padding:0px;
}

/*ボタン左よせ*/
.btnbox-left{
	text-align:left;
	padding:0px;
}

/*ボタン左よせ→スマホ中央よせ*/
.btnbox-left-center {
  text-align:left;
	padding:0px;
}
@media (max-width: 1024px) {
.btnbox-left-center{
	text-align:center;
}
	.btnbox-left-center .smb-box__body {
		text-align:center;
	}
}

/*ボタン左よせ→スマホ右よせ*/
.btnbox-left-center {
	text-align:left;
	padding:0px;
}
@media (max-width: 639px) {
.btnbox-left-right{
	text-align:right;
}
}

/*==========ボタンの位置調整〆==========*/



/*==========左から右に流れるボタンアニメーション アクセントカラー==========*/
.bgleft-accent{
    /*アニメーションの起点とするためrelativeを指定*/
  position: relative;
	overflow: hidden;
    /*ボタンの形状*/
	text-decoration: none;
	display: inline-block;
  border: 2px solid var(--accent-color);/* ボーダーの色と太さ */
	margin-left:auto!important;
    outline: none;
    /*アニメーションの指定*/   
    transition: ease .2s;
}

/*ボタン内spanの形状*/
.bgleft-accent span {
	position: relative;
	z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
	color: var(--accent-color) !important;
	font-weight:700;
}
.bgleft-accent:hover span{
	color:#fff !important;
}

/*背景が流れる（左から右） */
.bgleft-accent:before {
 	content: '';
    /*絶対配置で位置を指定*/
 	position: absolute;
 	top: 0;
 	left: 0;
 	z-index: 2;
    /*色や形状*/
	background-color: var(--accent-color) !important;
 	width: 100%;
	height: 100%;
    /*アニメーション*/
 	transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
 	transform: scale(0, 1);
	transform-origin: right top;
}
/*hoverした際の形状*/
.bgleft-accent:hover:before{
	transform-origin:left top;
	transform:scale(1, 1);
}

/*==========左から右に流れるボタンアニメーション アクセントカラー〆==========*/



/*==========左から右に流れるボタンアニメーション 白==========*/
.bgleft-white{
    /*アニメーションの起点とするためrelativeを指定*/
  position: relative;
	overflow: hidden;
    /*ボタンの形状*/
	text-decoration: none;
	display: inline-block;
  border: 2px solid #fff;/* ボーダーの色と太さ */
  margin-left:auto!important;
    outline: none;
    /*アニメーションの指定*/   
    transition: ease .2s;
}
/*ボタン内spanの形状*/
.bgleft-white span {
	position: relative;
	z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
	color: #fff !important;
}
.bgleft-white:hover span{
	color: var(--accent-color) !important;
}
/* 背景が流れる（左から右） */
.bgleft-white:before {
 	content: '';
    /*絶対配置で位置を指定*/
 	position: absolute;
 	top: 0;
 	left: 0;
 	z-index: 2;
    /*色や形状*/
	background-color: #fff!important;
 	width: 100%;
	height: 100%;
    /*アニメーション*/
 	transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
 	transform: scale(0, 1);
	transform-origin: right top;
}
/*hoverした際の形状*/
.bgleft-white:hover:before{
	transform-origin:left top;
	transform:scale(1, 1);
}

/*==========左から右に流れるボタンアニメーション 白〆==========*/


/*==========左から右に流れるボタンアニメーション アクセントカラー塗りつぶし==========*/
.bgleft-accent-fill{
    /*アニメーションの起点とするためrelativeを指定*/
  position: relative;
	overflow: hidden;
    /*ボタンの形状*/
	text-decoration: none;
	display: inline-block;
  border: 1px solid var(--accent-color);/* ボーダーの色と太さ */
	margin-left:auto!important;
    outline: none;
    /*アニメーションの指定*/   
    transition: ease .2s;
	background-color:var(--accent-color);
}

/*ボタン内spanの形状*/
.bgleft-accent-fill span {
	position: relative;
	z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
	color: #fff;
	font-weight:700;
}
.bgleft-accent-fill:hover span{
	color:var(--accent-color) !important;
}

/*背景が流れる（左から右） */
.bgleft-accent-fill:before {
 	content: '';
    /*絶対配置で位置を指定*/
 	position: absolute;
 	top: 0;
 	left: 0;
 	z-index: 2;
    /*色や形状*/
	background-color: #fff !important;
 	width: 100%;
	height: 100%;
    /*アニメーション*/
 	transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
 	transform: scale(0, 1);
	transform-origin: right top;
}
/*hoverした際の形状*/
.bgleft-accent-fill:hover:before{
	transform-origin:left top;
	transform:scale(1, 1);
}

/*==========左から右に流れるボタンアニメーション アクセントカラー塗りつぶし〆==========*/



/*==========シンプルなテキストボタン　矢印と線が動く==========*/

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

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

 /*hover時に伸びる線の形状*/   
.btnlinestretches4::after{
  width:0;
  background:var(--accent-color);
}

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

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

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

/*==========シンプルなテキストボタン　矢印と線が動く〆==========*/
