@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/

/* ヘッダー幅変更 */
#logo, #logo img, .desktop-nav li a, #drawer__open {
    height: 55px;/*スマホ用サイズ*/
    line-height: 55px;/*スマホ用サイズ*/
}

@media only screen and (min-width: 768px) {
    #logo, #logo img, .desktop-nav li a {
       height: 50px;/*768px〜で見たとき用サイズ*/
       line-height: 50px;/*768px〜で見たとき用サイズ*/
    }
}

/* END */

.my-widget__img img {
  border:none!important;
}

#main .entry-content .wp-caption {
padding: 0;
border: none;
}

#main .entry-content .wp-caption-text {
text-align: left;
font-size: 50%;
}

.cstmreba .kaerebalink-image {
    width: 200px;
}
.cstmreba .kaerebalink-info {
   width : calc(100% - 200px);  
}
@media screen and (max-width: 500px)  {
 .entry-content .cstmreba .kaerebalink-image,.entry-content .cstmreba .kaerebalink-info {
    display: block;
    width: 100%;
 }
 .cstmreba .kaerebalink-image a img {
  max-width: 320px;
 }
 .entry-content .cstmreba {
  text-align: center;
 }
}

/* ウィジェットの隙間を小さくする */
.widget {
 margin-bottom: .75em;
}

/* h2見出しのデザイン変更 */
.entry-content h2{
position: relative;
padding: .5em .5em .3em 2em;
border-bottom: 3px solid;
border-color: #264b67;
font-size: 1.2em;
box-sizing: border-box;
color: #555555;
}
.entry-content h2:before {
content: "";
position: absolute;
background: #ffffff;
border: 1px solid;
border-color: #264b67;
top: 0;
left: .4em;
height: 12px;
width: 12px;
-webkit-transform: rotate(45deg);
}
.entry-content h2:after {
content: "";
position: absolute;
background-color: #264b67;
top: 1.2em;
left: .1em;
height: 8px;
width: 8px;
transform: rotate(15deg);
-webkit-transform: rotate(15deg);
}

/* h3見出しのデザイン変更 */
.entry-content h3{
font-size: 1.1em ;
border-left-color: #264b67;
color: #555555;
margin-bottom: 1.5em;
}

/* カエレバカスタマイズ */
.kaerebalink-name img , .kaerebalink-image > img{
    display: none;
}
.kaerebalink-name p {
    margin-bottom: 0;
}

.kaerebalink-name p a {
    text-decoration: none;
}

.booklink-image > img {
    display: none!important;
}

img[width="1"] {
 display: none!important;
}

/* 内部リンクボックス */
.linkto img{
border-radius : 10% ;
}
.linkto {
background: #fcffdd;
border: none;
}
.linkto div:before {
content: 'CHECK';
 font-size: 0.7em;
 font-weight: bold;
 color: #fff;
 background: #ffc6a5;
 width: 5em;
 display: inline-block;
 padding: 0.2em;
 position: relative;
 top: -2px;
 text-align: center;
 margin-right: 0.5em;
 -webkit-border-radius: 2px;
 -moz-border-radius: 2px;
 border-radius: 2px;
}
/* END */

/* シンプルパターン*/

#main .wpap-tpl-with-detail .wpap-note{
    display: none ;
}

#main .wpap-tpl-with-detail {
    color: #666666 !important;
	padding: 2em 1em 1em ;
  	margin:  auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border: none !important;
    background: #FFF;
    box-shadow: 0px 0px 5px 2px #F0F0F0;
}

#main .wpap-tpl-with-detail .wpap-image{
    margin-left: 20px;
    margin-right: 30px;
}

#main .wpap-link a.wpap-link-amazon{
    padding: 10px 20px;
    border-radius: 2px;
}

#main .wpap-link a.wpap-link-rakuten{
    padding: 10px 20px;
    border-radius: 2px;
}

#main .wpap-tpl-with-detail .wpap-title a{
    color: #555555 !Important;
}

#main .wpap-price{
    color: #be0000 !important;
    font-weight: bold;
}

#main .wpap-date{
    font-weight: normal ;
}

#main .wpap-tpl-with-detail .wpap-link a.wpap-link-rakuten:hover{
    opacity: 1;
}

#main .wpap-tpl-with-detail .wpap-link a.wpap-link-amazon:hover{
    opacity: 1;
}

@media screen and (max-width: 787px) {
    
   .wpap-tpl-with-detail .wpap-image{
    margin-left: 0px;
    margin-right: 15px;
}
    
    .wpap-link a.wpap-link-amazon{
    padding: 15px 1px;
    border-radius: 2px;
}

	.wpap-tpl-with-detail .wpap-link{
	padding: 0.5em;
}

    .wpap-link a.wpap-link-rakuten{
    padding: 15px 1px;
    border-radius: 2px;
}
}

/*Amazon*/

#main .wpap-tpl-detail {
    margin: auto ;
	margin-top:20px;
	margin-bottom:20px;
}

#main .wpap-tpl-amazon .wpap-service{
    background: #f89400;
    color: #fff;
    padding:10px;
    border-radius: 40px;
    opacity: 0.7;
}

#main .wpap-tpl-amazon .wpap-link{
    color: #555555 !important;
	padding: 2em 1em 1em ;
    border-radius: 0px !important;
    border: none !Important;
    background: #fff;
    box-shadow: 0px 0px 1px 2px #F0F0F0;
}

#main .wpap-tpl-amazon .wpap-link:hover {
    color: #555555 !important;
	padding: 2em 1em 1em ;
    border-radius: 0px !important;
    border: none !Important;
    background: #fff;
    box-shadow: 0px 3px 5px 2px #F0F0F0;
    opacity: 1;
}

/*楽天市場*/

#main .wpap-tpl-rakuten-ichiba .wpap-service{
    background: #F25E5C;
    color: #fff;
    padding: 10px; 
    border-radius: 40px;
    opacity: 0.7;
}

#main .wpap-tpl-rakuten-ichiba .wpap-link{
   color: #555555 !important;
	padding: 2em 1em 1em ;
    border-radius: 0px !important;
    border: none !Important;
    background: #fff;
    box-shadow: 0px 0px 1px 2px #F0F0F0;
}


#main .wpap-tpl-rakuten-ichiba .wpap-link:hover {
    color: #555555 !important;
	padding: 2em 1em 1em ;
    border-radius: 0px !important;
    border: none !Important;
    background: #fff;
    box-shadow: 0px 3px 5px 2px #F0F0F0;
    opacity: 1;
}

/*楽天ブックス*/

#main .wpap-tpl-rakuten-books .wpap-service{
    background: #F25E5C;
    color: #fff;
    padding: 10px; 
    border-radius: 40px;
    opacity: 0.7;
}

#main .wpap-tpl-rakuten-books .wpap-link{
   color: #555555 !important;
	padding: 2em 1em 1em ;
    border-radius: 0px !important;
    border: none !Important;
    background: #fff;
    box-shadow: 0px 0px 1px 2px #F0F0F0;
}

#main .wpap-tpl-rakuten-books .wpap-link:hover {
    color: #555555 !important;
	padding: 2em 1em 1em ;
    border-radius: 0px !important;
    border: none !Important;
    background: #fff;
    box-shadow: 0px 3px 5px 2px #F0F0F0;
    opacity: 1;
}
/* END */

/* 文字修飾 */
.futor {
    font-weight: bold;
    color: red;
}

.futo {
    font-weight: bold;
}


/* END */

/* 記事書いた人背景色 */
#inner-content .article-footer .author-info {
	background:#ffffff
}
/* END */

/*--------------------------------------
アイキャッチキャプションのデザイン調整
--------------------------------------*/
.caption-spaceasam {
    position: relative;
}

.caption-spaceasam p{
	position:absolute;
    bottom: 1%;
    left: 2%;
	background: #EAEDF2;/*枠の色だよ*/
	color: #b0b0b0;/*文字の色だよ*/
	font-size: 8px;
    font-weight: bold;
    border-radius: 20px;
    line-height: 1.3;
    letter-spacing: 1px;
    padding: 7px 13px;
	z-index: 1;
}
.caption-spaceasam img{
	width:100%;
}
a.samune:link { color: #b0b0b0; }
a.samune:visited { color: #b0b0b0; }
a.samune:hover { color: #b0b0b0; }
a.samune:active { color: #b0b0b0; }
/* END */

/*--------------------------------------
ポチレバ
--------------------------------------*/

.pochireba {
  border: 1px solid #ddd;
  border-radius: 0px;
  padding: 15px !important;
  margin-bottom: 20px;
}

.pochireba .pochi_img {
  box-shadow: 0 0 1px 1px #ccc;
  margin-right: 25px !important;
}

.pochireba .pochi_info {
  margin-left: 5px;
}

.pochireba .pochi_name {
  text-align: center;
}

.pochireba .pochi_name a {
  display: block;
  font-size: 18px;
  text-decoration: none;
  text-align: center;
  margin: 0 40px 10px;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  line-height: 26px;
  background: -moz-linear-gradient(top, #FFF 0%, #EEE);
  background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#EEE));
}

.pochireba .pochi_seller {
  margin-bottom: 5px;
}

.pochireba .pochi_name a::after {
  content: 'ダウンロードページへ';
  display: block;
  font-size: 15px;
  color: #555;
}

@media only screen and (max-width: 480px) {
  .pochireba>a {
    display: block;
  }
  .pochireba .pochi_img {
    float: none !important;
    display: block;
    margin: 0 auto 10px !important;
  }
  .pochireba .pochi_name {
    font-size: 17px;
  }
}

/* END */

/*アフィリエイトボタン用CSS*/
#inner-content .btn2{padding:0;margin:.5em .5em .5em 0}#inner-content .btn2 a{display:block;padding:.4em .8em}#inner-content .btn2 a:hover{display:block;text-decoration:none}.btn2.btntext a {color: inherit;}#inner-content .btn2.raised a{color:#fff}.btn2.flat1 a{color:#00bcd4}.btn2.flat1 a:hover{color:#fff}.btn2.flat2 a{color:#67c5ff}.btn2.flat2 a:hover{color:#fff}.btn2.flat3 a,.btn2.flat4 a,.btn2.flat5 a{color:#67c5ff}.btn2.flat4 a:hover{color:#679efd}.btn2.flat5 a:hover{color:#fff}.btn2.flat6 a{color:#668ad8}.btn2.flat6 a:hover{color:#fff}.btn2.flat7 a{color:#67c5ff}.btn2.flat8 a{color:#00bcd4}.btn2.flat9 a{color:#fff}.btn2.flat10 a{color:#ffa000}.btn2.flat10 a:hover{color:#fff}.btn2.flat11 a{color:#668ad8}.btn2.cubic1 a,.btn2.grad1 a,.btn2.grad2 a,.btn2.grad3 a,.btn2.grad4 a{color:#fff}#inner-content .btn2.emboss a{color:rgba(0,0,0,.4)}.btn2.text3d.blue-bc a{color:#4f9df4}.btn2.text3d.red-bc a{color:#f88080}.btn2.text3d.green-bc a{color:#90d581}.btn2.cubic2 a,.btn2.cubic3 a{color:#fff}.btn2 img{visibility:hidden;display:block;width:0;height:0;}/*END アフィリエイトボタン用CSS*/

