@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;
}

.samplecombo-intro {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 1.5em;
}

.samplecombo-video {
  max-width: 560px;      /* 最大幅を制限（例：PC用） */
  margin: 1em auto;      /* 上下余白を付け中央寄せ */
  width: 100%;           /* スマホ対応で100%幅に */
}

.samplecombo-video iframe {
  width: 100%;           /* 横幅100% */
  height: 315px;         /* 高さは16:9比率 */
  max-width: 100%;
  border: none;
}

.samplecombo_s2_hosoku {
    font-size: 14px;

}



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

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

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

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