@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}



.katteyo2 {
  box-sizing: border-box;
  width: 95%;
  padding:10px 10px 5px 10px;
  text-align:center;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 3px;
 }
.katteyo2-child {
  display: -webkit-inline-flex;
	display: inline-flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-around;
	justify-content: space-around;
	-webkit-align-content: center;
	align-content: center;
  width: 95%;
  margin: 5px auto;
 }
.katteyo2-image {
  text-align: center;
  box-sizing: border-box;
  max-width: 50%;
  height: auto;
  position: relative;
 }

.katteyo2-image img {
  box-shadow: 1px 1px 5px -2px #aaaaaa;
  margin: 0;
}

.katteyo2-text {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  text-align:left;
 }

.katteyo2-title a{
  display:block;
  text-decoration: none;
  font-size: 0.9em;
  color: #1d51bc;
 }

.katteyo2-description {
  margin-top: 5px;
  margin-left: 8px;
  font-size: 0.8em;
 }
  
.katteyo2-btns {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-around;
	justify-content: space-around;
	-webkit-align-content: center;
	align-content: center;
  box-sizing: border-box;
  width: 99%;
  margin: 0px auto;
}
.katteyo2-btns a{
  display:block;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  text-decoration: none;
  font-weight:bold;
  line-height:2.0;
  text-align:center;
  font-size: 0.9em;
  border-radius: 8px;
  color:#ffffff;
}

.katteyo2-btns a:hover {
  color: #000000;
}

.katteyo2-btns img {
    position: absolute;
}

.katteyo2-btns-child-black{
    display: inline;
    width:85%;
    margin: 5px auto;
}
.katteyo2-btns-child-black a {
  background: #000000;
}
.katteyo2-btns-child-black a:hover {
  background-color: #aaaaaa;
}


.katteyo2-btns-child-red{
    display: inline;
    width:85%;
    margin: 5px auto;
}
.katteyo2-btns-child-red a {
  background: #ff0000;
}
.katteyo2-btns-child-red a:hover {
  background-color: #ffddff;
}

@media (min-width: 601px) {
.katteyo2-image {
  width: 22%;
 }
.katteyo2-text {
  margin-left: 5px;
  width: 75%;
 }
.katteyo2-btns-child-black{
    width:48%;
}
.katteyo2-btns-child-red{
    width:48%;
}
}
