/* =========================
   Footer
========================= */
.site-footer {
  position: relative;
  color: #f6f1eb;
  overflow: hidden;
  padding-bottom:20px;
}

.site-footer--dark {
  background: linear-gradient(180deg, #2c2624 0%, #211d1b 100%);
}

.site-footer--light {
  background: linear-gradient(180deg, #f6f1eb 0%, #ebe3da 100%);
  color: #2f2a28;
}

.site-footer--beige {
  background: linear-gradient(180deg, #d9c4ab 0%, #b99f82 100%);
  color: #2f2a28;
}

.site-footer--image {
  background:
    linear-gradient(rgba(34, 29, 27, 0.82), rgba(34, 29, 27, 0.9)),
    url("../img/footer-bg.jpg") center center / cover no-repeat;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.site-footer--dark::before,
.site-footer--image::before {
  background:
    radial-gradient(circle at top left, rgba(200, 174, 141, 0.10), transparent 32%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.05), transparent 24%);
}

.site-footer--light::before {
  background:
    radial-gradient(circle at top left, rgba(185, 159, 130, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.4), transparent 24%);
}

.site-footer--beige::before {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(80,58,40,0.08), transparent 24%);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0 24px;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

/* left */
.site-footer__left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.site-footer__logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-footer__logo {
  display: block;
  width: min(280px, 74%);
  height: auto;
  object-fit: contain;
}

.site-footer__site-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}

.site-footer__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer__company {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.82);
}

.site-footer__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.66);
}

.site-footer__cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer__cta-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 24px;
  text-decoration: none;
}

.site-footer__cta-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  opacity: 0.78;
  margin-bottom: 4px;
}

.site-footer__cta-text {
  display: block;
  font-size: 16px;
  letter-spacing: 0.08em;
}

/* right */
.site-footer__right {
  display: flex;
  flex-direction: column;
  gap: 34px;
  align-items: flex-start;
}
.site-footer__map {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.site-footer__map-image {
  display: block;
  width: 100%;
  max-width: 580px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,0.18));
}

.site-footer__map-text {
  max-width: 580px;
  font-size: 13px;
  line-height: 2;
  color: rgba(255,255,255,0.72);
}

.site-footer__nav-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.site-footer__nav-group {
  min-width: 0;
}

.site-footer__nav-title {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #d7c2a8;
}

.site-footer__nav-title--sub {
  color: rgba(255,255,255,0.68);
}

.site-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.site-footer__menu li {
  margin: 0;
  padding: 0;
}

.site-footer__menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-footer__menu a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(200, 174, 141, 0.88);
  flex: 0 0 7px;
  box-shadow: 0 0 0 6px rgba(200,174,141,0.08);
}

.site-footer__menu a:hover {
  transform: translateX(4px);
  opacity: 0.88;
}

/*sub*/
.site-footer__menu--sub {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  gap: 10px 18px;
  width: fit-content;
}

.site-footer__menu--sub li {
  margin: 0;
}

.site-footer__menu--sub a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.74);
  text-decoration: none;
}

.site-footer__menu--sub a::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.34);
  box-shadow: none;
}


/* bottom */
.site-footer__bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding-top: 22px;
}

.site-footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer__bottom-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.84);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-footer__bottom-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.site-footer__link-mark {
  font-size: 12px;
  opacity: 0.7;
}

.site-footer__copyright {
  margin: 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.56);
}

.site-footer__to-top-text {
  font-size: 11px;
  letter-spacing: 0.16em;
}

.site-footer__to-top-svg-wrap,
.site-footer__to-top-svg-wrap svg {
  display: block;
  width: 36px;
  height: 36px;
}

.site-footer__to-top-svg svg {
  overflow: visible;
}

/* hover時に軽くバウンド */
.site-footer__to-top:hover .site-footer__to-top-svg-wrap {
  animation: footerTopBounce 0.7s ease;
}

@keyframes footerTopBounce {
  0%   { transform: translateY(0) scale(1); }
  30%  { transform: translateY(-6px) scale(1.04); }
  55%  { transform: translateY(0) scale(0.98); }
  75%  { transform: translateY(-2px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}

/* ときどき炎っぽくゆらぐ */
.site-footer__to-top.is-burning .site-footer__to-top-svg-wrap {
  animation: footerFlameFlicker 1.2s ease-in-out 1;
}

@keyframes footerFlameFlicker {
  0%   { transform: rotate(0deg) scale(1); filter: brightness(1); }
  20%  { transform: rotate(-2deg) scale(1.03); filter: brightness(1.08); }
  40%  { transform: rotate(2deg) scale(0.98); filter: brightness(0.96); }
  60%  { transform: rotate(-1deg) scale(1.05); filter: brightness(1.12); }
  80%  { transform: rotate(1deg) scale(0.99); filter: brightness(1.02); }
  100% { transform: rotate(0deg) scale(1); filter: brightness(1); }
}

/* responsive */
@media (max-width: 1024px) {
  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .site-footer__right {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-footer__nav-wrap {
    grid-template-columns: 1fr 1fr;
  }
}


.site-footer--light .site-footer__phone a,
.site-footer--light .site-footer__site-title,
.site-footer--light .site-footer__menu a,
.site-footer--light .site-footer__to-top,
.site-footer--light .site-footer__bottom-link {
  color: #2f2a28;
}

.site-footer--light .site-footer__company,
.site-footer--light .site-footer__map-text,
.site-footer--light .site-footer__note,
.site-footer--light .site-footer__menu--sub a,
.site-footer--light .site-footer__copyright {
  color: rgba(47, 42, 40, 0.72);
}

.site-footer--light .site-footer__bottom {
  border-color: rgba(47, 42, 40, 0.12);
}

.site-footer--beige .site-footer__phone a,
.site-footer--beige .site-footer__site-title,
.site-footer--beige .site-footer__menu a,
.site-footer--beige .site-footer__to-top,
.site-footer--beige .site-footer__bottom-link {
  color: #2f2a28;
}

.site-footer--beige .site-footer__company,
.site-footer--beige .site-footer__map-text,
.site-footer--beige .site-footer__note,
.site-footer--beige .site-footer__menu--sub a,
.site-footer--beige .site-footer__copyright {
  color: rgba(47, 42, 40, 0.76);
}
/* =========================
   Footer phone
========================= */
.site-footer__phone a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.site-footer__phone-icon,
.site-footer__phone-icon svg {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  margin-top: -15px;
}

.site-footer__phone-icon {
  transform: translateY(1px);
}

.site-footer__phone-icon svg * {
  fill: currentColor !important;
}

.site-footer__phone-text {
  display: block;
  line-height: 1.2;
}

/* =========================
   Footer meta links
========================= */
.site-footer__meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 6px;
}

.site-footer__meta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.84);
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-footer__meta-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* =========================
   Footer SNS
========================= */
.site-footer__sns {
  margin-top: 8px;
}

.site-footer__sns .drawer-sns__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__sns .drawer-sns__list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* =========================
   Footer nav
========================= */
.site-footer__nav-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.site-footer__menu--main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 28px;
}
@media (min-width: 768px) {
  .site-footer__menu--main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .site-footer__menu--main > li:nth-child(1) { grid-column: 1; grid-row: 1; }
  .site-footer__menu--main > li:nth-child(2) { grid-column: 1; grid-row: 2; }
  .site-footer__menu--main > li:nth-child(3) { grid-column: 1; grid-row: 3; }
  .site-footer__menu--main > li:nth-child(4) { grid-column: 1; grid-row: 4; }
  .site-footer__menu--main > li:nth-child(5) { grid-column: 1; grid-row: 5; }

  .site-footer__menu--main > li:nth-child(6) { grid-column: 2; grid-row: 1; }
  .site-footer__menu--main > li:nth-child(7) { grid-column: 2; grid-row: 2; }
  .site-footer__menu--main > li:nth-child(8) { grid-column: 2; grid-row: 3; }
  .site-footer__menu--main > li:nth-child(9) { grid-column: 2; grid-row: 4; }
  .site-footer__menu--main > li:nth-child(10) { grid-column: 2; grid-row: 5; }
}

/* 5個以下なら1列のまま */
.site-footer__menu--main li:only-child,
.site-footer__menu--main li:nth-last-child(-n+5):first-child,
.site-footer__menu--main li:nth-last-child(-n+5):first-child ~ li {
  grid-column: 1 !important;
}

/* =========================
   Footer bottom
========================= */
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
}

/* =========================
   To top SVG
========================= */

.site-footer__to-top {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
 margin-top: -160px;
  margin-left: -14px;
}
.site-footer__to-top:hover {
  transform: translateY(-4px);
}

.site-footer__to-top-svg-wrap {
    position: relative;
    display: block;
    width: 92px;
    height: auto;
    top: -18px;
    left: -8px;
}
.site-footer__to-top-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.site-footer__to-top-svg,
.site-footer__to-top-svg svg {
  display: block;
  width: 200px;
  height: 200px;
  flex: 0 0 200px;
}

.site-footer__to-top-svg svg * {
  fill: currentColor !important;
  stroke: none !important;
}

.site-footer__to-top-text {
  font-size: 11px;
  letter-spacing: 0.16em;
}
.site-footer--light .site-footer__meta-link,
.site-footer--light .site-footer__bottom-link,
.site-footer--light .site-footer__link-mark {
  color: rgba(47, 42, 40, 0.88);
}

.site-footer--beige .site-footer__meta-link,
.site-footer--beige .site-footer__bottom-link,
.site-footer--beige .site-footer__link-mark {
  color: rgba(47, 42, 40, 0.9);
}
.site-footer--light .site-footer__meta-link:hover,
.site-footer--beige .site-footer__meta-link:hover {
  color: #2f2a28;
}

.site-footer__banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.site-footer__banner {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0,0,0,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-footer__banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 28px rgba(0,0,0,0.14);
}

.site-footer__banner-image {
  display: block;
  width: 100%;
  height: 110px; /* ← バナー高さ固定 */
  object-fit: cover; /* ← 指定サイズに自動トリミング */
}



/* 炎っぽいゆらぎ */
.site-footer__to-top-svg .cls-13 {
  transform-origin: center bottom;
  animation: fgvFlameMove 1.2s ease-in-out infinite alternate;
}

/* ロゴ文字や本体を少しだけ浮遊 */
.site-footer__to-top-svg .cls-23 {
  transform-origin: center center;
  animation: fgvFlameBody 2.4s ease-in-out infinite;
}

@keyframes fgvFlameMove {
  0% {
    transform: translateY(0) scaleY(1) scaleX(1) rotate(-1.2deg);
    filter: drop-shadow(0 0 0 rgba(255, 140, 0, 0));
  }
  25% {
    transform: translateY(-1px) scaleY(1.04) scaleX(0.98) rotate(1deg);
    filter: drop-shadow(0 0 4px rgba(255, 140, 0, 0.18));
  }
  50% {
    transform: translateY(-2px) scaleY(1.08) scaleX(0.96) rotate(-0.8deg);
    filter: drop-shadow(0 0 8px rgba(255, 110, 0, 0.24));
  }
  75% {
    transform: translateY(-1px) scaleY(1.03) scaleX(1.02) rotate(0.8deg);
    filter: drop-shadow(0 0 5px rgba(255, 180, 0, 0.18));
  }
  100% {
    transform: translateY(-3px) scaleY(1.1) scaleX(0.95) rotate(1.6deg);
    filter: drop-shadow(0 0 10px rgba(255, 120, 0, 0.28));
  }
}

@keyframes fgvFlameBody {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-1px);
    opacity: 0.96;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .site-footer__inner {
    width: min(100% - 28px, 720px);
    padding: 64px 0 20px;
  }

  .site-footer__main {
    gap: 44px;
    padding-bottom: 40px;
  }

  .site-footer__phone a {
    font-size: 24px;
  }

  .site-footer__right {
    gap: 28px;
  }

  .site-footer__map-image,
  .site-footer__map-text {
    max-width: 100%;
  }

  .site-footer__nav-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
    position: relative;
    padding-right: 20px;
  }

  .site-footer__copyright {
    text-align: left;
  }

   .site-footer__to-top {
    position: relative;
    width: 88px;
    height: 88px;
    margin-top: -20px;
    margin-left: 0;
    right: 0;
    overflow: visible;
  }

  .site-footer__to-top-svg-wrap {
    position: relative;
    display: block;
    width: 54px;
    top: -8px;
    left: -6px;
  }
    .site-footer__logo {
    width: min(180px, 58%);
  }
  .site-footer__to-top-svg, .site-footer__to-top-svg svg {
    width: 130px;
    height:130px;
    flex: 0 0 130px;
}
  .site-footer__banners {
    grid-template-columns: 1fr;
  }

  .site-footer__banner-image {
    height: 120px;
  }

  .site-footer__menu--sub {
    grid-auto-flow: row;
    grid-template-rows: none;
    gap: 10px;
    width: 100%;
  }

}
.grecaptcha-badge {
  visibility: hidden !important;
}