/* タクQ LP用：通常ページ共通ヘッダー・フッター */

#header,
#header *,
#footer,
#footer * {
  box-sizing: border-box;
}

#header {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

#header .head-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1100px;
  max-width: 1100px;
  min-height: 0;
  margin: 10px auto 5px;
  padding: 0;
}

#header .logo-wrap,
#header .logo {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

#header .logo a,
#header .logo img {
  display: block;
}

#header .logo img {
  width: 150px;
  max-width: none;
  height: auto;
}

#header .header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

#header .header-contact {
  margin: 0;
  text-align: center;
  line-height: 1.3;
}

#header .header-contact-label {
  display: block;
  margin-bottom: 2px;
  color: #333;
  font-size: 13px;
  font-weight: 600;
}

#header .header-contact-tel {
  display: block;
  color: #d71920;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

#header .header-contact-tel::before {
  content: "\260E";
  display: inline-block;
  margin-right: 5px;
  font-size: 20px;
  line-height: 1;
  vertical-align: 1px;
}

#header .header-contact-tel:hover {
  color: #9f1016;
  text-decoration: none;
}

#header .header-contact-hours {
  display: block;
  margin-top: 3px;
  color: #555;
  font-size: 10px;
  white-space: nowrap;
}

#header .header-web-consult {
  display: block;
  min-width: 170px;
  padding: 9px 16px 8px;
  border-radius: 5px;
  background: #e85b19;
  color: #fff;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

#header .header-web-consult:hover {
  background: #c9470d;
  color: #fff;
  text-decoration: none;
}

#header .header-web-consult-title {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

#header .header-web-consult-note {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 10px;
  font-weight: 400;
}

#footer {
  width: 100%;
  height: auto !important;
  min-height: 0;
  max-height: none !important;
  margin: 0;
  padding: 24px 15px;
  overflow: visible;
  background: #108e4d;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

#footer .foot-content {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1400px;
  height: auto !important;
  margin: 0 0 30px;
  padding: 0;
}

#footer #foot-navi,
#footer .footer-com,
#footer .taxiq-footer-info {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #fff;
}

#footer #foot-navi {
  margin: 0 0 20px;
}

#footer .foot-sw-wrap {
  width: 340px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #fff;
}

#footer #foot-navi .ul-wrap {
  width: 100%;
  margin: 0 0 24px;
}

#footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px !important;
}

#footer .footer-links li {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px !important;
}

#footer .footer-links a {
  font-size: 16px !important;
}

#footer a,
#footer a:visited {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* LP内の旧フッターCSS（黒文字・!important）より優先する */
#footer,
#footer p,
#footer span,
#footer small,
#footer time,
#footer li,
#footer .taxiq-footer-info,
#footer .taxiq-footer-label,
#footer .taxiq-footer-text,
#footer .taxiq-footer-tel,
#footer .taxiq-footer-hours {
  color: #fff !important;
}

#footer a:hover {
  color: #fff !important;
  text-decoration: none;
}

#footer .taxiq-footer-info {
  font-size: 15px !important;
  line-height: 1.9;
  text-align: left;
}

#footer .footer-com {
  display: flex;
  align-items: center;
  justify-content: center;
}

#footer .taxiq-footer-section {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

#footer .taxiq-footer-label,
#footer .taxiq-footer-text,
#footer .taxiq-footer-tel,
#footer .taxiq-footer-hours {
  margin-left: 0;
  padding-left: 0;
  color: #fff;
  font-size: 15px !important;
}

#footer .taxiq-footer-label {
  margin-top: 0;
  margin-bottom: 4px;
  font-weight: 700;
}

#footer .taxiq-footer-tel,
#footer .taxiq-footer-hours,
#footer .taxiq-footer-text {
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.9;
}

#footer .taxiq-footer-tel a {
  font-size: 18px !important;
  font-weight: 700;
  text-decoration: none;
}

#footer .copy {
  position: relative;
  width: 100%;
  margin: 0;
  color: #fff;
  font-size: 12px !important;
  text-align: center;
}

#pagetop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
}

#pagetop a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #237a3b;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

#pagetop a::before {
  content: "↑";
  font-size: 20px;
  line-height: 1;
}

#pagetop a i {
  display: none;
}

@media screen and (max-width: 760px) {
  #header .head-content {
    flex-wrap: wrap;
    width: calc(100% - 20px);
    min-height: 0;
    padding: 8px 0 9px;
  }

  #header .logo-wrap {
    justify-content: center;
    width: 100%;
  }

  #header .logo img {
    width: 120px;
  }

  #header .header-actions {
    justify-content: center;
    width: 100%;
    gap: 8px;
    margin: 8px 0 0;
  }

  #header .header-contact,
  #header .header-web-consult {
    flex: 1 1 0;
    min-width: 0;
  }

  #header .header-contact-label {
    font-size: 10px;
  }

  #header .header-contact-tel {
    font-size: 17px;
  }

  #header .header-contact-tel::before {
    margin-right: 3px;
    font-size: 15px;
  }

  #header .header-contact-hours {
    font-size: 8px;
  }

  #header .header-web-consult {
    padding: 8px 5px 7px;
  }

  #header .header-web-consult-title {
    font-size: 14px;
  }

  #header .header-web-consult-note {
    font-size: 9px;
  }

  #footer {
    margin: 0;
    padding: 20px 12px;
  }

  #footer .foot-content {
    width: 100%;
    margin-bottom: 24px;
    padding: 0;
  }

  #footer .foot-sw-wrap {
    width: 100%;
  }

  #footer .footer-links {
    display: block;
    text-align: center;
  }

  #footer .footer-links li {
    margin-bottom: 9px;
  }

  #footer .taxiq-footer-info,
  #footer .taxiq-footer-label,
  #footer .taxiq-footer-text,
  #footer .taxiq-footer-tel,
  #footer .taxiq-footer-hours {
    font-size: 14px;
  }
}
