/* =========================================================
   Site Footer: Ciel
   key: ciel-footer-access-sns-01
   name: Bistro Deux Ciel Footer
   layer: footer
   note:
   - 旧サイト全体の木目背景はそのまま活かす
   - Footer内のAccess / Store Informationは半透明パネルで表現
   - D-Bar由来の黒・赤・ゴールド演出は排除
   - 画像は追加しない
   - Common側の .l-footer__inner / .l-footer__info をSite側で上書き
========================================================= */

/* =========================================================
   Footer
========================================================= */

.l-footer {
  position: relative;
  min-height: 0;

  color: #1f1b18;
  background: transparent;
}

.l-footer,
.l-footer a {
  color: inherit;
}

/* =========================================================
   Override Common Footer Layout
========================================================= */

.l-footer__inner {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
  padding: 42px 0 44px;

  display: block;
  min-height: 0;
}

.l-footer__info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(72px, 8vw, 128px);
  align-items: stretch;
}

/* 旧指定の残骸対策。HTMLに存在しない場合も害なし */
.l-footer__body,
.l-footer__content {
  width: 100%;
  margin-inline: auto;
}

/* =========================================================
   Sections
========================================================= */

.l-footer__section {
  position: relative;

  width: 100%;
  min-width: 0;

  margin: 0;
  padding: 56px 24px 52px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.78),
      rgba(255, 255, 255, 0.58)
    );

  border: 1px solid rgba(20, 38, 120, 0.08);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.06);

  backdrop-filter: blur(1px);
}

.l-footer__section + .l-footer__section {
  margin-top: 0;
}

/* =========================================================
   Heading
========================================================= */

.l-footer__heading {
  margin: 0 0 28px;

  font-family: "Title", serif;
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  font-weight: 400;

  line-height: 1.25;
  letter-spacing: 0.12em;

  color: #111c8f;

  text-align: center;
  text-transform: none;

  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75),
    0 8px 18px rgba(17, 28, 143, 0.08);
}

.l-footer__heading::after {
  content: "";
  display: block;

  width: 42px;
  height: 1px;

  margin: 16px auto 0;

  background: rgba(17, 28, 143, 0.28);
}

/* =========================================================
   Text
========================================================= */

.l-footer__address,
.l-footer__station,
.l-footer__walk,
.l-footer__accessText,
.l-footer__tel,
.l-footer__dataRow dd {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.035em;

  color: #1f1b18;
}

.l-footer__dataRow dt {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.12em;

  color: #111c8f;
}

.l-footer__tel.footer_tel {
  color: #1f1b18;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 500;
}

.l-footer__telIcon {
  width: 1em;
  height: 1em;
  margin-right: 6px;

  color: #111c8f;
}

/* =========================================================
   Brand / Logo area
========================================================= */

.l-footer__brand {
  display: flex;
  justify-content: center;

  margin: 0;
  padding: 34px 20px 58px;

  text-align: center;
  background: transparent;
}

.l-footer__logo.footer_logo,
.l-footer__logo {
  display: block;
  width: min(280px, 70vw);
  max-width: 100%;
  height: auto;

  filter:
    drop-shadow(0 2px 2px rgba(0, 0, 0, 0.40))
    drop-shadow(0 8px 16px rgba(0, 0, 0, 0.20));
}

/* =========================================================
   Map Button
========================================================= */

.l-footer__mapBtnWrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.l-footer__mapBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 320px;
  min-height: 48px;

  padding: 0 22px;

  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.16em;

  color: #fff;

  border: 1px solid rgba(17, 28, 143, 0.52);
  border-radius: 0;

  background:
    linear-gradient(135deg, #1b2a9b 0%, #111c8f 52%, #07105f 100%);

  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.28) inset,
    0 8px 18px rgba(17, 28, 143, 0.18);

  text-decoration: none;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.l-footer__mapBtn:hover {
  opacity: 0.88;
  transform: translateY(-1px);

  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.28) inset,
    0 12px 24px rgba(17, 28, 143, 0.22);
}

.l-footer__mapBtn:active {
  transform: translateY(0);
}

/* =========================================================
   SNS
========================================================= */

.l-footer__socialWrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.l-footer__social.footer_social,
.l-footer__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px;

  margin: 0;
  padding: 0;

  background: transparent;
}

.l-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;

  color: #fff;

  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;

  background: rgba(17, 28, 143, 0.72);

  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.26) inset,
    0 8px 18px rgba(0, 0, 0, 0.22);

  text-decoration: none;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.l-footer__social a:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  background: rgba(17, 28, 143, 0.88);

  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.30) inset,
    0 12px 24px rgba(0, 0, 0, 0.26);
}

.l-footer__social .c-icon {
  width: 22px;
  height: 22px;
}

/* =========================================================
   Icon System
========================================================= */

.c-icon {
  display: inline-block;
  width: 1em;
  height: 1em;

  background-color: currentColor;
  vertical-align: middle;

  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.c-icon--phone {
  -webkit-mask-image: url("../../../common/assets/img/phone.svg");
  mask-image: url("../../../common/assets/img/phone.svg");
}

.c-icon--instagram {
  -webkit-mask-image: url("../../../common/assets/img/instagram.svg");
  mask-image: url("../../../common/assets/img/instagram.svg");
}

.c-icon--x {
  -webkit-mask-image: url("../../../common/assets/img/x.svg");
  mask-image: url("../../../common/assets/img/x.svg");
}

.c-icon--facebook {
  -webkit-mask-image: url("../../../common/assets/img/facebook.svg");
  mask-image: url("../../../common/assets/img/facebook.svg");
}

.c-icon--line {
  -webkit-mask-image: url("../../../common/assets/img/line.svg");
  mask-image: url("../../../common/assets/img/line.svg");
}

.c-icon--tiktok {
  -webkit-mask-image: url("../../../common/assets/img/tiktok.svg");
  mask-image: url("../../../common/assets/img/tiktok.svg");
}

.c-icon--youtube {
  -webkit-mask-image: url("../../../common/assets/img/youtube.svg");
  mask-image: url("../../../common/assets/img/youtube.svg");
}

/* =========================================================
   Footer Copy
========================================================= */

.l-footer-copy {
  background: rgba(35, 24, 18, 0.92);
  color: rgba(255, 255, 255, 0.72);
}

.l-footer-copy .copy {
  margin: 0;
  padding: 8px 10px 7px;

  text-align: right;

  font-size: 0.7rem;
  line-height: 1.7;
  letter-spacing: 0.02em;

  color: rgba(255, 255, 255, 0.58);
}

.l-footer-copy .copy a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.l-footer-copy .copy a:hover {
  text-decoration: underline;
}

.l-footer-copy .copy .pc_only {
  display: inline;
}

.l-footer-copy .copy .sp_only {
  display: none;
}

/* =========================================================
   SP
========================================================= */

@media (max-width: 767px) {
  .l-footer {
    min-height: 0;
    text-align: center;
  }

  .l-footer__inner {
    width: calc(100% - 16px);
    min-height: 0;
    padding: 34px 0 38px;

    display: block;
  }

  .l-footer__brand {
    margin: 0;
    padding: 28px 20px 46px;
  }

  .l-footer__logo.footer_logo,
  .l-footer__logo {
    width: 180px;
  }

  .l-footer__info {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .l-footer__section {
    padding: 28px 8px 30px;
  }

  .l-footer__section + .l-footer__section {
    border-top: 1px solid rgba(17, 28, 143, 0.10);
  }

  .l-footer__heading {
    margin-bottom: 22px;
    font-size: 1.7rem;
    letter-spacing: 0.10em;
  }

  .l-footer__address,
  .l-footer__station,
  .l-footer__walk,
  .l-footer__accessText,
  .l-footer__tel,
  .l-footer__dataRow dd {
    font-size: 0.88rem;
    line-height: 1.78;
  }

  .l-footer__dataRow {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .l-footer__dataRow dt {
    font-size: 0.76rem;
  }

  .l-footer__tel.footer_tel {
    justify-content: center;
    font-size: 1rem;
  }

  .l-footer__mapBtn {
    width: 100%;
    max-width: none;
    min-height: 50px;
  }

  .l-footer__socialWrap {
    margin-top: 30px;
  }

  .l-footer__social.footer_social,
  .l-footer__social {
    gap: 18px;
  }

  .l-footer__social a {
    width: 42px;
    height: 42px;
  }

  .l-footer__social .c-icon {
    width: 20px;
    height: 20px;
  }

  .l-footer-copy .copy {
    text-align: center;
    font-size: 10px;
    line-height: 2;
  }

  .l-footer-copy .copy .pc_only {
    display: none;
  }

  .l-footer-copy .copy .sp_only {
    display: block;
  }
}
