/* ============================================================
   IDEATECH - Doc Page (sitemap / privacy / terms 共通)
   TPI v13.0 ライトテーマ
   ============================================================ */
.doc-page h1,
.doc-page h2,
.doc-page h3,
.doc-page h4,
.doc-page h5,
.doc-page h6,
.doc-page p { font-family: inherit; }

.doc-page.tpi-page {
  background: #FFFFFF;
  color: #0B1639;
  font-family: 'Inter', 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  padding-top: 0;
}
.doc-page a {
  color: #1E50FF;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.doc-page a:hover { opacity: 0.7; }

/* ===== HERO ===== */
.doc-hero {
  padding: 96px 64px 56px;
  border-bottom: 1px solid #E2E8F4;
}
.doc-hero__inner { max-width: 1080px; margin: 0 auto; text-align: center; }
.doc-hero__chip {
  display: inline-block;
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
  font-size: 13px; font-weight: 600;
  color: #1E50FF; letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.doc-hero__title {
  font-size: clamp(36px, 5vw, 56px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.2;
  color: #0B1639; margin: 0 0 16px;
}
.doc-hero__sub {
  font-size: 16px; line-height: 1.8;
  color: #4A5677; margin: 0; max-width: 720px;
  margin-left: auto; margin-right: auto;
}

/* ===== BODY ===== */
.doc-body { padding: 80px 64px 120px; }
.doc-body__inner { max-width: 880px; margin: 0 auto; }
.doc-body__inner--wide { max-width: 1280px; }

/* ===== Intro ===== */
.doc-intro {
  background: #F2F6FC;
  border-left: 4px solid #1E50FF;
  padding: 28px 32px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 56px;
}
.doc-intro p {
  font-size: 14.5px;
  line-height: 1.95;
  color: #4A5677;
  margin: 0 0 14px;
}
.doc-intro p:last-child { margin-bottom: 0; }

/* ===== Article ===== */
.doc-article {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid #E2E8F4;
}
.doc-article:last-child {
  margin-bottom: 0; padding-bottom: 0; border-bottom: none;
}
.doc-article--mist {
  background: #F2F6FC;
  margin: 56px -36px 0;
  padding: 56px 36px;
  border-radius: 20px;
  border-bottom: none;
}

.doc-h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: #0B1639;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 0 0 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid #1E50FF;
}

.doc-item {
  margin-bottom: 36px;
}
.doc-item:last-child { margin-bottom: 0; }

.doc-h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0B1639;
  line-height: 1.5;
  margin: 0 0 14px;
  padding-left: 14px;
  border-left: 3px solid #00C6FF;
}
.doc-h3__no {
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
  font-size: 12px;
  color: #1E50FF;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-right: 6px;
}

.doc-item p {
  font-size: 14.5px;
  line-height: 1.95;
  color: #4A5677;
  margin: 0 0 14px;
}
.doc-item p:last-child { margin-bottom: 0; }

.doc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doc-list li {
  font-size: 14px;
  line-height: 1.8;
  color: #4A5677;
  padding-left: 20px;
  position: relative;
}
.doc-list li::before {
  content: '';
  position: absolute;
  left: 6px; top: 10px;
  width: 5px; height: 5px;
  background: #1E50FF;
  border-radius: 50%;
}
.doc-list--sub li::before {
  background: #8893B2;
}
.doc-list--sub {
  padding-left: 18px;
}

.doc-date {
  margin: 32px 0 0;
  text-align: right;
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
  font-size: 12px;
  color: #8893B2;
}

/* ===== Contact (privacy) ===== */
.doc-contact {
  background: linear-gradient(135deg, #07153D 0%, #1E50FF 100%);
  color: #fff;
  border-radius: 20px;
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
  margin-top: 48px;
}
.doc-contact::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 50%; height: 200%;
  background: radial-gradient(circle, rgba(0,198,255,0.30) 0%, transparent 60%);
  pointer-events: none;
}
.doc-contact > * { position: relative; z-index: 1; }
.doc-contact__label {
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
  font-size: 12px;
  color: #00C6FF;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin: 0 0 10px;
}
.doc-contact__title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 20px;
}
.doc-contact__addr,
.doc-contact__tel,
.doc-contact__note {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.92);
}
.doc-contact__tel {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 700;
}
.doc-contact__note {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin: 8px 0 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .doc-hero { padding: 64px 24px 40px; }
  .doc-body { padding: 56px 24px 80px; }
  .doc-intro { padding: 22px 22px; }
  .doc-article--mist { margin-left: -16px; margin-right: -16px; padding: 36px 22px; }
  .doc-contact { padding: 28px 24px; }
}
