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

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

.container table tr:nth-of-type(2n+1) {
    background-color: #fff;
}


.widget h2 {
    display: none;
}
.floating-banner {
  position: fixed;
  z-index: 99999;
}
.floating-banner a {
  text-decoration: none;
  color: inherit;
}
.floating-banner:hover {
  opacity: 0.8;
}

/* PC：右下に縦型バナー（中央寄せ） */
@media screen and (min-width: 769px) {
  .floating-banner {
    bottom: 0;
    right: 0;
  }

  .banner {
    width: 250px;
    height: 200px;
    background:#0071bc;
    color: #fff;
    font-weight: bold;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1em;
    box-sizing: border-box;
  }

  .copy {
    font-size: 16px;
    line-height: 1.4;
    font-weight: bold;
    color: #fff;
    margin: 0;
    text-align: center;
  }

  .cta {
    display: inline-block;
    padding: 10px 14px;
    background: #e37e00;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
	  border-radius: 30px;
    box-shadow: none;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
  }

  .cta:hover {
    background: #e08615;
  }
}

/* スマホ：下部に横長バナー（左寄せ＋白文字） */
@media screen and (max-width: 768px) {
  .floating-banner {
     font-weight: bold;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 60px;
    background: #0071bc;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0;
  }

  .banner {
    display: flex;
    width: 100%;
    height: 100%;
    background: transparent;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .copy {
	  white-space: nowrap;
    font-size: 15px;
    line-height: 1.4;
    font-weight: bold;
    color: #fff;          /* ← 白文字を明示 */
    margin: 0;
    text-align: left;
  }

  .cta {
   font-weight: bold;
    font-size: 15px;
    padding: 8px 12px;
    background: #e37e00;
    color: #fff;
	  border-radius: 30px;
    white-space: nowrap;
  }

  .cta:hover {
    background: #e08615;
  }
}


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

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

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