@charset "utf-8";

/*contact
***************************************************************/

.contact {
  background-color: #f7f7f7;
  position: relative;
  z-index: 0;
  margin-bottom: 200px;
}

.contact::after {
  content: "";
  display: inline-block;
  top: 199px;
  left: 0;
  width: 100%;
  height: 648px;
  position: absolute;
  background-image: url(../../images/img_contact_bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

.contact .container {
  background-color: #fff;
  padding: 60px 75px;
  position: relative;
  z-index: 2;
}

.contact .section_desc {
  margin-top: 50px;
  text-align: center;
}

.contact_box {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  position: relative;
}

.contact_link {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #333;
  border: 1px solid #333;
  width: 431px;
  height: 72px;
  transition: all 0.3s ease;
  position: relative;
}

.contact_link:nth-of-type(2) {
  background-color: #3eb6cf;
  border: 1px solid #3eb6cf;
}

.contact_link .contact_img_wrapper {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 2;
}

.contact_link .contact_img,
.contact_link .contact_img_hov {
  width: 26px;
  height: 26px;
  position: absolute;
  transition: all 0.3s ease;
}

.contact_link:nth-of-type(2) .contact_img_wrapper {
  width: 30px;
  height: 26px;
}

.contact_link:nth-of-type(2) .contact_img,
.contact_link:nth-of-type(2) .contact_img_hov {
  width: 30px;
  height: 26px;
}

.contact_img_hov {
  opacity: 0;
}

.contact_box_text {
  font-size: 18px;
}

.contact_tel_box {
  margin-top: 55px;
  display: flex;
  gap: 17px;
  justify-content: center;
  align-items: center;
  color: #333;
}

.contact_tel_img {
  width: 36px;
  height: 36px;
}

.contact_tel_text {
  font-size: 42px;
  font-weight: 300;
}

.contact_time {
  margin-top: 10px;
  text-align: center;
}

@media (min-width: 768px) {
  .contact_link:hover {
    color: #333;
    background-color: #fff;
  }

  .contact_link:nth-of-type(2):hover {
    color: #3eb6cf;
    background-color: #fff;
  }

  .contact_link:hover .contact_img {
    opacity: 0;
  }

  .contact_link:hover .contact_img_hov {
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .contact {
    margin-bottom: 126px;
  }

  .contact::after {
    top: unset;
    bottom: -126px;
    width: 100%;
    height: 213px;
    background-image: url(../../images/img_contact_bg_sp.jpg);
  }

  .contact .container {
    padding: 50px 26px;
  }

  .contact .section_desc {
    margin-top: 20px;
    text-align: left;
  }

  .contact_box {
    display: flex;
    flex-direction: column-reverse;
    margin-top: 25px;
    gap: 20px;
  }

  .contact_link {
    gap: 5px;
    width: 278px;
    height: 46px;
    margin: 0 auto;
  }

  .contact_link .contact_img_wrapper {
    width: 19px;
    height: 19px;
  }

  .contact_link .contact_img,
  .contact_link .contact_img_hov {
    width: 19px;
    height: 19px;
  }

  .contact_link:nth-of-type(2) .contact_img_wrapper {
    width: 19px;
    height: 15px;
  }

  .contact_link:nth-of-type(2) .contact_img,
  .contact_link:nth-of-type(2) .contact_img_hov {
    width: 19px;
    height: 15px;
  }

  .contact_img_hov {
    opacity: 0;
  }

  .contact_box_text {
    font-size: 15px;
  }

  .contact_tel_box {
    margin-top: 20px;
    gap: 10px;
  }

  .contact_tel_img {
    width: 22px;
    height: 22px;
  }

  .contact_tel_text {
    font-size: 26px;
    font-weight: 300;
  }

  .contact_time {
    font-size: 14px;
  }
}

/*footer
***************************************************************/

.footer {
  padding: 80px 0 30px;
  text-align: center;
}

.footer_wrapper {
  display: flex;
  text-align: left;
}

.footer_list_box {
  padding: 12px 100px 16px 52px;
  border-left: 1.5px solid #333;
}

.footer_list_box:first-of-type {
  padding-left: 10px;
  border-left: none;
}

.footer_list + .footer_list {
  margin-top: 20px;
}

.footer_list_arrow {
  position: relative;
}

.footer_list_arrow::after {
  content: "";
  display: inline-block;
  top: 7px;
  left: -10px;
  width: 5px;
  height: 11px;
  position: absolute;
  background-image: url(../../images/arrow_footer.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.footer_link {
  color: #333;
  white-space: nowrap;
}

.footer_logo_link {
  display: inline-block;
  margin-top: 60px;
}

.footer_logo_img {
  width: 162px;
  height: 50px;
}

.footer_name {
  font-size: 18px;
  margin-top: 60px;
}

.footer_address {
  margin-top: 10px;
}

.footer_tel_wrap {
  margin-top: 4px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.footer_sns_wrapper {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  margin-top: 35px;
  position: relative;
}

.footer_sns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-right: 153px;
}

.footer_sns_img {
  width: 30px;
  height: 30px;
}

.copy_right {
  font-size: 12px;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 768px) {
  .footer_link:hover,
  .footer_sns_link:hover {
    opacity: 0.6;
    transition: all 0.3s ease;
  }
}

@media screen and (max-width: 1200px) {
  .footer {
    padding: 80px 30px 30px;
  }

  .footer_wrapper {
    justify-content: center;
  }

  .footer_list_box:first-of-type {
    padding-left: 10px;
  }

  .footer_list_box {
    padding: 12px 15px 16px 15px;
  }

  .footer_sns_wrapper {
    display: block;
  }

  .footer_sns {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .footer {
    padding: 50px 0 18px;
  }

  .footer_wrapper {
    display: none;
  }

  .footer_logo_link {
    margin-top: 0;
  }

  .footer_logo_img {
    width: 126px;
    height: 39px;
  }

  .footer_name {
    font-size: 18px;
    margin-top: 20px;
  }

  .footer_address {
    margin-top: 10px;
    font-size: 14px;
  }

  .footer_tel_wrap {
    margin-top: 10px;
    flex-direction: column;
    gap: 5px;
  }

  .footer_sns_wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 30px;
    position: static;
  }

  .footer_sns {
    margin-right: 0;
  }

  .footer_sns_img {
    width: 30px;
    height: 30px;
  }

  .copy_right {
    margin-top: 18px;
    font-size: 12px;
    letter-spacing: 0;
    justify-content: center;
    position: relative;
    left: 0;
    transform: translateX(0);
  }
}
