@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){
  /*必要ならばここにコードを書く*/
}
/* --- 動画オーバーレイフォーム用 --- */
#myFormOverlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#myFormOverlay > div {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 80%;
    max-height: 90%;
    overflow-y: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    position: relative;
}

#closeFormBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f44336;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
}

@media (max-width: 767px) {
    #myFormOverlay > div {
        max-width: 95%;
        padding: 15px;
        font-size: 16px;
    }

    #closeFormBtn {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
}
/* --- 動画オーバーレイフォーム用 --- */
#myFormOverlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#myFormOverlay > div {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 80%;
    max-height: 90%;
    overflow-y: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    position: relative;
}

#closeFormBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f44336;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
}

@media (max-width: 767px) {
    #myFormOverlay > div {
        max-width: 95%;
        padding: 15px;
        font-size: 16px;
    }

    #closeFormBtn {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
}
.form-overlay {
    display: none;
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.form-overlay > div {
    background:#fff;
    padding:20px;
    border-radius:10px;
    max-width:80%;
    max-height:90%;
    overflow:auto;
    position:relative;
}

.closeFormBtn {
    position:absolute;
    top:10px;
    right:10px;
    background:#f44336;
    color:#fff;
    border:none;
    border-radius:50%;
    width:30px;
    height:30px;
    font-size:18px;
    cursor:pointer;
}

@media (max-width:767px){
    .form-overlay > div {
        max-width:95%;
        font-size:16px;
        padding:15px;
    }
    .closeFormBtn {
        width:28px;
        height:28px;
        font-size:16px;
    }
}
