@charset "UTF-8";

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

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

/************************************
** h2
************************************/
.article h2 {
  border-top: solid 5px #99bdb7;
  border-radius: 0;
  position: relative;
}
.article h2:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 5px #a69abd;
  left: 0;
  top: -5px;
  width: 30%;
}
/************************************
** h3
************************************/
.article h3 {
  border: none;
  padding: 0;
}
/************************************
** sidebar h3
************************************/
.sidebar h3 {
  color: #a69abd;
  background-color: transparent;
  letter-spacing: 2px;
  display: inline-block;
  position: relative;
  width: 100%;
  padding: 0;
  text-align: center;
}
.sidebar h3::before, .sidebar h3::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 28%; /*ラインの長さ*/
  border-top: 3px dotted #a69abd; /*ラインの色*/
}
.sidebar h3::before {
  left: 0;
}
.sidebar h3::after {
  right: 0;
}






/************************************
** 次のページ　カスタマイズ
************************************/
.page-numbers {
  border-radius: 50%;
  background-color: #fff;
}
/* 次のページ　非表示 */
.pagination-next-link {
  display: none;
}



/************************************
** オリジナルボックス
************************************/

/* 上吹き出し */
.top-callout-box {
  position: relative;
  background-color: #eee;
  border: none;
  padding: 15px;
  border-radius: 0;
  margin-bottom: 20px;
}
.top-callout-box:before {
position: absolute;
content: "";
bottom: 100%;
border: 13px solid transparent;
border-bottom: 20px solid #eee;
}

/* 背景付きボックス（ピンク） */
.box1-pink{
  margin: 2em auto; /* ボックスの余白 */
  background: #fdf1f4; /* ボックス背景色 */
  border-radius:4px; /* ボックス角丸 */
  max-width:600px; /* ボックス横幅 */
  padding: 3.5em 2em 1.5em; /* ボックス内側余白 */
  position:relative; /* 配置に関するもの(ここを基準に) */
}
.box1-pink .box-title {
  background: #f27398; /* タイトル背景色 */
  color: #fff; /* タイトル文字色 */
  font-weight: bold; /* タイトル文字の太さ */
  font-size: 20px;/* タイトル文字の大きさ */
  padding: 5px;/* タイトル周りの余白 */
  text-align: center; /* タイトル中央寄せ */
  border-radius: 4px 4px 0px 0px; /* タイトル角丸 */
  position:absolute;  /* 配置に関するもの(ここを動かす) */
  top:0;  /*上から(0px)に配置 */
  left:0; /*左から(0px)に配置 */
  width:100%;/*横幅最大幅 */
}
.box1-pink p {
  margin: 0;/* 文字の余白リセット */
  padding: 0; /* 文字の内側余白リセット*/
}





/************************************
** プロフィール-サイドバー
************************************/
.sidebar .author-box {
  border: none;
}
.sidebar .author-box .author-name {
  margin-bottom: 1em;
}
.sidebar .author-box .author-name a {
  color: #333;
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 18px;
  font-weight: normal;
}
.sidebar .author-box p {
  line-height: 1.8;
  font-size: 16px;
}
.sidebar .author-box .sns-follow-buttons a {
  border-radius: 5px;
  width: 45px;
  height: 45px;
  line-height: 45px;
  font-size: 30px;
  margin: 0 0.5em;
}
.sidebar .author-box .sns-follow-buttons a:hover {
  opacity: 1;
}
.sidebar .author-box .sns-follow-buttons .twitter-button:hover {
  background-color: #1da1f2;
  color: #fff;
  border-color: #1da1f2;
}
.sidebar .author-box .sns-follow-buttons .feedly-button:hover {
  background-color: #2bb24c;
  color: #fff;
  border-color: #2bb24c;
}.sidebar .author-box .sns-follow-buttons .rss-button:hover {
  background-color: #f26522;
  color: #fff;
  border-color: #f26522;
}
.author-box {
  margin: 0 0 1em;
}


/************************************
** スマホ追尾もくじ
************************************/
#mobile-toc-widget-wrap .menu-trigger,
#mobile-toc-widget-wrap .menu-trigger span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
#mobile-toc-widget-wrap .menu-trigger {
  position: relative;
  width: 25px;
  height: 35px;
}
#mobile-toc-widget-wrap .menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #fff; /* 三本線色 */
  border-radius: 4px;
}
#mobile-toc-widget-wrap .menu-trigger span:nth-of-type(1) {
  top: 13px;
}
#mobile-toc-widget-wrap .menu-trigger span:nth-of-type(2) {
  top: 20px;
}
#mobile-toc-widget-wrap .menu-trigger span:nth-of-type(3) {
  top: 27px;
}
#mobile-toc-widget-wrap .menu-trigger.active {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}
#mobile-toc-widget-wrap .menu-trigger.active span:nth-of-type(1) {
  -webkit-transform: translateY(20px) rotate(-45deg);
  transform: translateY(20px) rotate(-45deg);
  top:0;
}
#mobile-toc-widget-wrap .menu-trigger.active span:nth-of-type(2) {
  -webkit-transform: translateY(0) rotate(45deg);
  transform: translateY(0) rotate(45deg);
}
#mobile-toc-widget-wrap .menu-trigger.active span:nth-of-type(3) {
  opacity: 0;
}
#mobile-toc-widget-wrap{
  position: fixed;
  bottom: 10px;
  right: 10px;
  margin: 0;
  padding: 0;
  z-index:5;
  counter-reset: mobile-toc;
}
#mobile-toc-widget-wrap label .mobile-toc-button {
  width: 58px;
  height: 58px;
  border-radius:50%;
  background: #a69abd; /* ボタン色 */
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.16);
  transition: ease-out 0.3s;
  text-align:center;
  position:relative;
  z-index: 3;
}
#mobile-toc-widget-wrap label .mobile-toc-button .mobile-toc-button-title {
  color: #fff; /* ボタン文字色 */
  font-size: 0.65em;
  letter-spacing: 0;
  position: absolute;
  bottom: 7px;
  left: 0;
  right: 0;
  margin: auto;
}
#mobile-toc-widget-wrap label:hover {
  background: #efefef;
}
#mobile-toc-widget-wrap input {
  display: none;
}
#mobile-toc-widget-wrap .mobile-toc-show {
  display:none;
}
#mobile-toc-widget-wrap input:checked ~ .mobile-toc-show {
  background:#fff;
  position: absolute;
  top: 0;
  left: 0;
  padding: 2.5em 1em;
  opacity:0.97; /* 20190924数値変更 */
  position:fixed;
  width:100%;
  height:100%;
  display:block;
  animation: 0.5s fade-in;
  -webkit-animation: 0.5s fade-in;
  overflow-y:scroll;
}
@-webkit-keyframes fadeIn { 
  0% {display: none;opacity: 0;}
  1% {display: block;opacity: 0;}
  100% {display: block;opacity: 0.93;}
}
@keyframes fade-in {
  0% {display: none;opacity: 0;}
  1% {display: block;opacity: 0;}
  100% {display: block;opacity: 0.93;}
}
#mobile-toc-widget-wrap .widgettitle{
  text-align: center;
  margin: 0 0 1em; /* 20190924数値変更 */
  color: #a69abd; /* 目次名の色 */
  font-size: 1.1em;
  letter-spacing:2px;
  font-weight:600; /* 20190924追記 */
}
#mobile-toc-widget-wrap .mobile-toc-show .toc{
  border:none;
  margin: 0 !important;
  padding: 0 !important;
}
#mobile-toc-widget-wrap .toc .toc-list > li {
  list-style-type: none !important;
  position: relative;
  margin-left: 13px;
  margin-right: 25px;
  padding-left: 32px;
  margin-bottom: 15px;
  padding-bottom: 0px;
  font-size: 1.1em;
  line-height: 1.8;
}
#mobile-toc-widget-wrap .toc a {
  font-size: 0.8em;
  font-weight:600;/* 20190924追記 */
}
#mobile-toc-widget-wrap .toc-list{
  padding:0 !important;
}
#mobile-toc-widget-wrap .toc-list > li:before{
  counter-increment: mobile-toc;
  content: counter(mobile-toc);
  position: absolute;
  left: 5px;
  top: 5px;
  background: none;
  font-size: 0.8em;
  color: #a69abd; /* 数字の色 */
}
#mobile-toc-widget-wrap .toc_widget_list > li ol {
  margin-top: 5px;
  padding-left: 20px;
}
#mobile-toc-widget-wrap .toc-list ol{
  list-style:none;
}
#mobile-toc-widget-wrap .toc-list > li > ol > li a {
  position: relative;
  text-decoration: none !important;
  font-weight:500;/* 20190924追記 */
}
#mobile-toc-widget-wrap .toc-list > li ol li a:before {
  position: absolute;
  content: "・";
  font-size: 1.4em;
  left: -20px;
  top: -10px;
  color: #a69abd; /* 点の色 */
}


/************************************
** Rinker
************************************/
#content .yyi-rinker-contents {
  border: solid 3px #dbdbdb;
}
#content .yyi-rinker-contents .yyi-rinker-title a {
  font-weight: bold;
  color: #729ad6;
}
#content .yyi-rinker-contents .yyi-rinker-title a:hover {
  color: #f0a67f;
}

.yyi-rinker-detail .credit {
  display: none;
}
/*商品リンクボタン*/
.yyi-rinker-contents .yyi-rinker-links .amazonlink {
  background: #f6a306;
  border: 1px solid #f6a306;
}
.yyi-rinker-contents .yyi-rinker-links .amazonlink a {
  color: #fff;
}
.yyi-rinker-contents .yyi-rinker-links .amazonlink a:hover {
  background: #fff;
  color: #f6a306;
}
.yyi-rinker-contents .yyi-rinker-links .rakutenlink {
  background: #cf4944;
  border: 1px solid #cf4944;
}
.yyi-rinker-contents .yyi-rinker-links .rakutenlink a {
  color: #fff;
}
.yyi-rinker-contents .yyi-rinker-links .rakutenlink a:hover {
  background: #fff;
  color: #cf4944;
}
.yyi-rinker-contents .yyi-rinker-links .yahoolink {
  background: #51a7e8;
  border: 1px solid #51a7e8;
}
.yyi-rinker-contents .yyi-rinker-links .yahoolink a {
  color: #fff;
}
.yyi-rinker-contents .yyi-rinker-links .yahoolink a:hover {
  background: #fff;
  color: #51a7e8;
}
#content .yyi-rinker-contents .yyi-rinker-links a:hover {
  opacity: 1;
}
/* PC・タブレット・スマホ レイアウト調整 */
@media only screen and (min-width: 1166px) {
.yyi-rinker-contents .yyi-rinker-links {
  justify-content: center;
}
.yyi-rinker-contents .yyi-rinker-links li {
  width: 40%;
  margin: 0.7% 0.7%;
}
.yyi-rinker-contents .yyi-rinker-links li a {
  padding: 0 0.5px;
  text-align: center;
}
}
@media screen and (max-width: 834px) {
#content .yyi-rinker-contents .yyi-rinker-box {
  display: block;
}
#content .yyi-rinker-contents .yyi-rinker-image {
  width: 100%;
}
#content .yyi-rinker-contents .yyi-rinker-info {
  text-align: center;
  width: 100%;
}
#content .yyi-rinker-contents .yyi-rinker-links {
  justify-content: center;
}
#content .yyi-rinker-contents .yyi-rinker-links li {
  width: 45%;
  margin: 0.7% 0.7%;
}
#content .yyi-rinker-contents .yyi-rinker-links li a {
  padding: 0 0.5px;
}
}
@media screen and (max-width: 480px) {
#content .yyi-rinker-contents .yyi-rinker-links li {
  width: 99%;
  margin: 0.7% 0.7%;
}
}











/************************************
** メディア画像　ギャラリー　枠線非表示
************************************/
.gallery img {
  border: 2px solid transparent !important;
}


/************************************
** メディア画像　枠線
************************************/
/* アイキャッチと画像 */
.article .eye-catch,
.entry-content img {
  border: 5px solid #e6e6e6;
}
/* 引用の中の画像を対象外にする */
.entry-content blockquote img {
  border: none;
}



/************************************
** サイドバー
************************************/
/* スクロール追従　もくじ　縦スクロール追加 */
.sidebar-scroll .toc-widget-box {
  overflow-y: scroll;
  height: 400px;
}



/* 背景透過 */
.home main,
.archive main,
.sidebar {
  background-color: transparent;
}


/************************************
** エントリーカード
************************************/
/* box-shadow */
.ect-vertical-card .entry-card-wrap {
  background-color: #fff;
  margin-bottom: 17px;
}
/* PC エントリーカード幅 */
@media screen and (min-width: 1023px) {
.ect-vertical-card .entry-card-wrap {
  width: 49%;
}
}
/* スマホ　要素幅 */
@media screen and (max-width: 480px) {
.a-wrap {
  padding: 3.0%;
}
}



/************************************
** サイドバー　カテゴリー表示
************************************/
.widget_categories ul li a { /*親カテゴリ用のコード*/
    color: #333;
    text-decoration: none;
    padding: 6px 0;
    display: block;
    padding-right: 4px;
    padding-left: 4px;
    border-top: 1px dotted #ccc; /*上部にボーダーを引く*/
    font-size: 16px;
}
.widget_categories ul li a::before { /*親カテゴリのアイコン*/
    font-family: FontAwesome;
    content: "\f0da";
    padding-right: 10px;
}
.widget_categories > ul > li > a:first-child { 
    border-top: none; /*最初の親カテゴリは上部ボーダーを消す*/
}
.widget_categories > ul > li > a:last-child {
    border-bottom: 1px dotted #ccc; /*最後の親カテゴリは下部ボーダーを引く*/
}
.widget_categories ul li a .post-count { /*記事数用のコード*/
    display: block;
    float: right;
    background: #ededed;
    padding: 0 1em;
    font-size: 14px;
    margin-top: .2em;
    border-radius: 4px;
}
.widget_categories ul li a:hover { /*親子共通マウスホバー時*/
    background: none;
    transition: 0.5s;
    color: #72c7e6;
}
.widget_categories ul li a:hover .post-count { /*記事数のマウスホバー時*/
    background: #72c7e6;
    color: #fff;
    transition: 0.5s;
}
.widget_categories ul li ul { /*子カテゴリのボックス*/
    border-bottom: 1px dotted #ccc;
}
.widget_categories ul li ul li a { /*子カテゴリ用のコード*/
    color: #333;
    text-decoration: none;
    padding: 0 4px 4px 4px;
    display: block;
    border: none;
}
.widget_categories ul li ul li a::before { /*子カテゴリのアイコン*/
    font-family: FontAwesome;
    content: "・";
    padding: 0;
}






/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

/*1023px以下*/
@media screen and (max-width: 1023px){
/* サイドバースクロール追従　モバイル非表示 */
.sidebar-scroll {
  display: none;
}
/* エントリーカードタイトル */
.entry-card-title, .related-entry-card-title {
  margin-top: 5px;
}
}

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

/*480px以下*/
@media screen and (max-width: 480px) {
/* ボックス（アイコン）調整 */
.information-box,
.question-box,
.alert-box,
.information,
.question,
.alert,
.memo-box,
.comment-box,
.common-icon-box {
  padding: 30px 10px 7px;
}
.information-box::before,
.question-box::before,
.alert-box::before,
.information::before,
.question::before,
.alert::before,
.memo-box::before,
.comment-box::before,
.common-icon-box::before {
  font-size: 25px;
}
}
