@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){
  /*必要ならばここにコードを書く*/
}



/**
 * Googleスプレッドシートへの自動データ送信を無効化する
 */
/**
 * プラグインのためのメニューアイテムを作成または登録します。
 * @since 1.0
 */
public function register_gs_menu_pages() {
    // ユーザーが特定の権限（ここでは'wpcf7_edit_contact_forms'）を持っているかを確認します
    if (current_user_can('wpcf7_edit_contact_forms')) {
        // ユーザーの現在の役割を取得します
        $current_role = Gs_Connector_Utility::instance()->get_current_user_role();
        
        // サブメニューページを追加します
        // ページのタイトル、メニュータイトル、アクセス権限、スラッグ、表示コールバックを指定します
        add_submenu_page('wpcf7', __('Google Sheets', 'gsconnector'), __('Google Sheets', 'gsconnector'), $current_role, 'wpcf7-google-sheet-config', array($this, 'google_sheet_configuration'));
    }
}


form.sent table {
 display: none;
}
form.sent p{
display:none;
}

#sent-message , #sent-message2 {
    display: none; /* まずは非表示に設定 */
    text-align: center; /* テキストを中央揃えにする */
}


#sent-message3 , #sent-message4 {
    display: none; /* まずは非表示に設定 */
    text-align: center; /* テキストを中央揃えにする */
}

/*テスト//

/* 埋め込みコンテンツ全体のスタイル */
.embedpress-container {
    border: 2px solid #ccc;
    padding: 10px;
}

/* タイトルのスタイル */
.embedpress-container .embedpress-title {
    font-size: 18px;
    font-weight: bold;
}

/* コンテンツのスタイル */
.embedpress-container .embedpress-content {
    color: #333;
}
