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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
h1 {
  position: relative;
  padding: 0.3em 0.5em;
  background: -webkit-linear-gradient(to top, rgb(137, 184, 255), #c5ceff);
  background: linear-gradient(to top, rgb(137, 184, 255), #c5ceff);
  color: #495193;
}

h2 {
  font-size: 20px !important;/*文字のサイズ*/
  position: relative;
  color: #323232;
  background: rgba(123,134,198,.07);
  padding: .5em;
  margin: 2em 0 .3em 0;
  border: 1px solid #7B86C6;
}
h2:after {
  position: absolute;
  font-family: "Font Awesome 5 Free", sans-serif;
  content: '\f00c Check';
  background: #7B86C6;
  color: #FFF;
  left: -1px;
  bottom: 100%;
  border-radius: 5px 5px 0 0;
  padding: .3em 1.6em;
  font-size: .5em;
  font-weight: 600;
}

/*全てをまとめて非表示*/
.home.page .entry-title,
.page .sns-share,
.page .sns-follow,
.page .date-tags,
.page .author-info{
  display: none;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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

/*ブログカードのラベルの色*/
.blogcard-type .blogcard-label{
  background-color:#ff8c00;
}

/*ブログカードの枠線*/
.a-wrap .blogcard {
  border-color: #ddd;
}

/************************************
** トップページ改善
************************************/

/* ===ヒーローエリア（アピールセクション）=== */
.appeal {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.appeal-in {
  min-height: 600px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
}

.appeal-content {
  text-align: center;
  padding: 20px;
}

.appeal-content .appeal-button {
  display: inline-block;
  background: #ff38d7 !important;
  color: #fff !important;
  padding: 18px 48px !important;
  border-radius: 50px !important;
  font-size: 20px !important;
  font-weight: bold;
  letter-spacing: 0.1em;
  box-shadow: 0 6px 24px rgba(255,56,215,0.4);
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.appeal-content .appeal-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255,56,215,0.5);
}

/* ===ヘッダー=== */
#header-container {
  background: linear-gradient(135deg, #090070 0%, #250370 100%) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* ===カルーセル=== */
#carousel {
  background: #f8f9fa;
  padding: 10px 0;
  border-bottom: 2px solid #e0e0e0;
}

.carousel-entry-card-title {
  font-size: 12px !important;
  line-height: 1.4;
}

/* ===メインコンテンツエリア=== */
.entry-content > .wp-block-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  margin-bottom: 24px !important;
  transition: transform 0.3s ease;
}

.entry-content > .wp-block-image:hover {
  transform: translateY(-4px);
}

/* ===商品バナーセクション=== */
.entry-content .wp-block-image a {
  display: block;
}

/* ===人気記事・新着エリア=== */
.popular-entry-card-wrap,
.widget-entry-card-wrap {
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.popular-entry-card-wrap:hover,
.widget-entry-card-wrap:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* ===セクション見出し=== */
.fz-28px {
  font-size: 22px !important;
  border-left: 4px solid #090070;
  padding-left: 12px !important;
}

/* ===サイドバー=== */
.sidebar .widget-title {
  background: linear-gradient(135deg, #090070, #250370) !important;
  color: #fff !important;
  padding: 10px 16px !important;
  border-radius: 6px 6px 0 0;
}

/* ===フッター=== */
#footer {
  background: #0a0a0a !important;
  padding: 40px 0 20px;
}

/* ===全体のフォント・余白調整=== */
body.public-page {
  background-color: #f5f5f5 !important;
  color: #1a1a1a !important;
}

.entry-content {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* ===モバイル対応=== */
@media screen and (max-width: 834px) {
  .appeal-in {
    min-height: 400px !important;
  }
  
  .appeal-content .appeal-button {
    font-size: 16px !important;
    padding: 14px 32px !important;
  }
  
  .entry-content {
    padding: 16px;
  }
}