 .footer {
      background: #fff;
      color: #0f172a;
      padding: 44px 20px 36px;
      border-top: 1px solid #e2e8f0;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      line-height: 1.5;
    }
.footer-inner {
      width: 900px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 40px;
      text-align: left;
}
    .footer-top {
      display: grid;
      grid-template-columns: 1.1fr 1.2fr;
      gap: 128px;
      align-items: start;
    }
.footer-brand-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
}
.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 20px;
}
.footer-logo img {height: 22px;width: auto;display:block;filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25));}
.footer-tagline { margin: 0; color: #475569; font-weight: 700; letter-spacing: 0.01em; font-size: 13px; white-space: nowrap;　display: flex; margin-top: 4px; } 

    .line-banner {
      width: 100%;
      background: #e5e7eb;
      color: #00c300;
      padding: 14px 16px;
      border-radius: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
      border: 1px solid #e5e7eb;
      box-shadow: 0 12px 28px rgba(0,0,0,0.06);
        justify-content: space-between;
    }
    .line-banner__text { font-size: 12px; font-weight: 600; letter-spacing: 0.02em;　padding-top: 4px; display: flex; }
    .line-cta {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: #00c300;
      color: #fff;
      padding: 12px 14px;
      border-radius: 999px;
      text-decoration: none;
      font-weight: 800;
      width: fit-content;
      box-shadow: 0 8px 24px rgba(0,195,0,0.25);
      transition: transform .14s ease, box-shadow .14s ease, opacity .12s;
    }
    .line-cta img { height: 20px; width: 20px; display:block; }
    .line-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,195,0,0.33); opacity: .96; }
    a:focus-visible { outline: 3px solid rgba(14,165,164,0.28); outline-offset: 3px; }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 20px 36px;
    }
    .footer-title {
      font-size: 13px;
      font-weight: 800;
      color: #0f172a;
      margin-bottom: 10px;
      letter-spacing: 0.05em;
    }
    .footer-link {
      display: block;
      color: #0f172a;
      text-decoration: none;
      padding: 6px 0;
      transition: color .12s ease, transform .12s ease;
    }
    .footer-link:hover { color: #E32020; transform: translateX(2px); }
    .footer-link.subtle { color: #999; }

    .footer-legal-mini {
      display: flex;
      gap: 12px;
      font-weight: initial;
      flex-wrap: wrap;
      align-items: center;
      font-size: 12px;
      color: #999;
      border-top: 1px solid #e2e8f0;
      padding-top: 20px;
      justify-content: flex-start;
    }
    .footer-legal-links {
      display: grid;
      grid-auto-flow: column;
      gap: 12px;
      align-items: center;
    }
    .footer-legal-links .footer-link {
      padding: 0;
      font-size: 12px;
    }
.footer-brand { font-weight: 800; margin: 0 auto 18px; }
.footer-brand img { height: 12px; width: auto; }

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px 16px;
    justify-items: flex-start;
}

.footer-col { display: flex; flex-direction: column; text-align: left; }
.footer-title { font-size: 14px; font-weight: 800; letter-spacing: 0.04em; color: #777; }

.footer-link { font-size: 14px; color: #222; text-decoration: none; line-height: 1.8; display: inline-flex; align-items: center; gap: 8px; }
.footer-link:hover { text-decoration: none; color: #E32020; font-weight: 800; }
/* .footer-link.company { color: #0066cc; } */
.footer-link.company svg { stroke: currentColor; }
.external-icon { width: 12px; height: 12px; display: inline-block; }

.line-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #04b948, #06c755);
    color: #fff;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.line-cta img { width: 18px; height: 18px; display: block; }
.line-subtext { color:#666; font-size:12px; }

.footer-bottom { display: flex; flex-direction: column; gap: 10px; align-items: center; font-size: 13px; color: #666; }


@media (max-width: 640px) {
  .footer-logo img {
    height: 16px;
  }
    /* .footer-inner { width: 100%; padding: 0 12px; } */
      .footer-top { grid-template-columns: 1fr; gap: 40px;}
      .footer-brand-block { order: -1; gap: 20px; }
      .footer-inner { width: 100%; padding: 0 16px; gap: 20px; }
      .footer-legal-links { grid-auto-flow: row; justify-items: flex-start; gap: 8px; }
      .footer-grid { justify-items: flex-start; grid-template-columns: repeat(2, minmax(140px,1fr)); width: 100%; }
      /* .footer-logo-row { flex-direction: column; align-items: flex-start; gap: 8px; } */
      .footer-tagline { white-space: normal; font-size: 11px; padding-top: 4px; display: inline-flex; }
      .line-banner { flex-direction: column; align-items: flex-start; gap: 10px; }
      .line-banner__text { padding-top: 0; }
      .footer-legal-mini {
          display: grid;
          padding-top: 20px;
          grid-template-columns: repeat(2, minmax(140px, 1fr));
          gap: 6px 12px;
          justify-items: flex-start;
          text-align: left;
          display: flex;
          flex-direction: column;
          align-items: flex-start;
          gap: 20px;
      }
      .line-cta {
        width: 100%;
      }
}

@media (max-width: 640px) {
    .line-banner { flex-direction: row; align-items: center; gap: 12px; }
    .line-banner__text { margin: 0; }
    .line-cta {
        padding: 10px;
        width: 44px;
        height: 44px;
        justify-content: center;
        gap: 0;
    }
    .line-cta span { display: none; }
    .line-cta img { width: 22px; height: 22px; }
}
