@charset "UTF-8";

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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*
#header {
	background: #ffd900;
}
.logo-text {
  padding: 12px 0 0;
}
.tagline {
  padding: 0 4em;
}
*/
.shoplinkamazon a, .shoplinkkindle a, .shoplinkrakuten a, .shoplinkyahoo a {
  transition: all ease-in-out .3s;
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 13px;
}

.shoplinkamazon a:hover, .shoplinkkindle a:hover, .shoplinkrakuten a:hover, .shoplinkyahoo a:hover {
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
  -moz-transform: translateY(-2px);
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}

.shoplinkamazon a {
  background: #FF9901;
  border-radius: 7px;
  color: #fff;
}

.shoplinkkindle a {
  background: #007dcd;
  border-radius: 7px;
  color: #fff;
}

.shoplinkrakuten a {
  background: #c20004;
  border-radius: 7px;
  color: #fff;
}

.shoplinkyahoo a {
  background: #7b0099;
  border-radius: 7px;
  color: #fff;
}

.booklink-image {
  zoom: 1.2;
}

.kaerebalink-box, .booklink-box {
  border: 1px #9C9996 solid;
  box-shadow: 2px 2px 4px gray;
  margin: 20px 0;
  display: flex;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  justify-content: space-around;
}

.booklink-footer {
  display: none;
}

.kaerebalink-info, .booklink-info {
  width: 43%;
  font-size: 16px;
}

@media screen and (max-width: 640px) {
  .kaerebalink-box, .booklink-box {
    display: block;
  }
  .kaerebalink-info, .booklink-info {
    width: 100%;
  }
  .kaerebalink-image, .booklink-image {
    margin: 0 0 20px 0!important;
    text-align: center;
    float: none!important;
  }
  .kaerebalink-name, .booklink-name {
    text-align: center;
  }
}

/*===== sidebar =====================*/
/*
#sidebar {
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
}
#sidebar aside {
  background: #fff;
  margin-bottom: 24px;
}
#sidebar h3 {
  background: #ef866b;
  margin-top: 0;
  border-radius: 0;
  color: #fff;
}
#sidebar aside ul {
  padding: 0 10px;
}
.article h2 {
	 position: relative;
	 background: #ef866b;
    padding: .75em 1em;
    color: #fff;
}
.article h2::before {
    position: absolute;
    display: block;
    pointer-events: none;
    content: "";
    top: -4px;
    left: 0;
    width: 100%;
    height: calc(100% + 4px);
    box-sizing: content-box;
    border-top: solid 2px #ef866b;
    border-bottom: solid 2px #ef866b;
}
.article h3 {
  border: none;
  position: relative;
	padding: 10px 0 8px 0;
	color: #ef866b;
}
.article h3:before,
.article h3:after {
  content: "";
  position: absolute;
  margin: auto;
}
*/
.eye-catch-wrap {
  margin-top: 24px;
}
.eye-catch {
  text-align: center;
  display: block;
  margin: auto;
  margin-bottom: 1em;
}
/*
.toc {
	width: 80%;
	border: solid 2px #fdd100;
	border-radius: 6px;
	padding: 0;
}
.toc-title {
	background: #ffe87b;
}
*/
.top-categories-tags {
	padding: 6px;
}
div.speech-balloon {
	border-color: #eee;
}
.speech-balloon::before {
	border-right-color: #eee;
}

.author-box p {
    margin-top: 1.3em;
    font-size: .8em;
}
.wp-block-cocoon-blocks-blogcard {
	margin-top: 2em;
}
.entry-content .tategaki {
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  display: inline-block;
  border: none;
  background: #fbfaf5;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  padding: 1em;
  columns: 14em;
  column-gap: 2em;
}
.entry-content .tategaki h4 {
    border: none;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1240px以下*/
@media screen and (max-width: 1240px){
  /*必要ならばここにコードを書く*/
}

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

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

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

}

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

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

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