@charset "utf-8";

/* TOP画像3つ横並び用 */
.topgazou-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 30px auto;
  width: 100%;
}
.topgazou-item {
  flex: 1;
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  background: #fff;
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
  .topgazou-row {
    flex-direction: column;
    gap: 15px;
  }
  .topgazou-item {
    max-width: 100%;
  }
}

/* TOP画像の画質改善 */
.topgazou {
  max-width: 900px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
}
* {font-family: 'M PLUS Rounded 1c', sans-serif;
}
   body{ 
      margin: 0;
      background-color: #fef4f4; /* テーマカラーに合わせて変更可能 */
   }
@media screen and (min-width: 768px){
  .desktop-hidden {
   display: none;
  }
}
/*=============base==============*/

html, body {
  margin: 0;
  padding: 0;
}
body {
  font-family: YuGothic, "游ゴシック体", "Yu Gothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  letter-spacing: .025em;
  line-height: 1.8;
}
* {
  box-sizing: border-box;
}

/* =============== 追従ボタン（CTA） =============== */
.fixed_btn
{ right: 3px;
bottom: 3px;
  border-style: none;
  position: fixed;
  display: block;
  text-align: center;
  text-decoration: none;
  width: 220px;
  margin: auto;
  padding: 0.5rem 1rem;
  font-weight: bold;
  font-size:22px;
  border: 2px solid #fffcfa;
  background: #db6560; /* メインカラー */
  color: #fff;
  border-radius: 10px;
  transition: 0.5s;
  animation: move_a 2s infinite;
  z-index: 1;
}
@media screen and (min-width: 481px) {
  /* 481px以上に適用されるCSS（タブレット用） */
.fixed_btn
{
right: 3px;
bottom: 3px;
box-shadow: 0 3px 5px 0 rgba(0, 0, 0, .5);
}
}
@keyframes move_a {
    0% {transform: translate(0px, 4px);}
    5% {transform: translate(0px, -4px);}
    10% {transform: translate(0px, 4px);}
    15% {transform: translate(0px, -4px);}
    20% {transform: translate(0px, 4px);}
    25% {transform: translate(0px, -4px);}
    30% {transform: translate(0px, 0px);}
}

/* =============== サイト説明 =============== */
.section {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0px 20px 0px;
}
._a {
  max-width: 460px;
  width: 90%;
  margin: 0 auto;  
  margin-top: 80px;
}
.big {
  color: #db6560; /* メインカラー */
  font-size: 125%;
}
.under {
  border-bottom: dotted 2px #bd533a; /* アクセントカラー */
}

/* =============== コンテンツ背景 =============== */
#MAIN {
  border-radius: 20px;
  padding: 20px 0px 10px 0px;
  background-color: #ffffff;
  width: 98%;
  height: 100%;
  min-height: 100%;
  max-width: 900px;
  /* センタリング */
  margin: 0 auto;
  text-align: left;
  margin-top: 100px;
  margin-bottom: 50px;
  box-shadow: 0 1px 3px 0 #ccc;
}
#MOZI {
  width: 90%;
  max-width: 900px;
  /* センタリング */
  margin: 0 auto;
  text-align: left;
}

/* =============== 見出し =============== */
h1 {
  position: relative;
  display: inline-block;
  padding: 0 40px;
  font-size:22px;
  font-family: 'Hachi Maru Pop', cursive;
}

h1:before, h1:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 30px;
  height: 2px;
  border-top: solid 1px black;
  border-bottom: solid 1px black;
}

h1:before {
  left:0;
}
h1:after {
  right: 0;
}
.mi{
 max-width: 600px;
 margin: 0 auto;
 text-align: center;
}

/* =============== 商品説明 =============== */
.setumei{
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 60px;
}
.syousai{
  margin-top: 10px;
  text-align: left;
  margin-bottom: 80px;
}

/* =============== サイト先頭リンク =============== */
.siteTOP{
  margin-top: -30px;
  text-align: right;
  margin-bottom: 80px;
}
.cp_link2 {
  color:#da3c37; /* アクセントカラー */
  text-decoration: none;
}

/* =============== 商品画像 =============== */
.gazou {
  width: 100%;
  max-width: 700px;
}
.gazou2 {
  text-align: center;
  margin-top: 0px;
  margin-bottom: 10px;
  border: 1px solid #e3e8e6;
}
.gazou3 {
  text-align: center;
  margin-top: 0px;
  margin-bottom: 10px;
  border: 1px solid #e3e8e6;
}
.topgazou {
  width: 100%;
}

/* ========== 各商品ページに向かうリンクデザイン =========== */
a.btn_01 {
  display: block;
  text-align: center;
  text-decoration: none;
  width: 170px;
  margin: auto;
  padding: 0.5rem 0.5rem;
  font-weight: bold;
  border: 2px solid #008B5D;
  color: #008B5D;
}
a.btn_01:hover {
  color: #fff;
  background: #008B5D;
  animation: zoom .3s;
}

@media (max-width: 660px) {
    a.btn_01{
      width: 90%;
    }
}
@keyframes zoom {
  50% {
    transform: scale(1.05);
  }
}

/* ========ショップページにとぶリンク========= */
a.btn_19 {
  display: block;
  text-align: center;
  text-decoration: none;
  width: 220px;
  margin: auto;
  padding: 0.5rem 1rem;
  font-weight: bold;
  font-size:22px;
  background: #db6560; /* メインカラー */
  color: #fff;
  border-radius: 30px;
  margin-top:10px;
}
a.btn_19:hover {
  color: #fff;
  background: #da3c37; /* ホバー時のカラー */
}

/* =============== コピーライト =============== */
.cpt{
  color: #f2eeeb;
  text-align: center;
  font-size: 10px;
}

/* =============== レスポンシブ対応 =============== */
@media (max-width:600px){
  h1{
    font-size: 1.2rem;
  }
}

/* カスタマイズ用のカラー変数（参考）
メインカラー: #db6560
アクセントカラー: #da3c37
背景色: #fef4f4
白: #ffffff
グレー: #e3e8e6
*/

/* ハンディファンスライダー */
.handy-fan-slider {
  max-width: 900px;
  width: 100%;
  margin: 0 auto 30px auto;
  position: relative;
}

.slider-container {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  background: #fff;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 アスペクト比 */
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.slide-content:hover {
  transform: scale(1.02);
}

.slide-content:active {
  transform: scale(0.98);
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-label {
  position: absolute;
  bottom: 60px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.slide-action-hint {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(219, 101, 96, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

/* ナビゲーションボタン */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #333;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  margin: 0 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.1);
}

/* ドットナビゲーション */
.slider-dots {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

/* デスクトップ表示用の横並び */
@media screen and (min-width: 768px) {
  .handy-fan-slider {
    display: none;
  }
  
  .topgazou-desktop {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 30px auto;
    width: 100%;
  }
  
  .topgazou-desktop-item {
    flex: 1;
    max-width: 280px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
  }
  
  .topgazou-desktop-item:hover {
    transform: translateY(-5px);
  }
  
  .topgazou-desktop-item img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .topgazou-desktop-label {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
    background: #fff;
  }
}

/* スマホ表示用のスライダー */
@media screen and (max-width: 767px) {
  .topgazou-desktop {
    display: none;
  }
  
  .handy-fan-slider {
    display: block;
  }
  
  .slider-wrapper {
    padding-bottom: 75%; /* スマホでは4:3アスペクト比 */
  }
}
