﻿@charset "UTF-8";

/* メインビジュアル */
#lp-container {
  width: 100%;
  margin: 0 auto;
}

.special-main {
  margin-bottom: 20px;
}

.mv {
  width: 100%;
  height: auto;
  text-align: center;
  margin: 20px auto;
}
.lead-sentence {
  margin:60px auto 20px;
  font-size: 1.2rem;
    color: #666;
  line-height: 1.8;
    text-align: center;
}
.decoration {
  width: 70%;
  height: auto;
  margin:0 auto 40px;
  text-align: center;
}
.coupon-box {
  width: 80%;
  margin: 10px auto 60px;
  padding: 20px 10%;
  border: 2px solid #333;
  box-sizing: border-box;
  border-radius: 8px;
  background-color: #f7f7f7;
  text-align: center;
}

.coupon-label {
  font-size: 1.3rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 5px;
}

.coupon-code {
  font-size: 2.0rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.coupon-sttl {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  font-weight: 500;
}

.coupon-detail {
  font-size: 1rem;
  color: #666;
  text-align: left;
}

.special-ttl {
  /*display: block !important;*/
  display: table !important;
  position: relative !important;
  padding: 0.5em 2em !important;               /* 上下・左右の余白 */
  border-top: solid 3px #6f3223 !important;    /* 上線 */
  border-bottom: solid 3px #6f3223 !important;   /* 下線 */
  color: #5F271A !important;
  font-weight: 700 !important;
  font-size: 2.0rem !important;                    /* 大きめフォント */
  text-align: center !important;
  margin: 0 auto 40px !important;
}

/* 左右の縦線（交差線） */
.special-ttl::before,
.special-ttl::after {
  content: '' !important;
  position: absolute !important;
  top: -10px !important;                         /* 上線の少し上 */
  width: 3px !important;                         /* 縦線の太さ */
  height: calc(100% + 20px) !important;           /* 見出し高さ + 上下余白 */
  background-color: #6f3223 !important;           /* 縦線の色 */
}

.special-ttl::before { 
  left: 10px !important;
}
.special-ttl::after {
  right: 10px !important;
}



.product-section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 16px;
  text-align: center;
  /*background-color: #f7f7f7;  背景色変更 */
  /*border-radius: 12px; */
}

.section-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC：3カラム */
  gap: 20px;
  row-gap: 40px;       /* 行間を広めに設定 */
  /*justify-items: center;  カード中央寄せ */
  justify-items: stretch; /* カラム幅を均等に */
  margin-bottom: 60px;
}

.special-list {
  width: 1040px !important;
  display: grid;
  grid-template-columns: 1fr 1fr;  /* 2カラム */
  gap: 20px;                        /* カード間の余白 */
}

.special-list__ttl {
  font-size: 100% !important;
  text-align: left !important;
}

.section3 {
  /*text-align: center; */
  /*width: 100%; */
  /*max-width: 320px;  任意でカード幅制限 */
  display: flex;
  flex-direction: column; /* 縦積み */
  justify-content: space-between; /* 上のコンテンツとCTAを上下に配置 */
  height: 100%; /* カード高さを揃える */
  background-color: #fff; /* 必要に応じて背景色 */
  padding: 12px;
  box-sizing: border-box;
}

.section3 img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}
    /* 新しいグリッドコンテナ（Flexboxで制御） */
.item-grid-4 {
  display: flex;
  flex-wrap: wrap;

  /* ▼▼▼ 修正: 要素が少ない場合に中央に寄せる設定 ▼▼▼ */
  justify-content: center;

  gap: 15px; /* アイテム間の余白 */
  width: 100%;
  box-sizing: border-box;
}

/* 商品個別のボックススタイル (section4) */
.section4 {
  /* PC: 4カラム計算 */
  /* gapの合計(15px * 3 = 45px)を引いて4等分に近い計算 */
  width: calc(25% - 12px); 
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  /* デザイン */
  /* border: 1px solid #ccc;  予備 */
  /* border: 1px solid var(--cate-theme-color, #ccc);*/
  padding: 10px;
  margin-bottom: 20px; /* 行の下の余白 */
}

.section4 img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.section4 .section-content {
  display: flex;
  flex-grow: 1;
  padding: 0;
  margin-bottom: 5px; /* 下余白を少し調整 */
  text-align: left;
}

.section4 h3 {
  font-size: 1rem;
  margin: 5px 0 10px;
  font-weight: bold;
  color: #333;
  color: var(--cate-theme-color, #333);
  text-align: left;
}

.section4 .section-desc {
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: left;
  color: #555;
  margin-bottom: 10px;
}

    /* ▼▼▼ 追加：価格表示用のスタイル（枠線なし・右寄せ） ▼▼▼ */
    .section4 .price-text {
        text-align: right;    /* 右寄せ */
        font-size: 0.8rem;      /* 文字サイズ */
        font-weight: bold;    /* 太字 */
        color: #444;          /* 文字色 */
        margin: 0 0 10px 0;   /* 余白調整 */
        /*font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;*/
    }

    /* ボタン */
    .section4 .cta-button {
        display: block;
        width: 100%;
        padding: 10px 0;
        text-align: center;
        background-color: #75787b;
        background-color: var(--cate-theme-color, #75787b);
        color: #fff;
        text-decoration: none;
        font-size: 0.9rem;
        border-radius: 4px;
        transition: opacity 0.3s;
        margin-top: auto; /* 下部に固定 */
    }
    .section4 .cta-button:hover {
        opacity: 0.8;
    }

.section-content {
  flex-grow: 1; /* 余白を埋めてCTAボタンを下に固定 */
  display: flex;
  flex-direction: column;
  text-align: left; /* 表を左寄せに */
  margin-bottom: 12px; /* 下の画像との余白 */
}

.section-content h3 {
  font-size: 1.2rem;
  margin: 8px 0;
  text-align: center; /* タイトル中央寄せ */
}

.section-desc {
  font-size: 0.9rem;
  color: #555;
  margin: 0 0 10px; /* h3との余白・表との余白 */
  text-align: center; /* 中央揃えにする場合 */
}

.section-banner img {
  width: 70%;
}

/* 表 */
.product-table {
  width: 100%;
  border-collapse: collapse; /* 直角の罫線用 */
  /*margin-top: 10px;*/
  font-size: 0.8rem;
  text-align: left;
}

/* PC時：2行4列 */
.product-table th,
.product-table td {
  padding: 10px 12px;
  border: 1px solid #C8CED0; /* 薄いグレーの罫線 */
  vertical-align: middle;
}

.product-table th {
  background-color: #E9EBEC;
  font-weight: 600;
  width: 40%;
  color: #333;
}

.product-table td {
  background-color: #fff;
  width: 60%;
  color: #444;
}

.product-table td span {
  color: #B62B2B;
  font-weight: 600;
}

.size-table tr:last-child th,
.size-table tr:last-child td {
  border-bottom: none;
}

/* ボタン */
.section3 .cta-button {
  display: block;
  width: 90%;
  margin: 12px auto 0;
  padding: 10px 0;
  background-color: #75787b;
  background-color: var(--cate-theme-color, #75787b);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}
.section3 .cta-button:hover {
  opacity: 0.8;
}

.section50 .cta-button {
  display: block;
  width: 15%;
  margin: 9px auto 0;
  padding: 20px 0;
  background-color: #75787b;
  background-color: var(--cate-theme-color, #75787b);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1.0rem;
  transition: background-color 0.3s;
  text-align: center;
}

/* 共通_大見出し */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top:20px;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
  padding-bottom: 8px !important;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #ccc;
  border-radius: 2px;
}

/* 共通_リード文 */
.section-lead {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 32px;
  letter-spacing: 1px;
}

#itemList_wrap {
  display: none;
}

.desc-section {
  /*background-color: #f7f7f7;*/
  padding: 60px 20px;
  text-align: center;
}

.desc-content .desc-cta-button {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 14px 32px;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.desc-content .desc-cta-button:hover {
  background-color: #555;
}
/* ナビ */
.anchor-nav {
  max-width: 1032px;
  margin: 0 auto 40px;
  background: #fff;
}

.anchor-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  /*border-left: 1px solid #ccc;  左端の縦線 */
    /*border-right: 1px solid #ccc;  右端の縦線 */
}
/* PC版：8カラム */
@media (min-width: 769px) {
  .anchor-nav ul {
    display: flex;
    justify-content: space-between;
    border-left: 1px solid #ccc;  /*左端の縦線 */
    border-right: 1px solid #ccc;  /*右端の縦線 */
  margin-bottom:10px;
  }

  .anchor-nav li {
    flex: 1;
    text-align: center;
    position: relative;
  }

   .anchor-nav li:not(:last-child) {
    border-right: 1px solid #ccc; /* 各項目の区切り線 */
  }

  .anchor-nav a {
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 15px;
    padding: 10px 0;
    position: relative;
    transition: color 0.2s;
  }

  /* 下線アニメーション */
  .anchor-nav a::after {
    content: "";
    position: absolute;
    left: 25%;
    right: 25%;
    bottom: 4px;
    height: 1px;
    background: #333;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s;
  }

  .anchor-nav a:hover::after {
    transform: scaleX(1);
  }

  .anchor-nav a:hover {
    color: #000;
  }
}

@media (max-width: 1024px) {
  .section-container {
    grid-template-columns: repeat(2, 1fr); /* タブレット：2カラム */
    row-gap: 30px; /* タブレット時は少し狭め */
  }
}
@media (min-width: 1040px) {
  #lp-container {
    width: 1040px;
    margin: 0 auto;
  }
}

/* スマホ対応 */
@media (max-width: 768px) {
  #lp-container {
    width: 100%;
  }
  .mv {
    margin-top: 0;
  }
  .lead-sentence {
    width:90%;
    font-size: 1rem;
    margin:30px 5% 20px;
  }
 .decoration {
    width: 80%;
  }
  .coupon-box {
    width: 90%;
    padding: 15px 2%;
    margin: 20px auto 40px;
  }
  .coupon-label {
    font-size: 1.2rem;
  }
  .coupon-sttl {
    font-size: 0.95rem;
  }
  .coupon-detail {
    font-size: 0.85rem;
  }

  .coupon-detail span {
    text-align: left;
  }
  .special-list {
    width: 100% !important;
  }
  .special-ttl {
      font-size: 1.6rem !important;              /* フォントサイズを少し小さく */
      padding: 0.4em 1.2em !important;              /* 余白も調整 */
      margin: 0 auto 20px !important;
  }
  .special-ttl::before,
  .special-ttl::after {
      top: -7px !important;
      width: 2px !important;
      height: calc(100% + 14px) !important;
      /*left: 6px !important;*/
      /*right: 6px !important;*/
  }

  .special-list__ttl {
    font-size: 0.9rem !important;
  }
  .special-list__cat {
    font-size: 0.6rem;
    top: 5px;
    left: 5px;
    height: 20px;
  }
  .section-container {
    grid-template-columns: 1fr; /* SP：1カラム */
    row-gap: 20px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-lead {
    font-size: 0.95rem;
    text-align: left;
  }

  .section-banner img {
    width: 100%;
  }

  .section-content {
    text-align: center;
  }
  .item-grid-4 {
    gap: 10px; /* スマホは隙間を少し狭く */
  }

  .section4 {
    /* SP: 2カラム計算 */
    /* gap(10px)を引いて2等分 */
    width: calc(50% - 5px);
    padding: 8px;
    margin-bottom: 10px;
  }

  .section4 h3 {
    font-size: 0.85rem;
  }

  .section4 .section-desc {
    font-size: 0.75rem;
  }

  .section4 .price-text {
    font-size: 0.8rem; /* スマホでは少し小さく */
  }

  .section4 .cta-button {
    padding: 8px 0;
  }
    .section50 .cta-button {
    width: 70%;
  }
  .product-table {
    font-size: 0.85rem;
  }
  .anchor-nav {
    max-width: 100%;
    margin: 10px auto;
    background: #fff;
  }

  .anchor-nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2カラム */
    gap: 0; /* grid-gap は使わず外側マージンで調整 */
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .anchor-nav li {
    position: relative;
    padding: 15px 10px; /* 内側余白 */
    background: #fff;
    box-sizing: border-box;
    margin-bottom:10px;
    border-left: 1px solid #ccc;  /*左の縦線 */
    /* bord-bottom: 1px solid #ccc; 下線 */
  }
  .anchor-nav li:nth-child(2n){
    border-right: 1px solid #ccc; /* 右端の縦線 */
  }

   /* リンク */
  .anchor-nav a {
    display: block;
    font-size: 13px;
    text-decoration: none;
    color: #333;
    /* padding-right: 20px; V記号用 */
    position: relative;
  }

  /* 右端に V 記号表示 
  .anchor-nav a::after {
    content: "▼";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #333;
  }*/

}

  
/* --------------------------------------------------
    ランキングアイコン表示用の追加スタイル
    -------------------------------------------------- */
    .item-image-box {
        position: relative;
        display: block;
        line-height: 0;
    }
    .section3 .item-image-box .rank-badge {
        position: absolute;
        top: 0;
        left: 0;
        width: 50px !important; 
        height: auto !important;
        margin: 0 !important;
        border-radius: 0 !important;
        z-index: 10;
    }
    @media screen and (max-width: 768px) {
        .section3 .item-image-box .rank-badge {
            width: 60px !important;
        }
    }

