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

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

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

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

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





/*アピールエリア*/
/* =========================
   共通設定
========================= */
.appeal-content {
  display: none !important;
}


/* =========================
   PC（769px以上）
========================= */
@media screen and (min-width: 769px) {

  .appeal {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 0;
  }

  .appeal-in {
    max-width: none;
    padding: 0;
  }

  /* 背景画像をしっかり表示 */
  .appeal {
    background-size: cover;
    background-position: center;
    height: 600px;
  }
}


/* =========================
   スマホ（768px以下）
========================= */
@media screen and (max-width: 768px) {

  .appeal {
    width: 100%;
    margin-left: 0;
    padding: 0;

    /* ここが最重要 */
    background-size: contain !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;

    height: auto !important;
    min-height: 0 !important;
  }
}


/* =========================
   横スクロール防止
========================= */
html, body {
  overflow-x: hidden;
}

