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


        .play-button {
            position: relative;
            width: 600px;
            height: 250px;
			margin: 50px auto 200px;
        }

        .play-icon {
            position: absolute;
            top: 60%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 50px;
            height: 50px;
            background-color: #FE628E;  
            border-radius: 50%;
			pointer-events: none;
        }
        .play-icon::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 55%;
            transform: translate(-50%, -50%);
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 10px 0 10px 20px;
            border-color: transparent transparent transparent white;
        }


.wp-block-button__link {
    background-color: #4CAF50; /* 緑色の背景 */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* 白い影 */
    transition: all 0.3s ease; /* スムーズな遷移効果 */
	overflow: hidden;
	position: relative; 
}

.wp-block-button__link:hover {
    background-color: #45a049; /* ホバー時の少し濃い緑色 */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.7); /* ホバー時の強い白い影 */
}


.wp-block-button__link::before,
.wp-block-button__link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
}

.wp-block-button__link::before {
    animation: shine 3s infinite;
}

.wp-block-button__link:hover::after {
    animation: shine 1s;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}