@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){
  /*必要ならばここにコードを書く*/
}

/* キラッと光るボタン（セール・クーポン誘導用） */
.btn-shiny {
  position: relative;
  display: block;
  width: 100%;
  max-width: 350px;
  margin: 1.5em auto;
  background: #FF8C00; /* ポップなオレンジ */
  color: #FFF !important;
  padding: 15px 30px;
  border-radius: 50px; /* 丸みのあるボタン */
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.btn-shiny:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  opacity: 0.9;
}

.btn-shiny::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}

/* クーポン・お得情報用の枠（破線デザイン） */
.coupon-box {
  position: relative;
  padding: 2em 1.5em 1.5em;
  margin: 2.5em 0;
  border: 3px dashed #FF8C00;
  background-color: #FFF8F0; /* ほんのりオレンジの背景 */
  border-radius: 8px;
}

.coupon-box::before {
  content: "🉐 お得なクーポン情報";
  position: absolute;
  top: -15px;
  left: 15px;
  background: #FF8C00;
  color: #fff;
  font-weight: bold;
  font-size: 0.9em;
  padding: 5px 15px;
  border-radius: 20px;
}