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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* アピールエリア---------------------------------------------- *
/*全体*/
.appeal{
	height:calc(100svh - 60px); /*パソコンでの高さ調整*/
	background-size: cover; /*背景をフィットさせる*/
}

@media screen and (max-width: 480px){
	.appeal{
		height:calc(100svh - 46px); /*スマホでの高さ調整*/
	}
}

.appeal-in {
	min-height:100%!important; /*パソコン、スマホ高さ調整*/
	min-width:100%; /*幅を最大に*/
	background-color:rgba(250,250,250,.2); /*背景色、白を透過させる*/
	backdrop-filter: blur(0px); /*ぼかしpxで調整*/
}

/*コンテンツエリア*/
.appeal-content {
	width:100%; /*幅を最大に*/
	padding:2em 1em; /*内側余白調整*/
	background-color:initial; /*コンテンツエリアの背景無効化*/
}

/*本文*/
.appeal-message {
	font-size: 1em; /*本文文字の大きさ*/
}
/*480px以下*/
@media screen and (max-width: 480px){
	.appeal-message {
		font-size: .8em; /*スマホ表示する文字の大きさ*/
	}	
}

/*ボタン*/
.appeal-button{
	background-color:initial; /*ボタンの背景色無効化*/
	font-weight:normal; /*文字の太さ*/
	font-size:.7em; /*文字の大きさ*/
	color:initial; /*ボタンの色はここで設定可 #カラーコード*/
}

/*アイコンを追加*/
.appeal-button:before{
	display:block;
	font-family: "Font Awesome 5 Free";
	font-weight:bold;
	content: "\f103"; /*アイコン指定*/
	font-size: 1.5em; /*アイコンの大きさ*/
	animation: move 1s infinite alternate ease-in-out; /*以下、アイコンを動かすアニメーション*/
	margin-bottom:.5em; /*アイコン下に少し余白を入れる*/
}

@keyframes move{
  from {
	  transform: translateY(0);
  }
  to {
	  transform: translateY(10px);
  }
}

/*スムーズにスクロール*/
html { scroll-behavior: smooth;}


/*アピールボタンの位置を下に調整する場合*/
.appeal{
	position:relative;
}

.appeal-button{
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom:3rem;/*下からの距離*/
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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

.fadein {
	opacity: 0;
	transform: translateY(30px);
	transition-property: transform, opacity;
	transition-duration: 1.5s;
	transition-delay: 0s;
}

.fadein.is-active {
	opacity: 1;
	transform: translateY(0);
}