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


/*== ボタン共通設定 */
.button,.button_q_a{
    /*アニメーションの起点とするためrelativeを指定*/
    position: relative;
	overflow: hidden;
    margin: 1.5em 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{
    border: 2px solid #FF5071;/* ボーダーの色と太さ */
    padding: 12px 160px;
    
    /*文字の大きさ*/ 
	font-size:24px;
	font-size: 2.4rem;

    
}

/*お問い合わせ*/ 
.button_q_a{
    border: 1px solid #0098c7;/* ボーダーの色と太さ */
    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{
    /*アニメーションの起点とするためrelativeを指定*/
    padding: 6px 90px;

    
    /*文字の大きさ*/ 
	font-size:18px;
	font-size: 1.8rem;
}
.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) {
    
.button{
    /*アニメーションの起点とするためrelativeを指定*/
    padding: 6px 50px;

    
    /*文字の大きさ*/ 
	font-size:18px;
	font-size: 1.8rem;
}
}
/*ボタン内spanの形状*/
.button span {
	position: relative;
	z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
	color:#FF5071;
}
.button_q_a span {
	position: relative;
	z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
	color:#0098c7;
}
.button:hover span,.button_q_a:hover span{
	color:#fff;
}

/*== 背景が流れる（中央から横全体） */
.bgcenterx:before,.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:before{
	background: #FF5071;
}

.bgcenterx_q_a:before{
	background:#0098c7;
}



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





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


