/* ================================================
   サービス詳細ページ
   ================================================ */

.page-daytapro {
  --dp-navy: #0d2c5e;       /* DP_logo.svg の背景色と同じ */
  --dp-cyan: #35b8e6;
  --dp-cyan-lt: #7fd6f5;    /* DP_logo.svg の「Pro」の色 */
  --instrument: 'Instrument Sans', sans-serif; /*ロゴのフォント*/
}

/* ============================
   キービジュアル（下層ページ共通の .page-header をベースに控えめに）
   ============================ */
.dp-kv { padding-bottom: 3.5rem; }
.dp-kv-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: center;
  margin-top: 1.25rem;
}
.dp-kv-label {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--primary);
  margin-bottom: .5rem;
}
.page-header {  box-shadow: var(--shadow-xs);}
.page-header .dp-kv-title {
  font-family: var(--font);
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: .01em;
  margin-bottom: .5rem;
}
/* ロゴ（枠なしPNG） */
.dp-kv-logo img {
  display: block;
  width: 100%;
  height: auto;
}
/* 矢印付きテキストリンク */
.dp-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .875rem;
  padding-bottom: .125rem;
  border-bottom: 1px solid currentColor;
  transition: gap .2s;
}
.dp-link-arrow::after {
  content: '';
  flex-shrink: 0;
  width: 14px; height: 14px;
  background-color: currentColor;
  -webkit-mask: var(--dp-arrow) no-repeat center / contain;
          mask: var(--dp-arrow) no-repeat center / contain;
}
.dp-link-arrow:hover { gap: .8rem; }

/* ============================
   イントロ（キービジュアル直下のリード文＋ニュースリリースへのリンク）
   ============================ */
.dp-intro {
  padding: 3rem 2.5rem 0;
}
.dp-intro .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.dp-intro-lead {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-900);
}
.dp-intro .dp-link-arrow { flex-shrink: 0; }
/* 直後のセクションの上余白を詰める */
.dp-intro + .dp-section { padding-top: 5rem; }

/* ============================
   DaytaProとは（About） ※2026/11 モック追加：ニュースリリースから移植
   ============================ */
.dp-about { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 960px; margin: 0 auto; } /* 2026/11 左右2段→上下に変更 */
#about-daytapro {border-bottom: 1px solid var(--border);}
.dp-about-item { background: var(--grad-light); border-top: 4px solid var(--primary); padding: 2.5rem 3rem 2.25rem; box-shadow: var(--shadow-xs); }
.dp-about-title br { display: none; }
.dp-about-title { font-size: 1.25rem; font-weight: 800; line-height: 1.6; color: var(--text-900); margin-bottom: 1.25rem; }
.dp-about-item p { font-size: .9375rem; line-height: 2; color: var(--text-600); }
.dp-about-name { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: .5rem 3rem; }
.dp-about-name div { display: flex; align-items: baseline; gap: 1rem; }
.dp-about-name dt { min-width: 4.5rem; font-family: var(--josefin); font-size: 1.125rem; font-weight: 700; color: var(--primary); }
.dp-about-name dd { font-size: .875rem; color: var(--text-600); }

/* ============================
   セクション共通
   ============================ */
.dp-section { padding-top: 6.5rem; padding-bottom: 6.5rem; scroll-margin-top: 90px; }
.dp-section--soft { background: var(--bg-soft); }
.dp-head { margin-bottom: 3rem; }
.dp-head--center { text-align: center; }
.dp-head .section-title { margin-bottom: .75rem; font-family: var(--font);}
.dp-head-lead {
  font-size: 1rem;
  color: var(--text-600);
  line-height: 1.85;
}
.dp-text {
  font-size: 1rem;
  color: var(--text-600);
  line-height: 2;
  margin-bottom: 3rem;
}
.dp-text--center { text-align: center; }
.dp-subhead {
  text-align: center;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-900);
  margin: 4rem 0 2rem;
}
.dp-h3 {
  text-align: center;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-900);
  margin-bottom: 2rem;
}
.dp-h3 span { font-size: .875rem; font-weight: 500; color: var(--text-400); }

/* ============================
   課題（Background）
   ============================ */
.dp-issues {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.dp-issue {
  background: #fff;
  border: 1px solid var(--border-blue);
  padding: 1.5rem 1.5rem 1.75rem;
  text-align: center;
}
.dp-issue img { width: 100%; height: auto; margin-bottom: 1rem; }
.dp-issue-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-900);
  line-height: 1.6;
}

/* ============================
   図版（横スクロール対応）
   ============================ */
.dp-figure {
  background: #fff;
  border: 1px solid var(--border-blue);
  padding: 2.5rem;
}
.dp-figure--plain { padding: 2rem 2.5rem; }
.dp-figure img { width: 100%; height: auto; }
.dp-scroll-hint { display: none; }

/* ============================
   3つのコンセプト
   ============================ */
.dp-concepts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.dp-concept {
  background: #fff;
  padding: 2rem 1.75rem;
  border-top: 3px solid var(--primary);
  box-shadow: var(--shadow-xs);
}
.dp-concept-icon { width: 64px; height: 64px; margin-bottom: 1.25rem; }
.dp-concept-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .75rem;
}
.dp-concept p { font-size: .9375rem; color: var(--text-600); line-height: 1.85; }

.dp-position { margin-top: 5.5rem; }

/* ============================
   3つの特長
   ============================ */
.dp-feature-index {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.dp-feature-index a {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  height: 100%;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  background: var(--grad-light);
  border: 1px solid var(--border-blue);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--text-900);
  transition: border-color .2s, transform .2s;
}
.dp-feature-index a:hover { border-color: var(--primary); transform: translateY(-3px); }
.dp-num {
  flex-shrink: 0;
  font-family: var(--josefin);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  padding-top: .2rem;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dp-note {
  font-size: .8125rem;
  color: var(--text-400);
  line-height: 1.8;
  margin-bottom: 5rem;
}

.dp-feature {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 4rem;
  align-items: start;
  padding: 4.5rem 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 90px;
}
.dp-feature--reverse .dp-feature-visual { order: 2; }
.dp-feature-visual { position: sticky; top: 110px; }
.dp-feature-visual img { width: 100%; height: auto; }
.dp-feature-num {
  display: flex;
  align-items: baseline;
  gap: .625rem;
  font-family: var(--josefin);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 1rem;
}
.dp-feature-num span {
  font-size: .8125rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dp-cyan);
}
.dp-feature-title {
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 800;
  line-height: 1.55;
  color: var(--text-900);
  margin-bottom: 2rem;
}
.dp-feature-point + .dp-feature-point { margin-top: 2rem; }
.dp-feature-point h4 {
  position: relative;
  padding-left: 1.25rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--primary);
  margin-bottom: .875rem;
}
.dp-feature-point h4::before {
  content: '';
  position: absolute;
  left: 0; top: .5em;
  width: 8px; height: 8px;
  background: var(--dp-cyan);
}
.dp-feature-point p {
  font-size: .9375rem;
  color: var(--text-600);
  line-height: 1.95;
}
.dp-feature-point p + p { margin-top: 1rem; }

/* ============================
   関連情報
   ============================ */
.dp-related {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.dp-related-card {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 1.5rem 3.25rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--border-blue);
  color: var(--text-900);
  transition: box-shadow .25s, transform .25s;
}
.dp-related-card::after {
  content: '';
  position: absolute;
  right: 1.5rem; top: 50%;
  width: 16px; height: 16px;
  margin-top: -8px;               /* 高さの半分で上下中央 */
  background-color: var(--primary);
  -webkit-mask: var(--dp-arrow) no-repeat center / contain;
          mask: var(--dp-arrow) no-repeat center / contain;
  transition: right .2s;
}
.dp-related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); color: var(--text-900); }
.dp-related-card:hover::after { right: 1.1rem; }
.dp-related-name { font-size: 1rem; font-weight: 700; line-height: 1.6; }

/* ============================
   CTA（製品をご検討中の方）
   ============================ */
.dp-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 4rem;
  background: linear-gradient(120deg, var(--dp-navy) 0%, var(--primary-dk) 55%, var(--primary) 100%);
  color: #fff;
}
.dp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(127,214,245,.16) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.dp-cta-body, .dp-cta-visual { position: relative; }
.dp-cta-eyebrow {
  background: none;
  -webkit-text-fill-color: var(--dp-cyan-lt);
  color: var(--dp-cyan-lt);
}
.dp-cta-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.dp-cta-sub { font-size: 1.0625rem; font-weight: 700; margin-bottom: .5rem; }
.dp-cta-body p {
  font-size: .9375rem;
  line-height: 1.9;
  color: rgba(255,255,255,.85);
  margin-bottom: 2rem;
}
.dp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 2.5rem;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  transition: transform .2s, box-shadow .2s, color .2s;
}
.dp-cta-btn::after {
  content: '';
  flex-shrink: 0;
  width: 16px; height: 16px;
  background-color: currentColor;
  -webkit-mask: var(--dp-arrow) no-repeat center / contain;
          mask: var(--dp-arrow) no-repeat center / contain;
}
.dp-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.25); color: var(--primary-dk); }
.dp-cta-visual img { width: 280px; height: auto; }

.dp-trademark {
  margin-top: 1.5rem;
  font-size: .8125rem;
  color: var(--text-400);
}

/* ============================
   ページ下部（パンくず＋ページ先頭へ）
   ============================ */
.dp-pagefoot {
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
}
.dp-pagefoot .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.dp-pagefoot .breadcrumb { margin-bottom: 0; }
.dp-pagetop {
  font-size: .8125rem;
  font-weight: 700;
  white-space: nowrap;
}
.dp-pagetop::before { content: '▲'; font-size: .625rem; margin-right: .375rem; vertical-align: .1em; }

/* ============================
   RESPONSIVE — 1024px
   ============================ */
@media (max-width: 1024px) {
  .dp-kv-inner { grid-template-columns: 1fr 240px; gap: 2rem; }
  .dp-issues { gap: 1.25rem; }
  .dp-issue { padding: 1.25rem; }
  .dp-feature { grid-template-columns: 1fr; gap: 2rem; }
  .dp-feature--reverse .dp-feature-visual { order: 0; }
  .dp-feature-visual { position: static; max-width: 560px; }
  .dp-cta { padding: 3rem; }
  .dp-cta-visual img { width: 200px; }
}

/* ============================
   RESPONSIVE — Mobile (≤768px)
   ============================ */
@media (max-width: 768px) {
  .dp-kv { padding-bottom: 2.5rem; }
  .dp-intro { padding: 2rem 1.5rem 0; }
  .dp-intro .container { flex-direction: column; align-items: flex-start; gap: 1rem; padding-bottom: 2rem; }
  .dp-intro-lead { font-size: .9375rem; }
  .dp-intro + .dp-section { padding-top: 3.5rem; }
  .dp-kv-inner { grid-template-columns: 1fr; gap: 1.5rem; margin-top: .75rem; }
  .dp-kv-logo { order: -1; max-width: 180px; }
  .page-header .dp-kv-title { font-size: 1.25rem; }

  .dp-section { padding: 4.5rem 1.5rem; scroll-margin-top: 80px; }
  .dp-head { margin-bottom: 2rem; }
  .dp-text { font-size: .9375rem; text-align: left; }
  .dp-text--center { text-align: left; }
  .dp-br-pc { display: none; }

  .dp-about { grid-template-columns: 1fr; gap: 1.25rem; }
  .dp-about-item { padding: 1.75rem 1.5rem; }
  .dp-about-title { font-size: 1rem; letter-spacing: -.01em; }
  .dp-about-title br { display: inline; }
  .dp-about-name { display: grid; }


  .dp-issues, .dp-concepts, .dp-feature-index, .dp-related { grid-template-columns: 1fr; }
  .dp-issue { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: center; text-align: left; padding: 1rem; }
  .dp-issue img { margin-bottom: 0; }
  .dp-issue-title { font-size: 1rem; }
  .dp-issue-title br { display: none; }

  .dp-figure, .dp-figure--plain { padding: 1rem; }
  .dp-figure-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .dp-figure-scroll img { width: 720px; max-width: none; }
  .dp-scroll-hint {
    display: block;
    margin-top: .75rem;
    font-size: .75rem;
    color: var(--text-400);
    text-align: right;
  }
  .dp-scroll-hint::after {
    content: '';
    display: inline-block;
    width: 12px; height: 12px;
    margin-left: .25rem;
    vertical-align: -1px;
    background-color: currentColor;
    -webkit-mask: var(--dp-arrow) no-repeat center / contain;
            mask: var(--dp-arrow) no-repeat center / contain;
  }

  .dp-subhead { margin: 3rem 0 1.5rem; font-size: 1rem; }
  .dp-concept { padding: 1.5rem; display: grid; grid-template-columns: 56px 1fr; column-gap: 1rem; }
  .dp-concept-icon { width: 56px; height: 56px; grid-row: span 2; margin-bottom: 0; }
  .dp-concept-title { margin-bottom: .375rem; }
  .dp-position { margin-top: 4rem; }
  .dp-h3 { font-size: 1.125rem; }
  .dp-h3 span { display: block; }

  .dp-feature-index a { padding: 1.125rem 1.25rem 1.125rem 1rem; }
  .dp-note { margin-bottom: 3rem; }
  .dp-feature { padding: 3rem 0; }
  .dp-feature-num { font-size: 2.5rem; }
  .dp-feature-title { margin-bottom: 1.5rem; }

  .dp-cta { grid-template-columns: 1fr; padding: 2.5rem 1.5rem; gap: 1.5rem; }
  .dp-cta-visual { display: none; }
  .dp-cta-btn { width: 100%; justify-content: center; }

  .dp-pagefoot { padding: 1.25rem 1.5rem; }
  .dp-pagefoot .container { flex-direction: column; align-items: flex-start; }
}
