/*
 * SUNAYAMA WordPress版 - フッターCSS（Bricks対応）
 * makeshop common.css のフッター関連ルールを抽出
 * footer#brx-footer が makeshop の #footer_guideWrap 外殻に相当
 */

/* ============================================================
   PC/SP 表示切り替えユーティリティ
============================================================ */
/* PC時: sp要素を非表示 */
#brx-footer li.sp,
#brx-footer div.sp {
  display: none;
}

/* ============================================================
   リセット（ヘッダーと同様）
============================================================ */
#brx-footer ul,
#brx-footer ol {
  list-style: none;
  padding-inline-start: 0;
}
#brx-footer li::marker {
  content: none;
}

/* ============================================================
   PC共通スタイル
============================================================ */

/* --- ショッピングガイドラッパー --- */
#footer_guideWrap {
  width: 100%;
  background-color: #f7f4f0;
}
#footer_guideWrap h2 {
  width: 100%;
  color: #8dbe17;
  font-size: 30px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 100px;
  padding-top: 70px;
  position: relative;
}
#footer_guideWrap h2 span {
  position: absolute;
  top: 110px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  color: #988d88;
  font-size: 12px;
  font-family: "Noto Sans JP", sans-serif;
}

/* --- ガイド本体 --- */
#footer_guide {
  max-width: 1200px;
  width: 100vw;
  margin: 0 auto;
  overflow: hidden;
}
#footer_guide h3 {
  width: 100%;
  color: #564d49;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  margin-bottom: 15px;
  border-bottom: 1px solid #c4a27a;
  padding-bottom: 8px;
}
#footer_guidebig {
  overflow: hidden;
  display: flex;
  justify-content: space-between;
}

/* --- ガイドカラム --- */
.footer_guide_small {
  width: 33%;
  box-sizing: border-box;
}
.footer_guide_small:first-child {
  margin-right: 55px;
}
ul.footer_guide_small:last-child {
  margin-left: 45px;
}
.footer_guide_small > li {
  margin-bottom: 20px;
}
.footer_guide_small p {
  clear: both;
  padding-bottom: 10px;
  color: #4d4d4d;
  font-size: 14px;
  line-height: 24px;
}
.footer_guide_small p.bn {
  text-align: center;
}

/* --- 決済方法 --- */
.footer_guide_small ul.payment {
  display: flex;
  justify-content: space-between;
}
.footer_guide_small li.payment_small {
  width: 49.5%;
  box-sizing: border-box;
  border: 1px solid #d8cab8;
  margin: 2px 0;
  padding: 10px 0;
  font-size: 14px;
  background: #fff;
}
.footer_guide_small .payment_big {
  clear: both;
  border: 1px solid #d8cab8;
  margin: 2px 0;
  box-sizing: border-box;
  padding: 10px 0;
  background: #fff;
}
ul.footer_guide_small .payment_big h4 {
  text-align: center;
}
ul.footer_guide_small .payment_big.card h4 {
  font-size: 16px;
  font-weight: 700;
}
ul.footer_guide_small ul.payment h4 {
  font-size: 15px;
  font-weight: bold;
  color: #222;
  text-align: center;
}

/* --- 詳しくはこちらボタン --- */
.f-button {
  margin-top: 5px;
  text-align: right;
  position: relative;
  padding-right: 10px;
}
.f-button::after {
  content: "";
  position: absolute;
  right: 0;
  top: 28%;
  transition: all 0.2s ease-in-out;
  display: block;
  width: 7px;
  height: 7px;
  border-top: solid 1px #4d4d4d;
  border-right: solid 1px #4d4d4d;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* --- 配送業者 --- */
.footer_guide_small .haisou_big.clear {
  clear: both;
  border: 1px solid #d8cab8;
  margin: 2px auto 10px;
  box-sizing: border-box;
  padding: 10px 0;
  background: #fff;
  width: 100%;
  text-align: center;
}
.haisou_big img {
  max-width: 85%;
  height: auto;
  margin: 0 5px;
}

/* --- 配送時間リスト --- */
.time-list {
  margin-top: -10px;
}
.time-list li {
  margin: 10px 0;
  font-size: 14px;
}
.time-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #c4a27a;
  display: inline-block;
  border-radius: 100%;
  position: relative;
  top: -3px;
  margin-right: 5px;
}

/* --- お問い合わせ欄 --- */
.footer_guide_small p.shopname {
  font-weight: bold;
  font-size: 16px;
  padding: 0 0 10px;
}
.footer_guide_small #shopaddres {
  font-size: 15px;
}
.footer_guide_small .mail {
  background: #7c6b65;
  width: 75%;
  height: 36px;
  text-align: center;
  line-height: 36px;
  border-radius: 5px;
  margin: 0 auto;
}
.footer_guide_small .mail p {
  text-align: center;
  color: #fff;
  font-size: 14px;
  position: relative;
  padding-bottom: 0;
  padding-left: 24px;
  line-height: 36px;
}
.footer_guide_small .mail p::before {
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  left: 2.5em;
  background-image: url(https://gigaplus.makeshop.jp/sunayamasoc/img/pc/mail.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 21px;
  height: 15px;
}

/* --- ユーティリティ --- */
.ta_c {
  text-align: center;
}
.pt10 {
  padding-top: 10px;
}
.pb0 {
  padding-bottom: 0;
}
.footer_guide_small .bold {
  font-weight: bold;
  color: #8dbe17;
}
.footer_guide_small .strong {
  font-size: 16px;
}

/* --- フッターナビエリア --- */
#footerWrap {
  width: 100%;
  margin-top: 20px;
  background: #fff;
}
#footer {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 15px 0;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}
#f_nav {
  overflow: hidden;
  display: flex;
}
#f_nav li {
  padding-left: 8px;
  padding-right: 8px;
  vertical-align: middle;
  line-height: 33px;
}
#f_nav li:nth-last-of-type(1) {
  margin-right: 0;
  margin-left: 0;
  border-right: none;
}
#f_nav li a:link,
#f_nav li a:visited,
#f_nav li a:active {
  text-decoration: none;
  color: #333;
}
#f_nav li a:hover {
  text-decoration: underline;
  color: #333;
}

/* --- SNSリンク --- */
ul.f-sns {
  display: flex;
  justify-content: space-between;
  width: 142px;
  margin: 0 0 0 auto;
}
ul.f-sns img {
  display: block;
  width: 33px;
  height: 33px;
  vertical-align: middle;
}

/* --- コピーライト --- */
#f_info {
  padding: 12.5px 0;
  color: #fff;
  background-color: #564d49;
  font-size: 12px;
  text-align: center;
}
#f_info address {
  font-style: normal;
}

/* ============================================================
   SP（768px以下）
============================================================ */
@media screen and (max-width: 768px) {
  /* SP時: pc要素を非表示、sp要素を表示 */
  #brx-footer li.pc {
    display: none !important;
  }
  #brx-footer li.sp,
  #brx-footer div.sp {
    display: revert;
  }

  #footer_guideWrap {
    padding-top: 0;
  }
  #footer_guideWrap h2 {
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 70px;
    padding-top: 45px;
  }
  #footer_guideWrap h2 span {
    top: 80px;
  }
  #footer_guidebig {
    display: block;
    overflow: hidden;
  }
  #footer_guide h3 {
    font-size: 16px;
    width: calc(100%);
  }
  .footer_guide_small {
    width: calc(100% - 30px);
    box-sizing: border-box;
    margin: 0 15px !important;
  }
  .footer_guide_small:first-child {
    margin-right: 0;
  }
  ul.footer_guide_small:last-child {
    margin: 0;
  }
  .footer_guide_small p {
    font-size: 13px;
  }
  .footer_guide_small p.shopname {
    font-size: 17px;
  }
  .footer_guide_small ul.payment {
    width: 100%;
  }
  .footer_guide_small .payment_big {
    width: 100%;
  }
  .footer_guide_small .haisou_big.clear {
    width: 100%;
  }
  .f-button p {
    text-align: right;
  }
  #footer {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }
  #f_nav {
    display: block;
    text-align: center;
    order: 2;
    width: calc(100% - 30px);
    margin: 0 auto;
    font-size: 10px;
  }
  #f_nav li {
    display: inline;
    line-height: 2;
    padding-left: 4px;
    padding-right: 4px;
  }
  #f_nav img {
    padding: 10px 4.5px 0;
  }
  #f_info {
    font-size: 8px;
    font-family: "Noto Sans JP", sans-serif;
  }
  ul.f-sns {
    order: 1;
    width: 122px;
    margin: 0 auto 20px;
  }
  ul.f-sns img {
    width: 28px;
    height: 28px;
  }
  ul.footer_guide_small:last-child {
    margin: 0 15px !important;
  }
}
