/* =============================================
   SIL Design Tokens & Base
   デザイン版共通: 変数・リセット・ユーティリティ
   ============================================= */

:root {
  --dlp-ink:        #1b2430; /* 見出し */
  --dlp-body-color: #3d4753; /* 本文 */
  --dlp-ink-2:      #56616f; /* UI・補助情報 */
  --dlp-ink-3:      #8a93a0;
  --dlp-primary:     #c84860;
  --dlp-primary-2:   #c84860;
  --dlp-primary-soft:#fceef1;
  --dlp-primary-deep:#a63c50;
  --dlp-blue:       #2f6cf0;
  --dlp-blue-soft:  #eef3fe;
  --dlp-green:      #15a05a;
  --dlp-green-soft: #ebf7f0;
  --dlp-purple:     #9b51e0;
  --dlp-purple-soft:#f4ecfd;
  --dlp-line:       #e7e9ee;
  --dlp-line-2:     #eef0f3;
  --dlp-bg:         #ffffff;
  --dlp-bg-soft:    #f6f7f9;
  --dlp-bg-soft-2:  #fafbfc;
  --dlp-maxw:       1366px;
  --dlp-pad:        40px;
  --dlp-radius:     18px;
  --dlp-shadow-sm:  0 2px 14px rgba(27,36,48,.05);
  --dlp-shadow-md:  0 18px 50px rgba(27,36,48,.09);
  --dlp-body-fs:   18px;
  --dlp-font: "Noto Sans JP", -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

/* scroll-behavior handled by JS for faster feel */

/* --- Scoped Reset --- */
.designLP,
.designLP *,
.designLP *::before,
.designLP *::after {
  box-sizing: border-box;
}
.designLP {
  font-family: var(--dlp-font);
  font-weight: 400;
  color: var(--dlp-ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt" 1;
  overflow: clip;
}
.designLP__body {
  padding-left: 264px;
  transition: padding-left .4s;
}
.designLP h1, .designLP h2, .designLP h3, .designLP h4, .designLP h5, .designLP h6,
.designLP p, .designLP ul, .designLP ol, .designLP li, .designLP dl, .designLP dt, .designLP dd,
.designLP figure, .designLP figcaption, .designLP blockquote {
  margin: 0; padding: 0;
}
.designLP ul, .designLP ol { list-style: none; }
.designLP img { display: block; max-width: 100%; }
.designLP a { color: inherit; text-decoration: none; }
.designLP svg { fill: none; }

/* --- Utilities --- */
.designLP .wrap {
  position: relative;
  z-index: 2;
  max-width: var(--dlp-maxw);
  margin: 0 auto;
  padding: 0 var(--dlp-pad);
}

/* --- Image placeholder --- */
.designLP .img-placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(120,140,180,.06) 0 12px, rgba(120,140,180,.11) 12px 24px),
    linear-gradient(135deg, #eef1f6, #e4e9f1);
  color: #7c879a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
  padding: 12px;
}

/* --- Decorative Blobs --- */
.designLP .sphere {
  display: none; /* blob全体を一時非表示 */
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.designLP .sphere:nth-child(odd)  { border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; }
.designLP .sphere:nth-child(even) { border-radius: 40% 60% 54% 46% / 50% 62% 38% 50%; }
.designLP .sphere:nth-child(3n)   { border-radius: 54% 46% 38% 62% / 42% 58% 42% 58%; }
.designLP .sphere.s-orange { background: var(--dlp-primary); }
.designLP .sphere.s-yellow { background: #ffb833; }
.designLP .sphere.s-peach  { background: #ff8a65; }
.designLP .sphere.s-blue   { background: #2f6cf0; }
.designLP .sphere.s-green  { background: #15a05a; }
.designLP .sphere.s-purple { background: #9b51e0; }
.designLP .sphere.glass {
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(6px);
  border-radius: 44% 56% 60% 40% / 52% 40% 60% 48%;
}

/* --- Color utilities --- */
.designLP .c-blue-t   { color: var(--dlp-blue); }
.designLP .c-green-t  { color: var(--dlp-green); }
.designLP .c-purple-t { color: var(--dlp-purple); }

/* --- Dot Shadow (halftone blob) utility --- */
.dot-shadow {
  background:
    radial-gradient(circle, var(--dlp-primary) 30%, transparent 31%)
    0 0 / 10px 10px;
}
.dot-shadow--circle { clip-path: circle(50%); }
.dot-shadow--v1 { clip-path: url(#blob-clip-1); }
.dot-shadow--v2 { clip-path: url(#blob-clip-2); }
.dot-shadow--v3 { clip-path: url(#blob-clip-3); }
.dot-shadow--v4 { clip-path: url(#blob-clip-4); }

/* --- Alt background section --- */
.designLP .bg-soft-sec { background: #fff; }

/* Extend bg behind sidebar so background reaches left edge */
.designLP__body .bg-soft-sec::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -210px;
  width: 210px;
  background: inherit;
  pointer-events: none;
}

/* --- Fixed Blob Background Layer (SVG) --- */
.blob-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.blob-bg svg {
  position: absolute;
  overflow: visible;
}
/* --- Responsive: tokens --- */
@media (max-width: 1100px) {
  .designLP__body { padding-left: 0; }
  .designLP__body .bg-soft-sec::before { display: none; }
}
@media (max-width: 860px) {
  :root { --dlp-pad: 22px; --dlp-body-fs: 16px; }
}
