@charset "UTF-8";

/*
# メインコンテンツの文字サイズや行間の設定
*/
.keni-main{
	font-size: 2.0rem;
}

/*
# キャラの文字サイズや行間の設定
*/
.bubble{
	font-size: 2.0rem;
}

/*カラーボックス*/
.box_style_blue,
.box_style_green,
.box_style_orange,
.box_style_red,
.box_style_pink,
.box_style_yellow,
.box_style_gray{
	font-size: 1.8rem;
}

/*
# サブコンテンツの文字サイズや行間の設定
*/
.keni-main .free-area,
.keni-sub{
	font-size: 1.4rem;
}

/*関連記事一覧 デザイン01*/
.related-entry-list_style01 .related-entry_title{
		font-size: 1.6rem;
}

/*関連記事一覧 デザイン02*/

.related-entry-list_style02 .related-entry-list_item{
		font-size: 1.6rem;
}

/* ----------------------------------------------------
 アドセンス記事下ダブルレク大
----------------------------------------------------*/

/* スポンサーリンクというラベルの部分 */
.yokonarabi-label {
text-align:center;  /* ラベルを中央寄せ */
margin-top:50px;  /* 上に余白 */
}
/* スマホ表示部分 */
.sm-ad{
margin-top:20px;  /* 上に余白（ラベルとの距離） */
margin-bottom:30px;  /* 下に余白（下のコンテンツとの距離） */
text-align:center;  /* 広告を中央寄せ */
}

/* 横並び広告全体部分 */
.ad-yokonarabi{
display: flex;/* 親要素をフレックスボックス */
justify-content: center;/* フレックスアイテム中央寄せ */
margin: 20px 0 40px 0;/*上下の余白*/
}

/* 横並びフレックスアイテム */
.ad-yokonarabi-item{
margin:0 15px 0 15px;/* 広告間のスペース */
}


/*amazon*/
.amazon-item-box {
  padding: 22px 25px;
  width: 94%;
  margin: 0 auto 1.6em;
  border: 3px solid #dfdfdf;
  box-sizing: border-box;
  text-align: center;
  position: relative;
}
 
.amazon-item-box {
  position: relative;
}
/*
Font Awesome適用下でコメントアウトすると
ボックス右下にAmazonアイコンが表示されます*/
/*
.amazon-item-box::after {
  font-family: FontAwesome;
  content: "?";
  padding-right: 3px;
  position: absolute;
  bottom: 0;
  right: 6px;
  font-size: 24px;
  color: #ccc;
}
*/
 
.amazon-item-error.cf {
  display: block;
  line-height: 1.2;
}
 
.amazon-item-thumb {
  width: 160px;
  min-width: 160px;
  margin: 0 auto 5px;
  float: none !important;
}
 
.amazon-item-thumb * {
  display: block;
}
 
.amazon-item-thumb > a > img {
  margin: 0 auto;
}
 
.amazon-item-content {
  line-height: 125%;
  width: 100%;
}
 
.amazon-item-snippet {
  font-size: 0.8em;
  margin-top: 6px;
}
 
.amazon-item-buttons a {
  width: 90%;
  display: block;
  margin: 0px auto 8px;
  padding: 10px 1px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: #fff;
}
 
.amazon-item-buttons a:hover {
  opacity: 0.6;
}
 
.amazon-item-buttons {
  margin-top: 1em;
}
 
@media screen and (min-width: 768px) {
  .amazon-item-box {
    text-align: left;
    display: flex;
    font-size: inherit !important;
  }
 
  .amazon-item-thumb {
    vertical-align: top;
    box-sizing: border-box;
    min-width: auto !important;
  }
 
  .amazon-item-content {
    line-height: 125%;
    vertical-align: top;
    box-sizing: border-box;
    padding-left: 25px;
    width: 100%;
  }
 
  .amazon-item-buttons {
    display: flex;
    flex-wrap: wrap;
  }
 
  .amazon-item-buttons a {
    width: auto;
    text-align: center;
    margin: 0;
    border-radius: 3px;
  }
 
  .amazon-item-buttons a img {
    position: absolute;
    bottom: 0;
    right: 0;
  }
 
  .amazon-item-buttons > * {
    width: 31.5%;
    margin: 2px;
    box-sizing: border-box;
  }
}
.shoplinkamazon a {
  background: #f79901;
}
 
.shoplinkrakuten a {
  background: #bf0000;
}
 
.shoplinkyahoo a {
  background: #e60033;
  position: relative;
}
/*amazon終わり*/