@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.1.0
*/

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

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

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

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

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

/*－－－－－－－－－－－－－－－－－－－－－－ここから自作コード－－－－－－－－－－－－－－－－－－－－－－*/

.midashi { /*見出しのCSS*/
    background-color: #f5deb3; /*背景色wheat*/
    border-radius: 10px; /*角丸*/
    padding: 15px; /*内側の余白*/
    font-size: large; /*フォントの大きさ*/
    color: #a0522d; /*要素の色sienna*/
    line-height: 130%; /*文字の行の間隔*/
}

/*－－－－－－－－－－－－－－－－－－－－－－自作丸いメニューコード－－－－－－－－－－－－－－－－－－－－－－*/
.yoshiwo-circle-menu{/*丸いメニュー部分のCSS*/
  display: inline-block;
  margin: 1% 6%;
  text-decoration: none;
  background: #ffffff;/*背景色*/
  color: #212121;/*文字色*/
  width: 130px;
  height: 130px;
  line-height: 130px;
  border-radius: 50%;
  text-align: center;
  font-weight:bold;
  overflow: hidden;
  border: double 4px #c8c8c8;/*線の色*/
  transition: 0.5s;
    }

.yoshiwo-circle-menu:hover{
  background: #f2deb0;
}

/*－－－－－－－－－－－－－－－－－－－－－－自作続きを書くコード－－－－－－－－－－－－－－－－－－－－－－*/
.yoshiwo-tuduki {
  position: relative;
  margin: 50px auto 0;
  padding: 0 0 75px;
}

.yoshiwo-tuduki label {
  position: absolute;
  display: table;
  left: 50%;
  bottom: 0;
  margin: 0 auto;
  width: 200px;
  padding: 10px 0;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  background-color: #333;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 1;
}

.yoshiwo-tuduki label::before{
  content: '続きを見る';
}

.yoshiwo-tuduki input[type="checkbox"]:checked ~ label::before {
  content: '元に戻す';
}

.yoshiwo-tuduki input[type="checkbox"]{
  display: none;
}

.yoshiwo-tuduki-content {
  position: relative;
  height: 0px;/*ここが隠す前の高さ*/
  overflow: hidden;
}

.yoshiwo-tuduki input[type="checkbox"]:checked ~ .yoshiwo-tuduki-content {
  height: auto;/*全部表示してる*/
}


