@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){
  /*必要ならばここにコードを書く*/
}
/* === トップページ 本文上部の画像を全幅FV化 === */
body.home .widget-content-top.widget_media_image{
  width:100vw; max-width:100vw;
  margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw);
  margin-top:0; margin-bottom:28px;
}
body.home .widget-content-top.widget_media_image img{
  width:100vw; max-width:100vw; height:auto; display:block;
}
body.home #main > .widget-content-top:first-child{ padding-left:0; padding-right:0; }

/* === グロナビと全幅FV画像の間の余白を詰める（トップのみ） === */
body.home #content{ margin-top:0; padding-top:0; }
body.home #content .content-in{ margin-top:0; padding-top:0; }
body.home #main{ margin-top:0; padding-top:0; }
body.home .widget-content-top.widget_media_image{ margin-top:0; }