@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* =======================================
   3ボタン専用：ボタン全体を囲む枠
   ======================================= */
.shiny-btn-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 20px 0;
}

/* PC（600px以上）は横に3つ並べる */
.shiny-btn-grid div {
  flex: 1;
  max-width: 200px;
}

/* スマホ（600px未満）のレイアウト修正 */
@media (max-width: 600px) {
  .shiny-btn-grid div {
    max-width: none;
  }
  /* Amazon（shinybuttonao）を一番上で100%にする */
  .shiny-btn-grid .shinybuttonao {
    flex: 1 1 100%;
  }
  /* 楽天(shinybutton)とYahoo(shinybuttonmido)を下に2列で並べる */
  .shiny-btn-grid .shinybutton,
  .shiny-btn-grid .shinybuttonmido {
    flex: 1 1 calc(50% - 4px);
  }
}

/* =======================================
   ボタン共通設定（フラット・コンパクト）
   ======================================= */
.shinybutton a, .shinybuttonao a, .shinybuttonmido a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  font-weight: bold;
  border-radius: 6px;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.shinybutton a:hover, .shinybuttonao a:hover, .shinybuttonmido a:hover {
  opacity: 0.9;
  transform: translateY(1px);
  box-shadow: none;
}

/* =======================================
   ご指定の色設定
   ======================================= */
.shinybutton a     { background-color: #f88080; } /* 楽天(赤) */
.shinybuttonao a   { background-color: #fd8324; } /* Amazon(オレンジ) */
.shinybuttonmido a { background-color: #4f9df4; } /* Yahoo(青) */

/* =======================================
   光るアニメーション（SALEボタン専用に復活）
   ======================================= */
@keyframes shiny-frame {
  0% { left: -50%; }
  20% { left: 120%; }
  100% { left: 120%; }
}

/* =======================================
   Amazon SALEボタン（光る・オレンジ）
   ======================================= */
.shiny-sale-btn {
  display: block;
  margin: 20px auto; /* 中央寄せ */
  width: 100%;
  max-width: 350px; /* SALEボタンは少し大きめに */
}

.shiny-sale-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 100%;
  height: 50px; /* SALEボタンは高さを少し出す */
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* 影を少し強調 */
  border-radius: 8px; /* 角丸を少し大きく */
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 16px; /* 文字を少し大きく */
  transition: all 0.3s;
  background-color: #fd8324; /* Amazon(オレンジ) */
}

/* 光るエフェクト（SALEボタン専用） */
.shiny-sale-btn a:before {
  display: block;
  position: absolute;
  z-index: -1;
  left: -30%;
  top: -50%;
  content: "";
  width: 120px;
  height: 180px;
  transform: rotate(30deg);
  background-image: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
  animation: shiny-frame 2.5s infinite linear; /* 光る速度を少し速く */
}

/* ホバー時の動き */
.shiny-sale-btn a:hover {
  opacity: 0.9;
  transform: translateY(2px);
  box-shadow: 0 2px 3px rgba(0,0,0,0.15);
}

/* ▶ 矢印のデザイン */
.shiny-sale-btn .arrow {
  color: #ffffff; /* 白色のまま */
  margin-right: 8px; /* 文字との間隔 */
  font-size: 1.1em;
}