:root {
  --dhp-ink: #071014;
  --dhp-paper: #f7f4ee;
  --dhp-white: #fff;
  --dhp-blue: #0757e6;
  --dhp-orange: #f04418;
  --dhp-green: #008f4d;
  --dhp-yellow: #ffd21c;
  --dhp-border: #cdc9c1;
  --dhp-muted: #706d67;
  --dhp-shell: 1344px;
  --dhp-readable: 680px;
  --dhp-lower-gutter: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; }
body.d-hp { margin: 0; overflow-x: clip; color: var(--dhp-ink); background: var(--dhp-paper); font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; }
.d-hp img { display: block; max-width: 100%; }
.d-hp a { color: inherit; }
.d-hp svg { display: block; }
.d-hp main { min-height: 40vh; }
.d-skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; color: var(--dhp-ink); background: var(--dhp-white); transform: translateY(-160%); }
.d-skip-link:focus { transform: translateY(0); }

.d-header { position: relative; z-index: 50; display: flex; height: 72px; align-items: center; gap: 15px; padding: 0 max(var(--dhp-lower-gutter), calc((100vw - var(--dhp-shell)) / 2)); color: var(--dhp-white); background: var(--dhp-ink); border-bottom: 1px solid rgba(255, 255, 255, .16); }
.d-header--top { height: 82px; }
.d-header:not(.d-header--top) { height: 76px; }
.d-header__brand { flex: 0 0 auto; font-size: 31px; font-weight: 900; letter-spacing: -.055em; text-decoration: none; }
.d-header__descriptor { margin: 2px 0 0; font-size: 14px; font-weight: 700; }
.d-header__nav { display: flex; align-items: center; gap: clamp(24px, 3.4vw, 54px); margin-left: auto; font-size: 13px; font-weight: 900; }
.d-header__nav a { position: relative; padding: 12px 0; text-decoration: none; }
.d-header__nav a:not(.d-header__contact)::after { position: absolute; right: 0; bottom: 6px; left: 0; height: 2px; content: ""; background: var(--dhp-blue); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.d-header__nav a:hover::after, .d-header__nav a:focus-visible::after, .d-header__nav a[aria-current="page"]::after { transform: scaleX(1); }
.d-header__contact { min-width: 140px; padding: 16px 28px !important; text-align: center; background: var(--dhp-orange); }
.d-header__menu { display: none; }

.d-breadcrumb { padding: 16px max(var(--dhp-lower-gutter), calc((100vw - var(--dhp-shell)) / 2)); color: var(--dhp-muted); background: var(--dhp-paper); font-size: 13px; }
.d-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; max-width: var(--dhp-shell); margin: 0 auto; padding: 0; list-style: none; }
.d-breadcrumb li + li::before { margin-right: 8px; content: "/"; }
.d-breadcrumb a { text-underline-offset: 3px; }

/* SERVICE / FOR YOUの採用Heroはheader直後から始まる。C2の可視パンくずは
   文書順を維持したままHero上へ重ね、独立した高さをレイアウトへ加えない。 */
.d-hp--service .d-breadcrumb,
.d-hp--for-you .d-breadcrumb {
  position: absolute;
  z-index: 45;
  top: 76px;
  right: 0;
  left: 0;
  background: transparent;
}

.d-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.d-cta__link { display: inline-flex; min-height: 58px; min-width: 220px; align-items: center; justify-content: space-between; gap: 32px; padding: 0 22px; color: var(--dhp-white); background: var(--dhp-orange); border: 1px solid currentColor; font-weight: 800; text-decoration: none; }
.d-cta--blue .d-cta__link { background: var(--dhp-blue); }
.d-cta--green .d-cta__link { background: var(--dhp-green); }
.d-cta__link--secondary { color: var(--dhp-ink); background: transparent; }
.d-prelaunch-notice { flex-basis: 100%; width: 100%; margin: 14px 0 0; padding: 14px 16px; color: var(--dhp-ink); background: #fff4e8; border-left: 5px solid var(--dhp-orange); font-size: 14px; font-weight: 800; line-height: 1.7; }

.d-footer { min-height: 320px; padding: 80px max(var(--dhp-lower-gutter), calc((100vw - var(--dhp-shell)) / 2)) 24px; color: var(--dhp-white); background: var(--dhp-ink); }
.d-footer--top { display: flex; width: 100%; height: 130px; min-height: 130px; align-items: center; justify-content: space-between; padding: 0 max(var(--dhp-lower-gutter), calc((100vw - var(--dhp-shell)) / 2)); }
.d-footer:not(.d-footer--top) { min-height: 408px; }
.d-footer--top p { margin: 0; font-size: 31px; font-weight: 900; letter-spacing: -.055em; }
.d-footer--top svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.d-footer__inner { display: grid; grid-template-columns: 547px minmax(0, 1fr); gap: 48px; max-width: var(--dhp-shell); margin: 0 auto; }
.d-footer__identity { padding-top: 16px; }
.d-footer__identity > p:not(.d-footer__brand) { margin: 16px 0 0; font-size: 13px; line-height: 1.7; }
.d-footer__brand { margin: 0; font-size: 48px; font-weight: 900; line-height: 1; letter-spacing: -.045em; }
.d-footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: 48px 0; font-size: 14px; font-weight: 800; line-height: 1.4; }
.d-footer__nav a, .d-footer__mail { text-decoration: none; text-underline-offset: 4px; }
.d-footer__nav a:hover, .d-footer__nav a:focus-visible,
.d-footer__mail:hover, .d-footer__mail:focus-visible { text-decoration: underline; }
.d-footer__mail { display: inline-block; margin-top: 28px; font-size: 13px; }
.d-footer__bottom { max-width: var(--dhp-shell); margin: 80px auto 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); }
.d-footer__bottom small { font-size: 11px; color: rgba(255,255,255,.58); }
.d-footer__bottom svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; }

@media (max-width: 1099px) and (min-width: 768px) {
  .d-header, .d-breadcrumb, .d-footer { padding-right: 32px; padding-left: 32px; }
  .d-header__descriptor { display: none; }
  .d-header__nav { gap: 22px; }
  .d-footer__inner { grid-template-columns: 1fr 1.2fr; }
  .d-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
}

@media (max-width: 767px) {
  .d-header { height: 58px; padding: 0 20px; }
  .d-header:not(.d-header--top) { height: 64px; }
  .d-header__brand { font-size: 23px; }
  .d-header__descriptor { display: none; }
  .d-header__nav { display: none; }
  .d-header__menu { position: relative; display: block; margin-left: auto; }
  .d-header__menu summary { display: grid; width: 46px; height: 46px; padding: 13px 11px; place-content: center; gap: 5px; cursor: pointer; list-style: none; background: var(--dhp-blue); }
  .d-header__menu summary::-webkit-details-marker { display: none; }
  .d-header__menu summary span { display: block; width: 23px; height: 2px; background: var(--dhp-white); }
  .d-header__menu nav { position: absolute; z-index: 60; top: 50px; right: 0; width: 190px; padding: 12px 18px; background: rgba(7,16,20,.99); border: 1px solid rgba(255,255,255,.25); }
  .d-header__mobile-link { display: block; padding: 10px 0; font-size: 12px; font-weight: 900; text-decoration: none; }
  .d-header__mobile-link[aria-current="page"] { color: var(--dhp-yellow); }
  .d-breadcrumb { padding: 14px 20px; font-size: 12px; }
  .d-hp--service .d-breadcrumb,
  .d-hp--for-you .d-breadcrumb { top: 64px; }
  .d-cta { display: grid; }
  .d-cta__link { width: 100%; min-width: 0; }
  .d-prelaunch-notice { margin-top: 10px; padding: 13px 14px; font-size: 13px; }
  .d-footer { min-height: 430px; padding: 68px 20px 22px; }
  .d-footer:not(.d-footer--top) { min-height: 542px; }
  .d-footer--top { height: 105px; min-height: 105px; padding: 0 20px; }
  .d-footer--top p { font-size: 27px; }
  .d-footer--top svg { width: 28px; height: 28px; }
  .d-footer__inner { display: block; }
  .d-footer__identity { padding-top: 0; }
  .d-footer__brand { font-size: 40px; }
  .d-footer__identity > p:not(.d-footer__brand) { margin-top: 14px; }
  .d-footer__mail { margin-top: 32px; }
  .d-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 66px; gap: 20px; }
  .d-footer__bottom { margin-top: 50px; padding-top: 28px; }
}

@media (max-width: 720px) {
  .d-hp--top .d-header { height: 64px; padding: 0 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
