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

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

/* ===== Sticky Footer CTA ===== */
#exit-sticky-cta {
  display: none;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  #exit-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    z-index: 9999;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(40px);
    transition:
      opacity 0.4s ease,
      transform 0.4s ease;
    padding: 12px;
  }
  #exit-sticky-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    background: rgba(85, 85, 85, 0.4);
    backdrop-filter: blur(1.5px);
  }
  /* ボタン共通 */
  .exit-sticky-cta__btn {
    display: none;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    position: relative;
  }
  #exit-sticky-cta[data-mode="line"] .exit-sticky-cta__btn--line,
  #exit-sticky-cta[data-mode="phone"] .exit-sticky-cta__btn--phone {
    display: inline-flex;
  }
  /* ラベルピル共通 */
  .exit-sticky-cta__label {
    display: inline-block;
    border-radius: 90px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 800;
    line-height: 100%;
    background: #fff;
    position: relative;
    z-index: 1;
    margin-bottom: -12px;
  }
  .exit-sticky-cta__label--line {
    border: 2px solid #02ba02;
    color: #02ba02;
  }
  .exit-sticky-cta__label--phone {
    border: 2px solid #2892c5;
    color: #2892c5;
  }
  /* メインボタン共通 */
  .exit-sticky-cta__main {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 90px;
    width: 295px;
    max-width: 90vw;
    font-size: 16px;
    font-weight: 800;
    line-height: 100%;
    color: #fff;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  }
  .exit-sticky-cta__main--line {
    background: #02ba02;
    padding: 16px 0;
  }
  .exit-sticky-cta__main--phone {
    background: #2892c5;
    padding: 14px 0 8px;
    flex-wrap: wrap;
  }
  /* 営業時間テキスト */
  .exit-sticky-cta__sub {
    display: block;
    width: 100%;
    color: #fff;
    font-size: 9px;
    font-weight: 400;
    margin-top: 4px;
    text-align: center;
  }
}

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

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