@charset "UTF-8";
/* ==========================================================================
   あかね工房 フッターパーツ（フッター＋オンラインショップ追従ボタン）
   - このファイル単体（＋Bootstrap 4.1.3）で表示が完結するよう、
     他パーツのCSSに依存しない構成にしています
   - モバイルファースト（min-width のみで上書き）
   - ブレイクポイントは Bootstrap 4.1.3 に準拠（md:768 / lg:992 / xl:1200）
   - 要素セレクタ・id セレクタは使用しない
   - 例外：CMSの制約で class を付与できない <a>（<p class="..."><a></a></p> 形式）
     のみ、「親pのclass + a」で色・下線・クリック範囲を指定
   ========================================================================== */

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.c-footer {
  position: relative;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  color: #000;
  -webkit-font-smoothing: antialiased;
  padding: 32px 0 120px;
  background-color: #fff;
}

/* Bootstrap の .container をデザイン幅（1280px）まで拡張 */
@media (min-width: 1200px) {
  .c-footer__container {
    max-width: 1310px;
  }
}

.c-footer__logo {
  display: block;
  width: 200px;
  height: auto;
  margin-bottom: 16px;
}

.c-footer__text {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 170%;
}

/* SNS（Instagram）アイコンのリンク：住所・営業時間の下 */
.c-footer__sns {
  display: inline-block;
  margin-top: 16px;
  transition: opacity 0.2s;
}

.c-footer__sns-icon {
  display: block;
  width: 28px;
  height: 28px;
}

.c-footer__nav {
  margin-top: 32px;
  row-gap: 16px;
}

.c-footer__copy {
  margin: 32px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 170%;
}

.c-footer__copy a {
  color: #000;
  text-decoration: underline;
}

.c-footer__copy a:hover {
  color: #d93300;
}

@media (min-width: 992px) {
  .c-footer {
    padding: 32px 0;
  }

  .c-footer__text {
    font-size: 16px;
  }

  .c-footer__nav {
    margin-top: 0;
  }

  .c-footer__sns:hover {
    opacity: 0.6;
  }

  .c-footer__copy {
    font-size: 14px;
    text-align: right;
  }
}

/* --------------------------------------------------------------------------
   フッターナビ 992〜1199px：列が狭く（4列×90px）リンクと矢印が隣の列に重なるため、
   CSS グリッドの3列（列幅は中身に合わせる）に切り替える。1200px 以上は元の Bootstrap の列に戻す
   - 改行用の空要素（.d-md-block）は1行ぶん全幅を占めさせて、3項目ごとの改行を維持
   - 行間は項目の下余白で取り（空の改行行に gap が付かないように）、最後の余白は打ち消す
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .c-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    column-gap: 32px;
    row-gap: 0;
    margin-right: 0;
    margin-bottom: -16px;
    margin-left: 0;
  }

  .c-footer__nav .col-md-3 {
    max-width: none;
    padding: 0 0 16px;
  }

  .c-footer__nav .d-md-block {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  .c-footer__nav {
    display: flex;
    column-gap: 0;
    row-gap: 16px;
    margin-right: -15px;
    margin-bottom: 0;
    margin-left: -15px;
  }

  .c-footer__nav .col-md-3 {
    max-width: 25%;
    padding: 0 15px;
  }

  .c-footer__nav .d-md-block {
    grid-column: auto;
  }
}

/* 矢印付きリンク */
.c-arrow-link {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 160%;
  white-space: nowrap;
}

/* 矢印もクリック範囲に含めるため a 側に付与 */
.c-arrow-link a {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  color: #000;
  text-decoration: none;
}

.c-arrow-link a::after {
  content: "";
  flex-shrink: 0;
  width: 7.4px;
  height: 12px;
  background: url("/system_panel/uploads/images/icon_arrow.svg") no-repeat center / contain;
}

.c-arrow-link a:hover {
  color: #d93300;
  text-decoration: none;
}

@media (min-width: 992px) {
  .c-arrow-link {
    font-size: 16px;
  }
}

/* --------------------------------------------------------------------------
   オンラインショップ追従ボタン
   -------------------------------------------------------------------------- */
.c-shop-btn {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  background-color: #be462b;
  font-family: "Noto Serif JP", serif;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  font-weight: 700;
  text-align: center;
}

.c-shop-btn:hover {
  color: #fff;
  text-decoration: none;
  background-color: #a83b23;
}

.c-shop-btn__en {
  margin: 0;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0.05em;
}

.c-shop-btn__ja {
  margin: 0;
  font-size: 12px;
  line-height: 140%;
}

@media (min-width: 768px) {
  .c-shop-btn {
    right: 19px;
    bottom: 36px;
    gap: 5px;
    width: 236px;
    padding: 22px 27px;
  }

  .c-shop-btn__en {
    font-size: 20px;
    line-height: 120%;
  }

  .c-shop-btn__ja {
    font-size: 14px;
    line-height: 171.4286%;
  }
}
