@charset "UTF-8";

/*!
Theme Name: Simplicity2 child
Template:   simplicity2
Version:    20161002
*/

/* Simplicity子テーマ用のスタイルを書く */

/*講座のスタイルシート*/

.unit .linkbox {
	border:3px double #ccc;
	padding:3%;
	margin:1em 0 2.5em;
	overflow:hidden;
	font-size: small;
}

.unit .linkbox a {
	text-decoration: none;
	color:initial;
}

.unit .linkbox a[target="_blank"]::after {
	content:none;
}

.unit .linkimage {
	max-width: 240px;
	text-align: center;
	margin:10px auto;
	padding-bottom:30px;
	float: none;
}

.unit .info {
	text-align: center;
}
.unit .name {
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.8;
    margin-bottom: 10px;
}

.unit .name p:empty {
	display:none; 
}

.unit br:empty {
	display:none;
}

.unit .desc {
	font-size: 1em;
	font-weight: normal;
}

.unit .links div{
	background-image: none;
	margin:1px;
	padding:3px;
	display: inline-block;
	width: 48.5%
}

.unit .links div a {
	color:#fff;
	border-width: 2px;
	border-style: solid;
	font-size: 90%;
	font-weight: bold;
	border-radius: 5px;
	padding:0.7em 0.3em;
	width: 100%;
	text-align: center;
	display: block;
	box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.unit .links div a:hover {
	background-color:#fff;
	box-shadow: 1px 4px 4px rgba(0,0,0,0.15);
	transform:translate(-1px, -2px);
}

.unit .links div a:active {
	transform: translate(0, 1px);
}

.unit .links div img {
	display: none;
}

@media only screen and (min-width:768px) {
  .unit .linkimage {
  	float: left;
  	margin:0 1.5em 0.5em 0;
  }

 .unit .info {
	text-align: left;
}

  .unit .links {
  	text-align: right;
  }
  .unit .links div {
  	width: 11em;
  }
 }

.unit .button1 a{
	background-color: #d91414;
	border-color: #d91414;


}

.unit .button2 a{
	background-color: #e89713;
	border-color: #e89713;
}

.unit .button1 a:hover{
    color:#d91414;
}

.unit .button2 a:hover {
	color :#e89713;
}

/*講座のスタイルシートここまで*/