@charset "UTF-8";

/* =========================================================
   STUDIO COMMON FOOTER
   C2 common footer for Lightning
========================================================= */

.iby-studio-footer {
  --iby-footer-bg: #3f4b38;
  --iby-footer-text: rgba(255, 255, 255, 0.94);
  --iby-footer-subtext: rgba(255, 255, 255, 0.78);
  --iby-footer-link: rgba(255, 255, 255, 0.94);
  --iby-footer-accent: #d8c88b;
  --iby-footer-border: rgba(255, 255, 255, 0.17);
  --iby-footer-chip-bg: rgba(255, 255, 255, 0.08);
  --iby-footer-chip-border: rgba(255, 255, 255, 0.58);
  --iby-footer-cta-bg: #ffffff;
  --iby-footer-cta-text: #3f4b38;

  position: relative !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 calc(50% - 50vw) !important;
  padding: 56px 32px 30px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: var(--iby-footer-bg) !important;
  color: var(--iby-footer-text) !important;
  border: 0 !important;
  box-shadow: none !important;
}

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

.iby-footer-inner {
  display: grid !important;
  grid-template-columns: minmax(300px, 1.15fr) minmax(180px, 0.6fr) minmax(260px, 0.85fr) !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;
}

.iby-footer-name {
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: var(--iby-footer-text) !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.04em !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !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.95rem !important;
  font-weight: 500 !important;
  line-height: 2 !important;
  letter-spacing: 0.02em !important;
}

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

.iby-footer-sns a,
.iby-footer-sns a:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 96px !important;
  min-height: 38px !important;
  padding: 8px 15px !important;
  border: 1px solid var(--iby-footer-chip-border) !important;
  border-radius: 999px !important;
  background: var(--iby-footer-chip-bg) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.iby-footer-sns a:hover {
  border-color: #ffffff !important;
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

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

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

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

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

.iby-footer-address,
.iby-footer-address span {
  color: var(--iby-footer-subtext) !important;
  opacity: 1 !important;
}

.iby-footer-address {
  margin: 0 0 14px !important;
  font-style: normal !important;
}

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

.iby-footer-hours {
  margin: 0 0 18px !important;
  color: var(--iby-footer-subtext) !important;
  font-size: 0.88rem !important;
  line-height: 1.7 !important;
}

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

.iby-footer-tel span {
  display: block !important;
  margin-bottom: 4px !important;
  color: var(--iby-footer-subtext) !important;
  font-size: 0.85rem !important;
}

.iby-footer-tel a,
.iby-footer-tel a:visited {
  color: var(--iby-footer-link) !important;
  font-size: 1.08rem !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

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

.iby-footer-btn,
.iby-footer-btn:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 220px !important;
  min-height: 46px !important;
  padding: 0 22px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: var(--iby-footer-cta-bg) !important;
  color: var(--iby-footer-cta-text) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  text-align: center !important;
  text-decoration: none !important;
  opacity: 1 !important;
  visibility: visible !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: inline-block !important;
  margin-top: 2px !important;
  color: var(--iby-footer-link) !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}

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

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

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

/* Lightning widget wrapper reset */
body:has(.iby-studio-footer) .siteFooter {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
}

body:has(.iby-studio-footer) .widget:has(.iby-studio-footer),
body:has(.iby-studio-footer) .widget_custom_html:has(.iby-studio-footer),
body:has(.iby-studio-footer) .textwidget:has(.iby-studio-footer) {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Lightning default copyright is replaced by custom footer copyright */
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 {
  display: none !important;
}

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

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

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

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

  .iby-footer-brand,
  .iby-footer-nav,
  .iby-footer-info {
    width: 100% !important;
    max-width: 100% !important;
  }

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

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

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

  .iby-footer-sns a {
    min-width: 88px !important;
    min-height: 36px !important;
    padding: 7px 12px !important;
    font-size: 12px !important;
  }

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

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

  .iby-footer-info {
    margin-top: 2px !important;
    font-size: 0.9rem !important;
    line-height: 1.9 !important;
    text-align: center !important;
  }

  .iby-footer-actions {
    width: 100% !important;
    max-width: 100% !important;
    gap: 14px !important;
    margin-bottom: 18px !important;
  }

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

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

  .iby-footer-bottom {
    margin-top: 44px !important;
    padding-top: 26px !important;
  }

  .iby-footer-copy {
    max-width: 280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 0.72rem !important;
    line-height: 1.9 !important;
  }
}
/* =========================================================
   FOOTER / FULL WIDTH FIX
   親ウィジェット領域による右端の切れを解除
========================================================= */

body:has(.iby-studio-footer) .siteFooter,
body:has(.iby-studio-footer) .siteFooter .container,
body:has(.iby-studio-footer) .siteFooter .container-fluid,
body:has(.iby-studio-footer) .siteFooter .row,
body:has(.iby-studio-footer) .siteFooter .widget,
body:has(.iby-studio-footer) .siteFooter .widget-area,
body:has(.iby-studio-footer) .siteFooter [class*="widget-area"] {
  max-width: none !important;
  overflow: visible !important;
}

html body .iby-studio-footer {
  position: relative !important;
  left: 50% !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}
/* =========================================================
   FOOTER / LIGHTNING 3-COLUMN FIX
   フッターウィジェット1列目を全幅化し、空の2列を非表示
========================================================= */

body:has(.iby-studio-footer) .siteFooter .container.sectionBox {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:has(.iby-studio-footer) .siteFooter .container.sectionBox > .row {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

body:has(.iby-studio-footer)
.siteFooter
.container.sectionBox
> .row
> .col-md-4:has(.iby-studio-footer) {
  display: block !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:has(.iby-studio-footer)
.siteFooter
.container.sectionBox
> .row
> .col-md-4:not(:has(.iby-studio-footer)) {
  display: none !important;
}

html body .siteFooter .iby-studio-footer {
  left: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}
/* =========================================================
   GIFU C2 / LIGHTNING FOOTER FULL WIDTH
   フッターウィジェットのカラム制限を解除
========================================================= */

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

html body:has(.iby-studio-footer.is-c2) footer.siteFooter [class*="col-"],
html body:has(.iby-studio-footer.is-c2) footer.site-footer [class*="col-"] {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}

html body footer.iby-studio-footer.is-c2 {
  position: relative !important;
  left: auto !important;
  transform: none !important;

  width: 100vw !important;
  max-width: 100vw !important;

  margin: 0 calc(50% - 50vw) !important;
  box-sizing: border-box !important;
}
/* =========================================================
   GIFU C2 / FOOTER TOP SPACE FIX
   本文下余白とLightning標準フッター境界線を解除
========================================================= */

html body:has(.iby-studio-footer.is-c2) .site-body {
  padding-bottom: 0 !important;
}

html body:has(.iby-studio-footer.is-c2) .site-footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}
/* =========================================================
   GIFU C2 TOP / FOOTER TOP GAP FINAL
   最終CTAと共通フッター間の白い余白を削除
========================================================= */

html body:has(.iby-c2-final-cta) .siteContent,
html body:has(.iby-c2-final-cta) .site-content,
html body:has(.iby-c2-final-cta) .site-body,
html body:has(.iby-c2-final-cta) .site-body-container,
html body:has(.iby-c2-final-cta) .main-section,
html body:has(.iby-c2-final-cta) article.entry,
html body:has(.iby-c2-final-cta) .entry-body,
html body:has(.iby-c2-final-cta) .entry-content {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

html body:has(.iby-c2-final-cta)
.iby-page.iby-design-c2:has(.iby-c2-final-cta),
html body:has(.iby-c2-final-cta)
.iby-c2-final-cta {
  margin-bottom: 0 !important;
}

html body:has(.iby-c2-final-cta) .siteFooter,
html body:has(.iby-c2-final-cta) footer.siteFooter,
html body:has(.iby-c2-final-cta) .site-footer,
html body:has(.iby-c2-final-cta) footer.site-footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}
/* =========================================================
   GIFU C2 TOP / FINAL CTA WRAPPER GAP FIX
   最終CTAを囲むiby-pageの下余白を削除
========================================================= */

html body .iby-page.iby-design-c2:has(> .iby-c2-final-cta) {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

html body .iby-page.iby-design-c2:has(> .iby-c2-final-cta)
.iby-c2-final-cta {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

html body .iby-page.iby-design-c2:has(> .iby-c2-final-cta)
+ .wp-block-spacer {
  display: none !important;
}
/* =========================================================
   GIFU C2 TOP / FINAL CTA BOTTOM BACKGROUND
   ボタン下までCTA背景を伸ばす
========================================================= */

html body
.iby-page.iby-design-c2:has(> .iby-c2-final-cta)
.iby-c2-final-cta {
  margin-bottom: 0 !important;
  padding-bottom: 48px !important;
}

@media screen and (max-width: 767px) {
  html body
  .iby-page.iby-design-c2:has(> .iby-c2-final-cta)
  .iby-c2-final-cta {
    padding-bottom: 36px !important;
  }
}
/* =========================================================
   GIFU C2 TOP / LIGHTNING FOOTER TOP PADDING FIX
   site-footer-content上部の48px余白を削除
========================================================= */

html body:has(.iby-c2-final-cta)
footer.site-footer
.container.site-footer-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}