/* =========================================
   Footer
========================================= */

.footer {
  background: #f5f5f5;
  padding-top: 60px;
}

.footer p {
    margin: 0;
}

/* -----------------------------------------
   Footer Inner
----------------------------------------- */

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;

  display: flex;
  justify-content: space-between;
  gap: 40px;
}

/* -----------------------------------------
   Footer Logo Area
----------------------------------------- */

.footer__logo {
  flex: 1;
}

.footer__logo-image {
  display: block;
  margin: 0 auto;
  width: 120px;
  height: auto;
}

.footer__site-name {
  margin-top: 16px;
  font-size: 1.8rem;
  font-weight: 700;
}


/* -----------------------------------------
   Footer Information Area
----------------------------------------- */

.footer__contents {
  flex: 1.8;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.footer__column {
  flex: 1;
}

.footer__item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    min-height: 60px;
}

.footer__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.footer__title,
.footer__text {
    margin: 0;
}

.footer__content {
    display: flex;
    flex-direction: column;
}

.footer__tel {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

/* -----------------------------------------
   Footer Link
----------------------------------------- */

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer a:hover {
  opacity: 0.7;
}

/* -----------------------------------------
   Footer Bottom
----------------------------------------- */

.footer__bottom {
  margin-top: 24px;
  padding: 24px 40px;

  border-top: 1px solid #ddd;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: 12px;
}

.footer__privacy {
  font-size: 12px;
}


/* =========================================
   Responsive
========================================= */

@media screen and (max-width: 768px) {

  /* -----------------------------------------
     Footer
  ----------------------------------------- */

  .footer {
    padding-top: 48px;
  }

  /* -----------------------------------------
     Footer Inner
  ----------------------------------------- */

  .footer__inner {
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
  }

  .footer__contents {
    flex-direction: column;
    gap: 24px;
  }

  /* -----------------------------------------
     Footer Logo Area
  ----------------------------------------- */

  .footer__logo {
    text-align: center;
  }

  /* -----------------------------------------
     Footer Information Area
  ----------------------------------------- */

.footer__content {
    flex-direction: column;
    gap: 0px;
  }

  .footer__column {
    width: 100%;
  }

    .footer__tel {
        font-size: 24px;
    }

  /* -----------------------------------------
     Footer Bottom
  ----------------------------------------- */

  .footer__bottom {
    flex-direction: column;
    gap: 12px;

    

    text-align: center;
    padding: 20px;
  }
  
  .footer__privacy {
    order: 1;
  }
  
  .footer__copyright {
    order: 2;
  }
}