/* ===== BOTTOM COMMON PARTS ===== */
/* -------- COMPANY -------- */
.company {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 65px;
  padding-block: 62px;
  background-color: #fbfbfb;
}
.company .logo {
  margin-bottom: 22px;

  img {
    width: 100%;
    max-width: 200px;
    height: auto;
  }
}
.company .name-address {
  font-size: 16px;
  margin-bottom: 42px;
}
.company .name-address p:nth-of-type(1) {
  font-weight: 600;
}
.company .work-time {
  font-size: 18px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.company .work-time .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}
.company .work-time .item p:nth-of-type(1) {
  color: #ffffff;
  height: fit-content;
  font-size: 16px;
  padding: 6px 9px;
  background-color: #859a8e;
  border-radius: 50px;
}
.company .work-time .item p:nth-of-type(3) {
  width: 60px;
  height: 60px;
  background-color: #bbac95;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1.1;
}

.company .com-map {
  width: 100%;
  max-width: 670px;
  aspect-ratio: 16/9;
}

@media (max-width: 1200px) {
  .company {
    gap: 25px;
  }
  .company .com-map {
    max-width: 560px;
  }
}
@media (max-width: 1024px) {
  .company {
    flex-direction: column;
    align-items: center;
  }
  .company .com-map {
    max-width: 100%;
    height: 393px;
  }
}
@media (max-width: 768px) {
  .company {
    padding-block: 0;
    gap: 0;
  }
  .company .com-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: 18px 33px;
    padding-inline: 7px;
  }
  .company .name-address {
    margin-bottom: 26px;
  }
  .company .work-time {
    gap: 22px;
  }
}
/* -------- CONTACT -------- */
.contact {
  width: 100%;
  padding-block: 58px 69px;
  background: url("../../img/common/footer/banner2.png") no-repeat center /
    cover;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.line-tel-case {
  width: 100%;
}
.contact .line-tel-case {
  margin-bottom: 65px;
}
.line-tel {
  width: 100%;
  max-width: 1100px;
  background-color: #fbfbfb;
  border-radius: 5px;
  padding-block: 36px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
}
.contact .line-tel {
  background-color: #ffffff;
}
.line-tel .section-title {
  margin-bottom: 32px;
}
.btn-group {
  display: flex;
  gap: 63px;
}
.btn-group a {
  width: 390px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  color: #ffffff;
  position: relative;
}
.btn-group a img {
  width: 48px;
}
.btn-group a span {
  position: absolute;
  right: 23px;
  padding-top: 6px;
}
.btn-group a span img {
  width: 16px;
  height: auto;
}
.btn-group .line-btn {
  font-size: 28px;
  font-weight: bold;
  gap: 11px;
  justify-content: unset;
  padding-left: 31px;
}
.btn-group .tel-btn {
  flex-direction: column;
  gap: 1px;
  font-size: 24px;
  font-weight: bold;
}
.btn-group .tel-btn .tel-num {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-weight: 600;
  gap: 8px;
}
.btn-group .tel-btn .tel-num img {
  width: 30px;
}
.contact .sns {
  display: flex;
  gap: 146px;
}
.contact .sns .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  color: #ffffff;
  text-align: center;
}
.contact .sns .item img {
  width: 60px;
}
.contact .sns .item span {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .btn-group a {
    width: 320px;
    height: 100px;
  }
  .btn-group a img {
    width: 39px;
  }
  .btn-group .line-btn {
    font-size: 22px;
  }
  .btn-group .tel-btn {
    font-size: 20px;
  }
  .btn-group .tel-btn .tel-num {
    font-size: 24px;
  }
  .btn-group a span {
    position: absolute;
    right: 16px;
  }
}
@media (max-width: 768px) {
  .contact {
    padding-block: 0 50px;
  }
  .line-tel-case {
    padding: 20px 16px;
    background-color: #859a8e;
  }
  .contact .line-tel-case {
    margin-bottom: 50px;
  }
  .contact .sns {
    gap: 45px;
  }
  .btn-group {
    flex-direction: column;
    gap: 22px;
  }
  .btn-group a span img {
    width: 13px;
    height: auto;
  }
}
@media (max-width: 650px) {
  .contact .sns {
    flex-direction: column;
    gap: 40px;
  }
  .contact .sns .item {
    flex-direction: row;
    gap: 23px;
    text-align: start;
  }
}
