@charset "utf-8";

/* -------------------------------------------------------------
  footer-banner html/css化
------------------------------------------------------------- */

/* component - icon-footer */
.icon-footer {
  fill: var(--color-white);
  height: 21px;
  width: auto;
  grid-area: icon;
  justify-self: end;
  align-self: center;
}

.footer__banner__pc-text {
  display: none;
  grid-area: text;
}

.footer__banner__title__sp {
  font-size: var(--fsize-13);
  font-weight: 700;
  letter-spacing: 0.025em;
  grid-area: title;
  /* text-align: center; */
  line-height: 1.3;
}

.footer__banner__title {
  display: none;
}

.footer__banner__text {
  display: none;
}

.footer-banner__inner {
  display: grid;
  justify-content: center;
  align-content: center;
  justify-items: center;
  align-items: center;
  padding: 8px;
  row-gap: 8px;
  column-gap: 8px;
  width: 100%;
  height: 100%;
  grid-template-rows: auto auto;
  grid-template-columns: auto auto;
  grid-template-areas:
    "icon title"
    "icon title";
}

.footer__text-area {
  grid-area: text;
  padding-block-start: 24px;
  padding-block-end: 20px;
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

@media (min-width: 768px) {
  .footer__banner__title__sp {
    font-size: var(--fsize-14);
  }

  .footer__banner__title__sp br {
    display: none;
  }

  .icon-footer {
    height: 32px;
  }

  .footer__reserve-banner .icon-footer {
    max-width: 40px;
  }

  .footer__banner__text__sp {
    display: none;
  }

  .footer__banner__text {
    font-size: var(--fsize-22);
    display: none;
  }

  .footer-banner {
    position: absolute;
    z-index: 3;
    width: 240px;
    height: 64px;
    border-radius: 18px;
    right: 30px;
  }

  .footer__contact-banner {
    bottom: 190px;
  }

  .footer__tel-banner {
    bottom: 110px;
  }

  .footer__reserve-banner {
    bottom: 30px;
  }

  .footer-banner__inner {
    padding: 0 24px;
    justify-content: start;
    row-gap: 12px;
    grid-template-columns: 32px 1fr;
    /* grid-template-areas:
      "icon title"
      "icon text"; */
  }

  .icon-footer {
    justify-self: start;
  }

  .footer__text-area {
    padding-block-start: 48px;
    padding-block-end: 40px;
    row-gap: 12px;
  }
}

@media (min-width: 1280px) {
  .footer__banner__title__sp {
    display: none;
  }

  .footer__banner__title {
    display: block;
    font-size: var(--fsize-20);
  }

  .footer__banner__pc-text {
    display: block;
    font-size: var(--fsize-18);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
  }
  .footer__banner__title {
    font-size: var(--fsize-22);
  }

  .footer__banner__text {
    font-size: var(--fsize-32);
  }

  .footer__contact-banner {
    bottom: 310px;
  }

  .footer__tel-banner {
    bottom: 170px;
  }

  .footer-banner {
    width: 120px;
    height: 120px;
  }

  .footer-banner__inner {
    padding: 0;
    justify-content: center;
    grid-template-rows: auto auto;
    grid-template-columns: auto;
    grid-template-areas:
      "icon"
      "text";
  }

  .icon-footer {
    height: 32px;
    max-width: none;
    justify-self: inherit;
  }

  .footer__reserve-banner .icon-footer {
    max-width: none;
    translate: 5px;
  }

  .footer__reserve-banner .footer-banner__inner {
    /* row-gap: 24px; */
  }

  .footer__text-area {
    padding-block-start: 140px;
    padding-block-end: 80px;
    row-gap: 24px;
  }
}
