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

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

/* contactform7設定 */
input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
	text-align: center;
  width: 200px;
  padding: 10px;
  border-radius: 5px;
  background-color: #000;
  border: none;
  color: #fff;
  cursor: pointer;
}

span.wpcf7-spinner {
  display: none;
}

.submit-btn {
  display: inline-block; 
  position: relative;
}

.submit-btn-wrapper {
  text-align: center;
}

/* モバイルメニュー説明表示 */
#sidebar .menu-item-description,
.sidebar .menu-item-description,
.navi-menu-content .menu-item-description {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  opacity: 0.7;
  margin-top: 2px;
}

/* ==========================================
   DANCE&GO / MOBILE RESERVATION CTA
========================================== */

/* 表示開始位置 */

#dg-cta-trigger {
  height: 1px;
  margin: 0;
  padding: 0;
}


/* ==========================================
   PC：非表示
========================================== */

.dg-mobile-cta {
  display: none;
}


/* ==========================================
   SMARTPHONE / TABLET
========================================== */

@media screen and (max-width: 1023px) {

  .dg-mobile-cta {
    --dg-cta-accent: #bdc34c;
    --dg-cta-hover: #aab13e;
    --dg-cta-ink: #171217;
    --dg-cta-size: 76px;

    display: block;
    position: fixed;

    right: 16px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));

    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    pointer-events: none;

    transition:
      opacity .25s ease,
      transform .25s ease,
      visibility .25s;
  }


  /* 表示状態 */

  .dg-mobile-cta.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }


  /* ========================================
     丸型予約ボタン
  ======================================== */

  .dg-mobile-cta__button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;

    width: var(--dg-cta-size);
    height: var(--dg-cta-size);
    box-sizing: border-box;

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;

    background: var(--dg-cta-accent);
    color: var(--dg-cta-ink) !important;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;

    box-shadow:
      0 6px 18px rgba(0,0,0,.16),
      0 2px 6px rgba(0,0,0,.08);

    -webkit-tap-highlight-color: transparent;

    transition: background .25s ease;
  }

  .dg-mobile-cta__button:visited {
    color: var(--dg-cta-ink) !important;
  }


  /* カレンダーアイコン */

  .dg-mobile-cta__button svg {
    display: block;
    flex-shrink: 0;

    width: 26px;
    height: 26px;
  }


  /* キーボード操作 */

  .dg-mobile-cta__button:focus-visible {
    background: var(--dg-cta-hover);

    outline: 3px solid var(--dg-cta-ink);
    outline-offset: 3px;
  }


  /* タップ時 */

  .dg-mobile-cta__button:active {
    background: var(--dg-cta-hover);
  }

}


/* ==========================================
   ホバー設定
========================================== */

@media (max-width: 1023px) and (hover: hover) and (pointer: fine) {

  .dg-mobile-cta__button:hover {
    background: var(--dg-cta-hover);
    color: var(--dg-cta-ink) !important;
  }

}


/* ==========================================
   アニメーション軽減設定
========================================== */

@media (prefers-reduced-motion: reduce) {

  .dg-mobile-cta,
  .dg-mobile-cta__button {
    transition: none;
  }

}

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

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

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