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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*楽天回遊バナー*/
.campaign-lead {
  margin: 0 0 14px;
  line-height: 1.9;
}

.campaign-guide {
  margin: 0 0 16px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0b4f8a;
  line-height: 1.7;
}

.rakuten-campaign-box {
    margin: 40px auto;
    padding: 24px;
    background: #f5fbff;
    border: 1px solid #d8edf7;
    border-radius: 12px;
    text-align: center;
}

/* 上の黄色ラベル */
.rakuten-campaign-label {
  display: inline-block;
  margin: 0 0 16px !important;
  padding: 8px 18px;
  background: #fff176;
  color: #07559b;
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 1.45;
  border-radius: 999px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

/* 見出し：枠をなくして自然に */
.rakuten-campaign-title {
  position: relative;
  margin: 0 0 18px;
  padding: 0 0 10px 14px;
  color: #124b7a;
  font-size: clamp(1.18rem, 2.6vw, 1.45rem);
  font-weight: 700;
  line-height: 1.55;
  border-left: 0px solid #589cd5;
  border-bottom: 1px solid #cfe7f5;
}
h3.rakuten-campaign-title {
    border-left: 0px;
    border-right: 0px;
    border-top: 0px;
    text-align: center;
}
/* バナー */
.rakuten-campaign-bnr {
  display: block;
  margin-top: 16px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.rakuten-campaign-bnr:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.rakuten-campaign-bnr img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* 注釈 */
.rakuten-campaign-note {
  margin: 12px 0 0 !important;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #666;
}

/* スマホ調整 */
@media screen and (max-width: 600px) {
  .rakuten-campaign-box {
    padding: 18px 14px;
  }

  .rakuten-campaign-label {
    display: block;
    padding: 8px 14px;
    font-size: 0.95rem;
    border-radius: 12px;
  }

  .rakuten-campaign-title {
    font-size: 1.08rem;
    padding-left: 12px;
  }
}
/*楽天回遊バナー_END*/
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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