/* CSS Document */

/*640px以下の表示の場合*/
@media screen and (max-width: 640px) {
.contents {
    width: 100%;
  }
.box_kh {
    display: flex;
		flex-flow: column wrap; 
    justify-content: center;
    align-items: center;
   }
	
.boxk {
		width: 80%;
    padding: 10px;
		background:#e46c0a;
		color:#FFF;
    border-radius: 5px;
  text-decoration: none;
}
.boxh {
		width: 80%;
    padding: 10px;
		background:#0059b3;
		color:#FFF;
    border-radius: 5px;
		margin-top:20px;
  text-decoration: none;
    }
		
}



/*641px以上の表示の場合*/
@media screen and (min-width: 641px) {
.contents {
    margin: 0 auto;
    width: 960px;
  }

.box_kh {
    display: flex;
    justify-content: space-around;	
  }
.boxk {
		width: 45%;
    padding: 10px;
		background:#e46c0a;
		-webkit-transition: background-color linear .2s;
  transition: background-color linear .2s;
		color:#FFF;
    border-radius: 5px;
  text-decoration: none;
}
.boxh {
		width: 45%;
    padding: 10px;
		background:#0059b3;
		-webkit-transition: background-color linear .2s;
  transition: background-color linear .2s;
		color:#FFF;
    border-radius: 5px;
  text-decoration: none;
    }
}

/*共通*/


.boxk:hover {
	background-color: #efa54d;
}
.boxh:hover {
	background-color: #2476ff;
}
@media all and (-ms-high-contrast:none) { /*IE11用ハック*/
     *::-ms-backdrop,  .ms {
			 padding-top:18px;
}
}

