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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/* ブロックくずし モーダル背景 */
#breakout-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

/* モーダルコンテンツ */
.breakout-content {
  background: #111111;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 25px rgba(0, 149, 221, 0.4);
  color: #ffffff;
  max-width: 95vw;
}

.breakout-content h3 {
  margin-top: 0;
  color: #0095DD;
}

#close-breakout {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff5c5c;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 4px 10px;
  cursor: pointer;
  font-weight: bold;
}

#breakoutCanvas {
  background: #222222;
  border: 2px solid #0095DD;
  border-radius: 4px;
  max-width: 100%;
  height: auto;
  touch-action: none; /* スマホスクロールを防止して操作性を維持 */
}

.breakout-content p {
  font-size: 12px;
  color: #aaaaaa;
  margin: 8px 0 0 0;
}