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

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* no-margin クラスを持つ <li> で上下スペースを完全に除去 */
li.no-margin {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 14px !important;
  list-style: none !important;
}

/* 中のリンクにも適用 */
li.no-margin a {
  display: inline-block;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  text-decoration: none;
}

/* 念のため、.link-xxx クラスにもサイズと余白指定 */
.link-top,
.link-back,
.link-throws {
  font-size: 14px !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block;
}

/* ショートコードが <p> に囲まれる場合に備えて段落余白除去 */
p:has(li.no-margin),
p:has(.link-top),
p:has(.link-back),
p:has(.link-throws) {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

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

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

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