.dmc-hf-ready {
  --dmc-hf-deep: #102b3f;
  --dmc-hf-navy: #0b3767;
  --dmc-hf-teal: #087070;
  --dmc-hf-gold: #b98a35;
  --dmc-hf-ink: #1e2a32;
  --dmc-hf-muted: #53616b;
  --dmc-hf-line: #d9e4de;
  --dmc-hf-mint: #edf7f1;
}

.dmc-hf-ready #header.l-header {
  position: sticky;
  top: 0;
  z-index: 990;
  border-bottom: 1px solid rgba(16,43,63,0.12);
  background: rgba(255,255,255,0.98) !important;
  box-shadow: 0 12px 30px rgba(16,43,63,0.08);
  backdrop-filter: blur(10px);
}

.dmc-hf-ready.admin-bar #header.l-header {
  top: 32px;
}

.dmc-hf-ready #header .l-header__bar {
  background: var(--dmc-hf-deep);
  color: #ffffff;
}

.dmc-hf-ready #header .l-header__barInner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dmc-hf-ready #header .c-catchphrase {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
}

.dmc-hf-ready #header .c-catchphrase::before {
  content: "譲渡企業0円";
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--dmc-hf-gold);
  color: #111827;
  font-size: 0.76rem;
  line-height: 1;
}

.dmc-hf-ready #header .c-iconList__item.-rss {
  display: none;
}

.dmc-hf-ready #header .c-iconList__link {
  color: #ffffff !important;
}

.dmc-hf-ready #header .l-header__inner {
  width: min(1220px, calc(100% - 48px));
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  margin: 0 auto;
  padding: 8px 0;
}

.dmc-hf-ready #header .l-header__logo {
  min-width: 0;
}

.dmc-hf-ready #header .c-headLogo__link {
  display: inline-flex !important;
  align-items: center !important;
}

.dmc-hf-ready .dmc-header-logo-img {
  display: block !important;
  width: min(310px, 28vw) !important;
  max-width: 100% !important;
  max-height: 58px !important;
  height: auto !important;
  object-fit: contain !important;
}

.dmc-hf-ready #header .c-gnav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.dmc-hf-ready #header .c-gnav > li > a {
  min-height: 46px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 10px !important;
  border-radius: 6px;
  color: var(--dmc-hf-deep) !important;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.2;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.dmc-hf-ready #header .c-gnav > li > a:hover,
.dmc-hf-ready #header .c-gnav > li.current-menu-item > a {
  background: var(--dmc-hf-mint);
  color: var(--dmc-hf-navy) !important;
}

.dmc-hf-ready #header .c-gnav > li:nth-last-child(2) > a {
  min-height: 44px !important;
  margin-left: 4px;
  padding: 0 15px !important;
  border: 1px solid var(--dmc-hf-line);
  background: #ffffff;
  color: var(--dmc-hf-navy) !important;
  box-shadow: 0 8px 18px rgba(16,43,63,0.06);
}

.dmc-hf-ready #header .c-gnav > li:last-child > a {
  min-height: 44px !important;
  padding: 0 16px !important;
  background: var(--dmc-hf-navy);
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(11,55,103,0.18);
}

.dmc-hf-ready #header .c-gnav > li:last-child > a::before {
  content: "TEL";
  margin-right: 7px;
  color: #f2c66d;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.dmc-hf-proof {
  border-top: 1px solid rgba(16,43,63,0.08);
  background: linear-gradient(90deg, #f7fbf8, #ffffff);
}

.dmc-hf-proof__inner {
  width: min(1220px, calc(100% - 48px));
  min-height: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  margin: 0 auto;
}

.dmc-hf-proof__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--dmc-hf-deep);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.dmc-hf-proof__item::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--dmc-hf-teal);
  box-shadow: 0 0 0 4px rgba(8,112,112,0.12);
}

.dmc-hf-ready .dmc-mail-float {
  right: 24px;
  top: 108px;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  background: var(--dmc-hf-teal);
  box-shadow: 0 18px 34px rgba(8,112,112,0.28);
}

.dmc-hf-ready #footer.l-footer {
  margin-top: 0;
  background: var(--dmc-hf-deep);
  color: #ffffff;
}

.dmc-hf-footer {
  background:
    linear-gradient(180deg, #102b3f 0%, #0b2234 100%);
  color: #ffffff;
}

.dmc-hf-footer__cta {
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: #0b3767;
}

.dmc-hf-footer__ctaInner {
  width: min(1220px, calc(100% - 48px));
  min-height: 116px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 0 auto;
  padding: 24px 0;
}

.dmc-hf-footer__eyebrow {
  display: block;
  color: #f2c66d;
  font-size: 0.82rem;
  font-weight: 900;
}

.dmc-hf-footer__cta h2 {
  margin: 7px 0 0;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.45;
}

.dmc-hf-footer__cta p {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: 0.94rem;
  line-height: 1.7;
}

.dmc-hf-footer__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.dmc-hf-footer__button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 6px;
  background: #ffffff;
  color: var(--dmc-hf-navy) !important;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none !important;
}

.dmc-hf-footer__button--gold {
  border-color: var(--dmc-hf-gold);
  background: var(--dmc-hf-gold);
  color: #111827 !important;
}

.dmc-hf-footer__main {
  width: min(1220px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) repeat(3, minmax(160px, 0.7fr));
  gap: 34px;
  margin: 0 auto;
  padding: 44px 0 34px;
}

.dmc-hf-footer__brand {
  display: grid;
  gap: 16px;
  align-content: start;
}

.dmc-hf-footer__logo {
  width: min(330px, 100%);
  height: auto;
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  background: #ffffff;
}

.dmc-hf-footer__lead,
.dmc-hf-footer__small {
  margin: 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
}

.dmc-hf-footer__small {
  font-size: 0.86rem;
}

.dmc-hf-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dmc-hf-footer__badges li {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
}

.dmc-hf-footer__col h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.5;
}

.dmc-hf-footer__col ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dmc-hf-footer__col a {
  color: rgba(255,255,255,0.78) !important;
  font-size: 0.9rem;
  line-height: 1.55;
  text-decoration: none !important;
}

.dmc-hf-footer__col a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.dmc-hf-ready #footer .l-footer__foot {
  border-top: 1px solid rgba(255,255,255,0.12);
  background: #071d2c;
}

.dmc-hf-ready #footer .l-footer__foot .l-container {
  width: min(1220px, calc(100% - 48px));
}

.dmc-hf-ready #footer .l-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  padding: 18px 0 8px;
}

.dmc-hf-ready #footer .l-footer__nav a {
  color: rgba(255,255,255,0.74) !important;
  font-size: 0.82rem;
}

.dmc-hf-ready #footer .copyright {
  margin: 0;
  padding: 10px 0 18px;
  color: rgba(255,255,255,0.62);
  font-size: 0.82rem;
  text-align: center;
}

.dmc-hf-ready #pagetop {
  border: 1px solid rgba(16,43,63,0.16);
  background: #ffffff;
  color: var(--dmc-hf-navy);
}

@media (max-width: 1180px) {
  .dmc-hf-ready #header .l-header__inner {
    grid-template-columns: minmax(230px, 280px) minmax(0, 1fr) auto auto;
    width: min(100% - 32px, 1120px);
  }

  .dmc-hf-ready #header .c-gnav > li > a {
    padding: 0 8px !important;
    font-size: 0.82rem;
  }

  .dmc-hf-ready .dmc-header-logo-img {
    width: min(270px, 27vw) !important;
  }
}

@media (max-width: 960px) {
  .dmc-hf-ready #header .l-header__inner {
    min-height: 64px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .dmc-hf-ready .dmc-header-logo-img {
    width: min(255px, 66vw) !important;
    max-height: 46px !important;
  }

  .dmc-hf-ready #header .l-header__customBtn,
  .dmc-hf-ready #header .l-header__menuBtn {
    display: inline-flex;
    align-items: center;
  }

  .dmc-hf-proof__inner {
    width: calc(100% - 28px);
    min-height: 44px;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .dmc-hf-proof__item {
    font-size: 0.78rem;
  }

  .dmc-hf-proof__item:nth-child(3) {
    display: none;
  }

  .dmc-hf-footer__ctaInner,
  .dmc-hf-footer__main {
    width: calc(100% - 32px);
  }

  .dmc-hf-footer__ctaInner {
    grid-template-columns: 1fr;
  }

  .dmc-hf-footer__actions {
    justify-content: stretch;
  }

  .dmc-hf-footer__button {
    flex: 1 1 160px;
  }

  .dmc-hf-footer__main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .dmc-hf-ready.admin-bar #header.l-header {
    top: 0;
  }

  .dmc-hf-ready #header .l-header__bar {
    display: none;
  }

  .dmc-hf-ready #header .l-header__inner {
    width: calc(100% - 24px);
    min-height: 62px;
    padding: 7px 0;
  }

  .dmc-hf-ready #header .c-iconBtn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--dmc-hf-line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--dmc-hf-deep);
  }

  .dmc-hf-ready .dmc-mobile-bar {
    position: fixed;
    z-index: 9999;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--dmc-hf-line);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(16,43,63,0.24);
  }

  .dmc-hf-ready .dmc-mobile-bar a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #ffffff !important;
    font-weight: 900;
    text-decoration: none !important;
  }

  .dmc-hf-ready .dmc-mobile-bar a:first-child {
    background: var(--dmc-hf-navy);
  }

  .dmc-hf-ready .dmc-mobile-bar a:last-child {
    background: var(--dmc-hf-gold);
    color: #111827 !important;
  }

  .dmc-hf-ready .dmc-mail-float {
    display: none !important;
  }

  .dmc-hf-footer__ctaInner {
    padding: 22px 0;
  }

  .dmc-hf-footer__cta h2 {
    font-size: 1.16rem;
  }

  .dmc-hf-footer__main {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 34px 0 26px;
  }

  .dmc-hf-footer__logo {
    width: min(290px, 100%);
  }

  .dmc-hf-ready #footer .l-footer__nav {
    justify-content: flex-start;
    padding-top: 16px;
  }

  .dmc-hf-ready #footer .l-footer__foot .l-container {
    width: calc(100% - 32px);
  }
}
