@charset "UTF-8";

/* スライダー全体のスタイル */
.slider-container {
    width: 100%;
    max-width: 800px; /* 🔹 最大幅を800pxに設定 */
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

/* スライドのラッパー */
.slider-wrapper {
    display: flex;
    width: 100%; /* 🔹 コンテナ内でスライドを表示 */
    transition: transform 2s ease-in-out;
    animation: slide 15s infinite;
}

/* 各スライド */
.slider-wrapper div {
    flex: 0 0 100%;
    text-align: center;
}

/* 画像のスタイル */
.slider-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* スライドアニメーション（速度調整） */
@keyframes slide {
    0% { transform: translateX(0); }
    16.66% { transform: translateX(-100%); }
    33.32% { transform: translateX(-200%); }
    49.98% { transform: translateX(-300%); }
    66.64% { transform: translateX(-400%); }
    83.3% { transform: translateX(-500%); }
    100% { transform: translateX(0); }
}



/* 商品ページ下部 */

.kp-cart{
    max-width: 800px;
    margin:0 auto;
    margin-top:30px;
}

.h2s{
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 60px;
    text-align: left;
}

.kp-box{
    style="padding: 15px;
    border-bottom: 1px solid #ccc; 
    margin-bottom: -50px; 
    margin-top: -30px;
}

.h3s{
    font-size: 1.4rem; 
    margin-bottom: 3px; 
    border-bottom: dashed 1px #555;
}

.kp-price{
    font-size: 18px; 
        font-weight: bold; 
        margin-top: -10px;
}

.kpkp{
    margin-top: -40px;
}

.kp-price2{
    font-size: 18px; 
        font-weight: bold; 
        margin-top: -50px;
}

.kprem{
    font-size: 1.2rem; 
    font-weight: bold;"
}

.kprem2{
font-size: 1.8rem; 
font-weight: bold;
}

.kpp{
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 8px 0;
    font-size: 1rem;
    font-weight: normal;
    text-decoration: none;
    margin-top: 10px;
    background-color: black;
    color: white;
    margin-bottom: -40px;"
}

.kp-box2{
    padding: 15px; 
    border-bottom: 1px solid #ccc;"
}

.kp-price-wrap{
   margin-bottom: -60px;
}

.kp-price-down{
    display: inline-block; 
    background-color: #D10142; color: white; 
    padding: 2px 12px; 
    font-weight: bold; 
    border-radius: 5px; 
    margin-bottom: 5px; 
    width: 29%; 
    text-align: center;
}



/* .ah_s{
    display: block; 
    text-align: center; 
    width: 100%; 
    padding: 12px 0; 
    font-size: 16px; 
    font-weight: bold; 
    border-radius: 5px;
    text-decoration: none; 
    margin-top: 10px; 
    background-color: #ff9b92; color: white;
} */

.kpp2{
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 8px 0;
    font-size: 1rem;
    font-weight: normal;
    text-decoration: none;
    margin-top: 10px;
    background:#ff9b92;
    margin-bottom: -40px;
}

.wh_t{
    color: #fff;
    font-size: 0.9rem;
}

.kp-box3{
    padding: 15px; 
    font-size: 12px; 
    color: #666; 
    /* margin-top: 15px; */
    margin-bottom: -50px;
}

.kpb3{
    line-height: 1.5;
}

.ma_s{
    margin-bottom: 20px;
}


.ds_f{
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
}

.wid50{
    width: 50%;
}

.moa8{
width: 80%;
margin: 0 auto;
}


/* レビュー表示の上書き */
.md-contents{
    height: 90vh;
}


/* 画面下部の商品一覧 */
.related-products-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
  }
  
  .related-products-section h2 {
    font-size: 20px;
    margin-bottom: 30px;
  }
  
  /* 商品一覧グリッド（PC：4列／スマホ：1列） */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* PC：4列 */
    gap: 30px;
    max-width: 100%;
    padding: 0 40px;
    margin: 0 auto;
    align-items: stretch;
  }
  
  /* 商品カード */
  .product-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 220px;
    width: 100%;
    background: #fafafa;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #eee;
    margin: 0 auto;
    height: 100%;
  }
  
  /* 商品画像 */
  .product-item img {
    width: 100%;
    height: 200px; /* ← 高さを固定して大きくする（値は好みで調整OK） */
    object-fit: cover; /* ← はみ出さず、中央を拡大トリミング */
    margin-bottom: 10px;
    border-radius: 8px; /* ← 見た目を少し柔らかく */
  }
  
  
  /* 商品名と価格 */
  .product-name,
  .product-price {
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
    word-break: break-word;
  }
  
  /* ボタンを下寄せしたいときに包む */
  .product-button-wrapper {
    margin-top: auto;
    text-align: center;
  }
  
  /* ボタン */
  .product-button {
    display: inline-block;
    padding: 10px 20px;
    background: #8b735b;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
  }
  
  .product-button:hover {
    background: #6b5b45;
  }
  
  /* WordPressの自動挿入pタグ対策 */
  .related-products-section p {
    margin: 0;
  }
  
  /* ▼ スマートフォンでは1列表示 */
  @media (max-width: 768px) {
    .product-grid {
      grid-template-columns: 1fr;
      padding: 0 20px;
    }
  
    .product-item {
      max-width: 100%;
    }
  }
  

  /* アンカーリンク修正 */
:target::before {
    content:"";
    display:block;
    height:72px;       /* 移動する距離。 */
    margin:-72px 0 0;  /* heightのマイナス値と0　0。*/
}
  

.org_s{
    font-size: 1.2rem;
}

/* 全体ラッパー */
.custom-product-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    max-width: 1100px;
    width: calc(100% - 60px);
    margin: 0 auto;
  }
  
  .custom-product-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
  }
  
  /* グリッドレイアウト（PC：3列、SP：1列） */
  .custom-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PC：3列 */
    gap: 30px;
    width: 100%;
    align-items: stretch;
  }
  
  /* 商品カード */
  .custom-product-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 100%;
    background: #fafafa;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #eee;
    height: 100%;
  }
  
  .custom-product-section .custom-product-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 8px;
  }
  
  /* ボタン */
  .custom-product-button {
    display: inline-block;
    padding: 10px 20px;
    background: #8b735b;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    margin-top: auto;
  }
  
  .custom-product-button:hover {
    background: #6b5b45;
  }
  
  /* スマートフォン：1列 */
  @media (max-width: 768px) {
    .custom-product-grid {
      grid-template-columns: 1fr;
    }
  }
  

  /* インスタグラムのCSS */
  .instagram-gallery{
    max-width: 1100px;
    width: calc(100% - 60px);
    margin: 0 auto;
    margin-bottom:calc(100vw / 1920 * 50);
  }
  
  .instagram-gallery{
    margin-bottom:calc(100vw / 1920 * 25);
  }
  
.instagram-gallery .instagram-wrap{
    width:calc(100vw / 1920 * 700);
    margin:0 auto;
  }
  
  




