@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){
  /*必要ならばここにコードを書く*/
}
/* ミナ スマホ追従CTA */
.mobile-sticky-cta {
	display: none;
}

@media (max-width: 767px) {
	.mobile-sticky-cta {
		position: fixed;
		right: 12px;
		bottom: max(12px, env(safe-area-inset-bottom));
		left: 12px;
		z-index: 9999;
		display: block;
		opacity: 0;
		pointer-events: none;
		transform: translate3d(0, 16px, 0);
		transition: opacity 0.28s ease, transform 0.32s ease;
		will-change: opacity, transform;
	}

	.mobile-sticky-cta.is-visible {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}

	.mobile-sticky-cta__link {
		display: block;
		width: min(100%, 700px);
		margin: 0 auto;
		pointer-events: none;
		animation: mobileStickyCtaFloat 3.5s ease-in-out infinite;
	}

	.mobile-sticky-cta.is-visible .mobile-sticky-cta__link {
		pointer-events: auto;
	}

	.mobile-sticky-cta__image {
		display: block;
		width: 100%;
		height: auto;
		border: 0;
		box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
	}
}

@media (prefers-reduced-motion: reduce) {
	.mobile-sticky-cta,
	.mobile-sticky-cta__link {
		transition: none;
		animation: none;
	}
}

@keyframes mobileStickyCtaFloat {
	0%, 100% {
		transform: translate3d(0, 0, 0);
	}

	50% {
		transform: translate3d(0, -3px, 0);
	}
}