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

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

.affiliate-banner {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    margin: 20px 0;  /* 上下のマージンを減らす */
}

.affiliate-button {
    display: block;
    width: 100%;
    padding: 20px 0;  /* パディングを少し減らす */
    background-color: #ff4500;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;  /* フォントサイズを少し小さく */
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.affiliate-button:hover {
    background-color: #ff6347;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.affiliate-button::before {
    content: "▶";
    margin-right: 8px;  /* アイコンのマージンを少し減らす */
    font-size: 18px;  /* アイコンのサイズを少し小さく */
}

/* スマートフォン用のスタイル */
@media (max-width: 767px) {
    .affiliate-banner {
        margin: 10px 0;  /* スマホではさらにマージンを減らす */
        padding: 15px 0;  /* パディングも減らす */
    }

    .affiliate-button {
        padding: 15px 0;  /* スマホではパディングをさらに減らす */
        font-size: 18px;  /* フォントサイズを小さく */
    }

    .affiliate-button::before {
        margin-right: 5px;  /* アイコンのマージンをさらに減らす */
        font-size: 16px;  /* アイコンのサイズをさらに小さく */
    }
}

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

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

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


/* ボタン装飾 */
a.button_5588 {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 100%;
	margin: auto;
	padding: 1rem 4rem;
	font-weight: bold;
	border: 2px solid #e86ca3;
	background: #e86ca3;
	color: #fff;
	border-radius: 100vh;
	transition: 0.5s;
}
a.button_5588 :hover {
	color: #e86ca3;
	background: #fff;
}