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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.toggle-button {
	text-align: left;
	font-weight: 700;
}
.ecocta {
	position: relative;
    text-align: center;
    padding: 45px 0;
	margin: 0;
}
.ecocta .ecocta__micro {
	margin-bottom: 0;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    font-weight: bold;
	text-wrap: nowrap;
}
.ecocta a {
	display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 72px;
    line-height: 1.2em;
    background-color: #FD1515;
    text-decoration: none;
    color: #FFF;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 6px 15px rgba(0, 0, 0, .3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
	overflow: hidden; 
	position:relative;
}
.ecocta a::before {
	content: "";
	position: absolute;
	top: 0;
	left: -75%;
	width: 50%;
	height: 72px;
	background: linear-gradient(
		120deg,
		transparent 0%,
		rgba(255, 255, 255, 0.6) 50%,
		transparent 100%
	);
	transform: skewX(-20deg);
	pointer-events: none; 
		animation: shine 3s infinite;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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