@charset "UTF-8";
/* CSS Document */


/*== ボタン共通設定 */
.button_q_a{
    /*アニメーションの起点とするためrelativeを指定*/
    position: relative;
	overflow: hidden;
    margin: 1em 0;
    
    /*ボタンの形状*/
	text-decoration: none;
	display: inline-block;


    text-align: center;
    outline: none;
    border-radius: 30px;        /* CSS3草案 */  
    -webkit-border-radius: 30px;    /* Safari,Google Chrome用 */  
    -moz-border-radius: 30px;   /* Firefox用 */  
    
    /*文字の設定*/ 
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    outline: none;
    
    /*アニメーションの指定*/   
    transition: ease .2s;
}


/*ご購入ボタン*/ 
.button_q_a{
    /*border: 1px solid #DB490B;/* ボーダーの色と太さ */
    background:#DB490B;
    padding: 8px 80px;
    
    /*文字の大きさ*/ 
	font-size:18px;
	font-size: 1.8rem;

}


/*Media Queries for small tablet & smart phone*/
@media only screen and (max-width: 767px) {

.button_q_a{
    /*アニメーションの起点とするためrelativeを指定*/
    padding: 6px 30px;
    
    /*文字の大きさ*/ 
	font-size:14px;
	font-size: 1.4rem;
} 
}

/*Media Queries for small tablet & smart phone*/
@media only screen and (max-width:425px) {

}
/*ボタン内spanの形状*/
.button_q_a span {
	position: relative;
	z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
	color:#fff;
}
.button_q_a:hover span{
	color:#fff;
}

/*== 背景が流れる（中央から横全体） */
.bgcenterx_q_a:before {
	content: '';
    /*絶対配置で位置を指定*/
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
    
    /*色や形状*/
	width: 100%;
	height: 100%;
    /*アニメーション*/
	transition: transform .3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
	transform: scale(0, 1);
	transform-origin: top;
}

.bgcenterx_q_a:before{
	background:#314984;
}



/*hoverした際の形状*/
.bgcenterx_q_a:hover:before{
	transform:scale(1, 1);
}





a:link.button_q_a, a:hover.button_q_a, a:visited.button_q_a {
    text-decoration: none;
    
    
}


