@charset "UTF-8";

/* ==========================================================================
   トップページ改修用独自スタイル (top-custom.css)
   ========================================================================== */

/* ==========================================================================
   トップページに関して (top-custom.css)
   ========================================================================== */

/* PC（769px以上）では送料無料帯を非表示にする */
@media screen and (min-width: 769px) {
  .souryou_muryou {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   今月のおすすめ：見出し下線カラーの修正
   -------------------------------------------------------------------------- */
.indexNewProduct h2.underline {
  border-bottom: solid 1px #a62126 !important;
}

/* --------------------------------------------------------------------------
   1. 大バナー 見出し（PC/スマホ レスポンシブ切り替え）
   -------------------------------------------------------------------------- */

/* スマホ表示時 (768px以下)：左寄せ、下線表示、アイコン付与 */
@media screen and (max-width: 768px) {
  .sasaraya-top-heading {
    text-align: left !important;
    border-bottom: solid 1px #a62126 !important;
    margin-bottom: 10px;
    padding-bottom: 4px;
    font-size: 16px;
  }
  .sasaraya-top-heading::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(https://gigaplus.makeshop.jp/sasaraya/img/ttl_logo.png) no-repeat center center;
    background-size: contain;
    vertical-align: -2px;
    margin-left: 5px;
    margin-right: 5px;
  }
}

/* PC表示時 (769px以上)：中央寄せ、アイコン非表示 */
@media screen and (min-width: 769px) {
  .sasaraya-top-heading {
    text-align: center;
  }
  .sasaraya-top-heading::before {
    display: none;
  }
}

/* PC専用共通スタイル */
@media screen and (min-width: 769px) {
  .sasaraya-pc-heading {
    margin-bottom: 18px !important;
    text-align: center !important;
    font-weight: normal !important;
    font-size: 26px !important;
    font-family: "Yu Mincho", "游明朝", YuMincho, "游明朝体", serif !important;
    border-bottom: 1px solid #a62126 !important;
    color: #333333 !important;
  }
  
  .sasaraya-index-inner {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
}

@media screen and (min-width: 769px) {
  /* PC用 左右二重線見出し */
  .sasaraya-pc-heading-midashi {
    position: relative !important;
    text-align: center !important;
    font-size: 22px !important;
    font-weight: normal !important;
    font-family: "Yu Mincho", "游明朝", serif !important;
    color: #333333 !important;
    margin-bottom: 25px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    border-bottom: none !important;
  }

  .sasaraya-pc-heading-midashi::before,
  .sasaraya-pc-heading-midashi::after {
    content: '' !important;
    display: block !important;
    width: 148px !important;
    height: 2px !important;
    border-top: solid 1px #BC272D !important;
    border-bottom: solid 1px #BC272D !important;
    position: static !important;
  }

  .sasaraya-pc-heading-midashi::before {
    left: calc(50% - 148px - 140px) !important;
  }

  .sasaraya-pc-heading-midashi::after {
    right: calc(50% - 148px - 140px) !important;
  }
}

/* --------------------------------------------------------------------------
   2. 小バナー群（商品一覧）レスポンシブグリッド & カード構造
   -------------------------------------------------------------------------- */

/* リスト全体の初期化 */
.sasaraya-top-item-list {
  display: flex !important;
  flex-wrap: wrap !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  width: 100% !important;
}

/* 1商品（カード）の枠組みと整列 */
.sasaraya-top-item-list li {
  box-sizing: border-box !important;
  margin-bottom: 24px !important;
  text-align: center !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

/* 画像ブロック */
.sasaraya-top-item-list .itemList_img {
  width: 100%;
  margin-bottom: 8px;
}

.sasaraya-top-item-list .itemList_img img {
  max-width: 132px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 0;
  transition: opacity 0.3s ease;
}

/* 画像ホバー演出 */
.sasaraya-top-item-list .itemList_img a:hover img {
  opacity: 0.8;
}

/* 商品名ブロック（中央寄せ14px/リンク等） */
.sasaraya-top-item-list .itemList_name {
  width: 100%;
  margin: 4px 0 !important;
  font-weight: bold;
  font-size: 14px !important;
  line-height: 1.4;
  text-align: center !important;
}

.sasaraya-top-item-list .itemList_name a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

.sasaraya-top-item-list .itemList_name a:hover {
  color: #818181;
  text-decoration: underline;
}

/* 補足説明文ブロック（中央寄せ） */
.sasaraya-top-item-list .itemList_txt {
  width: 100%;
  font-size: 11px;
  color: #666;
  margin: 4px 0 0 0 !important;
  line-height: 1.4;
  text-align: center !important;
}

/* --- PC表示時 (769px以上)：4列並び --- */
@media screen and (min-width: 769px) {
  .sasaraya-top-item-list li {
    width: 23.5% !important; /* (100% - (2% * 3)) / 4 = 23.5% */
    margin-right: 2% !important;
  }
  .sasaraya-top-item-list li:nth-child(4n) {
    margin-right: 0 !important;
  }
}

/* --- スマホ表示時 (768px以下)：3列並び --- */
@media screen and (max-width: 768px) {
  .sasaraya-top-item-list li {
    width: 31.3% !important;
    margin-right: 3% !important;
  }
  .sasaraya-top-item-list li:nth-child(3n) {
    margin-right: 0 !important;
  }
}
/* ==========================================
   カテゴリ選択ボタン（共通スタイル）
   ========================================== */

ul.purpose_daily_list,
ul.purpose_gift_list {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 15px 0 0 0 !important;
  gap: 10px !important;
}

ul.purpose_daily_list li,
ul.purpose_gift_list li {
  width: calc(50% - 5px) !important;
  margin: 0 !important;
  padding: 0 !important;
}

ul.purpose_gift_list li a,
ul.purpose_daily_list li a {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  height: 48px !important;
  font-family: "Yu Mincho", "游明朝", YuMincho, "游明朝体", serif;
  font-size: 13px !important;
  font-weight: bold !important;
  line-height: 1.25 !important;
  text-align: center !important;
  color: #ffffff !important;
  text-decoration: none !important;
  background-repeat: no-repeat !important;
  background-position: right 6px center !important;
  background-size: 7px !important;
  border-radius: 24px !important;
  padding: 0 16px 0 8px !important;
  box-sizing: border-box !important;
  transition: all 0.3s ease;
}

ul.purpose_daily_list li a {
  background-color: #a59a67;
  background-image: url(https://gigaplus.makeshop.jp/sasaraya/img/purpose/arrow_w.png);
}

ul.purpose_gift_list li a {
  background-color: #8b1a1f;
  background-image: url(https://gigaplus.makeshop.jp/sasaraya/img/purpose/arrow_w.png);
}

ul.purpose_daily_list li a:hover,
ul.purpose_daily_list li a:focus,
ul.purpose_gift_list li a:hover,
ul.purpose_gift_list li a:focus {
  text-decoration: none !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

ul.purpose_daily_list li a:hover,
ul.purpose_daily_list li a:focus {
  background-color: #b5a873;
}

ul.purpose_gift_list li a:hover,
ul.purpose_gift_list li a:focus {
  background-color: #9e2026;
}
/* --------------------------------------------------------------------------
    選ばれる理由 & 歴史セクション（和モダン・明朝体カード）
   -------------------------------------------------------------------------- */

.reasonSection {
  background-color: #f7f4ea !important;
  padding: 30px 15px !important;
}

.reasonSection h2.sasaraya-top-heading {
  text-align: left !important;
  color: #000000 !important;
  font-size: 16px !important;
  border-bottom: solid 2px #000000 !important;
  margin-bottom: 20px !important;
  padding-bottom: 4px !important;
}

.reasonSection h2.sasaraya-top-heading::before {
  display: none !important;
}

.sasaraya_reason_list {
  display: flex;
  flex-direction: column;
  gap: 35px;
  margin-top: 25px;
}

.reason_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.reason_card_img {
  width: 100%;
  max-width: 320px;
  height: 150px;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 15px;
  position: relative;
}

.reason_card_img img {
  width: 108% !important;
  max-width: none !important;
  height: auto;
  display: block;
  margin-top: -8px;
  margin-left: -4% !important;
}

.reason_card_ttl {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 18px !important;
  font-weight: 600;
  color: #2b2b2b;
  margin: 0 0 10px 0;
  line-height: 1.4;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}

.reason_card_txt {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 14px !important;
  color: #333333;
  line-height: 1.65;
  margin: 0;
  max-width: 100%;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}

.sasaraya_history_block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 25px;
}

.history_img {
  width: 100%;
  max-width: 320px;
  margin-bottom: 15px;
}

.history_img img {
  width: 100%;
  height: auto;
  display: block;
}

.history_txt {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 14px !important;
  color: #333333;
  line-height: 1.7;
  margin: 0;
  max-width: 100%;
  text-align: justify;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}

.reason_more_btn {
  text-align: center;
  margin-top: 30px;
}

.reason_more_btn a {
  display: inline-block;
  background-color: #000000;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  padding: 12px 35px;
  border-radius: 25px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.reason_more_btn a:hover {
  opacity: 0.8;
}

/* 「さらに詳しく」ボタン */
  .reason_box .reason_btn {
    text-align: center !important;
    margin-top: 25px !important;
  }

  /* PC */
@media screen and (min-width: 769px) {
.sasaraya-pc-reason-container {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    margin: 30px auto 35px !important;
    max-width: 980px !important;
  }
}
  .pc-reason-card {
    flex: 1 !important;
    max-width: 310px !important;
    position: relative !important;
    padding: 6px !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  .pc-reason-card.card-blue  { background-color: #70acc1 !important; }
  .pc-reason-card.card-red   { background-color: #dc9496 !important; }
  .pc-reason-card.card-green { background-color: #9fa36d !important; }

.pc-reason-card::before {
    content: '' !important;
    position: absolute !important;
    top: 6px !important;
    left: 6px !important;
    right: 6px !important;
    bottom: 6px !important;
    border: 1px solid #ffffff !important;
    pointer-events: none !important;
    z-index: 2 !important;
  }

  .pc-reason-img-wrap {
    width: 100% !important;
    height: 175px !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 1 !important;
  }

  .pc-reason-img-wrap img {
    width: 112% !important;
    max-width: none !important;
    height: auto !important;
    display: block !important;
    margin-top: -12px !important;
    margin-left: -6% !important;
  }

.pc-reason-content {
    padding: 15px 12px 20px 12px !important;
    color: #ffffff !important;
    position: relative !important;
    z-index: 1 !important;
  }

  .pc-reason-ttl {
    font-family: "Yu Mincho", "游明朝", YuMincho, "游明朝体", serif !important;
    font-size: 19px !important;
    font-weight: bold !important;
    line-height: 1.35 !important;
    color: #ffffff !important;
    margin: 0 0 10px 0 !important;
  }

  .pc-reason-txt {
    font-family: "Yu Mincho", "游明朝", YuMincho, "游明朝体", serif !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    color: #ffffff !important;
    margin: 0 !important;
  }

  .sasaraya_pc_history_block {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 30px !important;
    max-width: 860px !important;
    margin: 0 auto !important;
    padding: 20px 0 !important;
  }

  .sasaraya_pc_history_block .history_img {
    flex: 0 0 320px !important;
    text-align: center !important;
  }

  .sasaraya_pc_history_block .history_img img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .sasaraya_pc_history_block .history_content {
    flex: 1 !important;
  }

  .sasaraya_pc_history_block .history_txt {
    font-family: "Yu Mincho", "游明朝", YuMincho, "游明朝体", serif !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
    color: #333333 !important;
    margin: 0 !important;
    letter-spacing: 0.03em !important;
  }

/* --------------------------------------------------------------------------
   お知らせ & お客様の声セクション
   -------------------------------------------------------------------------- */

.sasaraya_news_list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.sasaraya_news_list .news_item {
  display: flex;
  align-items: flex-start;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: solid thin #ddcccc !important;
}

.sasaraya_news_list .news_date {
  font-size: 12px;
  font-weight: bold;
  color: #9f8c00 !important;
  white-space: nowrap;
  padding-right: 15px;
  font-family: sans-serif;
  line-height: 1.5;
}

.sasaraya_news_list .news_ttl {
  font-size: 13px;
  line-height: 1.5;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
  flex: 1;
}

.sasaraya_news_list .news_ttl a {
  color: #333333;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.sasaraya_news_list .news_ttl a:hover {
  color: #9f8c00;
}

.sasaraya_more_link {
  text-align: right;
  margin-top: 15px;
  margin-bottom: 0;
}

.sasaraya_more_link a {
  font-size: 12px;
  color: #9f8c00 !important;
  text-decoration: underline;
  font-weight: bold;
}

.sasaraya_more_link a:hover {
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   お客様の声（商品レビュー）スクロールエリア
   -------------------------------------------------------------------------- */

.sasaraya_review_wrapper {
  margin-top: 20px;
}

.reviewList {
  height: 470px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  padding: 15px 10px !important;
  border: 1px solid #d3d4d5 !important;
  border-radius: 6px;
  background-color: #ffffff;
}

.reviewList img {
  max-width: 100% !important;
  height: auto !important;
}

.reviewList > div, 
.reviewList > li {
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}

.reviewList a {
  text-decoration: none !important;
  color: inherit;
}

.reviewList a:hover {
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   公式SNS導線（PC・スマホ共通）
   -------------------------------------------------------------------------- */

.snsSection h2.ttl_gold {
  border-bottom: none !important;
  background-color: #7d7525 !important;
  color: #ffffff !important;
  padding: 8px 10px !important;
  font-size: 16px !important;
}

.snsSection h2.ttl_gold::before {
  display: none !important;
}


.sasaraya_sns_lead {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #333333;
  margin: 15px 0;
}

.sasaraya_sns_list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px !important;
  
}

.sasaraya_sns_list .sns_item {
  margin: 0;
  padding: 0;
}

.sasaraya_sns_list .sns_item a {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
}

.sasaraya_sns_list .sns_item img {
  display: block;
  width: 52px !important;
  height: 52px !important;
  object-fit: contain !important;
  border: none;
}

.sasaraya_sns_list .sns_item a:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

