@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

#toc_o {
    display: none;
}

.single_ad_areas{
  text-align: center;
}

  /* アフィリエイト用ボックスCSS開始 */
  .affiliate-link-box {
    border: rgb(218, 218, 218) solid 1px;
    display: flex;
    flex-direction: row;
  }

  .affiliate-link-box a {
    text-decoration: none;
  }

  .affiliate-link-box img {
    margin: 10px 25px;
    height: 160px;
    width: 160px;
  }

  .affiliate-box-information {
    margin-right: 10px;
  }

  .product-name {
    font-size: 20px;
    margin-bottom: 0;
    color: black;
  }

  .maker-name {
    margin-top: 3px;
    color: rgb(128, 128, 128);
  }

  .affiliate-link-buttons {
    flex-direction: row;
    margin-top: 15px;
    margin-left: 5px;
  }

  .affiliate-link-buttons div {
    padding: 3px 10px;
    border-radius: 3px;
    margin-right: 10px;
    box-shadow: 1px 1px 5px rgb(167, 167, 167);
    font-size: 16px;
    font-weight: bold;
  }

  .affiliate-link-buttons a {
    color: white;
    display: block;
    padding: 1%;
  }

  .affiliate-link-buttons div:hover {
    transform: scale(1.1, 1.1);
  }

  .affiliate-button-amazon {
    background-color: #FF9900;
    text-align: center;
  }

  .affiliate-button-rakuten {
    background-color: #B31E23;
  }

  .affiliate-button-yahoo {
    background-color: #FF0033;
  }

  }

  /* アフィリエイト用ボックスCSS終了 */


  /* Amazon広告 */
  .outlook-amz-box{
  margin: 44px 0;
  padding: 22px 22px 16px;
  background: #f6f9ff;
  border: 1px solid #dbe6ff;
  border-radius: 10px;
}

.outlook-amz-head h3{
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.outlook-amz-desc{
  margin: 0 0 12px;
  color: #444;
  line-height: 1.75;
}

.outlook-amz-check{
  margin: 0 0 18px;
  padding-left: 18px;
  color: #444;
  font-size: 13px;
  line-height: 1.7;
}

.outlook-amz-items{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.outlook-amz-item{
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.outlook-amz-item:hover{
  transform: translateY(-2px);
  border-color: #c8d7ff;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.outlook-amz-thumb{
  display: flex;
  align-items: center;
  justify-content: center;
}

.outlook-amz-thumb img{
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.outlook-amz-body{
  display: flex;
  flex-direction: column;
  min-height: 96px;
}

.outlook-amz-tag{
  display: inline-block;
  width: fit-content;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eaf1ff;
  color: #1f4fbf;
  margin-bottom: 8px;
}

.outlook-amz-title{
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.45;
}

.outlook-amz-note{
  margin: 0 0 10px;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

.outlook-amz-cta{
  margin-top: auto;
  display: inline-block;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 6px;
  background: #ff9900;
  color: #fff;
  font-size: 13px;
}

.outlook-amz-footnote{
  margin: 12px 0 0;
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

/* 画面が狭い場合は1列に */
@media (max-width: 860px){
  .outlook-amz-items{ grid-template-columns: 1fr; }
  .outlook-amz-item{ grid-template-columns: 88px 1fr; }
  .outlook-amz-thumb img{ width: 88px; height: 88px; }
}
  /* Amazon広告 */

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  .single_ad_areas{
    display: none;


}

/*480px以下*/
@media screen and (max-width: 480px){
  .single_ad_areas{
    display: none;
  }

}
