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

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

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/* 835x - */
@media screen and (min-width: 835px) {
.ad_sp {
  display: none;
 }
 .ad_tablet {
  display: none;
 }
}

/* 481px - 834px*/
@media screen and (min-width: 481px) and (max-width: 834px){
 .ad_sp {
   display: none;
 }
 .ad_pc {
   display: none;
 }
}

/* -480px */
@media screen and (max-width: 480px){
 .ad_tablet {
   display: none;
 }
 .ad_pc {
   display: none;
 }
}


/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■ 個別カスタマイズ設定
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■ 空白調整
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

/*==================================================================================================
■ 【空白調整】タイトル
===================================================================================================*/
.logo.logo-header.logo-text {
	padding: 0px;
}

/*==================================================================================================
■ 【空白調整】キャッチフレーズ
===================================================================================================*/
div.tagline {
  padding: 0px 0px 0px 0px;
  margin: 0px 0px 0px 0px;
}

/*==================================================================================================
■ 【空白調整】記事本文
===================================================================================================*/
main#main {
  padding: 10px 10px 0px 10px;
  margin: 5px 5px 0px 5px;
}

/*==================================================================================================
■ 【空白調整】人気記事ランキング
===================================================================================================*/
ul.wpp-list {
  padding: 0;
}

/*==================================================================================================
■ 【空白調整】ヘッダ紹介文関連
===================================================================================================*/
div#content {
  padding-top:0px;
  margin-top:0px;
}

div#content-top {
  padding-bottom:0px;
  margin-top:5px;
  margin-bottom:0px;
}

aside#custom_html-23 {
  padding-top:0px;
  padding-bottom:0px;
  margin-top:0px;
  margin-bottom:5px;
}

main#main {
  margin-top:0px;
}

/*==================================================================================================
■ 【空白調整】 カテゴリ選択時と、検索結果表示時
===================================================================================================*/
h1#archive-title.archive-title {
 padding-top    : 0px;
 padding-bottom :10px;
 padding-left   : 0px;
 padding-right  : 0px;
 margin :0px;
}

/*==================================================================================================
■ 【空白調整】インデックスリスト
===================================================================================================*/
form.search-box {
  margin:5px;
}

#search-2 {
 padding:0px;
 margin :0px;
}

div#content {
  margin : 0px ;
}

/*==================================================================================================
■ 【空白調整】インデックスリスト途中に表示する広告
===================================================================================================*/
.index_middle_ad_image {
  display: flex;
  justify-content: center;
  align-items: center;
}

aside#custom_html-2 {
  padding : 0px;
  margin  : 0px;
}

/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■ 個別スタイル
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

/*==================================================================================================
■【個別スタイル】「サンプル動画あり」タグラベルの表示位置
===================================================================================================*/
.custom-tag-label {
  position: absolute;
  top: 0.0em;
  right: 0.0em;
  border: 1px solid #eee;
  font-size: 11px;
  color: var(--cocoon-white-color);
  background-color: rgba(251, 10, 10, 1.0);
  padding: 0px 5px;
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*==================================================================================================
■【個別スタイル】「セール中」タグラベルの表示位置
===================================================================================================*/
.sale-tag-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid rgba(255, 0, 0, 1.0);
  font-size: 14px;
  color: rgba(255, 0, 0, 1.0);
  background-color: rgba(250, 255, 10, 1.0);
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*==================================================================================================
■ 【個別スタイル】H2 タグ背景をグラデーション化
===================================================================================================*/
.article h2{
  color: #000000;
  background: linear-gradient(to right, #C0F0FF 30%, #FFFFFF);
}

/*==================================================================================================
■ 【個別スタイル】a ダウンロードリンク
===================================================================================================*/
a.sample_link {
  display : block;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

/*==================================================================================================
■ 【個別スタイル】「続きを見にいく」ボタン
===================================================================================================*/

.button_next {
  display: inline-block;
  position: relative;
  padding: 10px 50px;
  margin: 10px auto;
  width: 90%;
  background:-webkit-gradient(radial, center center, 0, center center, 200, from(#FF3030), to(#D02020));
  box-shadow: 1px 1px 5px gray;
  border-radius: 10px;
  font-weight: bold;
  font-size: x-large;
  color: #FFFFFF;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
}

.button_next::before {
  position: absolute;
  content: '';
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-45deg);
  animation: button_next 4.0s cubic-bezier(0.55, 0.085, 0.68, 0.53) infinite;
}

@keyframes button_next {
  0% {
    left: -100%;
  }
  25% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.button_next:hover{
  color: #FFFF00;
}
