@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* === 景品表示法対応 === */
/* Cocoon設定メインカラム左上のPR表記 */
.pr-label-s {
  display: inline-block;
  position: absolute;
  top: -6px; /* メインカラム上端からの位置調整 */
  left: 27px; /* メインカラム左端からの位置調整 */
  margin: 0;
  padding: 6px 0 5px 0;
  width: 60px;
  text-align: center;
  color: #fff; /* 文字の色 */
  font-size: 12px;
  background: #959595; /* ラベルの色 */
  border-radius: 3px 0 0 0;
  border: none;
  }
.pr-label-s:before {
  position: absolute;
  content: '';
  top: 0;
  right: -6px;
  border: none;
  border-bottom: solid 6px #333;
  border-right: solid 6px transparent;
}
/* === 景品表示法対応 === */
/* Cocoon設定本文上のPR表記 */
.pr-label-l {
    border-top: 1px dotted #333; /* 上の点線 */
    border-bottom: 1px dotted #333; /* テキスト下の点線 */
    border-left: none;
    border-right: none;
    border-radius: 0;
    font-size: 13px; /* 文字サイズ */
    color: #333; /* 文字の色 */
    text-align: center; /* テキスト中央揃え */
    background: #fff;
    padding: 3px 0;
    margin-bottom: 2em;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}


/* ===== スマホ用ナビゲーション改善 ===== */
@media screen and (max-width: 768px) {
  .menu-mobile {
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 10px !important;
    justify-content: center !important;
  }
  .menu-mobile > li {
    flex: 0 0 calc(50% - 4px) !important;
    width: auto !important;
    box-sizing: border-box !important;
  }
  .menu-mobile > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: rgba(255,255,255,0.22) !important;
    border: 1.5px solid rgba(255,255,255,0.65) !important;
    border-radius: 999px !important;
    padding: 9px 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #fff !important;
    min-height: 42px !important;
    letter-spacing: 0.02em !important;
  }
  .menu-mobile > li > a .caption-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }
  .menu-mobile > li > a .item-label {
    display: block !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }
}