﻿html {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.admin-bar {
  margin-top: 0 !important;
}

#wpadminbar {
  display: none !important;
}
.md-common-header {
  width: 100%;
  background: #fff;
  position: relative;
  z-index: 3000;
  margin: 0 !important;
  padding: 0 !important;
  top: 0 !important;
  overflow: visible;
}

body:not(.md-home-page) .md-common-header {
  margin-top: 0 !important;
}

.md-common-header-top {
  width: 100%;
  height: 65px;
  background: #f8f8f8;
  border-bottom: 1px solid #eeeeee;
  box-sizing: border-box;
  margin: 0 !important;
  margin-top: 0 !important;
  position: relative;
  z-index: 3002;
}

.md-common-header-top__inner {
  width: 100%;
  max-width: none;
  height: 65px;
  margin: 0;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px;
  padding-left: 50px;
  padding-right: 50px;
  box-sizing: border-box;
}

.md-common-header-top__message {
  margin: 0;
  color: #111;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.md-common-header-top__phones {
  display: flex !important;
  align-items: center !important;
  gap: 14px;
  flex-wrap: nowrap;
}

.md-common-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #111;
  font-weight: 800;
  white-space: nowrap;
}

.md-common-phone span {
  display: inline-flex;
  align-items: center;
  padding: 10px;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.md-common-phone--fukuoka span {
  background: #0b76d1;
}

.md-common-phone--kyoto span {
  background: #8e3bd9;
}

.md-common-phone strong {
  font-size: 20px;
  font-weight: 900;
  color: #111;
  line-height: 1;
}

.md-common-header-top__hours {
  color: #111;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.md-common-header-main {
  width: 100%;
  background: #fff;
  position: relative;
  z-index: 3002;
}

.md-common-header-main__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 50px;
  padding-right: 50px;
  box-sizing: border-box;
}

.md-common-logo {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto;
}

.md-common-logo img {
  display: block !important;
  width: auto !important;
  height: 52px !important;
  max-width: 320px !important;
  object-fit: contain;
}

.md-common-header-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px;
  flex: 0 0 auto;
}

.md-common-header-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px;
  padding: 10px 25px;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.2s cubic-bezier(0.45, 0, 0.55, 1), box-shadow 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

.md-common-header-cta__content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.md-common-header-cta__icon {
  width: 18px;
  height: 18px;
  display: block;
}

.md-common-header-cta:hover {
  transform: translateY(4px);
  box-shadow: none;
}

.md-common-header-cta--estimate {
  background: #18b94f;
  box-shadow: 0 4px 0 #008436;
}

.md-common-header-cta--contact {
  background: #ff6a00;
  box-shadow: 0 4px 0 #9d3700;
}

.md-common-menu-button {
  width: 48px;
  height: 44px;
  min-height: 44px;
  background: #000;
  border: 0;
  border-radius: 4px;
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  flex: 0 0 auto;
  box-shadow: 0 4px 0 #222;
  transition: transform 0.2s cubic-bezier(0.45, 0, 0.55, 1), box-shadow 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

.md-common-menu-button:hover {
  transform: translateY(4px);
  box-shadow: none;
}

.md-common-menu-button span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
}

.md-common-header-nav {
  width: 100%;
  background: #fff;
  border-top: 0;
  border-bottom: 1px solid #eee;
  overflow: visible;
  position: relative;
  z-index: 3002;
}

.md-common-header-nav__inner {
  width: 1136px;
  max-width: calc(100% - 100px);
  margin-left: auto;
  margin-right: auto;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible;
}

.md-common-header-nav__list {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  overflow: visible;
}

.md-common-header-nav__item {
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 0;
  position: relative;
}

.md-common-header-nav__link {
  width: 100%;
  min-height: 44px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 28px;
  color: #111;
  font-size: clamp(13px, calc(15px * (100vw / 1136)), 15px);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border-left: 1px solid #eee;
}

.md-common-header-nav__item:last-child .md-common-header-nav__link {
  border-right: 1px solid #eee;
}

.md-common-header-nav__link:hover {
  background: #f2f9ff;
  color: #0b76d1;
}

@media (max-width: 1024px) {
  .md-common-mega-overlay,
  .md-common-global-dropdown {
    display: none !important;
  }

  .md-common-header-top__inner,
  .md-common-header-main__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .md-common-header-top__message {
    font-size: 11px;
  }

  .md-common-phone strong {
    font-size: 16px;
  }

  .md-common-header-nav__link {
    padding: 0 18px;
    font-size: 14px;
  }

  .md-common-header-top__phones,
  .md-common-header-top__hours {
    display: none !important;
  }

  .md-common-header-top__inner {
    justify-content: center !important;
  }

  .md-floating-banner__inner {
    width: 100%;
    max-width: calc(100% - 20px);
  }

  .md-floating-banner__note,
  .md-floating-banner__phones {
    display: none !important;
  }

  .md-floating-banner__bottom {
    justify-content: center;
  }
}

.md-area-contact-cta-bg {
  overflow: hidden;
}

.grecaptcha-badge {
  right: 0 !important;
}

@media (max-width: 767px) {
  .md-common-mega-overlay {
    display: none !important;
  }

  .md-common-global-dropdown {
    display: none !important;
  }

  .md-common-header-top {
    display: none !important;
  }

  .md-common-header-main__inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .md-common-logo img {
    height: 42px !important;
    max-width: 220px !important;
  }

  .md-common-header-nav {
    display: none !important;
  }

  .md-common-header-cta {
    display: none !important;
  }
}

.md-service-hero {
  width: 100%;
  height: auto;
  min-height: 0;
  background: #061a3a;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.md-service-hero__picture {
  display: flex;
  justify-content: center;
  width: 100%;
}

.md-service-hero__image {
  display: block;
  width: 100%;
  max-width: 1920px;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.md-service-hero__seo-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.md-service-hero__placeholder {
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #061a3a;
  color: #fff;
  font-weight: 800;
  font-size: 24px;
}

@media (max-width: 767px) {
  .md-service-hero {
    height: auto;
    min-height: auto;
  }

  .md-service-hero__picture,
  .md-service-hero__image {
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: contain;
  }

  .md-service-hero__placeholder {
    height: auto;
    min-height: 420px;
    padding: 80px 20px;
    font-size: 18px;
    text-align: center;
  }
}

.md-problem-hero {
  width: 100%;
  height: auto;
  min-height: 0;
  background: #061a3a;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.md-problem-hero__picture {
  display: flex;
  justify-content: center;
  width: 100%;
}

.md-problem-hero__image {
  display: block;
  width: 100%;
  max-width: 1920px;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.md-problem-hero__seo-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.md-problem-hero__placeholder {
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #061a3a;
  color: #fff;
  font-weight: 800;
  font-size: 24px;
}

@media (max-width: 767px) {
  .md-problem-hero {
    height: auto;
    min-height: auto;
  }

  .md-problem-hero__picture,
  .md-problem-hero__image {
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: contain;
  }

  .md-problem-hero__placeholder {
    height: auto;
    min-height: 420px;
    padding: 80px 20px;
    font-size: 18px;
    text-align: center;
  }
}

#md-global-floating-banner,
.md-floating-banner {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 105px !important;
  min-height: 105px !important;
  background: #353835 !important;
  color: #fff;
  z-index: 2500;
  box-sizing: border-box;
  padding-top: 15px !important;
  padding-bottom: 13px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
  margin: 0 !important;
  overflow: visible;
}

#md-global-floating-banner.is-visible,
.md-floating-banner.is-visible,
body.md-floating-banner-visible .md-floating-banner {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.md-floating-banner__inner {
  width: 1036px;
  height: 77px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
  display: grid;
  grid-template-rows: 31px 46px;
  align-items: center;
  box-sizing: border-box;
  padding: 0;
}

.md-floating-banner__top,
.md-floating-banner__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 0;
}

.md-floating-banner__top {
  height: 31px;
  gap: 16px;
}

.md-floating-banner__bottom {
  height: 46px;
  gap: 14px;
}

.md-floating-banner__catch {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  color: #fff;
  font-weight: 800;
  line-height: 1;
}

.md-floating-banner__catch-large {
  font-size: 24px;
  color: #ffe100;
  font-weight: 900;
}

.md-floating-banner__catch-small {
  font-size: 18px;
  color: #fff;
  font-weight: 800;
}

.md-floating-banner__catch-brand {
  font-size: 24px;
  color: #ffe100;
  font-weight: 900;
}

.md-floating-banner__slash {
  font-size: 24px;
  color: #fff;
  font-weight: 700;
}

.md-floating-banner__note {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
}

.md-floating-banner__phones,
.md-floating-banner__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
}

.md-floating-banner__phones {
  transform: translateY(4px);
}

.md-floating-banner__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  height: 44px;
}

.md-floating-banner__phone span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 10px 15px;
  border-radius: 3px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.md-floating-banner__phone--fukuoka span {
  background: #0b76d1;
}

.md-floating-banner__phone--kyoto span {
  background: #8e3bd9;
}

.md-floating-banner__phone strong {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
}

.md-floating-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 25px;
  border-radius: 6px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
  transition: transform .2s cubic-bezier(0.45, 0, 0.55, 1), box-shadow .2s cubic-bezier(0.45, 0, 0.55, 1);
}

.md-floating-banner__button--estimate {
  background: #18b94f;
  box-shadow: 0 4px 0 #008436;
}

.md-floating-banner__button--contact {
  background: #ff6a00;
  box-shadow: 0 4px 0 #9d3700;
}

.md-floating-banner__button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 20px;
  line-height: 1;
  color: #fff;
  flex: 0 0 auto;
}

.md-floating-banner__button-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.md-floating-banner__button-text {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.md-floating-banner__button:hover {
  transform: translateY(4px);
  box-shadow: none;
}

.md-floating-banner__to-top {
  position: absolute;
  right: 22px;
  top: -28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #5bb9e6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  z-index: 2600;
  transition: transform .2s ease, opacity .2s ease;
}

.md-floating-banner__to-top:hover {
  transform: translateY(-2px);
}

.md-floating-banner__to-top img {
  width: 22px;
  height: 22px;
  display: block;
}

@media (max-width: 767px) {
  #md-global-floating-banner,
  .md-floating-banner {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 74px !important;
    padding: 8px 10px !important;
  }

  .md-floating-banner__inner {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 58px;
    padding: 0;
    display: grid;
    grid-template-rows: auto auto;
    gap: 6px;
  }

  .md-floating-banner__top {
    height: auto;
    justify-content: center;
    padding-top: 5px;
  }

  .md-floating-banner__catch-large,
  .md-floating-banner__catch-brand {
    font-size: 18px;
  }

  .md-floating-banner__catch-small {
    font-size: 18px;
  }

  .md-floating-banner__slash,
  .md-floating-banner__note {
    display: none;
  }

  .md-floating-banner__bottom {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 5px;
  }

  .md-floating-banner__phones {
    display: none !important;
    height: auto;
    min-width: 0;
    transform: none;
  }

  .md-is-home .md-floating-banner__phone--fukuoka {
    display: none !important;
  }

  .md-floating-banner__phone--kyoto {
    display: none;
  }

  .md-floating-banner__phone {
    width: 100%;
    height: 42px;
    justify-content: center;
    gap: 4px;
  }

  .md-floating-banner__phone span {
    display: none;
  }

  .md-floating-banner__phone strong {
    font-size: 18px;
  }

  .md-floating-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    grid-column: 1 / -1;
  }

  .md-floating-banner__button {
    min-height: 42px;
    padding: 0 6px;
    font-size: 13px;
    gap: 4px;
  }

  .md-floating-banner__button-icon {
    width: 16px;
    height: 16px;
    font-size: 14px;
  }

  .md-floating-banner__button-icon svg {
    width: 16px;
    height: 16px;
  }

  .md-floating-banner__to-top {
    right: 10px;
    top: -20px;
    width: 44px;
    height: 44px;
  }

  .md-floating-banner__to-top img {
    width: 18px;
    height: 18px;
  }
}
.md-common-header-nav__item--has-dropdown:hover > .md-common-header-nav__link,
.md-common-header-nav__item--has-dropdown:focus-within > .md-common-header-nav__link {
  background: #0b76d1;
  color: #fff;
}

.md-common-global-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  width: 720px;
  max-width: calc(100vw - 80px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 3004;
}

.md-common-mega-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 3001;
}

.md-common-header:has(.md-common-header-nav__item--has-dropdown:hover) .md-common-mega-overlay,
.md-common-header:has(.md-common-header-nav__item--has-dropdown:focus-within) .md-common-mega-overlay {
  opacity: 1;
  visibility: visible;
}

.md-common-header-nav__item--has-dropdown:hover .md-common-global-dropdown,
.md-common-header-nav__item--has-dropdown:focus-within .md-common-global-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.md-common-global-dropdown__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  padding: 34px 40px;
}

.md-common-global-dropdown__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  border-bottom: 1px solid #e5e7eb;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.md-common-global-dropdown__link:hover {
  color: #0b76d1;
}

.md-common-global-dropdown__icon {
  width: 18px;
  height: 18px;
  border: 1px solid #111;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  flex: 0 0 auto;
}

/* Page title band */
.md-common-page-title {
  width: 100% !important;
  height: 204px !important;
  min-height: 204px !important;
  background: #2086e6 !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  padding: 0 !important;
}

.md-common-page-title__inner {
  width: 1136px !important;
  max-width: calc(100% - 100px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.md-common-page-title__heading {
  margin: 0 !important;
  color: #fff !important;
  font-size: 36px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  letter-spacing: 0.02em !important;
}

/* Breadcrumb */
.md-common-breadcrumb {
  width: 100%;
  background: #fff;
  margin: 0 !important;
  padding: 0 !important;
}

.md-common-breadcrumb.bg-white,
.md-common-breadcrumb.py-5,
section.md-common-breadcrumb.bg-white.py-5 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.md-common-breadcrumb__inner {
  width: 1136px;
  max-width: calc(100% - 100px);
  margin: 0 auto;
  padding: 12px 0 !important;
  box-sizing: border-box;
}

.md-common-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.6;
}

.md-common-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.md-common-breadcrumb a {
  color: #334155;
  text-decoration: none;
}

.md-common-breadcrumb a:hover {
  color: #0b76d1;
  text-decoration: underline;
}

.md-common-breadcrumb__current {
  color: #111827;
  font-weight: 700;
}

@media (max-width: 767px) {
  .md-common-page-title {
    height: auto !important;
    min-height: 160px !important;
    align-items: center !important;
  }

  .md-common-page-title__inner {
    max-width: none !important;
    width: 100% !important;
    padding: 40px 20px !important;
  }

  .md-common-page-title__heading {
    font-size: 28px !important;
    line-height: 1.45 !important;
  }

  .md-common-breadcrumb__inner {
    width: 100%;
    max-width: none;
    padding: 10px 16px !important;
  }

  .md-common-breadcrumb__list {
    font-size: 11px;
    gap: 6px;
  }
}

.md-footer {
  width: 100%;
  background: #071633;
  color: #fff;
  margin: 0;
  padding: 72px 0 0;
  box-sizing: border-box;
}

.md-footer__desktop {
  display: block;
}

.md-footer__mobile {
  display: none;
}

.md-footer__inner {
  width: 1136px;
  max-width: calc(100% - 100px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.4fr;
  gap: 56px;
  box-sizing: border-box;
}

.md-footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
}

.md-footer__logo img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
}

.md-footer__description {
  margin: 0;
  color: #b8c4d8;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 500;
}

.md-footer__heading {
  margin: 0 0 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.md-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.md-footer__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.md-footer__nav li + li {
  margin-top: 10px;
}

.md-footer__nav a,
.md-footer__bottom-links a {
  color: #dde7f5;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.md-footer__nav a:hover,
.md-footer__bottom-links a:hover {
  color: #19c2ff;
}

.md-footer__contact {
  color: #fff;
}

.md-footer__phones {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.md-footer__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.md-footer__phone span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 10px 15px;
  border-radius: 3px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.md-footer__phone--fukuoka span {
  background: #0b76d1;
}

.md-footer__phone--kyoto span {
  background: #8e3bd9;
}

.md-footer__phone strong {
  font-family: Impact, "Arial Black", sans-serif;
  color: #fff;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.md-footer__hours {
  margin: 14px 0 0;
  color: #b8c4d8;
  font-size: 13px;
  font-weight: 600;
}

.md-footer__note {
  margin: 10px 0 0;
  color: #b8c4d8;
  font-size: 13px;
  font-weight: 600;
}

.md-footer__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.md-footer__button {
  min-height: 52px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .24);
  transition: transform .2s cubic-bezier(0.45, 0, 0.55, 1), box-shadow .2s cubic-bezier(0.45, 0, 0.55, 1);
}

.md-footer__button-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.md-footer__button-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: 0 0 auto;
}

.md-footer__button-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.md-footer__button:hover {
  transform: translateY(4px);
  box-shadow: none;
}

.md-footer__button--estimate {
  background: #18b94f;
  box-shadow: 0 4px 0 #008436;
}

.md-footer__button--contact {
  background: #ff6a00;
  box-shadow: 0 4px 0 #9d3700;
}

.md-footer__bottom {
  margin-top: 64px;
  background: #041026;
  padding: 22px 0;
}

.md-footer__bottom-inner {
  width: 1136px;
  max-width: calc(100% - 100px);
  margin: 0 auto;
  text-align: center;
}

.md-footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
}

.md-footer__copyright {
  margin: 0;
  color: #7f8da3;
  font-size: 12px;
}

@media (max-width: 767px) {
  .md-footer__desktop {
    display: none !important;
  }

  .md-footer__mobile {
    display: block;
  }

  .md-footer {
    background: #071633;
    padding: 40px 20px 110px;
  }

  .md-footer-mobile__logo img {
    width: 220px;
    max-width: 100%;
    height: auto;
    display: block;
  }

  .md-footer-mobile__description {
    margin: 18px 0 0;
    color: #dde7f5;
    font-size: 13px;
    line-height: 1.8;
    font-weight: 600;
  }

  .md-footer-mobile__contact {
    margin-top: 32px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
  }

  .md-footer-mobile__contact-title {
    margin: 0 0 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
  }

  .md-footer-mobile__phone {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .md-footer-mobile__phone span {
    display: inline-flex;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
  }

  .md-footer-mobile__phone--fukuoka span {
    background: #0b76d1;
  }

  .md-footer-mobile__phone--kyoto span {
    background: #8e3bd9;
  }

  .md-footer-mobile__phone strong {
    font-family: Impact, "Arial Black", sans-serif;
    font-size: 30px;
    line-height: 1;
    font-weight: 500;
  }

  .md-footer-mobile__hours {
    margin: 12px 0 0;
    color: #b8c4d8;
    font-size: 12px;
    font-weight: 600;
  }

  .md-footer-mobile__buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }

  .md-footer-mobile__button {
    min-height: 52px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 900;
    box-shadow: 0 4px 0 rgba(0, 0, 0, .24);
  }

  .md-footer-mobile__button--estimate {
    background: #18b94f;
    box-shadow: 0 4px 0 #008436;
  }

  .md-footer-mobile__button--contact {
    background: #ff6a00;
    box-shadow: 0 4px 0 #9d3700;
  }

  .md-footer-mobile__menus {
    margin-top: 30px;
  }

  .md-footer-mobile__accordion {
    border-top: 1px solid rgba(255, 255, 255, .14);
  }

  .md-footer-mobile__accordion:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }

  .md-footer-mobile__accordion summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 0;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    position: relative;
  }

  .md-footer-mobile__accordion summary::-webkit-details-marker {
    display: none;
  }

  .md-footer-mobile__accordion summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 700;
  }

  .md-footer-mobile__accordion[open] summary::after {
    content: "竏・;
  }

  .md-footer-mobile__accordion ul {
    margin: 0;
    padding: 0 0 16px;
    list-style: none;
  }

  .md-footer-mobile__accordion li + li {
    margin-top: 10px;
  }

  .md-footer-mobile__accordion a {
    color: #dde7f5;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
  }

  .md-footer-mobile__copyright {
    margin: 32px 0 0;
    color: #7f8da3;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
  }
}

.md-footer-info {
  width: 100%;
  background: radial-gradient(circle at left center, rgba(25, 194, 255, .12), transparent 34%), linear-gradient(135deg, #33a9df 0%, #0b76d1 100%);
  color: #fff;
  overflow: hidden;
  box-sizing: border-box;
}

.md-footer-info__inner {
  width: 1136px;
  max-width: calc(100% - 100px);
  margin: 0 auto;
  display: block;
  padding: 72px 0;
  box-sizing: border-box;
  min-height: auto;
}

.md-footer-info__content {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.md-footer-info__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #f7d58a;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: 24px;
}

.md-footer-info__eyebrow span {
  display: block;
  width: 160px;
  height: 1px;
  background: rgba(247, 213, 138, .7);
}

.md-footer-info__title {
  margin: 0;
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .03em;
  text-align: center;
}

.md-footer-info__lead {
  margin: 18px 0 0;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

.md-footer-info__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.md-footer-info__cards--primary,
.md-footer-info__cards--payment {
  width: 100%;
}

.md-footer-info__cards--primary {
  margin-top: 36px;
}

.md-footer-info-card {
  min-height: 128px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #eef6ff 100%);
  color: #0b1f3a;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
  box-sizing: border-box;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
}

.md-footer-info-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: 0 0 auto;
}

.md-footer-info-card__icon svg {
  width: 38px;
  height: 38px;
  display: block;
}

.md-footer-info-card--subsidy .md-footer-info-card__icon {
  background: #0b62b8;
}

.md-footer-info-card--payment .md-footer-info-card__icon {
  background: #7b3dc7;
}

.md-footer-info-card h3 {
  margin: 0;
  color: #0b62b8;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.md-footer-info-card--payment h3 {
  color: #7b3dc7;
}

.md-footer-info-card p {
  margin: 8px 0 0;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.md-footer-info__note {
  margin: 28px 0 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

.md-footer-info__divider {
  height: 1px;
  background: rgba(255, 255, 255, .32);
  margin: 28px 0;
}

.md-footer-info__cards--payment {
  margin-top: 0;
}

.md-footer-info-payment {
  min-height: 142px;
  border-radius: 12px;
  border: 1px solid #d7e5f5;
  background: #fff;
  padding: 24px;
  box-sizing: border-box;
  text-align: center;
}

.md-footer-info-payment p {
  margin: 0 0 18px;
  color: #111827;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.md-footer-info-payment img {
  display: block;
  max-width: 100%;
  max-height: 54px;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.md-footer-info-payment__placeholder {
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  padding: 12px 8px;
}

@media (max-width: 767px) {
  .md-footer-info__inner {
    width: 100%;
    max-width: none;
    padding: 48px 20px 40px;
  }

  .md-footer-info__eyebrow {
    gap: 12px;
    font-size: 18px;
    margin-bottom: 18px;
  }

  .md-footer-info__eyebrow span {
    width: 52px;
  }

  .md-footer-info__title {
    font-size: 28px;
    line-height: 1.45;
  }

  .md-footer-info__lead {
    font-size: 16px;
  }

  .md-footer-info__cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .md-footer-info__cards--primary {
    margin-top: 28px;
  }

  .md-footer-info-card {
    min-height: auto;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .md-footer-info-card__icon {
    width: 58px;
    height: 58px;
  }

  .md-footer-info-card__icon svg {
    width: 30px;
    height: 30px;
  }

  .md-footer-info-card h3 {
    font-size: 21px;
  }

  .md-footer-info-card p {
    font-size: 14px;
  }

  .md-footer-info__note {
    font-size: 15px;
    text-align: left;
  }

  .md-footer-info-payment {
    padding: 18px;
  }

  .md-footer-info-payment p {
    font-size: 14px;
  }
}










/* TOP hero slider (TOP page only) */
.md-top-hero {
  width: 100%;
  background: #fff;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

.md-top-hero__visual {
  width: 100%;
  background: #fff;
  overflow: hidden;
  margin: 0 !important;
  padding: 12px 0;
}

.md-top-hero__slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
  padding: 0;
  margin: 0;
}

.md-top-hero__track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  transition: transform .6s ease;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.md-top-hero__slide {
  flex: 0 0 1036px;
  width: 1036px;
  max-width: 1036px;
  height: 480px;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  overflow: hidden;
  border-radius: 0;
}

.md-top-hero__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.md-top-hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.md-top-hero__slider.is-preload-pending .md-top-hero__slide {
  visibility: hidden;
}

.md-top-hero__slider.is-preload-pending .md-top-hero__slide.is-current {
  visibility: visible;
}

.md-top-hero__placeholder {
  width: 1036px;
  max-width: 1036px;
  height: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  border-radius: 8px;
  background: rgba(6, 26, 58, .35);
}

.md-top-hero__offer {
  background: #f8f8f8;
  color: #111;
  border-top: 8px solid #fff;
  padding: 24px 0 32px;
}

.md-top-hero__offer-inner {
  width: 1136px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.md-top-hero__offer-heading-image {
  margin: 0;
  line-height: 0;
}

.md-top-hero__offer-heading-image picture {
  display: block;
}

.md-top-hero__offer-heading-image img {
  display: block;
  width: 100%;
  max-width: 1107px;
  height: auto;
}

.md-top-hero__offer-line1 {
  margin: 0;
  text-align: left;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: #1a1a1a;
}

.md-top-hero__offer-emphasis {
  font-size: 28px;
  font-weight: 900;
  color: #d93025;
}

.md-top-hero__offer-line2 {
  margin: 6px 0 0;
  width: auto;
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 12px;
  line-height: 1;
  border-bottom: 8px solid #f2dc2e;
  padding: 0 2px 1px;
}

.md-top-hero__offer-line2-text {
  display: inline-block;
  font-size: 42px;
  font-weight: 900;
  color: #111;
  letter-spacing: 0;
  line-height: 1.02;
  white-space: nowrap;
}

.md-top-hero__offer-line2-free {
  font-size: 110px;
  font-weight: 900;
  color: #d93025;
  line-height: .8;
  white-space: nowrap;
  flex: 0 0 auto;
}

.md-top-hero__offer-row {
  width: 100%;
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.md-top-hero__offer-card {
  min-height: 98px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .2);
  padding: 12px 8px;
  box-sizing: border-box;
  transition: transform 0.2s cubic-bezier(0.45, 0, 0.55, 1), box-shadow 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

.md-top-hero__offer-card:hover {
  transform: translateY(4px);
  box-shadow: none;
}

.md-top-hero__offer-card:active {
  transform: translateY(4px);
  box-shadow: none;
}

.md-top-hero__offer-card-label {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.md-top-hero__offer-card-value {
  margin-top: 6px;
  font-size: 32px;
  font-weight: 500;
  font-family: Impact, "Arial Black", sans-serif;
  line-height: 1.1;
}

.md-top-hero__offer-card--fukuoka {
  background: #0b76d1;
  box-shadow: 0 4px 0 #0f3250;
}

.md-top-hero__offer-card--kyoto {
  background: #8e3bd9;
  box-shadow: 0 4px 0 #401468;
}

.md-top-hero__offer-card--estimate {
  background: #18b94f;
  box-shadow: 0 4px 0 #008436;
}

.md-top-hero__offer-card--contact {
  background: #ff6a00;
  box-shadow: 0 4px 0 #9d3700;
}

.md-top-hero__notice {
  width: 100%;
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  color: #3f3f46;
}


@media (max-width: 1024px) {
  .md-top-hero__offer-line2-text {
    font-size: 34px;
  }

  .md-top-hero__offer-line2-free {
    font-size: 88px;
  }

  .md-top-hero__offer-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .md-top-hero__visual {
    padding: 0;
  }

  .md-top-hero__slider {
    overflow: hidden;
  }

  .md-top-hero__track {
    gap: 0;
  }

  .md-top-hero__slide {
    flex: 0 0 100vw;
    width: 100vw;
    max-width: 100vw;
    height: auto;
    aspect-ratio: auto;
  }

  .md-top-hero__slide picture {
    display: block;
    width: 100%;
    height: auto;
    line-height: 0;
  }

  .md-top-hero__slide img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }

  .md-top-hero__placeholder {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 220px;
    font-size: 16px;
    border-radius: 0;
  }

  .md-top-hero__offer {
    padding: 14px 0 14px;
  }

  .md-top-hero__offer-inner {
    width: 100%;
    max-width: none;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .md-top-hero__offer-line1 {
    font-size: clamp(18px, 4.8vw, 22px);
  }

  .md-top-hero__offer-emphasis {
    font-size: clamp(20px, 5.2vw, 26px);
  }

  .md-top-hero__offer-line2 {
    margin-top: 10px;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .md-top-hero__offer-line2-text {
    font-size: clamp(23px, 6.4vw, 32px);
    text-align: center;
    line-height: 1.2;
  }

  .md-top-hero__offer-line2-free {
    font-size: clamp(56px, 16vw, 88px);
    line-height: .85;
  }

  .md-top-hero__offer-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .md-top-hero__offer-card {
    min-height: 86px;
  }

  .md-top-hero__offer-card-label {
    font-size: 16px;
  }

  .md-top-hero__offer-card-value {
    font-size: 28px;
  }

  .md-top-hero__notice {
    font-size: 14px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .md-top-hero__track {
    animation: none !important;
    transform: none !important;
  }
}








.md-company-branches {
  width: 100%;
  padding: 40px 0 72px;
  background: #fff;
}

.md-company-branches__inner {
  width: 100%;
  max-width: 1136px;
  margin: 0 auto;
}

.md-company-branches__title {
  margin: 0;
  color: #111827;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.4;
}

.md-company-branches__lead {
  margin: 14px 0 0;
  color: #334155;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
}

.md-company-detail-title {
  color: #111827 !important;
  font-size: 32px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
}

.md-company-branches__grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.md-company-branch {
  border: 1px solid #d9eef8;
  border-radius: 5px;
  background: #fff;
  box-shadow: none;
}

.md-company-branch__head {
  padding: 0 24px 0;
  color: #111827;
}

.md-company-branch--fukuoka .md-company-branch__head {
  border-top: 4px solid #0b76d1;
}

.md-company-branch--kyoto .md-company-branch__head {
  border-top: 4px solid #8e3bd9;
}

.md-company-branch__label {
  display: inline-block;
  margin-top: 14px;
  padding: 3px 8px;
  border: 1px solid #d9eef8;
  border-radius: 5px;
  background: #f8fcff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.md-company-branch--fukuoka .md-company-branch__label {
  color: #0b76d1;
}

.md-company-branch--kyoto .md-company-branch__label {
  color: #8e3bd9;
}

.md-company-branch__name {
  margin: 12px 0 0;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
}

.md-company-branch__list {
  margin: 0;
  padding: 18px 24px 24px;
}

.md-company-branch__list div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #d9eef8;
}

.md-company-branch__list div:last-child {
  border-bottom: 0;
}

.md-company-branch__list dt {
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.md-company-branch__list dd {
  margin: 0;
  color: #334155;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

.md-company-branch__list a {
  color: #0b76d1;
  font-weight: 700;
  text-decoration: none;
}

.md-company-branch__list a:hover {
  text-decoration: underline;
}

.md-company-detail-table-wrap {
  margin-top: 24px !important;
  border: 1px solid #d9eef8 !important;
  border-radius: 5px !important;
  box-shadow: none !important;
}

.md-company-detail-table {
  background: #fff !important;
}

.md-company-detail-th,
.md-company-detail-td {
  border-bottom-color: #d9eef8 !important;
  color: #334155 !important;
  padding-top: 22px !important;
  padding-bottom: 22px !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}

.md-company-detail-th {
  color: #111827 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.md-company-detail-td {
  font-weight: 600 !important;
}

@media (max-width: 767px) {
  .md-company-branches {
    padding: 32px 0 56px;
  }

  .md-company-branches__inner {
    width: 100%;
    max-width: none;
    padding: 0 20px;
  }

  .md-company-branches__title {
    font-size: 32px;
  }

  .md-company-detail-title {
    font-size: 32px !important;
  }

  .md-company-branches__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .md-company-branch {
    border-radius: 5px;
  }

  .md-company-branch__head {
    padding: 0 20px;
  }

  .md-company-branch__list {
    padding: 16px 20px 20px;
  }

  .md-company-branch__list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .md-company-detail-th,
  .md-company-detail-td {
    font-size: 14px !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
}
