/*
Theme Name: AFFINGER Child
Template: affinger
Description: AFFINGER6 対応
Version: 20201223
*/

/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {


	/*-- ここまで --*/
}
	
/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {


	/*-- ここまで --*/
}	
	
/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {


	/*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {


	/*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {

	
	/*-- ここまで --*/
}

p.post-card-date,p.post-slide-date{
    background-color: rgba(26,26,26,0.7);
    border-radius: 3px;
    padding: 2px 5px;
}

/*アドセンスリンクユニット　ここから*/
.ad-link {
    margin: 20px 0px;
}

/* ブログカードの画像を大きくする */
main .st-cardbox dt {
    float: left;
        width: 120px;
}

main .st-cardbox dt img {
    width: 120px;
}

main .st-cardbox dd,
main .kanren.st-cardbox dd {
    padding-left: 135px;
}

main .st-cardstyleb .kanren.st-cardbox dd,
#magazine .st-cardbox dd {
    padding-left: 20px;
}

.amazon_banner{
    position:relative;
    width:100%;
    height:0;
    padding-top:12.4%;
}
.amazon_banner iframe{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

/*--------------------------------------
  ヨメレバ・カエレバ（レスポンシブ）
--------------------------------------*/
.booklink-box, .kaerebalink-box{
    padding:25px;
    margin-bottom: 10px;
    border:double #CCC;
    overflow: hidden;
    font-size:small;
}
.booklink-image, .kaerebalink-image{
    margin:0 15px 0 0;
    float:left;
    min-width: 160px;
    text-align: center;
}
.booklink-image img, .kaerebalink-image img{
    margin:0 auto;
    text-align:center;
}
.booklink-info, .kaerebalink-info{
    margin:0;
    line-height:120%;
    overflow: hidden;
}
.booklink-name, .kaerebalink-name{
    margin-bottom:24px;
    line-height:1.5em;
}
.booklink-powered-date, .kaerebalink-powered-date{
     font-size:8px;
     margin-top:10px;
     font-family:verdana;
     line-height:120%;
}
.booklink-detail, .kaerebalink-detail{font-size: 12px;}
.booklink-powered-date, .kaerebalink-detail{margin-bottom:15px;}
.booklink-link2, .kaerebalink-link1{margin-top:10px;}
.booklink-link2 a,
.kaerebalink-link1 a{
    width:30%;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    display:inline-block;
    margin:5px 2px 0 0;
    padding:10px 1px;
    text-align:center;
    float:left;
    text-decoration:none;
    font-weight:800;
    text-shadow:1px 1px 1px #dcdcdc;
    font-size:12px;
    color: #fff !important;
}
.booklink-link2 a:hover,
.kaerebalink-link1 a:hover{opacity: 0.6;}
.booklink-link2 a:active
.kaerebalink-link1 a:active{
    position:relative;
    top:1px;
}
/*ボタンを変えるときはここから*/
.shoplinkamazon a{color:#FF9901 !important;border: 1px solid #FF9901 !important;}
.shoplinkrakuten a{color:#c20004 !important;border: 1px solid #c20004 !important;}
.shoplinkkindle a{color:#007dcd !important;border: 1px solid #007dcd !important;}
.shoplinkkakakucom a{color:#314995 !important;border: 1px solid #314995;}
.shoplinkyahoo a{color:#7b0099 !important;border: 1px solid #7b0099 !important;}
/*ここまでを変更*/
.shoplinkyahoo img{display:none;}
.shoplinkyahoo a{font-size:10px;}
.booklink-footer{display: none;}

@media screen and (max-width: 680px) {
.booklink-box, .kaerebalink-box{padding:15px;}
.booklink-image, .kaerebalink-image{
    width: 100px !important;
    min-width: initial;
}
.booklink-name > a, .kaerebalink-name > a{
    font-size: 15px;
    font-weight: bold;
}
.booklink-name, .kaerebalink-name{margin-bottom:12px;}
.booklink-powered-date, .kaerebalink-powered-date{margin-top:5px;}
.booklink-link2 a,
.kaerebalink-link1 a{
    width:calc(100% - 4px);
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    margin: 2px 0px;
    padding:10px 0px;
}
}

/*--------------------------------------
Rinkerのデザイン変更
--------------------------------------*/
ul.yyi-rinker-links {
padding: 0!important;
}

//div.yyi-rinker-contents img{
//max-width:100px;
//}

div.yyi-rinker-contents {
margin: 0 0 1.5em;/*外側上の余白を削除*/
border: none;/*外側の枠線を削除（余計な部分）*/
box-shadow: none;/*影を削除*/
}
div.yyi-rinker-contents div.yyi-rinker-box{
border:4px solid #f2f2f2;/*二重枠線*/
}
/* 商品タイトル　リンク色変更 */
div.yyi-rinker-title a {
color: #1a62af!important;/*通常時の色*/
font-weight: bold;
}
div.yyi-rinker-title a:hover {/*ホバーした時の色*/
color: #e16d15!important;
}
div.yyi-rinker-contents ul.yyi-rinker-links {
margin-bottom: 0!important;
}
/* rinker ボタン高さを44pxに */
div.yyi-rinker-contents ul.yyi-rinker-links li {
font-size: .9em;
letter-spacing: .1em;
margin: 6px 10px 6px 0px;
padding: 0;
}
div.yyi-rinker-contents ul.yyi-rinker-links li a{
height:44px;
line-height:44px;
}
div.yyi-rinker-contents ul.yyi-rinker-links li a:hover {
color: white!important;
opacity: 1;
}
div.yyi-rinker-contents ul.yyi-rinker-links li:hover {
opacity:0.9;
}
/* ボタン色変更 */
//div.yyi-rinker-contents ul.yyi-rinker-links li.amazonlink { /* Amazon */
//background: #ffb745; /* 背景色 */
//}
//div.yyi-rinker-contents ul.yyi-rinker-links li.rakutenlink { /* 楽天 */
//background: #d35c53; /* 背景色 */
//}
div.yyi-rinker-contents ul.yyi-rinker-links li.yahoolink { /* Yahoo */
background: #65adf3; /* 背景色 */
}

/* rinker サムネイル幅を230pxに */
div.yyi-rinker-contents div.yyi-rinker-image {
width: 230px;
min-width: 140px;
padding: 0;
margin-right: 10px;
}
div.yyi-rinker-contents img.yyi-rinker-main-img {
width: auto;
}
/*商品タイトル・詳細・ボタン*/
div.yyi-rinker-contents div.yyi-rinker-info {
width: 100%;
}

/* スマホサイズのみ適用 */
@media screen and (max-width:767px) {
div.yyi-rinker-contents div.yyi-rinker-box{
display:block;
}
/* 画像を中央そろえ */
div.yyi-rinker-contents div.yyi-rinker-image{
margin-left:auto;
margin-right:auto
}
div.yyi-rinker-contents ul.yyi-rinker-links li{
text-align:center;
width: 100%;
margin: 6px 0px;
}
/* rinker 商品詳細（文字とボタン部分）幅を広げる */
div.yyi-rinker-contents div.yyi-rinker-box div.yyi-rinker-info {
width: 95%;
margin: 0 auto;
text-align: center;
}
/*メーカー名・価格・日付部分*/
div.yyi-rinker-contents div.yyi-rinker-detail {
padding-left: 0;/*余計な余白を削除*/
}
div.yyi-rinker-contents div.yyi-rinker-detail　div.price-box {
font-size: .5em;
}
/*値段部分*/
div.yyi-rinker-contents div.yyi-rinker-detail　div.price-box .price {
font-size: 2em;
margin: 5px;
display: block;
}
div.yyi-rinker-contents div.yyi-rinker-image {
width: 230px;
min-width: 140px;
}}

/*スマホボタン表示中央*/
@media (max-width: 420px) and (min-width: 321px){
body div.yyi-rinker-contents ul.yyi-rinker-links li a {
padding: 0;
}}

/* すごいもくじカスタマイズ  */
#st_toc_container{
  padding: 0!important;
  margin: 2em 0;
}
#st_toc_container .st_toc_title{
  border-bottom: none;
  background: #333333;
  line-height: 2.2em;
  display: block;
}
.post #st_toc_container ul, .post #st_toc_container ol, #st_toc_container.only-toc .st_toc_list{
  padding: 0em 1em 1em 5em;
}
#st_toc_container.only-toc li{
  list-style-type: none;
  border: none;
}
#st_toc_container.only-toc ul a{
  padding: 0px 0px 10px;
}
.post #st_toc_container ul ul{
  padding: 0px;
  padding-left: 1.5em!important;
}
.post #st_toc_container ul ul ul{
  padding-left: 0!important;
}
#st_toc_container li li{
  padding: 0;
  line-height: 1;
}
#st_toc_container ul li li a {
    padding-left: 0px;
    line-height: 1.1!important;
}
#st_toc_container ul a{
  border-bottom: none;
  line-height: 1.2!important;
}
ul.st_toc_list >li{
  counter-increment: item;
}
ul.st_toc_list >li>ul>li{
  counter-increment: item2;
}
#st_toc_container li{
  position: relative;
}
ul.st_toc_list >li:before{
  content: counters(item,"-")" ";
  position: absolute;
  left: -30px;
  top: -4px;
  background: #6b6b6b;
  width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 3px;
  font-size: 13px;
  text-align: center;
  color: #fff;
  border-radius: 33px;
}
ul.st_toc_list >li>ul>li:before{
  content: counters(item2,"-")" ";
  position: absolute;
  left: -30px;
  top: -1px;
  background: #c3c3c3;
  min-width: 14px;
  height: 14px;
  line-height: 14px;
  padding: 3px;
  font-size: 13px;
  text-align: center;
  color: #ffffff;
}
@media only screen and (max-width: 600px) {
.post #st_toc_container ul, .post #st_toc_container ol{
    padding: 0 1em 1em 3.5em;
  }
}


.appreach {
  text-align: left;
  padding: 10px;
  border: 1px solid #7C7C7C;
  overflow: hidden;
}
.appreach:after {
  content: "";
  display: block;
  clear: both;
}
.appreach p {
  margin: 0;
}
.appreach a:after {
  display: none;
}
.appreach__icon {
  float: left;
  border-radius: 10%;
  overflow: hidden;
  margin: 0 3% 0 0 !important;
  width: 25% !important;
  height: auto !important;
  max-width: 120px !important;
}
.appreach__detail {
  display: inline-block;
  font-size: 20px;
  line-height: 1.5;
  width: 72%;
  max-width: 72%;
}
.appreach__detail:after {
  content: "";
  display: block;
  clear: both;
}
.appreach__name {
  font-size: 16px;
  line-height: 1.5em !important;
  max-height: 3em;
  overflow: hidden;
}
.appreach__info {
  font-size: 12px !important;
}
.appreach__developper, .appreach__price {
  margin-right: 0.5em;
}
.appreach__posted a {
  margin-left: 0.5em;
}
.appreach__links {
  float: left;
  height: 40px;
  margin-top: 8px;
  white-space: nowrap;
}
.appreach__aslink img {
  margin-right: 10px;
  height: 40px;
  width: 135px;
}
.appreach__gplink img {
  height: 40px;
  width: 134.5px;
}
.appreach__star {
  position: relative;
  font-size: 14px !important;
  height: 1.5em;
  width: 5em;
}
.appreach__star__base {
  position: absolute;
  color: #737373;
}
.appreach__star__evaluate {
  position: absolute;
  color: #ffc107;
  overflow: hidden;
  white-space: nowrap;
}

table.smp {
        border: 5px #ecf0f1 solid;
}

table.smp tr:nth-child(even) {
        background-color: #ecf0f1;
}

table.smp tr td {
        border-style: none;
}
table.smp th, table.smp thead td{
        border-top-style: none;
        border-left-style: none;
        border-right-style: none;
        border-bottom: none;
        vertical-align: top;
        font-weight: bold;
        //background-color: #3498db;
        //color: #fdfdfd;
}

.post table.smp2 {
        border: 2px #4472c4 solid;
}

.post  table.smp2 tr:nth-child(even) {
        background-color: #ededed;
}

.post table.smp2 tr td {
        border-style: none;
}
.post table.smp2 th {
        border-top-style: none;
        border-left-style: none;
        border-right-style: none;
        border-bottom: none;
        vertical-align: middle;
        font-weight: bold;
        background-color: #4472c4;
        color: #ffffff;
}

/*--------------------------------------
*
* プロフィールカード追加デザイン
*
--------------------------------------*/
.st-author-profile .sns .blogmura a {
    background: #6ab04c;
}
.st-author-profile .sns .blogranking a {
    background: #f0932b;
}
.st-author-profile .sns .author-form a {
    background: #eb4d4b !important;
}

/* プロフィールカードアイコン 背景*/
.st-author-profile-avatar img {
        background: #ffffff;
}

.reference {
    background: #ffffff;
    display: table;
    border: #FFEEEE solid 5px;
    border-radius: 3px;
    margin-bottom: 20px;
    padding: 6px;
    color: #5a5a5a;
    max-width: 100%;
    width: 100%;
        font-weight: 700;
    position: relative;
    text-decoration: none !important;
        box-sizing: border-box;
}

.reference .reftitle {
    width: 89px;
        color: #FF6E6E;
    background: #FFEEEE;
    padding: 13px;
    text-align: center;
    line-height: 1.5;
    display: table-cell;
    vertical-align: middle;
        box-sizing: border-box;
}

.reference .reftitle:before {
    display: block;
    color: #FF6E6E;
    font-size: 1.5em;
        font-weight: 900;
        box-sizing: border-box;
}

.reference .refsite {
    padding-left: 15px;
    line-height: 1.8;
    width: calc(100% - 70px);
    font-size: 0.95em;
    display: table-cell;
    vertical-align: middle;
        box-sizing: border-box;
}

.reference .refsite span {
    display: block;
    font-size: 0.95em;
        box-sizing: border-box;
}

.reference .refsite span.sitename {
    color: #B7B7B7;
}

.reference:hover {
    background: #FFFCFC;
        color: #5a5a5a;
        opacity: 1 !important;
}

.reference:before {
    content: "新しいタブで開く";
    color: #FFA5A5;
    position: absolute;
    right: 0;
    font-size: 12px;
        font-weight: 500;
    bottom: 0;
    display: inline-block;
    background: #FFEEEE;
    padding: 2px 25px 2px 10px;
}
.reference:after {
    content: "\f08e";
    color: #FFA5A5;
    font-family: "FontAwesome";
    font-weight: 900;
    position: absolute;
    right: 6px;
    font-size: 12px;
    bottom: 3px;
}

@media screen and (max-width: 500px){
.reference .refsite {
    padding-left: 10px;
    font-size: .8em;
    padding-bottom: 25px;
}}

/* 記事ごとのヘッダーデザイン 最小高さ変更 */
#st-header-post-under-box.st-header-post-data {
    min-height: 350px;
}

.maruno li,
.maruck li{
    padding-left: 30px;
}

.st-kaiwa-hukidashi p{
    margin-bottom: 0;
}
