:root {
  --dhp-ink: #17231f;
  --dhp-muted: #4f5f58;
  --dhp-line: #dfe7e2;
  --dhp-bg: #f5f8f5;
  --dhp-green: #177a57;
  --dhp-green-dark: #0d5d42;
  --dhp-green-soft: #e7f4ed;
  --dhp-accent: #f4a261;
  --dhp-white: #ffffff;
  --dhp-radius: 24px;
  --dhp-shadow: 0 18px 60px rgba(23, 35, 31, .08);
}

.dhp-root,
.dhp-root * { box-sizing: border-box; }
.dhp-root { color: var(--dhp-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; line-height: 1.8; background: var(--dhp-white); overflow: hidden; }
.dhp-root a { color: inherit; text-decoration: none; }
.dhp-root img { max-width: 100%; height: auto; display: block; }
.dhp-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.dhp-section { padding: 92px 0; }
.dhp-section-white { background: #fff; }
.dhp-root strong { font-weight: 800; }

.dhp-hero { position: relative; padding: 96px 0 84px; background: linear-gradient(135deg, #f4faf6 0%, #f9fbf6 56%, #eef6f0 100%); border-bottom: 1px solid var(--dhp-line); }
.dhp-hero:before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(23,122,87,.075); top: -250px; right: -140px; }
.dhp-hero:after { content: ""; position: absolute; width: 280px; height: 280px; border: 1px solid rgba(23,122,87,.12); border-radius: 50%; bottom: -150px; left: -90px; }
.dhp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); gap: 72px; align-items: center; }
.dhp-eyebrow, .dhp-section-kicker { margin: 0 0 18px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--dhp-green); }
.dhp-eyebrow { display: flex; gap: 10px; align-items: center; font-size: 14px; letter-spacing: .06em; text-transform: none; }
.dhp-eyebrow span { width: 24px; height: 3px; background: var(--dhp-green); border-radius: 99px; }
.dhp-hero h1 { margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: 1.28; letter-spacing: -.045em; font-weight: 700; }
.dhp-hero h1 strong { color: var(--dhp-green-dark); position: relative; white-space: nowrap; }
.dhp-hero h1 strong:after { content: ""; position: absolute; height: 10px; background: rgba(244,162,97,.32); left: 0; right: 0; bottom: 4px; z-index: -1; transform: skewX(-9deg); }
.dhp-hero-lead { max-width: 760px; margin: 26px 0 0; font-size: 17px; color: #34443d; line-height: 2; }
.dhp-hero-lead strong { color: var(--dhp-ink); }
.dhp-search { margin-top: 34px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; background: #fff; border: 2px solid transparent; border-radius: 16px; padding: 7px 8px 7px 16px; box-shadow: var(--dhp-shadow); transition: border-color .2s ease, box-shadow .2s ease; }
.dhp-search:focus-within { border-color: var(--dhp-green); box-shadow: 0 0 0 4px rgba(23,122,87,.10), var(--dhp-shadow); }
.dhp-search svg { width: 22px; fill: var(--dhp-muted); }
.dhp-search input { min-width: 0; border: 0 !important; outline: 0; box-shadow: none !important; background: transparent; font: inherit; color: var(--dhp-ink); padding: 13px 0; }
.dhp-search input::placeholder { color: #66766f; opacity: 1; }
.dhp-search button { appearance: none; border: 0; border-radius: 11px; background: var(--dhp-green); color: #fff; font-weight: 800; padding: 14px 22px; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.dhp-search button:hover { background: var(--dhp-green-dark); transform: translateY(-1px); }
.dhp-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 12px; color: var(--dhp-muted); }
.dhp-quick-label { font-weight: 700; }
.dhp-quick a { padding: 5px 10px; border: 1px solid #cedbd3; background: rgba(255,255,255,.72); border-radius: 999px; }
.dhp-quick a:hover { border-color: var(--dhp-green); color: var(--dhp-green-dark); }
.dhp-hero-panel { position: relative; background: linear-gradient(145deg, #064b38 0%, #07392e 100%); color: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: 30px; padding: 38px; box-shadow: 0 28px 70px rgba(6,57,46,.22); overflow: hidden; }
.dhp-hero-panel:after { content: "代"; position: absolute; right: -22px; bottom: -65px; font-size: 220px; line-height: 1; font-weight: 900; color: rgba(255,255,255,.055); pointer-events: none; }
.dhp-panel-mini { margin: 0 0 8px; color: #c8ee76; font-size: 11px; letter-spacing: .17em; font-weight: 900; }
.dhp-hero-panel h2 { margin: 0 0 28px; font-size: 30px; line-height: 1.45; color: #fff !important; font-weight: 800; text-shadow: 0 1px 1px rgba(0,0,0,.12); }
.dhp-panel-list { position: relative; z-index: 1; display: grid; gap: 10px; }
.dhp-panel-list a { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.28); color: #fff !important; position: relative; z-index: 2; }
.dhp-panel-list a:last-child { border-bottom: 1px solid rgba(255,255,255,.28); }
.dhp-panel-list span { color: #d7f26b !important; font-size: 13px; font-weight: 900; }
.dhp-panel-list strong { color: #fff !important; font-size: 16px; font-weight: 800; }
.dhp-panel-list b { color: #d7f26b !important; font-size: 22px; font-weight: 900; transition: transform .2s ease; }
.dhp-panel-list a:hover b { transform: translateX(4px); }

.dhp-section-head { max-width: 760px; margin-bottom: 42px; }
.dhp-section-head h2, .dhp-about h2, .dhp-final h2 { margin: 0; font-size: clamp(29px, 4vw, 45px); line-height: 1.4; letter-spacing: -.035em; }
.dhp-section-head h2 strong, .dhp-about h2 strong { color: var(--dhp-green-dark); }
.dhp-section-lead { margin: 15px 0 0; color: var(--dhp-muted); font-size: 15px; }
.dhp-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 36px; }
.dhp-head-row > div { max-width: 760px; }
.dhp-text-link { flex: 0 0 auto; display: inline-flex; gap: 12px; align-items: center; font-size: 13px; font-weight: 900; color: var(--dhp-green-dark) !important; padding: 7px 2px 6px; border-bottom: 2px solid var(--dhp-green); position: relative; z-index: 5; pointer-events: auto; cursor: pointer; }
.dhp-text-link span { font-size: 18px; }

.dhp-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.dhp-category-card { display: grid; grid-template-columns: 54px minmax(0, 1fr) 28px; gap: 15px; align-items: center; min-height: 160px; padding: 25px; border: 1px solid var(--dhp-line); border-radius: 20px; background: #fff; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.dhp-category-card:hover { border-color: #a9cbbb; transform: translateY(-3px); box-shadow: var(--dhp-shadow); }
.dhp-category-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--dhp-green-soft); }
.dhp-category-icon svg { width: 25px; height: 25px; fill: var(--dhp-green-dark); }
.dhp-category-body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.dhp-category-body strong { font-size: 17px; line-height: 1.5; }
.dhp-category-body small { display: block; margin-top: 7px; color: var(--dhp-muted); font-size: 12px; line-height: 1.65; }
.dhp-category-body em { margin-top: 10px; color: var(--dhp-green); font-size: 11px; font-style: normal; font-weight: 800; }
.dhp-card-arrow { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #f1f5f2; color: var(--dhp-green-dark); font-weight: 800; }

.dhp-latest { background: var(--dhp-bg); }
.dhp-post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dhp-post-card { min-width: 0; }
.dhp-post-thumb { display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #dfe8e2; }
.dhp-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.dhp-post-card:hover .dhp-post-thumb img { transform: scale(1.025); }
.dhp-thumb-fallback { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background: linear-gradient(135deg, #dcebe3, #f6f0e8); }
.dhp-thumb-fallback small { font-size: 9px; letter-spacing: .12em; color: var(--dhp-muted); }
.dhp-thumb-fallback strong { margin-top: 4px; font-size: 18px; color: var(--dhp-green-dark); }
.dhp-post-meta { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 10px; color: #72817a; }
.dhp-post-meta span { padding: 4px 8px; background: var(--dhp-green-soft); color: var(--dhp-green-dark); border-radius: 999px; font-weight: 800; }
.dhp-post-card h3 { margin: 10px 0 0; font-size: 17px; line-height: 1.65; font-weight: 800; }
.dhp-post-card h3 a:hover { color: var(--dhp-green-dark); }
.dhp-post-card p { margin: 10px 0 0; color: var(--dhp-muted); font-size: 12px; line-height: 1.8; }
.dhp-post-more { display: inline-flex; gap: 8px; margin-top: 12px; color: var(--dhp-green-dark) !important; font-size: 11px; font-weight: 800; }

.dhp-about { background: linear-gradient(135deg, #13231d 0%, #0b3328 100%); color: #fff; }
.dhp-about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 80px; align-items: center; }
.dhp-about .dhp-section-kicker { color: #c8ee76 !important; }
.dhp-about h2 { font-size: clamp(30px, 4vw, 46px); }
.dhp-about-copy { color: #e2ebe7 !important; margin: 22px 0 0; font-size: 15px; line-height: 2; }
.dhp-values { display: grid; }
.dhp-values article { display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.14); }
.dhp-values article:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.dhp-values span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.08); color: #89cbae; font-weight: 900; font-size: 12px; }
.dhp-values h3 { margin: 0; color: #fff !important; font-size: 18px; }
.dhp-values p { margin: 7px 0 0; color: #d7e2dd !important; font-size: 13px; }
.dhp-button { display: inline-flex; justify-content: center; align-items: center; gap: 15px; min-height: 52px; padding: 13px 23px; border-radius: 12px; background: var(--dhp-green); color: #fff !important; font-weight: 800; font-size: 13px; transition: transform .2s ease, background .2s ease; }
.dhp-button:hover { transform: translateY(-2px); background: var(--dhp-green-dark); }
.dhp-button-dark { margin-top: 28px; background: #fff; color: var(--dhp-ink) !important; }
.dhp-button-dark:hover { background: #eaf3ee; }

.dhp-guide { background: #fff; }
.dhp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: guide; }
.dhp-steps article { position: relative; min-height: 300px; padding: 28px; background: #f7f9f7; border: 1px solid var(--dhp-line); border-radius: var(--dhp-radius); overflow: hidden; }
.dhp-steps article > span { color: var(--dhp-green); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.dhp-steps article > b { display: block; margin-top: 24px; font-size: 58px; line-height: 1; color: #d9e7df; letter-spacing: -.08em; }
.dhp-steps h3 { margin: 20px 0 0; font-size: 20px; line-height: 1.5; }
.dhp-steps p { margin: 10px 0 0; color: var(--dhp-muted); font-size: 13px; }
.dhp-guide-cta { margin-top: 24px; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-radius: 18px; background: var(--dhp-green-soft); }
.dhp-guide-cta strong { font-size: 15px; color: var(--dhp-green-dark); }
.dhp-guide-cta p { margin: 3px 0 0; color: var(--dhp-muted); font-size: 12px; }

.dhp-pickup { background: var(--dhp-bg); }
.dhp-guide-list { border-top: 1px solid #ccd7d1; }
.dhp-guide-item { display: grid; grid-template-columns: 80px minmax(0, 1fr) 100px 28px; gap: 20px; align-items: center; padding: 20px 4px; border-bottom: 1px solid #ccd7d1; transition: padding .2s ease, background .2s ease; }
.dhp-guide-item:hover { padding-left: 12px; background: rgba(255,255,255,.58); }
.dhp-guide-item-mark { font-size: 9px; letter-spacing: .14em; font-weight: 900; color: var(--dhp-green); }
.dhp-guide-item strong { font-size: 14px; line-height: 1.7; }
.dhp-guide-item time { color: var(--dhp-muted); font-size: 11px; }
.dhp-guide-item b { color: var(--dhp-green-dark); font-size: 18px; }

.dhp-final { padding: 76px 0; background: #197956; color: #fff; }
.dhp-final-inner { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.dhp-final .dhp-section-kicker { color: #c9eadc; }
.dhp-final h2 { font-size: clamp(29px, 4vw, 44px); }
.dhp-final p { max-width: 720px; margin: 16px 0 0; color: #e3f1eb; font-size: 14px; }
.dhp-button-light { flex: 0 0 auto; background: #fff; color: var(--dhp-green-dark) !important; }
.dhp-button-light:hover { background: #eef7f2; }
.dhp-note { padding: 25px 0; background: #eef2ef; border-top: 1px solid #dde5df; }
.dhp-note .dhp-wrap { display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: start; }
.dhp-note strong { font-size: 11px; color: var(--dhp-ink); }
.dhp-note p { margin: 0; color: #6e7b75; font-size: 10px; line-height: 1.8; }
.dhp-empty { padding: 30px; background: #fff; border-radius: 16px; }

/* Theme interference reduction */
body.home .site-main:has(.dhp-root), body.page .site-main:has(.dhp-root) { max-width: none; width: 100%; padding: 0; }
body.home .entry-content:has(.dhp-root), body.page .entry-content:has(.dhp-root) { max-width: none; width: 100%; margin: 0; padding: 0; }
body.home .dhp-root, body.page .dhp-root { width: 100%; margin: 0; }

/* High-contrast safeguards against theme/global link and heading styles. */
body .dhp-root .dhp-hero-panel,
body .dhp-root .dhp-hero-panel h2,
body .dhp-root .dhp-hero-panel .dhp-panel-list a,
body .dhp-root .dhp-hero-panel .dhp-panel-list a strong { color: #ffffff !important; }
body .dhp-root .dhp-hero-panel .dhp-panel-mini,
body .dhp-root .dhp-hero-panel .dhp-panel-list a span,
body .dhp-root .dhp-hero-panel .dhp-panel-list a b { color: #d7f26b !important; }
body .dhp-root .dhp-about,
body .dhp-root .dhp-about h2,
body .dhp-root .dhp-about h3 { color: #ffffff !important; }
body .dhp-root .dhp-about h2 strong { color: #d7f26b !important; }
body .dhp-root .dhp-about .dhp-about-copy,
body .dhp-root .dhp-about .dhp-values p { color: #e2ebe7 !important; }
body .dhp-root .dhp-final,
body .dhp-root .dhp-final h2,
body .dhp-root .dhp-final h2 strong { color: #ffffff !important; }
body .dhp-root .dhp-text-link { color: #0d5d42 !important; text-decoration: none !important; }
body .dhp-root .dhp-text-link:hover,
body .dhp-root .dhp-text-link:focus-visible { color: #063f31 !important; border-bottom-color: #063f31; }
body .dhp-root a:focus-visible,
body .dhp-root button:focus-visible,
body .dhp-root input:focus-visible { outline: 3px solid #f2b36f; outline-offset: 3px; }

@media (max-width: 1020px) {
  .dhp-hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .dhp-hero-panel { max-width: 720px; }
  .dhp-category-grid { grid-template-columns: repeat(2, 1fr); }
  .dhp-post-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .dhp-about-grid { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 760px) {
  .dhp-wrap { width: min(100% - 28px, 1180px); }
  .dhp-section { padding: 68px 0; }
  .dhp-hero { padding: 66px 0 58px; }
  .dhp-hero h1 { font-size: clamp(32px, 10vw, 45px); }
  .dhp-hero h1 strong { white-space: normal; }
  .dhp-hero-lead { font-size: 15px; line-height: 1.9; }
  .dhp-search { grid-template-columns: 23px 1fr; padding: 8px 13px; }
  .dhp-search button { grid-column: 1 / -1; width: 100%; }
  .dhp-hero-panel { padding: 28px 24px; border-radius: 22px; }
  .dhp-hero-panel h2 { font-size: 25px; }
  .dhp-section-head { margin-bottom: 30px; }
  .dhp-head-row { display: block; }
  .dhp-text-link { margin-top: 18px; }
  .dhp-category-grid { grid-template-columns: 1fr; }
  .dhp-category-card { min-height: 130px; padding: 20px; grid-template-columns: 48px minmax(0,1fr) 24px; }
  .dhp-category-icon { width: 48px; height: 48px; }
  .dhp-post-grid { grid-template-columns: 1fr; }
  .dhp-post-card { display: grid; grid-template-columns: 118px 1fr; column-gap: 15px; }
  .dhp-post-thumb { grid-row: 1 / 6; aspect-ratio: 1 / 1; }
  .dhp-post-meta { margin-top: 0; align-self: end; }
  .dhp-post-card h3 { margin-top: 5px; font-size: 15px; }
  .dhp-post-card p { display: none; }
  .dhp-post-more { margin-top: 7px; }
  .dhp-about-grid { gap: 32px; }
  .dhp-values article { padding: 22px 0; }
  .dhp-steps { grid-template-columns: 1fr; }
  .dhp-steps article { min-height: 0; }
  .dhp-guide-cta { display: block; }
  .dhp-guide-cta .dhp-button { margin-top: 16px; width: 100%; }
  .dhp-guide-item { grid-template-columns: 58px 1fr 24px; gap: 10px; }
  .dhp-guide-item time { display: none; }
  .dhp-final-inner { display: block; }
  .dhp-final .dhp-button { width: 100%; margin-top: 24px; }
  .dhp-note .dhp-wrap { grid-template-columns: 1fr; gap: 7px; }
}

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