@charset "utf-8";

/*
	http://red-team-design.com/css3-patterned-buttons/

This is free and unencumbered software released into the public domain. 
 
*/



/* Buttons */

.button{
	display: block;
	width:80%;
	text-align:center;
	padding-top:8px;
	padding-bottom:8px;
	margin-left:auto;
	margin-right:auto;
	margin-top:10px;
	margin-bottom:10px;
}

#main .button{
	padding-top:10px;
	padding-bottom:10px;
	margin-bottom:30px;
}



.menu_button{
	display: inline-block;
	*display: inline;
	padding: 6px 10px;
}

.menu_button,
.button{
	cursor: pointer;
	border: 1px solid #bbb;
	overflow: visible;
	font: bold 13px arial, helvetica, sans-serif;
	text-decoration: none;
	white-space: nowrap;
	color: #555;
	background-color: #ddd;
	background-image: linear-gradient(top, rgba(255,255,255,1),
                                         rgba(255,255,255,0)),
                    url(data:image/png;base64,iVBORw0KGg[...]QmCC); 
	transition: background-color .2s ease-out;
	background-clip: padding-box; /* Fix bleeding */
	border-radius: 3px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .3),
	            0 2px 2px -1px rgba(0, 0, 0, .5),
	            0 1px 0 rgba(255, 255, 255, .3) inset;
	text-shadow: 0 1px 0 rgba(255,255,255, .9);  
}

.menu_button.active,
.menu_button:hover,
.button:hover{
	background-color: #fff;
	color: #555;
}

.menu_button:active,
.button:active{
	background: #e9e9e9;
	position: relative;
	top: 1px;
	text-shadow: none;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .3) inset;
}

/* Various buttons colors */

.button.green{
	color: #fff;
	text-shadow: 0 1px 0 rgba(0,0,0,.2);
	background-image: linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0)),url(data:image/png;base64,iVBORw0KGg[...]QmCC);
	background-color: #57a957;
	border-color: #57a957;
}

.button.green:hover{
	background-color: #62c462;
}

.button.green:active{
	background: #57a957;
}

/* */

.button.red{
	color: #fff;
	text-shadow: 0 1px 0 rgba(0,0,0,.2);
	background-image: linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0)),url(data:image/png;base64,iVBORw0KGg[...]QmCC);
	background-color: #c43c35;
	border-color: #c43c35;
}

.button.red:hover{
	background-color: #ee5f5b;
}

.button.red:active{
	background: #c43c35;
}

/* */

.button.blue{
	color: #fff;
	text-shadow: 0 1px 0 rgba(0,0,0,.2);
	background-image: linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0)),url(data:image/png;base64,iVBORw0KGg[...]QmCC);
	background-color: #269CE9;
	border-color: #269CE9;
}

.button.blue:hover{
	background-color: #70B9E8;
}

.button.blue:active{
	background: #269CE9;
}


/* Grouped buttons */

.button-group,
.button-group li{
	display: inline-block;
	*display: inline;
	zoom: 1;
}

ul.button-group{
	display:block;
}
	
	
.button-group{
	font-size: 0; /* Inline block elements gap - fix */
	margin: 0;
	/*background: rgba(0, 0, 0, .04);*/
	/*border-bottom: 1px solid rgba(0, 0, 0, .07);*/
	padding: 10px;
	border-radius: 7px; 
}

.button-group li{
	margin-right: -1px; /* Overlap each right button border */
}

.button-group .menu_button{
	font-size: 13px; /* Set the font size, different from inherited 0 */
	border-radius: 0; 
}

.button-group .menu_button:active{
	box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset,
              5px 0 5px -3px rgba(0, 0, 0, .2) inset,
              -5px 0 5px -3px rgba(0, 0, 0, .2) inset;   
}

.button-group li:first-child .menu_button{
	border-radius: 3px 0 0 3px;
}

.button-group li:first-child .menu_button:active{
	box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset,
              -5px 0 5px -3px rgba(0, 0, 0, .2) inset;
}

.button-group li:last-child .menu_button{
	border-radius: 0 3px 3px 0;
}

.button-group li:last-child .menu_button:active{
	box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset,
              5px 0 5px -3px rgba(0, 0, 0, .2) inset;
}

/* button_area の Clearfix */


div.single:after,
div.double:after,
div.triple:after{
	display:block;
	content:"";
	clear:both;
}



/*　 ボタン横１列 */
div.single .button{
	width:70%;
	margin-bottom:20px;
	padding-top:15px;
	padding-bottom:15px;
}

/*　 ボタン横２列 */
div.double .button{
	width:40%;
	float:left;
	margin-left:7%;
}

/*　 ボタン横３列 */
div.triple .button{
	width:30%;
	float:left;
	margin-left:2%;
}

/* PC用 */
@media only screen and (min-width:960px){
}

/* モニター幅960px以下 */
@media only screen and (max-width:960px){
}

/* iPad 縦 */
@media only screen and (max-width:768px){
}

/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	div.single .button{
		width:80%;
	}
	div.double .button{
		width:90%;
	}
	div.triple .button{
		width:40%;
		margin-left:5%;
	}
}

/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	div.single .button{
		width:90%;
	}
	div.triple .button{
		width:90%;
	}
}
