@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon
Version:    1.1.2
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

 /*クリックで表示*/
.et_pb_module {
  display: inline-block;
}

.secList {
  display: inline-block;
  padding: 0.3em 1em;
  text-decoration: none;
  color: #67c5ff;
  border: solid 2px #67c5ff;
  border-radius: 3px;
  transition: .4s;
}
  
.secList:hover {
  background: #67c5ff;
  color: white;
}

.et_pb_text_inner {
  background-color: #EAD9FF;
}
 /*クリックで表示*/

/*動くアニメーション*/
.sa {
opacity: 0;
transition: all .5s ease;
}
.sa.show {
opacity: 1;
transform: none;
}
.sa--lr {
transform: translate(-100px, 0);
}
.sa--rl {
transform: translate(100px, 0);
}
.sa--up {
transform: translate(0, 100px);
}
.sa--down {
transform: translate(0, -100px);
}
.sa--scaleUp {
transform: scale(.5);
}
.sa--scaleDown {
transform: scale(1.5);
}
.sa--rotateL {
transform: rotate(180deg);
}
.sa--rotateR {
transform: rotate(-180deg);
}
/*動くアニメーション*/

 /*マウスオーバーで吹き出し表示*/
.setumei {
    display: inline-block;
    position: relative;
}
.setumei > span {
    bottom: 100%;
    display: none;
    position: absolute;
	width: 400px;    /*吹き出しの幅*/
}
.setumei > span::after {
    border-color: #e79221 transparent transparent;
    border-style: solid;
    border-width: 7px 7px 0 0;
    content: "";
    display: block;
    height: 0;
    left: 0;
    position: absolute;
    top: 100%;
    width: 0;
}
.setumei:hover > span {
    background-color: #e79221;
    color: #ffffff;
    display: block;
    margin-bottom: 7px;
    padding: 3px;
}

body {
    padding: 2em 0;
}
 /*マウスオーバーで吹き出し表示*/

/*ボタンをスクロール追従で右下に固定*/
.fixed_btn
{
  position: fixed;
  bottom: 10px; 
  right: 450px;
  padding: 6px 40px;
}
/*ボタンをスクロール追従で右下に固定*/

/*モーダルウィンドウ*/
.modal {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
  background: rgba(0, 0, 0, 0.8);
  z-index: 99999;
  animation-name: show;
  animation-duration: 0.5s
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 10% auto;
  border: 1px solid #888;
  width: 40%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

@keyframes show {
  0% {
    display: none;
    opacity: 0;
  }
  100% {
    display: block;
    opacity: 1;
  }
}

.modal-header {
  padding: 12px;
  background-color: grey;
  color: white;
}

.modal-body {
  padding: 12px;
}

.modal-footer {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 12px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 16px;
}

.close:hover,
.close:focus {
  color: black;
  cursor: pointer;
}


/*モーダルウィンドウ*/

/*モーダルウィンドウ２*/
#open-modal-fixed {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 2147483647 !important; /* 物理的な最大値 */
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
    
    /* 見た目（任意） */
    padding: 15px 25px;
    background: #ff4500 !important; /* 目立つ色 */
    color: #fff !important;
    border-radius: 50px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

#demo-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0,0,0,0.85) !important;
    z-index: 2147483647 !important;
}
/*モーダルウィンドウ２*/


/* 新着記事のNEW!---------------------------------------------- */
.new-txt{
color: #ff0000;/*文字色*/
margin-right:5px;/*NEW！右側の余白*/
}
/* 点滅 */
.new-txt {
	animation: blinking 1s ease-in-out infinite alternate;
}
 
@keyframes blinking {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
/* 点滅 */
/* 新着記事のNEW!---------------------------------------------- */

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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