@charset "UTF-8";

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../assets/fonts/inter-900-latin.woff2") format("woff2");
}

.ew-footer.ew-footer--unified {
  position: relative;
  isolation: isolate;
  min-height: 0;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 96% 12%, rgba(29, 61, 99, 0.72) 0 210px, transparent 212px),
    radial-gradient(ellipse 620px 280px at 78% 94%, rgba(16, 50, 83, 0.52) 0 55%, transparent 56%),
    radial-gradient(ellipse 700px 220px at 20% 112%, rgba(0, 10, 24, 0.76) 0 52%, transparent 53%),
    linear-gradient(145deg, #061326 0%, #061a31 52%, #041226 100%);
}

.ew-footer.ew-footer--unified::before,
.ew-footer.ew-footer--unified::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.ew-footer.ew-footer--unified::before {
  right: -150px;
  bottom: -120px;
  width: 620px;
  height: 360px;
  border-radius: 55% 0 0 0 / 76% 0 0 0;
  background: linear-gradient(145deg, rgba(19, 55, 89, 0.48), rgba(7, 22, 42, 0.08) 72%);
}

.ew-footer.ew-footer--unified::after {
  left: -180px;
  bottom: -170px;
  width: 620px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0, 11, 26, 0.48);
}

.ew-footer--unified > .ew-footer__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
  align-items: center;
  gap: clamp(56px, 8vw, 128px);
  width: min(1180px, calc(100% - 80px));
  min-height: 0;
  margin-inline: auto;
  padding: clamp(58px, 6vw, 78px) 0 clamp(42px, 4vw, 56px);
}

.ew-footer--unified .ew-footer__brand {
  position: static;
  min-width: 0;
  padding: 0;
}

.ew-footer--unified .ew-wordmark {
  display: inline-block;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(27px, 2.3vw, 34px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.065em;
  white-space: nowrap;
}

.ew-footer--unified .ew-wordmark span {
  color: #ff4f0d;
  font-size: 1.56em;
  letter-spacing: -0.12em;
}

.ew-footer--unified .ew-footer__tagline {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0;
  white-space: normal;
}

.ew-footer--unified .ew-footer__company {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  grid-template-areas:
    "label mascot"
    "name mascot"
    "address mascot"
    "contact mascot";
  align-items: start;
  column-gap: 28px;
  row-gap: 0;
  min-width: 0;
  min-height: 0;
  padding: 0 0 0 clamp(34px, 4vw, 54px);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.ew-footer--unified .ew-footer__company::before,
.ew-footer--unified .ew-footer__company::after {
  content: none;
}

.ew-footer--unified .ew-footer__section-label {
  grid-area: label;
  margin: 0 0 14px;
  color: #ffb08d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.12em;
}

.ew-footer--unified .ew-footer__company .ew-footer__company-logo {
  grid-area: name;
  margin: 0 0 16px;
  color: #fff;
  font-family: Inter, "Meiryo", sans-serif;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
  line-height: 1.35;
  white-space: normal;
}

.ew-footer--unified .ew-footer__company .ew-footer__address {
  grid-area: address;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.02em;
  white-space: normal;
}

.ew-footer--unified .ew-footer__tablet-break {
  display: none;
}

.ew-footer--unified .ew-footer__contact {
  grid-area: contact;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(226px, 100%);
  min-height: 50px;
  margin: 22px 0 0;
  border-radius: 999px;
  color: #091426;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
}

.ew-footer--unified .ew-footer__mail-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.ew-footer--unified .ew-footer__character {
  position: static;
  grid-area: mascot;
  align-self: end;
  justify-self: end;
  display: block;
  width: 108px;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  transform: none;
}

.ew-footer--unified .ew-footer__copyright {
  position: relative;
  z-index: 2;
  inset: auto;
  display: block;
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
  padding: 22px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 1180px) {
  .ew-footer--unified .ew-footer__tablet-break {
    display: block;
  }
}

@media (max-width: 900px) {
  .ew-footer--unified > .ew-footer__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: clamp(34px, 5vw, 54px);
    width: min(100% - 48px, 820px);
    padding: 52px 0 40px;
  }

  .ew-footer--unified .ew-footer__company {
    grid-template-columns: minmax(0, 1fr) 94px;
    column-gap: 20px;
    padding-left: 28px;
  }

  .ew-footer--unified .ew-footer__character {
    width: 90px;
  }

  .ew-footer--unified .ew-footer__copyright {
    width: calc(100% - 48px);
  }
}

@media (max-width: 767px) {
  .ew-footer.ew-footer--unified {
    min-height: 0;
    height: auto;
    max-height: none;
    overflow: hidden;
  }

  .ew-footer--unified > .ew-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    width: calc(100% - 30px);
    min-height: 0;
    height: auto;
    margin-inline: auto;
    padding: 44px 0 34px;
  }

  .ew-footer--unified .ew-footer__brand {
    min-width: 0;
    padding: 0;
    text-align: center;
  }

  .ew-footer--unified .ew-wordmark {
    font-size: clamp(25px, 8.2vw, 32px);
  }

  .ew-footer--unified .ew-footer__tagline {
    margin-top: 22px;
    font-size: clamp(13px, 4vw, 15px);
    line-height: 1.8;
    text-align: center;
  }

  .ew-footer--unified .ew-footer__company {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "label"
      "name"
      "address"
      "contact"
      "mascot";
    justify-items: center;
    min-width: 0;
    min-height: 0;
    padding: 30px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
    text-align: center;
  }

  .ew-footer--unified .ew-footer__section-label {
    margin-bottom: 14px;
  }

  .ew-footer--unified .ew-footer__company .ew-footer__company-logo {
    margin-bottom: 14px;
    font-size: clamp(18px, 5.6vw, 22px);
    text-align: center;
  }

  .ew-footer--unified .ew-footer__company .ew-footer__address {
    font-size: clamp(13px, 4vw, 15px);
    line-height: 1.7;
    text-align: center;
  }

  .ew-footer--unified .ew-footer__contact {
    width: min(100%, 334px);
    min-height: 58px;
    margin-top: 24px;
    font-size: clamp(17px, 5.2vw, 21px);
  }

  .ew-footer--unified .ew-footer__character {
    justify-self: center;
    width: clamp(90px, 30vw, 120px);
    margin-top: 28px;
  }

  .ew-footer--unified .ew-footer__copyright {
    position: relative;
    inset: auto;
    width: calc(100% - 30px);
    margin: 0 auto;
    padding: 20px 0 23px;
    font-size: 11px;
  }
}

@media (max-width: 359px) {
  .ew-footer--unified .ew-wordmark {
    font-size: 24px;
  }

  .ew-footer--unified .ew-footer__contact {
    min-height: 54px;
    font-size: 17px;
  }
}
