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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* --- 量子フロンティアページ・ポップアップ用 最終確定CSS --- */

/* メインコンテンツエリアの重なり順を上げる（サイドバー対策） */
#main {
    position: relative;
    z-index: 20;
}

/* ポップアップの黒い背景全体 */
#gemini-modal {
    overflow-y: auto;
    align-items: flex-start;
    padding-top: 5vh;
    padding-bottom: 5vh;
    z-index: 9999 !important; /* !importantで強制的に最前面に */
}

/* ポップアップの白いコンテンツボックス */
.modal-content {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

/* ポップアップの文章エリア */
#modal-body {
    overflow-y: auto;
    padding-top: 1rem !important; /* !importantで頭の余白を確実に確保 */
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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