/* ===== Site footer — hand-coded HTML/CSS layout ============================ */

/* ── Contact CTA (sits directly above the footer) ──────────────────────── */
.contact-cta {
  width: 100%;
  background: #25426B;
  padding: 28px 28px;
}
.contact-cta__card {
  max-width: 1440px;
  margin: 0 auto;
  background: #fff;
  border-radius: 6px;
  padding: 64px 80px 64px 120px;
  display: flex;
  align-items: flex-start;
  gap: 56px;
}
.contact-cta__title {
  flex-shrink: 0;
  text-align: left;
  padding-top: 4px;
}
.contact-cta__en {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 80px;
  color: #25426B;
  line-height: 1;
  letter-spacing: .005em;
}
.contact-cta__ja {
  font-weight: 500;
  font-size: 16px;
  color: #4d4d4d;
  margin-top: 12px;
  letter-spacing: .04em;
}
.contact-cta__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-top: 12px;
}
.contact-cta__lede {
  margin: 0;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.6;
  color: #4d4d4d;
  letter-spacing: .02em;
}
/* CTAボタン — assets/contact-cta-btn.svg を直接配置(SVG内に文字・アイコン込み) */
.contact-cta__btn {
  display: block;
  width: 100%;
  max-width: 781px;          /* SVG の natural width */
  line-height: 0;            /* img と <a> の間の余白を除去 */
  border-radius: 30px;       /* hover の影を SVG 形状に合わせる */
  transition: transform .25s cubic-bezier(.2,.7,.2,1),
              box-shadow .3s ease,
              filter .25s ease;
}
.contact-cta__btn img {
  width: 100%;
  height: auto;
  display: block;
}
.contact-cta__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 14px 30px rgba(243, 203, 0, .4);
}

/* ── Tablet(721〜1100px): タイトルと本文を縦積みに ── */
@media (max-width: 1100px) {
  .contact-cta { padding: 24px 20px; }
  .contact-cta__card {
    padding: 48px 40px;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }
  .contact-cta__title { padding-top: 0; }
  .contact-cta__en    { font-size: 60px; }
  .contact-cta__ja    { font-size: 14px; margin-top: 8px; }
  .contact-cta__body  { padding-top: 0; gap: 24px; align-items: stretch; }
  .contact-cta__lede  { font-size: 18px; line-height: 1.65; }
  .contact-cta__btn   { max-width: 100%; border-radius: 22px; }
}

/* ── Mobile(<=720px): よりタイトに ── */
@media (max-width: 720px) {
  .contact-cta { padding: 16px 12px; }
  .contact-cta__card {
    padding: 28px 20px;
    border-radius: 6px;
    gap: 20px;
  }
  .contact-cta__en   { font-size: 40px; }
  .contact-cta__ja   { font-size: 12px; margin-top: 6px; }
  .contact-cta__body { gap: 18px; }
  .contact-cta__lede { font-size: 14px; line-height: 1.65; }
  .contact-cta__btn  { border-radius: 18px; }
}

.ftr {
  width: 100%;
  background: #25426B;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
}
.ftr__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 96px 48px;
}

/* ── Sitemap: 4 columns, top-aligned ───────────────────────────────────── */
.ftr__sitemap {
  display: flex;
  align-items: flex-start;        /* ← top-align all columns */
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 56px;
}
.ftr-col {
  flex: 1 1 0;
  min-width: 0;
}
.ftr-col__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;        /* ← top-align groups within a column */
  gap: 28px;                       /* spacing between section groups */
}
.ftr-col__toggle { display: none; }  /* mobile only */

.ftr-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;                       /* head ↔ list spacing */
  margin: 0;                       /* defensive — no inherited margins */
  padding: 0;
  width: 100%;
}

/* Section title */
.ftr-head {
  display: inline-block;
  position: relative;
  margin: 0;                       /* ← kill default heading margins */
  padding: 0 0 2px 0;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;                /* normalized line-height */
  letter-spacing: .04em;
  text-decoration: none;
  width: max-content;
  max-width: 100%;
  transition: color .2s ease;
}
.ftr-head::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 2px;
  background: #F3CB00;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.ftr-head:hover { color: #F3CB00; }
.ftr-head:hover::after { transform: scaleX(1); }

/* Bullet list */
.ftr-list {
  list-style: none;
  margin: 0;                       /* ← kill default <ul> margins */
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;                        /* bullet-to-bullet spacing */
  width: 100%;
}
.ftr-list li {
  margin: 0;
  padding: 0;
  line-height: 1;
}

.ftr-link {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 0 1px 0;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;                /* tight, normalized */
  text-decoration: none;
  opacity: .92;
  transition: color .2s ease, opacity .2s ease, transform .2s ease;
}
.ftr-link::after {
  content: "";
  position: absolute;
  left: 14px;                      /* skip the "・" */
  right: 0;
  bottom: -1px;
  height: 1px;
  background: #F3CB00;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.ftr-link:hover {
  color: #F3CB00;
  opacity: 1;
  transform: translateX(2px);
}
.ftr-link:hover::after { transform: scaleX(1); }
/* The leading "・" is rendered as part of the text (added inline below) */
.ftr-link::before {
  content: "・";
  color: rgba(255,255,255,.7);
  margin-right: 0;
  transition: color .2s ease;
}
.ftr-link:hover::before { color: #F3CB00; }

/* Col-4 special: heads alone, larger gap between heads */
.ftr-col:nth-child(4) .ftr-col__body { gap: 36px; }

/* ── Bottom row: brand (left), SNS (right) ──────────────────────────────── */
.ftr__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding-top: 16px;
}
.ftr-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
}
.ftr-brand__logo {
  display: inline-block;
  text-decoration: none;
  transition: opacity .2s ease;
}
.ftr-brand__logo:hover { opacity: .85; }
.ftr-brand__mark { display: block; height: 56px; width: auto; }
.ftr-brand__name {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.ftr-brand__name-img {
  display: block;
  height: 32px;
  width: auto;
}
.ftr-brand__addr {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
}
.ftr-brand__contact {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  font-family: "Outfit", "Noto Sans JP", sans-serif;
}
.ftr-brand__sep {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.3);
}

/* SNS icons — 4×2 grid */
.ftr-sns {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 44px);
  grid-auto-rows: 44px;
  column-gap: 24px;
  row-gap: 18px;
}
.ftr-sns li { margin: 0; padding: 0; }
.ftr-sns__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  opacity: .92;
  transition: transform .25s cubic-bezier(.2,.7,.2,1),
              filter .25s ease,
              opacity .25s ease;
}
.ftr-sns__link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.ftr-sns__link:hover {
  opacity: 1;
  transform: translateY(-3px) scale(1.08);
  filter: drop-shadow(0 6px 14px rgba(255,255,255,.4));
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .ftr__inner { padding: 32px 20px 28px; }
  .ftr__sitemap {
    display: block;
    padding-bottom: 24px;
  }
  .ftr-col {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
  .ftr-col__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 4px;
    background: transparent;
    border: none;
    color: #fff;
    font: 700 16px/1.4 "Noto Sans JP", sans-serif;
    text-align: left;
    cursor: pointer;
  }
  .ftr-col__chev {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    transition: transform .25s ease;
  }
  .ftr-col.is-open .ftr-col__chev { transform: rotate(-135deg); }
  .ftr-col__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0;
    gap: 20px;
  }
  .ftr-col.is-open .ftr-col__body {
    max-height: 1400px;
    padding: 4px 0 20px;
  }
  .ftr__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .ftr-sns {
    grid-template-columns: repeat(4, 40px);
    grid-auto-rows: 40px;
    column-gap: 18px;
    row-gap: 16px;
  }
  .ftr-sns__link { width: 40px; height: 40px; }
}

/* ============================================================
   モバイル用フラットフッターメニュー
   - PCでは非表示、モバイル(<=767px) でのみ表示
   - 既存の .ftr__sitemap (アコーディオン) はモバイルで非表示に
   ============================================================ */
.ftr-mob { display: none; }

@media (max-width: 767px) {
  .ftr__sitemap { display: none; }
  .ftr-mob {
    display: block;
    padding: 28px 20px 24px;
  }
  .ftr-mob__main {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .ftr-mob__main li {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }
  .ftr-mob__main li:last-child {
    border-bottom: none;
  }
  .ftr-mob__main a {
    display: block;
    padding: 14px 4px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    transition: opacity .2s ease;
  }
  .ftr-mob__main a:hover,
  .ftr-mob__main a:active {
    opacity: .7;
  }
  .ftr-mob__legal {
    list-style: none;
    margin: 24px 0 0;
    padding: 16px 4px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .ftr-mob__legal a {
    color: rgba(255, 255, 255, .65);
    font-size: 11.5px;
    letter-spacing: .04em;
    text-decoration: none;
    transition: color .2s ease;
  }
  .ftr-mob__legal a:hover,
  .ftr-mob__legal a:active {
    color: rgba(255, 255, 255, .95);
  }
}
