/* DTage ストレスチェックサービス LP — shared stylesheet (HTML/JS & WordPress) */

.dtage-lp {
  --dt-green: #0f4f2c;
  --dt-green-deep: #0a3a20;
  --dt-green-soft: #eef5f0;
  --dt-mint: #3cc98a;
  --dt-red: #c8102e;
  --dt-ink: #2b3245;
  --dt-muted: #6b7280;
  --dt-line: #d9dce3;
  --dt-paper: #ffffff;
  --dt-sans: "BIZ UDPGothic", "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  --dt-serif: Georgia, "Times New Roman", "Noto Serif JP", serif;
  --dt-wrap: 1120px;
  --dt-radius: 10px;

  font-family: var(--dt-sans);
  color: var(--dt-ink);
  background: var(--dt-paper);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.dtage-lp *, .dtage-lp *::before, .dtage-lp *::after { box-sizing: border-box; }
.dtage-lp img { max-width: 100%; height: auto; display: block; }
.dtage-lp a { color: inherit; }
.dtage-lp ul, .dtage-lp ol { list-style: none; margin: 0; padding: 0; }
.dtage-lp h1, .dtage-lp h2, .dtage-lp h3, .dtage-lp p, .dtage-lp dl, .dtage-lp figure { margin: 0; }
.dtage-lp :focus-visible { outline: 3px solid var(--dt-mint); outline-offset: 3px; }
.dt-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.dt-wrap { width: min(var(--dt-wrap), 100% - 2.5rem); margin-inline: auto; }
.dt-br-pc { display: none; }
@media (min-width: 720px) { .dt-br-pc { display: inline; } }

/* ---------- brand ---------- */
.dt-brand__mark {
  font-family: var(--dt-serif);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1;
}
.dt-brand__mark--xl { font-size: clamp(3rem, 8vw, 4.75rem); color: #fff; display: block; }

/* ---------- header ---------- */
.dt-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 58, 32, 0.92);
  backdrop-filter: blur(8px);
  color: #fff;
}
.dt-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.dt-brand { display: flex; align-items: baseline; gap: 0.6rem; text-decoration: none; color: #fff; }
.dt-brand .dt-brand__mark { font-size: 1.6rem; }
.dt-brand__sub { font-size: 0.8rem; color: var(--dt-mint); letter-spacing: 0.04em; }
.dt-nav { display: flex; align-items: center; gap: 1.4rem; font-size: 0.92rem; }
.dt-nav a { text-decoration: none; opacity: 0.92; }
.dt-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.dt-nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.dt-nav-toggle__bar { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 899px) {
  .dt-nav-toggle { display: block; }
  .dt-nav {
    position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--dt-green-deep); padding: 0.5rem 1.25rem 1.25rem;
    display: none;
  }
  .dt-nav.is-open { display: flex; }
  .dt-nav a { padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .dt-nav .dt-btn { margin-top: 0.8rem; border-bottom: 0; text-align: center; }
  .dt-nav-toggle[aria-expanded="true"] .dt-nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .dt-nav-toggle[aria-expanded="true"] .dt-nav-toggle__bar:nth-child(2) { opacity: 0; }
  .dt-nav-toggle[aria-expanded="true"] .dt-nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- buttons ---------- */
.dt-btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 0.85rem 1.6rem; border-radius: 999px; line-height: 1.2;
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.dt-btn--primary { background: var(--dt-mint); color: var(--dt-green-deep); border-color: var(--dt-mint); }
.dt-btn--primary:hover { background: #55d69c; border-color: #55d69c; }
.dt-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.dt-btn--ghost:hover { border-color: #fff; }
.dt-btn--small { padding: 0.55rem 1.1rem; font-size: 0.88rem; background: var(--dt-mint); color: var(--dt-green-deep); }
.dt-btn--large { padding: 1.05rem 2.2rem; font-size: 1.1rem; }

/* ---------- hero ---------- */
.dt-hero {
  background: var(--dt-green);
  background-image: radial-gradient(ellipse at 80% 20%, rgba(60,201,138,0.18), transparent 55%);
  color: #fff;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.dt-hero__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .dt-hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 2rem; } }
.dt-hero__logo { margin-bottom: 1.6rem; }
.dt-hero__service { display: inline-block; margin-top: 0.4rem; color: var(--dt-mint); letter-spacing: 0.12em; font-size: 1rem; }
.dt-hero__title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.35; font-weight: 700; letter-spacing: 0.01em; }
.dt-hero__lead { margin-top: 1.4rem; font-size: clamp(1rem, 1.6vw, 1.1rem); color: rgba(255,255,255,0.88); }
.dt-hero__chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.dt-hero__chips li {
  border: 1.5px solid rgba(255,255,255,0.7); border-radius: 999px;
  padding: 0.4rem 1rem; font-size: 0.9rem; line-height: 1.4;
}
.dt-hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }

.dt-hero__visual { position: relative; min-height: 560px; }
@media (max-width: 899px) { .dt-hero__visual { min-height: 520px; max-width: 420px; margin-inline: auto; width: 100%; } }
.dt-phone {
  position: absolute; left: 0; top: 0; width: 250px; height: 500px;
  background: #fff; color: var(--dt-ink); border-radius: 30px;
  border: 8px solid #1c1c1c; box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  display: flex; flex-direction: column; overflow: hidden;
  font-size: 11px; line-height: 1.5;
}
.dt-phone__top { display: flex; align-items: center; gap: 8px; padding: 14px 12px 8px; border-bottom: 1px solid #eef0f3; }
.dt-phone__avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--dt-mint); flex: none; }
.dt-phone__name { font-weight: 700; font-size: 11px; line-height: 1.2; }
.dt-phone__name small { display: block; font-weight: 400; color: var(--dt-muted); font-size: 9px; }
.dt-phone__chat { flex: 1; padding: 10px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.dt-bubble {
  max-width: 82%; padding: 7px 10px; border-radius: 12px;
  opacity: 0; transform: translateY(8px); animation: dt-pop .35s ease forwards;
}
.dt-bubble--ai { align-self: flex-start; background: #f1f3f5; border-bottom-left-radius: 4px; }
.dt-bubble--user { align-self: flex-end; background: #d8f3e6; border-bottom-right-radius: 4px; }
.dt-bubble--typing { padding: 9px 12px; }
.dt-bubble--typing i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #9aa3ad; margin-right: 3px; animation: dt-blink 1s infinite; }
.dt-bubble--typing i:nth-child(2) { animation-delay: .2s; } .dt-bubble--typing i:nth-child(3) { animation-delay: .4s; }
.dt-phone__input { margin: 0 10px 12px; border: 1px solid #dde1e6; border-radius: 999px; padding: 6px 12px; color: #9aa3ad; display: flex; justify-content: space-between; align-items: center; }
.dt-phone__mic { width: 16px; height: 16px; border-radius: 50%; background: var(--dt-green); }
@keyframes dt-pop { to { opacity: 1; transform: none; } }
@keyframes dt-blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

.dt-scorecard {
  position: absolute; left: 280px; top: 30px; width: 250px;
  background: #fff; color: var(--dt-ink); border-radius: 14px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.3); padding: 14px 16px 12px;
  opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .5s, transform .5s;
}
.dt-scorecard.is-visible { opacity: 1; transform: none; }
.dt-scorecard__head { font-size: 12px; color: var(--dt-muted); font-weight: 700; }
.dt-scorecard__body { position: relative; width: 120px; height: 120px; margin: 4px auto 6px; }
.dt-ring { width: 120px; height: 120px; transform: rotate(-90deg); }
.dt-ring__track { fill: none; stroke: #edf0f3; stroke-width: 10; }
.dt-ring__value { fill: none; stroke: var(--dt-green); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.4s cubic-bezier(.2,.7,.2,1); }
.dt-ring__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--dt-serif); font-size: 34px; font-weight: 700; color: var(--dt-green); line-height: 1; }
.dt-ring__label small { font-family: var(--dt-sans); font-size: 10px; color: var(--dt-muted); font-weight: 400; margin-top: 4px; }
.dt-scorecard__foot { display: grid; gap: 2px; font-size: 11px; color: var(--dt-muted); }
.dt-scorecard__foot span { display: flex; justify-content: space-between; }
.dt-scorecard__foot b { color: var(--dt-ink); }

.dt-hero__dash {
  position: absolute; left: 215px; top: 320px; width: 345px; max-width: none;
  border-radius: 8px; box-shadow: 0 24px 50px rgba(0,0,0,0.3);
}
@media (max-width: 899px) {
  .dt-phone { left: 0; }
  .dt-scorecard { left: auto; right: 0; top: 30px; width: 200px; }
  .dt-hero__dash { left: auto; right: 0; top: 320px; width: 230px; }
}
@media (max-width: 600px) {
  .dt-hero__visual { min-height: 470px; }
  .dt-phone { width: 200px; height: 430px; }
  .dt-scorecard { width: 160px; padding: 10px 12px; top: 40px; }
  .dt-scorecard__body { width: 96px; height: 96px; } .dt-ring { width: 96px; height: 96px; } .dt-ring__label { font-size: 28px; }
  .dtage-lp .dt-hero__dash { display: none; }
}

/* ---------- sections ---------- */
.dt-section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.dt-section--tint { background: var(--dt-green-soft); }
.dt-h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.4; font-weight: 700; color: var(--dt-green); letter-spacing: 0.01em; }
.dt-lead { margin-top: 1.25rem; max-width: 42em; color: var(--dt-ink); }
.dt-note { margin-top: 2rem; font-size: 0.82rem; color: var(--dt-muted); }
.dt-kicker { color: var(--dt-red); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.dt-kicker--light { color: var(--dt-mint); }
.dt-kicker__date { color: var(--dt-muted); font-weight: 400; letter-spacing: 0; font-size: 0.85rem; }
.dt-badge { display: inline-block; background: var(--dt-red); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 999px; vertical-align: middle; margin-left: 0.6rem; letter-spacing: 0.04em; }

/* problems: three columns with a hairline top and serif numerals */
.dt-problems { display: grid; gap: 2rem; margin-top: 3rem; counter-reset: dtp; }
@media (min-width: 720px) { .dt-problems { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.dt-problems li { counter-increment: dtp; border-top: 2px solid var(--dt-green); padding-top: 1.2rem; position: relative; }
.dt-problems li::before { content: counter(dtp); font-family: var(--dt-serif); font-style: italic; font-size: 2.4rem; color: var(--dt-green); line-height: 1; display: block; margin-bottom: 0.6rem; }
.dt-problems h3 { font-size: 1.15rem; color: var(--dt-green); line-height: 1.45; }
.dt-problems p { margin-top: 0.7rem; font-size: 0.95rem; }

/* steps */
.dt-steps { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 720px) { .dt-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.dt-step { background: #fff; border: 1px solid var(--dt-line); border-radius: var(--dt-radius); padding: 1.6rem 1.5rem 1.8rem; }
.dt-step__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--dt-green); color: #fff; font-family: var(--dt-serif); font-weight: 700; font-size: 1.25rem; }
.dt-step h3 { font-size: 1.15rem; color: var(--dt-green); margin-top: 1rem; }
.dt-step p { margin-top: 0.6rem; font-size: 0.95rem; }

/* screens */
.dt-screen { display: grid; gap: 2.5rem; align-items: center; }
.dt-screen + .dt-screen { margin-top: clamp(4rem, 8vw, 6rem); }
@media (min-width: 900px) {
  .dt-screen { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
  .dt-screen--reverse .dt-screen__text { order: 2; }
  .dt-screen--reverse .dt-screen__img { order: 1; }
}
.dt-screen__img img { border-radius: var(--dt-radius); border: 1px solid var(--dt-line); box-shadow: 0 20px 40px rgba(15,79,44,0.10); }
.dt-screen__img figcaption { margin-top: 0.6rem; font-size: 0.8rem; color: var(--dt-muted); text-align: right; }
.dt-screen__text .dt-h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.dt-points { margin-top: 2rem; counter-reset: dtq; display: grid; gap: 1.4rem; }
.dt-points li { counter-increment: dtq; display: grid; grid-template-columns: 34px 1fr; column-gap: 0.9rem; }
.dt-points li::before { content: counter(dtq); width: 30px; height: 30px; border-radius: 50%; background: var(--dt-green); color: #fff; font-family: var(--dt-serif); font-weight: 700; display: grid; place-items: center; font-size: 0.95rem; margin-top: 2px; }
.dt-points h3 { font-size: 1.05rem; color: var(--dt-green); grid-column: 2; }
.dt-points p { grid-column: 2; margin-top: 0.35rem; font-size: 0.95rem; }
.dt-value { margin-top: 2rem; padding: 1rem 1.2rem; background: var(--dt-green-soft); border-left: 4px solid var(--dt-green); font-size: 0.95rem; }
.dt-value strong { display: block; color: var(--dt-green); font-size: 0.85rem; margin-bottom: 0.2rem; }

/* operation flow */
.dt-flow { margin-top: 3rem; display: grid; gap: 1rem; counter-reset: dtf; }
@media (min-width: 900px) { .dt-flow { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
.dt-flow li { background: #fff; border: 1px solid var(--dt-line); border-radius: var(--dt-radius); padding: 1.3rem 1.2rem 1.4rem; position: relative; }
.dt-flow li.is-key { background: #fdf0f2; border-color: #f1c7cf; }
@media (min-width: 900px) {
  .dt-flow li:not(:last-child)::after { content: ""; position: absolute; right: -0.85rem; top: 50%; width: 0; height: 0; border: 7px solid transparent; border-left: 9px solid #b9c0cc; transform: translateY(-50%); }
}
.dt-flow__tag { display: inline-block; background: var(--dt-green); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.75rem; border-radius: 999px; }
.dt-flow li.is-key .dt-flow__tag { background: var(--dt-red); }
.dt-flow h3 { font-size: 1.05rem; color: var(--dt-green); margin-top: 0.8rem; line-height: 1.4; }
.dt-flow p { margin-top: 0.5rem; font-size: 0.9rem; color: var(--dt-ink); }
.dt-callout { margin-top: 2.5rem; background: #fff; border: 1px solid var(--dt-line); border-radius: var(--dt-radius); padding: 1.5rem 1.8rem; }
.dt-callout strong { color: var(--dt-red); margin-right: 0.8rem; }
.dt-callout__sub { margin-top: 0.8rem; font-size: 0.9rem; color: var(--dt-muted); }

/* trust */
.dt-stats { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .dt-stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .dt-stats { grid-template-columns: repeat(4, 1fr); } }
.dt-stats li { border: 1px solid var(--dt-line); border-radius: var(--dt-radius); padding: 1.6rem 1.5rem 1.6rem; position: relative; display: flex; flex-direction: column; }
.dt-stats__big { display: block; font-size: 1.3rem; font-weight: 700; color: var(--dt-red); line-height: 1.3; }
.dt-stats__sub { display: block; font-weight: 700; color: var(--dt-green); margin-top: 0.3rem; }
.dt-stats p { margin-top: 0.9rem; font-size: 0.9rem; }
.dt-stats p a { display: block; margin-top: 0.4rem; color: var(--dt-green); font-size: 0.85rem; }
.dt-stats__logo { width: 72px; margin-top: auto; padding-top: 1rem; align-self: flex-end; }
.dt-expo { margin-top: 2.5rem; display: grid; gap: 1.5rem; align-items: center; background: var(--dt-green-soft); border-radius: var(--dt-radius); padding: 1.6rem 1.8rem; }
@media (min-width: 900px) { .dt-expo { grid-template-columns: 7em 1fr 260px; gap: 2rem; } }
.dt-expo__title { font-size: 1rem; color: var(--dt-green); white-space: nowrap; }
.dt-expo ul { display: grid; gap: 0.8rem; }
@media (min-width: 720px) { .dt-expo ul { grid-template-columns: repeat(3, auto); justify-content: start; gap: 1.5rem; } }
.dt-expo b { display: block; color: var(--dt-ink); }
.dt-expo span { font-size: 0.85rem; color: var(--dt-muted); }
.dt-expo img { border-radius: 6px; }

/* roadmap features */
.dt-features { margin-top: 2.5rem; display: grid; gap: 1.5rem 3rem; }
@media (min-width: 720px) { .dt-features { grid-template-columns: repeat(2, 1fr); } }
.dt-features li { background: #fff; border-radius: var(--dt-radius); padding: 1.5rem 1.6rem; border: 1px solid var(--dt-line); }
.dt-features h3 { font-size: 1.05rem; color: var(--dt-green); }
.dt-features p { margin-top: 0.6rem; font-size: 0.95rem; }

/* vision */
.dt-platform { margin-top: 2.5rem; }
.dt-platform__apps { display: grid; gap: 1rem; }
@media (min-width: 720px) { .dt-platform__apps { grid-template-columns: repeat(4, 1fr); } }
.dt-platform__apps li { border: 1px solid var(--dt-line); border-radius: var(--dt-radius); padding: 1.3rem 1.3rem 1.4rem; position: relative; background: #fff; }
.dt-platform__apps li.is-live { background: #fdf0f2; border-color: #f1c7cf; }
.dt-platform__apps .dt-badge { position: absolute; top: 1rem; right: 1rem; margin: 0; }
.dt-platform__apps h3 { font-size: 1.05rem; color: var(--dt-green); }
.dt-platform__apps p { margin-top: 0.4rem; font-size: 0.9rem; }
.dt-platform__apps li::after { content: ""; display: block; width: 0; height: 0; border: 9px solid transparent; border-top: 11px solid var(--dt-line); position: absolute; left: 50%; bottom: -21px; transform: translateX(-50%); }
.dt-platform__base { margin-top: 1.5rem; background: var(--dt-green); color: #fff; border-radius: var(--dt-radius); padding: 1.4rem 1.6rem; text-align: center; }
.dt-platform__base b { display: block; font-size: 1.2rem; }
.dt-platform__base span { display: block; margin-top: 0.4rem; font-size: 0.85rem; color: rgba(255,255,255,0.8); }

/* trial */
.dt-trial { background: var(--dt-green-deep); color: #fff; padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.dt-trial__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .dt-trial__grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.dt-trial .dt-h2 { color: #fff; }
.dt-trial__copy p { margin-top: 1.2rem; color: rgba(255,255,255,0.88); }
.dt-trial__copy .dt-btn { margin-top: 2rem; }
.dt-trial__contact { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.dt-trial__terms { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,0.18); }
.dt-trial__terms > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.18); font-size: 0.93rem; }
.dt-trial__terms dt { font-weight: 700; color: var(--dt-mint); }
.dt-trial__terms dd { margin: 0; color: rgba(255,255,255,0.88); }

/* footer */
.dt-footer { background: #fff; padding: 3rem 0 2.5rem; border-top: 1px solid var(--dt-line); }
.dt-footer__inner { display: grid; gap: 1.5rem; }
.dt-footer__message { color: var(--dt-green); font-weight: 700; font-size: 1.05rem; }
.dt-footer__company { display: flex; align-items: center; gap: 0.9rem; }
.dt-footer__company b { display: block; }
.dt-footer__company a { color: var(--dt-muted); font-size: 0.9rem; text-decoration: none; }
.dt-footer__legal { font-size: 0.8rem; color: var(--dt-muted); }

@media (prefers-reduced-motion: reduce) {
  .dt-bubble { animation: none; opacity: 1; transform: none; }
  .dt-ring__value { transition: none; }
  .dt-scorecard { transition: none; }
}
