@charset "UTF-8";

/* =========================================================
   KANAYAMA / STUDIO COMMON FOOTER
   File: 09-footer.css
   Design: B2
   Scope:
   - .iby-studio-footer が設置されたページだけに作用
   - Lightning Footer Widget 1対応
========================================================= */

/* =========================================================
   0. B2 color variables
========================================================= */

.iby-studio-footer.is-b2 {
  --iby-footer-bg: #5B3424;
  --iby-footer-text: rgba(255, 255, 255, 0.95);
  --iby-footer-subtext: rgba(255, 255, 255, 0.78);
  --iby-footer-link: rgba(255, 255, 255, 0.95);
  --iby-footer-accent: #F4B36A;
  --iby-footer-border: rgba(255, 255, 255, 0.18);
  --iby-footer-chip-bg: rgba(255, 255, 255, 0.07);
  --iby-footer-chip-border: rgba(255, 255, 255, 0.24);
  --iby-footer-cta-bg: #ffffff;
  --iby-footer-cta-text: #5B3424;
}

/* =========================================================
   1. Lightning footer wrapper reset
   新フッターが存在するページだけ旧フッター部品を整理
========================================================= */

body:has(.iby-studio-footer) .siteFooter,
body:has(.iby-studio-footer) footer.siteFooter,
body:has(.iby-studio-footer) .siteFooter .container,
body:has(.iby-studio-footer) .siteFooter .container-fluid,
body:has(.iby-studio-footer) .siteFooter .site-footer-content,
body:has(.iby-studio-footer) .siteFooter .site-footer-content .container,
body:has(.iby-studio-footer) .siteFooter .row,
body:has(.iby-studio-footer) .siteFooter .widget,
body:has(.iby-studio-footer) .siteFooter .widget_custom_html,
body:has(.iby-studio-footer) .siteFooter .textwidget {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body:has(.iby-studio-footer) .siteFooter {
  border: 0 !important;
  background: transparent !important;
}

/* Footer Widgetのカラム幅を解除 */
body:has(.iby-studio-footer) .siteFooter [class*="col-"] {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 新フッター以外の旧フッターウィジェットを非表示 */
body:has(.iby-studio-footer) .siteFooter .widget:not(:has(.iby-studio-footer)) {
  display: none !important;
}

/* Lightning標準コピーライトを非表示 */
body:has(.iby-studio-footer) .siteFooter-copyright,
body:has(.iby-studio-footer) .site-footer-copyright,
body:has(.iby-studio-footer) .footer-copyright,
body:has(.iby-studio-footer) .copySection,
body:has(.iby-studio-footer) .siteFooter .copySection,
body:has(.iby-studio-footer) .siteFooter .copySection p,
body:has(.iby-studio-footer) .siteFooter .copySection a {
  display: none !important;
}

/* =========================================================
   2. Footer body
========================================================= */

.iby-studio-footer,
.iby-studio-footer * {
  box-sizing: border-box !important;
}

.iby-studio-footer {
  position: relative !important;
  display: block !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 calc(50% - 50vw) !important;
  padding: 64px 32px 30px !important;
  overflow: hidden !important;
  background: var(--iby-footer-bg) !important;
  color: var(--iby-footer-text) !important;
  border: 0 !important;
}

.iby-footer-inner {
  display: grid !important;
  grid-template-columns:
    minmax(300px, 1.15fr)
    minmax(190px, 0.65fr)
    minmax(270px, 0.9fr) !important;
  gap: 42px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
}

.iby-footer-brand,
.iby-footer-nav,
.iby-footer-info {
  min-width: 0 !important;
}

/* =========================================================
   3. Brand / SNS
========================================================= */

.iby-footer-name {
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: var(--iby-footer-text) !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "YuGothic", "Meiryo", sans-serif !important;
  font-size: 1.28rem !important;
  font-weight: 800 !important;
  line-height: 1.55 !important;
  letter-spacing: 0.03em !important;
}

.iby-footer-name::before,
.iby-footer-name::after {
  content: none !important;
  display: none !important;
}

.iby-footer-lead {
  max-width: 460px !important;
  margin: 0 !important;
  color: var(--iby-footer-subtext) !important;
  font-size: 0.94rem !important;
  line-height: 1.95 !important;
}

.iby-footer-sns {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 26px 0 0 !important;
}

.iby-footer-sns a,
.iby-footer-sns a:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 86px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 15px !important;
  background: var(--iby-footer-chip-bg) !important;
  border: 1px solid var(--iby-footer-chip-border) !important;
  border-radius: 999px !important;
  color: var(--iby-footer-link) !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.iby-footer-sns a:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: var(--iby-footer-accent) !important;
  color: var(--iby-footer-accent) !important;
}

/* =========================================================
   4. Navigation
========================================================= */

.iby-footer-nav {
  display: grid !important;
  gap: 12px !important;
}

.iby-footer-nav a,
.iby-footer-nav a:visited {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--iby-footer-link) !important;
  background: none !important;
  border: 0 !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.iby-footer-nav a:hover {
  color: var(--iby-footer-accent) !important;
}

/* =========================================================
   5. Information / CTA
========================================================= */

.iby-footer-info {
  color: var(--iby-footer-subtext) !important;
  font-size: 0.92rem !important;
  line-height: 1.9 !important;
}

.iby-footer-address {
  margin: 0 0 18px !important;
  color: var(--iby-footer-subtext) !important;
  font-style: normal !important;
}

.iby-footer-address span {
  display: block !important;
  color: inherit !important;
}

.iby-footer-tel {
  margin: 20px 0 24px !important;
}

.iby-footer-tel > span {
  display: block !important;
  margin: 0 0 5px !important;
  color: var(--iby-footer-subtext) !important;
  font-size: 0.83rem !important;
  line-height: 1.7 !important;
}

.iby-footer-tel a,
.iby-footer-tel a:visited {
  display: inline-block !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: var(--iby-footer-link) !important;
  background: none !important;
  border: 0 !important;
  font-size: 1.08rem !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
}

.iby-footer-actions {
  display: grid !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 285px !important;
}

.iby-footer-btn,
.iby-footer-btn:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  background: var(--iby-footer-cta-bg) !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  color: var(--iby-footer-cta-text) !important;
  font-size: 0.9rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.iby-footer-btn:hover {
  color: var(--iby-footer-cta-text) !important;
  opacity: 0.9 !important;
}

.iby-footer-contact,
.iby-footer-contact:visited {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--iby-footer-link) !important;
  background: none !important;
  border: 0 !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  box-shadow: none !important;
}

.iby-footer-contact:hover {
  color: var(--iby-footer-accent) !important;
}

/* =========================================================
   6. Copyright
========================================================= */

.iby-footer-bottom {
  width: 100% !important;
  max-width: 1120px !important;
  margin: 42px auto 0 !important;
  padding: 22px 0 0 !important;
  border-top: 1px solid var(--iby-footer-border) !important;
}

.iby-footer-copy {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.67) !important;
  font-size: 0.76rem !important;
  line-height: 1.8 !important;
  text-align: center !important;
}

/* =========================================================
   7. Tablet
========================================================= */

@media screen and (max-width: 991px) {
  .iby-footer-inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 38px !important;
  }

  .iby-footer-info {
    grid-column: 1 / -1 !important;
  }

  .iby-footer-actions {
    max-width: 360px !important;
  }
}

/* =========================================================
   8. Smartphone
========================================================= */

@media screen and (max-width: 767px) {
  .iby-studio-footer {
    padding: 44px 24px 50px !important;
  }

  .iby-footer-inner {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  .iby-footer-name {
    margin-bottom: 18px !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    text-align: center !important;
  }

  .iby-footer-lead {
    max-width: 100% !important;
    font-size: 0.88rem !important;
    line-height: 1.9 !important;
    text-align: center !important;
  }

  .iby-footer-sns {
    justify-content: center !important;
    margin-top: 24px !important;
  }

  .iby-footer-sns a {
    min-width: 84px !important;
    padding: 0 11px !important;
    font-size: 0.76rem !important;
  }

  .iby-footer-nav {
    grid-template-columns: 1fr 1fr !important;
    gap: 13px 16px !important;
    justify-items: center !important;
  }

  .iby-footer-nav a {
    font-size: 0.86rem !important;
    line-height: 1.5 !important;
  }

  .iby-footer-info {
    grid-column: auto !important;
    font-size: 0.88rem !important;
    text-align: center !important;
  }

  .iby-footer-actions {
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .iby-footer-btn {
    width: 100% !important;
    min-height: 48px !important;
    padding: 0 18px !important;
    white-space: normal !important;
  }

  .iby-footer-contact {
    margin-top: 5px !important;
    text-align: center !important;
  }

  .iby-footer-bottom {
    margin-top: 40px !important;
    padding-top: 24px !important;
  }

  .iby-footer-copy {
    max-width: 280px !important;
    margin: 0 auto !important;
    font-size: 0.7rem !important;
    line-height: 1.9 !important;
  }
}
/* =========================================================
   KOBE / FOOTER FULL WIDTH FINAL
   Lightningのフッター外枠を画面幅いっぱいにする
========================================================= */

html body:has(.iby-studio-footer) {
  overflow-x: clip !important;
}

/* Lightningフッター外枠 */
html body:has(.iby-studio-footer) .siteFooter,
html body:has(.iby-studio-footer) footer.siteFooter {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-right: calc(50% - 50vw) !important;
  margin-left: calc(50% - 50vw) !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
}

/* Lightning内部コンテナの幅制限を解除 */
html body:has(.iby-studio-footer) .siteFooter > .container,
html body:has(.iby-studio-footer) .siteFooter > .container-fluid,
html body:has(.iby-studio-footer) .siteFooter .site-footer-content,
html body:has(.iby-studio-footer) .siteFooter .footerWidget,
html body:has(.iby-studio-footer) .siteFooter .widget-area,
html body:has(.iby-studio-footer) .siteFooter .row,
html body:has(.iby-studio-footer) .siteFooter .widget,
html body:has(.iby-studio-footer) .siteFooter .widget_custom_html,
html body:has(.iby-studio-footer) .siteFooter .textwidget {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* カスタムフッターは親幅に合わせる */
html body:has(.iby-studio-footer) .iby-studio-footer {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
/* =========================================================
   KOBE / MOBILE FOOTER FINAL
   全幅化・ナビ・住所情報の表示復帰
========================================================= */

@media screen and (max-width: 767px) {

  /* 親コンテナの幅に縛られず画面全幅へ */
  html body:has(.iby-studio-footer) .iby-studio-footer {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-right: calc(50% - 50vw) !important;
    margin-left: calc(50% - 50vw) !important;
    padding: 44px 22px 48px !important;
    overflow: hidden !important;
  }

  /* 3項目を縦一列で表示 */
  html body:has(.iby-studio-footer) .iby-footer-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 32px !important;
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  /* テーマ側の非表示指定を解除 */
  html body:has(.iby-studio-footer) .iby-footer-brand,
  html body:has(.iby-studio-footer) .iby-footer-nav,
  html body:has(.iby-studio-footer) .iby-footer-info {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  html body:has(.iby-studio-footer) .iby-footer-brand {
    display: block !important;
  }

  /* ナビを2列に戻す */
  html body:has(.iby-studio-footer) .iby-footer-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 13px 16px !important;
    justify-items: center !important;
  }

  html body:has(.iby-studio-footer) .iby-footer-nav a {
    display: block !important;
    width: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* 住所・電話・予約ボタン */
  html body:has(.iby-studio-footer) .iby-footer-info {
    display: block !important;
    grid-column: auto !important;
    text-align: center !important;
  }

  html body:has(.iby-studio-footer) .iby-footer-address,
  html body:has(.iby-studio-footer) .iby-footer-tel,
  html body:has(.iby-studio-footer) .iby-footer-actions {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  html body:has(.iby-studio-footer) .iby-footer-actions {
    display: grid !important;
    gap: 12px !important;
    margin: 0 auto !important;
  }

  html body:has(.iby-studio-footer) .iby-footer-btn {
    display: flex !important;
    width: 100% !important;
  }

  /* コピーライト */
  html body:has(.iby-studio-footer) .iby-footer-bottom {
    display: block !important;
    width: 100% !important;
    max-width: 560px !important;
    margin: 38px auto 0 !important;
  }
}
/* =========================================================
   KOBE / LIGHTNING FOOTER WIDTH FINAL
   Confirmed DOM: 2026-08-03

   #site-footer.site-footer
   .container.site-footer-content
   .row
   .col-lg-4.col-md-6
   .widget_custom_html
   .iby-studio-footer
========================================================= */

/* 横スクロール防止 */
html body:has(.iby-studio-footer) {
  overflow-x: clip !important;
}

/* Lightningの実際のフッター外枠 */
html body:has(.iby-studio-footer) #site-footer.site-footer {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
}

/* フッター内のcontainer制限を解除 */
html body:has(.iby-studio-footer)
#site-footer
.container.site-footer-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Bootstrapのrow余白を解除 */
html body:has(.iby-studio-footer)
#site-footer
.site-footer-content > .row {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 新フッターが入っている列を12カラム全幅へ */
html body:has(.iby-studio-footer)
#site-footer
.site-footer-content > .row > [class*="col-"]:has(.iby-studio-footer) {
  display: block !important;
  float: none !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 空の残り2列を非表示 */
html body:has(.iby-studio-footer)
#site-footer
.site-footer-content > .row > [class*="col-"]:not(:has(.iby-studio-footer)) {
  display: none !important;
}

/* ウィジェット外枠を解除 */
html body:has(.iby-studio-footer)
#site-footer
.widget,
html body:has(.iby-studio-footer)
#site-footer
.widget_custom_html,
html body:has(.iby-studio-footer)
#site-footer
.textwidget,
html body:has(.iby-studio-footer)
#site-footer
.custom-html-widget {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* カスタムフッター本体 */
html body:has(.iby-studio-footer)
#site-footer
.iby-studio-footer {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Lightning標準コピーライトを非表示 */
html body:has(.iby-studio-footer)
#site-footer
.site-footer-copyright {
  display: none !important;
}
/* =========================================================
   KOBE / LIGHTNING FOOTER DIRECT FIX
   確認済みDOMへ直接適用
========================================================= */

/* Lightningフッター全体 */
html body #site-footer.site-footer {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border-top: 0 !important;
  background: transparent !important;
}

/* container制限を解除 */
html body #site-footer .container.site-footer-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* row制限を解除 */
html body #site-footer .site-footer-content > .row {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/*
 * カスタムHTMLが入っている最初の列を全幅化
 * Bootstrapの col-lg-4 / col-md-6 を解除
 */
html body #site-footer .site-footer-content > .row > .col-lg-4:first-child,
html body #site-footer .site-footer-content > .row > .col-md-6:first-child {
  display: block !important;
  float: none !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 空の残り2列を非表示 */
html body #site-footer .site-footer-content > .row > .col-lg-4:nth-child(2),
html body #site-footer .site-footer-content > .row > .col-lg-4:nth-child(3) {
  display: none !important;
}

/* ウィジェットの外枠を解除 */
html body #site-footer .widget,
html body #site-footer .widget_text,
html body #site-footer .widget_custom_html,
html body #site-footer .textwidget,
html body #site-footer .custom-html-widget {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* B2フッター本体 */
html body #site-footer .iby-studio-footer {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 64px 32px 30px !important;
  overflow: hidden !important;
}

/* PCは3列表示 */
html body #site-footer .iby-footer-inner {
  display: grid !important;
  grid-template-columns:
    minmax(300px, 1.15fr)
    minmax(190px, 0.65fr)
    minmax(270px, 0.9fr) !important;
  gap: 42px !important;
  width: 100% !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
}

/* ナビと住所欄を確実に表示 */
html body #site-footer .iby-footer-brand,
html body #site-footer .iby-footer-nav,
html body #site-footer .iby-footer-info {
  display: block !important;
  min-width: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html body #site-footer .iby-footer-nav {
  display: grid !important;
}

/* Lightning標準コピーライトを非表示 */
html body #site-footer .container.site-footer-copyright {
  display: none !important;
}

/* スマホ */
@media screen and (max-width: 767px) {

  html body #site-footer .iby-studio-footer {
    width: 100% !important;
    padding: 44px 22px 48px !important;
  }

  html body #site-footer .iby-footer-inner {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
    max-width: 560px !important;
    text-align: center !important;
  }

  html body #site-footer .iby-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 13px 16px !important;
  }

  html body #site-footer .iby-footer-info {
    text-align: center !important;
  }
}
/* =========================================================
   KOBE / PLUGIN FOOTER FINAL
   プラグイン出力フッターだけを使用
========================================================= */

/* Lightning標準フッターを非表示 */
html body #site-footer.site-footer {
  display: none !important;
}

/* プラグインから出力したフッター */
html body > .iby-studio-footer.is-kobe {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}