@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
*/

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

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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* ========================================

   カエレバ 商品リンク

======================================== */


.cstmreba .kaerebalink-box {
    overflow: hidden;
    margin: 20px 0;
    padding: 18px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    line-height: 1.6;
}

.cstmreba .kaerebalink-image {
    float: left;
    margin: 0 20px 10px 0;
    text-align: center;
}

.cstmreba .kaerebalink-image img {
    max-width: 100%;
    height: auto;
    border: 0;
}

.cstmreba .kaerebalink-info {
    overflow: hidden;
}

.cstmreba .kaerebalink-name {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
}

.cstmreba .kaerebalink-name a {
    color: #1769aa;
    text-decoration: none;
}

.cstmreba .kaerebalink-name a:hover {
    text-decoration: underline;
}

.cstmreba .kaerebalink-powered-date {
    margin-top: 5px;
    color: #777;
    font-family: Verdana, sans-serif;
    font-size: 11px;
    font-weight: normal;
}

.cstmreba .kaerebalink-link1 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.cstmreba .kaerebalink-link1 > div {
    margin: 0 !important;
}

.cstmreba .kaerebalink-link1 > div:empty {
    display: none;
}

.cstmreba .kaerebalink-link1 > div > img {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    border: 0 !important;
}

.cstmreba .kaerebalink-link1 a {
    display: inline-block;
    padding: 7px 12px;
    border: 1px solid #d8dce2;
    border-radius: 5px;
    background: #f7f8fa;
    color: #333;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.4;
    text-decoration: none;
}

.cstmreba .kaerebalink-link1 a:hover {
    background: #eef1f4;
    text-decoration: none;
}

.cstmreba .booklink-footer {
    clear: both;
}

@media screen and (max-width: 768px) {
    .cstmreba .kaerebalink-box {
        padding: 14px;
    }

    .cstmreba .kaerebalink-image {
        float: none;
        margin: 0 0 14px;
    }

    .cstmreba .kaerebalink-info {
        overflow: visible;
    }

    .cstmreba .kaerebalink-link1 {
        display: block;
    }

    .cstmreba .kaerebalink-link1 > div {
        margin-bottom: 8px !important;
    }

    .cstmreba .kaerebalink-link1 a {
        display: block;
        box-sizing: border-box;
        width: 100%;
        text-align: center;
    }
}