@charset "UTF-8";
/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.0.6
*/

/* 共通スタイル */
a { text-decoration: none; }
#sidebar, .widget-entry-card { font-size: 15px; }
.sidebar h3 { text-align: center; padding: 10px 0 5px 3px; }

/* ボタン共通 */
.my_link_btn, .my_link_rakuten {
  display: inline-flex;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  transition: box-shadow 0.5s;
  border-radius: 5px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.my_link_btn a, .my_link_rakuten a {
  color: #fff;
  text-decoration: none;
  padding: 15px 18px;
}
.my_link_btn { background: #61c359; }
.my_link_rakuten { background: #ff008c; }
.my_link_btn:hover, .my_link_rakuten:hover {
  box-shadow: 0 9px 12px rgba(0,0,0,0.2);
}

/* 見出し */
.article h2 {
  border: 0;
  background-color: #6FC7E1;
}
.article h3 {
  border: 0;
  border-left: 7px solid #6FC7E1;
}

/* ボックス（メモ風） */
.title-box { font-size: 20px; line-height: 1.5; min-height: 2.5em; }
.box-inside { font-size: 16px; }
@media screen and (max-width: 480px) {
  .title-box { font-size: 16px; }
  .box-inside { font-size: 14px; }
}

/* メモ風ボックス */
.s_memo {
  margin-bottom: 1.5em;
  padding: 1em;
  background: #fff9e5;
  color: #545454;
}
.s_memo_ttl {
  margin-bottom: 5px;
  color: #ffb36b;
  font-weight: bold;
}
.s_memo .s_memo_ttl:before {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  margin-right: 6px;
  border-radius: 50%;
  color: #fff;
  background-color: #ffb36b;
  font-family: FontAwesome;
  content: "\f040";
  text-align: center;
  vertical-align: middle;
}

/* 吹き出し */
.box24 {
  display: inline-block;
  position: relative;
  padding: 0.5em 0.7em;
  margin: 2em 0;
  background: #13141A;
  color: #F6F7FB;
  font-weight: bold;
}
.box24:after {
  content: '';
  position: absolute;
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #13141A;
}
.box24 p { margin: 0; padding: 0; }

/* Rinkerカード */
.yyi-rinker-contents {
  border: 2px solid #e5e5e5;
  border-radius: 5px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.yyi-rinker-contents img {
  width: 120px;
  height: auto;
  max-width: 100%;
}
.yyi-rinker-box {
  padding: .5em 0;
  display: flex;
  flex-wrap: wrap;
}
.yyi-rinker-info {
  padding: 0 3%;
  width: 70%;
  margin: auto;
}
.yyi-rinker-title {
  font-size: 1em;
  margin-left: .5em;
  padding-top: 1em;
}
.yyi-rinker-detail {
  font-size: .8em;
  color: #42424280;
  margin-left: .5em;
}
.price-box .price {
  letter-spacing: 0.1em;
  font-size: 1.2em;
  margin: .5em 0;
}
.yyi-rinker-links {
  text-align: center;
}
.yyi-rinker-links li {
  width: 70%;
  margin: .5em auto;
  font-size: .8em;
  height: 40px;
  line-height: 40px;
  border-radius: 3px;
  font-weight: bold;
  transition: .3s;
  display: inline-block;
}
.yyi-rinker-links li a {
  display: block;
  height: 100%;
  color: #fff;
  font-size: 0.95em;
  position: relative;
}
.yyi-rinker-links li a:after {
  content: "\f138";
  font-family: "FontAwesome";
  padding-left: 5px;
  transition: .3s;
}
.yyi-rinker-links li a:hover:after {
  transform: translateX(2px);
}
.yyi-rinker-links li.amazonkindlelink { background: #90CAF9; }
.yyi-rinker-links li.amazonlink { background: #FFC266; }
.yyi-rinker-links li.rakutenlink { background: #ff7c74; }
.yyi-rinker-links li.yahoolink { background: #95cad7; }
.yyi-rinker-links li.freelink2 { background: #90d581; }

@media screen and (max-width: 540px) {
  .yyi-rinker-box { display: block; padding-top: 1em; }
  .yyi-rinker-info { width: 90%; text-align: center; }
  .yyi-rinker-title { font-size: .9em; }
  .yyi-rinker-links li { width: 85%; }
}

/* サイドバーカテゴリ */
.widget_categories ul li a {
  border-bottom: 1px dashed #CCC;
}
.widget_categories ul li a::before {
  font-family: FontAwesome;
  content: "\f07b";
  color: #5FB3F5;
  padding-right: 6px;
}
.widget_categories ul li ul li a::before {
  content: "\f114";
}

/* プロフィール */
.pro {
  text-align: center;
  line-height: 50px;
}
.pro a {
  text-decoration: none;
  display: inline-block;
  width: 100%;
  border-radius: 5px;
  color: #fff;
  font-weight: bold;
  background: #333;
  transition: 0.3s;
  position: relative;
  font-family: 'Open Sans', sans-serif;
  z-index: 2;
}
.pro a:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  border-radius: 5px;
  background: #fff;
  transition: 0.3s;
  z-index: -1;
}
.pro a:hover {
  color: #333;
}
.pro a:hover:after {
  border: 2px solid #333;
  width: 100%;
}

/* 特定ページSNSボタン非表示（functions.phpへの移行推奨） */
.page-id-6061 .sns-share, .page-id-6061 .sns-follow,
.page-id-295 .sns-share, .page-id-295 .sns-follow,
.page-id-35 .sns-share, .page-id-35 .sns-follow {
  display: none;
}
