/* <system section="theme" selected="evergreen"> */
@charset "UTF-8";@import"https://fonts.googleapis.com/css?family=Lato";/*! normalize.css v3.0.0 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.clearfix{display:block;*zoom: 1}.clearfix:after{display:block;visibility:hidden;font-size:0;height:0;clear:both;content:"."}.inline-block{display:inline-block;*display: inline;*zoom: 1}.border-box{-ms-box-sizing:border-box;box-sizing:border-box}.ellipsis{white-space:nowrap;-webkit-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden}/*!
  Theme: evergreen
  Author: Hatena Blog Team
  Description:
  1カラムで文章を書くことに集中できるテーマです
  Responsive: yes
*/html,body{font-family:Helvetica Neue,Helvetica,Arial,Hiragino Kaku Gothic Pro,Meiryo,MS PGothic,sans-serif;color:#4d4d4d;background-color:#fff;font-size:16px}a{color:#47a89c;text-decoration:none}a:hover{text-decoration:underline}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a,h1 a:hover,h2 a:hover,h3 a:hover,h4 a:hover,h5 a:hover,h6 a:hover,h1 a:visited,h2 a:visited,h3 a:visited,h4 a:visited,h5 a:visited,h6 a:visited{color:#4d4d4d;text-decoration:none}a.keyword{text-decoration:none;border-bottom:1px dotted #ccc;color:#4d4d4d}#globalheader-container{background:#fff;border-bottom:1px solid #ccc;color:#333;position:sticky;top:0;width:100%}#container{margin:0 auto;padding:0 50px}#container #content{display:block;*zoom: 1}#container #content:after{display:block;visibility:hidden;font-size:0;height:0;clear:both;content:"."}#container-inner{max-width:1000px;margin:40px auto 0;background:#fff;padding-bottom:50px;border-radius:3px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.globalheader-off #container{padding-top:1px}#main{float:none;max-width:800px;margin:0 auto}#blog-title{margin:0 0 70px;padding:90px 0 58px;text-align:center;background:url(https://cdn.blog.st-hatena.com/css/theme/evergreen/images/header.png?version=84d53e8f2d533da19fc041ec8ee178) no-repeat;background-position:center bottom}#title{margin:0;font-size:313%;font-family:Lato,sans-serif;letter-spacing:.05em;padding:0 20px}#title a{color:#4d4d4d}#blog-description{font-weight:400;font-size:100%;color:#abb4b7;margin:5px 0 0;padding:0 20px}.header-image-enable #blog-title{margin:0 0 70px;padding:0}.header-image-enable #title{padding:55px 20px 0}.header-image-enable #blog-title-inner{-moz-border-radius-topright:3px;-moz-border-radius-topleft:3px;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px}#top-editarea{max-width:800px;margin:0 auto 40px}#top-box{max-width:800px;margin:0 auto 50px;font-size:100%}.entry{position:relative;margin-bottom:100px;padding:0 0 112px;background:url(https://cdn.blog.st-hatena.com/css/theme/evergreen/images/border.png?version=84d53e8f2d533da19fc041ec8ee178) no-repeat;background-position:center bottom}.entry.sleeping-ads{padding-bottom:2em}.entry-header{position:relative}.entry-title{margin:0;padding:10px 0 20px;line-height:1.3;font-size:213%;border-bottom:1px solid #ccc}.entry-title a{color:#4d4d4d}.entry-title a:hover{color:#676767}.date{font-size:113%;font-weight:700;font-family:Lato,sans-serif;letter-spacing:.1em;padding:0 0 0 3px}.date a{color:#47a89c;text-decoration:none;font-size:90%}.date-last-updated{color:#47a89c;font-size:90%}.categories{margin:20px 0 0;padding:0 0 0 20px;text-align:left;background:url(https://cdn.blog.st-hatena.com/css/theme/evergreen/images/folder.png?version=84d53e8f2d533da19fc041ec8ee178) no-repeat;background-position:left 6px;font-size:94%}.categories a{margin:0 4px 0 0}.categories.no-categories{margin:0}.entry-header-menu{position:absolute;top:42px;left:-78px}.entry-header-menu a{background:#b3b3b3;font-size:88%;padding:9px 14px;color:#fff;transition:all .2s ease-out}.entry-header-menu a:hover{text-decoration:none;background:silver;transition:all .2s ease-out}.entry-content{line-height:1.8;font-size:113%;padding:40px 0 0}.entry-content p{margin:0 0 1em}.entry-content img{max-width:100%}.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6{margin:1.3em 0 .8em;line-height:1.5}.entry-content h1{font-size:160%;padding:0 0 8px;border-bottom:1px solid #ccc}.entry-content h2{font-size:150%;padding:0 0 8px;border-bottom:1px solid #ccc}.entry-content h3{font-size:140%;margin:25px 0 15px}.entry-content h4{font-size:130%}.entry-content h5{font-size:110%}.entry-content h6{font-size:100%}.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6,.entry-content .footnote-number{scroll-margin-top:56px}.entry-content table{border-collapse:collapse;border-spacing:0;margin-bottom:1em}.entry-content table img{max-width:none}.entry-content table th,.entry-content table td{border:1px solid #ddd;padding:5px 12px}.entry-content table th{background:#f7f7f7}.entry-content hr{border:none;width:70px;border-top:1px solid #ccc;margin:60px auto}.entry-content blockquote{background:#f7f7f7 url(https://cdn.blog.st-hatena.com/css/theme/evergreen/images/quote.png?version=84d53e8f2d533da19fc041ec8ee178) no-repeat;background-position:40px 25px;margin:0 0 10px;padding:75px 40px 40px;color:gray}.entry-content blockquote p{margin-top:0;margin-bottom:0}.entry-content blockquote a.keyword{color:#999}.entry-content blockquote cite{margin:10px 0 0;display:inline-block;*display: inline;*zoom: 1}.entry-content pre{background:#f7f7f7;margin:0 0 10px;padding:25px;white-space:pre;line-height:1.4;font-size:88%}.entry-content pre>code{margin:0;padding:0;white-space:pre;border:0;background:transparent;font-family:Monaco,Consolas,Courier New,Courier,monospace,sans-serif}.entry-content code{font-size:90%;margin:0 2px;padding:0 5px;border:1px solid #eaeaea;background-color:#f8f8f8;border-radius:3px;font-family:Monaco,Consolas,Courier New,Courier,monospace,sans-serif}.entry-content .hatena-asin-detail{border:none;background:#f7f7f7;color:#4d4d4d;padding:20px}.entry-content .hatena-asin-detail li{line-height:1.4}.entry-footer{margin:50px 0 0}.entry-footer-section{margin:0 0 30px;color:#4d4d4d;font-family:Lato,sans-serif;color:#abb4b7}.entry-footer-section a{color:#47a89c}.entry-footer-section .fn{margin:0 2px 0 0}.social-buttons,.entry-footer-html{margin:20px 0 10px}.hatena-star-container{margin:10px 0 20px}.comment-box ul{list-style:none;margin:50px 0 30px;padding:0;font-size:95%;line-height:1.7}.comment-box li{padding:20px 0 20px 70px;border-bottom:1px solid #ccc;position:relative}.comment-box li:first-child{border-top:1px solid #ccc}.comment-box .read-more-comments{padding-left:0;border-bottom:none}.comment-box .hatena-id-icon{position:absolute;top:20px;left:0;width:50px!important;height:50px!important;border-radius:3px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.comment-user-name{margin:0 0 10px;font-weight:700}.comment-content{font-size:90%;margin:0 0 10px;word-wrap:break-word}.comment-content p{margin:0 0 10px}.comment-metadata{font-size:88%;color:#abb4b7;margin:20px 0 0}.comment-metadata a{color:#999}.comment-delete-button img{top:18px!important}.leave-comment-title{background:#3bb4a5;color:#fff;padding:10px 20px;font-size:88%;display:inline-block;*display: inline;*zoom: 1;transition:all .2s ease-out}.leave-comment-title:hover{background:#59c9bb;color:#fff;text-decoration:none;transition:all .2s ease-out}#box2{float:none;font-size:88%;line-height:1.5;margin:0 auto;max-width:912px}#box2-inner{display:block;*zoom: 1;overflow:hidden}#box2-inner:after{display:block;visibility:hidden;font-size:0;height:0;clear:both;content:"."}#box2-inner .hatena-module{padding:0 17px;width:270px;float:left}#box2-inner .hatena-module:nth-child(3n+1){clear:both}.hatena-module{text-align:left;margin-bottom:60px}.hatena-module-title{font-weight:700;margin:0 0 10px;padding:0 0 10px;font-size:120%;border-bottom:1px solid #ccc}.hatena-module-title a{color:#4d4d4d;text-decoration:none}.hatena-module-title a:hover{text-decoration:underline}.hatena-urllist{list-style:none;margin:0;padding:0}.hatena-urllist li{padding:8px 0;line-height:1.5}.hatena-urllist li a{padding:0 0 1px;border-bottom:1px dotted #64beb3}.hatena-urllist li a:hover{text-decoration:none;color:#64beb3}.hatena-module-profile .profile-icon{float:left;margin:0 10px 10px 0;border-radius:5px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.hatena-module-profile .id{display:block;font-weight:700;font-size:110%;margin-bottom:5px}.hatena-module-profile .id a{padding:0 0 1px;border-bottom:1px dotted #64beb3;font-weight:400}.hatena-module-profile .id a:hover{text-decoration:none;color:#64beb3}.hatena-module-profile .profile-description{font-size:90%}.hatena-module-profile .profile-description p{margin-top:0}.hatena-module-search-box .search-form{width:100%;background:#f4f4f4;margin:20px 0 0;-ms-box-sizing:border-box;box-sizing:border-box;position:relative}.hatena-module-search-box .search-module-input{padding:8px 5px;color:#4d4d4d;background:none;border:none;outline:none;height:20px;width:90%}.hatena-module-search-box .search-module-button{width:20px;height:20px;background:transparent url(https://cdn.blog.st-hatena.com/images/theme/search.png?version=84d53e8f2d533da19fc041ec8ee178) no-repeat right center;border:none;outline:none;text-indent:-9999px;position:absolute;top:8px;right:5px;opacity:.5;filter:alpha(opacity=50)}.hatena-module-search-box .search-module-button:hover{opacity:.85;filter:alpha(opacity=85)}.pager{margin:20px 0 120px;padding:20px 0;text-align:center;font-size:80%}.pager a{color:#abb4b7;font-size:150%;padding:0 0 3px;transition:all .2s ease-out}.pager a:hover{text-decoration:none;color:#47a89c;border-bottom:2px solid #88cdc4;transition:all .2s ease-out}.pager .pager-prev{margin-right:40px}#footer{padding:30px 0;text-align:center;color:#999;line-height:1.5;font-size:80%;margin:auto 50px}#footer p{margin:0}#footer a{color:#999}#bottom-editarea{max-width:880px;margin:0 auto}.page-about .entry-content{padding:0}.page-about dt{font-size:107%;border-bottom:1px solid #ccc;margin:0 0 8px;padding:0 0 8px;font-weight:700;color:#47a89c}.page-about dd{margin-left:0;margin-bottom:40px}.page-about dd:last-child{margin-bottom:0}.page-archive #main{margin:0 auto 100px;padding:0 0 112px;background:url(https://cdn.blog.st-hatena.com/css/theme/evergreen/images/border.png?version=84d53e8f2d533da19fc041ec8ee178) no-repeat;background-position:center bottom}.page-archive #main section{margin:0 0 50px}.page-archive #main h1{font-size:113%;margin:0 0 8px;padding:0 0 8px;font-family:Lato,sans-serif;letter-spacing:.1em;border-bottom:1px solid #ccc}.page-archive #main ul{list-style:none;margin:0;padding:0}.page-archive #main ul li{border:none;padding:8px 0;line-heigh:1.5}.page-archive a.entry-title-link{font-size:125%;border-bottom:none;color:#4d4d4d;vertical-align:middle;padding:0}.page-archive a.entry-title-link:hover{text-decoration:none;color:#676767}.page-archive .categories{background:none;margin:0 0 8px;padding:0;vertical-align:middle;display:block;*zoom: 1}.page-archive .categories:after{display:block;visibility:hidden;font-size:0;height:0;clear:both;content:"."}.page-archive .categories a{font-size:88%;color:#fff;background:#3bb4a5;padding:3px 5px;transition:all .2s ease-out;display:inline-block;*display: inline;*zoom: 1}.page-archive .categories a:hover{background:#59c9bb;color:#fff;text-decoration:none;transition:all .2s ease-out}.page-archive .categories a:after{content:"";visibility:hidden}@media (-webkit-min-device-pixel-ratio: 2){.hatena-module-search-box .search-module-button{background:transparent url(https://cdn.blog.st-hatena.com/images/theme/search@2x.png?version=84d53e8f2d533da19fc041ec8ee178) no-repeat right center;background-size:20px 20px}#blog-title{background:url(https://cdn.blog.st-hatena.com/css/theme/evergreen/images/header@2x.png?version=84d53e8f2d533da19fc041ec8ee178) no-repeat;background-position:center bottom;background-size:70px 8px}.entry{background:url(https://cdn.blog.st-hatena.com/css/theme/evergreen/images/border@2x.png?version=84d53e8f2d533da19fc041ec8ee178) no-repeat;background-position:center bottom;background-size:60px 12px}.categories{background:url(https://cdn.blog.st-hatena.com/css/theme/evergreen/images/folder@2x.png?version=84d53e8f2d533da19fc041ec8ee178) no-repeat;background-size:13px 10px;background-position:left 6px}.entry-content blockquote{background:#f7f7f7 url(https://cdn.blog.st-hatena.com/css/theme/evergreen/images/quote@2x.png?version=84d53e8f2d533da19fc041ec8ee178) no-repeat;background-position:40px 25px;background-size:45px 35px}.page-archive #main{background:url(https://cdn.blog.st-hatena.com/css/theme/evergreen/images/border@2x.png?version=84d53e8f2d533da19fc041ec8ee178) no-repeat;background-position:center bottom;background-size:60px 12px}}@media (min-width: 801px) and (max-width: 1040px){#content{padding:0 20px}.entry-header-menu{left:0;top:-35px}#top-editarea,#bottom-editarea{padding:0 20px}#box2{width:608px}#box2 .hatena-module:nth-child(3n+1){clear:none}#box2 .hatena-module:nth-child(odd){clear:both}}@media (max-width: 800px){#globalheader-container{position:static}#container{word-wrap:break-word;overflow:hidden;padding:17px 30px 0}#container-inner{margin:13px auto 0}#content{padding:0 20px}#title{font-size:180%;padding:0 10px}#top-editarea,#bottom-editarea{padding:0 20px}#main{width:100%;float:none}#blog-title{padding:50px 0}#box2{width:100%;float:none}#box2-inner{width:100%}#box2-inner .hatena-module{width:100%;float:none;padding:0}.entry-header-menu{top:-30px;left:0}}@media (max-width: 480px){body{font-size:15px;background:#fff!important}ul{padding:0 0 0 30px}#container{padding:0}#container-inner{margin:0}#content,#top-editarea,#bottom-editarea{padding:0 10px}#blog-title{margin:0 0 50px;padding:50px 0;background-size:35px 4px}.entry-content{padding:30px 0 0;line-height:1.8}.entry-content blockquote{padding:45px 20px 20px;background-position:20px 17px;background-size:23px 18px;line-height:1.4}.entry-content pre{padding:20px}.entry-title{font-size:150%}.header-image-enable #blog-title{margin:0 0 50px}}

/* </system> */

/* <system section="background" selected="default"> */
/* default */
/* </system> */




/* レスポンシブでもスマホの文字を大きくする */
/* Responsive: yes */



/* 関連記事（記事下）とアドセンスの位置を入れ替える*/
.customized-footer{
display:-webkit-flex;
display:flex;
-webkit-flex-direction: column-reverse;
flex-direction: column-reverse;
}



/* はてなブログの記事中にアドセンス広告を自動挿入する方法 */

<script>
addEventListener("DOMContentLoaded", function() {
let heredoc = `
<div class="middle-adsense">
<!--先ほど取得したコードを以下にコピペ-->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
     style="display:block; text-align:center;"
     data-ad-layout="in-article"
     data-ad-format="fluid"
     data-ad-client="ca-pub-2493482898242293"
     data-ad-slot="4312473277"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
<\/script>
<!-- ↑↑↑↑↑       ここまで       ↑↑↑↑↑ -->
</div>
`
let middleAd = $(heredoc);
let $hTags = $('.entry-content > h2,h3');
$hTags.eq(Math.floor($hTags.size() / 2)).before(middleAd);
}, false);
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>





/* カエレバパーツ全体のデザインをカスタマイズ */
.kaerebalink-box,
.booklink-box
{
	width: 100%;
	margin-bottom: 1rem; /* 余白調整 */
	padding: 1rem;
	background: #ffffff; /* 背景白に */
	border: double 3px #d0d0d0; /* 外線を二重線に */
	box-sizing: border-box;
	border-radius: 5px; /* 角を丸く*/
	-webkit-border-radius: 5px;
}

/* 画像のデザインをカスタマイズ */
.kaerebalink-image,
.booklink-image
{
	float: left; /* 画像を左寄せに */
	margin: 0; /* 余白なし */
	text-align: center;
}
.kaerebalink-image img,
.booklink-image img
{
	max-width: 128px; /* 最大幅128pxに */
	height: auto; /* 高さ自由 */
}

/* 商品名等をカスタマイズ */
.kaerebalink-info,
.booklink-info
{
	margin-left: 140px; /* 文章は右寄せ */
	line-height: 1.6rem; /* 行高さの幅を調整 */
}
.kaerebalink-name,
.booklink-name
{
	font-weight: bold; /* 商品名太く */
	margin: 0; /* 余白調整 */
}
.kaerebalink-name a,
.booklink-name a
{
	color: #333333; /* 商品名色指定 */
}
.kaerebalink-name p,
.booklink-name p
{
	margin-bottom: 0; /* 余白調整 */
}
.kaerebalink-powered-date,
.booklink-powered-date
{
	font-size: 0.75rem; /* psted with ～ の大きさ指定 */
	font-weight: normal; /* 文字の太さを標準に */
	text-align: right; /* 右寄せ */
}
.kaerebalink-detail,
.booklink-detail
{
	font-size: 0.875rem; /* メーカー・作者の文字の大きさ指定 */
	margin-bottom: 0.5em; /* 余白調整 */
}

/* ボタンのカスタマイズ */
.kaerebalink-link1,
.booklink-link2
{
	width:100%;
}
.kaerebalink-link1 div,
.booklink-link2 div
{
	float: left; /* ボタンを横並びに */
	width: 49%; /* ボタンの幅調整（2列にするので間の余白を考え49%を指定） */
	margin-bottom:0.2rem; /* 余白調整 */
	font-size: 0.875rem; /* 文字の大きさ */
	font-weight: bold; /* 文字を太く */
	text-align: center; /* 文字を中央寄せ */
	box-sizing: border-box;
}
.kaerebalink-link1 div:nth-child(even),
.booklink-link2 div:nth-child(even)
{
	margin-left: 1%; /* 左右ボタン間の余白を調整 */
}
.kaerebalink-link1 div a,
.booklink-link2 div a
{
	display:block;
	padding:3px 0; /* ボタンの上下幅指定 */
	margin-bottom:8px; /* 上下ボタン間の幅指定 */
	text-decoration:none;
	border-radius: 4px; /* 丸み調整 */
	box-shadow: 0px 2px 4px 0 rgba(0,0,0,.26); /* シャドー作成 */
}

/* ボタンにカーソルを当てた時の動きをカスタマイズ */
.kaerebalink-link1 div a:hover,
.booklink-link2 div a:hover
{
	-ms-transform: translateY(4px);
	-webkit-transform: translateY(4px);
	transform: translateY(4px);
	color: #ffffff;
}

/* カエレバ・ヨメレバ共通 */
.shoplinkamazon a,
.shoplinkrakuten a,
.shoplinkseven a,
/* カエレバ */
.shoplinkyahoo a,
.shoplinkbellemaison a,
.shoplinkcecile a,
.shoplinkkakakucom a,
/* ヨメレバ */
.shoplinkkindle a,
.shoplinkrakukobo a,
.shoplinkbk1 a,
.shoplinkehon a,
.shoplinkkino a,
.shoplinktoshokan a
{
	display:block;
	text-decoration:none;
}

/* カエレバ・ヨメレバ共通 色の指定 */
.shoplinkamazon a { color:#ffffff; background:#ff9901; }
.shoplinkrakuten a { color:#ffffff; background:#c20004; }
.shoplinkseven a { color:#ffffff; background:#225496; }
/* カエレバ  色の指定 */
.shoplinkyahoo a { color:#ffffff; background:#ff0033; }
.shoplinkbellemaison a { color:#ffffff; background:#84be24 ; }
.shoplinkcecile a { color:#ffffff; background:#8d124b; }
.shoplinkkakakucom a { color:#ffffff; background:#314995; }
/* ヨメレバ 色の指定 */
.shoplinkkindle a { color:#ffffff; background:#007dcd; }
.shoplinkrakukobo a { color:#ffffff; background:#d50000; }
.shoplinkbk1 a { color:#ffffff; background:#0085cd; }
.shoplinkehon a { color:#ffffff; background:#2a2c6d; }
.shoplinkkino a { color:#ffffff; background:#003e92; }
.shoplinktoshokan a { color:#ffffff; background:#333333; }
.booklink-footer
{
	clear:both;
}

/* もしもアフィリエイトの場合不要な画像を削除 */
.kaerebalink-image img[src^="//i.moshimo.com/af/i/impression"],
.booklink-image img[src^="//i.moshimo.com/af/i/impression"],
.shoplinkamazon img,
.shoplinkrakuten img,
.shoplinkseven img,
.shoplinkyahoo img,
.shoplinkbellemaison img,
.shoplinkcecile img,
.shoplinkkakakucom img,
.shoplinkkindle img,
.shoplinkrakukobo img,
.shoplinkbk1 img,
.shoplinkehon img,
.shoplinkkino img,
.shoplinktoshokan img
{
	display:none;
}

/* スマホ表示の設定 */
@media only screen and (max-width:460px){
	
	/* 画像の設定 */
	.kaerebalink-image,
	.booklink-image
	{
		float:none; /* 画像を中央寄せに */
		margin:0;
		text-align:center;
	}
	/* 画像サイズを最大180pxに */
	.kaerebalink-image img,
	.booklink-image img
	{
		max-width:180px;
		height:auto;
	}
	 /* 商品名等をカスタマイズ */
	.kaerebalink-info,
	.booklink-info
	{
		margin: 0; /* 余白調整 */
	}
	/* ボタンのカスタマイズ */
	.kaerebalink-link1 div,
	.booklink-link2 div
	{
		float: none;
		width: 100%;
	}
	.kaerebalink-link1 div:nth-child(even),
	.booklink-link2 div:nth-child(even)
	{
		margin-left: 0; /* 余白を調整（ボタン縦並びにするため） */
	}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
/* カエレバパーツ全体のデザインをカスタマイズ */
.kaerebalink-box,
.booklink-box
{
	width: 100%;
	margin-bottom: 1rem; /* 余白調整 */
	padding: 1rem;
	background: #ffffff; /* 背景白に */
	border: double 3px #d0d0d0; /* 外線を二重線に */
	box-sizing: border-box;
	border-radius: 5px; /* 角を丸く*/
	-webkit-border-radius: 5px;
}
 
/* 画像のデザインをカスタマイズ */
.kaerebalink-image,
.booklink-image
{
	float: left; /* 画像を左寄せに */
	margin: 0; /* 余白なし */
	text-align: center;
}
.kaerebalink-image img,
.booklink-image img
{
	max-width: 128px; /* 最大幅128pxに */
	height: auto; /* 高さ自由 */
}
 
/* 商品名等をカスタマイズ */
.kaerebalink-info,
.booklink-info
{
	margin-left: 140px; /* 文章は右寄せ */
	line-height: 1.6rem; /* 行高さの幅を調整 */
}
.kaerebalink-name,
.booklink-name
{
	font-weight: bold; /* 商品名太く */
	margin: 0; /* 余白調整 */
}
.kaerebalink-name a,
.booklink-name a
{
	color: #333333; /* 商品名色指定 */
}
.kaerebalink-name p,
.booklink-name p
{
	margin-bottom: 0; /* 余白調整 */
}
.kaerebalink-powered-date,
.booklink-powered-date
{
	font-size: 0.75rem; /* psted with ～ の大きさ指定 */
	font-weight: normal; /* 文字の太さを標準に */
	text-align: right; /* 右寄せ */
}
.kaerebalink-detail,
.booklink-detail
{
	font-size: 0.875rem; /* メーカー・作者の文字の大きさ指定 */
	margin-bottom: 0.5em; /* 余白調整 */
}
 
/* ボタンのカスタマイズ */
.kaerebalink-link1,
.booklink-link2
{
	width:100%;
}
.kaerebalink-link1 div,
.booklink-link2 div
{
	float: left; /* ボタンを横並びに */
	width: 49%; /* ボタンの幅調整（2列にするので間の余白を考え49%を指定） */
	margin-bottom:0.2rem; /* 余白調整 */
	font-size: 0.875rem; /* 文字の大きさ */
	font-weight: bold; /* 文字を太く */
	text-align: center; /* 文字を中央寄せ */
	box-sizing: border-box;
}
.kaerebalink-link1 div:nth-child(even),
.booklink-link2 div:nth-child(even)
{
	margin-left: 1%; /* 左右ボタン間の余白を調整 */
}
.kaerebalink-link1 div a,
.booklink-link2 div a
{
	display:block;
	padding:3px 0; /* ボタンの上下幅指定 */
	margin-bottom:8px; /* 上下ボタン間の幅指定 */
	text-decoration:none;
	border-radius: 4px; /* 丸み調整 */
	box-shadow: 0px 2px 4px 0 rgba(0,0,0,.26); /* シャドー作成 */
}
 
/* ボタンにカーソルを当てた時の動きをカスタマイズ */
.kaerebalink-link1 div a:hover,
.booklink-link2 div a:hover
{
	-ms-transform: translateY(4px);
	-webkit-transform: translateY(4px);
	transform: translateY(4px);
	color: #ffffff;
}
 
/* カエレバ・ヨメレバ共通 */
.shoplinkamazon a,
.shoplinkrakuten a,
.shoplinkseven a,
/* カエレバ */
.shoplinkyahoo a,
.shoplinkbellemaison a,
.shoplinkcecile a,
.shoplinkkakakucom a,
/* ヨメレバ */
.shoplinkkindle a,
.shoplinkrakukobo a,
.shoplinkbk1 a,
.shoplinkehon a,
.shoplinkkino a,
.shoplinktoshokan a
{
	display:block;
	text-decoration:none;
}
 
/* カエレバ・ヨメレバ共通 色の指定 */
.shoplinkamazon a { color:#ffffff; background:#ff9901; }
.shoplinkrakuten a { color:#ffffff; background:#c20004; }
.shoplinkseven a { color:#ffffff; background:#225496; }
/* カエレバ  色の指定 */
.shoplinkyahoo a { color:#ffffff; background:#ff0033; }
.shoplinkbellemaison a { color:#ffffff; background:#84be24 ; }
.shoplinkcecile a { color:#ffffff; background:#8d124b; }
.shoplinkkakakucom a { color:#ffffff; background:#314995; }
/* ヨメレバ 色の指定 */
.shoplinkkindle a { color:#ffffff; background:#007dcd; }
.shoplinkrakukobo a { color:#ffffff; background:#d50000; }
.shoplinkbk1 a { color:#ffffff; background:#0085cd; }
.shoplinkehon a { color:#ffffff; background:#2a2c6d; }
.shoplinkkino a { color:#ffffff; background:#003e92; }
.shoplinktoshokan a { color:#ffffff; background:#333333; }
.booklink-footer
{
	clear:both;
}
 
/* もしもアフィリエイトの場合不要な画像を削除 */
.kaerebalink-image img[src^="//i.moshimo.com/af/i/impression"],
.booklink-image img[src^="//i.moshimo.com/af/i/impression"],
.shoplinkamazon img,
.shoplinkrakuten img,
.shoplinkseven img,
.shoplinkyahoo img,
.shoplinkbellemaison img,
.shoplinkcecile img,
.shoplinkkakakucom img,
.shoplinkkindle img,
.shoplinkrakukobo img,
.shoplinkbk1 img,
.shoplinkehon img,
.shoplinkkino img,
.shoplinktoshokan img
{
	display:none;
}
 
/* スマホ表示の設定 */
@media only screen and (max-width:460px){
	
	/* 画像の設定 */
	.kaerebalink-image,
	.booklink-image
	{
		float:none; /* 画像を中央寄せに */
		margin:0;
		text-align:center;
	}
	/* 画像サイズを最大180pxに */
	.kaerebalink-image img,
	.booklink-image img
	{
		max-width:180px;
		height:auto;
	}
	 /* 商品名等をカスタマイズ */
	.kaerebalink-info,
	.booklink-info
	{
		margin: 0; /* 余白調整 */
	}
	/* ボタンのカスタマイズ */
	.kaerebalink-link1 div,
	.booklink-link2 div
	{
		float: none;
		width: 100%;
	}
	.kaerebalink-link1 div:nth-child(even),
	.booklink-link2 div:nth-child(even)
	{
		margin-left: 0; /* 余白を調整（ボタン縦並びにするため） */
	}
}