@charset "UTF-8";

.ew-footer {
  color: var(--ew-footer-ink);
  background: var(--ew-footer);
}

.ew-footer__inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(360px, 1.4fr) auto;
  align-items: center;
  gap: 34px;
  width: min(var(--ew-header-width), calc(100% - var(--ew-gutter-pc) * 2));
  min-height: 106px;
  margin-inline: auto;
  padding-block: 24px;
}

.ew-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}

.ew-footer__nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.ew-footer small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.ew-footer--full {
  position: relative;
  overflow: hidden;
  min-height: 462px;
  color: #fff;
  border-radius: 0;
  background:
    radial-gradient(circle at 99% 2%, rgba(27, 55, 91, 0.68) 0 244px, rgba(27, 55, 91, 0) 246px),
    radial-gradient(ellipse 540px 320px at 80% 62%, rgba(19, 54, 86, 0.52) 0 54%, rgba(19, 54, 86, 0) 55%),
    radial-gradient(ellipse 760px 270px at 34% 102%, rgba(0, 12, 27, 0.72) 0 52%, rgba(0, 12, 27, 0) 53%),
    linear-gradient(145deg, #061326 0%, #061a31 49%, #041226 100%);
}

.ew-footer--full::before {
  position: absolute;
  right: -175px;
  bottom: 23px;
  width: 820px;
  height: 355px;
  content: "";
  border-radius: 62% 0 0 0 / 78% 0 0 0;
  background: linear-gradient(145deg, rgba(17, 51, 82, 0.58), rgba(7, 22, 42, 0.08) 74%);
}

.ew-footer--full::after {
  position: absolute;
  inset: auto 0 0 0;
  bottom: 67px;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.12);
}

.ew-footer--full > .ew-footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px 682px 332px;
  align-items: start;
  gap: 30px;
  width: min(var(--ew-content-width), calc(100% - 46px));
  min-height: 394px;
  margin-inline: auto;
  padding: 73px 0 0;
}

.ew-footer__brand {
  position: relative;
  display: block;
  padding-right: 31px;
}

.ew-footer--full .ew-wordmark {
  display: inline-block;
  color: #fff;
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.075em;
}

.ew-footer--full .ew-wordmark span {
  color: #ff4f0d;
  font-size: 46px;
  letter-spacing: -0.12em;
}

.ew-footer__brand p {
  margin: 29px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14.6px;
  font-weight: 400;
  line-height: 2.05;
  letter-spacing: 0;
  white-space: nowrap;
}

.ew-footer__social {
  display: none;
  gap: 20px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.ew-footer__sns {
  position: relative;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 10px;
  color: #fff;
  font-size: 0;
  font-weight: 900;
}

.ew-footer__sns img {
  display: block;
  width: max(20px, 100%);
  height: max(20px, 100%);
  object-fit: contain;
}

.ew-footer__sns--x {
  padding: 11px;
  background: #050505;
}

.ew-footer__sns--x img {
  width: max(20px, 100%);
  height: max(20px, 100%);
}

.ew-footer__columns {
  display: grid;
  grid-template-columns: 120px 190px 250px;
  gap: 34px;
}

.ew-footer__column--tablet-only {
  display: none;
}

.ew-footer__tablet-break {
  display: none;
}

.ew-footer__column {
  grid-column: 3;
  min-height: 289px;
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.ew-footer__column h2,
.ew-footer__company h2 {
  margin: 0 0 25px;
  color: #fff;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.25;
}

.ew-footer__company-logo {
  white-space: nowrap;
}

.ew-footer__column a {
  display: block;
  width: fit-content;
  margin-top: 19px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.ew-footer__column a:first-of-type {
  margin-top: 0;
}

.ew-footer__column span {
  font-size: 11.5px;
}

.ew-footer__company {
  position: relative;
  min-height: 255px;
  padding-left: 34px;
  padding-right: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.ew-footer__company::before,
.ew-footer__company::after {
  position: absolute;
  content: "";
  background: #ffbd35;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.ew-footer__company::before {
  right: -110px;
  top: 106px;
  width: 34px;
  height: 34px;
}

.ew-footer__company::after {
  right: -132px;
  top: 136px;
  width: 12px;
  height: 12px;
}

.ew-footer__company p {
  margin: 0 0 13px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ew-footer__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 202px;
  min-height: 50px;
  margin-top: 17px;
  border-radius: 999px;
  color: #091426;
  background: #fff;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.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__copyright {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 25px;
  z-index: 2;
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.ew-footer__character {
  position: absolute;
  right: 22px;
  bottom: -4px;
  z-index: 3;
  width: 86px;
  height: 126px;
  border: 4px solid #111;
  border-radius: 48% 48% 35% 35%;
  background: #fff;
}

.ew-footer__character::before,
.ew-footer__character::after {
  position: absolute;
  content: "";
  background: #ffba27;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.ew-footer__character::before {
  left: -58px;
  top: 55px;
  width: 28px;
  height: 28px;
}

.ew-footer__character::after {
  left: -21px;
  top: 30px;
  width: 14px;
  height: 14px;
}

.ew-footer__ear {
  position: absolute;
  top: -24px;
  width: 28px;
  height: 39px;
  border: 4px solid #111;
  border-bottom: 0;
  background: #fff;
}

.ew-footer__ear::after {
  position: absolute;
  top: 10px;
  content: "";
  width: 14px;
  height: 20px;
  background: #ff4f0d;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.ew-footer__ear--left {
  left: 12px;
  border-radius: 90% 12% 0 0;
  transform: rotate(-17deg);
}

.ew-footer__ear--left::after {
  left: 7px;
}

.ew-footer__ear--right {
  right: 12px;
  border-radius: 12% 90% 0 0;
  transform: rotate(17deg);
}

.ew-footer__ear--right::after {
  right: 7px;
}

.ew-footer__eye {
  position: absolute;
  top: 38px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #111;
}

.ew-footer__eye--left {
  left: 30px;
}

.ew-footer__eye--right {
  right: 30px;
}

.ew-footer__nose {
  position: absolute;
  left: 50%;
  top: 54px;
  width: 9px;
  height: 7px;
  border-radius: 60% 60% 70% 70%;
  background: #111;
  transform: translateX(-50%);
}

.ew-footer__mouth {
  position: absolute;
  left: 50%;
  top: 65px;
  width: 13px;
  height: 8px;
  border: 2px solid #111;
  border-top: 0;
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

.ew-footer__scarf {
  position: absolute;
  left: 22px;
  top: 75px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 31px;
  color: #fff;
  background: #111;
  clip-path: polygon(0 0, 100% 0, 74% 100%, 26% 100%);
  font-size: 8px;
  font-weight: 900;
}

.ew-footer__tail {
  position: absolute;
  right: -17px;
  bottom: 20px;
  z-index: -1;
  width: 31px;
  height: 41px;
  border: 4px solid #111;
  border-left: 0;
  border-radius: 0 70% 70% 0;
  background: #fff;
  transform: rotate(18deg);
}

.ew-footer__tail::after {
  position: absolute;
  right: 2px;
  bottom: 5px;
  content: "";
  width: 19px;
  height: 25px;
  background: #ff4f0d;
  clip-path: polygon(0 100%, 100% 20%, 72% 55%, 100% 70%, 62% 80%, 75% 100%);
}

.ew-footer__arm {
  position: absolute;
  left: -28px;
  top: 77px;
  width: 43px;
  height: 18px;
  border: 4px solid #111;
  border-right: 0;
  border-radius: 24px 0 0 24px;
  background: #fff;
  transform: rotate(44deg);
}

.ew-footer__leg {
  position: absolute;
  bottom: -6px;
  width: 19px;
  height: 24px;
  border: 4px solid #111;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: #fff;
}

.ew-footer__leg--left {
  left: 24px;
}

.ew-footer__leg--right {
  right: 24px;
}

@media (max-width: 1180px) {
  .ew-footer--full .ew-footer__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 48px 0 88px;
  }

  .ew-footer__brand,
  .ew-footer__company,
  .ew-footer__column {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
    border-right: 0;
  }

  .ew-footer__columns {
    grid-template-columns: 1fr;
  }

  .ew-footer__column {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .ew-footer__inner,
  .ew-footer--full .ew-footer__inner {
    width: calc(100% - 36px);
    padding-top: 40px;
  }

  .ew-footer__columns {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ew-footer__sns {
    width: 40px;
    height: 40px;
  }

  .ew-footer__sns img {
    width: 40px;
    height: 40px;
  }

  .ew-footer__sns--x {
    padding: 9px;
  }

  .ew-footer__character {
    display: none;
  }

  .ew-footer__copyright {
    font-size: 12px;
  }
}

.ew-footer__character {
  display: block;
  position: absolute;
  left: 222px;
  top: 132px;
  width: 118px;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.ew-footer__character::before,
.ew-footer__character::after {
  display: none;
}

@media (max-width: 767px) {
  .ew-footer__character {
    display: none;
  }
}

@media (max-width: 767px) {
  .ew-footer.ew-footer--full {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 0;
    max-height: 100svh;
    overflow: hidden;
    padding: clamp(23px, 4.2svh, 34px) 14px clamp(12px, 2.4svh, 20px);
    box-sizing: border-box;
    border-radius: 18px 18px 0 0;
    color: #fff;
    background:
      radial-gradient(circle at 18% 0%, rgba(0, 80, 145, 0.24) 0 160px, transparent 161px),
      radial-gradient(ellipse 360px 170px at 88% 101%, rgba(16, 46, 82, 0.55) 0 58%, transparent 59%),
      radial-gradient(ellipse 380px 150px at 29% 95%, rgba(0, 12, 28, 0.58) 0 58%, transparent 59%),
      linear-gradient(145deg, #061326 0%, #052040 52%, #041329 100%);
  }

  .ew-footer.ew-footer--full::before {
    right: -128px;
    bottom: 36px;
    width: 420px;
    height: 230px;
    border-radius: 60% 0 0 0 / 74% 0 0 0;
    background: linear-gradient(146deg, rgba(13, 47, 82, 0.54), rgba(7, 20, 38, 0.06) 72%);
  }

  .ew-footer.ew-footer--full::after {
    display: none;
    content: none;
  }

  .ew-footer--full > .ew-footer__inner {
    position: static;
    z-index: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 397px;
    min-height: 0;
    margin: 0 auto;
    padding: 0;
    gap: 0;
  }

  .ew-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .ew-footer--full .ew-wordmark {
    display: block;
    margin: 0 auto;
    color: #fff;
    font-size: clamp(27px, min(8.8vw, 5svh), 38px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.07em;
    white-space: nowrap;
  }

  .ew-footer--full .ew-wordmark span {
    color: #ff4f0d;
    font-size: 1.48em;
    letter-spacing: -0.13em;
  }

  .ew-footer__brand p {
    margin: clamp(18px, 3.6svh, 28px) auto 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(16px, min(5vw, 2.9svh), 23px);
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
    text-align: center;
    white-space: normal;
  }

  .ew-footer__social {
    justify-content: center;
    gap: clamp(18px, 6vw, 28px);
    margin: clamp(22px, 4.2svh, 34px) 0 clamp(19px, 3.4svh, 28px);
  }

  .ew-footer__sns,
  .ew-footer__sns img {
    width: clamp(39px, min(12.6vw, 7.4svh), 56px);
    height: clamp(39px, min(12.6vw, 7.4svh), 56px);
  }

  .ew-footer__sns {
    border-radius: 10px;
  }

  .ew-footer__sns--x {
    padding: clamp(8px, 2.7vw, 12px);
  }

  .ew-footer__columns {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ew-footer__column {
    position: relative;
    min-height: clamp(48px, 9.3svh, 70px);
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .ew-footer__column:first-child {
    border-top: 0;
  }

  .ew-footer__column h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: clamp(48px, 9.3svh, 70px);
    margin: 0;
    color: #fff;
    font-size: clamp(20px, min(6.5vw, 3.8svh), 28px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
  }

  .ew-footer__column h2::after {
    display: block;
    width: 13px;
    height: 13px;
    margin-right: 10px;
    content: "";
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(45deg) translateY(-4px);
  }

  .ew-footer__column a {
    display: none;
  }

  .ew-footer__company {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 0;
    padding: clamp(21px, 4svh, 31px) 0 0;
    border: 0;
    text-align: center;
  }

  .ew-footer__company::before,
  .ew-footer__company::after {
    display: none;
    content: none;
  }

  .ew-footer__company-logo {
    display: block;
    margin: 0 0 clamp(12px, 2.4svh, 18px);
    color: #fff;
    font-size: clamp(20px, min(6.5vw, 3.8svh), 30px);
    font-weight: 600;
    line-height: 1;
  }

  .ew-footer__company p {
    margin: 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(16px, min(5.1vw, 2.9svh), 23px);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0;
    text-align: center;
    white-space: normal;
  }

  .ew-footer__contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 3.5vw, 16px);
    width: min(100%, 334px);
    min-height: clamp(54px, 10.8svh, 76px);
    margin: clamp(18px, 3.4svh, 28px) auto 0;
    border-radius: 999px;
    color: #071326;
    background: #fff;
    font-size: clamp(20px, min(6.5vw, 3.8svh), 29px);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  }

  .ew-footer__mail-icon {
    width: clamp(22px, 7vw, 31px);
    height: clamp(22px, 7vw, 31px);
    font-size: clamp(22px, 7vw, 31px);
  }

  .ew-footer__character {
    position: absolute;
    z-index: 3;
    display: block;
    right: clamp(24px, 7vw, 44px);
    bottom: clamp(32px, 6.6svh, 58px);
    left: auto;
    top: auto;
    width: clamp(104px, min(34vw, 20svh), 148px);
    height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
    transform: none;
  }

  .ew-footer__copyright {
    position: absolute;
    z-index: 2;
    right: 14px;
    bottom: clamp(20px, 4.2svh, 35px);
    left: 14px;
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(15px, min(4.6vw, 2.7svh), 21px);
    font-weight: 400;
    line-height: 1;
    text-align: center;
  }
}
