@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){
  /*必要ならばここにコードを書く*/
}
/* テンプレート全体の装飾 */
.custom-template h2 {
    border-left: 5px solid #333;
    background: #f4f4f4;
    padding: 10px 15px;
    margin-top: 40px;
}

.custom-template h3 {
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
    margin-top: 30px;
}

/* 動画レスポンシブ */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}
.video-container iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

/* アフィリエイトボタンエリア */
.custom-affiliate {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: #fff9e6;
    border: 1px solid #ffeeba;
    border-radius: 5px;
}

/* 画像セクション（必要に応じて調整） */
.image-section img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 4px;
}

/* 再掲：アフィリエイト告知のスタイル */
.affiliate-notice {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 8px 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 0.85rem;
    color: #666;
}
.affiliate-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    background-color: #ccc;
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 12px;
    font-weight: bold;
}
.affiliate-text {
    margin: 0;
}
/* ボックスのクラス名が .affiliate-notice だと仮定した場合 */
.affiliate-notice {
  display: flex;
  align-items: center;
}