/*
Template:ystandard
Theme Name:ystandard-child
Theme URI: http://ystandard.net
Author: yosiakatsuki
Author URI: http://yosiakatsuki.net
Description:サイト高速化、Google PageSpeed Insightsでの高得点獲得に重点を置きながら、比較的カスタマイズしやすい形を目指したテーマystandardの子テーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/*文字 隙間 太さ*/
.entry-content h3{
	margin: 0.5em 0 1em;
    font-size: 1.4em;
}

.entry-content h4 {
    margin: 0.5em 0 0.5em;
    font-size: 1.3em;
}

/*行間・段落の調整*/
div.entry-content p {
	margin: 0.2em 0em;
}

/*テーブル内の調整*/
td, th {
    padding: 4px 2px;
}

/*アップデートによる行間調整*/
.entry__content>:not(h1):not(h2):not(h3):not(h4):not(h5) {
    margin-top: 0.5em;
}


/*コメント削除*/
aside#comments.comments-area.comments__area.entry__footer-section {
	display: none;
}

/*Adsense 中央*/
.ad-center{
  text-align:center;
}

/*Adsense 上の空白*/
.singular__footer>.ys-ad-content {
    margin-top: 5px;
}

/* 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;
}

/*YouTube レスポンシブ*/
.youtube {
position: relative;
width: 100%;
padding-top: 56.25%;
}

.youtube iframe{
position: absolute;
top: 0;
right: 0;
width: 100% !important;
height: 100% !important;
}