@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){
  /*必要ならばここにコードを書く*/
}
@media (min-width: 481px) {
  #wrapper, .wrap, #content, #container, .content-in {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  #main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}





body.home .hl-header,
body.home .hl-search {
  margin-left: -9999px;
  margin-right: -9999px;
  padding-left: 9999px;
  padding-right: 9999px;
}


#nowlabzz-home .hl-search input[type="text"] {
  padding: 12px 18px !important;
  border: none !important;
  font-size: 15px !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  width: 100% !important;
  outline: none !important;
}

#nowlabzz-home .hl-search {
  background: #1a1a2e !important;
  padding: 0 16px 20px !important;
}

#nowlabzz-home .hl-header {
  background: #1a1a2e !important;
  padding: 20px 16px 16px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
#nowlabzz-home .hl-search {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.home #content {
  padding: 0 !important;
  margin: 0 !important;
}

body.home #content,
body.home #container,
body.home .wrap,
body.home #wrapper {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

body.home .wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.home .content-in.wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 比較記事シェアボタン */
.comp-share-buttons { display: flex !important; gap: 8px !important; margin: 24px 0 !important; }
.comp-share-btn { display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; flex: 1 !important; padding: 12px !important; border-radius: 6px !important; color: #fff !important; font-size: 14px !important; font-weight: 700 !important; text-decoration: none !important; }
.comp-share-x { background: #000 !important; }
.comp-share-x:hover { background: #333 !important; color: #fff !important; }
.comp-share-line { background: #06c755 !important; }
.comp-share-line:hover { background: #05b34c !important; color: #fff !important; }

/* モーダルポップアップ */
.nl-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 1000; }
.nl-modal-overlay.show { display: block; }
.nl-modal { position: fixed; bottom: -100%; left: 50%; transform: translateX(-50%); width: 90%; max-width: 340px; background: #1a1a1a; border-radius: 12px 12px 0 0; padding: 16px; z-index: 1001; transition: bottom 0.3s ease; }
.nl-modal.show { bottom: 0; }
.nl-modal-close { display: block; width: 100%; padding: 12px; margin-bottom: 12px; font-size: 16px; font-weight: 700; color: #fff; background: rgba(255,255,255,0.2); border: 2px solid #fff; border-radius: 6px; cursor: pointer; text-align: center; }
