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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* 英数字用 Jost */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&display=swap');

/* ひらがな・漢字用 Noto Sans JP */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* 明朝体シッポリミンチョ */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600&display=swap');

/* 本文・英数字は Jost + Noto Sans JP */
body {
  font-family:
    'Jost', /* 英数字 */
    'Noto Sans JP', /* ひらがな・漢字・カタカナ */
    sans-serif;
}

/* 明朝体はクラスで切り替え */
.font-mincho {
  font-family: 'Shippori Mincho', serif !important;
}

/* スマホ・タブレット用設定 */
/* PCでは完全に非表示 */
.custom-menu-trigger,
.custom-full-menu {
  display: none;
}

/* スマホ・タブレット（991px以下）用設定 */
@media screen and (max-width: 991px) {
  /* ボタン本体 */
  .custom-menu-trigger {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    width: 24px;
    height: 18px;
    background: transparent !important;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .custom-menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #243843; 
    transition: all 0.4s ease;
  }
  
  .custom-menu-trigger.is-active span {
    background: #ffffff !important;
  }

  .custom-menu-trigger span:nth-child(1) { top: 0; }
  .custom-menu-trigger span:nth-child(2) { top: 8px; }
  .custom-menu-trigger span:nth-child(3) { bottom: 0; }

  /* バツ印変形 */
  .custom-menu-trigger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .custom-menu-trigger.is-active span:nth-child(2) { opacity: 0; }
  .custom-menu-trigger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

 /* 全面メニュー背景 */
  .custom-full-menu {
    display: flex !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 10000 !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .custom-full-menu.is-active {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* --- ここから Cocoon/SILK の背景色干渉をリセット --- */
  .menu-content,
  .menu-content ul,
  .menu-content ul li,
  .menu-content ul li a {
    background: transparent !important; /* 背景を透明に強制 */
    border: none !important;           /* 枠線があれば消す */
    box-shadow: none !important;       /* 影があれば消す */
  }

/* メニューリスト全体を中央に固定 */
  .menu-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* 画面の高さ分を確保して中央寄せを確実に */
 transform: translateY(-100px); 
  } 
 
  .menu-content ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center;
  }

  .menu-content ul li {
    margin: 15px 0 !important;
  }

  .menu-content ul li a {
 font-weight: bold !important; 
    font-size: 1.0rem !important;
    color: #ffffff !important; /* 文字色を白に */
    text-decoration: none !important;
    letter-spacing: 0.2em;
    display: inline-block;
  }
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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